* fix(select): disable all keys for isDisabled case
* fix(select): add "disabled select shouldn't update by keyboard" test case
* refactor(select): remove unnecessary map
* feat(autocomplete): add AsyncFilteringTemplate
* chore(autocomplete): move SWCharacter out
* feat(changeset): add missing AsyncFiltering story in Autocomplete
* chore(changeset): remove changeset since the change only impacts the story
* fix(ripple): lazyMotion forwardRef issue in Ripple
* feat(dropdown): add test case for LazyMotion React.forwardRef issue
* refactor(dropdown): revise the test title
* feat(modal): include console error check in modal test
* feat(popover): add "should not throw error when clicking trigger button" test
* feat(accordion): add test for lazy motion issue
* feat(navbar): add test for lazy motion issue
* feat(tabs): add test for lazy motion issue
* feat(tooltip): add test for lazy motion issue
* refactor(dropdown): remove unnecessary async
* refactor(test): move spy outside and trigger clearAllMocks after each test
* fix(popover): handle isDisabled logic for elements without isDisabled props
* chore(popover): isDisabled not necessary in restProps
* chore(changset): handle isDisabled logic for elements without isDisabled props
* fix(popover): keep all the props but isDisabled for non nextui button
* refactor(popover): move isDisabled handling to getTriggerProps
* refactor(popover): get the popover trigger styles from theme instead
* feat(theme): add isDisabled styles in popover
* chore(changeset): add patch to @nextui-org/theme
* refactor(popover): avoid re-instantiate popover styles
* fix(popover): apply filterDOMProps in popover trigger
* fix(popover): avoid conflicts with tooltip isDisabled
* chore(core): add isNextUIEl function to check if a component is a NextUI component
* chore(changeset): add system-rsc and revise message
* feat(dropdown): add tests for custom trigger with isDisabled
* fix(dropdown): incorrect User import path
* feat(dropdown): revise User and add mockRestore
* fix(dropdown): revise user import path
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
* fix(select): set undefined to shouldCloseOnInteractOutside in select
* fix(select): set false to shouldCloseOnInteractOutside in autocomplete
* fix(popover): take shouldCloseOnInteractOutside from props
* chore(changeset): revise shouldCloseOnInteractOutside for FreeSoloPopover
* feat(select): add test cases to select
* feat(select): assert that the select is open after click
* feat(autocomplete): add test cases to autocomplete
* feat(select): assert that the select is open after click
* chore(badge): Remove unnecessary type
I suggest removing the `children` type from BadgeProps, as the already extended UseBadgeProps has a `children` prop.
* Create three-tools-whisper.md
* Update three-tools-whisper.md
* fix(select): isFilled logic for state.selectedItems
* fix(select): handle hasValue case and return boolean type
* chore(changeset): include hasValue case as well
Avoid displaying loadingContent and emptyContent at the same time.
Note that there's an existing issue with loadingContent where if
emptyContent is not provided, it will render loadingContent on top of
the columns (instead of inside the table). This change doesn't fix that,
but rather make isLoading play nice with a provided emptyContent. A
separate fix is still needed for when emptyContent is not provided, which
may affect this change later.
* fix(components): set shouldCloseOnInteractOutside to false for FreeSoloPopover
* feat(changeset): fixed popover closing issue in autocomplete with open modal
* fix(popover): dropdown behavior on disabled state and update popover trigger props
* chore(dropdown): add DisabledTrigger story to dropdown.stories.tsx
* fix(components): autocomplete, tabIndex is not passed on input
* fix(components): autocomplete, tabIndex is not passed on input
* Update metal-gorillas-dress.md
* fix(components): accordion component throws "validateDOMNesting" error on the storybook
* fix(components): accordion component throws "validateDOMNesting" error on the storybook
* fix(components): accordion component throws "validateDOMNesting" error on the storybook
* fix(components): accordion component throws "validateDOMNesting" error on the storybook
* fix(docs): accordion component throws "validateDOMNesting" error on the storybook