546 Commits

Author SHA1 Message Date
Peterl561
93c9df15d9
fix(input-otp): form validation hook missing behavior prop (#4417)
* fix(input-otp): form validation hook missing behavior

* test(input-otp): isRequired form test

* chore(changeset): fixed input-otp isRequired error message
2024-12-22 10:11:54 -03:00
Peterl561
f7e1b17c40
fix(select): remove input from hidden-select (#4427)
* fix(select): use select missing commitValidation call

* fix(select): remove hidden input from hidden-select

* test(select): updated validation tests

* chore(changeset): fix native validation behavior for select
2024-12-22 10:09:42 -03:00
աӄա
c0e3dab5e8
fix(calendar): invalid prop ref supplied to React.Fragment (#4428)
* fix(calendar): remove unnecessary fragment

* feat(changeset): add changeset
2024-12-22 09:41:53 -03:00
Maharshi Alpesh
afe0b527ce
fix: input in card becomes invisible on hover and make date-input and time-input consistent (#4394) 2024-12-18 11:08:54 -03:00
Junior Garcia
e15ef62b6c
fix: icon wrapper border on alert component (#4383) 2024-12-17 12:20:27 -03:00
աӄա
fa38828345
refactor: use onPress event instead (component-wise) (#4354)
* refactor: use onPress event instead

* chore(changeset): add changeset

* refactor(button): remove duplicate test case

* refactor(link): remove duplicate test case

* chore: add back onClick test case

* chore(menu): keep onClick test case

* chore: keep the original order
2024-12-17 11:16:10 -03:00
աӄա
5946e90335
fix(alert): slots & variantProps import (#4365) 2024-12-17 11:15:50 -03:00
աӄա
9e8a656665
fix(input): label placement with file input type (#4366) 2024-12-17 11:15:13 -03:00
Maharshi Alpesh
2f55ecb4b2
fix(input-otp): filter disallowed characters from value prop (#4338)
* fix: input should filter away disallowed characters from value prop

* chore(changeset): add space

---------

Co-authored-by: WK Wong <wingkwong.code@gmail.com>
2024-12-16 19:44:04 +08:00
Peterl561
e546124e1d
fix(theme): menu overflow use clip (#4373)
* fix(theme): menu overflow use clip
fixes listbox section sticky not working

* chore(changeset): fix listbox section sticky not working

* chore(changeset): add issue number

---------

Co-authored-by: WK Wong <wingkwong.code@gmail.com>
2024-12-16 19:43:36 +08:00
刘佳闻
77206bc625
fix(shared-utils): process?.env will not transform to env by transcompiler (#4327)
* Fix (console.ts): process?.env will not transform to env by transcompiler

* chore(changeset): add changeset

---------

Co-authored-by: WK Wong <wingkwong.code@gmail.com>
2024-12-12 13:07:44 +08:00
WK Wong
111178338d chore(changeset): update packages 2024-12-11 23:51:19 +08:00
WK Wong
0b117e59b2 fix(switch): bump @nextui-org/theme in peerDependencies 2024-12-11 23:47:19 +08:00
Maxim Shlyamov
76a72a9d1c
fix(system-rsc): extendVariants typescript type (#4291)
* fix: ReactElement type

* fix: extendVariants forwardRef return type

* feat: add changeset

* chore(changeset): change to patch

---------

Co-authored-by: աӄա <wingkwong.code@gmail.com>
2024-12-11 12:36:10 +08:00
github-actions[bot]
85893b5440
ci(changesets): version packages (#4323)
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2024-12-10 18:12:33 -03:00
Junior Garcia
78c09280e3
fix: on click event on interactive elements (#4322) 2024-12-10 18:01:39 -03:00
github-actions[bot]
cc5f98dd40
ci(changesets): version packages (#4316)
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2024-12-10 11:29:21 -03:00
Junior Garcia
5598806216
fix: build (#4314) 2024-12-10 11:21:47 -03:00
github-actions[bot]
10ea739986
ci(changesets): version packages (#4298)
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2024-12-10 10:50:29 -03:00
Junior Garcia
03abf1daf4
fix: radio, checkbox, switch touch and selection behavior (#4311)
* fix: radio, checkbox, switch touch and selection behavior

* Update .changeset/violet-tools-refuse.md

* fix: switch toggle on tables
2024-12-10 10:26:09 -03:00
Tsuki
dfefdd6250
refactor: button & card ripple (#4284)
* chore: update use-button.ts

* chore: update use-ripple.ts

* chore: update use-card.ts

* chore: add changeset
2024-12-10 10:25:52 -03:00
Ryo Matsukawa
aa5ea19a3c
fix(dropdown): correct initial animation direction to match fallback placement (#4288)
* fix(dropdown): correct initial animation direction

* chore: add changeset

* fix: typo
2024-12-10 10:07:50 -03:00
Maharshi Alpesh
1485eca48f
fix(input-otp): autofocus (#4296)
* fix: autofocus the input-otp when auto-focus prop is passed

* fix: adding marcus' suggestions
2024-12-09 23:56:53 +08:00
Maharshi Alpesh
11eae5cc80
fix: reverting pr4168 (#4286)
* Revert "chore: adding the tests"

This reverts commit bd28852a484fb9f6a7dd18b8fc75fe1dae6d2779.

* Revert "fix(items): items in list should wrapped in li in case of a"

This reverts commit 57fb87abb0c3775bf408aef80f0afc8fb1ca9265.

* chore: adding the changeset
2024-12-09 22:49:07 +08:00
github-actions[bot]
3b390fb33a
ci(changesets): version packages (#4280)
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2024-12-08 09:47:51 -03:00
աӄա
1031e985b7
chore(deps): sync with upstream RA versions (#4258)
* chore(deps): sync with upstream RA versions

* chore(changeset): add changeset

* chore(form): remove caret

* chore(deps): pnpm-lock.yaml

* fix(tooltip): type 'null' is not assignable to type 'PlacementAxis'

* fix(deps): bump `@internationalized/date`

* chore(deps): sync `@react-types` versions

* fix(input): follow RAC typing in useTextField

* fix(popover): typecheck error

* fix: typecheck errors

* fix: typecheck errors

* fix(docs): bump RA versions

---------

Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2024-12-08 09:38:06 -03:00
Junior Garcia
455556e142
fix: missing react-types package added (#4264)
* fix: missing react-types package added

* chore: react types version increased
2024-12-08 09:20:16 -03:00
աӄա
26b33a51f0
fix(dropdown): unnecessary ref in dropdown (#4278) 2024-12-08 08:53:08 -03:00
Junior Garcia
b16291b220
fix: ref in form component (#4279) 2024-12-08 08:50:11 -03:00
github-actions[bot]
6fb6140adf
ci(changesets): version packages (#4261)
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2024-12-07 09:20:34 -03:00
աӄա
6a94a125d4
fix(deps): incorrect peerDependencies for theme and system package (#4255)
* fix(deps): incorrect peerDependencies for theme and system package

* chore(changeset): add changeset
2024-12-07 09:10:50 -03:00
github-actions[bot]
ac94e47e67
ci(changesets): version packages (#4248) 2024-12-06 19:11:51 -03:00
Junior Garcia
551ab18406
fix: v2.6.0 (#4247)
* fix: v2.6.0

* chore: update framer motion version
2024-12-06 19:05:41 -03:00
github-actions[bot]
1d39358bd5
ci(changesets): version packages (#4237)
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2024-12-06 11:44:32 -03:00
Junior Garcia
d6eee4a876 chore: v2.6.2 2024-12-06 11:36:59 -03:00
github-actions[bot]
3a10d5ff52
ci(changesets): version packages (#4236)
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2024-12-06 11:31:49 -03:00
Junior Garcia
71e2d8c601
fix: snippet release (#4235) 2024-12-06 11:29:02 -03:00
github-actions[bot]
bbb436b89b
ci(changesets): version packages (#4186)
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2024-12-06 10:34:46 -03:00
աӄա
6c0213dfc8
fix(deps): bump @react-aria/utils version (#4226)
* fix(deps): bump `@react-aria/utils` version

* chore(changeset): add changeset
2024-12-05 08:50:42 -03:00
Junior Garcia
26e478dd93
fix: form fixes and improvements (#4224) 2024-12-04 19:30:00 -03:00
Peterl561
adbd85ee95
fix(pagination): cursor position when hidden on init (#4222)
* fix(pagination): cusor position when hidden on init

* test(pagination): cursor intersection observer

* chore(changeset): pagination cursor position fix

* refactor(pagination): minor nitpicks
- check for null ref in usePagination
- restore original IntersectionObserver in test
2024-12-04 19:28:03 -03:00
Peterl561
1855ba4390
fix(select): hideEmptyContent API (#4219)
* fix(select): hideEmptyContent API

* test(select): hideEmptyContent tests

* docs(select): hideEmptyContent API

* chore(select): hideEmptyContent storybook

* chore(changeset): add hideEmptyContent API to select

* refactor(select): hideEmptyContent nitpick

* test(select): hideEmptyContent UI assertions

* fix(select): hideEmptyContent default false

* docs(select): hideEmptyContent default false
2024-12-04 19:20:19 -03:00
Maharshi Alpesh
729ede8de7
fix(touch): fixing the selection functionality on touch (#4220)
* fix(touch): fixing the selection functionality on touch

* fix: radio, checkbox & switch interactions

---------

Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2024-12-04 07:57:10 -03:00
Julio Barrios
af0d20d807
Update data-slot for the error message in the select. (#4214)
* Update data-slot for the error message in the select.

All components use the `data-slot="error-message"` attribute, except for the select component. I observed this behavior when a test in my application started failing.

* refactor(select): refactors the data-slots attribute for the error message
2024-12-03 10:07:13 -03:00
Junior Garcia
6bc616caea
fix: collection based components ref (#4207) 2024-12-01 19:01:43 -03:00
Vincentius Roger Kuswara
44958bf91a
feat(listbox): virtualization (#4206)
* fix: should not export list item internal variables type

* feat: changeset

* fix: type error

* fix: code block type error

* feat: virtualization feature, docs for listbox

* chore: update routes.json

* fix: fix code-demo for typecheck

* chore: rollback for files

* chore: props omitted in the component itself

* fix: menu item types

* fix: tupecheck

---------

Co-authored-by: winches <329487092@qq.com>
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2024-12-01 17:19:22 -03:00
winches
ffb1e554f7
fix: forwardRef render functions not using ref (#4198)
* fix: forwardRef render functions not using ref

* fix: changelog

* fix: review

* fix: forwardRef render functions not using ref

* docs: update changeset
2024-12-01 16:45:47 -03:00
Junior Garcia
1730088234 chore: consolidated changeset 2024-12-01 11:38:41 -03:00
Junior Garcia
baec474143 chore: consolidated changeset 2024-12-01 11:31:17 -03:00
Junior Garcia
5786897b99 chore: single chnageset 2024-12-01 11:23:21 -03:00