From a766b5b6a35a9c11aab2c4c3bc7ad18cb72bdf64 Mon Sep 17 00:00:00 2001 From: Xavier Rutayisire Date: Sun, 8 Oct 2023 16:45:42 +0200 Subject: [PATCH] fix(select): Issue #60 - Use suffixIcon instead of deprecated showArrow BREAKING CHANGE: antd >= v5.8.0 required --- README.md | 2 +- package.json | 4 +- src/components/CustomSelect.tsx | 2 +- src/fields/Period.tsx | 2 +- src/tests/Cron.updateValue.test.tsx | 38 +++ src/types.ts | 2 +- yarn.lock | 455 ++++++++++++++++------------ 7 files changed, 307 insertions(+), 198 deletions(-) diff --git a/README.md b/README.md index e5c3cb3..245231b 100755 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ react-js-cron is written in TypeScript with complete definitions Be sure that you have these dependencies on your project: - react (>=17.0.0) -- antd (>=5.5.0) +- antd (>=5.8.0) ```bash # NPM diff --git a/package.json b/package.json index 00640f8..64eed53 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "enhanced-resolve": "5.10.0" }, "peerDependencies": { - "antd": ">=5.5.0", + "antd": ">=5.8.0", "react": ">=17.0.0", "react-dom": ">=17.0.0" }, @@ -93,7 +93,7 @@ "@types/react-dom": "18.0.9", "@typescript-eslint/eslint-plugin": "5.44.0", "@typescript-eslint/parser": "5.44.0", - "antd": "5.6.1", + "antd": "5.9.4", "babel-loader": "8.3.0", "cz-conventional-changelog": "3.3.0", "del-cli": "5.0.0", diff --git a/src/components/CustomSelect.tsx b/src/components/CustomSelect.tsx index 3609e3e..f7cb454 100644 --- a/src/components/CustomSelect.tsx +++ b/src/components/CustomSelect.tsx @@ -264,7 +264,7 @@ export default function CustomSelect(props: CustomSelectProps) { popupClassName={popupClassName} options={options} showSearch={false} - showArrow={!readOnly} + suffixIcon={readOnly ? null : undefined} menuItemSelectedIcon={null} popupMatchSelectWidth={false} onSelect={onOptionClick} diff --git a/src/fields/Period.tsx b/src/fields/Period.tsx index 944af15..276d6f5 100644 --- a/src/fields/Period.tsx +++ b/src/fields/Period.tsx @@ -129,7 +129,7 @@ export default function Period(props: PeriodProps) { className={selectClassName} popupClassName={popupClassName} disabled={disabled} - showArrow={!readOnly} + suffixIcon={readOnly ? null : undefined} open={readOnly ? false : undefined} data-testid='select-period' allowClear={allowClear} diff --git a/src/tests/Cron.updateValue.test.tsx b/src/tests/Cron.updateValue.test.tsx index 465b383..4725955 100644 --- a/src/tests/Cron.updateValue.test.tsx +++ b/src/tests/Cron.updateValue.test.tsx @@ -231,4 +231,42 @@ describe('Cron update value test suite', () => { expect(onError).toHaveBeenNthCalledWith(3, undefined) }) }) + + it("should check that it's not possible to update value when it's readOnly mode", async () => { + const user = userEvent.setup() + const value = '1,4 * * * *' + const setValue = jest.fn() + + render() + + // Open minute dropdown + await waitFor(() => user.click(screen.getByText('1,4'))) + + // Check dropdown is not visible + await waitFor(() => { + expect(screen.queryByText('59')).not.toBeInTheDocument() + }) + + // Check dropdowns values still the sane + expect(await screen.findByText('1,4')).toBeVisible() + }) + + it("should check that it's not possible to update value when it's disabled mode", async () => { + const user = userEvent.setup() + const value = '1,4 * * * *' + const setValue = jest.fn() + + render() + + // Open minute dropdown + await waitFor(() => user.click(screen.getByText('1,4'))) + + // Check dropdown is not visible + await waitFor(() => { + expect(screen.queryByText('59')).not.toBeInTheDocument() + }) + + // Check dropdowns values still the sane + expect(await screen.findByText('1,4')).toBeVisible() + }) }) diff --git a/src/types.ts b/src/types.ts index d97c463..8220c73 100644 --- a/src/types.ts +++ b/src/types.ts @@ -389,7 +389,7 @@ export interface CustomSelectProps | 'tagRender' | 'dropdownRender' | 'showSearch' - | 'showArrow' + | 'suffixIcon' | 'onChange' | 'dropdownMatchSelectWidth' | 'options' diff --git a/yarn.lock b/yarn.lock index 56a0c6d..3b62371 100644 --- a/yarn.lock +++ b/yarn.lock @@ -65,6 +65,13 @@ __metadata: languageName: node linkType: hard +"@ant-design/icons-svg@npm:^4.3.0": + version: 4.3.1 + resolution: "@ant-design/icons-svg@npm:4.3.1" + checksum: 47f0474277366fb3b8bacfeb1691be35052c3f9b28811be7fb25ad219100533d0e31c2eec00a8dee744c34381a4cda7f39b39403e160811a8fd5d33b861e77aa + languageName: node + linkType: hard + "@ant-design/icons@npm:4.8.0": version: 4.8.0 resolution: "@ant-design/icons@npm:4.8.0" @@ -81,19 +88,19 @@ __metadata: languageName: node linkType: hard -"@ant-design/icons@npm:^5.1.0": - version: 5.1.4 - resolution: "@ant-design/icons@npm:5.1.4" +"@ant-design/icons@npm:^5.2.2": + version: 5.2.6 + resolution: "@ant-design/icons@npm:5.2.6" dependencies: "@ant-design/colors": ^7.0.0 - "@ant-design/icons-svg": ^4.2.1 + "@ant-design/icons-svg": ^4.3.0 "@babel/runtime": ^7.11.2 classnames: ^2.2.6 rc-util: ^5.31.1 peerDependencies: react: ">=16.0.0" react-dom: ">=16.0.0" - checksum: f74f27b526459e69354adbc9d222a99afcf5fd0074a97575df239fbe5d077de0de903afa612546f24c378c2e163e02e4e31cde575da4e84e597025f12c90984f + checksum: 2f571699b1903383cd09faa78e4cce34973debb0e7ec6223b9d9a0a6ab2b2f0c876072db62bbd4e6a45e864df5447343315e066abeffaf58aa5b97df3acc89f1 languageName: node linkType: hard @@ -1872,6 +1879,15 @@ __metadata: languageName: node linkType: hard +"@babel/runtime@npm:^7.22.5": + version: 7.23.1 + resolution: "@babel/runtime@npm:7.23.1" + dependencies: + regenerator-runtime: ^0.14.0 + checksum: 0cd0d43e6e7dc7f9152fda8c8312b08321cda2f56ef53d6c22ebdd773abdc6f5d0a69008de90aa41908d00e2c1facb24715ff121274e689305c858355ff02c70 + languageName: node + linkType: hard + "@babel/runtime@npm:~7.5.4": version: 7.5.5 resolution: "@babel/runtime@npm:7.5.5" @@ -2998,9 +3014,9 @@ __metadata: languageName: node linkType: hard -"@rc-component/color-picker@npm:~1.2.0": - version: 1.2.0 - resolution: "@rc-component/color-picker@npm:1.2.0" +"@rc-component/color-picker@npm:~1.4.1": + version: 1.4.1 + resolution: "@rc-component/color-picker@npm:1.4.1" dependencies: "@babel/runtime": ^7.10.1 "@ctrl/tinycolor": ^3.6.0 @@ -3009,20 +3025,20 @@ __metadata: peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: d0eb0ead64d386342c7813b0bbe163fc9b5f7c3bda9493a5d9106752a1b5643ad5a55a20ae20942931e50aafa80d1d243a05ab23a7c5f19720ed21065b17e1d7 + checksum: 7695dc182d5c88039b7c1a82acbd796111f5e90692641151555dc78b234ab67b7f2aedfab38a6874eb245f98a0b444c8b36c0c08885eb9de5eb6a096801c2225 languageName: node linkType: hard -"@rc-component/context@npm:^1.3.0": - version: 1.3.0 - resolution: "@rc-component/context@npm:1.3.0" +"@rc-component/context@npm:^1.4.0": + version: 1.4.0 + resolution: "@rc-component/context@npm:1.4.0" dependencies: "@babel/runtime": ^7.10.1 rc-util: ^5.27.0 peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: 77cdd49a2dfde3b2d82ff8652581eddeceefb53c0f3f31b9ed6b09356291821d4e16e915c07a1e15a38ceb6087fb92e7c2cb8ddb26d304fafd96c8571c9136ce + checksum: 3771237de1e82a453cfff7b5f0ca0dcc370a2838be8ecbfe172c26dec2e94dc2354a8b3061deaff7e633e418fc1b70ce3d10d770603f12dc477fe03f2ada7059 languageName: node linkType: hard @@ -3035,9 +3051,9 @@ __metadata: languageName: node linkType: hard -"@rc-component/mutate-observer@npm:^1.0.0": - version: 1.0.0 - resolution: "@rc-component/mutate-observer@npm:1.0.0" +"@rc-component/mutate-observer@npm:^1.1.0": + version: 1.1.0 + resolution: "@rc-component/mutate-observer@npm:1.1.0" dependencies: "@babel/runtime": ^7.18.0 classnames: ^2.3.2 @@ -3045,7 +3061,7 @@ __metadata: peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: fd6d9581882cca35582e399bf5585e237748fc8240a2d76549ed003ea17fdf7ca97609cb6c8113c2836e9d3182fceda2c1469620560168eeb66fc95656f495e7 + checksum: ffd79ad54b1f4dd02a94306373d3ebe408d5348156ac7908a86937f58c169f2fd42457461a5dc27bb874b9af5c2c196dc11a18db6bb6a5ff514cfd6bc1a3bb6a languageName: node linkType: hard @@ -3077,9 +3093,9 @@ __metadata: languageName: node linkType: hard -"@rc-component/tour@npm:~1.8.0": - version: 1.8.0 - resolution: "@rc-component/tour@npm:1.8.0" +"@rc-component/tour@npm:~1.10.0": + version: 1.10.0 + resolution: "@rc-component/tour@npm:1.10.0" dependencies: "@babel/runtime": ^7.18.0 "@rc-component/portal": ^1.0.0-9 @@ -3089,11 +3105,11 @@ __metadata: peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: 58fa0e23b84e581298c0d4f5e0ac3a30eddb6c101a9d3405a3189a20c787254b7f416ecff0e383ffded554ad93f8f732052623c6eaf59f5270f51bd0c4782058 + checksum: d586ca2e02d85c346640ddb228b60ddae94790973b030a85297aeef1e10e8e4ce1bef9d65f66098de59cafdacff5c04ad390528099d2b23fab449813696ba089 languageName: node linkType: hard -"@rc-component/trigger@npm:^1.0.4, @rc-component/trigger@npm:^1.13.0, @rc-component/trigger@npm:^1.3.6, @rc-component/trigger@npm:^1.5.0, @rc-component/trigger@npm:^1.6.2, @rc-component/trigger@npm:^1.7.0": +"@rc-component/trigger@npm:^1.0.4, @rc-component/trigger@npm:^1.3.6, @rc-component/trigger@npm:^1.5.0, @rc-component/trigger@npm:^1.7.0": version: 1.13.6 resolution: "@rc-component/trigger@npm:1.13.6" dependencies: @@ -3111,6 +3127,24 @@ __metadata: languageName: node linkType: hard +"@rc-component/trigger@npm:^1.16.0, @rc-component/trigger@npm:^1.17.0": + version: 1.17.0 + resolution: "@rc-component/trigger@npm:1.17.0" + dependencies: + "@babel/runtime": ^7.18.3 + "@rc-component/portal": ^1.1.0 + classnames: ^2.3.2 + rc-align: ^4.0.0 + rc-motion: ^2.0.0 + rc-resize-observer: ^1.3.1 + rc-util: ^5.33.0 + peerDependencies: + react: ">=16.9.0" + react-dom: ">=16.9.0" + checksum: 8111f2d08922f2cebc3f788a7b64f6e0a0b0db2fa0303718a660701673f0fa8aa6224f5fda47362054d53d2b6a717630981f487fdc4b4fc9da4e5c859e47055c + languageName: node + linkType: hard + "@rollup/plugin-babel@npm:^5.2.0": version: 5.3.1 resolution: "@rollup/plugin-babel@npm:5.3.1" @@ -6375,62 +6409,62 @@ __metadata: languageName: node linkType: hard -"antd@npm:5.6.1": - version: 5.6.1 - resolution: "antd@npm:5.6.1" +"antd@npm:5.9.4": + version: 5.9.4 + resolution: "antd@npm:5.9.4" dependencies: "@ant-design/colors": ^7.0.0 - "@ant-design/cssinjs": ^1.10.1 - "@ant-design/icons": ^5.1.0 + "@ant-design/cssinjs": ^1.16.0 + "@ant-design/icons": ^5.2.2 "@ant-design/react-slick": ~1.0.0 "@babel/runtime": ^7.18.3 "@ctrl/tinycolor": ^3.6.0 - "@rc-component/color-picker": ~1.2.0 - "@rc-component/mutate-observer": ^1.0.0 - "@rc-component/tour": ~1.8.0 - "@rc-component/trigger": ^1.13.0 + "@rc-component/color-picker": ~1.4.1 + "@rc-component/mutate-observer": ^1.1.0 + "@rc-component/tour": ~1.10.0 + "@rc-component/trigger": ^1.16.0 classnames: ^2.2.6 copy-to-clipboard: ^3.2.0 dayjs: ^1.11.1 qrcode.react: ^3.1.0 - rc-cascader: ~3.12.0 - rc-checkbox: ~3.0.0 - rc-collapse: ~3.7.0 - rc-dialog: ~9.1.0 - rc-drawer: ~6.2.0 + rc-cascader: ~3.17.0 + rc-checkbox: ~3.1.0 + rc-collapse: ~3.7.1 + rc-dialog: ~9.2.0 + rc-drawer: ~6.4.1 rc-dropdown: ~4.1.0 - rc-field-form: ~1.32.0 - rc-image: ~5.17.1 - rc-input: ~1.0.4 - rc-input-number: ~7.4.0 - rc-mentions: ~2.3.0 - rc-menu: ~9.9.2 - rc-motion: ^2.7.3 - rc-notification: ~5.0.4 - rc-pagination: ~3.5.0 - rc-picker: ~3.8.0 - rc-progress: ~3.4.1 + rc-field-form: ~1.38.1 + rc-image: ~7.2.0 + rc-input: ~1.2.1 + rc-input-number: ~8.1.0 + rc-mentions: ~2.8.0 + rc-menu: ~9.12.0 + rc-motion: ^2.9.0 + rc-notification: ~5.1.1 + rc-pagination: ~3.6.1 + rc-picker: ~3.14.1 + rc-progress: ~3.5.1 rc-rate: ~2.12.0 - rc-resize-observer: ^1.2.0 - rc-segmented: ~2.2.0 - rc-select: ~14.5.0 - rc-slider: ~10.1.0 - rc-steps: ~6.0.0 + rc-resize-observer: ^1.3.1 + rc-segmented: ~2.2.2 + rc-select: ~14.9.0 + rc-slider: ~10.2.1 + rc-steps: ~6.0.1 rc-switch: ~4.1.0 - rc-table: ~7.32.1 - rc-tabs: ~12.7.0 - rc-textarea: ~1.2.2 - rc-tooltip: ~6.0.0 - rc-tree: ~5.7.4 - rc-tree-select: ~5.9.0 - rc-upload: ~4.3.0 - rc-util: ^5.32.0 + rc-table: ~7.34.4 + rc-tabs: ~12.12.1 + rc-textarea: ~1.4.0 + rc-tooltip: ~6.0.1 + rc-tree: ~5.7.12 + rc-tree-select: ~5.13.0 + rc-upload: ~4.3.4 + rc-util: ^5.37.0 scroll-into-view-if-needed: ^3.0.3 throttle-debounce: ^5.0.0 peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: 8ee8345375be69fc4b242ecb46e72683be361e102fe306717adcd66b0d208cc82bdf0cb60ed1b557bf3611857e5516d2f69f79e408f262783599f6e36c8fe513 + checksum: a247d5d3edec43f86ce91913caa64051c9595e691ca45aa2f77882e2a5cfd6e1dd252b7c5c99b73c0a3588f2c8a150266c3f61f171866e39d2700e159e47e001 languageName: node linkType: hard @@ -17593,26 +17627,26 @@ __metadata: languageName: node linkType: hard -"rc-cascader@npm:~3.12.0": - version: 3.12.0 - resolution: "rc-cascader@npm:3.12.0" +"rc-cascader@npm:~3.17.0": + version: 3.17.0 + resolution: "rc-cascader@npm:3.17.0" dependencies: "@babel/runtime": ^7.12.5 array-tree-filter: ^2.1.0 classnames: ^2.3.1 - rc-select: ~14.5.0 + rc-select: ~14.9.0 rc-tree: ~5.7.0 - rc-util: ^5.6.1 + rc-util: ^5.35.0 peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: 30b356119f8ae389d9feedb3cfcef07fe55452e5b2819c7df8bfed7f998cbc762a2929fd2b0dd96df2007a5554adb5876df9d9a4303ad0f6c17192e0e072d96a + checksum: 4a44ebbe452c87e32b490d73418276bd3df23fd58f0194f5bd4d3aa52441d82ce1fc5f0ff4e3a68f31df2166f337709459b5e02d42d9f68b827b258dcb09e0be languageName: node linkType: hard -"rc-checkbox@npm:~3.0.0": - version: 3.0.1 - resolution: "rc-checkbox@npm:3.0.1" +"rc-checkbox@npm:~3.1.0": + version: 3.1.0 + resolution: "rc-checkbox@npm:3.1.0" dependencies: "@babel/runtime": ^7.10.1 classnames: ^2.3.2 @@ -17620,13 +17654,13 @@ __metadata: peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: 046b138e95c1b77fb0fb0d06ef3cdb00e34ae551adfe0a0b886cd0fb0ee34a98d1bef43a2c0122e6731862c2ec031d0d2fff9b4ea6c36857777532ad29115265 + checksum: f15dd3e3e3120567b633392e37c6d904f2b3c32eb752f4197231b6d79bfa257bde9cd32616ad08c0ad5b053d7b197c9e0684479053b4dea384e466ab53f5c7b4 languageName: node linkType: hard -"rc-collapse@npm:~3.7.0": - version: 3.7.0 - resolution: "rc-collapse@npm:3.7.0" +"rc-collapse@npm:~3.7.1": + version: 3.7.1 + resolution: "rc-collapse@npm:3.7.1" dependencies: "@babel/runtime": ^7.10.1 classnames: 2.x @@ -17635,13 +17669,13 @@ __metadata: peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: f3f6dc1724c763f2e89ac8f1a853f8d80bc32731ad266c1092167cf9af3eb7e32a4d6b113c54366716f3e63f14eb511be77d9192103dec9d95c021b813f26203 + checksum: 8256ecff54d9a54f2abe0cce71ca52cce27522ec24ee3e87a5796e29ed18fd92008d2353a9797f034f5e5af060609b8c0cff2f9a92966d62ff0095d501687607 languageName: node linkType: hard -"rc-dialog@npm:~9.1.0": - version: 9.1.0 - resolution: "rc-dialog@npm:9.1.0" +"rc-dialog@npm:~9.2.0": + version: 9.2.0 + resolution: "rc-dialog@npm:9.2.0" dependencies: "@babel/runtime": ^7.10.1 "@rc-component/portal": ^1.0.0-8 @@ -17651,23 +17685,23 @@ __metadata: peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: 59d2504301a813022b9782e808e61e4e6a55d746a5608d9927b8f6cf4806dd694df7812678f56174419cccb5273d5e302c3178d31a6c5871aa97be5fd086267c + checksum: dbe284ecf6fd0479ec3b7806e56727fa6a180017d1f9cfe5184eb43747c915aef4d260841baf3faee160e67eaa697630456ce8d70960905ebd80c25ae830a35c languageName: node linkType: hard -"rc-drawer@npm:~6.2.0": - version: 6.2.0 - resolution: "rc-drawer@npm:6.2.0" +"rc-drawer@npm:~6.4.1": + version: 6.4.1 + resolution: "rc-drawer@npm:6.4.1" dependencies: "@babel/runtime": ^7.10.1 "@rc-component/portal": ^1.1.1 classnames: ^2.2.6 rc-motion: ^2.6.1 - rc-util: ^5.21.2 + rc-util: ^5.36.0 peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: b006caa2036bb84760f447de193841de00a0867e32971349d210b6e1c97f7cf61b2dba05a467f03d55bba592d153b688e882adb4af20daa5271b9286f313fbc0 + checksum: 08606e0a63acf8760c36067c1c8565b864f5b60e8714bd3b93fd6088e29d7d8d9b572ec264532fc359a10b428b27622720ae04aef3a9cc5e45fdc133fbeec32f languageName: node linkType: hard @@ -17686,9 +17720,9 @@ __metadata: languageName: node linkType: hard -"rc-field-form@npm:~1.32.0": - version: 1.32.2 - resolution: "rc-field-form@npm:1.32.2" +"rc-field-form@npm:~1.38.1": + version: 1.38.2 + resolution: "rc-field-form@npm:1.38.2" dependencies: "@babel/runtime": ^7.18.0 async-validator: ^4.1.0 @@ -17696,45 +17730,46 @@ __metadata: peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: c74cd7fe3a5d14f8bfbe3fc2a77a2d0d055c0450a685aadfe4b5ab3448892ea2ce834f362e305219cf2caef4d1c07e285fc5c1d4787922e1bbbee6a632f8b5ae + checksum: a1d180f231220a632b25e317fba107e2d579b18e83dc95f4dfbc014ee8631c4a1167e3ac58838b66fe8116594e81454e69cd8093fa5c023b5f69bd64b4ad5875 languageName: node linkType: hard -"rc-image@npm:~5.17.1": - version: 5.17.1 - resolution: "rc-image@npm:5.17.1" +"rc-image@npm:~7.2.0": + version: 7.2.0 + resolution: "rc-image@npm:7.2.0" dependencies: "@babel/runtime": ^7.11.2 "@rc-component/portal": ^1.0.2 classnames: ^2.2.6 - rc-dialog: ~9.1.0 + rc-dialog: ~9.2.0 rc-motion: ^2.6.2 - rc-util: ^5.0.6 + rc-util: ^5.34.1 peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: 8e08223261d7b0a7ec6e7f705576d9d721b8bf25b6c1dbc70d01fe7d44c16d290edb3abf13c847331d9791aab2f1c10bef57dfe78b620b945bb45d9643d1fa6b + checksum: 621a3333db4c9b38e254b98983fd1bd262d3f598c524b3bed9c9e60b038d522d39df2b1941abfd4ac56700789cc8f32c3748c11195fa1edd0afa62086cc5bf13 languageName: node linkType: hard -"rc-input-number@npm:~7.4.0": - version: 7.4.2 - resolution: "rc-input-number@npm:7.4.2" +"rc-input-number@npm:~8.1.0": + version: 8.1.0 + resolution: "rc-input-number@npm:8.1.0" dependencies: "@babel/runtime": ^7.10.1 "@rc-component/mini-decimal": ^1.0.1 classnames: ^2.2.5 + rc-input: ~1.2.1 rc-util: ^5.28.0 peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: 36a2b03902f96ec56b66588294b61cf48656e9004dad4ee92ae577d3c329400a2b5bf1f9f8830812b3ca860cf2971fdf340dbf587993740db3c97146c6446662 + checksum: 2266cc4dbabe1f289bca9fdfeaaa024b76d24b22de944f8a7230c8da4f6c3573447f237a67866b8f0c37718a401c9902e91a8575c3cdbc55ad515a16e6e3d90a languageName: node linkType: hard -"rc-input@npm:~1.0.0, rc-input@npm:~1.0.4": - version: 1.0.4 - resolution: "rc-input@npm:1.0.4" +"rc-input@npm:~1.2.1": + version: 1.2.1 + resolution: "rc-input@npm:1.2.1" dependencies: "@babel/runtime": ^7.11.1 classnames: ^2.2.1 @@ -17742,42 +17777,42 @@ __metadata: peerDependencies: react: ">=16.0.0" react-dom: ">=16.0.0" - checksum: 9fca51ab654fc2b412820a9bfd7e8759799dd74b84bb6b4e3885e2dfcb858d534b4bf8190598cd3e2e9f1887784c69322e5d16266079d87fc2b399da5b6a28bd + checksum: ab83347620ef505e12e92ac2ea380ac5ad33e3d97a98f7cc2dd01c6eae228edd293b13df360bf7ac91962e09ba2355ffff962aa8eff6268dad4249e0f8b95cce languageName: node linkType: hard -"rc-mentions@npm:~2.3.0": - version: 2.3.0 - resolution: "rc-mentions@npm:2.3.0" +"rc-mentions@npm:~2.8.0": + version: 2.8.0 + resolution: "rc-mentions@npm:2.8.0" dependencies: - "@babel/runtime": ^7.10.1 + "@babel/runtime": ^7.22.5 "@rc-component/trigger": ^1.5.0 classnames: ^2.2.6 - rc-input: ~1.0.0 - rc-menu: ~9.9.0 - rc-textarea: ~1.2.0 - rc-util: ^5.22.5 + rc-input: ~1.2.1 + rc-menu: ~9.12.0 + rc-textarea: ~1.4.0 + rc-util: ^5.34.1 peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: b1548f3a2cec8609cc1ef1a5fe56db5d06983ec465ac00fa2ecd259a20f9619f8e6179135b02aa45565d8b724e66f65d708d3ce4bff254b3c5764db10002c762 + checksum: 74703e3763522768797eaa0f7c24efa449cf242db97f19b4fb516aff3191f012ac947cf597672bf53f8e39a63eed30b3dfcea324cb440a4f752cac6296a19c5f languageName: node linkType: hard -"rc-menu@npm:~9.9.0, rc-menu@npm:~9.9.2": - version: 9.9.2 - resolution: "rc-menu@npm:9.9.2" +"rc-menu@npm:~9.12.0": + version: 9.12.2 + resolution: "rc-menu@npm:9.12.2" dependencies: "@babel/runtime": ^7.10.1 - "@rc-component/trigger": ^1.6.2 + "@rc-component/trigger": ^1.17.0 classnames: 2.x rc-motion: ^2.4.3 - rc-overflow: ^1.2.8 + rc-overflow: ^1.3.1 rc-util: ^5.27.0 peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: 028108a61c23672c8ac469c14c7545c0f6a7f5b58e49b6bb2a5225d1eb7d86e37fa40cbbcf7150225289ad894b54fa6c974bd7a9562db6f34dbe26ad7db7985c + checksum: 0db857a5e0819348f86a66a560e7bf0496a6e69ef88b96fe2fccd1616ff5989d20bb0c3d84bbec892483f9f29c9c210be1ead3b7f08c608dc7dce439b0637dd0 languageName: node linkType: hard @@ -17795,9 +17830,9 @@ __metadata: languageName: node linkType: hard -"rc-motion@npm:^2.7.3": - version: 2.7.3 - resolution: "rc-motion@npm:2.7.3" +"rc-motion@npm:^2.9.0": + version: 2.9.0 + resolution: "rc-motion@npm:2.9.0" dependencies: "@babel/runtime": ^7.11.1 classnames: ^2.2.1 @@ -17805,13 +17840,13 @@ __metadata: peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: d3b2762a35103938ecc5b1739c100bbf84451c332cf4bb4b71cfa4b3604fbe515ff6f8928e7452f3c88148bb8e5d3480d2a5a06629df02395819724df36a751b + checksum: 6c7c211a62896a2c443c43f27d13ec84c832884ec1860a40025f6270321e4e8c8a7abaf99d60a09d6e5cadc112e3d9787e0c58970eb69b0bb798eaa6be81dcf5 languageName: node linkType: hard -"rc-notification@npm:~5.0.4": - version: 5.0.4 - resolution: "rc-notification@npm:5.0.4" +"rc-notification@npm:~5.1.1": + version: 5.1.1 + resolution: "rc-notification@npm:5.1.1" dependencies: "@babel/runtime": ^7.10.1 classnames: 2.x @@ -17820,28 +17855,28 @@ __metadata: peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: b17b0cf18d18549685441a7a17b4ca0d797ae817b514ec4492ac637b1a9a75c1a121bcc54cb966f64294a13c9161bd5614e710242a7d2c056b9322d6148cba57 + checksum: f8ead9928201fd1f0cdfb7f513b00a692e7a5356ae920313a83258576117ad3dfc2aab79e0ccca541fcab5276b9e241d57d8e8d974e9260464d62b3a446545fb languageName: node linkType: hard -"rc-overflow@npm:^1.0.0, rc-overflow@npm:^1.2.8": - version: 1.2.8 - resolution: "rc-overflow@npm:1.2.8" +"rc-overflow@npm:^1.3.1": + version: 1.3.2 + resolution: "rc-overflow@npm:1.3.2" dependencies: "@babel/runtime": ^7.11.1 classnames: ^2.2.1 rc-resize-observer: ^1.0.0 - rc-util: ^5.19.2 + rc-util: ^5.37.0 peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: f6df4d1f2baff7391b0ca981fe0f75aba975b1214dc15eba2ee07e4d0b02f19d89a7ac26d6da580cc90b758a8dc07fc69c7599297f38be91cb2d9b387816d3ce + checksum: 7041f72e881ead9a484bddb6b6b6eb94455911f6b1cb06b16979ffe7d79e81058d5c77d0ca3f14faa0d1e43c81b966e65ed11678d09c2344cfd84dcfd803e620 languageName: node linkType: hard -"rc-pagination@npm:~3.5.0": - version: 3.5.0 - resolution: "rc-pagination@npm:3.5.0" +"rc-pagination@npm:~3.6.1": + version: 3.6.1 + resolution: "rc-pagination@npm:3.6.1" dependencies: "@babel/runtime": ^7.10.1 classnames: ^2.2.1 @@ -17849,13 +17884,13 @@ __metadata: peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: 27ac05cdaf331ba571eb19fdaf79a2e3b6cb3575fce5f011f0de5abbe88db21a4292ef5323abab3a829ff6cda396444c664f88bd55226fa477f473282a8a868e + checksum: 12389a94bf60048cd3d8e95c638170646b7405aa30f748b96baee8df7e24d00b9d5b3c75195e3ea7589d08b771f2661d48f2fe7784624e4bdf6b22c290ffef85 languageName: node linkType: hard -"rc-picker@npm:~3.8.0": - version: 3.8.2 - resolution: "rc-picker@npm:3.8.2" +"rc-picker@npm:~3.14.1": + version: 3.14.5 + resolution: "rc-picker@npm:3.14.5" dependencies: "@babel/runtime": ^7.10.1 "@rc-component/trigger": ^1.5.0 @@ -17877,13 +17912,13 @@ __metadata: optional: true moment: optional: true - checksum: cc1d23a0d8e4bdce2ca480969be2363d68731cdd0f22e440422f949dfc66d09a5951298444413d5d9d61b1562493d54a365b58716e1d49ec645f7d6d7d011707 + checksum: a1fccd9c14eedb14124f294a0b95e2957a3c5433a9efc6f12897192849d0e6e63f0e2057d7a70fa677a8aeb485ef273587adbacbf6df78f0d6722f65279f42ca languageName: node linkType: hard -"rc-progress@npm:~3.4.1": - version: 3.4.1 - resolution: "rc-progress@npm:3.4.1" +"rc-progress@npm:~3.5.1": + version: 3.5.1 + resolution: "rc-progress@npm:3.5.1" dependencies: "@babel/runtime": ^7.10.1 classnames: ^2.2.6 @@ -17891,7 +17926,7 @@ __metadata: peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: d4dce5231ea29bfa866935a59f05473711f9dfc944f95cc78b0fdcd1508a063983cc58973f54c2b20797f0b0f480c4a2b84aaa2ca185158c14800ec659163880 + checksum: b0722a696396f985267e35e26f49c1c1bd6a17b4918eb93318fc36a7a5ffae9806932d4982a7da0d83349648ca85325b792003ec40240820fd6e00e0bc6f3c1d languageName: node linkType: hard @@ -17909,7 +17944,7 @@ __metadata: languageName: node linkType: hard -"rc-resize-observer@npm:^1.0.0, rc-resize-observer@npm:^1.1.0, rc-resize-observer@npm:^1.2.0": +"rc-resize-observer@npm:^1.0.0, rc-resize-observer@npm:^1.1.0": version: 1.2.0 resolution: "rc-resize-observer@npm:1.2.0" dependencies: @@ -17939,7 +17974,7 @@ __metadata: languageName: node linkType: hard -"rc-segmented@npm:~2.2.0": +"rc-segmented@npm:~2.2.2": version: 2.2.2 resolution: "rc-segmented@npm:2.2.2" dependencies: @@ -17954,27 +17989,27 @@ __metadata: languageName: node linkType: hard -"rc-select@npm:~14.5.0": - version: 14.5.2 - resolution: "rc-select@npm:14.5.2" +"rc-select@npm:~14.9.0": + version: 14.9.0 + resolution: "rc-select@npm:14.9.0" dependencies: "@babel/runtime": ^7.10.1 "@rc-component/trigger": ^1.5.0 classnames: 2.x rc-motion: ^2.0.1 - rc-overflow: ^1.0.0 + rc-overflow: ^1.3.1 rc-util: ^5.16.1 rc-virtual-list: ^3.5.2 peerDependencies: react: "*" react-dom: "*" - checksum: d3f55543eae15ac9bf56019345ad94268f9e063ede38c3d8c46dc59b1bc47c0f4c724613a9e9a6f4dc0d5bc0e31c7f7029e6bef717b335432818fbeea0f7398f + checksum: 40da7473e4f111f565fae23f0daeaef62d6d835ada7f9834fadd86180cfaffe2ebd45a4dd0dbc0b9d9766eda60056711675d13cdb3ea28320aa71e04215d57bf languageName: node linkType: hard -"rc-slider@npm:~10.1.0": - version: 10.1.1 - resolution: "rc-slider@npm:10.1.1" +"rc-slider@npm:~10.2.1": + version: 10.2.1 + resolution: "rc-slider@npm:10.2.1" dependencies: "@babel/runtime": ^7.10.1 classnames: ^2.2.5 @@ -17982,13 +18017,13 @@ __metadata: peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: 8df66142f1be00d31aaa45f3cf266fa30d03b70c74c734502389bbfacdb6741e149cd36dc1d3557d9dbb0194ed2733748366d888651d1120098338086419ba2c + checksum: 565eb55302c776a7a48bfbe6761f52bab6b0d3ea4f53fc10d32ae9958340708bc5072a9c254bb5ddfa822492093032b94cb03d5e52cdff774e076b90e20b9145 languageName: node linkType: hard -"rc-steps@npm:~6.0.0": - version: 6.0.0 - resolution: "rc-steps@npm:6.0.0" +"rc-steps@npm:~6.0.1": + version: 6.0.1 + resolution: "rc-steps@npm:6.0.1" dependencies: "@babel/runtime": ^7.16.7 classnames: ^2.2.3 @@ -17996,7 +18031,7 @@ __metadata: peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: 22cec1477fdd7c92e480d980c88ba8175e897e4dcd06c6c11fcdb8175ebede19b9367d8d62d1ee21ec5dfd9d8ab7724c3665582a51dde86c36ecdc810550bb1b + checksum: b75d6667df6b0c020dc13a595b5c1c9a739ec569242e600d5950f3a8240249b845ad715a3253e658fe02b0ac904a55a0603bb11702f262a3159835b269b9de75 languageName: node linkType: hard @@ -18014,57 +18049,58 @@ __metadata: languageName: node linkType: hard -"rc-table@npm:~7.32.1": - version: 7.32.1 - resolution: "rc-table@npm:7.32.1" +"rc-table@npm:~7.34.4": + version: 7.34.4 + resolution: "rc-table@npm:7.34.4" dependencies: "@babel/runtime": ^7.10.1 - "@rc-component/context": ^1.3.0 + "@rc-component/context": ^1.4.0 classnames: ^2.2.5 rc-resize-observer: ^1.1.0 - rc-util: ^5.27.1 + rc-util: ^5.36.0 + rc-virtual-list: ^3.11.1 peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: b2ecc2a11ceb4789414c3e49947508d570c163911d4c09926277b1c2973806bdc6932ca9652cf8098c1ad73657b6c6e412b002555d90f1bd9104d0cc570e09de + checksum: 44f6d4f3d5418928708929c1eea28ad7eb6294e4f23611bb3d92609c1d76942733dcd8070fb6c417aaeb98ebf35afb9e168f6f4dc0e62c69fa226bbad58f0c34 languageName: node linkType: hard -"rc-tabs@npm:~12.7.0": - version: 12.7.1 - resolution: "rc-tabs@npm:12.7.1" +"rc-tabs@npm:~12.12.1": + version: 12.12.1 + resolution: "rc-tabs@npm:12.12.1" dependencies: "@babel/runtime": ^7.11.2 classnames: 2.x rc-dropdown: ~4.1.0 - rc-menu: ~9.9.0 + rc-menu: ~9.12.0 rc-motion: ^2.6.2 rc-resize-observer: ^1.0.0 - rc-util: ^5.16.0 + rc-util: ^5.34.1 peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: f20fcf63ea504bd216b3bda849b9ab0c0e308ad6f26eef18f0c4ea17544968ee6bd53f6a3d187476f84ae0ea4390f97467b1a467195c80295154143bc0eee3ad + checksum: 4a0d1a83bb9d96d3ad9935ff63bfde782b02caa75fe0e81a2979afae85c70b99cebe9fbb4e7795656cb769ed5103d5a3079f305be6ea215aeb291c512f668e34 languageName: node linkType: hard -"rc-textarea@npm:~1.2.0, rc-textarea@npm:~1.2.2": - version: 1.2.3 - resolution: "rc-textarea@npm:1.2.3" +"rc-textarea@npm:~1.4.0": + version: 1.4.0 + resolution: "rc-textarea@npm:1.4.0" dependencies: "@babel/runtime": ^7.10.1 classnames: ^2.2.1 - rc-input: ~1.0.4 + rc-input: ~1.2.1 rc-resize-observer: ^1.0.0 rc-util: ^5.27.0 peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: cf0b19982f380ecd4196f0a7ec6457fbf8d49fc6701be05ff811b0d0ec944a03f4d1e20f1ffd2a039644ab78359e9ff57e1826c716879426890182ffb18724af + checksum: 3aa6b6f8c3ab846f3c0e21087a096028fbbb7d0c5b19b210f7dfea787c25eab31e926edff8ba9ce02eb684e12a39c90d97495a1a9e247ec69ab9daa41df6c978 languageName: node linkType: hard -"rc-tooltip@npm:~6.0.0": +"rc-tooltip@npm:~6.0.1": version: 6.0.1 resolution: "rc-tooltip@npm:6.0.1" dependencies: @@ -18078,19 +18114,19 @@ __metadata: languageName: node linkType: hard -"rc-tree-select@npm:~5.9.0": - version: 5.9.0 - resolution: "rc-tree-select@npm:5.9.0" +"rc-tree-select@npm:~5.13.0": + version: 5.13.0 + resolution: "rc-tree-select@npm:5.13.0" dependencies: "@babel/runtime": ^7.10.1 classnames: 2.x - rc-select: ~14.5.0 + rc-select: ~14.9.0 rc-tree: ~5.7.0 rc-util: ^5.16.1 peerDependencies: react: "*" react-dom: "*" - checksum: 35114024de35c59b2b56df77aa5b1ad6d262ae6ac5a02b68a425af598420e98d08a12dfa64f68578d4293166032239647d5c03a9c089aef49b33b5cfc4be9306 + checksum: 0fa16bb69c411197e3c1fea125132949576ff42ad4f0c1f22c89ff055665fcf9e436b10934a916e940d64a68397c2a011343ec9358b7b266d4585919a47ded36 languageName: node linkType: hard @@ -18110,9 +18146,9 @@ __metadata: languageName: node linkType: hard -"rc-tree@npm:~5.7.4": - version: 5.7.6 - resolution: "rc-tree@npm:5.7.6" +"rc-tree@npm:~5.7.12": + version: 5.7.12 + resolution: "rc-tree@npm:5.7.12" dependencies: "@babel/runtime": ^7.10.1 classnames: 2.x @@ -18122,13 +18158,13 @@ __metadata: peerDependencies: react: "*" react-dom: "*" - checksum: f6f4e8c3799dd106e492967cc4dc96aa23bc399eb0a8af9699b88db75dba9689bc846b236eae06a6e6af375cbc33731782ff8436ddaaeb2574569f76e653646f + checksum: 107a85407c774616cd06bc54164f3413d4e85fbe0909efee16d6bf45486ee624ba67ff07e523c25249724d6be99ec155a2503d89e14d5b3ed28acf06b4cdabab languageName: node linkType: hard -"rc-upload@npm:~4.3.0": - version: 4.3.4 - resolution: "rc-upload@npm:4.3.4" +"rc-upload@npm:~4.3.4": + version: 4.3.5 + resolution: "rc-upload@npm:4.3.5" dependencies: "@babel/runtime": ^7.18.3 classnames: ^2.2.5 @@ -18136,11 +18172,11 @@ __metadata: peerDependencies: react: ">=16.9.0" react-dom: ">=16.9.0" - checksum: 59ddf31a58ce716d1ace506b1c3e36744895c24c683a17185517dab68dfbb1cf158f57ce14a8f0899e85b2924bfa0d82587771939225ea21a41b907f91779afa + checksum: 00758b3f34d5850a37cba8e1b4d7c5e2e60c8bd21e44b42c4ac2fe5f641575464e4209d7b9bdbdab70e46ff55705f5be71b1df7f13bbe15fd5950e895474c0cd languageName: node linkType: hard -"rc-util@npm:^5.0.1, rc-util@npm:^5.0.6, rc-util@npm:^5.15.0, rc-util@npm:^5.16.0, rc-util@npm:^5.16.1, rc-util@npm:^5.17.0, rc-util@npm:^5.18.1, rc-util@npm:^5.19.2, rc-util@npm:^5.2.0, rc-util@npm:^5.20.1, rc-util@npm:^5.21.0, rc-util@npm:^5.21.2, rc-util@npm:^5.22.5, rc-util@npm:^5.24.2, rc-util@npm:^5.24.4, rc-util@npm:^5.3.0, rc-util@npm:^5.6.1, rc-util@npm:^5.9.4": +"rc-util@npm:^5.0.1, rc-util@npm:^5.15.0, rc-util@npm:^5.16.1, rc-util@npm:^5.17.0, rc-util@npm:^5.18.1, rc-util@npm:^5.2.0, rc-util@npm:^5.20.1, rc-util@npm:^5.21.0, rc-util@npm:^5.24.2, rc-util@npm:^5.24.4, rc-util@npm:^5.3.0, rc-util@npm:^5.9.4": version: 5.24.5 resolution: "rc-util@npm:5.24.5" dependencies: @@ -18154,7 +18190,7 @@ __metadata: languageName: node linkType: hard -"rc-util@npm:^5.25.2, rc-util@npm:^5.27.0, rc-util@npm:^5.27.1, rc-util@npm:^5.28.0, rc-util@npm:^5.30.0, rc-util@npm:^5.31.1, rc-util@npm:^5.32.0, rc-util@npm:^5.32.2, rc-util@npm:^5.33.0": +"rc-util@npm:^5.25.2, rc-util@npm:^5.27.0, rc-util@npm:^5.28.0, rc-util@npm:^5.30.0, rc-util@npm:^5.31.1, rc-util@npm:^5.32.2, rc-util@npm:^5.33.0": version: 5.33.1 resolution: "rc-util@npm:5.33.1" dependencies: @@ -18167,6 +18203,34 @@ __metadata: languageName: node linkType: hard +"rc-util@npm:^5.34.1, rc-util@npm:^5.35.0, rc-util@npm:^5.36.0, rc-util@npm:^5.37.0": + version: 5.37.0 + resolution: "rc-util@npm:5.37.0" + dependencies: + "@babel/runtime": ^7.18.3 + react-is: ^16.12.0 + peerDependencies: + react: ">=16.9.0" + react-dom: ">=16.9.0" + checksum: 0a72644f0924235044eb20bbc73081356c1fb98459f6cce0f4b75807c82cb71c050e5f36cf6d82f8a8a07b5955632e1198b8884cd96fe2d8d92f2289f9058a7e + languageName: node + linkType: hard + +"rc-virtual-list@npm:^3.11.1": + version: 3.11.2 + resolution: "rc-virtual-list@npm:3.11.2" + dependencies: + "@babel/runtime": ^7.20.0 + classnames: ^2.2.6 + rc-resize-observer: ^1.0.0 + rc-util: ^5.36.0 + peerDependencies: + react: "*" + react-dom: "*" + checksum: b642e55ca2c4b56fb2048b5151a17e2f0f1c15cf3f4d8a26a4f1f370c95a6f4476743886b6633f083f107c82fbe86c5548bbf37b7e2f8b79615d90b62777824e + languageName: node + linkType: hard + "rc-virtual-list@npm:^3.4.8": version: 3.4.11 resolution: "rc-virtual-list@npm:3.4.11" @@ -18379,7 +18443,7 @@ __metadata: "@types/react-dom": 18.0.9 "@typescript-eslint/eslint-plugin": 5.44.0 "@typescript-eslint/parser": 5.44.0 - antd: 5.6.1 + antd: 5.9.4 babel-loader: 8.3.0 cz-conventional-changelog: 3.3.0 del-cli: 5.0.0 @@ -18399,7 +18463,7 @@ __metadata: rollup-plugin-peer-deps-external: 2.2.4 typescript: 4.9.3 peerDependencies: - antd: ">=5.5.0" + antd: ">=5.8.0" react: ">=17.0.0" react-dom: ">=17.0.0" languageName: unknown @@ -18690,6 +18754,13 @@ __metadata: languageName: node linkType: hard +"regenerator-runtime@npm:^0.14.0": + version: 0.14.0 + resolution: "regenerator-runtime@npm:0.14.0" + checksum: 1c977ad82a82a4412e4f639d65d22be376d3ebdd30da2c003eeafdaaacd03fc00c2320f18120007ee700900979284fc78a9f00da7fb593f6e6eeebc673fba9a3 + languageName: node + linkType: hard + "regenerator-transform@npm:^0.15.0": version: 0.15.1 resolution: "regenerator-transform@npm:0.15.1"