mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
* fix(popover): popover focus issue (#3187) * fix(popover): move useDialog to popover-content * fix(popover): move useDialog to free-solo-popover * refactor(popover): use const instead * feat(changset): add changeset * feat(popover): popover focus test * refactor(popover): getDialogProps * fix: interactions with popover & focus issues (#3137) * fix(aria-utils): handle click on listbox * fix(popover): move useDialog to popover-content * fix(popover): move useDialog to free-solo-popover * refactor(popover): use const instead * feat(changset): add changeset * feat(popover): popover focus test * refactor(popover): getDialogProps * chore(utilities): remove ariaShouldCloseOnInteractOutside * chore(deps): pnpm-lock.yaml * fix(popover): remove disableFocusManagement * fix(modal): remove disableFocusManagement * fix(autocomplete): remove custom focus logic and remove ariaShouldCloseOnInteractOutside * fix(popover): rewrite shouldCloseOnInteractOutside logic * chore(utilities): remove ariaShouldCloseOnInteractOutside * chore(deps): bump react-aria dependencies * chore(autocomplete): change back to focus * feat(changeset): update changeset * chore(docs): update type in onSelectionChange * fix(popover): revise popover test case * chore(deps): add @nextui-org/aria-utils * fix(autocomplete): add ariaShouldCloseOnInteractOutside * fix(date-picker): add ariaShouldCloseOnInteractOutside * fix(select): add ariaShouldCloseOnInteractOutside * chore(deps): add @nextui-org/aria-utils * fix(dropdown): add ariaShouldCloseOnInteractOutside * feat(utilities): rewrite ariaShouldCloseOnInteractOutside * fix(popover): use ariaShouldCloseOnInteractOutside * fix(autocomplete): add back shouldFocus * fix(utilities): include shouldFocus logic * chore(utilities): remove ! * refactor(aria-utils): add more comments * chore(changeset): update packages * refactor(aria-utils): add more comments * feat(popover): add test * fix: dropdown onPress issue (#3211) * fix(popover): move useDialog to popover-content * fix(popover): move useDialog to free-solo-popover * refactor(popover): use const instead * feat(changset): add changeset * feat(popover): popover focus test * refactor(popover): getDialogProps * fix(popover): dropdown onPress blocking issue * fix(dropdown): incorrect keyCodes * feat(dropdown): add keyboard onPress test cases * chore(deps): keep all @react-aria/overlays version consistent * chore(deps): sync dependencies * chore(deps): sync dependencies * refactor(aria-utils): remove shouldFocus logic * refactor(autocomplete): remove shouldFocus logic and set input focus when open * chore(deps): bump dependencies * chore(deps): fix react aria dependencies * fix(autocomplete): move popover style width inside isOpen true block * fix(autocomplete): focus back to trigger * feat(changeset): add changeset * chore(deps): bump react-aria dependencies * refactor(autocomplete): revise comment * refactor(dropdown): revise logSpy and trigger mockRestore * refactor(popover): remove debug className * fix(date-input): avoid setting isInvalid in useDateFieldState * fix(autocomplete): use ComboBoxValidationValue * feat(use-aria-menu): add deprecate message * feat(changeset): add missing packages * refactor(use-aria-menu): remove isLink since it is included in useLinkProps * Update packages/hooks/use-aria-menu/src/use-menu-item.ts --------- Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
73 lines
2.2 KiB
JSON
73 lines
2.2 KiB
JSON
{
|
|
"name": "@nextui-org/modal",
|
|
"version": "2.0.35",
|
|
"description": "Displays a dialog with a custom content that requires attention or provides additional information.",
|
|
"keywords": [
|
|
"modal"
|
|
],
|
|
"author": "Junior Garcia <jrgarciadev@gmail.com>",
|
|
"homepage": "https://nextui.org",
|
|
"license": "MIT",
|
|
"main": "src/index.ts",
|
|
"sideEffects": false,
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/nextui-org/nextui.git",
|
|
"directory": "packages/components/modal"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/nextui-org/nextui/issues"
|
|
},
|
|
"scripts": {
|
|
"build": "tsup src --dts",
|
|
"build:fast": "tsup src",
|
|
"dev": "pnpm build:fast --watch",
|
|
"clean": "rimraf dist .turbo",
|
|
"typecheck": "tsc --noEmit",
|
|
"prepack": "clean-package",
|
|
"postpack": "clean-package restore"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=18",
|
|
"react-dom": ">=18",
|
|
"framer-motion": ">=10.17.0",
|
|
"@nextui-org/theme": ">=2.1.0",
|
|
"@nextui-org/system": ">=2.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@nextui-org/use-disclosure": "workspace:*",
|
|
"@nextui-org/use-aria-button": "workspace:*",
|
|
"@nextui-org/framer-utils": "workspace:*",
|
|
"@nextui-org/shared-utils": "workspace:*",
|
|
"@nextui-org/react-utils": "workspace:*",
|
|
"@nextui-org/shared-icons": "workspace:*",
|
|
"@nextui-org/use-aria-modal-overlay": "workspace:*",
|
|
"@react-aria/dialog": "3.5.14",
|
|
"@react-aria/focus": "3.17.1",
|
|
"@react-aria/interactions": "3.21.3",
|
|
"@react-aria/overlays": "3.22.1",
|
|
"@react-aria/utils": "3.24.1",
|
|
"@react-stately/overlays": "3.6.7",
|
|
"@react-types/overlays": "3.8.7"
|
|
},
|
|
"devDependencies": {
|
|
"@nextui-org/theme": "workspace:*",
|
|
"@nextui-org/system": "workspace:*",
|
|
"@nextui-org/input": "workspace:*",
|
|
"@nextui-org/checkbox": "workspace:*",
|
|
"@nextui-org/button": "workspace:*",
|
|
"@nextui-org/link": "workspace:*",
|
|
"react-lorem-component": "0.13.0",
|
|
"framer-motion": "^11.0.22",
|
|
"clean-package": "2.2.0",
|
|
"react": "^18.0.0",
|
|
"react-dom": "^18.0.0"
|
|
},
|
|
"clean-package": "../../../clean-package.config.json"
|
|
} |