2694 Commits

Author SHA1 Message Date
Mohammad Reza Badri
9873c6fb83
fix: handle RTL direction divider storybook (#2483) (#2484) 2024-04-15 21:21:15 -03:00
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
աӄա
abf532b548
fix: selectedKeys are not present in the collection warning in async case (#2648)
* fix(hook): add AsyncLoadable & show warning after data is loaded

* fix(hooks): change isLoading default state to true

* refactor(hooks): move the logic to missingKeys

* refactor(changeset): rephrase changeset description
2024-04-14 16:37:27 -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
u3u
4dd2605ac2
fix: remove conflicting transition utilities (#2677)
* fix: remove conflicting transition utilities

see: https://tailwindcss.com/docs/transition-property

* chore: add changeset

* fix: typo

* chore: remove comments
2024-04-14 12:57:17 -03:00
Junior Garcia
dab0534095 chore(main): lock file updated 2024-04-14 11:40:32 -03:00
Junior Garcia
12bf410807 chore(docs): tailwindcss upgraded 2024-04-14 11:39:09 -03:00
winches
09504cd702
feat: add peerDep files in components.json and update theme peerDep (#2689) 2024-04-14 11:38:12 -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
feab3e6c1d
fix: correct links in docs (#2708) 2024-04-14 11:28:21 -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
աӄա
2829d4afae
fix(core): hsl rounding issue (#2702) 2024-04-13 12:30:51 -03:00
winches
ebab10804c
feat: rename newPost to new (#2665) 2024-04-07 13:03:52 -03:00
Bryson Tang
6da144f459
Update remix.mdx (#2638) 2024-04-04 13:10:48 -03:00
winches
6811ce52c3
feat: add style attribute in components.json (#2632) 2024-04-02 15:13:14 -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
աӄա
a60c2d7b22
fix(hooks): handle numeric selectedKeys in Select (#2589) 2024-04-02 08:45:09 -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
Tsuki
410e30c720
Add bun as package manager eng 581 (#2625)
* feat: add bun social icon

* chore: add bun to package-managers.tsx

* chore: add bun to installation.mdx
2024-04-01 15:29:03 -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
աӄա
a597c82a9c
fix(image): className in image blurred example (#2540) 2024-03-31 15:17:33 -03:00
աӄա
0359bf3084
fix(skeleton): fixed missing disableAnimation behavior in skeleton (#2538) 2024-03-31 15:17:02 -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
winches
b14067bb94
feat: add component meta data (#2590)
* feat: add component meta data

* feat: add component meta data

* feat: add description and status component data

* fix: review problem
2024-03-31 11:56:28 -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
Sagar Joshi
cf0d4e471e
Update override-styles.mdx (#2588) 2024-03-26 07:37:52 -03:00
HaRuki
2aa476455f
fix(docs): some user links in support us section led to 404 pages (#2576) 2024-03-24 18:42:46 -03:00
winches
ee7a819147
fix: recycle import error (#2568) 2024-03-22 15:49:33 -03:00
codeesura
fb0625470f
Sort 'Space' Type Values in Ascending Order (#2545)
Reordered `Space` type values to a logical ascending sequence (0.5, 1, 1.5, etc.) for improved readability and consistency. No functional impact on the code.
2024-03-21 13:06:43 -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
Orion Railean
0973cd9bff
docs(snippet): fix grammatical error (#2557) 2024-03-21 12:53:03 -03:00
Junior Garcia
e67b3af223 chore(root): remove beano subproject 2024-03-15 22:58:28 -03:00
Mohammad Reza Badri
52dafd08f1
fix(input): resolve RTL support (#2315) (#2316)
* fix(input): resolve RTL support (#2315)

* fix: add changeset

* fix: add changeset for rtl input

* fix: convert changeset rtl input to ptach
2024-03-15 22:52:35 -03:00
Frozen FIsh
ceeb52363d
feat(docs): Integrate kapaai (#2428)
* test(docs): test kapa.ai script

* feat(docs): add script-providers.tsx

* refactor(docs): update layout.tsx

* chore(docs): update script-providers.tsx

* refactor(docs): update layout.tsx
2024-03-15 22:48:34 -03:00
Mohammad Reza Badri
0d9ea4925b
fix(kbd): add RTL support to the kbd component (#2481) (#2482) 2024-03-15 22:46:09 -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
Alpha Xek
b0ee8e3fc2
fix(disabled table rows): fixed cursor for disabled rows in Table (#2502)
* fix(disabled table rows): fixed cursor for disabled rows

Fixed cursor for disabled rows in Table rows .

* fix(disabled table rows): changeset fix

---------

Co-authored-by: Alpha <116849110+alpha-xek@users.noreply.github.com>
2024-03-15 22:40:17 -03:00
Mohammad Reza Badri
5d84634c0a
fix: add RTL support to the avatar group component (#2498) 2024-03-15 22:39:44 -03:00
HaRuki
9496ab57c5
fix(docs): listbox with description (#2513) 2024-03-15 22:37:50 -03:00
Alpha Xek
5ea479f6c4
fix(table striped): isStriped prop fix for multiple computed values in td (#2509)
* fix(table striped): multiple computed values in `td`

Fixed `Table` rendering the contents of the cell beneath the stripe for the multiple computed values

* fix(table striped): multiple computed values in `td`

* fix(table striped): changeset fix

* fix(table striped): changeset description enhancement

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

---------

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 09:20:36 -03:00
աӄա
cda881799c
fix(docs): remove non-existing triggerType props in Tooltip (#2520) 2024-03-15 09:14:37 -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