712 Commits

Author SHA1 Message Date
chirokas
d621b2923e
fix(autocomplete): highlight item in AutocompleteSection during keyboard navigation (#3726) 2024-09-07 22:59:00 +08:00
Shrinidhi Upadhyaya
985c2e1dd3
fix(input): added hover and focus to input when label placement is outside-left #2328 (#2958)
* fix(range-calendar): hide only dates outside the month #2890

* fix(range-calendar): corrected spelling mistake in changeset description

* fix(range-calendar): corrected capitalization in changeset description

* fix(input): added hover and focus to input when label placement is outside-left #2328

* fix(input): label props mergeProps precedence change

---------

Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de>
2024-09-07 18:21:31 +08:00
աӄա
60cd878ee4
chore(autocomplete): should blur after clicking outside autocomplete (#3721) 2024-09-06 11:21:56 +08:00
աӄա
485b8653de
chore(input): rollback PR3533 (#3720) 2024-09-06 10:13:18 +08:00
chirokas
123b7fbc9f
refactor(overlays): improve stability, and complexity (#3467)
* feat(hooks): new `use-aria-overlay` package

* refactor(overlays): use custom `useAriaOverlay`

* chore(modal): remove unnecessary `onClose: state.close`

* chore(popover): remove duplicate `ariaHideOutside`

* test(modal): only hide the top-most modal

* chore: add changeset

* refactor(hooks): useAriaOverlay tweaks

---------

Co-authored-by: WK Wong <wingkwong.code@gmail.com>
2024-09-05 22:06:32 +08:00
chirokas
81da063d6a
fix(autocomplete): ignore pointer events when the clear button is hidden (#3000)
* fix(autocomplete): hide clear button with `visibility: hidden`

* fix(autocomplete): clear button pointer-events

* refactor(autocomplete): improve keyboard reopen issue on mobile

* chore: add changeset

* refactor(autocomplete): apply chain and add type to e

---------

Co-authored-by: WK Wong <wingkwong.code@gmail.com>
2024-09-05 17:24:15 +08:00
chirokas
19c331be75
refactor(popover): use usePreventScroll instead of react-remove-scroll (#3307)
* refactor(popover): use `usePreventScroll` instead of `react-remove-scroll`

* chore: lint

* refactor(popover): use `usePreventScroll` instead of `react-remove-scroll`

* chore: lint

* fix(tooltip): `shouldBlockScroll` prop

* chore(storybook): revert

* chore(changeset): update changeset

---------

Co-authored-by: WK Wong <wingkwong.code@gmail.com>
2024-09-05 17:22:52 +08:00
Shrinidhi Upadhyaya
87336c74bb
fix(docs): changed breakpoint to md (#2630)
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de>
2024-09-03 19:50:57 +08:00
ryoon
3d6865586f
fix(input): prevent clearable when input is readonly (#3643)
* fix(input): prevent clearable when input is readonly

* test(input): add tests for isReadOnly and isClearable interaction

* chore(changeset): add changeset for fixing clear button visibility with isReadOnly

* fix(input): disable clear button from input is readonly

* test(input): disable clear button when input is readonly

* chore(changeset): update changeset

* chore(changeset): revise message

---------

Co-authored-by: WK Wong <wingkwong.code@gmail.com>
2024-09-03 19:48:06 +08:00
աӄա
3e06ef64cc
fix(modal): modal position when keyboard appears (#3691)
* feat(theme): add h-[--visual-viewport-height] to modal wrapper

* fix(modal): apply --visual-viewport-height

* chore(changeset): add changeset
2024-09-01 09:34:24 +08:00
Amey Bhavsar
55c92981e0
fix(calendar): arrows changing order when html has dir="rtl" (#3656)
* fix(calendar): #3641,#3642 add order and row-reverse to arrows for rtl layout support

* chore(changeset): patch @nextui-org/calendar

* chore(changeset): add missing package and revise changeset message

---------

Co-authored-by: WK Wong <wingkwong.code@gmail.com>
2024-08-31 00:43:04 +08:00
Facundo Tenuta
048de6e9b2
fix(navbar): allow height prop to accept number type and fix broken menu (#3601)
* fix(navbar): allow height prop to accept number type and fix broken menu

* fix(navbar): menu breaking when a numerical height value is provided. changeset
2024-08-29 12:55:10 +08:00
Abhinandan
3c0a486cea
fix(link): deprecated onClick warning on using onPress (#3569)
* fix(navbar): fixed the height when style h-full

* fix(navbar): fixed the height when style h-full

* fix(link): deprecated onClick warning on using onPress

* refactor(link): add comment

* chore(changeset): revise changeset message

---------

Co-authored-by: WK Wong <wingkwong.code@gmail.com>
2024-08-29 12:53:23 +08:00
AnthonyPaulO
a254abf535
fix(input): sync ref value to internal value (#3533)
* fix: sync ref value to internal value #3024 #3436

* feat: changeset - added changeset

* chore: remove comment

* chore(changeset): add issue numbers

* refactor(input): revise typing

---------

Co-authored-by: Anthony Ortiz <anthonypaulo@hotmail.com>
Co-authored-by: WK Wong <wingkwong.code@gmail.com>
2024-08-29 10:24:45 +08:00
Abhinandan
2a34880644
docs(storybook): remove overriding and unused code (#3566)
* fix(navbar): fixed the height when style h-full

* fix(navbar): fixed the height when style h-full

* docs(storybook): removed unnecessary code lines

* Delete .changeset/brown-days-applaud.md
2024-08-29 10:21:15 +08:00
Gtio
4f8ae50cf4
fix(dropdown): respect closeOnSelect prop on DropdownItem (#2598)
* fix(dropdown): fix dropdown menu unexpected close when closeOnSelect is false (#2290)

* feat(changeset): Updated DropdownMenu to respect closeOnSelect prop on DropdownItem

* fix(dropdown): add Template

* fix(dropdown): add tests

* fix(dropdown): fixing logic gaps

* fix(changeset): incorrect package name

---------

Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com>
2024-08-16 16:47:24 +08:00
github-actions[bot]
f052c34d47
ci(changesets): version packages (#3513) 2024-07-19 08:20:08 -07:00
github-actions[bot]
cef11222fa
ci(changesets): version packages (#3508)
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2024-07-18 10:59:03 -07:00
github-actions[bot]
0185952ed4
ci(changesets): version packages (#3507)
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2024-07-18 10:41:33 -07:00
Abhinandan
1fdbf2ad20
fix(date-range-picker): calendar-content width as per visible-months (#3505) 2024-07-18 10:34:13 -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
աӄա
bbebb79ced
fix(autocomplete): remove unnecessary state.close (#3464)
* fix(autocomplete): remove unnecessary state.close

* feat(autocomplete): add fully controlled template

* feat(autocomplete): should clear value after clicking clear button (controlled)
2024-07-16 14:11:28 -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
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
աӄա
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
աӄա
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
winches
167e1977ee
feat: eslint add rule prefer top level type import (#3354) 2024-07-06 00:32:14 -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
Shrinidhi Upadhyaya
9806d1c6c0
fix(date-range-picker): input field clear error (#3409)
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de>
2024-07-06 00:12:11 -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
Ankit
9daef56a88
fix(table): custom with class names storybook styles (#3344)
* fix: #3338

* fix(table): custom with class names storybook styles
2024-06-29 18:26:37 -03:00
աӄա
720f2f5a2e
refactor(.github): github action warnings (#3317)
* chore(.github): bump action versions

* refactor(autocomplete): linting

* chore(.github): without version
2024-06-25 11:22:30 -03: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
աӄա
6951b1fba0
fix(avatar): remove extra disableAnimation prop in getImageProps (#3260) 2024-06-16 14:20:13 -03:00