582 Commits

Author SHA1 Message Date
black197
af877f7ddb
fix(use-autocomplete): overwrite onKeyDown to prevent meaningless error msg (#1909) (#2100) 2024-04-15 11:20:03 -03:00
աӄա
25640e42ff
fix(autocomplete): incorrect prop name in getEmptyPopoverProps (#2716)
* fix(autocomplete): incorrect prop name in getEmptyPopoverProps

* chore(changeset): update changeset message
2024-04-15 11:07:56 -03:00
աӄա
e458432550
fix(select): disabled select shouldn't get update by keyboard (#2649)
* 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
2024-04-14 16:35:07 -03:00
աӄա
c2ef4c0935
chore(storybook): add missing AsyncFiltering story (#2566)
* 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
2024-04-14 16:19:39 -03:00
աӄա
a1c112431f
refactor(autocomplete): remove unnecessary map after getting all collection key (#2654)
* refactor(components): remove unnecessary map

* feat(changeset): remove unnecessary map after getting all collection keys
2024-04-14 16:10:39 -03:00
աӄա
86a78c9b91
fix(autocomplete): empty items with allowCustomValue (#2674)
* feat(autocomplete): add & export getEmptyPopoverProps

* fix(autocomplete): avoid null node in `ariaHideOutside` from `@react-aria/overlays`

* feat(changeset): add changeset
2024-04-14 11:29:53 -03:00
Ryo Matsukawa
eb11a7731a
fix(modal): input carry over with IMEs in modal forms (#2709)
* fix(modal): prevent IME input carryover in form fields when tabbing

* chore: add changeset

* chore: chain default onKeyDown
2024-04-14 09:51:43 -03:00
աӄա
2e49e08315
fix: lazyMotion forwardRef issue (#2622)
* 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
2024-04-02 11:01:17 -03:00
աӄա
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
Hyden Liu
82a9fd9bc4
chore: fix typo (#2583) 2024-04-01 14:52:40 -03:00
աӄա
ef6ea6c1ff
fix(checkbox): incorrect onChange typing in Checkbox Group (#2595)
* fix(checkbox): incorrect onChange typing in Checkbox Group

* fix(checkbox): remove onChange from Props instead
2024-04-01 14:50:11 -03:00
Junior Garcia
c188e4d628
chore(badge): remove unused import statement in badge.tsx (#2619) 2024-03-31 15:32:21 -03:00
աӄա
eb51bf2261
fix: incorrect level of m.div (#2616)
* fix(modal): incorrect level of m.div

* fix(popover): incorrect level of m.div

* feat(changeset): fixed incorrect level of m.div

* fix(modal): remove forwardProps in RemoveScroll

* fix(popover): remove forwardProps in RemoveScroll
2024-03-31 12:16:48 -03:00
աӄա
8761168d34
fix: lazy motion forward ref issue (#2611)
* fix(modal): lazy motion forward ref issue

* fix(popover): lazy motion forward ref issue

* feat(changeset): fixed lazy motion forwardRef issue
2024-03-30 15:03:54 -03:00
աӄա
2b9f89023a
fix: revise shouldCloseOnInteractOutside for FreeSoloPopover (#2536)
* 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
2024-03-21 13:04:59 -03:00
Denish Navadiya
26a3a7d2c6
chore(badge): Remove unnecessary type (#2541)
* 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
2024-03-21 13:02:36 -03:00
աӄա
888d861841
fix(select): isFilled & hasValue logic for state.selectedItems (#2556)
* fix(select): isFilled logic for state.selectedItems

* fix(select): handle hasValue case and return boolean type

* chore(changeset): include hasValue case as well
2024-03-21 12:54:40 -03:00
Alpha Xek
ea48ac2d08
feat(table spinner): Fixed Spinner without emptyContent prop in Table (#2500)
* feat(table spinner): spinner without emptyContent

Fixed Spinner loading on top of columns in case of emptyContent prop not passed.

* Update .changeset/nice-rockets-watch.md

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix(table spinner): changeset fix

* fix(table spinner): changeset description fix

---------

Co-authored-by: Alpha <116849110+alpha-xek@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-03-15 22:43:59 -03:00
աӄա
707a61de4c
fix(navbar): lazy motion forwardRef issue (#2527) 2024-03-15 09:01:13 -03:00
Bruno Kraychete da Costa
5a8768a4b2
fix(table): hide empty content if isLoading is true (#2470) (#2491)
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.
2024-03-10 10:53:02 -03:00
աӄա
a05aef0acb
fix(components): popover closing issue in autocomplete with open modal (#2494)
* fix(components): set shouldCloseOnInteractOutside to false for FreeSoloPopover

* feat(changeset): fixed popover closing issue in autocomplete with open modal
2024-03-10 10:37:55 -03:00
Dominik K
2894aecca1
Remove unused framer motion features (#2464)
* fix: remove unused framer motion features

* fix: add changeset

* fix: non working tabs animation

* fix: remove unchanged changeset

* fix: move to patch
2024-03-08 11:43:14 -03:00
աӄա
7263daca08
fix(autocomplete): support isReadOnly for dynamic collections in Autocomplete (#2458) 2024-03-08 11:22:45 -03:00
Ryo Matsukawa
2c3be59dfb
fix(accordion): remove dividers from hidden accordion items (#2219)
* fix: remove dividers from hidden accordion items

* Create slimy-panthers-swim.md
2024-03-07 10:07:58 -03:00
Junior Garcia
798e84e729 Revert "feat(calendar): initial structure"
This reverts commit 139b28437b0e7bce2d1a1b9fc069999c48271d17.
2024-03-05 23:33:22 -03:00
Junior Garcia
139b28437b feat(calendar): initial structure 2024-03-05 23:30:37 -03:00
black197
0a10de8d08
Fix(tooltip): allow non-ReactElement children (#2079)
* fix(tooltip): accept non-ReactElement as children

* chore: changeset
2024-03-05 16:33:10 -03:00
աӄա
bae544d198
fix: isReadOnly in Autocomplete (#2429)
* feat(autocomplete): add isReadOnly example

* fix(autocomplete): isReadOnly logic in Autocomplete

* feat(root): add changeset - fixed isReadOnly logic in Autocomplete

* chore(stories): set isClearable to false

* fix(autocomplete): revise isClearable logic
2024-03-05 16:15:20 -03:00
Junior Garcia
feafb36fcc
Fix/dropdown disabled state (#2452)
* fix(popover): dropdown behavior on disabled state and update popover trigger props

* chore(dropdown): add DisabledTrigger story to dropdown.stories.tsx
2024-03-05 16:14:19 -03:00
աӄա
65f48135d6
fix(stories): link anchor typo (#2447) 2024-03-05 09:53:04 -03:00
աӄա
0a9982d3ef
fix(dropdown): getMenuTriggerProps mergeProps (#2450)
* fix(dropdown): getMenuTriggerProps mergeProps

* feat(changeset): fixed getMenuTriggerProps mergeProps

* refactor(dropdown): use isDisabled directly

* chore(changeset): correct issue number
2024-03-05 08:58:01 -03:00
github-actions[bot]
3a0f2c5610
ci(changesets): version packages (#2029)
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2024-03-03 20:54:23 -03:00
HaRuki
e12f3faa81
fix(components): autocomplete, tabIndex is not passed on input (#2375)
* fix(components): autocomplete, tabIndex is not passed on input

* fix(components): autocomplete, tabIndex is not passed on input

* Update metal-gorillas-dress.md
2024-03-03 20:37:11 -03:00
HaRuki
f63b20c59d
fix(components): accordion component throws "validateDOMNesting" erro… (#2169)
* 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
2024-03-03 20:36:05 -03:00
nitipat.rstw
d6b42f757a
fix: added missing ChipProps import (#2205) 2024-03-03 18:16:08 -03:00
u3u
a235e324b9
feat: add updatePositionDeps prop to popover component (#2390) 2024-03-03 17:44:30 -03:00
HaRuki
9b27da544e
fix(components): isdisabled does not disable dropdown (#2435) 2024-03-03 17:30:27 -03:00
Mark Wilson
fa27bccb37
fix: #2382 typo in modal transition CSS variable access (#2426) 2024-03-01 18:46:05 -03:00
աӄա
0ce10269c2
fix(components): incorrect strokeWidth (#2410)
* fix(components): incorrect strokeWidth

* feat(changeset): incorrect strokeWidth in circular progress
2024-02-27 11:31:38 -03:00
աӄա
dec7d411b5
fix: pagination RTL (#2393)
* fix(components): handle RTL in onNext and onPrevious in use-pagination.ts

* fix(components): invert forward icon for RTL

* fix(hooks): invert pagination logic for RTL

* chore(root): add changeset for pagination RTL change

* fix(hooks): add isRTL to hook dependency

* fix(components): add isRTL to hook dependency

* fix(components): incorrect isDisabled logic

* refactor(hooks): remove isRTL dependency from paginationRange

* chore(deps): add @react-aria/i18n
2024-02-27 11:29:54 -03:00
Prakash Choudhary
e6f36281cb
fix(components): number input label #2268 fixed (#2274)
* fix(components): number input label #2268 fixed

* fix(component): comments resolved

* fix(component): format with prettier

---------

Co-authored-by: Prakash Choudhary <prakashchoudhary@Prakashs-iMac.local>
2024-02-21 23:12:44 -05:00
աӄա
60e453d265
fix(docs): typos (#2373) 2024-02-18 01:57:41 -03:00
աӄա
e4ba43b4e3
fix(components): input label overlapping issue (#2371)
* fix(components): input label overlapping issue

* chore(root): add changeset for input overlapping issue
2024-02-17 15:10:12 -03:00
Ali Idrizi
0b5cde7bc4
fix(spinner): pass classNames.label to slot (#2325) 2024-02-12 21:37:57 -03:00
HaRuki
9ff61b5d54
docs(components): table component link for storybook does not work (#2342) 2024-02-12 21:08:40 -03:00
HaRuki
7a3015c497
docs(components): tabs component link for storybook does not work (#2344) 2024-02-12 21:08:15 -03:00
Frozen FIsh
2106d987f2
fix: plop template error (#2333)
* chore: replace wrong script

* fix: plop templates
2024-02-11 10:34:09 -03:00
Friedemann Sommer
bea1e1fde8
components/tooltip replace "useLayoutEffect" with "useSafeLayoutEffect" (#2021) 2023-12-23 12:40:19 -03:00
Junior Garcia
01aedcf09b
fix(popover): isDismissable prop passed to aria popover hook (#2032) 2023-11-24 09:46:51 -03:00
Junior Garcia
436ba1cd84
fix(input): clearable feature (#2031) 2023-11-24 09:35:49 -03:00