mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
chore: react-aria packages upgraded (#1589)
This commit is contained in:
parent
a3be419cb3
commit
1612532eee
41
.changeset/funny-dolls-type.md
Normal file
41
.changeset/funny-dolls-type.md
Normal file
@ -0,0 +1,41 @@
|
||||
---
|
||||
"@nextui-org/use-aria-accordion-item": patch
|
||||
"@nextui-org/use-aria-modal-overlay": patch
|
||||
"@nextui-org/use-aria-toggle-button": patch
|
||||
"@nextui-org/use-aria-multiselect": patch
|
||||
"@nextui-org/pagination": patch
|
||||
"@nextui-org/use-aria-button": patch
|
||||
"@nextui-org/accordion": patch
|
||||
"@nextui-org/use-disclosure": patch
|
||||
"@nextui-org/aria-utils": patch
|
||||
"@nextui-org/checkbox": patch
|
||||
"@nextui-org/dropdown": patch
|
||||
"@nextui-org/progress": patch
|
||||
"@nextui-org/use-aria-link": patch
|
||||
"@nextui-org/use-is-mobile": patch
|
||||
"@nextui-org/divider": patch
|
||||
"@nextui-org/listbox": patch
|
||||
"@nextui-org/popover": patch
|
||||
"@nextui-org/snippet": patch
|
||||
"@nextui-org/tooltip": patch
|
||||
"@nextui-org/avatar": patch
|
||||
"@nextui-org/button": patch
|
||||
"@nextui-org/navbar": patch
|
||||
"@nextui-org/select": patch
|
||||
"@nextui-org/switch": patch
|
||||
"@nextui-org/input": patch
|
||||
"@nextui-org/modal": patch
|
||||
"@nextui-org/radio": patch
|
||||
"@nextui-org/table": patch
|
||||
"@nextui-org/card": patch
|
||||
"@nextui-org/chip": patch
|
||||
"@nextui-org/link": patch
|
||||
"@nextui-org/menu": patch
|
||||
"@nextui-org/tabs": patch
|
||||
"@nextui-org/user": patch
|
||||
"@nextui-org/kbd": patch
|
||||
"@nextui-org/system": patch
|
||||
"@nextui-org/react": patch
|
||||
---
|
||||
|
||||
React aria packages upgraded
|
||||
@ -31,6 +31,7 @@
|
||||
"lint:docs": "eslint -c .eslintrc.json ./apps/docs/**/*.{ts,tsx}",
|
||||
"lint:fix": "eslint --fix -c .eslintrc.json ./packages/**/**/*.{ts,tsx}",
|
||||
"lint:docs-fix": "eslint --fix -c .eslintrc.json ./apps/docs/**/*.{ts,tsx}",
|
||||
"check:rap": "tsx scripts/check-rap-updates.ts",
|
||||
"format:check": "prettier --check packages/**/**/src --cache",
|
||||
"format:write": "prettier --write packages/**/**/src --cache",
|
||||
"turbo:clean": "turbo clean && rimraf ./node_modules/.cache/turbo",
|
||||
@ -52,6 +53,7 @@
|
||||
"devDependencies": {
|
||||
"@babel/cli": "^7.14.5",
|
||||
"@babel/core": "^7.16.7",
|
||||
"tsx": "^3.8.2",
|
||||
"@babel/plugin-proposal-object-rest-spread": "^7.15.6",
|
||||
"@babel/plugin-transform-runtime": "^7.14.5",
|
||||
"@babel/preset-env": "^7.14.5",
|
||||
@ -103,6 +105,7 @@
|
||||
"eslint-plugin-react": "^7.23.2",
|
||||
"eslint-plugin-react-hooks": "^4.6.0",
|
||||
"eslint-plugin-unused-imports": "^2.0.0",
|
||||
"npm-check-updates": "^16.10.18",
|
||||
"intl-messageformat": "^10.1.0",
|
||||
"execa": "^5.1.1",
|
||||
"find-up": "^6.3.0",
|
||||
|
||||
@ -53,13 +53,13 @@
|
||||
"@nextui-org/system": "workspace:*",
|
||||
"@nextui-org/theme": "workspace:*",
|
||||
"@nextui-org/divider": "workspace:*",
|
||||
"@react-aria/accordion": "3.0.0-alpha.20",
|
||||
"@react-aria/interactions": "^3.17.0",
|
||||
"@react-aria/focus": "^3.14.0",
|
||||
"@react-aria/utils": "^3.19.0",
|
||||
"@react-stately/tree": "^3.7.1",
|
||||
"@react-types/accordion": "3.0.0-alpha.15",
|
||||
"@react-types/shared": "^3.19.0"
|
||||
"@react-aria/accordion": "3.0.0-alpha.21",
|
||||
"@react-aria/interactions": "^3.18.0",
|
||||
"@react-aria/focus": "^3.14.1",
|
||||
"@react-aria/utils": "^3.20.0",
|
||||
"@react-stately/tree": "^3.7.2",
|
||||
"@react-types/accordion": "3.0.0-alpha.16",
|
||||
"@react-types/shared": "^3.20.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nextui-org/avatar": "workspace:*",
|
||||
|
||||
@ -42,9 +42,9 @@
|
||||
"@nextui-org/shared-utils": "workspace:*",
|
||||
"@nextui-org/react-utils": "workspace:*",
|
||||
"@nextui-org/use-image": "workspace:*",
|
||||
"@react-aria/interactions": "^3.17.0",
|
||||
"@react-aria/focus": "^3.14.0",
|
||||
"@react-aria/utils": "^3.19.0"
|
||||
"@react-aria/interactions": "^3.18.0",
|
||||
"@react-aria/focus": "^3.14.1",
|
||||
"@react-aria/utils": "^3.20.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nextui-org/shared-icons": "workspace:*",
|
||||
|
||||
@ -44,12 +44,12 @@
|
||||
"@nextui-org/theme": "workspace:*",
|
||||
"@nextui-org/ripple": "workspace:*",
|
||||
"@nextui-org/spinner": "workspace:*",
|
||||
"@react-aria/button": "^3.8.1",
|
||||
"@react-aria/interactions": "^3.17.0",
|
||||
"@react-aria/utils": "^3.19.0",
|
||||
"@react-aria/focus": "^3.14.0",
|
||||
"@react-types/shared": "^3.19.0",
|
||||
"@react-types/button": "^3.7.4"
|
||||
"@react-aria/button": "^3.8.2",
|
||||
"@react-aria/interactions": "^3.18.0",
|
||||
"@react-aria/utils": "^3.20.0",
|
||||
"@react-aria/focus": "^3.14.1",
|
||||
"@react-types/shared": "^3.20.0",
|
||||
"@react-types/button": "^3.8.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nextui-org/shared-icons": "workspace:*",
|
||||
|
||||
@ -43,11 +43,11 @@
|
||||
"@nextui-org/react-utils": "workspace:*",
|
||||
"@nextui-org/use-aria-button": "workspace:*",
|
||||
"@nextui-org/ripple": "workspace:*",
|
||||
"@react-aria/focus": "^3.14.0",
|
||||
"@react-aria/utils": "^3.19.0",
|
||||
"@react-aria/interactions": "^3.17.0",
|
||||
"@react-aria/button": "^3.8.1",
|
||||
"@react-types/shared": "^3.19.0"
|
||||
"@react-aria/focus": "^3.14.1",
|
||||
"@react-aria/utils": "^3.20.0",
|
||||
"@react-aria/interactions": "^3.18.0",
|
||||
"@react-aria/button": "^3.8.2",
|
||||
"@react-types/shared": "^3.20.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nextui-org/code": "workspace:*",
|
||||
|
||||
@ -41,15 +41,15 @@
|
||||
"@nextui-org/shared-utils": "workspace:*",
|
||||
"@nextui-org/react-utils": "workspace:*",
|
||||
"@nextui-org/theme": "workspace:*",
|
||||
"@react-aria/checkbox": "^3.10.0",
|
||||
"@react-aria/focus": "^3.14.0",
|
||||
"@react-aria/interactions": "^3.17.0",
|
||||
"@react-aria/visually-hidden": "^3.8.3",
|
||||
"@react-stately/checkbox": "^3.4.4",
|
||||
"@react-stately/toggle": "^3.6.1",
|
||||
"@react-aria/utils": "^3.19.0",
|
||||
"@react-types/checkbox": "^3.5.0",
|
||||
"@react-types/shared": "^3.19.0"
|
||||
"@react-aria/checkbox": "^3.11.0",
|
||||
"@react-aria/focus": "^3.14.1",
|
||||
"@react-aria/interactions": "^3.18.0",
|
||||
"@react-aria/visually-hidden": "^3.8.4",
|
||||
"@react-stately/checkbox": "^3.5.0",
|
||||
"@react-stately/toggle": "^3.6.2",
|
||||
"@react-aria/utils": "^3.20.0",
|
||||
"@react-types/checkbox": "^3.5.1",
|
||||
"@react-types/shared": "^3.20.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nextui-org/shared-icons": "workspace:*",
|
||||
|
||||
@ -42,10 +42,10 @@
|
||||
"@nextui-org/react-utils": "workspace:*",
|
||||
"@nextui-org/system": "workspace:*",
|
||||
"@nextui-org/theme": "workspace:*",
|
||||
"@react-aria/focus": "^3.14.0",
|
||||
"@react-aria/interactions": "^3.17.0",
|
||||
"@react-aria/utils": "^3.19.0",
|
||||
"@react-types/checkbox": "^3.5.0"
|
||||
"@react-aria/focus": "^3.14.1",
|
||||
"@react-aria/interactions": "^3.18.0",
|
||||
"@react-aria/utils": "^3.20.0",
|
||||
"@react-types/checkbox": "^3.5.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nextui-org/avatar": "workspace:*",
|
||||
|
||||
@ -41,7 +41,7 @@
|
||||
"@nextui-org/react-rsc-utils": "workspace:*",
|
||||
"@nextui-org/system-rsc": "workspace:*",
|
||||
"@nextui-org/theme": "workspace:*",
|
||||
"@react-types/shared": "^3.19.0"
|
||||
"@react-types/shared": "^3.20.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"clean-package": "2.2.0",
|
||||
|
||||
@ -44,11 +44,11 @@
|
||||
"@nextui-org/react-utils": "workspace:*",
|
||||
"@nextui-org/system": "workspace:*",
|
||||
"@nextui-org/theme": "workspace:*",
|
||||
"@react-aria/menu": "^3.10.1",
|
||||
"@react-aria/utils": "^3.19.0",
|
||||
"@react-stately/menu": "^3.5.4",
|
||||
"@react-aria/focus": "^3.14.0",
|
||||
"@react-types/menu": "^3.9.3"
|
||||
"@react-aria/menu": "^3.10.2",
|
||||
"@react-aria/utils": "^3.20.0",
|
||||
"@react-stately/menu": "^3.5.5",
|
||||
"@react-aria/focus": "^3.14.1",
|
||||
"@react-types/menu": "^3.9.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nextui-org/button": "workspace:*",
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
"compilerOptions": {
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"tailwind-variants": ["../../../node_modules/tailwind-variants"]
|
||||
"tailwind-variants": ["../../../node_modules/tailwind-variants"],
|
||||
}
|
||||
},
|
||||
"include": ["src", "index.ts"]
|
||||
|
||||
@ -42,13 +42,13 @@
|
||||
"@nextui-org/shared-utils": "workspace:*",
|
||||
"@nextui-org/system": "workspace:*",
|
||||
"@nextui-org/theme": "workspace:*",
|
||||
"@react-aria/focus": "^3.14.0",
|
||||
"@react-aria/interactions": "^3.17.0",
|
||||
"@react-aria/textfield": "^3.11.0",
|
||||
"@react-aria/utils": "^3.19.0",
|
||||
"@react-aria/focus": "^3.14.1",
|
||||
"@react-aria/interactions": "^3.18.0",
|
||||
"@react-aria/textfield": "^3.12.0",
|
||||
"@react-aria/utils": "^3.20.0",
|
||||
"@react-stately/utils": "^3.7.0",
|
||||
"@react-types/shared": "^3.19.0",
|
||||
"@react-types/textfield": "^3.7.3",
|
||||
"@react-types/shared": "^3.20.0",
|
||||
"@react-types/textfield": "^3.8.0",
|
||||
"react-textarea-autosize": "^8.5.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@ -41,7 +41,7 @@
|
||||
"@nextui-org/theme": "workspace:*",
|
||||
"@nextui-org/shared-utils": "workspace:*",
|
||||
"@nextui-org/react-utils": "workspace:*",
|
||||
"@react-aria/utils": "^3.19.0"
|
||||
"@react-aria/utils": "^3.20.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"clean-package": "2.2.0",
|
||||
|
||||
@ -43,10 +43,10 @@
|
||||
"@nextui-org/use-aria-link": "workspace:*",
|
||||
"@nextui-org/system": "workspace:*",
|
||||
"@nextui-org/theme": "workspace:*",
|
||||
"@react-aria/link": "^3.5.3",
|
||||
"@react-aria/utils": "^3.19.0",
|
||||
"@react-aria/focus": "^3.14.0",
|
||||
"@react-types/link": "^3.4.4"
|
||||
"@react-aria/link": "^3.5.4",
|
||||
"@react-aria/utils": "^3.20.0",
|
||||
"@react-aria/focus": "^3.14.1",
|
||||
"@react-types/link": "^3.4.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"clean-package": "2.2.0",
|
||||
|
||||
@ -44,13 +44,13 @@
|
||||
"@nextui-org/divider": "workspace:*",
|
||||
"@nextui-org/aria-utils": "workspace:*",
|
||||
"@nextui-org/use-is-mobile": "workspace:*",
|
||||
"@react-aria/utils": "^3.19.0",
|
||||
"@react-aria/listbox": "^3.10.0",
|
||||
"@react-stately/list": "^3.9.0",
|
||||
"@react-aria/focus": "^3.13.0",
|
||||
"@react-aria/interactions": "^3.16.0",
|
||||
"@react-types/menu": "^3.9.2",
|
||||
"@react-types/shared": "^3.18.1"
|
||||
"@react-aria/utils": "^3.20.0",
|
||||
"@react-aria/listbox": "^3.10.2",
|
||||
"@react-stately/list": "^3.9.2",
|
||||
"@react-aria/focus": "^3.14.1",
|
||||
"@react-aria/interactions": "^3.18.0",
|
||||
"@react-types/menu": "^3.9.4",
|
||||
"@react-types/shared": "^3.20.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"clean-package": "2.2.0",
|
||||
|
||||
@ -44,14 +44,14 @@
|
||||
"@nextui-org/use-is-mobile": "workspace:*",
|
||||
"@nextui-org/shared-utils": "workspace:*",
|
||||
"@nextui-org/react-utils": "workspace:*",
|
||||
"@react-aria/menu": "^3.10.1",
|
||||
"@react-aria/utils": "^3.19.0",
|
||||
"@react-stately/menu": "^3.5.3",
|
||||
"@react-stately/tree": "^3.7.0",
|
||||
"@react-aria/focus": "^3.13.0",
|
||||
"@react-aria/interactions": "^3.16.0",
|
||||
"@react-types/menu": "^3.9.2",
|
||||
"@react-types/shared": "^3.18.1"
|
||||
"@react-aria/menu": "^3.10.2",
|
||||
"@react-aria/utils": "^3.20.0",
|
||||
"@react-stately/menu": "^3.5.5",
|
||||
"@react-stately/tree": "^3.7.2",
|
||||
"@react-aria/focus": "^3.14.1",
|
||||
"@react-aria/interactions": "^3.18.0",
|
||||
"@react-types/menu": "^3.9.4",
|
||||
"@react-types/shared": "^3.20.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"clean-package": "2.2.0",
|
||||
|
||||
@ -47,13 +47,13 @@
|
||||
"@nextui-org/react-utils": "workspace:*",
|
||||
"@nextui-org/shared-icons": "workspace:*",
|
||||
"@nextui-org/use-aria-modal-overlay": "workspace:*",
|
||||
"@react-aria/dialog": "^3.5.4",
|
||||
"@react-aria/interactions": "^3.17.0",
|
||||
"@react-aria/overlays": "^3.16.0",
|
||||
"@react-aria/utils": "^3.19.0",
|
||||
"@react-stately/overlays": "^3.6.1",
|
||||
"@react-aria/focus": "^3.14.0",
|
||||
"@react-types/overlays": "^3.8.1",
|
||||
"@react-aria/dialog": "^3.5.5",
|
||||
"@react-aria/interactions": "^3.18.0",
|
||||
"@react-aria/overlays": "^3.17.0",
|
||||
"@react-aria/utils": "^3.20.0",
|
||||
"@react-stately/overlays": "^3.6.2",
|
||||
"@react-aria/focus": "^3.14.1",
|
||||
"@react-types/overlays": "^3.8.2",
|
||||
"react-remove-scroll": "^2.5.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@ -45,12 +45,12 @@
|
||||
"@nextui-org/framer-transitions": "workspace:*",
|
||||
"@nextui-org/use-aria-toggle-button": "workspace:*",
|
||||
"@nextui-org/use-scroll-position": "workspace:*",
|
||||
"@react-aria/focus": "^3.14.0",
|
||||
"@react-aria/interactions": "^3.17.0",
|
||||
"@react-aria/utils": "^3.19.0",
|
||||
"@react-stately/toggle": "^3.6.1",
|
||||
"@react-aria/focus": "^3.14.1",
|
||||
"@react-aria/interactions": "^3.18.0",
|
||||
"@react-aria/utils": "^3.20.0",
|
||||
"@react-stately/toggle": "^3.6.2",
|
||||
"@react-stately/utils": "^3.7.0",
|
||||
"@react-aria/overlays": "^3.16.0",
|
||||
"@react-aria/overlays": "^3.17.0",
|
||||
"react-remove-scroll": "^2.5.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@ -43,9 +43,9 @@
|
||||
"@nextui-org/theme": "workspace:*",
|
||||
"@nextui-org/shared-icons": "workspace:*",
|
||||
"@nextui-org/use-pagination": "workspace:*",
|
||||
"@react-aria/focus": "^3.14.0",
|
||||
"@react-aria/interactions": "^3.17.0",
|
||||
"@react-aria/utils": "^3.19.0",
|
||||
"@react-aria/focus": "^3.14.1",
|
||||
"@react-aria/interactions": "^3.18.0",
|
||||
"@react-aria/utils": "^3.20.0",
|
||||
"scroll-into-view-if-needed": "3.0.10"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@ -60,7 +60,7 @@ describe("Popover", () => {
|
||||
const onClose = jest.fn();
|
||||
|
||||
const wrapper = render(
|
||||
<Popover isOpen onOpenChange={(isOpen) => (!isOpen ? onClose() : undefined)}>
|
||||
<Popover isOpen onClose={onClose}>
|
||||
<PopoverTrigger>
|
||||
<button>Open popover</button>
|
||||
</PopoverTrigger>
|
||||
@ -80,11 +80,7 @@ describe("Popover", () => {
|
||||
const onClose = jest.fn();
|
||||
|
||||
const wrapper = render(
|
||||
<Popover
|
||||
isOpen
|
||||
shouldCloseOnBlur
|
||||
onOpenChange={(isOpen) => (!isOpen ? onClose() : undefined)}
|
||||
>
|
||||
<Popover isOpen shouldCloseOnBlur onClose={onClose}>
|
||||
<PopoverTrigger>
|
||||
<button>Open popover</button>
|
||||
</PopoverTrigger>
|
||||
@ -96,7 +92,10 @@ describe("Popover", () => {
|
||||
|
||||
const content = wrapper.getByTestId("content-test");
|
||||
|
||||
fireEvent.blur(content);
|
||||
act(() => {
|
||||
content.blur();
|
||||
});
|
||||
|
||||
expect(onClose).toHaveBeenCalledTimes(1);
|
||||
});
|
||||
|
||||
@ -104,7 +103,7 @@ describe("Popover", () => {
|
||||
const onClose = jest.fn();
|
||||
|
||||
const wrapper = render(
|
||||
<Popover onOpenChange={(isOpen) => (!isOpen ? onClose() : undefined)}>
|
||||
<Popover onClose={onClose}>
|
||||
<PopoverTrigger>
|
||||
<Button disableRipple data-testid="trigger-test">
|
||||
Open popover
|
||||
@ -128,6 +127,7 @@ describe("Popover", () => {
|
||||
act(() => {
|
||||
trigger.click();
|
||||
});
|
||||
|
||||
expect(onClose).toHaveBeenCalledTimes(1);
|
||||
});
|
||||
});
|
||||
|
||||
@ -46,14 +46,14 @@
|
||||
"@nextui-org/react-utils": "workspace:*",
|
||||
"@nextui-org/system": "workspace:*",
|
||||
"@nextui-org/theme": "workspace:*",
|
||||
"@react-aria/dialog": "^3.5.4",
|
||||
"@react-aria/interactions": "^3.17.0",
|
||||
"@react-aria/overlays": "^3.16.0",
|
||||
"@react-aria/utils": "^3.19.0",
|
||||
"@react-stately/overlays": "^3.6.1",
|
||||
"@react-aria/focus": "^3.14.0",
|
||||
"@react-types/overlays": "^3.8.1",
|
||||
"@react-types/button": "^3.7.4",
|
||||
"@react-aria/dialog": "^3.5.5",
|
||||
"@react-aria/interactions": "^3.18.0",
|
||||
"@react-aria/overlays": "^3.17.0",
|
||||
"@react-aria/utils": "^3.20.0",
|
||||
"@react-stately/overlays": "^3.6.2",
|
||||
"@react-aria/focus": "^3.14.1",
|
||||
"@react-types/overlays": "^3.8.2",
|
||||
"@react-types/button": "^3.8.0",
|
||||
"react-remove-scroll": "^2.5.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@ -63,7 +63,7 @@ export function useReactAriaPopover(
|
||||
isOpen: state.isOpen,
|
||||
onClose: state.close,
|
||||
shouldCloseOnBlur,
|
||||
isDismissable: !isNonModal,
|
||||
isDismissable: true,
|
||||
isKeyboardDismissDisabled,
|
||||
shouldCloseOnInteractOutside: shouldCloseOnInteractOutside
|
||||
? shouldCloseOnInteractOutside
|
||||
|
||||
@ -42,10 +42,10 @@
|
||||
"@nextui-org/use-is-mounted": "workspace:*",
|
||||
"@nextui-org/system": "workspace:*",
|
||||
"@nextui-org/theme": "workspace:*",
|
||||
"@react-aria/i18n": "^3.8.1",
|
||||
"@react-aria/progress": "^3.4.4",
|
||||
"@react-aria/utils": "^3.19.0",
|
||||
"@react-types/progress": "^3.4.1"
|
||||
"@react-aria/i18n": "^3.8.2",
|
||||
"@react-aria/progress": "^3.4.5",
|
||||
"@react-aria/utils": "^3.20.0",
|
||||
"@react-types/progress": "^3.4.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nextui-org/card": "workspace:*",
|
||||
|
||||
@ -41,14 +41,14 @@
|
||||
"@nextui-org/shared-utils": "workspace:*",
|
||||
"@nextui-org/react-utils": "workspace:*",
|
||||
"@nextui-org/system": "workspace:*",
|
||||
"@react-aria/focus": "^3.14.0",
|
||||
"@react-aria/interactions": "^3.17.0",
|
||||
"@react-aria/radio": "^3.7.0",
|
||||
"@react-aria/utils": "^3.19.0",
|
||||
"@react-aria/visually-hidden": "^3.8.3",
|
||||
"@react-stately/radio": "^3.8.3",
|
||||
"@react-types/radio": "^3.5.0",
|
||||
"@react-types/shared": "^3.19.0"
|
||||
"@react-aria/focus": "^3.14.1",
|
||||
"@react-aria/interactions": "^3.18.0",
|
||||
"@react-aria/radio": "^3.8.0",
|
||||
"@react-aria/utils": "^3.20.0",
|
||||
"@react-aria/visually-hidden": "^3.8.4",
|
||||
"@react-stately/radio": "^3.9.0",
|
||||
"@react-types/radio": "^3.5.1",
|
||||
"@react-types/shared": "^3.20.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nextui-org/button": "workspace:*",
|
||||
|
||||
@ -50,11 +50,11 @@
|
||||
"@nextui-org/theme": "workspace:*",
|
||||
"@nextui-org/use-aria-button": "workspace:*",
|
||||
"@nextui-org/use-aria-multiselect": "workspace:*",
|
||||
"@react-aria/focus": "^3.13.0",
|
||||
"@react-aria/interactions": "^3.16.0",
|
||||
"@react-aria/utils": "^3.19.0",
|
||||
"@react-aria/visually-hidden": "^3.8.3",
|
||||
"@react-types/shared": "^3.19.0"
|
||||
"@react-aria/focus": "^3.14.1",
|
||||
"@react-aria/interactions": "^3.18.0",
|
||||
"@react-aria/utils": "^3.20.0",
|
||||
"@react-aria/visually-hidden": "^3.8.4",
|
||||
"@react-types/shared": "^3.20.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nextui-org/avatar": "workspace:*",
|
||||
@ -62,7 +62,7 @@
|
||||
"@nextui-org/chip": "workspace:*",
|
||||
"framer-motion": "^10.15.1",
|
||||
"@nextui-org/use-infinite-scroll": "workspace:*",
|
||||
"@react-stately/data": "^3.10.1",
|
||||
"@react-stately/data": "^3.10.2",
|
||||
"clean-package": "2.2.0",
|
||||
"react": "^18.0.0"
|
||||
},
|
||||
|
||||
@ -46,8 +46,8 @@
|
||||
"@nextui-org/shared-icons": "workspace:*",
|
||||
"@nextui-org/use-clipboard": "workspace:*",
|
||||
"@nextui-org/tooltip": "workspace:*",
|
||||
"@react-aria/focus": "^3.14.0",
|
||||
"@react-aria/utils": "^3.19.0"
|
||||
"@react-aria/focus": "^3.14.1",
|
||||
"@react-aria/utils": "^3.20.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"clean-package": "2.2.0",
|
||||
|
||||
@ -41,13 +41,13 @@
|
||||
"@nextui-org/react-utils": "workspace:*",
|
||||
"@nextui-org/system": "workspace:*",
|
||||
"@nextui-org/theme": "workspace:*",
|
||||
"@react-aria/focus": "^3.14.0",
|
||||
"@react-aria/interactions": "^3.17.0",
|
||||
"@react-aria/switch": "^3.5.3",
|
||||
"@react-aria/utils": "^3.19.0",
|
||||
"@react-aria/visually-hidden": "^3.8.3",
|
||||
"@react-stately/toggle": "^3.6.1",
|
||||
"@react-types/shared": "^3.19.0"
|
||||
"@react-aria/focus": "^3.14.1",
|
||||
"@react-aria/interactions": "^3.18.0",
|
||||
"@react-aria/switch": "^3.5.4",
|
||||
"@react-aria/utils": "^3.20.0",
|
||||
"@react-aria/visually-hidden": "^3.8.4",
|
||||
"@react-stately/toggle": "^3.6.2",
|
||||
"@react-types/shared": "^3.20.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"clean-package": "2.2.0",
|
||||
|
||||
@ -44,15 +44,15 @@
|
||||
"@nextui-org/spacer": "workspace:*",
|
||||
"@nextui-org/system": "workspace:*",
|
||||
"@nextui-org/theme": "workspace:*",
|
||||
"@react-aria/focus": "^3.14.0",
|
||||
"@react-aria/interactions": "^3.17.0",
|
||||
"@react-aria/table": "^3.11.0",
|
||||
"@react-aria/utils": "^3.19.0",
|
||||
"@react-aria/visually-hidden": "^3.8.3",
|
||||
"@react-stately/table": "^3.11.0",
|
||||
"@react-stately/virtualizer": "^3.6.0",
|
||||
"@react-types/grid": "^3.2.0",
|
||||
"@react-types/table": "^3.8.0"
|
||||
"@react-aria/focus": "^3.14.1",
|
||||
"@react-aria/interactions": "^3.18.0",
|
||||
"@react-aria/table": "^3.12.0",
|
||||
"@react-aria/utils": "^3.20.0",
|
||||
"@react-aria/visually-hidden": "^3.8.4",
|
||||
"@react-stately/table": "^3.11.1",
|
||||
"@react-stately/virtualizer": "^3.6.2",
|
||||
"@react-types/grid": "^3.2.1",
|
||||
"@react-types/table": "^3.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nextui-org/button": "workspace:*",
|
||||
@ -62,7 +62,7 @@
|
||||
"@nextui-org/tooltip": "workspace:*",
|
||||
"@nextui-org/use-infinite-scroll": "workspace:*",
|
||||
"@nextui-org/user": "workspace:*",
|
||||
"@react-stately/data": "^3.10.1",
|
||||
"@react-stately/data": "^3.10.2",
|
||||
"clean-package": "2.2.0",
|
||||
"react": "^18.0.0",
|
||||
"swr": "^2.2.1"
|
||||
|
||||
@ -46,13 +46,13 @@
|
||||
"@nextui-org/framer-transitions": "workspace:*",
|
||||
"@nextui-org/use-is-mounted": "workspace:*",
|
||||
"@nextui-org/use-update-effect": "workspace:*",
|
||||
"@react-aria/focus": "^3.14.0",
|
||||
"@react-aria/interactions": "^3.17.0",
|
||||
"@react-aria/tabs": "^3.6.2",
|
||||
"@react-aria/utils": "^3.19.0",
|
||||
"@react-stately/tabs": "^3.5.1",
|
||||
"@react-types/shared": "^3.19.0",
|
||||
"@react-types/tabs": "^3.3.1",
|
||||
"@react-aria/focus": "^3.14.1",
|
||||
"@react-aria/interactions": "^3.18.0",
|
||||
"@react-aria/tabs": "^3.7.0",
|
||||
"@react-aria/utils": "^3.20.0",
|
||||
"@react-stately/tabs": "^3.6.0",
|
||||
"@react-types/shared": "^3.20.0",
|
||||
"@react-types/tabs": "^3.3.2",
|
||||
"scroll-into-view-if-needed": "3.0.10"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@ -44,13 +44,13 @@
|
||||
"@nextui-org/system": "workspace:*",
|
||||
"@nextui-org/theme": "workspace:*",
|
||||
"@nextui-org/framer-transitions": "workspace:*",
|
||||
"@react-aria/overlays": "^3.16.0",
|
||||
"@react-aria/tooltip": "^3.6.1",
|
||||
"@react-stately/tooltip": "^3.4.3",
|
||||
"@react-aria/interactions": "^3.17.0",
|
||||
"@react-aria/utils": "^3.19.0",
|
||||
"@react-types/tooltip": "^3.4.3",
|
||||
"@react-types/overlays": "^3.8.1"
|
||||
"@react-aria/overlays": "^3.17.0",
|
||||
"@react-aria/tooltip": "^3.6.2",
|
||||
"@react-stately/tooltip": "^3.4.4",
|
||||
"@react-aria/interactions": "^3.18.0",
|
||||
"@react-aria/utils": "^3.20.0",
|
||||
"@react-types/tooltip": "^3.4.4",
|
||||
"@react-types/overlays": "^3.8.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nextui-org/button": "workspace:*",
|
||||
|
||||
@ -42,8 +42,8 @@
|
||||
"@nextui-org/theme": "workspace:*",
|
||||
"@nextui-org/shared-utils": "workspace:*",
|
||||
"@nextui-org/react-utils": "workspace:*",
|
||||
"@react-aria/focus": "^3.14.0",
|
||||
"@react-aria/utils": "^3.19.0"
|
||||
"@react-aria/focus": "^3.14.1",
|
||||
"@react-aria/utils": "^3.20.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"clean-package": "2.2.0",
|
||||
|
||||
@ -76,7 +76,7 @@
|
||||
"@nextui-org/select": "workspace:*",
|
||||
"@nextui-org/listbox": "workspace:*",
|
||||
"@nextui-org/menu": "workspace:*",
|
||||
"@react-aria/visually-hidden": "^3.8.3"
|
||||
"@react-aria/visually-hidden": "^3.8.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": ">=18",
|
||||
|
||||
@ -51,7 +51,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@nextui-org/system-rsc": "workspace:*",
|
||||
"@react-aria/i18n": "^3.8.1",
|
||||
"@react-aria/overlays": "^3.16.0"
|
||||
"@react-aria/i18n": "^3.8.2",
|
||||
"@react-aria/overlays": "^3.17.0"
|
||||
}
|
||||
}
|
||||
|
||||
@ -34,10 +34,10 @@
|
||||
"postpack": "clean-package restore"
|
||||
},
|
||||
"dependencies": {
|
||||
"@react-aria/focus": "^3.14.0",
|
||||
"@react-stately/tree": "^3.7.1",
|
||||
"@react-aria/button": "^3.8.1",
|
||||
"@react-types/shared": "^3.19.0"
|
||||
"@react-aria/focus": "^3.14.1",
|
||||
"@react-stately/tree": "^3.7.2",
|
||||
"@react-aria/button": "^3.8.2",
|
||||
"@react-types/shared": "^3.20.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": ">=18"
|
||||
|
||||
@ -37,11 +37,11 @@
|
||||
"react": ">=18"
|
||||
},
|
||||
"dependencies": {
|
||||
"@react-aria/utils": "^3.19.0",
|
||||
"@react-aria/focus": "^3.14.0",
|
||||
"@react-aria/interactions": "^3.17.0",
|
||||
"@react-types/button": "^3.7.4",
|
||||
"@react-types/shared": "^3.19.0"
|
||||
"@react-aria/utils": "^3.20.0",
|
||||
"@react-aria/focus": "^3.14.1",
|
||||
"@react-aria/interactions": "^3.18.0",
|
||||
"@react-types/button": "^3.8.0",
|
||||
"@react-types/shared": "^3.20.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"clean-package": "2.2.0",
|
||||
|
||||
@ -37,11 +37,11 @@
|
||||
"react": ">=18"
|
||||
},
|
||||
"dependencies": {
|
||||
"@react-types/link": "^3.4.4",
|
||||
"@react-types/shared": "^3.19.0",
|
||||
"@react-aria/utils": "^3.19.0",
|
||||
"@react-aria/focus": "^3.14.0",
|
||||
"@react-aria/interactions": "^3.17.0"
|
||||
"@react-types/link": "^3.4.5",
|
||||
"@react-types/shared": "^3.20.0",
|
||||
"@react-aria/utils": "^3.20.0",
|
||||
"@react-aria/focus": "^3.14.1",
|
||||
"@react-aria/interactions": "^3.18.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"clean-package": "2.2.0",
|
||||
|
||||
@ -34,10 +34,10 @@
|
||||
"postpack": "clean-package restore"
|
||||
},
|
||||
"dependencies": {
|
||||
"@react-aria/overlays": "^3.16.0",
|
||||
"@react-stately/overlays": "^3.6.1",
|
||||
"@react-types/shared": "^3.19.0",
|
||||
"@react-aria/utils": "^3.19.0"
|
||||
"@react-aria/overlays": "^3.17.0",
|
||||
"@react-stately/overlays": "^3.6.2",
|
||||
"@react-types/shared": "^3.20.0",
|
||||
"@react-aria/utils": "^3.20.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": ">=18"
|
||||
|
||||
@ -34,19 +34,19 @@
|
||||
"postpack": "clean-package restore"
|
||||
},
|
||||
"dependencies": {
|
||||
"@react-aria/i18n": "^3.8.1",
|
||||
"@react-aria/interactions": "^3.17.0",
|
||||
"@react-aria/label": "^3.6.1",
|
||||
"@react-aria/listbox": "^3.10.0",
|
||||
"@react-aria/menu": "^3.10.1",
|
||||
"@react-aria/selection": "^3.16.1",
|
||||
"@react-stately/list": "^3.9.0",
|
||||
"@react-stately/menu": "^3.5.4",
|
||||
"@react-types/button": "^3.7.4",
|
||||
"@react-types/overlays": "^3.8.1",
|
||||
"@react-types/select": "^3.8.2",
|
||||
"@react-types/shared": "^3.19.0",
|
||||
"@react-aria/utils": "^3.19.0"
|
||||
"@react-aria/i18n": "^3.8.2",
|
||||
"@react-aria/interactions": "^3.18.0",
|
||||
"@react-aria/label": "^3.7.0",
|
||||
"@react-aria/listbox": "^3.10.2",
|
||||
"@react-aria/menu": "^3.10.2",
|
||||
"@react-aria/selection": "^3.16.2",
|
||||
"@react-stately/list": "^3.9.2",
|
||||
"@react-stately/menu": "^3.5.5",
|
||||
"@react-types/button": "^3.8.0",
|
||||
"@react-types/overlays": "^3.8.2",
|
||||
"@react-types/select": "^3.8.3",
|
||||
"@react-types/shared": "^3.20.0",
|
||||
"@react-aria/utils": "^3.20.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": ">=18"
|
||||
|
||||
@ -38,10 +38,10 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@nextui-org/use-aria-button": "workspace:*",
|
||||
"@react-stately/toggle": "^3.6.1",
|
||||
"@react-aria/utils": "^3.19.0",
|
||||
"@react-types/shared": "^3.19.0",
|
||||
"@react-types/button": "^3.7.4"
|
||||
"@react-stately/toggle": "^3.6.2",
|
||||
"@react-aria/utils": "^3.20.0",
|
||||
"@react-types/shared": "^3.20.0",
|
||||
"@react-types/button": "^3.8.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"clean-package": "2.2.0",
|
||||
|
||||
@ -39,7 +39,7 @@
|
||||
"dependencies": {
|
||||
"@nextui-org/use-callback-ref": "workspace:*",
|
||||
"@react-stately/utils": "^3.7.0",
|
||||
"@react-aria/utils": "^3.19.0"
|
||||
"@react-aria/utils": "^3.20.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"clean-package": "2.2.0",
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
"postpack": "clean-package restore"
|
||||
},
|
||||
"dependencies": {
|
||||
"@react-aria/ssr": "^3.7.1"
|
||||
"@react-aria/ssr": "^3.8.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": ">=18"
|
||||
|
||||
@ -38,10 +38,10 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@nextui-org/system": "workspace:*",
|
||||
"@react-aria/utils": "^3.19.0",
|
||||
"@react-stately/collections": "^3.10.0",
|
||||
"@react-types/shared": "^3.19.0",
|
||||
"@react-types/overlays": "^3.8.1"
|
||||
"@react-aria/utils": "^3.20.0",
|
||||
"@react-stately/collections": "^3.10.1",
|
||||
"@react-types/shared": "^3.20.0",
|
||||
"@react-types/overlays": "^3.8.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"clean-package": "2.2.0",
|
||||
|
||||
5628
pnpm-lock.yaml
generated
5628
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
39
scripts/check-rap-updates.ts
Normal file
39
scripts/check-rap-updates.ts
Normal file
@ -0,0 +1,39 @@
|
||||
import ncu from 'npm-check-updates';
|
||||
import glob from 'glob';
|
||||
import { resolve } from 'path';
|
||||
|
||||
|
||||
const shouldUpgrade = process.argv.includes('--upgrade');
|
||||
|
||||
const checkForUpdates = async (path: string) => {
|
||||
const filePaths = glob.sync(resolve(path, '**/package.json'), {
|
||||
ignore: '**/node_modules/**',
|
||||
});
|
||||
|
||||
for (const filePath of filePaths) {
|
||||
try {
|
||||
const upgraded = await ncu({
|
||||
packageFile: filePath,
|
||||
filter: '/^@react-(aria|stately|types)\\/.*$/',
|
||||
upgrade: shouldUpgrade,
|
||||
jsonUpgraded: false,
|
||||
});
|
||||
console.log(`Upgrades for ${filePath}:`, upgraded);
|
||||
|
||||
if(shouldUpgrade && upgraded) {
|
||||
console.log(`✅ Upgraded packages in ${filePath}`);
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(`Error occurred while checking for updates in ${filePath}:`, error.message);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
const main = async () => {
|
||||
const dirs = [resolve('app/docs'), resolve('packages')];
|
||||
for (const dir of dirs) {
|
||||
await checkForUpdates(dir);
|
||||
}
|
||||
};
|
||||
|
||||
main();
|
||||
Loading…
x
Reference in New Issue
Block a user