աӄա c5049edfde
fix(popover): unexpected props on a DOM element (#2522)
* 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>
2024-04-01 22:33:26 -03:00
..
2024-04-01 14:52:40 -03:00

@nextui-org/dropdown

Displays a list of actions or options that a user can choose.

Please refer to the documentation for more information.

Installation

yarn add @nextui-org/dropdown
# or
npm i @nextui-org/dropdown

Contribution

Yes please! See the contributing guidelines for details.

License

This project is licensed under the terms of the MIT license.