From b9db2f02187d0c9fd7a2569ed54b36ab9a70c13f Mon Sep 17 00:00:00 2001 From: Adrian Mucha Date: Fri, 25 Oct 2024 16:05:34 +0200 Subject: [PATCH 1/5] Upgrade antd peerDependency to 5 --- packages/uniforms-antd/package.json | 4 +- pnpm-lock.yaml | 587 +++++++++++++++++----------- 2 files changed, 368 insertions(+), 223 deletions(-) diff --git a/packages/uniforms-antd/package.json b/packages/uniforms-antd/package.json index 6c57c7911..69c9b3cb5 100644 --- a/packages/uniforms-antd/package.json +++ b/packages/uniforms-antd/package.json @@ -32,8 +32,8 @@ "src/*.tsx" ], "peerDependencies": { - "@ant-design/icons": "^4.0.0", - "antd": "^4.0.0", + "@ant-design/icons": "^5.0.0", + "antd": "^5.0.0", "react": "^18.0.0 || ^17.0.0 || ^16.8.0" }, "dependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index db65c3c01..fa6c6eaa2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -109,11 +109,11 @@ importers: packages/uniforms-antd: dependencies: '@ant-design/icons': - specifier: ^4.0.0 - version: 4.8.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^5.0.0 + version: 5.5.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) antd: - specifier: ^4.0.0 - version: 4.24.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + specifier: ^5.0.0 + version: 5.21.5(date-fns@2.30.0)(moment@2.30.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) classnames: specifier: ^2.0.0 version: 2.5.1 @@ -448,21 +448,37 @@ packages: resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} engines: {node: '>=6.0.0'} - '@ant-design/colors@6.0.0': - resolution: {integrity: sha512-qAZRvPzfdWHtfameEGP2Qvuf838NhergR35o+EuVyB5XvSA98xod5r4utvi4TJ3ywmevm290g9nsCG5MryrdWQ==} + '@ant-design/colors@7.1.0': + resolution: {integrity: sha512-MMoDGWn1y9LdQJQSHiCC20x3uZ3CwQnv9QMz6pCmJOrqdgM9YxsoVVY0wtrdXbmfSgnV0KNk6zi09NAhMR2jvg==} + + '@ant-design/cssinjs-utils@1.1.1': + resolution: {integrity: sha512-2HAiyGGGnM0es40SxdszeQAU5iWp41wBIInq+ONTCKjlSKOrzQfnw4JDtB8IBmqE6tQaEKwmzTP2LGdt5DSwYQ==} + peerDependencies: + react: '>=16.9.0' + react-dom: '>=16.9.0' + + '@ant-design/cssinjs@1.21.1': + resolution: {integrity: sha512-tyWnlK+XH7Bumd0byfbCiZNK43HEubMoCcu9VxwsAwiHdHTgWa+tMN0/yvxa+e8EzuFP1WdUNNPclRpVtD33lg==} + peerDependencies: + react: '>=16.0.0' + react-dom: '>=16.0.0' + + '@ant-design/fast-color@2.0.6': + resolution: {integrity: sha512-y2217gk4NqL35giHl72o6Zzqji9O7vHh9YmhUVkPtAOpoTCH4uWxo/pr4VE8t0+ChEPs0qo4eJRC5Q1eXWo3vA==} + engines: {node: '>=8.x'} '@ant-design/icons-svg@4.4.2': resolution: {integrity: sha512-vHbT+zJEVzllwP+CM+ul7reTEfBR0vgxFe7+lREAsAA7YGsYpboiq2sQNeQeRvh09GfQgs/GyFEvZpJ9cLXpXA==} - '@ant-design/icons@4.8.3': - resolution: {integrity: sha512-HGlIQZzrEbAhpJR6+IGdzfbPym94Owr6JZkJ2QCCnOkPVIWMO2xgIVcOKnl8YcpijIo39V7l2qQL5fmtw56cMw==} + '@ant-design/icons@5.5.1': + resolution: {integrity: sha512-0UrM02MA2iDIgvLatWrj6YTCYe0F/cwXvVE0E2SqGrL7PZireQwgEKTKBisWpZyal5eXZLvuM98kju6YtYne8w==} engines: {node: '>=8'} peerDependencies: react: '>=16.0.0' react-dom: '>=16.0.0' - '@ant-design/react-slick@1.0.2': - resolution: {integrity: sha512-Wj8onxL/T8KQLFFiCA4t8eIRGpRR+UPgOdac2sYzonv+i0n3kXHmvHLLiOYL655DQx2Umii9Y9nNgL7ssu5haQ==} + '@ant-design/react-slick@1.1.2': + resolution: {integrity: sha512-EzlvzE6xQUBrZuuhSAFTdsr4P2bBBHGZwKFemEfq8gIGyIQCxalYfZW/T2ORbtQx5rU69o+WycP3exY/7T1hGA==} peerDependencies: react: '>=16.9.0' @@ -822,6 +838,9 @@ packages: '@emotion/cache@11.13.1': resolution: {integrity: sha512-iqouYkuEblRcXmylXIwwOodiEK5Ifl7JcX7o6V4jI3iW4mLXX3dmt5xwBtIkJiQEXFAI+pC8X0i67yiPkH9Ucw==} + '@emotion/hash@0.8.0': + resolution: {integrity: sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow==} + '@emotion/hash@0.9.2': resolution: {integrity: sha512-MyqliTZGuOm3+5ZRSaaBGP3USLw6+EGykkwZns2EPC5g8jJ4z9OrdZY9apkl3+UP9+sdz76YYkwCKP5gh8iY3g==} @@ -865,6 +884,9 @@ packages: '@emotion/unitless@0.10.0': resolution: {integrity: sha512-dFoMUuQA20zvtVTuxZww6OHoJYgrzfKM1t52mVySDJnMSEa08ruEvdYQbhvyu6soU+NeLVd3yKfTfT0NeV6qGg==} + '@emotion/unitless@0.7.5': + resolution: {integrity: sha512-OWORNpfjMsSSUBVrRBVGECkhWcULOAJz9ZW8uK9qgxD+87M7jHRcvh/A96XXNhXTLmKcoYSQtBEX7lHMO7YRwg==} + '@emotion/utils@1.4.1': resolution: {integrity: sha512-BymCXzCG3r72VKJxaYVwOXATqXIZ85cuvg0YOUDxMGNrKc1DJRZk8MgV5wyXRyEayIMd4FuXJIUgTBXvDNW5cA==} @@ -1103,6 +1125,33 @@ packages: '@popperjs/core@2.11.8': resolution: {integrity: sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==} + '@rc-component/async-validator@5.0.4': + resolution: {integrity: sha512-qgGdcVIF604M9EqjNF0hbUTz42bz/RDtxWdWuU5EQe3hi7M8ob54B6B35rOsvX5eSvIHIzT9iH1R3n+hk3CGfg==} + engines: {node: '>=14.x'} + + '@rc-component/color-picker@2.0.1': + resolution: {integrity: sha512-WcZYwAThV/b2GISQ8F+7650r5ZZJ043E57aVBFkQ+kSY4C6wdofXgB0hBx+GPGpIU0Z81eETNoDUJMr7oy/P8Q==} + peerDependencies: + react: '>=16.9.0' + react-dom: '>=16.9.0' + + '@rc-component/context@1.4.0': + resolution: {integrity: sha512-kFcNxg9oLRMoL3qki0OMxK+7g5mypjgaaJp/pkOis/6rVxma9nJBF/8kCIuTYHUQNr0ii7MxqE33wirPZLJQ2w==} + peerDependencies: + react: '>=16.9.0' + react-dom: '>=16.9.0' + + '@rc-component/mini-decimal@1.1.0': + resolution: {integrity: sha512-jS4E7T9Li2GuYwI6PyiVXmxTiM6b07rlD9Ge8uGZSCz3WlzcG5ZK7g5bbuKNeZ9pgUuPK/5guV781ujdVpm4HQ==} + engines: {node: '>=8.x'} + + '@rc-component/mutate-observer@1.1.0': + resolution: {integrity: sha512-QjrOsDXQusNwGZPf4/qRQasg7UFEj06XiCJ8iuiq/Io7CrHrgVi6Uuetw60WAMG1799v+aM8kyc+1L/GBbHSlw==} + engines: {node: '>=8.x'} + peerDependencies: + react: '>=16.9.0' + react-dom: '>=16.9.0' + '@rc-component/portal@1.1.2': resolution: {integrity: sha512-6f813C0IsasTZms08kfA8kPAGxbbkYToa8ALaiDIGGECU4i9hj8Plgbx0sNJDrey3EtHO30hmdaxtT0138xZcg==} engines: {node: '>=8.x'} @@ -1110,6 +1159,27 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' + '@rc-component/qrcode@1.0.0': + resolution: {integrity: sha512-L+rZ4HXP2sJ1gHMGHjsg9jlYBX/SLN2D6OxP9Zn3qgtpMWtO2vUfxVFwiogHpAIqs54FnALxraUy/BCO1yRIgg==} + engines: {node: '>=8.x'} + peerDependencies: + react: '>=16.9.0' + react-dom: '>=16.9.0' + + '@rc-component/tour@1.15.1': + resolution: {integrity: sha512-Tr2t7J1DKZUpfJuDZWHxyxWpfmj8EZrqSgyMZ+BCdvKZ6r1UDsfU46M/iWAAFBy961Ssfom2kv5f3UcjIL2CmQ==} + engines: {node: '>=8.x'} + peerDependencies: + react: '>=16.9.0' + react-dom: '>=16.9.0' + + '@rc-component/trigger@2.2.3': + resolution: {integrity: sha512-X1oFIpKoXAMXNDYCviOmTfuNuYxE4h5laBsyCqVAVMjNHxoF3/uiyA7XdegK1XbCvBbCZ6P6byWrEoDRpKL8+A==} + engines: {node: '>=8.x'} + peerDependencies: + react: '>=16.9.0' + react-dom: '>=16.9.0' + '@rtsao/scc@1.1.0': resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==} @@ -1584,8 +1654,8 @@ packages: resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==} engines: {node: '>=12'} - antd@4.24.16: - resolution: {integrity: sha512-zZrK4UYxHtU6tGOOf0uG/kBRx1kTvypfuSB3GqE/SBQxFhZ/TZ+yj7Z1qwI8vGfMtUUJdLeuoCAqGDa1zPsXnQ==} + antd@5.21.5: + resolution: {integrity: sha512-g/c8VkdruKDCVA6di9Ow1fG6dLtYJ1IOraPo7vXaY7DoQ56A3HExaFaH0fBEwTYKC0ICeftC4iA5eAjrF6/b9w==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' @@ -1657,9 +1727,6 @@ packages: resolution: {integrity: sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==} engines: {node: '>=8'} - async-validator@4.2.5: - resolution: {integrity: sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg==} - async@3.2.6: resolution: {integrity: sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==} @@ -1876,8 +1943,8 @@ packages: resolution: {integrity: sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==} engines: {node: ^12.20.0 || >=14} - compute-scroll-into-view@1.0.20: - resolution: {integrity: sha512-UCB0ioiyj8CRjtrvaceBLqqhZCVP+1B8+NWQhmdsm0VXOJtobBCf1dBQmebCCo34qZmUwZfIH2MZLqNHazrfjg==} + compute-scroll-into-view@3.1.0: + resolution: {integrity: sha512-rj8l8pD4bJ1nx+dAkMhV1xB5RuZEyVysfxJqB1pRchh1KVvwOv9b7CGB8ZfjTImVv2oF+sYMUkMZq6Na5Ftmbg==} concat-map@0.0.1: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} @@ -2037,9 +2104,6 @@ packages: dom-accessibility-api@0.5.16: resolution: {integrity: sha512-X7BJ2yElsnOJ30pZF4uIIDfBEVgF4XEBxL9Bxhy6dnrm5hkzqmsWHGTiHqRiITNhMyFLyAiWndIJP7Z1NTteDg==} - dom-align@1.12.4: - resolution: {integrity: sha512-R8LUSEay/68zE5c8/3BDxiTEvgb4xZTF0RKmAHfiEVN3klfIpXfi2/QCoiWPccVQ0J/ZGdz9OjzL4uJEP/MRAw==} - dom-helpers@5.2.1: resolution: {integrity: sha512-nRCa7CK3VTrM2NmGkIy4cbK7IZlgBE/PYMn55rrXefr5xXDP0LdtfPnblFDoVdcAfslJ7or6iqAUnx0CCGIWQA==} @@ -3556,81 +3620,75 @@ packages: resolution: {integrity: sha512-ARhCpm70fzdcvNQfPoy49IaanKkTlRWF2JMzqhcJbhSFRZv7nPTvZJdcY7301IPmvW+/p0RgIWnQDLJxifsQ7g==} engines: {node: '>=8'} - rc-align@4.0.15: - resolution: {integrity: sha512-wqJtVH60pka/nOX7/IspElA8gjPNQKIx/ZqJ6heATCkXpe1Zg4cPVrMD2vC96wjsFFL8WsmhPbx9tdMo1qqlIA==} + rc-cascader@3.28.2: + resolution: {integrity: sha512-8f+JgM83iLTvjgdkgU7GfI4qY8icXOBP0cGZjOdx2iJAkEe8ucobxDQAVE69UD/c3ehCxZlcgEHeD5hFmypbUw==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' - rc-cascader@3.7.3: - resolution: {integrity: sha512-KBpT+kzhxDW+hxPiNk4zaKa99+Lie2/8nnI11XF+FIOPl4Bj9VlFZi61GrnWzhLGA7VEN+dTxAkNOjkySDa0dA==} + rc-checkbox@3.3.0: + resolution: {integrity: sha512-Ih3ZaAcoAiFKJjifzwsGiT/f/quIkxJoklW4yKGho14Olulwn8gN7hOBve0/WGDg5o/l/5mL0w7ff7/YGvefVw==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' - rc-checkbox@3.0.1: - resolution: {integrity: sha512-k7nxDWxYF+jDI0ZcCvuvj71xONmWRVe5+1MKcERRR9MRyP3tZ69b+yUCSXXh+sik4/Hc9P5wHr2nnUoGS2zBjA==} + rc-collapse@3.8.0: + resolution: {integrity: sha512-YVBkssrKPBG09TGfcWWGj8zJBYD9G3XuTy89t5iUmSXrIXEAnO1M+qjUxRW6b4Qi0+wNWG6MHJF/+US+nmIlzA==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' - rc-collapse@3.4.2: - resolution: {integrity: sha512-jpTwLgJzkhAgp2Wpi3xmbTbbYExg6fkptL67Uu5LCRVEj6wqmy0DHTjjeynsjOLsppHGHu41t1ELntZ0lEvS/Q==} + rc-dialog@9.6.0: + resolution: {integrity: sha512-ApoVi9Z8PaCQg6FsUzS8yvBEQy0ZL2PkuvAgrmohPkN3okps5WZ5WQWPc1RNuiOKaAYv8B97ACdsFU5LizzCqg==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' - rc-dialog@9.0.4: - resolution: {integrity: sha512-pmnPRZKd9CGzGgf4a1ysBvMhxm8Afx5fF6M7AzLtJ0qh8X1bshurDlqnK4MBNAB4hAeAMMbz6Ytb1rkGMvKFbQ==} + rc-drawer@7.2.0: + resolution: {integrity: sha512-9lOQ7kBekEJRdEpScHvtmEtXnAsy+NGDXiRWc2ZVC7QXAazNVbeT4EraQKYwCME8BJLa8Bxqxvs5swwyOepRwg==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' - rc-drawer@6.3.0: - resolution: {integrity: sha512-uBZVb3xTAR+dBV53d/bUhTctCw3pwcwJoM7g5aX+7vgwt2zzVzoJ6aqFjYJpBlZ9zp0dVYN8fV+hykFE7c4lig==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - - rc-dropdown@4.0.1: - resolution: {integrity: sha512-OdpXuOcme1rm45cR0Jzgfl1otzmU4vuBVb+etXM8vcaULGokAKVpKlw8p6xzspG7jGd/XxShvq+N3VNEfk/l5g==} + rc-dropdown@4.2.0: + resolution: {integrity: sha512-odM8Ove+gSh0zU27DUj5cG1gNKg7mLWBYzB5E4nNLrLwBmYEgYP43vHKDGOVZcJSVElQBI0+jTQgjnq0NfLjng==} peerDependencies: react: '>=16.11.0' react-dom: '>=16.11.0' - rc-field-form@1.38.2: - resolution: {integrity: sha512-O83Oi1qPyEv31Sg+Jwvsj6pXc8uQI2BtIAkURr5lvEYHVggXJhdU/nynK8wY1gbw0qR48k731sN5ON4egRCROA==} + rc-field-form@2.4.0: + resolution: {integrity: sha512-XZ/lF9iqf9HXApIHQHqzJK5v2w4mkUMsVqAzOyWVzoiwwXEavY6Tpuw7HavgzIoD+huVff4JghSGcgEfX6eycg==} engines: {node: '>=8.x'} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' - rc-image@5.13.0: - resolution: {integrity: sha512-iZTOmw5eWo2+gcrJMMcnd7SsxVHl3w5xlyCgsULUdJhJbnuI8i/AL0tVOsE7aLn9VfOh1qgDT3mC2G75/c7mqg==} + rc-image@7.11.0: + resolution: {integrity: sha512-aZkTEZXqeqfPZtnSdNUnKQA0N/3MbgR7nUnZ+/4MfSFWPFHZau4p5r5ShaI0KPEMnNjv4kijSCFq/9wtJpwykw==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' - rc-input-number@7.3.11: - resolution: {integrity: sha512-aMWPEjFeles6PQnMqP5eWpxzsvHm9rh1jQOWXExUEIxhX62Fyl/ptifLHOn17+waDG1T/YUb6flfJbvwRhHrbA==} + rc-input-number@9.2.0: + resolution: {integrity: sha512-5XZFhBCV5f9UQ62AZ2hFbEY8iZT/dm23Q1kAg0H8EvOgD3UDbYYJAayoVIkM3lQaCqYAW5gV0yV3vjw1XtzWHg==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' - rc-input@0.1.4: - resolution: {integrity: sha512-FqDdNz+fV2dKNgfXzcSLKvC+jEs1709t7nD+WdfjrdSaOcefpgc7BUJYadc3usaING+b7ediMTfKxuJBsEFbXA==} + rc-input@1.6.3: + resolution: {integrity: sha512-wI4NzuqBS8vvKr8cljsvnTUqItMfG1QbJoxovCgL+DX4eVUcHIjVwharwevIxyy7H/jbLryh+K7ysnJr23aWIA==} peerDependencies: react: '>=16.0.0' react-dom: '>=16.0.0' - rc-mentions@1.13.1: - resolution: {integrity: sha512-FCkaWw6JQygtOz0+Vxz/M/NWqrWHB9LwqlY2RtcuFqWJNFK9njijOOzTSsBGANliGufVUzx/xuPHmZPBV0+Hgw==} + rc-mentions@2.16.1: + resolution: {integrity: sha512-GnhSTGP9Mtv6pqFFGQze44LlrtWOjHNrUUAcsdo9DnNAhN4pwVPEWy4z+2jpjkiGlJ3VoXdvMHcNDQdfI9fEaw==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' - rc-menu@9.8.4: - resolution: {integrity: sha512-lmw2j8I2fhdIzHmC9ajfImfckt0WDb2KVJJBBRIsxPEw2kGkEfjLMUoB1NgiNT/Q5cC8PdjGOGQjHJIJMwyNMw==} + rc-menu@9.15.1: + resolution: {integrity: sha512-UKporqU6LPfHnpPmtP6hdEK4iO5Q+b7BRv/uRpxdIyDGplZy9jwUjsnpev5bs3PQKB0H0n34WAPDfjAfn3kAPA==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' @@ -3641,8 +3699,8 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' - rc-notification@4.6.1: - resolution: {integrity: sha512-NSmFYwrrdY3+un1GvDAJQw62Xi9LNMSsoQyo95tuaYrcad5Bn9gJUL8AREufRxSQAQnr64u3LtP3EUyLYT6bhw==} + rc-notification@5.6.2: + resolution: {integrity: sha512-Id4IYMoii3zzrG0lB0gD6dPgJx4Iu95Xu0BQrhHIbp7ZnAZbLqdqQ73aIWH0d0UFcElxwaKjnzNovTjo7kXz7g==} engines: {node: '>=8.x'} peerDependencies: react: '>=16.9.0' @@ -3654,27 +3712,40 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' - rc-pagination@3.2.0: - resolution: {integrity: sha512-5tIXjB670WwwcAJzAqp2J+cOBS9W3cH/WU1EiYwXljuZ4vtZXKlY2Idq8FZrnYBz8KhN3vwPo9CoV/SJS6SL1w==} + rc-pagination@4.3.0: + resolution: {integrity: sha512-UubEWA0ShnroQ1tDa291Fzw6kj0iOeF26IsUObxYTpimgj4/qPCWVFl18RLZE+0Up1IZg0IK4pMn6nB3mjvB7g==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' - rc-picker@2.7.6: - resolution: {integrity: sha512-H9if/BUJUZBOhPfWcPeT15JUI3/ntrG9muzERrXDkSoWmDj4yzmBvumozpxYrHwjcKnjyDGAke68d+whWwvhHA==} + rc-picker@4.6.15: + resolution: {integrity: sha512-OWZ1yrMie+KN2uEUfYCfS4b2Vu6RC1FWwNI0s+qypsc3wRt7g+peuZKVIzXCTaJwyyZruo80+akPg2+GmyiJjw==} engines: {node: '>=8.x'} peerDependencies: + date-fns: '>= 2.x' + dayjs: '>= 1.x' + luxon: '>= 3.x' + moment: '>= 2.x' react: '>=16.9.0' react-dom: '>=16.9.0' + peerDependenciesMeta: + date-fns: + optional: true + dayjs: + optional: true + luxon: + optional: true + moment: + optional: true - rc-progress@3.4.2: - resolution: {integrity: sha512-iAGhwWU+tsayP+Jkl9T4+6rHeQTG9kDz8JAHZk4XtQOcYN5fj9H34NXNEdRdZx94VUDHMqCb1yOIvi8eJRh67w==} + rc-progress@4.0.0: + resolution: {integrity: sha512-oofVMMafOCokIUIBnZLNcOZFsABaUw8PPrf1/y0ZBvKZNpOiu5h4AO9vv11Sw0p4Hb3D0yGWuEattcQGtNJ/aw==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' - rc-rate@2.9.3: - resolution: {integrity: sha512-2THssUSnRhtqIouQIIXqsZGzRczvp4WsH4WvGuhiwm+LG2fVpDUJliP9O1zeDOZvYfBE/Bup4SgHun/eCkbjgQ==} + rc-rate@2.13.0: + resolution: {integrity: sha512-oxvx1Q5k5wD30sjN5tqAyWTvJfLNNJn7Oq3IeS4HxWfAiC4BOXMITNAsw7u/fzdtO4MS8Ki8uRLOzcnEuoQiAw==} engines: {node: '>=8.x'} peerDependencies: react: '>=16.9.0' @@ -3686,87 +3757,80 @@ packages: react: '>=16.9.0' react-dom: '>=16.9.0' - rc-segmented@2.3.0: - resolution: {integrity: sha512-I3FtM5Smua/ESXutFfb8gJ8ZPcvFR+qUgeeGFQHBOvRiRKyAk4aBE5nfqrxXx+h8/vn60DQjOt6i4RNtrbOobg==} + rc-segmented@2.5.0: + resolution: {integrity: sha512-B28Fe3J9iUFOhFJET3RoXAPFJ2u47QvLSYcZWC4tFYNGPEjug5LAxEasZlA/PpAxhdOPqGWsGbSj7ftneukJnw==} peerDependencies: react: '>=16.0.0' react-dom: '>=16.0.0' - rc-select@14.1.18: - resolution: {integrity: sha512-4JgY3oG2Yz68ECMUSCON7mtxuJvCSj+LJpHEg/AONaaVBxIIrmI/ZTuMJkyojall/X50YdBe5oMKqHHPNiPzEg==} + rc-select@14.15.2: + resolution: {integrity: sha512-oNoXlaFmpqXYcQDzcPVLrEqS2J9c+/+oJuGrlXeVVX/gVgrbHa5YcyiRUXRydFjyuA7GP3elRuLF7Y3Tfwltlw==} engines: {node: '>=8.x'} peerDependencies: react: '*' react-dom: '*' - rc-slider@10.0.1: - resolution: {integrity: sha512-igTKF3zBet7oS/3yNiIlmU8KnZ45npmrmHlUUio8PNbIhzMcsh+oE/r2UD42Y6YD2D/s+kzCQkzQrPD6RY435Q==} + rc-slider@11.1.7: + resolution: {integrity: sha512-ytYbZei81TX7otdC0QvoYD72XSlxvTihNth5OeZ6PMXyEDq/vHdWFulQmfDGyXK1NwKwSlKgpvINOa88uT5g2A==} engines: {node: '>=8.x'} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' - rc-steps@5.0.0: - resolution: {integrity: sha512-9TgRvnVYirdhbV0C3syJFj9EhCRqoJAsxt4i1rED5o8/ZcSv5TLIYyo4H8MCjLPvbe2R+oBAm/IYBEtC+OS1Rw==} + rc-steps@6.0.1: + resolution: {integrity: sha512-lKHL+Sny0SeHkQKKDJlAjV5oZ8DwCdS2hFhAkIjuQt1/pB81M0cA0ErVFdHq9+jmPmFw1vJB2F5NBzFXLJxV+g==} engines: {node: '>=8.x'} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' - rc-switch@3.2.2: - resolution: {integrity: sha512-+gUJClsZZzvAHGy1vZfnwySxj+MjLlGRyXKXScrtCTcmiYNPzxDFOxdQ/3pK1Kt/0POvwJ/6ALOR8gwdXGhs+A==} + rc-switch@4.1.0: + resolution: {integrity: sha512-TI8ufP2Az9oEbvyCeVE4+90PDSljGyuwix3fV58p7HV2o4wBnVToEyomJRVyTaZeqNPAp+vqeo4Wnj5u0ZZQBg==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' - rc-table@7.26.0: - resolution: {integrity: sha512-0cD8e6S+DTGAt5nBZQIPFYEaIukn17sfa5uFL98faHlH/whZzD8ii3dbFL4wmUDEL4BLybhYop+QUfZJ4CPvNQ==} + rc-table@7.47.5: + resolution: {integrity: sha512-fzq+V9j/atbPIcvs3emuclaEoXulwQpIiJA6/7ey52j8+9cJ4P8DGmp4YzfUVDrb3qhgedcVeD6eRgUrokwVEQ==} engines: {node: '>=8.x'} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' - rc-tabs@12.5.10: - resolution: {integrity: sha512-Ay0l0jtd4eXepFH9vWBvinBjqOpqzcsJTerBGwJy435P2S90Uu38q8U/mvc1sxUEVOXX5ZCFbxcWPnfG3dH+tQ==} + rc-tabs@15.3.0: + resolution: {integrity: sha512-lzE18r+zppT/jZWOAWS6ntdkDUKHOLJzqMi5UAij1LeKwOaQaupupAoI9Srn73GRzVpmGznkECMRrzkRusC40A==} engines: {node: '>=8.x'} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' - rc-textarea@0.4.7: - resolution: {integrity: sha512-IQPd1CDI3mnMlkFyzt2O4gQ2lxUsnBAeJEoZGJnkkXgORNqyM9qovdrCj9NzcRfpHgLdzaEbU3AmobNFGUznwQ==} + rc-textarea@1.8.2: + resolution: {integrity: sha512-UFAezAqltyR00a8Lf0IPAyTd29Jj9ee8wt8DqXyDMal7r/Cg/nDt3e1OOv3Th4W6mKaZijjgwuPXhAfVNTN8sw==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' - rc-tooltip@5.2.2: - resolution: {integrity: sha512-jtQzU/18S6EI3lhSGoDYhPqNpWajMtS5VV/ld1LwyfrDByQpYmw/LW6U7oFXXLukjfDHQ7Ju705A82PRNFWYhg==} + rc-tooltip@6.2.1: + resolution: {integrity: sha512-rws0duD/3sHHsD905Nex7FvoUGy2UBQRhTkKxeEvr2FB+r21HsOxcDJI0TzyO8NHhnAA8ILr8pfbSBg5Jj5KBg==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' - rc-tree-select@5.5.5: - resolution: {integrity: sha512-k2av7jF6tW9bIO4mQhaVdV4kJ1c54oxV3/hHVU+oD251Gb5JN+m1RbJFTMf1o0rAFqkvto33rxMdpafaGKQRJw==} + rc-tree-select@5.23.0: + resolution: {integrity: sha512-aQGi2tFSRw1WbXv0UVXPzHm09E0cSvUVZMLxQtMv3rnZZpNmdRXWrnd9QkLNlVH31F+X5rgghmdSFF3yZW0N9A==} peerDependencies: react: '*' react-dom: '*' - rc-tree@5.7.12: - resolution: {integrity: sha512-LXA5nY2hG5koIAlHW5sgXgLpOMz+bFRbnZZ+cCg0tQs4Wv1AmY7EDi1SK7iFXhslYockbqUerQan82jljoaItg==} + rc-tree@5.9.0: + resolution: {integrity: sha512-CPrgOvm9d/9E+izTONKSngNzQdIEjMox2PBufWjS1wf7vxtvmCWzK1SlpHbRY6IaBfJIeZ+88RkcIevf729cRg==} engines: {node: '>=10.x'} peerDependencies: react: '*' react-dom: '*' - rc-trigger@5.3.4: - resolution: {integrity: sha512-mQv+vas0TwKcjAO2izNPkqR4j86OemLRmvL2nOzdP9OWNWA1ivoTt5hzFqYNW9zACwmTezRiN8bttrC7cZzYSw==} - engines: {node: '>=8.x'} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - - rc-upload@4.3.6: - resolution: {integrity: sha512-Bt7ESeG5tT3IY82fZcP+s0tQU2xmo1W6P3S8NboUUliquJLQYLkUcsaExi3IlBVr43GQMCjo30RA2o0i70+NjA==} + rc-upload@4.8.1: + resolution: {integrity: sha512-toEAhwl4hjLAI1u8/CgKWt30BR06ulPa4iGQSMvSXoHzO88gPCslxqV/mnn4gJU7PDoltGIC9Eh+wkeudqgHyw==} peerDependencies: react: '>=16.9.0' react-dom: '>=16.9.0' @@ -3929,8 +3993,8 @@ packages: scheduler@0.23.2: resolution: {integrity: sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==} - scroll-into-view-if-needed@2.2.31: - resolution: {integrity: sha512-dGCXy99wZQivjmjIqihaBQNjryrz5rueJY7eHfTdyWEiR4ttYpsajb14rn9s5d4DY4EcY6+4+U/maARBXJedkA==} + scroll-into-view-if-needed@3.1.0: + resolution: {integrity: sha512-49oNpRjWRvnU8NyGVmUaYG4jtTkNonFZI86MmGRDqBphEK2EXT9gdEUoQPZhuBM8yWHxCWbobltqYO5M4XrUvQ==} semver@5.7.2: resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} @@ -3953,9 +4017,6 @@ packages: resolution: {integrity: sha512-7PGFlmtwsEADb0WYyvCMa1t+yke6daIG4Wirafur5kcf+MhUnPms1UeR0CKQdTZD81yESwMHbtn+TR+dMviakQ==} engines: {node: '>= 0.4'} - shallowequal@1.1.0: - resolution: {integrity: sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ==} - shebang-command@2.0.0: resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} engines: {node: '>=8'} @@ -4149,6 +4210,9 @@ packages: stylis@4.2.0: resolution: {integrity: sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw==} + stylis@4.3.4: + resolution: {integrity: sha512-osIBl6BGUmSfDkyH2mB7EFvCJntXDrLhKjHTRj/rK6xLH0yuPrHULDRQzKokSOD4VoorhtKpfcfW1GAntu8now==} + sugarss@2.0.0: resolution: {integrity: sha512-WfxjozUk0UVA4jm+U1d736AUpzSrNsQcIbyOkoE364GrtWmIrFdk5lksEupgWMD4VaT/0kVx1dobpiDumSgmJQ==} @@ -4549,24 +4613,47 @@ snapshots: '@jridgewell/gen-mapping': 0.3.5 '@jridgewell/trace-mapping': 0.3.25 - '@ant-design/colors@6.0.0': + '@ant-design/colors@7.1.0': dependencies: '@ctrl/tinycolor': 3.6.1 + '@ant-design/cssinjs-utils@1.1.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@ant-design/cssinjs': 1.21.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@babel/runtime': 7.25.9 + rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + + '@ant-design/cssinjs@1.21.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@babel/runtime': 7.25.9 + '@emotion/hash': 0.8.0 + '@emotion/unitless': 0.7.5 + classnames: 2.5.1 + csstype: 3.1.3 + rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + stylis: 4.3.4 + + '@ant-design/fast-color@2.0.6': + dependencies: + '@babel/runtime': 7.25.9 + '@ant-design/icons-svg@4.4.2': {} - '@ant-design/icons@4.8.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + '@ant-design/icons@5.5.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: - '@ant-design/colors': 6.0.0 + '@ant-design/colors': 7.1.0 '@ant-design/icons-svg': 4.4.2 '@babel/runtime': 7.25.9 classnames: 2.5.1 - lodash: 4.17.21 rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - '@ant-design/react-slick@1.0.2(react@18.3.1)': + '@ant-design/react-slick@1.1.2(react@18.3.1)': dependencies: '@babel/runtime': 7.25.9 classnames: 2.5.1 @@ -5315,6 +5402,8 @@ snapshots: '@emotion/weak-memoize': 0.4.0 stylis: 4.2.0 + '@emotion/hash@0.8.0': {} + '@emotion/hash@0.9.2': {} '@emotion/is-prop-valid@1.3.1': @@ -5364,6 +5453,8 @@ snapshots: '@emotion/unitless@0.10.0': {} + '@emotion/unitless@0.7.5': {} + '@emotion/utils@1.4.1': {} '@emotion/weak-memoize@0.2.5': {} @@ -5702,6 +5793,38 @@ snapshots: '@popperjs/core@2.11.8': {} + '@rc-component/async-validator@5.0.4': + dependencies: + '@babel/runtime': 7.25.9 + + '@rc-component/color-picker@2.0.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@ant-design/fast-color': 2.0.6 + '@babel/runtime': 7.25.9 + classnames: 2.5.1 + rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + + '@rc-component/context@1.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@babel/runtime': 7.25.9 + rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + + '@rc-component/mini-decimal@1.1.0': + dependencies: + '@babel/runtime': 7.25.9 + + '@rc-component/mutate-observer@1.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@babel/runtime': 7.25.9 + classnames: 2.5.1 + rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + '@rc-component/portal@1.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': dependencies: '@babel/runtime': 7.25.9 @@ -5710,6 +5833,35 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) + '@rc-component/qrcode@1.0.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@babel/runtime': 7.25.9 + classnames: 2.5.1 + rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + + '@rc-component/tour@1.15.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@babel/runtime': 7.25.9 + '@rc-component/portal': 1.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@rc-component/trigger': 2.2.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + classnames: 2.5.1 + rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + + '@rc-component/trigger@2.2.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1)': + dependencies: + '@babel/runtime': 7.25.9 + '@rc-component/portal': 1.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + classnames: 2.5.1 + rc-motion: 2.9.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-resize-observer: 1.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + react: 18.3.1 + react-dom: 18.3.1(react@18.3.1) + '@rtsao/scc@1.1.0': {} '@sinclair/typebox@0.27.8': {} @@ -6409,53 +6561,63 @@ snapshots: ansi-styles@6.2.1: {} - antd@4.24.16(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + antd@5.21.5(date-fns@2.30.0)(moment@2.30.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: - '@ant-design/colors': 6.0.0 - '@ant-design/icons': 4.8.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - '@ant-design/react-slick': 1.0.2(react@18.3.1) + '@ant-design/colors': 7.1.0 + '@ant-design/cssinjs': 1.21.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@ant-design/cssinjs-utils': 1.1.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@ant-design/icons': 5.5.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@ant-design/react-slick': 1.1.2(react@18.3.1) '@babel/runtime': 7.25.9 '@ctrl/tinycolor': 3.6.1 + '@rc-component/color-picker': 2.0.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@rc-component/mutate-observer': 1.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@rc-component/qrcode': 1.0.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@rc-component/tour': 1.15.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + '@rc-component/trigger': 2.2.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) classnames: 2.5.1 copy-to-clipboard: 3.3.3 - lodash: 4.17.21 - moment: 2.30.1 - rc-cascader: 3.7.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-checkbox: 3.0.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-collapse: 3.4.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-dialog: 9.0.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-drawer: 6.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-dropdown: 4.0.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-field-form: 1.38.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-image: 5.13.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-input: 0.1.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-input-number: 7.3.11(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-mentions: 1.13.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-menu: 9.8.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + dayjs: 1.11.13 + rc-cascader: 3.28.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-checkbox: 3.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-collapse: 3.8.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-dialog: 9.6.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-drawer: 7.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-dropdown: 4.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-field-form: 2.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-image: 7.11.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-input: 1.6.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-input-number: 9.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-mentions: 2.16.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-menu: 9.15.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) rc-motion: 2.9.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-notification: 4.6.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-pagination: 3.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-picker: 2.7.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-progress: 3.4.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-rate: 2.9.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-notification: 5.6.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-pagination: 4.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-picker: 4.6.15(date-fns@2.30.0)(dayjs@1.11.13)(moment@2.30.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-progress: 4.0.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-rate: 2.13.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) rc-resize-observer: 1.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-segmented: 2.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-select: 14.1.18(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-slider: 10.0.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-steps: 5.0.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-switch: 3.2.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-table: 7.26.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-tabs: 12.5.10(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-textarea: 0.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-tooltip: 5.2.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-tree: 5.7.12(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-tree-select: 5.5.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-trigger: 5.3.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-upload: 4.3.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-segmented: 2.5.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-select: 14.15.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-slider: 11.1.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-steps: 6.0.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-switch: 4.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-table: 7.47.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-tabs: 15.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-textarea: 1.8.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-tooltip: 6.2.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-tree: 5.9.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-tree-select: 5.23.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-upload: 4.8.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - scroll-into-view-if-needed: 2.2.31 + scroll-into-view-if-needed: 3.1.0 + throttle-debounce: 5.0.2 + transitivePeerDependencies: + - date-fns + - luxon + - moment anymatch@3.1.3: dependencies: @@ -6549,8 +6711,6 @@ snapshots: astral-regex@2.0.0: {} - async-validator@4.2.5: {} - async@3.2.6: {} asynckit@0.4.0: {} @@ -6788,7 +6948,7 @@ snapshots: commander@9.5.0: {} - compute-scroll-into-view@1.0.20: {} + compute-scroll-into-view@3.1.0: {} concat-map@0.0.1: {} @@ -6872,6 +7032,7 @@ snapshots: date-fns@2.30.0: dependencies: '@babel/runtime': 7.25.9 + optional: true dayjs@1.11.13: {} @@ -6955,8 +7116,6 @@ snapshots: dom-accessibility-api@0.5.16: {} - dom-align@1.12.4: {} - dom-helpers@5.2.1: dependencies: '@babel/runtime': 7.25.9 @@ -8512,7 +8671,8 @@ snapshots: minimist@1.2.8: {} - moment@2.30.1: {} + moment@2.30.1: + optional: true mongo-object@0.1.4: {} @@ -8808,28 +8968,18 @@ snapshots: quick-lru@4.0.1: {} - rc-align@4.0.15(react-dom@18.3.1(react@18.3.1))(react@18.3.1): - dependencies: - '@babel/runtime': 7.25.9 - classnames: 2.5.1 - dom-align: 1.12.4 - rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - resize-observer-polyfill: 1.5.1 - - rc-cascader@3.7.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-cascader@3.28.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 array-tree-filter: 2.1.0 classnames: 2.5.1 - rc-select: 14.1.18(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-tree: 5.7.12(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-select: 14.15.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-tree: 5.9.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - rc-checkbox@3.0.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-checkbox@3.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 classnames: 2.5.1 @@ -8837,7 +8987,7 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - rc-collapse@3.4.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-collapse@3.8.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 classnames: 2.5.1 @@ -8845,9 +8995,8 @@ snapshots: rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - shallowequal: 1.1.0 - rc-dialog@9.0.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-dialog@9.6.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 '@rc-component/portal': 1.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -8857,7 +9006,7 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - rc-drawer@6.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-drawer@7.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 '@rc-component/portal': 1.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -8867,43 +9016,45 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - rc-dropdown@4.0.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-dropdown@4.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 + '@rc-component/trigger': 2.2.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) classnames: 2.5.1 - rc-trigger: 5.3.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - rc-field-form@1.38.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-field-form@2.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 - async-validator: 4.2.5 + '@rc-component/async-validator': 5.0.4 rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - rc-image@5.13.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-image@7.11.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 '@rc-component/portal': 1.1.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) classnames: 2.5.1 - rc-dialog: 9.0.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-dialog: 9.6.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) rc-motion: 2.9.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - rc-input-number@7.3.11(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-input-number@9.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 + '@rc-component/mini-decimal': 1.1.0 classnames: 2.5.1 + rc-input: 1.6.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - rc-input@0.1.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-input@1.6.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 classnames: 2.5.1 @@ -8911,24 +9062,25 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - rc-mentions@1.13.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-mentions@2.16.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 + '@rc-component/trigger': 2.2.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) classnames: 2.5.1 - rc-menu: 9.8.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-textarea: 0.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-trigger: 5.3.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-input: 1.6.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-menu: 9.15.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-textarea: 1.8.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - rc-menu@9.8.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-menu@9.15.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 + '@rc-component/trigger': 2.2.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) classnames: 2.5.1 rc-motion: 2.9.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) rc-overflow: 1.3.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-trigger: 5.3.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) @@ -8941,7 +9093,7 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - rc-notification@4.6.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-notification@5.6.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 classnames: 2.5.1 @@ -8959,27 +9111,30 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - rc-pagination@3.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-pagination@4.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 classnames: 2.5.1 + rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - rc-picker@2.7.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-picker@4.6.15(date-fns@2.30.0)(dayjs@1.11.13)(moment@2.30.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 + '@rc-component/trigger': 2.2.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) classnames: 2.5.1 - date-fns: 2.30.0 - dayjs: 1.11.13 - moment: 2.30.1 - rc-trigger: 5.3.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-overflow: 1.3.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-resize-observer: 1.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - shallowequal: 1.1.0 + optionalDependencies: + date-fns: 2.30.0 + dayjs: 1.11.13 + moment: 2.30.1 - rc-progress@3.4.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-progress@4.0.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 classnames: 2.5.1 @@ -8987,7 +9142,7 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - rc-rate@2.9.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-rate@2.13.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 classnames: 2.5.1 @@ -9004,7 +9159,7 @@ snapshots: react-dom: 18.3.1(react@18.3.1) resize-observer-polyfill: 1.5.1 - rc-segmented@2.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-segmented@2.5.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 classnames: 2.5.1 @@ -9013,28 +9168,27 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - rc-select@14.1.18(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-select@14.15.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 + '@rc-component/trigger': 2.2.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) classnames: 2.5.1 rc-motion: 2.9.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) rc-overflow: 1.3.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-trigger: 5.3.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) rc-virtual-list: 3.14.8(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - rc-slider@10.0.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-slider@11.1.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 classnames: 2.5.1 rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - shallowequal: 1.1.0 - rc-steps@5.0.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-steps@6.0.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 classnames: 2.5.1 @@ -9042,7 +9196,7 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - rc-switch@3.2.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-switch@4.1.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 classnames: 2.5.1 @@ -9050,57 +9204,58 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - rc-table@7.26.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-table@7.47.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 + '@rc-component/context': 1.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) classnames: 2.5.1 rc-resize-observer: 1.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-virtual-list: 3.14.8(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - shallowequal: 1.1.0 - rc-tabs@12.5.10(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-tabs@15.3.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 classnames: 2.5.1 - rc-dropdown: 4.0.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-menu: 9.8.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-dropdown: 4.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-menu: 9.15.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) rc-motion: 2.9.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) rc-resize-observer: 1.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - rc-textarea@0.4.7(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-textarea@1.8.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 classnames: 2.5.1 + rc-input: 1.6.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) rc-resize-observer: 1.4.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - shallowequal: 1.1.0 - rc-tooltip@5.2.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-tooltip@6.2.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 + '@rc-component/trigger': 2.2.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) classnames: 2.5.1 - rc-trigger: 5.3.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - rc-tree-select@5.5.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-tree-select@5.23.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 classnames: 2.5.1 - rc-select: 14.1.18(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-tree: 5.7.12(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-select: 14.15.2(react-dom@18.3.1(react@18.3.1))(react@18.3.1) + rc-tree: 5.9.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - rc-tree@5.7.12(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-tree@5.9.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 classnames: 2.5.1 @@ -9110,17 +9265,7 @@ snapshots: react: 18.3.1 react-dom: 18.3.1(react@18.3.1) - rc-trigger@5.3.4(react-dom@18.3.1(react@18.3.1))(react@18.3.1): - dependencies: - '@babel/runtime': 7.25.9 - classnames: 2.5.1 - rc-align: 4.0.15(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-motion: 2.9.3(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - rc-util: 5.43.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) - react: 18.3.1 - react-dom: 18.3.1(react@18.3.1) - - rc-upload@4.3.6(react-dom@18.3.1(react@18.3.1))(react@18.3.1): + rc-upload@4.8.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1): dependencies: '@babel/runtime': 7.25.9 classnames: 2.5.1 @@ -9308,9 +9453,9 @@ snapshots: dependencies: loose-envify: 1.4.0 - scroll-into-view-if-needed@2.2.31: + scroll-into-view-if-needed@3.1.0: dependencies: - compute-scroll-into-view: 1.0.20 + compute-scroll-into-view: 3.1.0 semver@5.7.2: {} @@ -9334,8 +9479,6 @@ snapshots: functions-have-names: 1.2.3 has-property-descriptors: 1.0.2 - shallowequal@1.1.0: {} - shebang-command@2.0.0: dependencies: shebang-regex: 3.0.0 @@ -9591,6 +9734,8 @@ snapshots: stylis@4.2.0: {} + stylis@4.3.4: {} + sugarss@2.0.0: dependencies: postcss: 7.0.39 From d1315f8d1e8806a0b4105560df788c5a76b4b022 Mon Sep 17 00:00:00 2001 From: Adrian Mucha Date: Fri, 25 Oct 2024 16:10:06 +0200 Subject: [PATCH 2/5] Update antd dev dependency react to 18 --- packages/uniforms-antd/package.json | 2 +- pnpm-lock.yaml | 21 +++------------------ 2 files changed, 4 insertions(+), 19 deletions(-) diff --git a/packages/uniforms-antd/package.json b/packages/uniforms-antd/package.json index 69c9b3cb5..16ae0457d 100644 --- a/packages/uniforms-antd/package.json +++ b/packages/uniforms-antd/package.json @@ -46,7 +46,7 @@ "devDependencies": { "@types/invariant": "2.2.37", "@types/lodash": "4.17.5", - "@types/react": "17.0.39", + "@types/react": "18.3.12", "@types/simpl-schema": "1.12.8", "moment": "2.30.1", "simpl-schema": "1.13.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fa6c6eaa2..9ead17529 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -140,8 +140,8 @@ importers: specifier: 4.17.5 version: 4.17.5 '@types/react': - specifier: 17.0.39 - version: 17.0.39 + specifier: 18.3.12 + version: 18.3.12 '@types/simpl-schema': specifier: 1.12.8 version: 1.12.8(@aws-sdk/client-sso-oidc@3.679.0(@aws-sdk/client-sts@3.679.0)) @@ -1479,15 +1479,9 @@ packages: '@types/react-transition-group@4.4.11': resolution: {integrity: sha512-RM05tAniPZ5DZPzzNFP+DmrcOdD0efDUxMy3145oljWSl3x9ZV5vhme98gTxFrj2lhXvmGNnUiuDyJgY9IKkNA==} - '@types/react@17.0.39': - resolution: {integrity: sha512-UVavlfAxDd/AgAacMa60Azl7ygyQNRwC/DsHZmKgNvPmRR5p70AJ5Q9EAmL2NWOJmeV+vVUI4IAP7GZrN8h8Ug==} - '@types/react@18.3.12': resolution: {integrity: sha512-D2wOSq/d6Agt28q7rSI3jhU7G6aiuzljDGZ2hTZHIkrTLUI+AF3WMeKkEZ9nN2fkBAlcktT6vcZjDFiIhMYEQw==} - '@types/scheduler@0.23.0': - resolution: {integrity: sha512-YIoDCTH3Af6XM5VuwGG/QL/CJqga1Zm3NkU3HZ4ZHK2fRMPYP1VczsTUqtsf43PH/iJNVlPHAo2oWX7BSdB2Hw==} - '@types/semver@7.5.8': resolution: {integrity: sha512-I8EUhyrgfLrcTkzV3TSsGyl1tSuPrEDzr0yd5m90UgNxQkyDXULk3b6MlQqTCpZpNtWe1K0hzclnZkTcLBe2UQ==} @@ -6351,19 +6345,11 @@ snapshots: dependencies: '@types/react': 18.3.12 - '@types/react@17.0.39': - dependencies: - '@types/prop-types': 15.7.13 - '@types/scheduler': 0.23.0 - csstype: 3.1.3 - '@types/react@18.3.12': dependencies: '@types/prop-types': 15.7.13 csstype: 3.1.3 - '@types/scheduler@0.23.0': {} - '@types/semver@7.5.8': {} '@types/simpl-schema@1.12.7(@aws-sdk/client-sso-oidc@3.679.0(@aws-sdk/client-sts@3.679.0))': @@ -8671,8 +8657,7 @@ snapshots: minimist@1.2.8: {} - moment@2.30.1: - optional: true + moment@2.30.1: {} mongo-object@0.1.4: {} From cf75799fc5c741f529d3cbc4ab153b3459882ee0 Mon Sep 17 00:00:00 2001 From: Adrian Mucha Date: Fri, 25 Oct 2024 17:11:11 +0200 Subject: [PATCH 3/5] Fix antd5 type issues --- packages/uniforms-antd/package.json | 5 ++++- packages/uniforms-antd/src/DateField.tsx | 8 ++++---- packages/uniforms-antd/src/ListDelField.tsx | 2 +- packages/uniforms-antd/src/NumField.tsx | 5 ++--- packages/uniforms-antd/src/SelectField.tsx | 10 +++------- packages/uniforms-antd/src/SubmitField.tsx | 2 +- packages/uniforms-antd/src/TextField.tsx | 4 ++-- pnpm-lock.yaml | 12 ++++++++---- 8 files changed, 25 insertions(+), 23 deletions(-) diff --git a/packages/uniforms-antd/package.json b/packages/uniforms-antd/package.json index 16ae0457d..85fabdd7f 100644 --- a/packages/uniforms-antd/package.json +++ b/packages/uniforms-antd/package.json @@ -34,6 +34,8 @@ "peerDependencies": { "@ant-design/icons": "^5.0.0", "antd": "^5.0.0", + "dayjs": "^1.11.13", + "rc-input-number": "^9.2.0", "react": "^18.0.0 || ^17.0.0 || ^16.8.0" }, "dependencies": { @@ -48,8 +50,9 @@ "@types/lodash": "4.17.5", "@types/react": "18.3.12", "@types/simpl-schema": "1.12.8", - "moment": "2.30.1", + "dayjs": "^1.11.13", "simpl-schema": "1.13.1", + "rc-input-number": "^9.2.0", "tslib": "2.2.0", "typescript": "5.5.4", "zod": "^3.0.0" diff --git a/packages/uniforms-antd/src/DateField.tsx b/packages/uniforms-antd/src/DateField.tsx index e730cad49..59add33f1 100644 --- a/packages/uniforms-antd/src/DateField.tsx +++ b/packages/uniforms-antd/src/DateField.tsx @@ -1,13 +1,13 @@ import DatePicker, { DatePickerProps } from 'antd/lib/date-picker'; -import moment, { Moment } from 'moment'; +import dayjs from 'dayjs'; import React, { Ref } from 'react'; import { connectField, FieldProps, filterDOMProps } from 'uniforms'; import wrapField from './wrapField'; export type DateFieldProps = FieldProps< - Date | Moment, - DatePickerProps, + Date, + Omit, // FIXME: Seems like DatePickerProps doesn't contain 'showTime'. { inputRef?: Ref; showTime?: boolean } >; @@ -35,7 +35,7 @@ function Date({ ref={props.inputRef} showTime={showTime} style={style} - value={props.value && moment(props.value)} + value={props.value && dayjs(props.value)} {...filterDOMProps(props)} />, ); diff --git a/packages/uniforms-antd/src/ListDelField.tsx b/packages/uniforms-antd/src/ListDelField.tsx index a9f9887d4..dbdbb8b4e 100644 --- a/packages/uniforms-antd/src/ListDelField.tsx +++ b/packages/uniforms-antd/src/ListDelField.tsx @@ -19,7 +19,7 @@ function ListDel({ readOnly, shape = 'circle', size = 'small', - type = 'ghost', + type = 'default', ...props }: ListDelFieldProps) { const nameParts = joinName(null, name); diff --git a/packages/uniforms-antd/src/NumField.tsx b/packages/uniforms-antd/src/NumField.tsx index 99f3468cc..89cb46313 100644 --- a/packages/uniforms-antd/src/NumField.tsx +++ b/packages/uniforms-antd/src/NumField.tsx @@ -1,4 +1,4 @@ -import InputNumber, { InputNumberProps } from 'antd/lib/input-number'; +import InputNumber, { type InputNumberProps } from 'antd/lib/input-number'; import React, { Ref } from 'react'; import { FieldProps, connectField, filterDOMProps } from 'uniforms'; @@ -8,8 +8,7 @@ export type NumFieldProps = FieldProps< number, // FIXME: Why `onReset` fails with `wrapField`? Omit, - // FIXME: `unknown` ref; see https://github.com/vazco/uniforms/discussions/1230#discussioncomment-5158439 - { decimal?: boolean; inputRef?: Ref } + { decimal?: boolean; inputRef?: Ref } >; function Num(props: NumFieldProps) { diff --git a/packages/uniforms-antd/src/SelectField.tsx b/packages/uniforms-antd/src/SelectField.tsx index f1b07b4cf..5a3e9f6e8 100644 --- a/packages/uniforms-antd/src/SelectField.tsx +++ b/packages/uniforms-antd/src/SelectField.tsx @@ -1,7 +1,4 @@ -import CheckboxGroup, { - CheckboxGroupProps, - CheckboxValueType, -} from 'antd/lib/checkbox/Group'; +import CheckboxGroup, { CheckboxGroupProps } from 'antd/lib/checkbox/Group'; import { RadioGroupProps } from 'antd/lib/radio'; import RadioGroup from 'antd/lib/radio/group'; import SelectAntD, { SelectProps as SelectAntDProps } from 'antd/lib/select'; @@ -15,7 +12,7 @@ type CheckboxesProps = FieldProps< SelectFieldValue, CheckboxGroupProps | RadioGroupProps, { - options?: Option[]; + options?: Option[]; checkboxes: true; inputRef?: Ref; required?: boolean; @@ -35,7 +32,7 @@ type SelectProps = FieldProps< // This type is needed for the `SelectFieldProps` union to be a proper subtype // of `Partial>` - otherwise `connectField` goes wild. -type SelectFieldValue = CheckboxValueType | (string | undefined)[]; +type SelectFieldValue = (string | undefined)[]; export type SelectFieldProps = CheckboxesProps | SelectProps; @@ -46,7 +43,6 @@ function Select(props: SelectFieldProps) { props, props.checkboxes ? ( - {/* @ts-expect-error: Incorrect `value` type. */} } + { inputRef?: Ref } >; function SubmitField({ diff --git a/packages/uniforms-antd/src/TextField.tsx b/packages/uniforms-antd/src/TextField.tsx index 5ebe87867..b4707da73 100644 --- a/packages/uniforms-antd/src/TextField.tsx +++ b/packages/uniforms-antd/src/TextField.tsx @@ -1,4 +1,4 @@ -import Input, { InputProps } from 'antd/lib/input'; +import Input, { InputProps, InputRef } from 'antd/lib/input'; import React, { Ref } from 'react'; import { FieldProps, connectField, filterDOMProps } from 'uniforms'; @@ -7,7 +7,7 @@ import wrapField from './wrapField'; export type TextFieldProps = FieldProps< string, Omit, - { inputRef?: Ref } + { inputRef?: Ref } >; function Text(props: TextFieldProps) { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9ead17529..937e17bd0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -145,9 +145,12 @@ importers: '@types/simpl-schema': specifier: 1.12.8 version: 1.12.8(@aws-sdk/client-sso-oidc@3.679.0(@aws-sdk/client-sts@3.679.0)) - moment: - specifier: 2.30.1 - version: 2.30.1 + dayjs: + specifier: ^1.11.13 + version: 1.11.13 + rc-input-number: + specifier: ^9.2.0 + version: 9.2.0(react-dom@18.3.1(react@18.3.1))(react@18.3.1) simpl-schema: specifier: 1.13.1 version: 1.13.1 @@ -8657,7 +8660,8 @@ snapshots: minimist@1.2.8: {} - moment@2.30.1: {} + moment@2.30.1: + optional: true mongo-object@0.1.4: {} From e090090edb07da4a15996144fd7e49c81733a18b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Po=C5=9Bpiech?= <37746259+piotrpospiech@users.noreply.github.com> Date: Mon, 28 Oct 2024 12:29:56 +0100 Subject: [PATCH 4/5] fixed AntD tests --- packages/uniforms-antd/__tests__/DateField.tsx | 10 +++++----- packages/uniforms-antd/__tests__/SelectField.tsx | 2 +- packages/uniforms-antd/__tests__/index.ts | 9 ++++++--- packages/uniforms-antd/__tests__/wrapField.tsx | 2 +- packages/uniforms-antd/package.json | 4 +--- packages/uniforms-antd/src/NumField.tsx | 2 ++ packages/uniforms/__suites__/NumField.tsx | 16 +++++++++++++--- packages/uniforms/__suites__/SelectField.tsx | 2 +- pnpm-lock.yaml | 6 +++--- 9 files changed, 33 insertions(+), 20 deletions(-) diff --git a/packages/uniforms-antd/__tests__/DateField.tsx b/packages/uniforms-antd/__tests__/DateField.tsx index afa6dad86..761bf6594 100644 --- a/packages/uniforms-antd/__tests__/DateField.tsx +++ b/packages/uniforms-antd/__tests__/DateField.tsx @@ -2,7 +2,7 @@ import { screen } from '@testing-library/react'; import userEvent, { PointerEventsCheckLevel, } from '@testing-library/user-event'; -import moment from 'moment'; +import dayjs from 'dayjs'; import React from 'react'; import { renderWithZod } from 'uniforms/__suites__'; import { DateField } from 'uniforms-antd'; @@ -11,7 +11,7 @@ import { z } from 'zod'; const getClosestInput = (text: string) => screen.getByText(text).closest('.ant-row')?.querySelector('input'); -describe.skip('@RTL - DateField tests', () => { +describe('@RTL - DateField tests', () => { test(' - default props override', async () => { const pickerProps = { showTime: false, style: { background: 'red' } }; renderWithZod({ @@ -47,9 +47,9 @@ describe.skip('@RTL - DateField tests', () => { test(' - renders a input which correctly reacts on change', async () => { const onChange = jest.fn(); - const now = moment('2024-01-01 12:00:00'); + const now = dayjs('2024-01-01 12:00:00'); renderWithZod({ - element: , + element: , onChange, schema: z.object({ x: z.date() }), }); @@ -58,7 +58,7 @@ describe.skip('@RTL - DateField tests', () => { expect(input).toBeInTheDocument(); await userEvent.click(input!); await userEvent.type(input!, now.format('YYYY-MM-DD HH:mm:ss')); - const ok = screen.getByText('Ok'); + const ok = screen.getByText('OK'); await userEvent.click(ok, { pointerEventsCheck: PointerEventsCheckLevel.Never, }); diff --git a/packages/uniforms-antd/__tests__/SelectField.tsx b/packages/uniforms-antd/__tests__/SelectField.tsx index c815f13a3..facbaa87d 100644 --- a/packages/uniforms-antd/__tests__/SelectField.tsx +++ b/packages/uniforms-antd/__tests__/SelectField.tsx @@ -4,7 +4,7 @@ import { renderWithZod } from 'uniforms/__suites__'; import { SelectField } from 'uniforms-antd'; import { z } from 'zod'; -describe.skip('@RTL - SelectField tests', () => { +describe('@RTL - SelectField tests', () => { test(' - renders a select which correctly reacts on change (array)', () => { const onChange = jest.fn(); diff --git a/packages/uniforms-antd/__tests__/index.ts b/packages/uniforms-antd/__tests__/index.ts index d2e5a5dc0..b20be83ea 100644 --- a/packages/uniforms-antd/__tests__/index.ts +++ b/packages/uniforms-antd/__tests__/index.ts @@ -1,7 +1,7 @@ import * as suites from 'uniforms/__suites__'; import * as theme from 'uniforms-antd'; -it.skip('exports everything', () => { +it('exports everything', () => { expect(theme).toEqual({ AutoFields: expect.any(Function), AutoField: expect.any(Function), @@ -30,7 +30,7 @@ it.skip('exports everything', () => { }); }); -describe.skip('@RTL AntD', () => { +describe('@RTL AntD', () => { suites.testAutoField(theme.AutoField, { getDateField: screen => screen.getByRole('textbox'), getSelectField: screen => screen.getByRole('combobox'), @@ -52,7 +52,10 @@ describe.skip('@RTL AntD', () => { }); suites.testListItemField(theme.ListItemField); suites.testLongTextField(theme.LongTextField); - suites.testNumField(theme.NumField); + suites.testNumField(theme.NumField, { + minProperty: 'aria-valuemin', + maxProperty: 'aria-valuemax', + }); suites.testNestField(theme.NestField); suites.testQuickForm(theme.QuickForm); // FIXME: AntD radio.group does not support HTML attributes https://github.com/ant-design/ant-design/issues/8561, added a flag to skip attributes tests. diff --git a/packages/uniforms-antd/__tests__/wrapField.tsx b/packages/uniforms-antd/__tests__/wrapField.tsx index 2be9458bf..94688e7da 100644 --- a/packages/uniforms-antd/__tests__/wrapField.tsx +++ b/packages/uniforms-antd/__tests__/wrapField.tsx @@ -4,7 +4,7 @@ import { renderWithZod } from 'uniforms/__suites__'; import { wrapField } from 'uniforms-antd'; import { z } from 'zod'; -describe.skip('@RTL - wrapField tests', () => { +describe('@RTL - wrapField tests', () => { describe('wrapField tests', () => { test(' - renders wrapper with extra style', () => { const { container } = renderWithZod({ diff --git a/packages/uniforms-antd/package.json b/packages/uniforms-antd/package.json index 85fabdd7f..5cd84ac05 100644 --- a/packages/uniforms-antd/package.json +++ b/packages/uniforms-antd/package.json @@ -32,10 +32,7 @@ "src/*.tsx" ], "peerDependencies": { - "@ant-design/icons": "^5.0.0", "antd": "^5.0.0", - "dayjs": "^1.11.13", - "rc-input-number": "^9.2.0", "react": "^18.0.0 || ^17.0.0 || ^16.8.0" }, "dependencies": { @@ -46,6 +43,7 @@ "warning": "^4.0.0" }, "devDependencies": { + "@ant-design/icons": "^5.0.0", "@types/invariant": "2.2.37", "@types/lodash": "4.17.5", "@types/react": "18.3.12", diff --git a/packages/uniforms-antd/src/NumField.tsx b/packages/uniforms-antd/src/NumField.tsx index 89cb46313..2f7f72653 100644 --- a/packages/uniforms-antd/src/NumField.tsx +++ b/packages/uniforms-antd/src/NumField.tsx @@ -1,3 +1,5 @@ +/// + import InputNumber, { type InputNumberProps } from 'antd/lib/input-number'; import React, { Ref } from 'react'; import { FieldProps, connectField, filterDOMProps } from 'uniforms'; diff --git a/packages/uniforms/__suites__/NumField.tsx b/packages/uniforms/__suites__/NumField.tsx index 75a9816eb..d36f3e361 100644 --- a/packages/uniforms/__suites__/NumField.tsx +++ b/packages/uniforms/__suites__/NumField.tsx @@ -5,7 +5,16 @@ import z from 'zod'; import { renderWithZod } from './render-zod'; -export function testNumField(NumField: ComponentType) { +export function testNumField( + NumField: ComponentType, + options?: { + minProperty?: string; + maxProperty?: string; + }, +) { + const minProperty = options?.minProperty ?? 'min'; + const maxProperty = options?.maxProperty ?? 'max'; + test(' - renders an InputNumber', () => { renderWithZod({ element: , @@ -52,7 +61,7 @@ export function testNumField(NumField: ComponentType) { element: , schema: z.object({ x: z.number() }), }); - expect(screen.getByRole('spinbutton')).toHaveAttribute('max', '10'); + expect(screen.getByRole('spinbutton')).toHaveAttribute(maxProperty, '10'); }); test(' - renders an InputNumber with correct min', () => { @@ -60,7 +69,8 @@ export function testNumField(NumField: ComponentType) { element: , schema: z.object({ x: z.number() }), }); - expect(screen.getByRole('spinbutton')).toHaveAttribute('min', '10'); + + expect(screen.getByRole('spinbutton')).toHaveAttribute(minProperty, '10'); }); test(' - renders an InputNumber with correct name', () => { diff --git a/packages/uniforms/__suites__/SelectField.tsx b/packages/uniforms/__suites__/SelectField.tsx index d6de7bfce..8837e7a3b 100644 --- a/packages/uniforms/__suites__/SelectField.tsx +++ b/packages/uniforms/__suites__/SelectField.tsx @@ -664,7 +664,7 @@ export function testSelectField( ), schema: z.object({ x: z.enum(['a', 'b']) }), }); - const field = screen.getByTestId('select-field'); + const field = screen.getAllByTestId('select-field')[0]; expect(field).toHaveAttribute('data-x', 'x'); expect(field).toHaveAttribute('data-z', 'z'); expect(field).toHaveAttribute('data-y', 'y'); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 937e17bd0..1496251a8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -108,9 +108,6 @@ importers: packages/uniforms-antd: dependencies: - '@ant-design/icons': - specifier: ^5.0.0 - version: 5.5.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) antd: specifier: ^5.0.0 version: 5.21.5(date-fns@2.30.0)(moment@2.30.1)(react-dom@18.3.1(react@18.3.1))(react@18.3.1) @@ -133,6 +130,9 @@ importers: specifier: ^4.0.0 version: 4.0.3 devDependencies: + '@ant-design/icons': + specifier: ^5.0.0 + version: 5.5.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1) '@types/invariant': specifier: 2.2.37 version: 2.2.37 From cb9e55e42e74f0bebd49cdfa2fec54603211a232 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Po=C5=9Bpiech?= <37746259+piotrpospiech@users.noreply.github.com> Date: Mon, 28 Oct 2024 12:36:07 +0100 Subject: [PATCH 5/5] enabled AntD tests --- jest.config.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/jest.config.js b/jest.config.js index 080aba5ca..38c9374f4 100644 --- a/jest.config.js +++ b/jest.config.js @@ -9,10 +9,5 @@ module.exports = { setupFiles: ['./scripts/setupJest.ts', './scripts/setupFilterWarnings.ts'], setupFilesAfterEnv: ['./scripts/setupMatchers.ts'], testEnvironment: 'jsdom', - testPathIgnorePatterns: [ - '/node_modules/', - '/_[^/]*$', - '\\.d\\.ts$', - 'uniforms-antd/', - ], + testPathIgnorePatterns: ['/node_modules/', '/_[^/]*$', '\\.d\\.ts$'], };