աӄա
59428b183d
fix(theme): button scaling when disableAnimation is true ( #3499 )
2024-07-18 10:36:47 -07:00
Abhinandan
46edcca954
fix(table): sortable header slow color change during theme change ( #3491 )
...
* fix(table): sortable header slow color change during theme change
* chore(changeset): add space
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com>
2024-07-18 10:36:15 -07:00
Abhinandan
8b193072e5
fix(modal): double scrollbar in inside scrollbehaviour ( #3495 )
...
* fix(modal): double scrollbar in inside scrollbehaviour
* chore(changeset): update changeset message and add issue number
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com>
2024-07-18 10:35:42 -07:00
Abhinandan
1fdbf2ad20
fix(date-range-picker): calendar-content width as per visible-months ( #3505 )
2024-07-18 10:34:13 -07:00
աӄա
5591138bff
fix(system-rsc): defaultVariants null case in extendVariants ( #3503 )
...
* fix(system-rsc): defaultVariants null case in extendVariants
* chore(changeset): add issue number
2024-07-18 10:33:26 -07:00
github-actions[bot]
8192e0ee07
ci(changesets): version packages ( #3266 )
...
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2024-07-17 14:21:14 -07:00
Abhishek Tomar
049d23685f
fix(table): resolve double fetch issue in useInfiniteScroll hook ( #3332 )
...
* fix(table): resolve double fetch issue in useInfiniteScroll hook (fix #3251 )
* fix(table): remove unnecessary else clause
* fix(table): add a changeset file for use-infinite-scroll
* fix(hooks): add clearTimeout function
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com>
2024-07-12 11:35:37 -07:00
chirokas
c1f05ecb46
fix(time-input): minValue and maxValue validation ( #3426 )
...
* fix(time-input): minValue and maxValue validation (#3424 )
* test(time-input): update
* refactor(time-input): simplify `isInvalid` logic
2024-07-12 11:30:03 -07:00
Abhinandan
2333c39870
fix(input): fixed the background change on autofill in Chrome ( #3430 )
...
* fix(input): fixed the background change on autofill in Chrome
* fix(input): fixed the background change on autofill in Chrome
* chore(changeset): add issue number
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com>
2024-07-12 11:25:36 -07:00
KumJungMin
134f371843
fix(datePicker): prevent year, month change in showMonthAndYearPickers mode ( #3088 )
...
* fix: prevent year, month change error in showMonthAndYearPickers mode
* docs: add changeset
* docs: edit changeset
* test: add test code about date clear issue in date picker
* test: update test code
* test: check application aria is same with current date
* chore(changeset): revise package and add issue number
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com>
2024-07-08 08:01:36 +08:00
winches
60bb09fe64
fix: tsc errors ( #3362 )
...
* fix: tsc error
* docs: changeset
* fix: test
* fix: test
* fix: review problem
* fix: review
2024-07-07 12:19:09 +08:00
winches
0cdfdb48bc
fix: onSelectionChange type incorrect ( #3336 )
...
* fix: onSelectionChange type incorrect
* feat: export shardSelection
* fix: typo
* fix: review
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com>
2024-07-06 11:01:49 -07:00
Abhinandan
5652e7bddc
fix(date-picker): resolve width clipping issue on 90/110% zoom ( #3416 )
...
* fix(date-picker): resolve width clipping issue on 90/110% zoom
* fix(date-picker): resolve width clipping issue on 90/110% zoom
* Delete .changeset/metal-bats-reflect.md
* Update weak-dingos-chew.md
* chore: add storybook
---------
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com>
2024-07-06 10:59:13 -07:00
աӄա
93f1787815
fix(input): input with file type ( #3268 )
...
* fix(input): remove value & onChange for input[type="file"]
* refactor(theme): remove unnecessary styles
* fix(theme): input file styles
* fix(theme): revise cursor-pointer on file
* feat(input): add file input logic
* feat(changeset): add changeset
* refactor(input): use warn function from shared-utils instead
* feat(input): add file type story
* refactor(input): include in Input Types
2024-07-06 10:54:48 -07:00
աӄա
a3a77bfc37
fix(image): optional height ( #3420 )
...
* fix(image): optional height
* fix(image): incorrect props
* feat(changeset): add changeset
2024-07-06 10:53:05 -07:00
chirokas
8dce94e5f0
fix(accordion): pass missing dividerProps to Divider ( #3392 )
...
* chore(deps): pnpm-lock.yaml
* fix(accordion): pass missing `dividerProps` to Divider
* chore(changeset): add issue number
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com>
2024-07-06 17:47:53 +08:00
Pratyush Kongalla
35e709de7d
fix(navbar): shouldHideOnScroll fixed ( #3315 )
...
* fix(navbar): shouldHideOnScroll fixed
* Update packages/hooks/use-scroll-position/src/index.ts
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Update index.ts
* fix(navbar): applying suggested changes
---------
Co-authored-by: Pratyush <conenct2pratyush@gmail.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-07-06 01:06:30 -07:00
աӄա
444d320dbc
fix(popover): close popover on scroll ( #3414 )
...
* fix(popover): close popover on scroll
* feat(popover): add "should close popover on scroll" test
* feat(changeset): add changeset
* feat(select): add ScrollableContainerTemplate
2024-07-06 01:04:56 -07:00
աӄա
a164c26e96
fix(date-picker): open and close datepicker after pressing selector button ( #3283 )
...
* fix(date-picker): use trigger ref instead
* fix(date-input): add innerWrapperProps
* fix(date-picker): include popoverTriggerRef and add onPress to selector
* feat(date-picker): add test
* feat(changeset): add changeset
* refactor(date-input): merge innerWrapperPropsProp & props and add cn
2024-07-06 01:01:19 -07:00
Sjoerd van Bommel
b4c046fe8b
fix(table): differentiate selected bg color from striped bg color ( #3221 )
...
* fix: override bg color when selecting striped row
* chore(style): differentiate selected bg color from striped row
* chore: changeset
* chore(changeset): add issue number
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com>
2024-07-06 01:00:57 -07:00
աӄա
57f7c9555e
fix(image): override default auto height ( #3327 )
...
* fix(image): override default auto height
* feat(changeset): add changeset
* feat(image): add test
* refactor(image): add comment
2024-07-06 00:54:01 -07:00
աӄա
0462dde0a7
fix(popover): dialog focus behaviour ( #3311 )
...
* fix(autocomplete): set skipDialogFocus to true
* feat(popover): add skipDialogFocus to free solo popover
* refactor(popover): rename variable and add comment
* refactor(autocomplete): rename variable and add comment
* feat(changeset): add changeset
2024-07-06 00:44:44 -07:00
աӄա
f5d94f96e4
fix: incorrect year in showMonthAndYearPickers with locale ( #3331 )
...
* fix(date-input): add gregorian year offset to minValue & maxValue
* feat(shared-utils): add getGregorianYearOffset
* fix(calendar): add gregorian year offset to minValue & maxValue
* feat(changeset): add changeset
* fix(system): remove defaultDates.minDate and defaultDates.maxDate
* fix(calendar): add missing import
* feat(date-picker): add test
* feat(calendar): add test
2024-07-06 00:39:41 -07:00
աӄա
fd4b7200dd
fix(calendar): disable button picker in calendar if isDisabled is true ( #3358 )
...
* fix(calendar): disable button picker in calendar if `isDisabled` is true
* feat(changeset): add changeset
* feat(calendar): add test to cover showMonthAndYearPickers with isDisabled
2024-07-06 00:33:43 -07:00
Ryo Matsukawa
1cd64b2e2e
fix(select): import HiddenSelect and UseSelectProps ( #3368 )
...
* fix(select): import HiddenSelect and UseSelectProps
* chore: merge import
2024-07-06 00:28:12 -07:00
աӄա
7cc1bd78a3
fix(select): close select by pressing selector button ( #3374 )
...
* feat(select): add test
* fix(select): use domRef in ariaShouldCloseOnInteractOutside
* feat(changeset): add changeset
* fix(select): rewrite "should unset form value" test
2024-07-06 00:24:17 -07:00
աӄա
c5ab49afa4
fix(user): avatar icon not shown in User component ( #3387 )
...
* chore(deps): pnpm-lock.yaml
* fix(user): avoid passing user name to avatar component
* feat(changeset): add changeset
* feat(user): add avatar icon test cases
2024-07-06 00:21:51 -07:00
Ryo Matsukawa
3cdfb2afca
fix: remove autoCapitalize to prevent Firefox warning ( #3376 )
...
* fix: remove autoCapitalize to prevent firefox warning
* chore: add changeset
2024-07-06 00:17:07 -07:00
Ryo Matsukawa
106752aaef
fix(accordion): allow cursor navigation within text ( #3419 )
...
* fix(accordion): allow cursor navigation within text
* fix: wrong issue number
2024-07-05 23:40:17 -07:00
Ryo Matsukawa
42183353a1
fix(radio): ensure radio input correctly references description ( #3301 )
...
* fix(radio): ensure radio input correctly references description
* refactor: tweak test
2024-06-23 10:01:11 -03:00
Ryo Matsukawa
edd48a09cc
chore: add accessible name to the icon button ( #3300 )
2024-06-23 09:58:39 -03:00
աӄա
e9a6a162e8
fix(accordion): variants for nested accordions ( #3291 )
...
* feat(accordion): add data-variant
* fix(theme): revise accordion styles for variants
* feat(changeset): add changeset
* chore(theme): rollback content padding
* chore(accordion): abandon data-group approach
* refactor(theme): pass variant to accordionItem
* refactor(accordion): pass variant to accordionItem
* fix(accordion): revise accordion variants
* refactor(accordion): refine transitionVariants
2024-06-22 10:44:19 -03:00
Junior Garcia
773f3004a6
fix(date-picker): update calendar classNames in useDateRangePicker ( #3258 )
...
* fix(date-picker): update calendar classNames in useDateRangePicker
* feat(docs): include custom styles in date-range-picker docs
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com>
2024-06-22 10:41:03 -03:00
աӄա
f785d1fb04
fix(system-rsc): extendVariants with defaultVariants ( #3299 )
2024-06-22 10:36:22 -03:00
աӄա
6951b1fba0
fix(avatar): remove extra disableAnimation prop in getImageProps ( #3260 )
2024-06-16 14:20:13 -03:00
github-actions[bot]
571522cb4b
ci(changesets): version packages ( #3147 )
...
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2024-06-15 12:36:54 -03:00
աӄա
47c2472fb2
fix: RA dependencies bump ( #3240 )
...
* 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>
2024-06-14 21:44:58 -03:00
chirokas
75d1223178
fix(table): table-column align prop ( #2900 )
2024-06-14 21:17:20 -03:00
Minsu
b9bb06ff37
fix(utilities): resolve assignRef TypeScript ref assignment issue ( #3098 )
...
* fix(utilities): resolve assignRef TypeScript ref assignment issue
* chore(changeset): revise changeset message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com>
2024-06-14 21:09:25 -03:00
chirokas
255c641f96
fix(autocomplete): controlled state logic ( #2969 )
...
* fix(autocomplete): autocomplete controlled state (#2955 )
* chore(autocomplete): add changeset
* Update packages/components/autocomplete/__tests__/autocomplete.test.tsx
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2024-06-14 21:08:09 -03:00
Ryo Matsukawa
df0126f93f
refactor(date): updated errorMessage story and modified to import props ( #3112 )
...
* refactor(date): updated errorMessage story and modified to import props
* docs(date): add errorMessageFunction examples
* chore: add changeset
* fix: remove unnecessary props
* fix: typo
2024-06-14 21:00:11 -03:00
Ryo Matsukawa
3da81494c3
feat(date-picker): add support for DatePicker to apply styles to DateInput ( #3146 )
...
* feat(date-picker): add support for DatePicker to apply styles to DateInput
* chore: update changeset
* docs(date-picker): add dateInputClassNames props
2024-06-14 20:58:11 -03:00
աӄա
dbb4b8ee56
fix(input): input display with hidden type ( #3174 )
...
* fix(input): input display with hidden type
* chore(input): add isHiddenType to dependency
* refactor(input): move the styles to theme and change hidden to data attr
* feat(theme): add isHiddenType to input
* chore(changeset): include theme package
* chore(input): revise input test
* fix(theme): remove isHiddenType from variants and use data-hidden prop instead
* fix(theme): remove isHiddenType from defaultVariants
* fix(input): remove isHiddenType passing to input
2024-06-14 20:56:52 -03:00
աӄա
5b9e317a80
fix(use-aria-menu): link logic in useMenuItem ( #3229 )
2024-06-13 23:25:00 -03:00
Ryo Matsukawa
d8ceab3579
fix(tabs): set tab panel id correctly ( #3246 )
2024-06-13 23:07:34 -03:00
աӄա
a06422f373
fix(select): unset form value after unselecting an item ( #3157 )
...
* fix(select): set empty string instead of undefined for unsetting value
* feat(selet): should unset form value
2024-06-06 21:47:45 -03:00
աӄա
5c83e9ceaf
fix(tabs): destroyInactiveTabPanel unmounts inactive tabs' content ( #3164 )
...
* fix(tabs): incorrect content in tab panel
* feat(tabs): revise destroyInactiveTabPanel test cases
2024-06-06 21:45:44 -03:00
աӄա
a0d6a77efb
fix(select): add missing data-invalid in select and add missing data attributes in docs ( #3177 )
...
* fix(select): add missing data-invalid attribute
* chore(docs): add missing data attributes for select base
2024-06-06 21:35:59 -03:00
աӄա
3500147d7f
chore(checkbox): avoid passing non-DOM attributes to svg ( #3199 )
...
* chore(docs): avoid passing non-DOM attributes to svg
* chore(utilities): avoid passing non-DOM attributes to svg
* feat(changeset): add changeset
2024-06-06 13:06:36 -03:00
աӄա
2069a7a9d0
fix(autocomplete): maximum update depth exceeded in autocomplete ( #3175 )
2024-06-04 09:19:17 -03:00