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
Junior Garcia
9b7c5e48f2
Merge branch 'main' into canary
2024-12-08 08:43:39 -03:00
Junior Garcia
de046f1df2
chore: editor enabled on v2.6.0 blog
2024-12-07 19:10:55 -03:00
Junior Garcia
a50aa3ea02
Merge branch 'main' into canary
2024-12-07 19:05:19 -03:00
Junior Garcia
c29ad800ea
Update search meta ( #4270 )
...
* fix(input): ensure clear button is not focusable when disabled (#3774 )
* fix(input): ensure clear button is not focusable when disabled
* test(input): add test to ensure clear button is not focusable when disabled
* chore: add changeset for clear button focus fix when input is disabled
* fix(input): update clear button to use button element
* test(input): add focus test when disabled
and update tests for clear button using button element
* test(input): replace querySelector with getByRole for clear button
* fix(input): set tabIndex to -1 for clear button
* test(input): ensure clear button is not focusable
* fix(image): add missing `w` to `getWrapperProps` dependency (#3802 )
* fix(image): add missing `w` to `getWrapperProps` dependency
* chore(changeset): add changeset
* fix(autocomplete): popover should remain open after clicking clear button (#3788 )
* fix: add state.open() so that dropdown is not closed
* chore: add changeset
* chore(autocomplete): add testcases for keeping lisbox open when clearButton is clicked
* chore: update changeset
* chore(autocomplete): change the docs for test cases
* chore(changeset): update changeset message and add issue number
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* refactor(docs): example of blurred card (#3741 )
* docs(card): adding info regarding the gradient for blurred card
* chore(nit): adding example
* chore(docs): revise content for card isBlurred example
* chore(docs): revise isBlurred note
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(docs): replace twitter logo/links with x logo/links (#3815 )
* fix(docs): replace Twitter logo/links with X logo/links
* docs: update twitter references to x
* docs: update changeset for twitter to x changes
* docs: update twitter references to x
* docs: update twitter references to x
* chore(docs): undo .sponsorsrc since it's generated
* refactor(docs): remove unnecessary classes
* chore(docs): undo .sponsorsrc since it's generated
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(date-picker): adding props from calendarProps to getCalendarProps (#3773 )
* fix(date-picker): adding props from calendarProps to the getCalendarProps
* chore(date-picker): adding the changeset
* chore(changeset): add issue number
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* feat(autocomplete): automatically focus first non-disabled item (#2186 )
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* docs(accordion): add overflow to custom motion example (#3793 )
* fix(docs): typos in dark mode page (#3823 )
* fix(theme): fullWidth in input and select (#3768 )
* fix(input): fixing the fullWidth functionality
* chore(changeset): add issue number
* chore(changeset): revise changeset message
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(autocomplete): exit animation on popover close (#3845 )
* fix(autocomplete): exit animation on popover close
* refactor(autocomplete): getListBoxProps
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* refactor(theme): replace the use of RTL-specific styles with logical properties (#3868 )
* chore(rtl): remove the usages of rtl
* chore(changeset): adding the changeset
* chore(changeset): update changeset message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(select): label placement discrepancy in Select (#3853 )
* fix(select): label placement incorrect in case of multiline
* chore(select): adding the changeset
* chore(select): adding the tests
* chore(select): code imrovement, wkw's suggestions
* chore(changeset): update changeset message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(theme): label placement in select and input (#3869 )
* fix(theme): fix the label placement
* chore(changeset): adding the changeset
* chore(select): adding comments
* fix(docs): avoid translating the code block (#3878 )
* docs(Codeblock): avoid code be translated
* fix(docs): lint issue
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(listbox): change listBoxItem key to optional (#3883 )
* fix(listbox): listBoxItem key to optional
* chore: add defaultSelectedKeys test for numeric keys and ids
* chore: add changeset
* chore: comment out section prompts in PR template (#3884 )
* chore(test): update testing libraries and refactor (#3886 )
* fix(theme): show margin only with label in Switch component (#3861 )
* fix(switch): removed right margin in wrapper #3791
* feat(changeset): added changeset
* fix(switch): removed me-2 in wrapper
* fix(switch): added ms-2 to label
* chore(changeset): correct package and message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(theme): removed pseudo cancel btn from input (#3912 )
* fix(theme): removed pseudo cancel btn from input
* chore(changeset): adding the changeset
* fix(input): conditionally hiding the webkit search
* chore(changeset): revise changeset message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* refactor(docs): dx improvement in accordion (#3856 )
* refactor: improve dx for writing a docs component (#2544 )
* refactor: improve dx for write a docs component
Signed-off-by: Innei <i@innei.in >
* refactor(docs): switch to contentlayer2
* chore(docs): rename to avoid conflict
* refactor(docs): switch to next-contentlayer2
* refactor(docs): revise docs lib
* chore(deps): bump docs related dependencies
* fix(use-aria-multiselect): type issue due to ts version bump
---------
Signed-off-by: Innei <i@innei.in >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* refactor(docs): accordion codes
* feat(docs): declare module `*.jsx?raw`
* feat(docs): include `**/*.jsx`
* fix(docs): incorrect content
* chore(docs): add new lines
* refactor(docs): lint
---------
Signed-off-by: Innei <i@innei.in >
Co-authored-by: Innei <tukon479@gmail.com >
* fix(docs): typos in hero section (#3928 )
* fix(theme): support RTL for breadcrumbs (#3927 )
* fix(breadcrumbs): added separator rotation for RTL #2486
* chore(changeset): added changeset
* fix(docs): removed unused import and merged classNames in dropdown (#3936 )
* fix(breadcrumbs): added separator rotation for RTL #2486
* chore(changeset): added changeset
* fix(docs): removed unused Link import and merged classnames in dropdown
* fix: avatar filter disableAnimation to dom prop (#3946 )
* feat: add git hook to auto update dependencies (#3365 )
* feat: add git hook to auto update dependencies
* feat: update color
* fix: prevent test matcher warning (#3893 )
* fix: prevent test matcher warning
* chore: add node types
* chore: update Jest related packages
* chore: run pnpm install
* fix(tabs): correct inert value for true condition (#3978 )
* Alert component (#3982 )
* feat(alert): began the work on alert component
* fix(readme): making correction
* chore(deps): change to 2.0.0
* chore(docs): update README.md
* feat(theme): init alert tv
* chore(alert): update package.json
* feat(alert): init alert storybook structure
* chore(changeset): add changeset
* chore(changeset): change to minor
* chore(alert): revise alert package.json
* feat(alert): init test structure
* chore(deps): pnpm-lock.yaml
* feat(alert): initailized theme and basic structure
* feat(alert): completed use-alert.ts and alert.tsx
* feat(alert): remove innerWrapper, replace helperWrapper with mainWrapper, adding isCloseable prop
* feat(alert): adding isCloseable prop to baseWrapper dependency
* feat(alert): setting the default value of isCloseable prop to true
* feat(alert): moving CloseIcon inside the button
* feat(alert): updated package.json
* feat(alert): default variant and default story
* feat(alert): adding color and radius stories
* feat(alert): completed the styling
* feat(alert): add stories for isCloseable prop and restyle other stories
* feat(alert): correcting ref type
* feat(alert): add test cases
* feat(alert): remove startContent and endContent props
* feat(alert): make styling more accurate
* feat(alert): fixed default props
* feat(alert): fixed theme docs
* feat(alert): add logic for icons
* feat(alert): begin to add docs
* chore(alert): implement the changes suggested in code review
* feat(alert): add onclose prop to alert
* feat(alert): add test cases
* docs(alert): add onClose event
* feat(docs): add alert to routes.json
* fix(alert): correct the text colors
* docs(alert): fix imports and syntax errors
* chore(alert): implement the changes suggested in code review
* chore(alert): lint the code and change isCloseable to isClosable
* chore(alert): lint the code
* chore(alert): run pnpm i
* fix(alert): fix the logic for close button and add test case
* docs(alert): fix docs, change isCloseable to isClosable and change docs for isClosable property
* chore(alert): add the support for RTL, refactor the code and fix the typos
* docs(alert): grammer issues fix
* fix(alert): replace rtl with ms
* chore(alert): custom style and custom implementation, remove isClosable={false}, refactor, fix typos
* chore(alert): linting and implement coderabbit suggestions
* chore(alert): refactor and typos fix
* chore(alert): add import for closeIcon
* chore(alert): add props for closeIcon
* chore(alert): refactor fixes
* chore(alert): implement ryo-manba's suggestion on close Icon
* chore(alert): make alert more responsive
* chore(alert): fix grammer issues suggested by coderabbit
* fix(alert): add max-w property to make alert responsive
* chore(alert): improve responsiveness and refactor alertIcon
* chore(alert): add missing dependency to useMemo
* chore(alert): implement coderabbit's suggestions
* chore(alert): update docs and refactor
* chore(alert): refactor alertIcon and implement coderabbit's suggestion
* chore: fixes
---------
Co-authored-by: Abhinav Agarwal <abhinavagrawal700@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Abhinav Agarwal <78839973+abhinav700@users.noreply.github.com >
* Feat/add draggable modal (#3983 )
* feat(hooks): add use-draggable hook
* feat(components): [modal] export use-draggable
* docs(components): [modal] add draggable modal
* feat(components): [modal] add ref prop for modal-header
* chore(components): [modal] add draggable modal for storybook
* chore: add changeset for draggable modal
* docs(hooks): [use-draggable] fix typo
* chore: upper changeset
* chore(components): [modal] add overflow draggable modal to sb
* test(components): [modal] add draggable modal tests
* build: update pnpm-lock
* chore(changeset): include issue number
* feat(hooks): [use-draggable] set user-select to none when during the dragging
* docs(components): [modal] update code demo title
* docs(components): [modal] condense description for draggable overflow
* feat(hooks): [use-draggable] change version to 0.1.0
* refactor(hooks): [use-draggable] use use-move implement use-draggable
* feat(hooks): [use-draggable] remove repeated user-select
* test(components): [modal] update test case to use-draggable base use-move
* docs(components): [modal] update draggable examples
* fix(hooks): [use-draggable] fix mobile device touchmove event conflict
* refactor(hooks): [use-draggable] remove drag ref prop
* refactor(hooks): [use-draggable] draggable2is-disabled overflow2can-overflow
* test(components): [modal] add draggble disable test
* chore(hooks): [use-draggable] add commant for body touchmove
* Update packages/hooks/use-draggable/src/index.ts
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* fix(hooks): [use-draggable] import use-callback
* test(components): [modal] add mobile-sized test for draggable
* chore(hooks): [use-draggable] add use-callback for func
* chore(hooks): [use-draggable] update version to 2.0.0
* chore: fix typo
* Update .changeset/soft-apricots-sleep.md
* fix: pnpm lock
* fix: build
* chore: add updated moadl
---------
Co-authored-by: wzc520pyfm <1528857653@qq.com >
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* chore: upgrade react-aria / React 19 & Next.js 15 support (#3732 )
* chore: upgrade react-aria
* chore: add changeset
* chore: fix type error
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat(date-picker): add selectorButtonPlacement property (#3248 )
* feat(date-picker): add selectorButtonPlacement property
* chore: update changeset
* Update .changeset/neat-donkeys-accept.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat: add tab ref (#3974 )
* feat: add tab ref
* feat: add changeset
* feat: pre-release workflow (#2910 )
* feat(workflow): pre-release
* feat(workflow): exit pre-release
* chore(workflow): update version & publish commands
* fix(workflow): add missing attributes and use schangeset:beta cmd
* feat(root): add changeset:beta
* fix(workflows): revise pre-release logic
* fix(workflows): add missing run
* fix(workflows): use changeset:exit with version instead
* feat(root): add changeset:exit cmd
* refactor(workflows): add pths, id, and format
* feat(workflows): enter pre-release mode
* chore(workflows): remove pre.json only
* refactor(workflows): remove enter-pre-release-mode
* fix(workflows): incorrect url
* refactor(root): remove unused exit command
* refactor(workflows): add comments
* feat(changeset): change to main branch as baseBranch
* feat(root): add changeset:canary
* refactor(workflows): remove unused workflow
* feat(workflow): support canary pre-release mode
* refactor(docs): change to canary
* feat(popover): added control for closing popover on scroll (#3595 )
* fix(navbar): fixed the height when style h-full
* fix(navbar): fixed the height when style h-full
* docs(changeset): resolved extra file
* feat(popover): added control for closing popover on scroll
* update(changeset): correction
* feat(popover): removed extra story
* refactor(test): corrected test for both true and false values of shouldCloseOnScroll
* refactor(docs): added shouldCloseOnScroll prop
* chore(changeset): change to minor
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
* feat: add month and year pickers to DateRangePicker and RangeCalendar (#3302 )
* feat: add month and year pickers to DateRangePicker and RangeCalendar
* chore: update docs
* Update .changeset/kind-cobras-travel.md
* chore: react package version
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore(deps): bump tailwind-merge version (#3657 )
* chore(deps): bump tailwind-merge versions
* chore(theme): adopt latest extendTailwindMerge
* chore(changeset): add changeset
* chore(changeset): change to minor
* Update .changeset/grumpy-mayflies-rhyme.md
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat: added drawer component (#3986 )
Signed-off-by: The1111mp <The1111mp@outlook.com >
Co-authored-by: The1111mp <The1111mp@outlook.com >
* refactor: optimisations (#3523 )
* refactor: replace lodash with native approaches
* refactor(deps): update framer-motion versions
* feat(utilities): add @nextui-org/dom-animation
* refactor(components): load domAnimation dynamically
* refactor(deps): add @nextui-org/dom-animation
* fix(utilities): relocate index.ts
* feat(changeset): framer motion optimization
* chore(deps): bump framer-motion version
* fix(docs): conflict issue
* refactor(hooks): remove the unnecessary this aliasing
* refactor(utilities): remove the unnecessary this aliasing
* chore(docs): remove {} so that it won't be true all the time
* chore(dom-animation): end with new line
* refactor(hooks): use debounce from `@nextui-org/shared-utils`
* chore(deps): add `@nextui-org/shared-utils`
* refactor: move mapKeys logic to `@nextui-org/shared-utils`
* refactor: use `get` from `@nextui-org/shared-utils`
* refactor(docs): use `get` from `@nextui-org/shared-utils`
* refactor(shared-utils): mapKeys
* chore(deps): bump framer-motion version
* chore(deps): remove lodash
* refactor(docs): use intersectionBy from shared-utils
* feat(shared-utils): add intersectionBy
* chore(dom-animation): remove extra blank line
* refactor(shared-utils): revise intersectionBy
* fix(modal): add willChange
* refactor(shared-utils): add comments
* fix: build & tests
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat(hooks): use-theme hook (#3169 )
* feat(docs): update dark mode content
* feat(hooks): @nextui-org/use-theme
* chore(docs): revise ThemeSwitcher code
* refactor(hooks): simplify useTheme and support custom theme names
* feat(hooks): add use-theme test cases
* feat(changeset): add changeset
* refactor(hooks): make localStorageMock globally and clear before each test
* fix(docs): typo
* fix(hooks): coderabbitai comments
* chore(hooks): remove unnecessary +
* chore(changeset): change to minor
* feat(hooks): handle system theme
* chore(hooks): add EOL
* refactor(hooks): add default theme
* refactor(hooks): revise useTheme
* refactor(hooks): resolve pr comments
* refactor(hooks): resolve pr comments
* refactor(hooks): resolve pr comments
* refactor(hooks): remove unused theme in dependency array
* chore(docs): typos
* refactor(hooks): mark system as key for system theme
* chore: merged with canary
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* Fix/avatar flashing (#3987 )
* fix(use-image): cached image flashing
* chore: merged with canary
---------
Co-authored-by: Rakha Kanz Kautsar <rkkautsar@gmail.com >
* refactor(menu): Use `useMenu` and `useMenuItem` from RA (#3261 )
* refactor(menu): use useMenu from react-aria instead
* refactor(menu): use useMenuItem from react-aria instead
* feat(changeset): add changeset
* chore: merged with canary
* fix: dropdown tests
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(theme): added stripe color gradients for progress (#3938 )
* fix(breadcrumbs): added separator rotation for RTL #2486
* chore(changeset): added changeset
* fix(docs): removed unused Link import and merged classnames in dropdown
* fix(theme):added stripe color gradients for progress #1933
* refactor(theme): added stripe-size and createStripeGradient
* chore: add all minor releases
* fix(docs): invalid canary storybook link (#4030 )
* fix(use-image): image ReferenceError in SSR (#4122 )
* fix(use-image): image ReferenceError in SSR
* fix(use-image): sync with beta
* fix(use-image): sync with beta
* chore(use-image): remove unnecessary comments
* fix(docs): buildLocation expects an object (#4118 )
* fix(docs): routing.mdx
* Delete .changeset/pre.json
* chore(docs): update yarn installation command (#4132 )
There is no `-g` flag in yarn. `global` is a command which must immediately follow yarn.
Source: https://classic.yarnpkg.com/lang/en/docs/cli/global/
* chore: upgrade storybook 8 (#4124 )
* feat: upgrade storybook8
* chore: upgrade storybook and vite
* chore: remove @mdx-js/react optimizeDep
* chore: add @mdx-js/react optimizeDep
* fix: format
* docs: add forms guide (#3822 )
* v2.5.0 [BETA] (#4164 )
* chore(pre-release): enter pre-release mode
* fix(theme): apply tw nested group (#3909 )
* chore(changset): add changeset
* fix(theme): apply nested group to table
* chore(docs): update table bottomContent code
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: pkg versions
* fix: changeset
* fix: drawer peer dep
* chore: update plop components tempalte
* ci(changesets): version packages (beta) (#3988 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: pre-release workflow
* chore: debug log added
* chore: force pre-release
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* chore: beta1 (#3990 )
* ci(changesets): version packages (beta) (#3991 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(use-image): image ReferenceError in SSR (#3993 )
* fix(input): fixed a sliding issue caused by the helper wrapper (#3966 )
* If it is false and there is an error message or description it will create a div
* Update packages/components/input/src/input.tsx
* Update packages/components/select/src/select.tsx
* Update packages/components/input/src/textarea.tsx
* add changeset
* changeset update
* ci(changesets): version packages (beta) (#3995 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image loading in the server (#3996 )
* fix: lock file
* chore: force release
* chore: force release 2
* ci(changesets): version packages (beta) (#3997 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image load on next.js (#3998 )
* ci(changesets): version packages (beta) (#3999 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: element.ref was removed in React 19 warning (#4003 )
* ci(changesets): version packages (beta) (#4004 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: react 19 as peer dep (#4008 )
* ci(changesets): version packages (beta) (#4009 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Beta/react 19 support (#4010 )
* fix: react 19 as peer dep
* fix: react 19 as peer dep
* chore: support framer-motion alpha version
* ci(changesets): version packages (beta) (#4011 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(theme): making select and input themes consistent (#3881 )
* ci(changesets): version packages (beta) (#4012 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: support inert value with boolean type for react 19 (#4039 )
* ci(changesets): version packages (beta) (#4041 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert design improved (#4054 )
* ci(changesets): version packages (beta) (#4056 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: drawer improvements (#4057 )
* ci(changesets): version packages (beta) (#4058 )
* feat: alert styles improved (#4071 )
* ci(changesets): version packages (beta) (#4072 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert styles improved (#4073 )
* ci(changesets): version packages (beta) (#4074 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: add number of stars and credits
* chore: fix build
* chore: improve navabr colors
* chore: new changeset (#4083 )
* ci(changesets): version packages (beta) (#4084 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: pnpm cleaned (#4086 )
* ci(changesets): version packages (beta) (#4087 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: custom runnner added
* chore: custom runner test (#4091 )
* Beta/custom runner (#4092 )
* chore: custom runner test
* chore: custom runner test
* chore: remove 2 from older changeset
* ci(changesets): version packages (beta) (#4093 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: new demo added to alert
* Feat/virtualization for autocomplete (#4094 )
* feat: add react-window virtualization for autocomplete
* fix: wrong imports and wrong sizing
* fix: update pnpm lock
* chore: add test cases for large dataset (1000 and 10000 items)
* chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional
* feat: implement dynamic listboxheight n item height, add story
* chore: rename props, remove unnecessary line changes
* fix: maxHeight style 256px for default, conditional usage of virtualizer
* feat: migrate to tan-stack virtual. (todo: fix scroll shadow)
* feat: virtualization support
---------
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
* ci(changesets): version packages (beta) (#4095 )
* feat: small fixes
* feat: add reducedMotion setting to Provider (#3470 )
* feat: add reducedMotion setting to Provider
* chore: refactor reducedMotion story
* Update .changeset/pretty-parrots-guess.md
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4106 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: move circular-progress tv to progress (#3321 )
* fix: remove circular-progress tv to progress
* docs: changeset
* chore(changeset): update changeset message
* Update .changeset/angry-maps-serve.md
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: label placement when the select has a placeholder or description (#4126 )
* ci(changesets): version packages (beta) (#4107 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): add missing `framer-motion` in `peerDependencies` (#4140 )
* fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105 )
* fix(docs): invalid canary storybook link (#4030 )
* fix: menu item hidden overflow text
* feat: changeset
* Merge branch 'beta/release-next' into fix/menu-item-hidden
* fix: truncate list item
* feat: update changeset
* fix(menu): omit internal props
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat(table): add isKeyboardNavigationDisabled prop to the table (#3735 )
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
* feat: add form component (#3036 )
* chore: add support validationBehavior aria
* chore: add validationBehavior to Provider
* chore: add autocomplete validation test
* chore: add checkbox validation test
* fix(input): require condition
* docs: add description of validationBehavior props
* chore: add support validationBehavior props for date components
* docs(dates): add description of validationBehavior props
* chore: add changeset
* chore: format
* chore: fix test
* fix: select validationBehavior is not support yet
* fix: select validationBehavior not supported yet
* feat: add form component with input support
* feat: add support form context
* chore: wip add support for form server errors
* chore: add support checkbox server validation
* chore: add support radio server validation
* chore: update pnpm-lock.yaml
* chore: add support input server validation
* chore: add support autocomplete server validation
* chore(form): add server validation stories
* chore: fix test
* chore: add date-picker validation test
* chore: update form stories
* chore: add changeset
* chore: update react-aria version
* chore: add pnpm-lock.yaml
* chore: update react-aria version
* chore: add comment
* chore: update react-aria version
* chore: fix change set
* chore: export form component in the main package
* chore: upgrade react-aria
* chore: fixed internationalized/date version
* fix: build error
* chore: upgrade docs react-aria version
* fix: remove comment
* fix: debug setting
* chore(docs): update sponsor (#3904 )
* chore(docs): remove Scrumbuiss
* chore(docs): remove Scrumbuiss logo
* chore(docs): replace va by posthog (#4123 )
* chore(changeset): change to patch
* refactor: react-aria-components remove to decrease package size, logic moved to the form package
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* docs: add forms guide (#4155 )
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* chore: routes updated
* ci(changesets): version packages (beta) (#4151 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: fix indentation
* fix(changeset): package not be found
* ci(changesets): version packages (beta) (#4158 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(select): controlled isInvalid prop (#4082 )
* fix(select): controlled isInvalid prop
* chore: add changeset
* Merge branch 'beta/release-next' into pr/4082
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* ci(changesets): version packages (beta) (#4159 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore(changeset): bump all versions
* ci(changesets): version packages (beta) (#4160 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): missing peer / dev dependency for framer-motion (#4161 )
* fix(system): align `navigate` function parameters with `@react-aria` (#4163 )
* fix: menu item classNames not work (#4156 )
* fix: menu item classNames not work
* feat: changeset
* docs: update
* feat: merge classes utility added
* Update .changeset/brave-trains-wave.md
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore(docs): remove incorrect info
* ci(changesets): version packages (beta) (#4162 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(docs): overall dx (#4055 )
* refactor(docs): revise code block (#3922 )
* refactor(docs): revise code block
* chore(docs): resolve pr comments
* refactor(docs): autocomplete dx (#3934 )
* feat(docs): add *.js?raw module
* feat(docs): change to react-jsx and add **/*.js
* chore(root): include js and jsx
* refactor(docs): autocomplete dx
* chore(docs): rollback overrides
* chore(autocomplete): lint
* fix(autocomplete): incorrect import path
* fix(docs): autocomplete dx
* chore(docs): remove highlightedLines
* refactor(docs): breadcrumbs dx (#3968 )
* refactor(docs): breadcrumbs dx
* fix(docs): export issue
* chore(docs): use preserve for jsx
* fix(docs): support multiline import
* fix(docs): support multiple export
* chore(docs): add back export
* refactor(docs): avatar dx (#3951 )
* refactor(docs): badge dx (#3960 )
* refactor(docs): badge dx
* chore(docs): incorrect import path
* refactor(docs): button dx (#3981 )
* refactor(docs): calendar dx (#4022 )
* refactor(docs): calendar dx
* fix(docs): incorrect import path
* refactor(docs): switch dx (#4037 )
* refactor(docs): switch dx
* chore(docs): remove highlightedLines
* refactor(docs): tooltip (#4035 )
* refactor(docs): usage dx (#4036 )
* refactor(docs): circular-progress dx (#4029 )
* refactor(docs): chip-dx (#4028 )
* refactor(docs): checkbox-group dx (#4027 )
* refactor(docs): checkbox dx (#4024 )
* refactor(docs): checkbox dx
* fix(docs): incorrect import path
* refactor(docs): card dx (#4023 )
* refactor(docs): skeleton dx (#4042 )
* refactor(docs): spacer dx (#4043 )
* refactor(docs): snippet dx (#4044 )
* refactor(docs): scroll-shadow dx (#4045 )
* refactor(docs): code dx (#4046 )
* refactor(docs): kbd dx (#4047 )
* refactor(docs): link dx (#4048 )
* refactor(docs): progress dx (#4049 )
* refactor(docs): divider dx (#4050 )
* refactor(docs): listbox dx (#4051 )
* refactor(docs): listbox dx
* fix(docs): import path
* fix(docs): import path
* chore(docs): remove highlightedLines
* fix(docs): indentation
* chore(docs): replace the props of autocomplete from value to key (#4129 )
* refactor(docs): alert dx (#4108 )
* refactor(docs): alert dx
* refactor(docs): alert dx
* refactor(docs): image dx (#4061 )
* refactor(docs): textarea dx (#4063 )
* refactor(docs): spinner dx (#4088 )
* refactor(docs): radio-group dx (#4064 )
* refactor(docs): pagination dx (#4062 )
* refactor(docs): pagination dx
* refactor(docs): pagination dx
* refactor(docs): time-input dx (#4065 )
* refactor(docs): time-input dx
* refactor(docs): time-input dx
* refactor(docs): slider dx (#4066 )
* refactor(docs): slider dx
* refactor(docs): slider dx
* refactor(docs): move SliderValue to type
* refactor(docs): slider dx
* refactor(docs): make icon code collapsible
* refactor(docs): specify versions for date packages (#4138 )
* refactor(docs): specify versions for date packages
* fix(docs): correct RA i18n version
* chore(deps): sync version from package
* refactor(docs): tabs dx (#4067 )
* refactor(docs): tab dx
* refactor(docs): tabs dx
* refactor(docs): input dx (#4102 )
* refactor(docs): input dx
* refactor(docs): input dx
* refactor(docs): navbar dx (#4076 )
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): modal dx (#4077 )
* refactor(docs): modal dx
* refactor(docs): modal dx
* refactor(docs): select dx (#4078 )
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): table dx (#4079 )
* refactor(docs): table dx
* fix(docs): import path
* refactor(docs): table dx
* refactor(docs): table dx
* refactor(docs): popover dx (#4090 )
* refactor(docs): range-calendar dx (#4089 )
* refactor(docs): range-calendar dx
* fix(docs): import path
* refactor(docs): date input dx (#4100 )
* refactor(docs): dropdown dx (#4101 )
* refactor(docs): dropdown dx
* refactor(docs): remove highlightedLines
* refactor(docs): dropdown dx
* refactor(docs): dropdown dx
* refactor(docs): date-picker dx (#4103 )
* refactor(docs): date-picker dx
* fix(docs): import paths
* refactor(docs): date-range-picker dx (#4104 )
* refactor(docs): date-range-picker dx
* fix(docs): date-range-picker dx
* refactor(docs): drawer dx (#4109 )
* refactor(docs): drawer dx
* fix(docs): indentation
* refactor(docs): make icon collapsible
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* feat(input-otp): introduce input OTP component (#4052 )
* feat(input-otp): adding the functionality
* fix(input-otp): making the use of input-otp library
* Update .changeset/spotty-flies-jump.md
* chore(input-otp): nits
* feat: improvements and fixes added
* refactor: input-otp docs improvements
* fix: changeset
* fix: build
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4169 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(theme): revise label font size for lg (#4141 )
* refactor(theme): revise label font size for lg
* chore(changeset): add changeset
* refactor(theme): revise label font size for lg
* fix(docs): typecheck errors (#4171 )
* fix(docs): remove duplicate import
* fix(docs): update type for onChange in range-calendar page
* fix(docs): add missing `@react-types/calendar`
* fix(docs): broken syntax
* fix(docs): typecheck issues
* fix(docs): add missing `@react-types/datepicker`
* fix(docs): typecheck issues
* fix: missing li tag when href is specified (#4168 )
* fix(items): items in list should wrapped in li in case of a
* chore: adding the tests
* Feat/textarea add clear button (#4172 )
* feat(components): add clear button to the textarea component
* docs(textarea): add test and changeset
* feat(textarea): modify the changeset file
* feat(textarea): add clear button to textarea
* feat(textarea): add isClearable prop to textarea
* docs(textarea): add documentation to textarea
* docs(textarea): add documentation to textarea
* feat(textarea): replace the textarea component clear icon and modify its location
* feat(textarea): revise the clear button position
* feat(textarea): revise the clear button structure
* feat(textarea): revise the styles of clear button and textarea
* feat(textarea): revise the styles of RTL case
* feat(textarea): change the rtl to pe
* feat(textarea): delete the px classname
* chore(changeset): update package and message
* test(textarea): add test case
* feat(textarea): change the clear button structure
* feat(textarea): optimized code
* chore(textarea): update the changeset file
* docs(textarea): add slots doc to textarea
* chore(textarea): update peerDevpeerDependencies version
* chore(textarea): add usecallback dep
* Update .changeset/five-adults-protect.md
* chore(pre-release): enter pre-release mode
* feat(textarea): modify the clear button icon
* fix(theme): apply tw nested group (#3909 )
* chore(changset): add changeset
* fix(theme): apply nested group to table
* chore(docs): update table bottomContent code
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: pkg versions
* fix: changeset
* fix: drawer peer dep
* chore: update plop components tempalte
* ci(changesets): version packages (beta) (#3988 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: pre-release workflow
* chore: debug log added
* chore: force pre-release
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* chore: beta1 (#3990 )
* ci(changesets): version packages (beta) (#3991 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(use-image): image ReferenceError in SSR (#3993 )
* fix(input): fixed a sliding issue caused by the helper wrapper (#3966 )
* If it is false and there is an error message or description it will create a div
* Update packages/components/input/src/input.tsx
* Update packages/components/select/src/select.tsx
* Update packages/components/input/src/textarea.tsx
* add changeset
* changeset update
* ci(changesets): version packages (beta) (#3995 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image loading in the server (#3996 )
* fix: lock file
* chore: force release
* chore: force release 2
* ci(changesets): version packages (beta) (#3997 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image load on next.js (#3998 )
* ci(changesets): version packages (beta) (#3999 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: element.ref was removed in React 19 warning (#4003 )
* ci(changesets): version packages (beta) (#4004 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: react 19 as peer dep (#4008 )
* ci(changesets): version packages (beta) (#4009 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Beta/react 19 support (#4010 )
* fix: react 19 as peer dep
* fix: react 19 as peer dep
* chore: support framer-motion alpha version
* ci(changesets): version packages (beta) (#4011 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(theme): making select and input themes consistent (#3881 )
* ci(changesets): version packages (beta) (#4012 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(textarea): fix clearButton display
* fix: support inert value with boolean type for react 19 (#4039 )
* ci(changesets): version packages (beta) (#4041 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert design improved (#4054 )
* ci(changesets): version packages (beta) (#4056 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: drawer improvements (#4057 )
* ci(changesets): version packages (beta) (#4058 )
* feat: alert styles improved (#4071 )
* ci(changesets): version packages (beta) (#4072 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert styles improved (#4073 )
* ci(changesets): version packages (beta) (#4074 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: add number of stars and credits
* chore: fix build
* chore: improve navabr colors
* chore: new changeset (#4083 )
* ci(changesets): version packages (beta) (#4084 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: pnpm cleaned (#4086 )
* ci(changesets): version packages (beta) (#4087 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: custom runnner added
* chore: custom runner test (#4091 )
* Beta/custom runner (#4092 )
* chore: custom runner test
* chore: custom runner test
* chore: remove 2 from older changeset
* ci(changesets): version packages (beta) (#4093 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: new demo added to alert
* Feat/virtualization for autocomplete (#4094 )
* feat: add react-window virtualization for autocomplete
* fix: wrong imports and wrong sizing
* fix: update pnpm lock
* chore: add test cases for large dataset (1000 and 10000 items)
* chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional
* feat: implement dynamic listboxheight n item height, add story
* chore: rename props, remove unnecessary line changes
* fix: maxHeight style 256px for default, conditional usage of virtualizer
* feat: migrate to tan-stack virtual. (todo: fix scroll shadow)
* feat: virtualization support
---------
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
* ci(changesets): version packages (beta) (#4095 )
* feat: small fixes
* feat: add reducedMotion setting to Provider (#3470 )
* feat: add reducedMotion setting to Provider
* chore: refactor reducedMotion story
* Update .changeset/pretty-parrots-guess.md
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4106 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: move circular-progress tv to progress (#3321 )
* fix: remove circular-progress tv to progress
* docs: changeset
* chore(changeset): update changeset message
* Update .changeset/angry-maps-serve.md
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: label placement when the select has a placeholder or description (#4126 )
* ci(changesets): version packages (beta) (#4107 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): add missing `framer-motion` in `peerDependencies` (#4140 )
* fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105 )
* fix(docs): invalid canary storybook link (#4030 )
* fix: menu item hidden overflow text
* feat: changeset
* Merge branch 'beta/release-next' into fix/menu-item-hidden
* fix: truncate list item
* feat: update changeset
* fix(menu): omit internal props
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* Update apps/docs/content/docs/components/textarea.mdx
* feat(table): add isKeyboardNavigationDisabled prop to the table (#3735 )
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
* feat: add form component (#3036 )
* chore: add support validationBehavior aria
* chore: add validationBehavior to Provider
* chore: add autocomplete validation test
* chore: add checkbox validation test
* fix(input): require condition
* docs: add description of validationBehavior props
* chore: add support validationBehavior props for date components
* docs(dates): add description of validationBehavior props
* chore: add changeset
* chore: format
* chore: fix test
* fix: select validationBehavior is not support yet
* fix: select validationBehavior not supported yet
* feat: add form component with input support
* feat: add support form context
* chore: wip add support for form server errors
* chore: add support checkbox server validation
* chore: add support radio server validation
* chore: update pnpm-lock.yaml
* chore: add support input server validation
* chore: add support autocomplete server validation
* chore(form): add server validation stories
* chore: fix test
* chore: add date-picker validation test
* chore: update form stories
* chore: add changeset
* chore: update react-aria version
* chore: add pnpm-lock.yaml
* chore: update react-aria version
* chore: add comment
* chore: update react-aria version
* chore: fix change set
* chore: export form component in the main package
* chore: upgrade react-aria
* chore: fixed internationalized/date version
* fix: build error
* chore: upgrade docs react-aria version
* fix: remove comment
* fix: debug setting
* chore(docs): update sponsor (#3904 )
* chore(docs): remove Scrumbuiss
* chore(docs): remove Scrumbuiss logo
* chore(docs): replace va by posthog (#4123 )
* chore(changeset): change to patch
* refactor: react-aria-components remove to decrease package size, logic moved to the form package
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* docs: add forms guide (#4155 )
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* chore: routes updated
* ci(changesets): version packages (beta) (#4151 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: fix indentation
* fix(changeset): package not be found
* ci(changesets): version packages (beta) (#4158 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(select): controlled isInvalid prop (#4082 )
* fix(select): controlled isInvalid prop
* chore: add changeset
* Merge branch 'beta/release-next' into pr/4082
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* ci(changesets): version packages (beta) (#4159 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore(changeset): bump all versions
* ci(changesets): version packages (beta) (#4160 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): missing peer / dev dependency for framer-motion (#4161 )
* fix(system): align `navigate` function parameters with `@react-aria` (#4163 )
* fix: menu item classNames not work (#4156 )
* fix: menu item classNames not work
* feat: changeset
* docs: update
* feat: merge classes utility added
* Update .changeset/brave-trains-wave.md
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore(docs): remove incorrect info
* ci(changesets): version packages (beta) (#4162 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(docs): overall dx (#4055 )
* refactor(docs): revise code block (#3922 )
* refactor(docs): revise code block
* chore(docs): resolve pr comments
* refactor(docs): autocomplete dx (#3934 )
* feat(docs): add *.js?raw module
* feat(docs): change to react-jsx and add **/*.js
* chore(root): include js and jsx
* refactor(docs): autocomplete dx
* chore(docs): rollback overrides
* chore(autocomplete): lint
* fix(autocomplete): incorrect import path
* fix(docs): autocomplete dx
* chore(docs): remove highlightedLines
* refactor(docs): breadcrumbs dx (#3968 )
* refactor(docs): breadcrumbs dx
* fix(docs): export issue
* chore(docs): use preserve for jsx
* fix(docs): support multiline import
* fix(docs): support multiple export
* chore(docs): add back export
* refactor(docs): avatar dx (#3951 )
* refactor(docs): badge dx (#3960 )
* refactor(docs): badge dx
* chore(docs): incorrect import path
* refactor(docs): button dx (#3981 )
* refactor(docs): calendar dx (#4022 )
* refactor(docs): calendar dx
* fix(docs): incorrect import path
* refactor(docs): switch dx (#4037 )
* refactor(docs): switch dx
* chore(docs): remove highlightedLines
* refactor(docs): tooltip (#4035 )
* refactor(docs): usage dx (#4036 )
* refactor(docs): circular-progress dx (#4029 )
* refactor(docs): chip-dx (#4028 )
* refactor(docs): checkbox-group dx (#4027 )
* refactor(docs): checkbox dx (#4024 )
* refactor(docs): checkbox dx
* fix(docs): incorrect import path
* refactor(docs): card dx (#4023 )
* refactor(docs): skeleton dx (#4042 )
* refactor(docs): spacer dx (#4043 )
* refactor(docs): snippet dx (#4044 )
* refactor(docs): scroll-shadow dx (#4045 )
* refactor(docs): code dx (#4046 )
* refactor(docs): kbd dx (#4047 )
* refactor(docs): link dx (#4048 )
* refactor(docs): progress dx (#4049 )
* refactor(docs): divider dx (#4050 )
* refactor(docs): listbox dx (#4051 )
* refactor(docs): listbox dx
* fix(docs): import path
* fix(docs): import path
* chore(docs): remove highlightedLines
* fix(docs): indentation
* chore(docs): replace the props of autocomplete from value to key (#4129 )
* refactor(docs): alert dx (#4108 )
* refactor(docs): alert dx
* refactor(docs): alert dx
* refactor(docs): image dx (#4061 )
* refactor(docs): textarea dx (#4063 )
* refactor(docs): spinner dx (#4088 )
* refactor(docs): radio-group dx (#4064 )
* refactor(docs): pagination dx (#4062 )
* refactor(docs): pagination dx
* refactor(docs): pagination dx
* refactor(docs): time-input dx (#4065 )
* refactor(docs): time-input dx
* refactor(docs): time-input dx
* refactor(docs): slider dx (#4066 )
* refactor(docs): slider dx
* refactor(docs): slider dx
* refactor(docs): move SliderValue to type
* refactor(docs): slider dx
* refactor(docs): make icon code collapsible
* refactor(docs): specify versions for date packages (#4138 )
* refactor(docs): specify versions for date packages
* fix(docs): correct RA i18n version
* chore(deps): sync version from package
* refactor(docs): tabs dx (#4067 )
* refactor(docs): tab dx
* refactor(docs): tabs dx
* refactor(docs): input dx (#4102 )
* refactor(docs): input dx
* refactor(docs): input dx
* refactor(docs): navbar dx (#4076 )
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): modal dx (#4077 )
* refactor(docs): modal dx
* refactor(docs): modal dx
* refactor(docs): select dx (#4078 )
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): table dx (#4079 )
* refactor(docs): table dx
* fix(docs): import path
* refactor(docs): table dx
* refactor(docs): table dx
* refactor(docs): popover dx (#4090 )
* refactor(docs): range-calendar dx (#4089 )
* refactor(docs): range-calendar dx
* fix(docs): import path
* refactor(docs): date input dx (#4100 )
* refactor(docs): dropdown dx (#4101 )
* refactor(docs): dropdown dx
* refactor(docs): remove highlightedLines
* refactor(docs): dropdown dx
* refactor(docs): dropdown dx
* refactor(docs): date-picker dx (#4103 )
* refactor(docs): date-picker dx
* fix(docs): import paths
* refactor(docs): date-range-picker dx (#4104 )
* refactor(docs): date-range-picker dx
* fix(docs): date-range-picker dx
* refactor(docs): drawer dx (#4109 )
* refactor(docs): drawer dx
* fix(docs): indentation
* refactor(docs): make icon collapsible
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* Merge branch 'beta/release-next' into pr/3477
* refactor(docs): apply new structure to doc
* feat(input-otp): introduce input OTP component (#4052 )
* feat(input-otp): adding the functionality
* fix(input-otp): making the use of input-otp library
* Update .changeset/spotty-flies-jump.md
* chore(input-otp): nits
* feat: improvements and fixes added
* refactor: input-otp docs improvements
* fix: changeset
* fix: build
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4169 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(theme): revise label font size for lg (#4141 )
* refactor(theme): revise label font size for lg
* chore(changeset): add changeset
* refactor(theme): revise label font size for lg
* fix(docs): typecheck errors (#4171 )
* fix(docs): remove duplicate import
* fix(docs): update type for onChange in range-calendar page
* fix(docs): add missing `@react-types/calendar`
* fix(docs): broken syntax
* fix(docs): typecheck issues
* fix(docs): add missing `@react-types/datepicker`
* fix(docs): typecheck issues
* fix: missing li tag when href is specified (#4168 )
* fix(items): items in list should wrapped in li in case of a
* chore: adding the tests
* fix: textarea issues with the clear button
* chore: adjust clear button position
---------
Co-authored-by: doki- <1335902682@qq.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mustafa Balcı <19329346+mstfblci@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@gmail.com >
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Tianen Pang <32772271+tianenpang@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
* ci(changesets): version packages (beta) (#4170 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* docs: sync api from nextui-cli v0.3.5 (#4173 )
Co-authored-by: GitHub Action <action@github.com >
* ci(changesets): exit pre-release mode
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mustafa Balcı <19329346+mstfblci@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@gmail.com >
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Tianen Pang <32772271+tianenpang@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
Co-authored-by: doki- <1335902682@qq.com >
Co-authored-by: GitHub Action <action@github.com >
* fix: pre release workflow on protected branches (#4174 )
* chore(pre-release): enter pre-release mode (#4175 )
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix: input otp peer deps (#4176 )
* chore: update workflows
* chore: pre release workflow modified (#4177 )
* chore: canary versions (#4178 )
* fix: pre-release workflow (#4179 )
* chore: merged with beta branch
* chore: workflow updated
* ci(changesets): version packages
* fix: changeset get github info
* chore: force canary to release (#4180 )
* Feat/canary release (#4181 )
* chore: force canary to release
* feat: canary release
* ci(changesets): version packages
* ci(changesets): version packages
* fix: exit pre-release mode
* fix: exit pre-release mode
* fix: exit pre-release mode
* fix: exit pre-release mode
* fix: exit pre-release mode
* chore: exit pre release mode
* fix(workflows): release & pre-release flow (#4184 )
* chore: revert exit and enter pre release changes
* chore: canary release test (#4185 )
* chore: update exit and enter workflows
* chore: update workflow name
* fix: exit pre-release mode
* fix: exit pre-release mode
* chore: delete pre file
* chore: remove duplicate changesets
* chore: base branch change to canary, changeset config
* refactor: beta tags manually deleted (#4187 )
* fix: install
* fix: peer deps (#4188 )
* Fix/peer deps (#4189 )
* fix: peer deps
* fix: tests
* fix: routes
* chore(docs): revise defaultShowFlagList (#4193 )
* chore(docs): add Example to defaultShowFlagList
* chore(docs): revise defaultShowFlagList
* feat: documentation improvements (#4195 )
* feat: documentation improvements
* fix: alert api
* Feat/doc improvements (#4196 )
* feat: documentation improvements
* fix: alert api
* fix: copy button
* fix: return in card demo
* Fix/react core pkg (#4204 )
* fix: double use client tag import in react core package
* fix: double use client
* chore: restore postbuild script
* docs: optimize code fold (#4202 )
* docs: optimize code fold
* fix: code review
* fix(input): teaxtarea label squish (#4197 )
* fix(input): teaxtarea label squish
* chore(changeset): add changeset for textarea label fix
* chore: remove customer runner
* chore: rename changeset
* chore: increase timeout
* chore: change get info pkg version
* chore: new changeset
* chore: single chnageset
* chore: consolidated changeset
* chore: consolidated changeset
* Update release.yaml (#4205 )
* chore: consolidated changeset
* 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
* 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 >
* feat(select): virtualization (#4203 )
* fix: should not export list item internal variables type
* feat: changeset
* feat: integrate virtualized listbox to select component, add more props
* feat: update docs for select component
* feat: update docs to include API for virtualization
* fix: update docs to follow the newest format
* fix: update test for disable virtualization, add test for virtualized version
* fix: fix typo
* fix: type error
* fix: code block type error
* chore: update docs to use raw jsx instead of template literal
* fix: fix code-demo for typecheck
* chore: rollback for files
* fix: types
* chore: remove caret version on tanstack virtual pkg
* fix: pnpm lock file
* fix: virtualization examples
* fix: number of items
---------
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore: adjust code colors
* fix: collection based components ref (#4207 )
* chore: documentation adjustments
* 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
* fix(docs): types for classNames and itemClasses (#4209 )
* feat: documentation improvements
* chore: more improvements to the docs, routing updated, acccordiong font size change
* feat: forms doc in progress
* 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 >
* chore(docs): remove non-existing attribute (#4221 )
* 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
* 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
* fix: form fixes and improvements (#4224 )
* chore: form in progress
* chore: main demo addded to forms, checkbox validation fixed
* chore: forms docs improved
* fix(deps): bump `@react-aria/utils` version (#4226 )
* fix(deps): bump `@react-aria/utils` version
* chore(changeset): add changeset
* feat: forms doc completed
* chore: form component doc created
* chore: forms doc improved
* chore: doc improvements
* chore: alert doc improved
* feat: nextjs 15 migration in progress
* feat: nextjs 15 migration [docs] (#4228 )
* feat: nextjs 15 migration in progress
* feat: next 15 downgraded to next 14
* fix: migration errors
* feat: codeblog is now rendered only when visible, this made a huge performance improvement
* fix: remove folding
* feat: v2.6.0 blog
* feat: Adding nextui pro section on the landing page (#4227 )
* feat: adding nextui pro section on the landing page
* chore(nits): nits
* fix: remove pro image on mobile
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(docs): prevent scrolling up on pressing theme change switch (#4233 )
* chore: improve v2.6.0 blog
* chore: small improvements
* chore: improve blog
* ci(changesets): version packages (#4186 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: snippet release (#4235 )
* ci(changesets): version packages (#4236 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore: v2.6.2
* ci(changesets): version packages (#4237 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: draggable modal demo
* fix: v2.6 blog
* chore: adjust blog
* chore: release notes link updated
* fix: v2.6.0 (#4247 )
* fix: v2.6.0
* chore: update framer motion version
* ci(changesets): version packages (#4248 )
* fix(deps): incorrect peerDependencies for theme and system package (#4255 )
* fix(deps): incorrect peerDependencies for theme and system package
* chore(changeset): add changeset
* ci(changesets): version packages (#4261 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore: adjust doc
* chore: update search meta objects
---------
Signed-off-by: Innei <i@innei.in >
Signed-off-by: The1111mp <The1111mp@outlook.com >
Co-authored-by: ryoon <ryoon50@gmail.com >
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Abhinav Agarwal <78839973+abhinav700@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@gmail.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: David Gonzalez <dgonzalez1992@outlook.com >
Co-authored-by: Julie Saia <76669473+juliesaia@users.noreply.github.com >
Co-authored-by: Alex Nguyen <dev@alexnguyen.co.nz >
Co-authored-by: max <hi.max@foxmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: Shrinidhi Upadhyaya <shrinidhiupadhyaya1195@gmail.com >
Co-authored-by: Anuj Sharma <52837557+sanuj21@users.noreply.github.com >
Co-authored-by: Innei <tukon479@gmail.com >
Co-authored-by: Jeff. <jeffreysfu@gmail.com >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Abhinav Agarwal <abhinavagrawal700@gmail.com >
Co-authored-by: wzc520pyfm <1528857653@qq.com >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Abhinandan <abhinandanverma551@gmail.com >
Co-authored-by: The1111mp <The1111mp@outlook.com >
Co-authored-by: Rakha Kanz Kautsar <rkkautsar@gmail.com >
Co-authored-by: Can Rau <cansrau@gmail.com >
Co-authored-by: Azpekt <65199167+AzpektDev@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mustafa Balcı <19329346+mstfblci@users.noreply.github.com >
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
Co-authored-by: Tianen Pang <32772271+tianenpang@users.noreply.github.com >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
Co-authored-by: doki- <1335902682@qq.com >
Co-authored-by: GitHub Action <action@github.com >
Co-authored-by: Peterl561 <76144929+Peterl561@users.noreply.github.com >
Co-authored-by: Julio Barrios <juliobarmi@gmail.com >
2024-12-07 19:03:29 -03:00
Junior Garcia
79eb0d8696
chore: update search meta objects
2024-12-07 19:00:48 -03:00
Junior Garcia
386e4ae08c
Merge branch 'main' of github.com:nextui-org/nextui into canary
2024-12-07 09:40:44 -03:00
Junior Garcia
46875513ea
Docs & New version ( #4262 )
...
* fix(input): ensure clear button is not focusable when disabled (#3774 )
* fix(input): ensure clear button is not focusable when disabled
* test(input): add test to ensure clear button is not focusable when disabled
* chore: add changeset for clear button focus fix when input is disabled
* fix(input): update clear button to use button element
* test(input): add focus test when disabled
and update tests for clear button using button element
* test(input): replace querySelector with getByRole for clear button
* fix(input): set tabIndex to -1 for clear button
* test(input): ensure clear button is not focusable
* fix(image): add missing `w` to `getWrapperProps` dependency (#3802 )
* fix(image): add missing `w` to `getWrapperProps` dependency
* chore(changeset): add changeset
* fix(autocomplete): popover should remain open after clicking clear button (#3788 )
* fix: add state.open() so that dropdown is not closed
* chore: add changeset
* chore(autocomplete): add testcases for keeping lisbox open when clearButton is clicked
* chore: update changeset
* chore(autocomplete): change the docs for test cases
* chore(changeset): update changeset message and add issue number
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* refactor(docs): example of blurred card (#3741 )
* docs(card): adding info regarding the gradient for blurred card
* chore(nit): adding example
* chore(docs): revise content for card isBlurred example
* chore(docs): revise isBlurred note
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(docs): replace twitter logo/links with x logo/links (#3815 )
* fix(docs): replace Twitter logo/links with X logo/links
* docs: update twitter references to x
* docs: update changeset for twitter to x changes
* docs: update twitter references to x
* docs: update twitter references to x
* chore(docs): undo .sponsorsrc since it's generated
* refactor(docs): remove unnecessary classes
* chore(docs): undo .sponsorsrc since it's generated
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(date-picker): adding props from calendarProps to getCalendarProps (#3773 )
* fix(date-picker): adding props from calendarProps to the getCalendarProps
* chore(date-picker): adding the changeset
* chore(changeset): add issue number
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* feat(autocomplete): automatically focus first non-disabled item (#2186 )
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* docs(accordion): add overflow to custom motion example (#3793 )
* fix(docs): typos in dark mode page (#3823 )
* fix(theme): fullWidth in input and select (#3768 )
* fix(input): fixing the fullWidth functionality
* chore(changeset): add issue number
* chore(changeset): revise changeset message
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(autocomplete): exit animation on popover close (#3845 )
* fix(autocomplete): exit animation on popover close
* refactor(autocomplete): getListBoxProps
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* refactor(theme): replace the use of RTL-specific styles with logical properties (#3868 )
* chore(rtl): remove the usages of rtl
* chore(changeset): adding the changeset
* chore(changeset): update changeset message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(select): label placement discrepancy in Select (#3853 )
* fix(select): label placement incorrect in case of multiline
* chore(select): adding the changeset
* chore(select): adding the tests
* chore(select): code imrovement, wkw's suggestions
* chore(changeset): update changeset message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(theme): label placement in select and input (#3869 )
* fix(theme): fix the label placement
* chore(changeset): adding the changeset
* chore(select): adding comments
* fix(docs): avoid translating the code block (#3878 )
* docs(Codeblock): avoid code be translated
* fix(docs): lint issue
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(listbox): change listBoxItem key to optional (#3883 )
* fix(listbox): listBoxItem key to optional
* chore: add defaultSelectedKeys test for numeric keys and ids
* chore: add changeset
* chore: comment out section prompts in PR template (#3884 )
* chore(test): update testing libraries and refactor (#3886 )
* fix(theme): show margin only with label in Switch component (#3861 )
* fix(switch): removed right margin in wrapper #3791
* feat(changeset): added changeset
* fix(switch): removed me-2 in wrapper
* fix(switch): added ms-2 to label
* chore(changeset): correct package and message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(theme): removed pseudo cancel btn from input (#3912 )
* fix(theme): removed pseudo cancel btn from input
* chore(changeset): adding the changeset
* fix(input): conditionally hiding the webkit search
* chore(changeset): revise changeset message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* refactor(docs): dx improvement in accordion (#3856 )
* refactor: improve dx for writing a docs component (#2544 )
* refactor: improve dx for write a docs component
Signed-off-by: Innei <i@innei.in >
* refactor(docs): switch to contentlayer2
* chore(docs): rename to avoid conflict
* refactor(docs): switch to next-contentlayer2
* refactor(docs): revise docs lib
* chore(deps): bump docs related dependencies
* fix(use-aria-multiselect): type issue due to ts version bump
---------
Signed-off-by: Innei <i@innei.in >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* refactor(docs): accordion codes
* feat(docs): declare module `*.jsx?raw`
* feat(docs): include `**/*.jsx`
* fix(docs): incorrect content
* chore(docs): add new lines
* refactor(docs): lint
---------
Signed-off-by: Innei <i@innei.in >
Co-authored-by: Innei <tukon479@gmail.com >
* fix(docs): typos in hero section (#3928 )
* fix(theme): support RTL for breadcrumbs (#3927 )
* fix(breadcrumbs): added separator rotation for RTL #2486
* chore(changeset): added changeset
* fix(docs): removed unused import and merged classNames in dropdown (#3936 )
* fix(breadcrumbs): added separator rotation for RTL #2486
* chore(changeset): added changeset
* fix(docs): removed unused Link import and merged classnames in dropdown
* fix: avatar filter disableAnimation to dom prop (#3946 )
* feat: add git hook to auto update dependencies (#3365 )
* feat: add git hook to auto update dependencies
* feat: update color
* fix: prevent test matcher warning (#3893 )
* fix: prevent test matcher warning
* chore: add node types
* chore: update Jest related packages
* chore: run pnpm install
* fix(tabs): correct inert value for true condition (#3978 )
* Alert component (#3982 )
* feat(alert): began the work on alert component
* fix(readme): making correction
* chore(deps): change to 2.0.0
* chore(docs): update README.md
* feat(theme): init alert tv
* chore(alert): update package.json
* feat(alert): init alert storybook structure
* chore(changeset): add changeset
* chore(changeset): change to minor
* chore(alert): revise alert package.json
* feat(alert): init test structure
* chore(deps): pnpm-lock.yaml
* feat(alert): initailized theme and basic structure
* feat(alert): completed use-alert.ts and alert.tsx
* feat(alert): remove innerWrapper, replace helperWrapper with mainWrapper, adding isCloseable prop
* feat(alert): adding isCloseable prop to baseWrapper dependency
* feat(alert): setting the default value of isCloseable prop to true
* feat(alert): moving CloseIcon inside the button
* feat(alert): updated package.json
* feat(alert): default variant and default story
* feat(alert): adding color and radius stories
* feat(alert): completed the styling
* feat(alert): add stories for isCloseable prop and restyle other stories
* feat(alert): correcting ref type
* feat(alert): add test cases
* feat(alert): remove startContent and endContent props
* feat(alert): make styling more accurate
* feat(alert): fixed default props
* feat(alert): fixed theme docs
* feat(alert): add logic for icons
* feat(alert): begin to add docs
* chore(alert): implement the changes suggested in code review
* feat(alert): add onclose prop to alert
* feat(alert): add test cases
* docs(alert): add onClose event
* feat(docs): add alert to routes.json
* fix(alert): correct the text colors
* docs(alert): fix imports and syntax errors
* chore(alert): implement the changes suggested in code review
* chore(alert): lint the code and change isCloseable to isClosable
* chore(alert): lint the code
* chore(alert): run pnpm i
* fix(alert): fix the logic for close button and add test case
* docs(alert): fix docs, change isCloseable to isClosable and change docs for isClosable property
* chore(alert): add the support for RTL, refactor the code and fix the typos
* docs(alert): grammer issues fix
* fix(alert): replace rtl with ms
* chore(alert): custom style and custom implementation, remove isClosable={false}, refactor, fix typos
* chore(alert): linting and implement coderabbit suggestions
* chore(alert): refactor and typos fix
* chore(alert): add import for closeIcon
* chore(alert): add props for closeIcon
* chore(alert): refactor fixes
* chore(alert): implement ryo-manba's suggestion on close Icon
* chore(alert): make alert more responsive
* chore(alert): fix grammer issues suggested by coderabbit
* fix(alert): add max-w property to make alert responsive
* chore(alert): improve responsiveness and refactor alertIcon
* chore(alert): add missing dependency to useMemo
* chore(alert): implement coderabbit's suggestions
* chore(alert): update docs and refactor
* chore(alert): refactor alertIcon and implement coderabbit's suggestion
* chore: fixes
---------
Co-authored-by: Abhinav Agarwal <abhinavagrawal700@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Abhinav Agarwal <78839973+abhinav700@users.noreply.github.com >
* Feat/add draggable modal (#3983 )
* feat(hooks): add use-draggable hook
* feat(components): [modal] export use-draggable
* docs(components): [modal] add draggable modal
* feat(components): [modal] add ref prop for modal-header
* chore(components): [modal] add draggable modal for storybook
* chore: add changeset for draggable modal
* docs(hooks): [use-draggable] fix typo
* chore: upper changeset
* chore(components): [modal] add overflow draggable modal to sb
* test(components): [modal] add draggable modal tests
* build: update pnpm-lock
* chore(changeset): include issue number
* feat(hooks): [use-draggable] set user-select to none when during the dragging
* docs(components): [modal] update code demo title
* docs(components): [modal] condense description for draggable overflow
* feat(hooks): [use-draggable] change version to 0.1.0
* refactor(hooks): [use-draggable] use use-move implement use-draggable
* feat(hooks): [use-draggable] remove repeated user-select
* test(components): [modal] update test case to use-draggable base use-move
* docs(components): [modal] update draggable examples
* fix(hooks): [use-draggable] fix mobile device touchmove event conflict
* refactor(hooks): [use-draggable] remove drag ref prop
* refactor(hooks): [use-draggable] draggable2is-disabled overflow2can-overflow
* test(components): [modal] add draggble disable test
* chore(hooks): [use-draggable] add commant for body touchmove
* Update packages/hooks/use-draggable/src/index.ts
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* fix(hooks): [use-draggable] import use-callback
* test(components): [modal] add mobile-sized test for draggable
* chore(hooks): [use-draggable] add use-callback for func
* chore(hooks): [use-draggable] update version to 2.0.0
* chore: fix typo
* Update .changeset/soft-apricots-sleep.md
* fix: pnpm lock
* fix: build
* chore: add updated moadl
---------
Co-authored-by: wzc520pyfm <1528857653@qq.com >
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* chore: upgrade react-aria / React 19 & Next.js 15 support (#3732 )
* chore: upgrade react-aria
* chore: add changeset
* chore: fix type error
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat(date-picker): add selectorButtonPlacement property (#3248 )
* feat(date-picker): add selectorButtonPlacement property
* chore: update changeset
* Update .changeset/neat-donkeys-accept.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat: add tab ref (#3974 )
* feat: add tab ref
* feat: add changeset
* feat: pre-release workflow (#2910 )
* feat(workflow): pre-release
* feat(workflow): exit pre-release
* chore(workflow): update version & publish commands
* fix(workflow): add missing attributes and use schangeset:beta cmd
* feat(root): add changeset:beta
* fix(workflows): revise pre-release logic
* fix(workflows): add missing run
* fix(workflows): use changeset:exit with version instead
* feat(root): add changeset:exit cmd
* refactor(workflows): add pths, id, and format
* feat(workflows): enter pre-release mode
* chore(workflows): remove pre.json only
* refactor(workflows): remove enter-pre-release-mode
* fix(workflows): incorrect url
* refactor(root): remove unused exit command
* refactor(workflows): add comments
* feat(changeset): change to main branch as baseBranch
* feat(root): add changeset:canary
* refactor(workflows): remove unused workflow
* feat(workflow): support canary pre-release mode
* refactor(docs): change to canary
* feat(popover): added control for closing popover on scroll (#3595 )
* fix(navbar): fixed the height when style h-full
* fix(navbar): fixed the height when style h-full
* docs(changeset): resolved extra file
* feat(popover): added control for closing popover on scroll
* update(changeset): correction
* feat(popover): removed extra story
* refactor(test): corrected test for both true and false values of shouldCloseOnScroll
* refactor(docs): added shouldCloseOnScroll prop
* chore(changeset): change to minor
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
* feat: add month and year pickers to DateRangePicker and RangeCalendar (#3302 )
* feat: add month and year pickers to DateRangePicker and RangeCalendar
* chore: update docs
* Update .changeset/kind-cobras-travel.md
* chore: react package version
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore(deps): bump tailwind-merge version (#3657 )
* chore(deps): bump tailwind-merge versions
* chore(theme): adopt latest extendTailwindMerge
* chore(changeset): add changeset
* chore(changeset): change to minor
* Update .changeset/grumpy-mayflies-rhyme.md
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat: added drawer component (#3986 )
Signed-off-by: The1111mp <The1111mp@outlook.com >
Co-authored-by: The1111mp <The1111mp@outlook.com >
* refactor: optimisations (#3523 )
* refactor: replace lodash with native approaches
* refactor(deps): update framer-motion versions
* feat(utilities): add @nextui-org/dom-animation
* refactor(components): load domAnimation dynamically
* refactor(deps): add @nextui-org/dom-animation
* fix(utilities): relocate index.ts
* feat(changeset): framer motion optimization
* chore(deps): bump framer-motion version
* fix(docs): conflict issue
* refactor(hooks): remove the unnecessary this aliasing
* refactor(utilities): remove the unnecessary this aliasing
* chore(docs): remove {} so that it won't be true all the time
* chore(dom-animation): end with new line
* refactor(hooks): use debounce from `@nextui-org/shared-utils`
* chore(deps): add `@nextui-org/shared-utils`
* refactor: move mapKeys logic to `@nextui-org/shared-utils`
* refactor: use `get` from `@nextui-org/shared-utils`
* refactor(docs): use `get` from `@nextui-org/shared-utils`
* refactor(shared-utils): mapKeys
* chore(deps): bump framer-motion version
* chore(deps): remove lodash
* refactor(docs): use intersectionBy from shared-utils
* feat(shared-utils): add intersectionBy
* chore(dom-animation): remove extra blank line
* refactor(shared-utils): revise intersectionBy
* fix(modal): add willChange
* refactor(shared-utils): add comments
* fix: build & tests
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat(hooks): use-theme hook (#3169 )
* feat(docs): update dark mode content
* feat(hooks): @nextui-org/use-theme
* chore(docs): revise ThemeSwitcher code
* refactor(hooks): simplify useTheme and support custom theme names
* feat(hooks): add use-theme test cases
* feat(changeset): add changeset
* refactor(hooks): make localStorageMock globally and clear before each test
* fix(docs): typo
* fix(hooks): coderabbitai comments
* chore(hooks): remove unnecessary +
* chore(changeset): change to minor
* feat(hooks): handle system theme
* chore(hooks): add EOL
* refactor(hooks): add default theme
* refactor(hooks): revise useTheme
* refactor(hooks): resolve pr comments
* refactor(hooks): resolve pr comments
* refactor(hooks): resolve pr comments
* refactor(hooks): remove unused theme in dependency array
* chore(docs): typos
* refactor(hooks): mark system as key for system theme
* chore: merged with canary
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* Fix/avatar flashing (#3987 )
* fix(use-image): cached image flashing
* chore: merged with canary
---------
Co-authored-by: Rakha Kanz Kautsar <rkkautsar@gmail.com >
* refactor(menu): Use `useMenu` and `useMenuItem` from RA (#3261 )
* refactor(menu): use useMenu from react-aria instead
* refactor(menu): use useMenuItem from react-aria instead
* feat(changeset): add changeset
* chore: merged with canary
* fix: dropdown tests
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(theme): added stripe color gradients for progress (#3938 )
* fix(breadcrumbs): added separator rotation for RTL #2486
* chore(changeset): added changeset
* fix(docs): removed unused Link import and merged classnames in dropdown
* fix(theme):added stripe color gradients for progress #1933
* refactor(theme): added stripe-size and createStripeGradient
* chore: add all minor releases
* fix(docs): invalid canary storybook link (#4030 )
* fix(use-image): image ReferenceError in SSR (#4122 )
* fix(use-image): image ReferenceError in SSR
* fix(use-image): sync with beta
* fix(use-image): sync with beta
* chore(use-image): remove unnecessary comments
* fix(docs): buildLocation expects an object (#4118 )
* fix(docs): routing.mdx
* Delete .changeset/pre.json
* chore(docs): update yarn installation command (#4132 )
There is no `-g` flag in yarn. `global` is a command which must immediately follow yarn.
Source: https://classic.yarnpkg.com/lang/en/docs/cli/global/
* chore: upgrade storybook 8 (#4124 )
* feat: upgrade storybook8
* chore: upgrade storybook and vite
* chore: remove @mdx-js/react optimizeDep
* chore: add @mdx-js/react optimizeDep
* fix: format
* docs: add forms guide (#3822 )
* v2.5.0 [BETA] (#4164 )
* chore(pre-release): enter pre-release mode
* fix(theme): apply tw nested group (#3909 )
* chore(changset): add changeset
* fix(theme): apply nested group to table
* chore(docs): update table bottomContent code
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: pkg versions
* fix: changeset
* fix: drawer peer dep
* chore: update plop components tempalte
* ci(changesets): version packages (beta) (#3988 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: pre-release workflow
* chore: debug log added
* chore: force pre-release
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* chore: beta1 (#3990 )
* ci(changesets): version packages (beta) (#3991 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(use-image): image ReferenceError in SSR (#3993 )
* fix(input): fixed a sliding issue caused by the helper wrapper (#3966 )
* If it is false and there is an error message or description it will create a div
* Update packages/components/input/src/input.tsx
* Update packages/components/select/src/select.tsx
* Update packages/components/input/src/textarea.tsx
* add changeset
* changeset update
* ci(changesets): version packages (beta) (#3995 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image loading in the server (#3996 )
* fix: lock file
* chore: force release
* chore: force release 2
* ci(changesets): version packages (beta) (#3997 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image load on next.js (#3998 )
* ci(changesets): version packages (beta) (#3999 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: element.ref was removed in React 19 warning (#4003 )
* ci(changesets): version packages (beta) (#4004 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: react 19 as peer dep (#4008 )
* ci(changesets): version packages (beta) (#4009 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Beta/react 19 support (#4010 )
* fix: react 19 as peer dep
* fix: react 19 as peer dep
* chore: support framer-motion alpha version
* ci(changesets): version packages (beta) (#4011 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(theme): making select and input themes consistent (#3881 )
* ci(changesets): version packages (beta) (#4012 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: support inert value with boolean type for react 19 (#4039 )
* ci(changesets): version packages (beta) (#4041 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert design improved (#4054 )
* ci(changesets): version packages (beta) (#4056 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: drawer improvements (#4057 )
* ci(changesets): version packages (beta) (#4058 )
* feat: alert styles improved (#4071 )
* ci(changesets): version packages (beta) (#4072 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert styles improved (#4073 )
* ci(changesets): version packages (beta) (#4074 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: add number of stars and credits
* chore: fix build
* chore: improve navabr colors
* chore: new changeset (#4083 )
* ci(changesets): version packages (beta) (#4084 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: pnpm cleaned (#4086 )
* ci(changesets): version packages (beta) (#4087 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: custom runnner added
* chore: custom runner test (#4091 )
* Beta/custom runner (#4092 )
* chore: custom runner test
* chore: custom runner test
* chore: remove 2 from older changeset
* ci(changesets): version packages (beta) (#4093 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: new demo added to alert
* Feat/virtualization for autocomplete (#4094 )
* feat: add react-window virtualization for autocomplete
* fix: wrong imports and wrong sizing
* fix: update pnpm lock
* chore: add test cases for large dataset (1000 and 10000 items)
* chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional
* feat: implement dynamic listboxheight n item height, add story
* chore: rename props, remove unnecessary line changes
* fix: maxHeight style 256px for default, conditional usage of virtualizer
* feat: migrate to tan-stack virtual. (todo: fix scroll shadow)
* feat: virtualization support
---------
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
* ci(changesets): version packages (beta) (#4095 )
* feat: small fixes
* feat: add reducedMotion setting to Provider (#3470 )
* feat: add reducedMotion setting to Provider
* chore: refactor reducedMotion story
* Update .changeset/pretty-parrots-guess.md
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4106 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: move circular-progress tv to progress (#3321 )
* fix: remove circular-progress tv to progress
* docs: changeset
* chore(changeset): update changeset message
* Update .changeset/angry-maps-serve.md
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: label placement when the select has a placeholder or description (#4126 )
* ci(changesets): version packages (beta) (#4107 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): add missing `framer-motion` in `peerDependencies` (#4140 )
* fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105 )
* fix(docs): invalid canary storybook link (#4030 )
* fix: menu item hidden overflow text
* feat: changeset
* Merge branch 'beta/release-next' into fix/menu-item-hidden
* fix: truncate list item
* feat: update changeset
* fix(menu): omit internal props
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat(table): add isKeyboardNavigationDisabled prop to the table (#3735 )
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
* feat: add form component (#3036 )
* chore: add support validationBehavior aria
* chore: add validationBehavior to Provider
* chore: add autocomplete validation test
* chore: add checkbox validation test
* fix(input): require condition
* docs: add description of validationBehavior props
* chore: add support validationBehavior props for date components
* docs(dates): add description of validationBehavior props
* chore: add changeset
* chore: format
* chore: fix test
* fix: select validationBehavior is not support yet
* fix: select validationBehavior not supported yet
* feat: add form component with input support
* feat: add support form context
* chore: wip add support for form server errors
* chore: add support checkbox server validation
* chore: add support radio server validation
* chore: update pnpm-lock.yaml
* chore: add support input server validation
* chore: add support autocomplete server validation
* chore(form): add server validation stories
* chore: fix test
* chore: add date-picker validation test
* chore: update form stories
* chore: add changeset
* chore: update react-aria version
* chore: add pnpm-lock.yaml
* chore: update react-aria version
* chore: add comment
* chore: update react-aria version
* chore: fix change set
* chore: export form component in the main package
* chore: upgrade react-aria
* chore: fixed internationalized/date version
* fix: build error
* chore: upgrade docs react-aria version
* fix: remove comment
* fix: debug setting
* chore(docs): update sponsor (#3904 )
* chore(docs): remove Scrumbuiss
* chore(docs): remove Scrumbuiss logo
* chore(docs): replace va by posthog (#4123 )
* chore(changeset): change to patch
* refactor: react-aria-components remove to decrease package size, logic moved to the form package
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* docs: add forms guide (#4155 )
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* chore: routes updated
* ci(changesets): version packages (beta) (#4151 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: fix indentation
* fix(changeset): package not be found
* ci(changesets): version packages (beta) (#4158 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(select): controlled isInvalid prop (#4082 )
* fix(select): controlled isInvalid prop
* chore: add changeset
* Merge branch 'beta/release-next' into pr/4082
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* ci(changesets): version packages (beta) (#4159 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore(changeset): bump all versions
* ci(changesets): version packages (beta) (#4160 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): missing peer / dev dependency for framer-motion (#4161 )
* fix(system): align `navigate` function parameters with `@react-aria` (#4163 )
* fix: menu item classNames not work (#4156 )
* fix: menu item classNames not work
* feat: changeset
* docs: update
* feat: merge classes utility added
* Update .changeset/brave-trains-wave.md
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore(docs): remove incorrect info
* ci(changesets): version packages (beta) (#4162 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(docs): overall dx (#4055 )
* refactor(docs): revise code block (#3922 )
* refactor(docs): revise code block
* chore(docs): resolve pr comments
* refactor(docs): autocomplete dx (#3934 )
* feat(docs): add *.js?raw module
* feat(docs): change to react-jsx and add **/*.js
* chore(root): include js and jsx
* refactor(docs): autocomplete dx
* chore(docs): rollback overrides
* chore(autocomplete): lint
* fix(autocomplete): incorrect import path
* fix(docs): autocomplete dx
* chore(docs): remove highlightedLines
* refactor(docs): breadcrumbs dx (#3968 )
* refactor(docs): breadcrumbs dx
* fix(docs): export issue
* chore(docs): use preserve for jsx
* fix(docs): support multiline import
* fix(docs): support multiple export
* chore(docs): add back export
* refactor(docs): avatar dx (#3951 )
* refactor(docs): badge dx (#3960 )
* refactor(docs): badge dx
* chore(docs): incorrect import path
* refactor(docs): button dx (#3981 )
* refactor(docs): calendar dx (#4022 )
* refactor(docs): calendar dx
* fix(docs): incorrect import path
* refactor(docs): switch dx (#4037 )
* refactor(docs): switch dx
* chore(docs): remove highlightedLines
* refactor(docs): tooltip (#4035 )
* refactor(docs): usage dx (#4036 )
* refactor(docs): circular-progress dx (#4029 )
* refactor(docs): chip-dx (#4028 )
* refactor(docs): checkbox-group dx (#4027 )
* refactor(docs): checkbox dx (#4024 )
* refactor(docs): checkbox dx
* fix(docs): incorrect import path
* refactor(docs): card dx (#4023 )
* refactor(docs): skeleton dx (#4042 )
* refactor(docs): spacer dx (#4043 )
* refactor(docs): snippet dx (#4044 )
* refactor(docs): scroll-shadow dx (#4045 )
* refactor(docs): code dx (#4046 )
* refactor(docs): kbd dx (#4047 )
* refactor(docs): link dx (#4048 )
* refactor(docs): progress dx (#4049 )
* refactor(docs): divider dx (#4050 )
* refactor(docs): listbox dx (#4051 )
* refactor(docs): listbox dx
* fix(docs): import path
* fix(docs): import path
* chore(docs): remove highlightedLines
* fix(docs): indentation
* chore(docs): replace the props of autocomplete from value to key (#4129 )
* refactor(docs): alert dx (#4108 )
* refactor(docs): alert dx
* refactor(docs): alert dx
* refactor(docs): image dx (#4061 )
* refactor(docs): textarea dx (#4063 )
* refactor(docs): spinner dx (#4088 )
* refactor(docs): radio-group dx (#4064 )
* refactor(docs): pagination dx (#4062 )
* refactor(docs): pagination dx
* refactor(docs): pagination dx
* refactor(docs): time-input dx (#4065 )
* refactor(docs): time-input dx
* refactor(docs): time-input dx
* refactor(docs): slider dx (#4066 )
* refactor(docs): slider dx
* refactor(docs): slider dx
* refactor(docs): move SliderValue to type
* refactor(docs): slider dx
* refactor(docs): make icon code collapsible
* refactor(docs): specify versions for date packages (#4138 )
* refactor(docs): specify versions for date packages
* fix(docs): correct RA i18n version
* chore(deps): sync version from package
* refactor(docs): tabs dx (#4067 )
* refactor(docs): tab dx
* refactor(docs): tabs dx
* refactor(docs): input dx (#4102 )
* refactor(docs): input dx
* refactor(docs): input dx
* refactor(docs): navbar dx (#4076 )
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): modal dx (#4077 )
* refactor(docs): modal dx
* refactor(docs): modal dx
* refactor(docs): select dx (#4078 )
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): table dx (#4079 )
* refactor(docs): table dx
* fix(docs): import path
* refactor(docs): table dx
* refactor(docs): table dx
* refactor(docs): popover dx (#4090 )
* refactor(docs): range-calendar dx (#4089 )
* refactor(docs): range-calendar dx
* fix(docs): import path
* refactor(docs): date input dx (#4100 )
* refactor(docs): dropdown dx (#4101 )
* refactor(docs): dropdown dx
* refactor(docs): remove highlightedLines
* refactor(docs): dropdown dx
* refactor(docs): dropdown dx
* refactor(docs): date-picker dx (#4103 )
* refactor(docs): date-picker dx
* fix(docs): import paths
* refactor(docs): date-range-picker dx (#4104 )
* refactor(docs): date-range-picker dx
* fix(docs): date-range-picker dx
* refactor(docs): drawer dx (#4109 )
* refactor(docs): drawer dx
* fix(docs): indentation
* refactor(docs): make icon collapsible
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* feat(input-otp): introduce input OTP component (#4052 )
* feat(input-otp): adding the functionality
* fix(input-otp): making the use of input-otp library
* Update .changeset/spotty-flies-jump.md
* chore(input-otp): nits
* feat: improvements and fixes added
* refactor: input-otp docs improvements
* fix: changeset
* fix: build
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4169 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(theme): revise label font size for lg (#4141 )
* refactor(theme): revise label font size for lg
* chore(changeset): add changeset
* refactor(theme): revise label font size for lg
* fix(docs): typecheck errors (#4171 )
* fix(docs): remove duplicate import
* fix(docs): update type for onChange in range-calendar page
* fix(docs): add missing `@react-types/calendar`
* fix(docs): broken syntax
* fix(docs): typecheck issues
* fix(docs): add missing `@react-types/datepicker`
* fix(docs): typecheck issues
* fix: missing li tag when href is specified (#4168 )
* fix(items): items in list should wrapped in li in case of a
* chore: adding the tests
* Feat/textarea add clear button (#4172 )
* feat(components): add clear button to the textarea component
* docs(textarea): add test and changeset
* feat(textarea): modify the changeset file
* feat(textarea): add clear button to textarea
* feat(textarea): add isClearable prop to textarea
* docs(textarea): add documentation to textarea
* docs(textarea): add documentation to textarea
* feat(textarea): replace the textarea component clear icon and modify its location
* feat(textarea): revise the clear button position
* feat(textarea): revise the clear button structure
* feat(textarea): revise the styles of clear button and textarea
* feat(textarea): revise the styles of RTL case
* feat(textarea): change the rtl to pe
* feat(textarea): delete the px classname
* chore(changeset): update package and message
* test(textarea): add test case
* feat(textarea): change the clear button structure
* feat(textarea): optimized code
* chore(textarea): update the changeset file
* docs(textarea): add slots doc to textarea
* chore(textarea): update peerDevpeerDependencies version
* chore(textarea): add usecallback dep
* Update .changeset/five-adults-protect.md
* chore(pre-release): enter pre-release mode
* feat(textarea): modify the clear button icon
* fix(theme): apply tw nested group (#3909 )
* chore(changset): add changeset
* fix(theme): apply nested group to table
* chore(docs): update table bottomContent code
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: pkg versions
* fix: changeset
* fix: drawer peer dep
* chore: update plop components tempalte
* ci(changesets): version packages (beta) (#3988 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: pre-release workflow
* chore: debug log added
* chore: force pre-release
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* chore: beta1 (#3990 )
* ci(changesets): version packages (beta) (#3991 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(use-image): image ReferenceError in SSR (#3993 )
* fix(input): fixed a sliding issue caused by the helper wrapper (#3966 )
* If it is false and there is an error message or description it will create a div
* Update packages/components/input/src/input.tsx
* Update packages/components/select/src/select.tsx
* Update packages/components/input/src/textarea.tsx
* add changeset
* changeset update
* ci(changesets): version packages (beta) (#3995 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image loading in the server (#3996 )
* fix: lock file
* chore: force release
* chore: force release 2
* ci(changesets): version packages (beta) (#3997 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image load on next.js (#3998 )
* ci(changesets): version packages (beta) (#3999 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: element.ref was removed in React 19 warning (#4003 )
* ci(changesets): version packages (beta) (#4004 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: react 19 as peer dep (#4008 )
* ci(changesets): version packages (beta) (#4009 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Beta/react 19 support (#4010 )
* fix: react 19 as peer dep
* fix: react 19 as peer dep
* chore: support framer-motion alpha version
* ci(changesets): version packages (beta) (#4011 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(theme): making select and input themes consistent (#3881 )
* ci(changesets): version packages (beta) (#4012 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(textarea): fix clearButton display
* fix: support inert value with boolean type for react 19 (#4039 )
* ci(changesets): version packages (beta) (#4041 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert design improved (#4054 )
* ci(changesets): version packages (beta) (#4056 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: drawer improvements (#4057 )
* ci(changesets): version packages (beta) (#4058 )
* feat: alert styles improved (#4071 )
* ci(changesets): version packages (beta) (#4072 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert styles improved (#4073 )
* ci(changesets): version packages (beta) (#4074 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: add number of stars and credits
* chore: fix build
* chore: improve navabr colors
* chore: new changeset (#4083 )
* ci(changesets): version packages (beta) (#4084 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: pnpm cleaned (#4086 )
* ci(changesets): version packages (beta) (#4087 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: custom runnner added
* chore: custom runner test (#4091 )
* Beta/custom runner (#4092 )
* chore: custom runner test
* chore: custom runner test
* chore: remove 2 from older changeset
* ci(changesets): version packages (beta) (#4093 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: new demo added to alert
* Feat/virtualization for autocomplete (#4094 )
* feat: add react-window virtualization for autocomplete
* fix: wrong imports and wrong sizing
* fix: update pnpm lock
* chore: add test cases for large dataset (1000 and 10000 items)
* chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional
* feat: implement dynamic listboxheight n item height, add story
* chore: rename props, remove unnecessary line changes
* fix: maxHeight style 256px for default, conditional usage of virtualizer
* feat: migrate to tan-stack virtual. (todo: fix scroll shadow)
* feat: virtualization support
---------
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
* ci(changesets): version packages (beta) (#4095 )
* feat: small fixes
* feat: add reducedMotion setting to Provider (#3470 )
* feat: add reducedMotion setting to Provider
* chore: refactor reducedMotion story
* Update .changeset/pretty-parrots-guess.md
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4106 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: move circular-progress tv to progress (#3321 )
* fix: remove circular-progress tv to progress
* docs: changeset
* chore(changeset): update changeset message
* Update .changeset/angry-maps-serve.md
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: label placement when the select has a placeholder or description (#4126 )
* ci(changesets): version packages (beta) (#4107 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): add missing `framer-motion` in `peerDependencies` (#4140 )
* fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105 )
* fix(docs): invalid canary storybook link (#4030 )
* fix: menu item hidden overflow text
* feat: changeset
* Merge branch 'beta/release-next' into fix/menu-item-hidden
* fix: truncate list item
* feat: update changeset
* fix(menu): omit internal props
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* Update apps/docs/content/docs/components/textarea.mdx
* feat(table): add isKeyboardNavigationDisabled prop to the table (#3735 )
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
* feat: add form component (#3036 )
* chore: add support validationBehavior aria
* chore: add validationBehavior to Provider
* chore: add autocomplete validation test
* chore: add checkbox validation test
* fix(input): require condition
* docs: add description of validationBehavior props
* chore: add support validationBehavior props for date components
* docs(dates): add description of validationBehavior props
* chore: add changeset
* chore: format
* chore: fix test
* fix: select validationBehavior is not support yet
* fix: select validationBehavior not supported yet
* feat: add form component with input support
* feat: add support form context
* chore: wip add support for form server errors
* chore: add support checkbox server validation
* chore: add support radio server validation
* chore: update pnpm-lock.yaml
* chore: add support input server validation
* chore: add support autocomplete server validation
* chore(form): add server validation stories
* chore: fix test
* chore: add date-picker validation test
* chore: update form stories
* chore: add changeset
* chore: update react-aria version
* chore: add pnpm-lock.yaml
* chore: update react-aria version
* chore: add comment
* chore: update react-aria version
* chore: fix change set
* chore: export form component in the main package
* chore: upgrade react-aria
* chore: fixed internationalized/date version
* fix: build error
* chore: upgrade docs react-aria version
* fix: remove comment
* fix: debug setting
* chore(docs): update sponsor (#3904 )
* chore(docs): remove Scrumbuiss
* chore(docs): remove Scrumbuiss logo
* chore(docs): replace va by posthog (#4123 )
* chore(changeset): change to patch
* refactor: react-aria-components remove to decrease package size, logic moved to the form package
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* docs: add forms guide (#4155 )
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* chore: routes updated
* ci(changesets): version packages (beta) (#4151 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: fix indentation
* fix(changeset): package not be found
* ci(changesets): version packages (beta) (#4158 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(select): controlled isInvalid prop (#4082 )
* fix(select): controlled isInvalid prop
* chore: add changeset
* Merge branch 'beta/release-next' into pr/4082
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* ci(changesets): version packages (beta) (#4159 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore(changeset): bump all versions
* ci(changesets): version packages (beta) (#4160 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): missing peer / dev dependency for framer-motion (#4161 )
* fix(system): align `navigate` function parameters with `@react-aria` (#4163 )
* fix: menu item classNames not work (#4156 )
* fix: menu item classNames not work
* feat: changeset
* docs: update
* feat: merge classes utility added
* Update .changeset/brave-trains-wave.md
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore(docs): remove incorrect info
* ci(changesets): version packages (beta) (#4162 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(docs): overall dx (#4055 )
* refactor(docs): revise code block (#3922 )
* refactor(docs): revise code block
* chore(docs): resolve pr comments
* refactor(docs): autocomplete dx (#3934 )
* feat(docs): add *.js?raw module
* feat(docs): change to react-jsx and add **/*.js
* chore(root): include js and jsx
* refactor(docs): autocomplete dx
* chore(docs): rollback overrides
* chore(autocomplete): lint
* fix(autocomplete): incorrect import path
* fix(docs): autocomplete dx
* chore(docs): remove highlightedLines
* refactor(docs): breadcrumbs dx (#3968 )
* refactor(docs): breadcrumbs dx
* fix(docs): export issue
* chore(docs): use preserve for jsx
* fix(docs): support multiline import
* fix(docs): support multiple export
* chore(docs): add back export
* refactor(docs): avatar dx (#3951 )
* refactor(docs): badge dx (#3960 )
* refactor(docs): badge dx
* chore(docs): incorrect import path
* refactor(docs): button dx (#3981 )
* refactor(docs): calendar dx (#4022 )
* refactor(docs): calendar dx
* fix(docs): incorrect import path
* refactor(docs): switch dx (#4037 )
* refactor(docs): switch dx
* chore(docs): remove highlightedLines
* refactor(docs): tooltip (#4035 )
* refactor(docs): usage dx (#4036 )
* refactor(docs): circular-progress dx (#4029 )
* refactor(docs): chip-dx (#4028 )
* refactor(docs): checkbox-group dx (#4027 )
* refactor(docs): checkbox dx (#4024 )
* refactor(docs): checkbox dx
* fix(docs): incorrect import path
* refactor(docs): card dx (#4023 )
* refactor(docs): skeleton dx (#4042 )
* refactor(docs): spacer dx (#4043 )
* refactor(docs): snippet dx (#4044 )
* refactor(docs): scroll-shadow dx (#4045 )
* refactor(docs): code dx (#4046 )
* refactor(docs): kbd dx (#4047 )
* refactor(docs): link dx (#4048 )
* refactor(docs): progress dx (#4049 )
* refactor(docs): divider dx (#4050 )
* refactor(docs): listbox dx (#4051 )
* refactor(docs): listbox dx
* fix(docs): import path
* fix(docs): import path
* chore(docs): remove highlightedLines
* fix(docs): indentation
* chore(docs): replace the props of autocomplete from value to key (#4129 )
* refactor(docs): alert dx (#4108 )
* refactor(docs): alert dx
* refactor(docs): alert dx
* refactor(docs): image dx (#4061 )
* refactor(docs): textarea dx (#4063 )
* refactor(docs): spinner dx (#4088 )
* refactor(docs): radio-group dx (#4064 )
* refactor(docs): pagination dx (#4062 )
* refactor(docs): pagination dx
* refactor(docs): pagination dx
* refactor(docs): time-input dx (#4065 )
* refactor(docs): time-input dx
* refactor(docs): time-input dx
* refactor(docs): slider dx (#4066 )
* refactor(docs): slider dx
* refactor(docs): slider dx
* refactor(docs): move SliderValue to type
* refactor(docs): slider dx
* refactor(docs): make icon code collapsible
* refactor(docs): specify versions for date packages (#4138 )
* refactor(docs): specify versions for date packages
* fix(docs): correct RA i18n version
* chore(deps): sync version from package
* refactor(docs): tabs dx (#4067 )
* refactor(docs): tab dx
* refactor(docs): tabs dx
* refactor(docs): input dx (#4102 )
* refactor(docs): input dx
* refactor(docs): input dx
* refactor(docs): navbar dx (#4076 )
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): modal dx (#4077 )
* refactor(docs): modal dx
* refactor(docs): modal dx
* refactor(docs): select dx (#4078 )
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): table dx (#4079 )
* refactor(docs): table dx
* fix(docs): import path
* refactor(docs): table dx
* refactor(docs): table dx
* refactor(docs): popover dx (#4090 )
* refactor(docs): range-calendar dx (#4089 )
* refactor(docs): range-calendar dx
* fix(docs): import path
* refactor(docs): date input dx (#4100 )
* refactor(docs): dropdown dx (#4101 )
* refactor(docs): dropdown dx
* refactor(docs): remove highlightedLines
* refactor(docs): dropdown dx
* refactor(docs): dropdown dx
* refactor(docs): date-picker dx (#4103 )
* refactor(docs): date-picker dx
* fix(docs): import paths
* refactor(docs): date-range-picker dx (#4104 )
* refactor(docs): date-range-picker dx
* fix(docs): date-range-picker dx
* refactor(docs): drawer dx (#4109 )
* refactor(docs): drawer dx
* fix(docs): indentation
* refactor(docs): make icon collapsible
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* Merge branch 'beta/release-next' into pr/3477
* refactor(docs): apply new structure to doc
* feat(input-otp): introduce input OTP component (#4052 )
* feat(input-otp): adding the functionality
* fix(input-otp): making the use of input-otp library
* Update .changeset/spotty-flies-jump.md
* chore(input-otp): nits
* feat: improvements and fixes added
* refactor: input-otp docs improvements
* fix: changeset
* fix: build
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4169 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(theme): revise label font size for lg (#4141 )
* refactor(theme): revise label font size for lg
* chore(changeset): add changeset
* refactor(theme): revise label font size for lg
* fix(docs): typecheck errors (#4171 )
* fix(docs): remove duplicate import
* fix(docs): update type for onChange in range-calendar page
* fix(docs): add missing `@react-types/calendar`
* fix(docs): broken syntax
* fix(docs): typecheck issues
* fix(docs): add missing `@react-types/datepicker`
* fix(docs): typecheck issues
* fix: missing li tag when href is specified (#4168 )
* fix(items): items in list should wrapped in li in case of a
* chore: adding the tests
* fix: textarea issues with the clear button
* chore: adjust clear button position
---------
Co-authored-by: doki- <1335902682@qq.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mustafa Balcı <19329346+mstfblci@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@gmail.com >
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Tianen Pang <32772271+tianenpang@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
* ci(changesets): version packages (beta) (#4170 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* docs: sync api from nextui-cli v0.3.5 (#4173 )
Co-authored-by: GitHub Action <action@github.com >
* ci(changesets): exit pre-release mode
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mustafa Balcı <19329346+mstfblci@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@gmail.com >
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Tianen Pang <32772271+tianenpang@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
Co-authored-by: doki- <1335902682@qq.com >
Co-authored-by: GitHub Action <action@github.com >
* fix: pre release workflow on protected branches (#4174 )
* chore(pre-release): enter pre-release mode (#4175 )
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix: input otp peer deps (#4176 )
* chore: update workflows
* chore: pre release workflow modified (#4177 )
* chore: canary versions (#4178 )
* fix: pre-release workflow (#4179 )
* chore: merged with beta branch
* chore: workflow updated
* ci(changesets): version packages
* fix: changeset get github info
* chore: force canary to release (#4180 )
* Feat/canary release (#4181 )
* chore: force canary to release
* feat: canary release
* ci(changesets): version packages
* ci(changesets): version packages
* fix: exit pre-release mode
* fix: exit pre-release mode
* fix: exit pre-release mode
* fix: exit pre-release mode
* fix: exit pre-release mode
* chore: exit pre release mode
* fix(workflows): release & pre-release flow (#4184 )
* chore: revert exit and enter pre release changes
* chore: canary release test (#4185 )
* chore: update exit and enter workflows
* chore: update workflow name
* fix: exit pre-release mode
* fix: exit pre-release mode
* chore: delete pre file
* chore: remove duplicate changesets
* chore: base branch change to canary, changeset config
* refactor: beta tags manually deleted (#4187 )
* fix: install
* fix: peer deps (#4188 )
* Fix/peer deps (#4189 )
* fix: peer deps
* fix: tests
* fix: routes
* chore(docs): revise defaultShowFlagList (#4193 )
* chore(docs): add Example to defaultShowFlagList
* chore(docs): revise defaultShowFlagList
* feat: documentation improvements (#4195 )
* feat: documentation improvements
* fix: alert api
* Feat/doc improvements (#4196 )
* feat: documentation improvements
* fix: alert api
* fix: copy button
* fix: return in card demo
* Fix/react core pkg (#4204 )
* fix: double use client tag import in react core package
* fix: double use client
* chore: restore postbuild script
* docs: optimize code fold (#4202 )
* docs: optimize code fold
* fix: code review
* fix(input): teaxtarea label squish (#4197 )
* fix(input): teaxtarea label squish
* chore(changeset): add changeset for textarea label fix
* chore: remove customer runner
* chore: rename changeset
* chore: increase timeout
* chore: change get info pkg version
* chore: new changeset
* chore: single chnageset
* chore: consolidated changeset
* chore: consolidated changeset
* Update release.yaml (#4205 )
* chore: consolidated changeset
* 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
* 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 >
* feat(select): virtualization (#4203 )
* fix: should not export list item internal variables type
* feat: changeset
* feat: integrate virtualized listbox to select component, add more props
* feat: update docs for select component
* feat: update docs to include API for virtualization
* fix: update docs to follow the newest format
* fix: update test for disable virtualization, add test for virtualized version
* fix: fix typo
* fix: type error
* fix: code block type error
* chore: update docs to use raw jsx instead of template literal
* fix: fix code-demo for typecheck
* chore: rollback for files
* fix: types
* chore: remove caret version on tanstack virtual pkg
* fix: pnpm lock file
* fix: virtualization examples
* fix: number of items
---------
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore: adjust code colors
* fix: collection based components ref (#4207 )
* chore: documentation adjustments
* 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
* fix(docs): types for classNames and itemClasses (#4209 )
* feat: documentation improvements
* chore: more improvements to the docs, routing updated, acccordiong font size change
* feat: forms doc in progress
* 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 >
* chore(docs): remove non-existing attribute (#4221 )
* 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
* 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
* fix: form fixes and improvements (#4224 )
* chore: form in progress
* chore: main demo addded to forms, checkbox validation fixed
* chore: forms docs improved
* fix(deps): bump `@react-aria/utils` version (#4226 )
* fix(deps): bump `@react-aria/utils` version
* chore(changeset): add changeset
* feat: forms doc completed
* chore: form component doc created
* chore: forms doc improved
* chore: doc improvements
* chore: alert doc improved
* feat: nextjs 15 migration in progress
* feat: nextjs 15 migration [docs] (#4228 )
* feat: nextjs 15 migration in progress
* feat: next 15 downgraded to next 14
* fix: migration errors
* feat: codeblog is now rendered only when visible, this made a huge performance improvement
* fix: remove folding
* feat: v2.6.0 blog
* feat: Adding nextui pro section on the landing page (#4227 )
* feat: adding nextui pro section on the landing page
* chore(nits): nits
* fix: remove pro image on mobile
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(docs): prevent scrolling up on pressing theme change switch (#4233 )
* chore: improve v2.6.0 blog
* chore: small improvements
* chore: improve blog
* ci(changesets): version packages (#4186 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: snippet release (#4235 )
* ci(changesets): version packages (#4236 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore: v2.6.2
* ci(changesets): version packages (#4237 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: draggable modal demo
* fix: v2.6 blog
* chore: adjust blog
* chore: release notes link updated
* fix: v2.6.0 (#4247 )
* fix: v2.6.0
* chore: update framer motion version
* ci(changesets): version packages (#4248 )
* fix(deps): incorrect peerDependencies for theme and system package (#4255 )
* fix(deps): incorrect peerDependencies for theme and system package
* chore(changeset): add changeset
* ci(changesets): version packages (#4261 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore: adjust doc
---------
Signed-off-by: Innei <i@innei.in >
Signed-off-by: The1111mp <The1111mp@outlook.com >
Co-authored-by: ryoon <ryoon50@gmail.com >
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Abhinav Agarwal <78839973+abhinav700@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@gmail.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: David Gonzalez <dgonzalez1992@outlook.com >
Co-authored-by: Julie Saia <76669473+juliesaia@users.noreply.github.com >
Co-authored-by: Alex Nguyen <dev@alexnguyen.co.nz >
Co-authored-by: max <hi.max@foxmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: Shrinidhi Upadhyaya <shrinidhiupadhyaya1195@gmail.com >
Co-authored-by: Anuj Sharma <52837557+sanuj21@users.noreply.github.com >
Co-authored-by: Innei <tukon479@gmail.com >
Co-authored-by: Jeff. <jeffreysfu@gmail.com >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Abhinav Agarwal <abhinavagrawal700@gmail.com >
Co-authored-by: wzc520pyfm <1528857653@qq.com >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Abhinandan <abhinandanverma551@gmail.com >
Co-authored-by: The1111mp <The1111mp@outlook.com >
Co-authored-by: Rakha Kanz Kautsar <rkkautsar@gmail.com >
Co-authored-by: Can Rau <cansrau@gmail.com >
Co-authored-by: Azpekt <65199167+AzpektDev@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mustafa Balcı <19329346+mstfblci@users.noreply.github.com >
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
Co-authored-by: Tianen Pang <32772271+tianenpang@users.noreply.github.com >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
Co-authored-by: doki- <1335902682@qq.com >
Co-authored-by: GitHub Action <action@github.com >
Co-authored-by: Peterl561 <76144929+Peterl561@users.noreply.github.com >
Co-authored-by: Julio Barrios <juliobarmi@gmail.com >
2024-12-07 09:40:39 -03:00
Junior Garcia
949dd1863e
chore: merged with main
2024-12-07 09:40:25 -03:00
Junior Garcia
c336567c8e
chore: adjust doc
2024-12-07 09:34:28 -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
Junior Garcia
d9ae7c89c0
v2.6.0 fixes ( #4249 )
...
* fix(input): ensure clear button is not focusable when disabled (#3774 )
* fix(input): ensure clear button is not focusable when disabled
* test(input): add test to ensure clear button is not focusable when disabled
* chore: add changeset for clear button focus fix when input is disabled
* fix(input): update clear button to use button element
* test(input): add focus test when disabled
and update tests for clear button using button element
* test(input): replace querySelector with getByRole for clear button
* fix(input): set tabIndex to -1 for clear button
* test(input): ensure clear button is not focusable
* fix(image): add missing `w` to `getWrapperProps` dependency (#3802 )
* fix(image): add missing `w` to `getWrapperProps` dependency
* chore(changeset): add changeset
* fix(autocomplete): popover should remain open after clicking clear button (#3788 )
* fix: add state.open() so that dropdown is not closed
* chore: add changeset
* chore(autocomplete): add testcases for keeping lisbox open when clearButton is clicked
* chore: update changeset
* chore(autocomplete): change the docs for test cases
* chore(changeset): update changeset message and add issue number
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* refactor(docs): example of blurred card (#3741 )
* docs(card): adding info regarding the gradient for blurred card
* chore(nit): adding example
* chore(docs): revise content for card isBlurred example
* chore(docs): revise isBlurred note
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(docs): replace twitter logo/links with x logo/links (#3815 )
* fix(docs): replace Twitter logo/links with X logo/links
* docs: update twitter references to x
* docs: update changeset for twitter to x changes
* docs: update twitter references to x
* docs: update twitter references to x
* chore(docs): undo .sponsorsrc since it's generated
* refactor(docs): remove unnecessary classes
* chore(docs): undo .sponsorsrc since it's generated
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(date-picker): adding props from calendarProps to getCalendarProps (#3773 )
* fix(date-picker): adding props from calendarProps to the getCalendarProps
* chore(date-picker): adding the changeset
* chore(changeset): add issue number
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* feat(autocomplete): automatically focus first non-disabled item (#2186 )
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* docs(accordion): add overflow to custom motion example (#3793 )
* fix(docs): typos in dark mode page (#3823 )
* fix(theme): fullWidth in input and select (#3768 )
* fix(input): fixing the fullWidth functionality
* chore(changeset): add issue number
* chore(changeset): revise changeset message
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(autocomplete): exit animation on popover close (#3845 )
* fix(autocomplete): exit animation on popover close
* refactor(autocomplete): getListBoxProps
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* refactor(theme): replace the use of RTL-specific styles with logical properties (#3868 )
* chore(rtl): remove the usages of rtl
* chore(changeset): adding the changeset
* chore(changeset): update changeset message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(select): label placement discrepancy in Select (#3853 )
* fix(select): label placement incorrect in case of multiline
* chore(select): adding the changeset
* chore(select): adding the tests
* chore(select): code imrovement, wkw's suggestions
* chore(changeset): update changeset message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(theme): label placement in select and input (#3869 )
* fix(theme): fix the label placement
* chore(changeset): adding the changeset
* chore(select): adding comments
* fix(docs): avoid translating the code block (#3878 )
* docs(Codeblock): avoid code be translated
* fix(docs): lint issue
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(listbox): change listBoxItem key to optional (#3883 )
* fix(listbox): listBoxItem key to optional
* chore: add defaultSelectedKeys test for numeric keys and ids
* chore: add changeset
* chore: comment out section prompts in PR template (#3884 )
* chore(test): update testing libraries and refactor (#3886 )
* fix(theme): show margin only with label in Switch component (#3861 )
* fix(switch): removed right margin in wrapper #3791
* feat(changeset): added changeset
* fix(switch): removed me-2 in wrapper
* fix(switch): added ms-2 to label
* chore(changeset): correct package and message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(theme): removed pseudo cancel btn from input (#3912 )
* fix(theme): removed pseudo cancel btn from input
* chore(changeset): adding the changeset
* fix(input): conditionally hiding the webkit search
* chore(changeset): revise changeset message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* refactor(docs): dx improvement in accordion (#3856 )
* refactor: improve dx for writing a docs component (#2544 )
* refactor: improve dx for write a docs component
Signed-off-by: Innei <i@innei.in >
* refactor(docs): switch to contentlayer2
* chore(docs): rename to avoid conflict
* refactor(docs): switch to next-contentlayer2
* refactor(docs): revise docs lib
* chore(deps): bump docs related dependencies
* fix(use-aria-multiselect): type issue due to ts version bump
---------
Signed-off-by: Innei <i@innei.in >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* refactor(docs): accordion codes
* feat(docs): declare module `*.jsx?raw`
* feat(docs): include `**/*.jsx`
* fix(docs): incorrect content
* chore(docs): add new lines
* refactor(docs): lint
---------
Signed-off-by: Innei <i@innei.in >
Co-authored-by: Innei <tukon479@gmail.com >
* fix(docs): typos in hero section (#3928 )
* fix(theme): support RTL for breadcrumbs (#3927 )
* fix(breadcrumbs): added separator rotation for RTL #2486
* chore(changeset): added changeset
* fix(docs): removed unused import and merged classNames in dropdown (#3936 )
* fix(breadcrumbs): added separator rotation for RTL #2486
* chore(changeset): added changeset
* fix(docs): removed unused Link import and merged classnames in dropdown
* fix: avatar filter disableAnimation to dom prop (#3946 )
* feat: add git hook to auto update dependencies (#3365 )
* feat: add git hook to auto update dependencies
* feat: update color
* fix: prevent test matcher warning (#3893 )
* fix: prevent test matcher warning
* chore: add node types
* chore: update Jest related packages
* chore: run pnpm install
* fix(tabs): correct inert value for true condition (#3978 )
* Alert component (#3982 )
* feat(alert): began the work on alert component
* fix(readme): making correction
* chore(deps): change to 2.0.0
* chore(docs): update README.md
* feat(theme): init alert tv
* chore(alert): update package.json
* feat(alert): init alert storybook structure
* chore(changeset): add changeset
* chore(changeset): change to minor
* chore(alert): revise alert package.json
* feat(alert): init test structure
* chore(deps): pnpm-lock.yaml
* feat(alert): initailized theme and basic structure
* feat(alert): completed use-alert.ts and alert.tsx
* feat(alert): remove innerWrapper, replace helperWrapper with mainWrapper, adding isCloseable prop
* feat(alert): adding isCloseable prop to baseWrapper dependency
* feat(alert): setting the default value of isCloseable prop to true
* feat(alert): moving CloseIcon inside the button
* feat(alert): updated package.json
* feat(alert): default variant and default story
* feat(alert): adding color and radius stories
* feat(alert): completed the styling
* feat(alert): add stories for isCloseable prop and restyle other stories
* feat(alert): correcting ref type
* feat(alert): add test cases
* feat(alert): remove startContent and endContent props
* feat(alert): make styling more accurate
* feat(alert): fixed default props
* feat(alert): fixed theme docs
* feat(alert): add logic for icons
* feat(alert): begin to add docs
* chore(alert): implement the changes suggested in code review
* feat(alert): add onclose prop to alert
* feat(alert): add test cases
* docs(alert): add onClose event
* feat(docs): add alert to routes.json
* fix(alert): correct the text colors
* docs(alert): fix imports and syntax errors
* chore(alert): implement the changes suggested in code review
* chore(alert): lint the code and change isCloseable to isClosable
* chore(alert): lint the code
* chore(alert): run pnpm i
* fix(alert): fix the logic for close button and add test case
* docs(alert): fix docs, change isCloseable to isClosable and change docs for isClosable property
* chore(alert): add the support for RTL, refactor the code and fix the typos
* docs(alert): grammer issues fix
* fix(alert): replace rtl with ms
* chore(alert): custom style and custom implementation, remove isClosable={false}, refactor, fix typos
* chore(alert): linting and implement coderabbit suggestions
* chore(alert): refactor and typos fix
* chore(alert): add import for closeIcon
* chore(alert): add props for closeIcon
* chore(alert): refactor fixes
* chore(alert): implement ryo-manba's suggestion on close Icon
* chore(alert): make alert more responsive
* chore(alert): fix grammer issues suggested by coderabbit
* fix(alert): add max-w property to make alert responsive
* chore(alert): improve responsiveness and refactor alertIcon
* chore(alert): add missing dependency to useMemo
* chore(alert): implement coderabbit's suggestions
* chore(alert): update docs and refactor
* chore(alert): refactor alertIcon and implement coderabbit's suggestion
* chore: fixes
---------
Co-authored-by: Abhinav Agarwal <abhinavagrawal700@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Abhinav Agarwal <78839973+abhinav700@users.noreply.github.com >
* Feat/add draggable modal (#3983 )
* feat(hooks): add use-draggable hook
* feat(components): [modal] export use-draggable
* docs(components): [modal] add draggable modal
* feat(components): [modal] add ref prop for modal-header
* chore(components): [modal] add draggable modal for storybook
* chore: add changeset for draggable modal
* docs(hooks): [use-draggable] fix typo
* chore: upper changeset
* chore(components): [modal] add overflow draggable modal to sb
* test(components): [modal] add draggable modal tests
* build: update pnpm-lock
* chore(changeset): include issue number
* feat(hooks): [use-draggable] set user-select to none when during the dragging
* docs(components): [modal] update code demo title
* docs(components): [modal] condense description for draggable overflow
* feat(hooks): [use-draggable] change version to 0.1.0
* refactor(hooks): [use-draggable] use use-move implement use-draggable
* feat(hooks): [use-draggable] remove repeated user-select
* test(components): [modal] update test case to use-draggable base use-move
* docs(components): [modal] update draggable examples
* fix(hooks): [use-draggable] fix mobile device touchmove event conflict
* refactor(hooks): [use-draggable] remove drag ref prop
* refactor(hooks): [use-draggable] draggable2is-disabled overflow2can-overflow
* test(components): [modal] add draggble disable test
* chore(hooks): [use-draggable] add commant for body touchmove
* Update packages/hooks/use-draggable/src/index.ts
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* fix(hooks): [use-draggable] import use-callback
* test(components): [modal] add mobile-sized test for draggable
* chore(hooks): [use-draggable] add use-callback for func
* chore(hooks): [use-draggable] update version to 2.0.0
* chore: fix typo
* Update .changeset/soft-apricots-sleep.md
* fix: pnpm lock
* fix: build
* chore: add updated moadl
---------
Co-authored-by: wzc520pyfm <1528857653@qq.com >
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* chore: upgrade react-aria / React 19 & Next.js 15 support (#3732 )
* chore: upgrade react-aria
* chore: add changeset
* chore: fix type error
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat(date-picker): add selectorButtonPlacement property (#3248 )
* feat(date-picker): add selectorButtonPlacement property
* chore: update changeset
* Update .changeset/neat-donkeys-accept.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat: add tab ref (#3974 )
* feat: add tab ref
* feat: add changeset
* feat: pre-release workflow (#2910 )
* feat(workflow): pre-release
* feat(workflow): exit pre-release
* chore(workflow): update version & publish commands
* fix(workflow): add missing attributes and use schangeset:beta cmd
* feat(root): add changeset:beta
* fix(workflows): revise pre-release logic
* fix(workflows): add missing run
* fix(workflows): use changeset:exit with version instead
* feat(root): add changeset:exit cmd
* refactor(workflows): add pths, id, and format
* feat(workflows): enter pre-release mode
* chore(workflows): remove pre.json only
* refactor(workflows): remove enter-pre-release-mode
* fix(workflows): incorrect url
* refactor(root): remove unused exit command
* refactor(workflows): add comments
* feat(changeset): change to main branch as baseBranch
* feat(root): add changeset:canary
* refactor(workflows): remove unused workflow
* feat(workflow): support canary pre-release mode
* refactor(docs): change to canary
* feat(popover): added control for closing popover on scroll (#3595 )
* fix(navbar): fixed the height when style h-full
* fix(navbar): fixed the height when style h-full
* docs(changeset): resolved extra file
* feat(popover): added control for closing popover on scroll
* update(changeset): correction
* feat(popover): removed extra story
* refactor(test): corrected test for both true and false values of shouldCloseOnScroll
* refactor(docs): added shouldCloseOnScroll prop
* chore(changeset): change to minor
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
* feat: add month and year pickers to DateRangePicker and RangeCalendar (#3302 )
* feat: add month and year pickers to DateRangePicker and RangeCalendar
* chore: update docs
* Update .changeset/kind-cobras-travel.md
* chore: react package version
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore(deps): bump tailwind-merge version (#3657 )
* chore(deps): bump tailwind-merge versions
* chore(theme): adopt latest extendTailwindMerge
* chore(changeset): add changeset
* chore(changeset): change to minor
* Update .changeset/grumpy-mayflies-rhyme.md
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat: added drawer component (#3986 )
Signed-off-by: The1111mp <The1111mp@outlook.com >
Co-authored-by: The1111mp <The1111mp@outlook.com >
* refactor: optimisations (#3523 )
* refactor: replace lodash with native approaches
* refactor(deps): update framer-motion versions
* feat(utilities): add @nextui-org/dom-animation
* refactor(components): load domAnimation dynamically
* refactor(deps): add @nextui-org/dom-animation
* fix(utilities): relocate index.ts
* feat(changeset): framer motion optimization
* chore(deps): bump framer-motion version
* fix(docs): conflict issue
* refactor(hooks): remove the unnecessary this aliasing
* refactor(utilities): remove the unnecessary this aliasing
* chore(docs): remove {} so that it won't be true all the time
* chore(dom-animation): end with new line
* refactor(hooks): use debounce from `@nextui-org/shared-utils`
* chore(deps): add `@nextui-org/shared-utils`
* refactor: move mapKeys logic to `@nextui-org/shared-utils`
* refactor: use `get` from `@nextui-org/shared-utils`
* refactor(docs): use `get` from `@nextui-org/shared-utils`
* refactor(shared-utils): mapKeys
* chore(deps): bump framer-motion version
* chore(deps): remove lodash
* refactor(docs): use intersectionBy from shared-utils
* feat(shared-utils): add intersectionBy
* chore(dom-animation): remove extra blank line
* refactor(shared-utils): revise intersectionBy
* fix(modal): add willChange
* refactor(shared-utils): add comments
* fix: build & tests
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat(hooks): use-theme hook (#3169 )
* feat(docs): update dark mode content
* feat(hooks): @nextui-org/use-theme
* chore(docs): revise ThemeSwitcher code
* refactor(hooks): simplify useTheme and support custom theme names
* feat(hooks): add use-theme test cases
* feat(changeset): add changeset
* refactor(hooks): make localStorageMock globally and clear before each test
* fix(docs): typo
* fix(hooks): coderabbitai comments
* chore(hooks): remove unnecessary +
* chore(changeset): change to minor
* feat(hooks): handle system theme
* chore(hooks): add EOL
* refactor(hooks): add default theme
* refactor(hooks): revise useTheme
* refactor(hooks): resolve pr comments
* refactor(hooks): resolve pr comments
* refactor(hooks): resolve pr comments
* refactor(hooks): remove unused theme in dependency array
* chore(docs): typos
* refactor(hooks): mark system as key for system theme
* chore: merged with canary
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* Fix/avatar flashing (#3987 )
* fix(use-image): cached image flashing
* chore: merged with canary
---------
Co-authored-by: Rakha Kanz Kautsar <rkkautsar@gmail.com >
* refactor(menu): Use `useMenu` and `useMenuItem` from RA (#3261 )
* refactor(menu): use useMenu from react-aria instead
* refactor(menu): use useMenuItem from react-aria instead
* feat(changeset): add changeset
* chore: merged with canary
* fix: dropdown tests
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(theme): added stripe color gradients for progress (#3938 )
* fix(breadcrumbs): added separator rotation for RTL #2486
* chore(changeset): added changeset
* fix(docs): removed unused Link import and merged classnames in dropdown
* fix(theme):added stripe color gradients for progress #1933
* refactor(theme): added stripe-size and createStripeGradient
* chore: add all minor releases
* fix(docs): invalid canary storybook link (#4030 )
* fix(use-image): image ReferenceError in SSR (#4122 )
* fix(use-image): image ReferenceError in SSR
* fix(use-image): sync with beta
* fix(use-image): sync with beta
* chore(use-image): remove unnecessary comments
* fix(docs): buildLocation expects an object (#4118 )
* fix(docs): routing.mdx
* Delete .changeset/pre.json
* chore(docs): update yarn installation command (#4132 )
There is no `-g` flag in yarn. `global` is a command which must immediately follow yarn.
Source: https://classic.yarnpkg.com/lang/en/docs/cli/global/
* chore: upgrade storybook 8 (#4124 )
* feat: upgrade storybook8
* chore: upgrade storybook and vite
* chore: remove @mdx-js/react optimizeDep
* chore: add @mdx-js/react optimizeDep
* fix: format
* docs: add forms guide (#3822 )
* v2.5.0 [BETA] (#4164 )
* chore(pre-release): enter pre-release mode
* fix(theme): apply tw nested group (#3909 )
* chore(changset): add changeset
* fix(theme): apply nested group to table
* chore(docs): update table bottomContent code
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: pkg versions
* fix: changeset
* fix: drawer peer dep
* chore: update plop components tempalte
* ci(changesets): version packages (beta) (#3988 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: pre-release workflow
* chore: debug log added
* chore: force pre-release
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* chore: beta1 (#3990 )
* ci(changesets): version packages (beta) (#3991 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(use-image): image ReferenceError in SSR (#3993 )
* fix(input): fixed a sliding issue caused by the helper wrapper (#3966 )
* If it is false and there is an error message or description it will create a div
* Update packages/components/input/src/input.tsx
* Update packages/components/select/src/select.tsx
* Update packages/components/input/src/textarea.tsx
* add changeset
* changeset update
* ci(changesets): version packages (beta) (#3995 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image loading in the server (#3996 )
* fix: lock file
* chore: force release
* chore: force release 2
* ci(changesets): version packages (beta) (#3997 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image load on next.js (#3998 )
* ci(changesets): version packages (beta) (#3999 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: element.ref was removed in React 19 warning (#4003 )
* ci(changesets): version packages (beta) (#4004 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: react 19 as peer dep (#4008 )
* ci(changesets): version packages (beta) (#4009 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Beta/react 19 support (#4010 )
* fix: react 19 as peer dep
* fix: react 19 as peer dep
* chore: support framer-motion alpha version
* ci(changesets): version packages (beta) (#4011 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(theme): making select and input themes consistent (#3881 )
* ci(changesets): version packages (beta) (#4012 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: support inert value with boolean type for react 19 (#4039 )
* ci(changesets): version packages (beta) (#4041 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert design improved (#4054 )
* ci(changesets): version packages (beta) (#4056 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: drawer improvements (#4057 )
* ci(changesets): version packages (beta) (#4058 )
* feat: alert styles improved (#4071 )
* ci(changesets): version packages (beta) (#4072 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert styles improved (#4073 )
* ci(changesets): version packages (beta) (#4074 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: add number of stars and credits
* chore: fix build
* chore: improve navabr colors
* chore: new changeset (#4083 )
* ci(changesets): version packages (beta) (#4084 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: pnpm cleaned (#4086 )
* ci(changesets): version packages (beta) (#4087 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: custom runnner added
* chore: custom runner test (#4091 )
* Beta/custom runner (#4092 )
* chore: custom runner test
* chore: custom runner test
* chore: remove 2 from older changeset
* ci(changesets): version packages (beta) (#4093 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: new demo added to alert
* Feat/virtualization for autocomplete (#4094 )
* feat: add react-window virtualization for autocomplete
* fix: wrong imports and wrong sizing
* fix: update pnpm lock
* chore: add test cases for large dataset (1000 and 10000 items)
* chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional
* feat: implement dynamic listboxheight n item height, add story
* chore: rename props, remove unnecessary line changes
* fix: maxHeight style 256px for default, conditional usage of virtualizer
* feat: migrate to tan-stack virtual. (todo: fix scroll shadow)
* feat: virtualization support
---------
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
* ci(changesets): version packages (beta) (#4095 )
* feat: small fixes
* feat: add reducedMotion setting to Provider (#3470 )
* feat: add reducedMotion setting to Provider
* chore: refactor reducedMotion story
* Update .changeset/pretty-parrots-guess.md
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4106 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: move circular-progress tv to progress (#3321 )
* fix: remove circular-progress tv to progress
* docs: changeset
* chore(changeset): update changeset message
* Update .changeset/angry-maps-serve.md
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: label placement when the select has a placeholder or description (#4126 )
* ci(changesets): version packages (beta) (#4107 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): add missing `framer-motion` in `peerDependencies` (#4140 )
* fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105 )
* fix(docs): invalid canary storybook link (#4030 )
* fix: menu item hidden overflow text
* feat: changeset
* Merge branch 'beta/release-next' into fix/menu-item-hidden
* fix: truncate list item
* feat: update changeset
* fix(menu): omit internal props
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat(table): add isKeyboardNavigationDisabled prop to the table (#3735 )
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
* feat: add form component (#3036 )
* chore: add support validationBehavior aria
* chore: add validationBehavior to Provider
* chore: add autocomplete validation test
* chore: add checkbox validation test
* fix(input): require condition
* docs: add description of validationBehavior props
* chore: add support validationBehavior props for date components
* docs(dates): add description of validationBehavior props
* chore: add changeset
* chore: format
* chore: fix test
* fix: select validationBehavior is not support yet
* fix: select validationBehavior not supported yet
* feat: add form component with input support
* feat: add support form context
* chore: wip add support for form server errors
* chore: add support checkbox server validation
* chore: add support radio server validation
* chore: update pnpm-lock.yaml
* chore: add support input server validation
* chore: add support autocomplete server validation
* chore(form): add server validation stories
* chore: fix test
* chore: add date-picker validation test
* chore: update form stories
* chore: add changeset
* chore: update react-aria version
* chore: add pnpm-lock.yaml
* chore: update react-aria version
* chore: add comment
* chore: update react-aria version
* chore: fix change set
* chore: export form component in the main package
* chore: upgrade react-aria
* chore: fixed internationalized/date version
* fix: build error
* chore: upgrade docs react-aria version
* fix: remove comment
* fix: debug setting
* chore(docs): update sponsor (#3904 )
* chore(docs): remove Scrumbuiss
* chore(docs): remove Scrumbuiss logo
* chore(docs): replace va by posthog (#4123 )
* chore(changeset): change to patch
* refactor: react-aria-components remove to decrease package size, logic moved to the form package
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* docs: add forms guide (#4155 )
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* chore: routes updated
* ci(changesets): version packages (beta) (#4151 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: fix indentation
* fix(changeset): package not be found
* ci(changesets): version packages (beta) (#4158 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(select): controlled isInvalid prop (#4082 )
* fix(select): controlled isInvalid prop
* chore: add changeset
* Merge branch 'beta/release-next' into pr/4082
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* ci(changesets): version packages (beta) (#4159 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore(changeset): bump all versions
* ci(changesets): version packages (beta) (#4160 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): missing peer / dev dependency for framer-motion (#4161 )
* fix(system): align `navigate` function parameters with `@react-aria` (#4163 )
* fix: menu item classNames not work (#4156 )
* fix: menu item classNames not work
* feat: changeset
* docs: update
* feat: merge classes utility added
* Update .changeset/brave-trains-wave.md
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore(docs): remove incorrect info
* ci(changesets): version packages (beta) (#4162 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(docs): overall dx (#4055 )
* refactor(docs): revise code block (#3922 )
* refactor(docs): revise code block
* chore(docs): resolve pr comments
* refactor(docs): autocomplete dx (#3934 )
* feat(docs): add *.js?raw module
* feat(docs): change to react-jsx and add **/*.js
* chore(root): include js and jsx
* refactor(docs): autocomplete dx
* chore(docs): rollback overrides
* chore(autocomplete): lint
* fix(autocomplete): incorrect import path
* fix(docs): autocomplete dx
* chore(docs): remove highlightedLines
* refactor(docs): breadcrumbs dx (#3968 )
* refactor(docs): breadcrumbs dx
* fix(docs): export issue
* chore(docs): use preserve for jsx
* fix(docs): support multiline import
* fix(docs): support multiple export
* chore(docs): add back export
* refactor(docs): avatar dx (#3951 )
* refactor(docs): badge dx (#3960 )
* refactor(docs): badge dx
* chore(docs): incorrect import path
* refactor(docs): button dx (#3981 )
* refactor(docs): calendar dx (#4022 )
* refactor(docs): calendar dx
* fix(docs): incorrect import path
* refactor(docs): switch dx (#4037 )
* refactor(docs): switch dx
* chore(docs): remove highlightedLines
* refactor(docs): tooltip (#4035 )
* refactor(docs): usage dx (#4036 )
* refactor(docs): circular-progress dx (#4029 )
* refactor(docs): chip-dx (#4028 )
* refactor(docs): checkbox-group dx (#4027 )
* refactor(docs): checkbox dx (#4024 )
* refactor(docs): checkbox dx
* fix(docs): incorrect import path
* refactor(docs): card dx (#4023 )
* refactor(docs): skeleton dx (#4042 )
* refactor(docs): spacer dx (#4043 )
* refactor(docs): snippet dx (#4044 )
* refactor(docs): scroll-shadow dx (#4045 )
* refactor(docs): code dx (#4046 )
* refactor(docs): kbd dx (#4047 )
* refactor(docs): link dx (#4048 )
* refactor(docs): progress dx (#4049 )
* refactor(docs): divider dx (#4050 )
* refactor(docs): listbox dx (#4051 )
* refactor(docs): listbox dx
* fix(docs): import path
* fix(docs): import path
* chore(docs): remove highlightedLines
* fix(docs): indentation
* chore(docs): replace the props of autocomplete from value to key (#4129 )
* refactor(docs): alert dx (#4108 )
* refactor(docs): alert dx
* refactor(docs): alert dx
* refactor(docs): image dx (#4061 )
* refactor(docs): textarea dx (#4063 )
* refactor(docs): spinner dx (#4088 )
* refactor(docs): radio-group dx (#4064 )
* refactor(docs): pagination dx (#4062 )
* refactor(docs): pagination dx
* refactor(docs): pagination dx
* refactor(docs): time-input dx (#4065 )
* refactor(docs): time-input dx
* refactor(docs): time-input dx
* refactor(docs): slider dx (#4066 )
* refactor(docs): slider dx
* refactor(docs): slider dx
* refactor(docs): move SliderValue to type
* refactor(docs): slider dx
* refactor(docs): make icon code collapsible
* refactor(docs): specify versions for date packages (#4138 )
* refactor(docs): specify versions for date packages
* fix(docs): correct RA i18n version
* chore(deps): sync version from package
* refactor(docs): tabs dx (#4067 )
* refactor(docs): tab dx
* refactor(docs): tabs dx
* refactor(docs): input dx (#4102 )
* refactor(docs): input dx
* refactor(docs): input dx
* refactor(docs): navbar dx (#4076 )
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): modal dx (#4077 )
* refactor(docs): modal dx
* refactor(docs): modal dx
* refactor(docs): select dx (#4078 )
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): table dx (#4079 )
* refactor(docs): table dx
* fix(docs): import path
* refactor(docs): table dx
* refactor(docs): table dx
* refactor(docs): popover dx (#4090 )
* refactor(docs): range-calendar dx (#4089 )
* refactor(docs): range-calendar dx
* fix(docs): import path
* refactor(docs): date input dx (#4100 )
* refactor(docs): dropdown dx (#4101 )
* refactor(docs): dropdown dx
* refactor(docs): remove highlightedLines
* refactor(docs): dropdown dx
* refactor(docs): dropdown dx
* refactor(docs): date-picker dx (#4103 )
* refactor(docs): date-picker dx
* fix(docs): import paths
* refactor(docs): date-range-picker dx (#4104 )
* refactor(docs): date-range-picker dx
* fix(docs): date-range-picker dx
* refactor(docs): drawer dx (#4109 )
* refactor(docs): drawer dx
* fix(docs): indentation
* refactor(docs): make icon collapsible
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* feat(input-otp): introduce input OTP component (#4052 )
* feat(input-otp): adding the functionality
* fix(input-otp): making the use of input-otp library
* Update .changeset/spotty-flies-jump.md
* chore(input-otp): nits
* feat: improvements and fixes added
* refactor: input-otp docs improvements
* fix: changeset
* fix: build
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4169 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(theme): revise label font size for lg (#4141 )
* refactor(theme): revise label font size for lg
* chore(changeset): add changeset
* refactor(theme): revise label font size for lg
* fix(docs): typecheck errors (#4171 )
* fix(docs): remove duplicate import
* fix(docs): update type for onChange in range-calendar page
* fix(docs): add missing `@react-types/calendar`
* fix(docs): broken syntax
* fix(docs): typecheck issues
* fix(docs): add missing `@react-types/datepicker`
* fix(docs): typecheck issues
* fix: missing li tag when href is specified (#4168 )
* fix(items): items in list should wrapped in li in case of a
* chore: adding the tests
* Feat/textarea add clear button (#4172 )
* feat(components): add clear button to the textarea component
* docs(textarea): add test and changeset
* feat(textarea): modify the changeset file
* feat(textarea): add clear button to textarea
* feat(textarea): add isClearable prop to textarea
* docs(textarea): add documentation to textarea
* docs(textarea): add documentation to textarea
* feat(textarea): replace the textarea component clear icon and modify its location
* feat(textarea): revise the clear button position
* feat(textarea): revise the clear button structure
* feat(textarea): revise the styles of clear button and textarea
* feat(textarea): revise the styles of RTL case
* feat(textarea): change the rtl to pe
* feat(textarea): delete the px classname
* chore(changeset): update package and message
* test(textarea): add test case
* feat(textarea): change the clear button structure
* feat(textarea): optimized code
* chore(textarea): update the changeset file
* docs(textarea): add slots doc to textarea
* chore(textarea): update peerDevpeerDependencies version
* chore(textarea): add usecallback dep
* Update .changeset/five-adults-protect.md
* chore(pre-release): enter pre-release mode
* feat(textarea): modify the clear button icon
* fix(theme): apply tw nested group (#3909 )
* chore(changset): add changeset
* fix(theme): apply nested group to table
* chore(docs): update table bottomContent code
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: pkg versions
* fix: changeset
* fix: drawer peer dep
* chore: update plop components tempalte
* ci(changesets): version packages (beta) (#3988 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: pre-release workflow
* chore: debug log added
* chore: force pre-release
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* chore: beta1 (#3990 )
* ci(changesets): version packages (beta) (#3991 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(use-image): image ReferenceError in SSR (#3993 )
* fix(input): fixed a sliding issue caused by the helper wrapper (#3966 )
* If it is false and there is an error message or description it will create a div
* Update packages/components/input/src/input.tsx
* Update packages/components/select/src/select.tsx
* Update packages/components/input/src/textarea.tsx
* add changeset
* changeset update
* ci(changesets): version packages (beta) (#3995 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image loading in the server (#3996 )
* fix: lock file
* chore: force release
* chore: force release 2
* ci(changesets): version packages (beta) (#3997 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image load on next.js (#3998 )
* ci(changesets): version packages (beta) (#3999 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: element.ref was removed in React 19 warning (#4003 )
* ci(changesets): version packages (beta) (#4004 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: react 19 as peer dep (#4008 )
* ci(changesets): version packages (beta) (#4009 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Beta/react 19 support (#4010 )
* fix: react 19 as peer dep
* fix: react 19 as peer dep
* chore: support framer-motion alpha version
* ci(changesets): version packages (beta) (#4011 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(theme): making select and input themes consistent (#3881 )
* ci(changesets): version packages (beta) (#4012 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(textarea): fix clearButton display
* fix: support inert value with boolean type for react 19 (#4039 )
* ci(changesets): version packages (beta) (#4041 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert design improved (#4054 )
* ci(changesets): version packages (beta) (#4056 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: drawer improvements (#4057 )
* ci(changesets): version packages (beta) (#4058 )
* feat: alert styles improved (#4071 )
* ci(changesets): version packages (beta) (#4072 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert styles improved (#4073 )
* ci(changesets): version packages (beta) (#4074 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: add number of stars and credits
* chore: fix build
* chore: improve navabr colors
* chore: new changeset (#4083 )
* ci(changesets): version packages (beta) (#4084 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: pnpm cleaned (#4086 )
* ci(changesets): version packages (beta) (#4087 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: custom runnner added
* chore: custom runner test (#4091 )
* Beta/custom runner (#4092 )
* chore: custom runner test
* chore: custom runner test
* chore: remove 2 from older changeset
* ci(changesets): version packages (beta) (#4093 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: new demo added to alert
* Feat/virtualization for autocomplete (#4094 )
* feat: add react-window virtualization for autocomplete
* fix: wrong imports and wrong sizing
* fix: update pnpm lock
* chore: add test cases for large dataset (1000 and 10000 items)
* chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional
* feat: implement dynamic listboxheight n item height, add story
* chore: rename props, remove unnecessary line changes
* fix: maxHeight style 256px for default, conditional usage of virtualizer
* feat: migrate to tan-stack virtual. (todo: fix scroll shadow)
* feat: virtualization support
---------
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
* ci(changesets): version packages (beta) (#4095 )
* feat: small fixes
* feat: add reducedMotion setting to Provider (#3470 )
* feat: add reducedMotion setting to Provider
* chore: refactor reducedMotion story
* Update .changeset/pretty-parrots-guess.md
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4106 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: move circular-progress tv to progress (#3321 )
* fix: remove circular-progress tv to progress
* docs: changeset
* chore(changeset): update changeset message
* Update .changeset/angry-maps-serve.md
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: label placement when the select has a placeholder or description (#4126 )
* ci(changesets): version packages (beta) (#4107 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): add missing `framer-motion` in `peerDependencies` (#4140 )
* fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105 )
* fix(docs): invalid canary storybook link (#4030 )
* fix: menu item hidden overflow text
* feat: changeset
* Merge branch 'beta/release-next' into fix/menu-item-hidden
* fix: truncate list item
* feat: update changeset
* fix(menu): omit internal props
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* Update apps/docs/content/docs/components/textarea.mdx
* feat(table): add isKeyboardNavigationDisabled prop to the table (#3735 )
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
* feat: add form component (#3036 )
* chore: add support validationBehavior aria
* chore: add validationBehavior to Provider
* chore: add autocomplete validation test
* chore: add checkbox validation test
* fix(input): require condition
* docs: add description of validationBehavior props
* chore: add support validationBehavior props for date components
* docs(dates): add description of validationBehavior props
* chore: add changeset
* chore: format
* chore: fix test
* fix: select validationBehavior is not support yet
* fix: select validationBehavior not supported yet
* feat: add form component with input support
* feat: add support form context
* chore: wip add support for form server errors
* chore: add support checkbox server validation
* chore: add support radio server validation
* chore: update pnpm-lock.yaml
* chore: add support input server validation
* chore: add support autocomplete server validation
* chore(form): add server validation stories
* chore: fix test
* chore: add date-picker validation test
* chore: update form stories
* chore: add changeset
* chore: update react-aria version
* chore: add pnpm-lock.yaml
* chore: update react-aria version
* chore: add comment
* chore: update react-aria version
* chore: fix change set
* chore: export form component in the main package
* chore: upgrade react-aria
* chore: fixed internationalized/date version
* fix: build error
* chore: upgrade docs react-aria version
* fix: remove comment
* fix: debug setting
* chore(docs): update sponsor (#3904 )
* chore(docs): remove Scrumbuiss
* chore(docs): remove Scrumbuiss logo
* chore(docs): replace va by posthog (#4123 )
* chore(changeset): change to patch
* refactor: react-aria-components remove to decrease package size, logic moved to the form package
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* docs: add forms guide (#4155 )
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* chore: routes updated
* ci(changesets): version packages (beta) (#4151 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: fix indentation
* fix(changeset): package not be found
* ci(changesets): version packages (beta) (#4158 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(select): controlled isInvalid prop (#4082 )
* fix(select): controlled isInvalid prop
* chore: add changeset
* Merge branch 'beta/release-next' into pr/4082
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* ci(changesets): version packages (beta) (#4159 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore(changeset): bump all versions
* ci(changesets): version packages (beta) (#4160 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): missing peer / dev dependency for framer-motion (#4161 )
* fix(system): align `navigate` function parameters with `@react-aria` (#4163 )
* fix: menu item classNames not work (#4156 )
* fix: menu item classNames not work
* feat: changeset
* docs: update
* feat: merge classes utility added
* Update .changeset/brave-trains-wave.md
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore(docs): remove incorrect info
* ci(changesets): version packages (beta) (#4162 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(docs): overall dx (#4055 )
* refactor(docs): revise code block (#3922 )
* refactor(docs): revise code block
* chore(docs): resolve pr comments
* refactor(docs): autocomplete dx (#3934 )
* feat(docs): add *.js?raw module
* feat(docs): change to react-jsx and add **/*.js
* chore(root): include js and jsx
* refactor(docs): autocomplete dx
* chore(docs): rollback overrides
* chore(autocomplete): lint
* fix(autocomplete): incorrect import path
* fix(docs): autocomplete dx
* chore(docs): remove highlightedLines
* refactor(docs): breadcrumbs dx (#3968 )
* refactor(docs): breadcrumbs dx
* fix(docs): export issue
* chore(docs): use preserve for jsx
* fix(docs): support multiline import
* fix(docs): support multiple export
* chore(docs): add back export
* refactor(docs): avatar dx (#3951 )
* refactor(docs): badge dx (#3960 )
* refactor(docs): badge dx
* chore(docs): incorrect import path
* refactor(docs): button dx (#3981 )
* refactor(docs): calendar dx (#4022 )
* refactor(docs): calendar dx
* fix(docs): incorrect import path
* refactor(docs): switch dx (#4037 )
* refactor(docs): switch dx
* chore(docs): remove highlightedLines
* refactor(docs): tooltip (#4035 )
* refactor(docs): usage dx (#4036 )
* refactor(docs): circular-progress dx (#4029 )
* refactor(docs): chip-dx (#4028 )
* refactor(docs): checkbox-group dx (#4027 )
* refactor(docs): checkbox dx (#4024 )
* refactor(docs): checkbox dx
* fix(docs): incorrect import path
* refactor(docs): card dx (#4023 )
* refactor(docs): skeleton dx (#4042 )
* refactor(docs): spacer dx (#4043 )
* refactor(docs): snippet dx (#4044 )
* refactor(docs): scroll-shadow dx (#4045 )
* refactor(docs): code dx (#4046 )
* refactor(docs): kbd dx (#4047 )
* refactor(docs): link dx (#4048 )
* refactor(docs): progress dx (#4049 )
* refactor(docs): divider dx (#4050 )
* refactor(docs): listbox dx (#4051 )
* refactor(docs): listbox dx
* fix(docs): import path
* fix(docs): import path
* chore(docs): remove highlightedLines
* fix(docs): indentation
* chore(docs): replace the props of autocomplete from value to key (#4129 )
* refactor(docs): alert dx (#4108 )
* refactor(docs): alert dx
* refactor(docs): alert dx
* refactor(docs): image dx (#4061 )
* refactor(docs): textarea dx (#4063 )
* refactor(docs): spinner dx (#4088 )
* refactor(docs): radio-group dx (#4064 )
* refactor(docs): pagination dx (#4062 )
* refactor(docs): pagination dx
* refactor(docs): pagination dx
* refactor(docs): time-input dx (#4065 )
* refactor(docs): time-input dx
* refactor(docs): time-input dx
* refactor(docs): slider dx (#4066 )
* refactor(docs): slider dx
* refactor(docs): slider dx
* refactor(docs): move SliderValue to type
* refactor(docs): slider dx
* refactor(docs): make icon code collapsible
* refactor(docs): specify versions for date packages (#4138 )
* refactor(docs): specify versions for date packages
* fix(docs): correct RA i18n version
* chore(deps): sync version from package
* refactor(docs): tabs dx (#4067 )
* refactor(docs): tab dx
* refactor(docs): tabs dx
* refactor(docs): input dx (#4102 )
* refactor(docs): input dx
* refactor(docs): input dx
* refactor(docs): navbar dx (#4076 )
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): modal dx (#4077 )
* refactor(docs): modal dx
* refactor(docs): modal dx
* refactor(docs): select dx (#4078 )
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): table dx (#4079 )
* refactor(docs): table dx
* fix(docs): import path
* refactor(docs): table dx
* refactor(docs): table dx
* refactor(docs): popover dx (#4090 )
* refactor(docs): range-calendar dx (#4089 )
* refactor(docs): range-calendar dx
* fix(docs): import path
* refactor(docs): date input dx (#4100 )
* refactor(docs): dropdown dx (#4101 )
* refactor(docs): dropdown dx
* refactor(docs): remove highlightedLines
* refactor(docs): dropdown dx
* refactor(docs): dropdown dx
* refactor(docs): date-picker dx (#4103 )
* refactor(docs): date-picker dx
* fix(docs): import paths
* refactor(docs): date-range-picker dx (#4104 )
* refactor(docs): date-range-picker dx
* fix(docs): date-range-picker dx
* refactor(docs): drawer dx (#4109 )
* refactor(docs): drawer dx
* fix(docs): indentation
* refactor(docs): make icon collapsible
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* Merge branch 'beta/release-next' into pr/3477
* refactor(docs): apply new structure to doc
* feat(input-otp): introduce input OTP component (#4052 )
* feat(input-otp): adding the functionality
* fix(input-otp): making the use of input-otp library
* Update .changeset/spotty-flies-jump.md
* chore(input-otp): nits
* feat: improvements and fixes added
* refactor: input-otp docs improvements
* fix: changeset
* fix: build
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4169 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(theme): revise label font size for lg (#4141 )
* refactor(theme): revise label font size for lg
* chore(changeset): add changeset
* refactor(theme): revise label font size for lg
* fix(docs): typecheck errors (#4171 )
* fix(docs): remove duplicate import
* fix(docs): update type for onChange in range-calendar page
* fix(docs): add missing `@react-types/calendar`
* fix(docs): broken syntax
* fix(docs): typecheck issues
* fix(docs): add missing `@react-types/datepicker`
* fix(docs): typecheck issues
* fix: missing li tag when href is specified (#4168 )
* fix(items): items in list should wrapped in li in case of a
* chore: adding the tests
* fix: textarea issues with the clear button
* chore: adjust clear button position
---------
Co-authored-by: doki- <1335902682@qq.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mustafa Balcı <19329346+mstfblci@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@gmail.com >
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Tianen Pang <32772271+tianenpang@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
* ci(changesets): version packages (beta) (#4170 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* docs: sync api from nextui-cli v0.3.5 (#4173 )
Co-authored-by: GitHub Action <action@github.com >
* ci(changesets): exit pre-release mode
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mustafa Balcı <19329346+mstfblci@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@gmail.com >
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Tianen Pang <32772271+tianenpang@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
Co-authored-by: doki- <1335902682@qq.com >
Co-authored-by: GitHub Action <action@github.com >
* fix: pre release workflow on protected branches (#4174 )
* chore(pre-release): enter pre-release mode (#4175 )
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix: input otp peer deps (#4176 )
* chore: update workflows
* chore: pre release workflow modified (#4177 )
* chore: canary versions (#4178 )
* fix: pre-release workflow (#4179 )
* chore: merged with beta branch
* chore: workflow updated
* ci(changesets): version packages
* fix: changeset get github info
* chore: force canary to release (#4180 )
* Feat/canary release (#4181 )
* chore: force canary to release
* feat: canary release
* ci(changesets): version packages
* ci(changesets): version packages
* fix: exit pre-release mode
* fix: exit pre-release mode
* fix: exit pre-release mode
* fix: exit pre-release mode
* fix: exit pre-release mode
* chore: exit pre release mode
* fix(workflows): release & pre-release flow (#4184 )
* chore: revert exit and enter pre release changes
* chore: canary release test (#4185 )
* chore: update exit and enter workflows
* chore: update workflow name
* fix: exit pre-release mode
* fix: exit pre-release mode
* chore: delete pre file
* chore: remove duplicate changesets
* chore: base branch change to canary, changeset config
* refactor: beta tags manually deleted (#4187 )
* fix: install
* fix: peer deps (#4188 )
* Fix/peer deps (#4189 )
* fix: peer deps
* fix: tests
* fix: routes
* chore(docs): revise defaultShowFlagList (#4193 )
* chore(docs): add Example to defaultShowFlagList
* chore(docs): revise defaultShowFlagList
* feat: documentation improvements (#4195 )
* feat: documentation improvements
* fix: alert api
* Feat/doc improvements (#4196 )
* feat: documentation improvements
* fix: alert api
* fix: copy button
* fix: return in card demo
* Fix/react core pkg (#4204 )
* fix: double use client tag import in react core package
* fix: double use client
* chore: restore postbuild script
* docs: optimize code fold (#4202 )
* docs: optimize code fold
* fix: code review
* fix(input): teaxtarea label squish (#4197 )
* fix(input): teaxtarea label squish
* chore(changeset): add changeset for textarea label fix
* chore: remove customer runner
* chore: rename changeset
* chore: increase timeout
* chore: change get info pkg version
* chore: new changeset
* chore: single chnageset
* chore: consolidated changeset
* chore: consolidated changeset
* Update release.yaml (#4205 )
* chore: consolidated changeset
* 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
* 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 >
* feat(select): virtualization (#4203 )
* fix: should not export list item internal variables type
* feat: changeset
* feat: integrate virtualized listbox to select component, add more props
* feat: update docs for select component
* feat: update docs to include API for virtualization
* fix: update docs to follow the newest format
* fix: update test for disable virtualization, add test for virtualized version
* fix: fix typo
* fix: type error
* fix: code block type error
* chore: update docs to use raw jsx instead of template literal
* fix: fix code-demo for typecheck
* chore: rollback for files
* fix: types
* chore: remove caret version on tanstack virtual pkg
* fix: pnpm lock file
* fix: virtualization examples
* fix: number of items
---------
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore: adjust code colors
* fix: collection based components ref (#4207 )
* chore: documentation adjustments
* 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
* fix(docs): types for classNames and itemClasses (#4209 )
* feat: documentation improvements
* chore: more improvements to the docs, routing updated, acccordiong font size change
* feat: forms doc in progress
* 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 >
* chore(docs): remove non-existing attribute (#4221 )
* 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
* 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
* fix: form fixes and improvements (#4224 )
* chore: form in progress
* chore: main demo addded to forms, checkbox validation fixed
* chore: forms docs improved
* fix(deps): bump `@react-aria/utils` version (#4226 )
* fix(deps): bump `@react-aria/utils` version
* chore(changeset): add changeset
* feat: forms doc completed
* chore: form component doc created
* chore: forms doc improved
* chore: doc improvements
* chore: alert doc improved
* feat: nextjs 15 migration in progress
* feat: nextjs 15 migration [docs] (#4228 )
* feat: nextjs 15 migration in progress
* feat: next 15 downgraded to next 14
* fix: migration errors
* feat: codeblog is now rendered only when visible, this made a huge performance improvement
* fix: remove folding
* feat: v2.6.0 blog
* feat: Adding nextui pro section on the landing page (#4227 )
* feat: adding nextui pro section on the landing page
* chore(nits): nits
* fix: remove pro image on mobile
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(docs): prevent scrolling up on pressing theme change switch (#4233 )
* chore: improve v2.6.0 blog
* chore: small improvements
* chore: improve blog
* ci(changesets): version packages (#4186 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: snippet release (#4235 )
* ci(changesets): version packages (#4236 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore: v2.6.2
* ci(changesets): version packages (#4237 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: draggable modal demo
* fix: v2.6 blog
* chore: adjust blog
* chore: release notes link updated
* fix: v2.6.0 (#4247 )
* fix: v2.6.0
* chore: update framer motion version
* ci(changesets): version packages (#4248 )
---------
Signed-off-by: Innei <i@innei.in >
Signed-off-by: The1111mp <The1111mp@outlook.com >
Co-authored-by: ryoon <ryoon50@gmail.com >
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Abhinav Agarwal <78839973+abhinav700@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@gmail.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: David Gonzalez <dgonzalez1992@outlook.com >
Co-authored-by: Julie Saia <76669473+juliesaia@users.noreply.github.com >
Co-authored-by: Alex Nguyen <dev@alexnguyen.co.nz >
Co-authored-by: max <hi.max@foxmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: Shrinidhi Upadhyaya <shrinidhiupadhyaya1195@gmail.com >
Co-authored-by: Anuj Sharma <52837557+sanuj21@users.noreply.github.com >
Co-authored-by: Innei <tukon479@gmail.com >
Co-authored-by: Jeff. <jeffreysfu@gmail.com >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Abhinav Agarwal <abhinavagrawal700@gmail.com >
Co-authored-by: wzc520pyfm <1528857653@qq.com >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Abhinandan <abhinandanverma551@gmail.com >
Co-authored-by: The1111mp <The1111mp@outlook.com >
Co-authored-by: Rakha Kanz Kautsar <rkkautsar@gmail.com >
Co-authored-by: Can Rau <cansrau@gmail.com >
Co-authored-by: Azpekt <65199167+AzpektDev@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mustafa Balcı <19329346+mstfblci@users.noreply.github.com >
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
Co-authored-by: Tianen Pang <32772271+tianenpang@users.noreply.github.com >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
Co-authored-by: doki- <1335902682@qq.com >
Co-authored-by: GitHub Action <action@github.com >
Co-authored-by: Peterl561 <76144929+Peterl561@users.noreply.github.com >
Co-authored-by: Julio Barrios <juliobarmi@gmail.com >
2024-12-06 19:21:28 -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
Junior Garcia
f397546090
Merge branch 'main' of github.com:nextui-org/nextui into canary
2024-12-06 14:04:21 -03:00
Junior Garcia
914df9b3ad
Release notes link updated ( #4242 )
...
* fix(input): ensure clear button is not focusable when disabled (#3774 )
* fix(input): ensure clear button is not focusable when disabled
* test(input): add test to ensure clear button is not focusable when disabled
* chore: add changeset for clear button focus fix when input is disabled
* fix(input): update clear button to use button element
* test(input): add focus test when disabled
and update tests for clear button using button element
* test(input): replace querySelector with getByRole for clear button
* fix(input): set tabIndex to -1 for clear button
* test(input): ensure clear button is not focusable
* fix(image): add missing `w` to `getWrapperProps` dependency (#3802 )
* fix(image): add missing `w` to `getWrapperProps` dependency
* chore(changeset): add changeset
* fix(autocomplete): popover should remain open after clicking clear button (#3788 )
* fix: add state.open() so that dropdown is not closed
* chore: add changeset
* chore(autocomplete): add testcases for keeping lisbox open when clearButton is clicked
* chore: update changeset
* chore(autocomplete): change the docs for test cases
* chore(changeset): update changeset message and add issue number
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* refactor(docs): example of blurred card (#3741 )
* docs(card): adding info regarding the gradient for blurred card
* chore(nit): adding example
* chore(docs): revise content for card isBlurred example
* chore(docs): revise isBlurred note
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(docs): replace twitter logo/links with x logo/links (#3815 )
* fix(docs): replace Twitter logo/links with X logo/links
* docs: update twitter references to x
* docs: update changeset for twitter to x changes
* docs: update twitter references to x
* docs: update twitter references to x
* chore(docs): undo .sponsorsrc since it's generated
* refactor(docs): remove unnecessary classes
* chore(docs): undo .sponsorsrc since it's generated
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(date-picker): adding props from calendarProps to getCalendarProps (#3773 )
* fix(date-picker): adding props from calendarProps to the getCalendarProps
* chore(date-picker): adding the changeset
* chore(changeset): add issue number
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* feat(autocomplete): automatically focus first non-disabled item (#2186 )
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* docs(accordion): add overflow to custom motion example (#3793 )
* fix(docs): typos in dark mode page (#3823 )
* fix(theme): fullWidth in input and select (#3768 )
* fix(input): fixing the fullWidth functionality
* chore(changeset): add issue number
* chore(changeset): revise changeset message
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(autocomplete): exit animation on popover close (#3845 )
* fix(autocomplete): exit animation on popover close
* refactor(autocomplete): getListBoxProps
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* refactor(theme): replace the use of RTL-specific styles with logical properties (#3868 )
* chore(rtl): remove the usages of rtl
* chore(changeset): adding the changeset
* chore(changeset): update changeset message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(select): label placement discrepancy in Select (#3853 )
* fix(select): label placement incorrect in case of multiline
* chore(select): adding the changeset
* chore(select): adding the tests
* chore(select): code imrovement, wkw's suggestions
* chore(changeset): update changeset message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(theme): label placement in select and input (#3869 )
* fix(theme): fix the label placement
* chore(changeset): adding the changeset
* chore(select): adding comments
* fix(docs): avoid translating the code block (#3878 )
* docs(Codeblock): avoid code be translated
* fix(docs): lint issue
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(listbox): change listBoxItem key to optional (#3883 )
* fix(listbox): listBoxItem key to optional
* chore: add defaultSelectedKeys test for numeric keys and ids
* chore: add changeset
* chore: comment out section prompts in PR template (#3884 )
* chore(test): update testing libraries and refactor (#3886 )
* fix(theme): show margin only with label in Switch component (#3861 )
* fix(switch): removed right margin in wrapper #3791
* feat(changeset): added changeset
* fix(switch): removed me-2 in wrapper
* fix(switch): added ms-2 to label
* chore(changeset): correct package and message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(theme): removed pseudo cancel btn from input (#3912 )
* fix(theme): removed pseudo cancel btn from input
* chore(changeset): adding the changeset
* fix(input): conditionally hiding the webkit search
* chore(changeset): revise changeset message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* refactor(docs): dx improvement in accordion (#3856 )
* refactor: improve dx for writing a docs component (#2544 )
* refactor: improve dx for write a docs component
Signed-off-by: Innei <i@innei.in >
* refactor(docs): switch to contentlayer2
* chore(docs): rename to avoid conflict
* refactor(docs): switch to next-contentlayer2
* refactor(docs): revise docs lib
* chore(deps): bump docs related dependencies
* fix(use-aria-multiselect): type issue due to ts version bump
---------
Signed-off-by: Innei <i@innei.in >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* refactor(docs): accordion codes
* feat(docs): declare module `*.jsx?raw`
* feat(docs): include `**/*.jsx`
* fix(docs): incorrect content
* chore(docs): add new lines
* refactor(docs): lint
---------
Signed-off-by: Innei <i@innei.in >
Co-authored-by: Innei <tukon479@gmail.com >
* fix(docs): typos in hero section (#3928 )
* fix(theme): support RTL for breadcrumbs (#3927 )
* fix(breadcrumbs): added separator rotation for RTL #2486
* chore(changeset): added changeset
* fix(docs): removed unused import and merged classNames in dropdown (#3936 )
* fix(breadcrumbs): added separator rotation for RTL #2486
* chore(changeset): added changeset
* fix(docs): removed unused Link import and merged classnames in dropdown
* fix: avatar filter disableAnimation to dom prop (#3946 )
* feat: add git hook to auto update dependencies (#3365 )
* feat: add git hook to auto update dependencies
* feat: update color
* fix: prevent test matcher warning (#3893 )
* fix: prevent test matcher warning
* chore: add node types
* chore: update Jest related packages
* chore: run pnpm install
* fix(tabs): correct inert value for true condition (#3978 )
* Alert component (#3982 )
* feat(alert): began the work on alert component
* fix(readme): making correction
* chore(deps): change to 2.0.0
* chore(docs): update README.md
* feat(theme): init alert tv
* chore(alert): update package.json
* feat(alert): init alert storybook structure
* chore(changeset): add changeset
* chore(changeset): change to minor
* chore(alert): revise alert package.json
* feat(alert): init test structure
* chore(deps): pnpm-lock.yaml
* feat(alert): initailized theme and basic structure
* feat(alert): completed use-alert.ts and alert.tsx
* feat(alert): remove innerWrapper, replace helperWrapper with mainWrapper, adding isCloseable prop
* feat(alert): adding isCloseable prop to baseWrapper dependency
* feat(alert): setting the default value of isCloseable prop to true
* feat(alert): moving CloseIcon inside the button
* feat(alert): updated package.json
* feat(alert): default variant and default story
* feat(alert): adding color and radius stories
* feat(alert): completed the styling
* feat(alert): add stories for isCloseable prop and restyle other stories
* feat(alert): correcting ref type
* feat(alert): add test cases
* feat(alert): remove startContent and endContent props
* feat(alert): make styling more accurate
* feat(alert): fixed default props
* feat(alert): fixed theme docs
* feat(alert): add logic for icons
* feat(alert): begin to add docs
* chore(alert): implement the changes suggested in code review
* feat(alert): add onclose prop to alert
* feat(alert): add test cases
* docs(alert): add onClose event
* feat(docs): add alert to routes.json
* fix(alert): correct the text colors
* docs(alert): fix imports and syntax errors
* chore(alert): implement the changes suggested in code review
* chore(alert): lint the code and change isCloseable to isClosable
* chore(alert): lint the code
* chore(alert): run pnpm i
* fix(alert): fix the logic for close button and add test case
* docs(alert): fix docs, change isCloseable to isClosable and change docs for isClosable property
* chore(alert): add the support for RTL, refactor the code and fix the typos
* docs(alert): grammer issues fix
* fix(alert): replace rtl with ms
* chore(alert): custom style and custom implementation, remove isClosable={false}, refactor, fix typos
* chore(alert): linting and implement coderabbit suggestions
* chore(alert): refactor and typos fix
* chore(alert): add import for closeIcon
* chore(alert): add props for closeIcon
* chore(alert): refactor fixes
* chore(alert): implement ryo-manba's suggestion on close Icon
* chore(alert): make alert more responsive
* chore(alert): fix grammer issues suggested by coderabbit
* fix(alert): add max-w property to make alert responsive
* chore(alert): improve responsiveness and refactor alertIcon
* chore(alert): add missing dependency to useMemo
* chore(alert): implement coderabbit's suggestions
* chore(alert): update docs and refactor
* chore(alert): refactor alertIcon and implement coderabbit's suggestion
* chore: fixes
---------
Co-authored-by: Abhinav Agarwal <abhinavagrawal700@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Abhinav Agarwal <78839973+abhinav700@users.noreply.github.com >
* Feat/add draggable modal (#3983 )
* feat(hooks): add use-draggable hook
* feat(components): [modal] export use-draggable
* docs(components): [modal] add draggable modal
* feat(components): [modal] add ref prop for modal-header
* chore(components): [modal] add draggable modal for storybook
* chore: add changeset for draggable modal
* docs(hooks): [use-draggable] fix typo
* chore: upper changeset
* chore(components): [modal] add overflow draggable modal to sb
* test(components): [modal] add draggable modal tests
* build: update pnpm-lock
* chore(changeset): include issue number
* feat(hooks): [use-draggable] set user-select to none when during the dragging
* docs(components): [modal] update code demo title
* docs(components): [modal] condense description for draggable overflow
* feat(hooks): [use-draggable] change version to 0.1.0
* refactor(hooks): [use-draggable] use use-move implement use-draggable
* feat(hooks): [use-draggable] remove repeated user-select
* test(components): [modal] update test case to use-draggable base use-move
* docs(components): [modal] update draggable examples
* fix(hooks): [use-draggable] fix mobile device touchmove event conflict
* refactor(hooks): [use-draggable] remove drag ref prop
* refactor(hooks): [use-draggable] draggable2is-disabled overflow2can-overflow
* test(components): [modal] add draggble disable test
* chore(hooks): [use-draggable] add commant for body touchmove
* Update packages/hooks/use-draggable/src/index.ts
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* fix(hooks): [use-draggable] import use-callback
* test(components): [modal] add mobile-sized test for draggable
* chore(hooks): [use-draggable] add use-callback for func
* chore(hooks): [use-draggable] update version to 2.0.0
* chore: fix typo
* Update .changeset/soft-apricots-sleep.md
* fix: pnpm lock
* fix: build
* chore: add updated moadl
---------
Co-authored-by: wzc520pyfm <1528857653@qq.com >
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* chore: upgrade react-aria / React 19 & Next.js 15 support (#3732 )
* chore: upgrade react-aria
* chore: add changeset
* chore: fix type error
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat(date-picker): add selectorButtonPlacement property (#3248 )
* feat(date-picker): add selectorButtonPlacement property
* chore: update changeset
* Update .changeset/neat-donkeys-accept.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat: add tab ref (#3974 )
* feat: add tab ref
* feat: add changeset
* feat: pre-release workflow (#2910 )
* feat(workflow): pre-release
* feat(workflow): exit pre-release
* chore(workflow): update version & publish commands
* fix(workflow): add missing attributes and use schangeset:beta cmd
* feat(root): add changeset:beta
* fix(workflows): revise pre-release logic
* fix(workflows): add missing run
* fix(workflows): use changeset:exit with version instead
* feat(root): add changeset:exit cmd
* refactor(workflows): add pths, id, and format
* feat(workflows): enter pre-release mode
* chore(workflows): remove pre.json only
* refactor(workflows): remove enter-pre-release-mode
* fix(workflows): incorrect url
* refactor(root): remove unused exit command
* refactor(workflows): add comments
* feat(changeset): change to main branch as baseBranch
* feat(root): add changeset:canary
* refactor(workflows): remove unused workflow
* feat(workflow): support canary pre-release mode
* refactor(docs): change to canary
* feat(popover): added control for closing popover on scroll (#3595 )
* fix(navbar): fixed the height when style h-full
* fix(navbar): fixed the height when style h-full
* docs(changeset): resolved extra file
* feat(popover): added control for closing popover on scroll
* update(changeset): correction
* feat(popover): removed extra story
* refactor(test): corrected test for both true and false values of shouldCloseOnScroll
* refactor(docs): added shouldCloseOnScroll prop
* chore(changeset): change to minor
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
* feat: add month and year pickers to DateRangePicker and RangeCalendar (#3302 )
* feat: add month and year pickers to DateRangePicker and RangeCalendar
* chore: update docs
* Update .changeset/kind-cobras-travel.md
* chore: react package version
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore(deps): bump tailwind-merge version (#3657 )
* chore(deps): bump tailwind-merge versions
* chore(theme): adopt latest extendTailwindMerge
* chore(changeset): add changeset
* chore(changeset): change to minor
* Update .changeset/grumpy-mayflies-rhyme.md
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat: added drawer component (#3986 )
Signed-off-by: The1111mp <The1111mp@outlook.com >
Co-authored-by: The1111mp <The1111mp@outlook.com >
* refactor: optimisations (#3523 )
* refactor: replace lodash with native approaches
* refactor(deps): update framer-motion versions
* feat(utilities): add @nextui-org/dom-animation
* refactor(components): load domAnimation dynamically
* refactor(deps): add @nextui-org/dom-animation
* fix(utilities): relocate index.ts
* feat(changeset): framer motion optimization
* chore(deps): bump framer-motion version
* fix(docs): conflict issue
* refactor(hooks): remove the unnecessary this aliasing
* refactor(utilities): remove the unnecessary this aliasing
* chore(docs): remove {} so that it won't be true all the time
* chore(dom-animation): end with new line
* refactor(hooks): use debounce from `@nextui-org/shared-utils`
* chore(deps): add `@nextui-org/shared-utils`
* refactor: move mapKeys logic to `@nextui-org/shared-utils`
* refactor: use `get` from `@nextui-org/shared-utils`
* refactor(docs): use `get` from `@nextui-org/shared-utils`
* refactor(shared-utils): mapKeys
* chore(deps): bump framer-motion version
* chore(deps): remove lodash
* refactor(docs): use intersectionBy from shared-utils
* feat(shared-utils): add intersectionBy
* chore(dom-animation): remove extra blank line
* refactor(shared-utils): revise intersectionBy
* fix(modal): add willChange
* refactor(shared-utils): add comments
* fix: build & tests
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat(hooks): use-theme hook (#3169 )
* feat(docs): update dark mode content
* feat(hooks): @nextui-org/use-theme
* chore(docs): revise ThemeSwitcher code
* refactor(hooks): simplify useTheme and support custom theme names
* feat(hooks): add use-theme test cases
* feat(changeset): add changeset
* refactor(hooks): make localStorageMock globally and clear before each test
* fix(docs): typo
* fix(hooks): coderabbitai comments
* chore(hooks): remove unnecessary +
* chore(changeset): change to minor
* feat(hooks): handle system theme
* chore(hooks): add EOL
* refactor(hooks): add default theme
* refactor(hooks): revise useTheme
* refactor(hooks): resolve pr comments
* refactor(hooks): resolve pr comments
* refactor(hooks): resolve pr comments
* refactor(hooks): remove unused theme in dependency array
* chore(docs): typos
* refactor(hooks): mark system as key for system theme
* chore: merged with canary
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* Fix/avatar flashing (#3987 )
* fix(use-image): cached image flashing
* chore: merged with canary
---------
Co-authored-by: Rakha Kanz Kautsar <rkkautsar@gmail.com >
* refactor(menu): Use `useMenu` and `useMenuItem` from RA (#3261 )
* refactor(menu): use useMenu from react-aria instead
* refactor(menu): use useMenuItem from react-aria instead
* feat(changeset): add changeset
* chore: merged with canary
* fix: dropdown tests
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(theme): added stripe color gradients for progress (#3938 )
* fix(breadcrumbs): added separator rotation for RTL #2486
* chore(changeset): added changeset
* fix(docs): removed unused Link import and merged classnames in dropdown
* fix(theme):added stripe color gradients for progress #1933
* refactor(theme): added stripe-size and createStripeGradient
* chore: add all minor releases
* fix(docs): invalid canary storybook link (#4030 )
* fix(use-image): image ReferenceError in SSR (#4122 )
* fix(use-image): image ReferenceError in SSR
* fix(use-image): sync with beta
* fix(use-image): sync with beta
* chore(use-image): remove unnecessary comments
* fix(docs): buildLocation expects an object (#4118 )
* fix(docs): routing.mdx
* Delete .changeset/pre.json
* chore(docs): update yarn installation command (#4132 )
There is no `-g` flag in yarn. `global` is a command which must immediately follow yarn.
Source: https://classic.yarnpkg.com/lang/en/docs/cli/global/
* chore: upgrade storybook 8 (#4124 )
* feat: upgrade storybook8
* chore: upgrade storybook and vite
* chore: remove @mdx-js/react optimizeDep
* chore: add @mdx-js/react optimizeDep
* fix: format
* docs: add forms guide (#3822 )
* v2.5.0 [BETA] (#4164 )
* chore(pre-release): enter pre-release mode
* fix(theme): apply tw nested group (#3909 )
* chore(changset): add changeset
* fix(theme): apply nested group to table
* chore(docs): update table bottomContent code
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: pkg versions
* fix: changeset
* fix: drawer peer dep
* chore: update plop components tempalte
* ci(changesets): version packages (beta) (#3988 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: pre-release workflow
* chore: debug log added
* chore: force pre-release
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* chore: beta1 (#3990 )
* ci(changesets): version packages (beta) (#3991 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(use-image): image ReferenceError in SSR (#3993 )
* fix(input): fixed a sliding issue caused by the helper wrapper (#3966 )
* If it is false and there is an error message or description it will create a div
* Update packages/components/input/src/input.tsx
* Update packages/components/select/src/select.tsx
* Update packages/components/input/src/textarea.tsx
* add changeset
* changeset update
* ci(changesets): version packages (beta) (#3995 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image loading in the server (#3996 )
* fix: lock file
* chore: force release
* chore: force release 2
* ci(changesets): version packages (beta) (#3997 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image load on next.js (#3998 )
* ci(changesets): version packages (beta) (#3999 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: element.ref was removed in React 19 warning (#4003 )
* ci(changesets): version packages (beta) (#4004 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: react 19 as peer dep (#4008 )
* ci(changesets): version packages (beta) (#4009 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Beta/react 19 support (#4010 )
* fix: react 19 as peer dep
* fix: react 19 as peer dep
* chore: support framer-motion alpha version
* ci(changesets): version packages (beta) (#4011 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(theme): making select and input themes consistent (#3881 )
* ci(changesets): version packages (beta) (#4012 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: support inert value with boolean type for react 19 (#4039 )
* ci(changesets): version packages (beta) (#4041 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert design improved (#4054 )
* ci(changesets): version packages (beta) (#4056 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: drawer improvements (#4057 )
* ci(changesets): version packages (beta) (#4058 )
* feat: alert styles improved (#4071 )
* ci(changesets): version packages (beta) (#4072 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert styles improved (#4073 )
* ci(changesets): version packages (beta) (#4074 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: add number of stars and credits
* chore: fix build
* chore: improve navabr colors
* chore: new changeset (#4083 )
* ci(changesets): version packages (beta) (#4084 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: pnpm cleaned (#4086 )
* ci(changesets): version packages (beta) (#4087 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: custom runnner added
* chore: custom runner test (#4091 )
* Beta/custom runner (#4092 )
* chore: custom runner test
* chore: custom runner test
* chore: remove 2 from older changeset
* ci(changesets): version packages (beta) (#4093 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: new demo added to alert
* Feat/virtualization for autocomplete (#4094 )
* feat: add react-window virtualization for autocomplete
* fix: wrong imports and wrong sizing
* fix: update pnpm lock
* chore: add test cases for large dataset (1000 and 10000 items)
* chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional
* feat: implement dynamic listboxheight n item height, add story
* chore: rename props, remove unnecessary line changes
* fix: maxHeight style 256px for default, conditional usage of virtualizer
* feat: migrate to tan-stack virtual. (todo: fix scroll shadow)
* feat: virtualization support
---------
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
* ci(changesets): version packages (beta) (#4095 )
* feat: small fixes
* feat: add reducedMotion setting to Provider (#3470 )
* feat: add reducedMotion setting to Provider
* chore: refactor reducedMotion story
* Update .changeset/pretty-parrots-guess.md
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4106 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: move circular-progress tv to progress (#3321 )
* fix: remove circular-progress tv to progress
* docs: changeset
* chore(changeset): update changeset message
* Update .changeset/angry-maps-serve.md
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: label placement when the select has a placeholder or description (#4126 )
* ci(changesets): version packages (beta) (#4107 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): add missing `framer-motion` in `peerDependencies` (#4140 )
* fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105 )
* fix(docs): invalid canary storybook link (#4030 )
* fix: menu item hidden overflow text
* feat: changeset
* Merge branch 'beta/release-next' into fix/menu-item-hidden
* fix: truncate list item
* feat: update changeset
* fix(menu): omit internal props
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat(table): add isKeyboardNavigationDisabled prop to the table (#3735 )
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
* feat: add form component (#3036 )
* chore: add support validationBehavior aria
* chore: add validationBehavior to Provider
* chore: add autocomplete validation test
* chore: add checkbox validation test
* fix(input): require condition
* docs: add description of validationBehavior props
* chore: add support validationBehavior props for date components
* docs(dates): add description of validationBehavior props
* chore: add changeset
* chore: format
* chore: fix test
* fix: select validationBehavior is not support yet
* fix: select validationBehavior not supported yet
* feat: add form component with input support
* feat: add support form context
* chore: wip add support for form server errors
* chore: add support checkbox server validation
* chore: add support radio server validation
* chore: update pnpm-lock.yaml
* chore: add support input server validation
* chore: add support autocomplete server validation
* chore(form): add server validation stories
* chore: fix test
* chore: add date-picker validation test
* chore: update form stories
* chore: add changeset
* chore: update react-aria version
* chore: add pnpm-lock.yaml
* chore: update react-aria version
* chore: add comment
* chore: update react-aria version
* chore: fix change set
* chore: export form component in the main package
* chore: upgrade react-aria
* chore: fixed internationalized/date version
* fix: build error
* chore: upgrade docs react-aria version
* fix: remove comment
* fix: debug setting
* chore(docs): update sponsor (#3904 )
* chore(docs): remove Scrumbuiss
* chore(docs): remove Scrumbuiss logo
* chore(docs): replace va by posthog (#4123 )
* chore(changeset): change to patch
* refactor: react-aria-components remove to decrease package size, logic moved to the form package
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* docs: add forms guide (#4155 )
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* chore: routes updated
* ci(changesets): version packages (beta) (#4151 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: fix indentation
* fix(changeset): package not be found
* ci(changesets): version packages (beta) (#4158 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(select): controlled isInvalid prop (#4082 )
* fix(select): controlled isInvalid prop
* chore: add changeset
* Merge branch 'beta/release-next' into pr/4082
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* ci(changesets): version packages (beta) (#4159 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore(changeset): bump all versions
* ci(changesets): version packages (beta) (#4160 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): missing peer / dev dependency for framer-motion (#4161 )
* fix(system): align `navigate` function parameters with `@react-aria` (#4163 )
* fix: menu item classNames not work (#4156 )
* fix: menu item classNames not work
* feat: changeset
* docs: update
* feat: merge classes utility added
* Update .changeset/brave-trains-wave.md
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore(docs): remove incorrect info
* ci(changesets): version packages (beta) (#4162 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(docs): overall dx (#4055 )
* refactor(docs): revise code block (#3922 )
* refactor(docs): revise code block
* chore(docs): resolve pr comments
* refactor(docs): autocomplete dx (#3934 )
* feat(docs): add *.js?raw module
* feat(docs): change to react-jsx and add **/*.js
* chore(root): include js and jsx
* refactor(docs): autocomplete dx
* chore(docs): rollback overrides
* chore(autocomplete): lint
* fix(autocomplete): incorrect import path
* fix(docs): autocomplete dx
* chore(docs): remove highlightedLines
* refactor(docs): breadcrumbs dx (#3968 )
* refactor(docs): breadcrumbs dx
* fix(docs): export issue
* chore(docs): use preserve for jsx
* fix(docs): support multiline import
* fix(docs): support multiple export
* chore(docs): add back export
* refactor(docs): avatar dx (#3951 )
* refactor(docs): badge dx (#3960 )
* refactor(docs): badge dx
* chore(docs): incorrect import path
* refactor(docs): button dx (#3981 )
* refactor(docs): calendar dx (#4022 )
* refactor(docs): calendar dx
* fix(docs): incorrect import path
* refactor(docs): switch dx (#4037 )
* refactor(docs): switch dx
* chore(docs): remove highlightedLines
* refactor(docs): tooltip (#4035 )
* refactor(docs): usage dx (#4036 )
* refactor(docs): circular-progress dx (#4029 )
* refactor(docs): chip-dx (#4028 )
* refactor(docs): checkbox-group dx (#4027 )
* refactor(docs): checkbox dx (#4024 )
* refactor(docs): checkbox dx
* fix(docs): incorrect import path
* refactor(docs): card dx (#4023 )
* refactor(docs): skeleton dx (#4042 )
* refactor(docs): spacer dx (#4043 )
* refactor(docs): snippet dx (#4044 )
* refactor(docs): scroll-shadow dx (#4045 )
* refactor(docs): code dx (#4046 )
* refactor(docs): kbd dx (#4047 )
* refactor(docs): link dx (#4048 )
* refactor(docs): progress dx (#4049 )
* refactor(docs): divider dx (#4050 )
* refactor(docs): listbox dx (#4051 )
* refactor(docs): listbox dx
* fix(docs): import path
* fix(docs): import path
* chore(docs): remove highlightedLines
* fix(docs): indentation
* chore(docs): replace the props of autocomplete from value to key (#4129 )
* refactor(docs): alert dx (#4108 )
* refactor(docs): alert dx
* refactor(docs): alert dx
* refactor(docs): image dx (#4061 )
* refactor(docs): textarea dx (#4063 )
* refactor(docs): spinner dx (#4088 )
* refactor(docs): radio-group dx (#4064 )
* refactor(docs): pagination dx (#4062 )
* refactor(docs): pagination dx
* refactor(docs): pagination dx
* refactor(docs): time-input dx (#4065 )
* refactor(docs): time-input dx
* refactor(docs): time-input dx
* refactor(docs): slider dx (#4066 )
* refactor(docs): slider dx
* refactor(docs): slider dx
* refactor(docs): move SliderValue to type
* refactor(docs): slider dx
* refactor(docs): make icon code collapsible
* refactor(docs): specify versions for date packages (#4138 )
* refactor(docs): specify versions for date packages
* fix(docs): correct RA i18n version
* chore(deps): sync version from package
* refactor(docs): tabs dx (#4067 )
* refactor(docs): tab dx
* refactor(docs): tabs dx
* refactor(docs): input dx (#4102 )
* refactor(docs): input dx
* refactor(docs): input dx
* refactor(docs): navbar dx (#4076 )
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): modal dx (#4077 )
* refactor(docs): modal dx
* refactor(docs): modal dx
* refactor(docs): select dx (#4078 )
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): table dx (#4079 )
* refactor(docs): table dx
* fix(docs): import path
* refactor(docs): table dx
* refactor(docs): table dx
* refactor(docs): popover dx (#4090 )
* refactor(docs): range-calendar dx (#4089 )
* refactor(docs): range-calendar dx
* fix(docs): import path
* refactor(docs): date input dx (#4100 )
* refactor(docs): dropdown dx (#4101 )
* refactor(docs): dropdown dx
* refactor(docs): remove highlightedLines
* refactor(docs): dropdown dx
* refactor(docs): dropdown dx
* refactor(docs): date-picker dx (#4103 )
* refactor(docs): date-picker dx
* fix(docs): import paths
* refactor(docs): date-range-picker dx (#4104 )
* refactor(docs): date-range-picker dx
* fix(docs): date-range-picker dx
* refactor(docs): drawer dx (#4109 )
* refactor(docs): drawer dx
* fix(docs): indentation
* refactor(docs): make icon collapsible
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* feat(input-otp): introduce input OTP component (#4052 )
* feat(input-otp): adding the functionality
* fix(input-otp): making the use of input-otp library
* Update .changeset/spotty-flies-jump.md
* chore(input-otp): nits
* feat: improvements and fixes added
* refactor: input-otp docs improvements
* fix: changeset
* fix: build
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4169 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(theme): revise label font size for lg (#4141 )
* refactor(theme): revise label font size for lg
* chore(changeset): add changeset
* refactor(theme): revise label font size for lg
* fix(docs): typecheck errors (#4171 )
* fix(docs): remove duplicate import
* fix(docs): update type for onChange in range-calendar page
* fix(docs): add missing `@react-types/calendar`
* fix(docs): broken syntax
* fix(docs): typecheck issues
* fix(docs): add missing `@react-types/datepicker`
* fix(docs): typecheck issues
* fix: missing li tag when href is specified (#4168 )
* fix(items): items in list should wrapped in li in case of a
* chore: adding the tests
* Feat/textarea add clear button (#4172 )
* feat(components): add clear button to the textarea component
* docs(textarea): add test and changeset
* feat(textarea): modify the changeset file
* feat(textarea): add clear button to textarea
* feat(textarea): add isClearable prop to textarea
* docs(textarea): add documentation to textarea
* docs(textarea): add documentation to textarea
* feat(textarea): replace the textarea component clear icon and modify its location
* feat(textarea): revise the clear button position
* feat(textarea): revise the clear button structure
* feat(textarea): revise the styles of clear button and textarea
* feat(textarea): revise the styles of RTL case
* feat(textarea): change the rtl to pe
* feat(textarea): delete the px classname
* chore(changeset): update package and message
* test(textarea): add test case
* feat(textarea): change the clear button structure
* feat(textarea): optimized code
* chore(textarea): update the changeset file
* docs(textarea): add slots doc to textarea
* chore(textarea): update peerDevpeerDependencies version
* chore(textarea): add usecallback dep
* Update .changeset/five-adults-protect.md
* chore(pre-release): enter pre-release mode
* feat(textarea): modify the clear button icon
* fix(theme): apply tw nested group (#3909 )
* chore(changset): add changeset
* fix(theme): apply nested group to table
* chore(docs): update table bottomContent code
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: pkg versions
* fix: changeset
* fix: drawer peer dep
* chore: update plop components tempalte
* ci(changesets): version packages (beta) (#3988 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: pre-release workflow
* chore: debug log added
* chore: force pre-release
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* chore: beta1 (#3990 )
* ci(changesets): version packages (beta) (#3991 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(use-image): image ReferenceError in SSR (#3993 )
* fix(input): fixed a sliding issue caused by the helper wrapper (#3966 )
* If it is false and there is an error message or description it will create a div
* Update packages/components/input/src/input.tsx
* Update packages/components/select/src/select.tsx
* Update packages/components/input/src/textarea.tsx
* add changeset
* changeset update
* ci(changesets): version packages (beta) (#3995 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image loading in the server (#3996 )
* fix: lock file
* chore: force release
* chore: force release 2
* ci(changesets): version packages (beta) (#3997 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image load on next.js (#3998 )
* ci(changesets): version packages (beta) (#3999 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: element.ref was removed in React 19 warning (#4003 )
* ci(changesets): version packages (beta) (#4004 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: react 19 as peer dep (#4008 )
* ci(changesets): version packages (beta) (#4009 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Beta/react 19 support (#4010 )
* fix: react 19 as peer dep
* fix: react 19 as peer dep
* chore: support framer-motion alpha version
* ci(changesets): version packages (beta) (#4011 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(theme): making select and input themes consistent (#3881 )
* ci(changesets): version packages (beta) (#4012 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(textarea): fix clearButton display
* fix: support inert value with boolean type for react 19 (#4039 )
* ci(changesets): version packages (beta) (#4041 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert design improved (#4054 )
* ci(changesets): version packages (beta) (#4056 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: drawer improvements (#4057 )
* ci(changesets): version packages (beta) (#4058 )
* feat: alert styles improved (#4071 )
* ci(changesets): version packages (beta) (#4072 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert styles improved (#4073 )
* ci(changesets): version packages (beta) (#4074 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: add number of stars and credits
* chore: fix build
* chore: improve navabr colors
* chore: new changeset (#4083 )
* ci(changesets): version packages (beta) (#4084 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: pnpm cleaned (#4086 )
* ci(changesets): version packages (beta) (#4087 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: custom runnner added
* chore: custom runner test (#4091 )
* Beta/custom runner (#4092 )
* chore: custom runner test
* chore: custom runner test
* chore: remove 2 from older changeset
* ci(changesets): version packages (beta) (#4093 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: new demo added to alert
* Feat/virtualization for autocomplete (#4094 )
* feat: add react-window virtualization for autocomplete
* fix: wrong imports and wrong sizing
* fix: update pnpm lock
* chore: add test cases for large dataset (1000 and 10000 items)
* chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional
* feat: implement dynamic listboxheight n item height, add story
* chore: rename props, remove unnecessary line changes
* fix: maxHeight style 256px for default, conditional usage of virtualizer
* feat: migrate to tan-stack virtual. (todo: fix scroll shadow)
* feat: virtualization support
---------
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
* ci(changesets): version packages (beta) (#4095 )
* feat: small fixes
* feat: add reducedMotion setting to Provider (#3470 )
* feat: add reducedMotion setting to Provider
* chore: refactor reducedMotion story
* Update .changeset/pretty-parrots-guess.md
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4106 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: move circular-progress tv to progress (#3321 )
* fix: remove circular-progress tv to progress
* docs: changeset
* chore(changeset): update changeset message
* Update .changeset/angry-maps-serve.md
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: label placement when the select has a placeholder or description (#4126 )
* ci(changesets): version packages (beta) (#4107 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): add missing `framer-motion` in `peerDependencies` (#4140 )
* fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105 )
* fix(docs): invalid canary storybook link (#4030 )
* fix: menu item hidden overflow text
* feat: changeset
* Merge branch 'beta/release-next' into fix/menu-item-hidden
* fix: truncate list item
* feat: update changeset
* fix(menu): omit internal props
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* Update apps/docs/content/docs/components/textarea.mdx
* feat(table): add isKeyboardNavigationDisabled prop to the table (#3735 )
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
* feat: add form component (#3036 )
* chore: add support validationBehavior aria
* chore: add validationBehavior to Provider
* chore: add autocomplete validation test
* chore: add checkbox validation test
* fix(input): require condition
* docs: add description of validationBehavior props
* chore: add support validationBehavior props for date components
* docs(dates): add description of validationBehavior props
* chore: add changeset
* chore: format
* chore: fix test
* fix: select validationBehavior is not support yet
* fix: select validationBehavior not supported yet
* feat: add form component with input support
* feat: add support form context
* chore: wip add support for form server errors
* chore: add support checkbox server validation
* chore: add support radio server validation
* chore: update pnpm-lock.yaml
* chore: add support input server validation
* chore: add support autocomplete server validation
* chore(form): add server validation stories
* chore: fix test
* chore: add date-picker validation test
* chore: update form stories
* chore: add changeset
* chore: update react-aria version
* chore: add pnpm-lock.yaml
* chore: update react-aria version
* chore: add comment
* chore: update react-aria version
* chore: fix change set
* chore: export form component in the main package
* chore: upgrade react-aria
* chore: fixed internationalized/date version
* fix: build error
* chore: upgrade docs react-aria version
* fix: remove comment
* fix: debug setting
* chore(docs): update sponsor (#3904 )
* chore(docs): remove Scrumbuiss
* chore(docs): remove Scrumbuiss logo
* chore(docs): replace va by posthog (#4123 )
* chore(changeset): change to patch
* refactor: react-aria-components remove to decrease package size, logic moved to the form package
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* docs: add forms guide (#4155 )
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* chore: routes updated
* ci(changesets): version packages (beta) (#4151 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: fix indentation
* fix(changeset): package not be found
* ci(changesets): version packages (beta) (#4158 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(select): controlled isInvalid prop (#4082 )
* fix(select): controlled isInvalid prop
* chore: add changeset
* Merge branch 'beta/release-next' into pr/4082
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* ci(changesets): version packages (beta) (#4159 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore(changeset): bump all versions
* ci(changesets): version packages (beta) (#4160 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): missing peer / dev dependency for framer-motion (#4161 )
* fix(system): align `navigate` function parameters with `@react-aria` (#4163 )
* fix: menu item classNames not work (#4156 )
* fix: menu item classNames not work
* feat: changeset
* docs: update
* feat: merge classes utility added
* Update .changeset/brave-trains-wave.md
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore(docs): remove incorrect info
* ci(changesets): version packages (beta) (#4162 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(docs): overall dx (#4055 )
* refactor(docs): revise code block (#3922 )
* refactor(docs): revise code block
* chore(docs): resolve pr comments
* refactor(docs): autocomplete dx (#3934 )
* feat(docs): add *.js?raw module
* feat(docs): change to react-jsx and add **/*.js
* chore(root): include js and jsx
* refactor(docs): autocomplete dx
* chore(docs): rollback overrides
* chore(autocomplete): lint
* fix(autocomplete): incorrect import path
* fix(docs): autocomplete dx
* chore(docs): remove highlightedLines
* refactor(docs): breadcrumbs dx (#3968 )
* refactor(docs): breadcrumbs dx
* fix(docs): export issue
* chore(docs): use preserve for jsx
* fix(docs): support multiline import
* fix(docs): support multiple export
* chore(docs): add back export
* refactor(docs): avatar dx (#3951 )
* refactor(docs): badge dx (#3960 )
* refactor(docs): badge dx
* chore(docs): incorrect import path
* refactor(docs): button dx (#3981 )
* refactor(docs): calendar dx (#4022 )
* refactor(docs): calendar dx
* fix(docs): incorrect import path
* refactor(docs): switch dx (#4037 )
* refactor(docs): switch dx
* chore(docs): remove highlightedLines
* refactor(docs): tooltip (#4035 )
* refactor(docs): usage dx (#4036 )
* refactor(docs): circular-progress dx (#4029 )
* refactor(docs): chip-dx (#4028 )
* refactor(docs): checkbox-group dx (#4027 )
* refactor(docs): checkbox dx (#4024 )
* refactor(docs): checkbox dx
* fix(docs): incorrect import path
* refactor(docs): card dx (#4023 )
* refactor(docs): skeleton dx (#4042 )
* refactor(docs): spacer dx (#4043 )
* refactor(docs): snippet dx (#4044 )
* refactor(docs): scroll-shadow dx (#4045 )
* refactor(docs): code dx (#4046 )
* refactor(docs): kbd dx (#4047 )
* refactor(docs): link dx (#4048 )
* refactor(docs): progress dx (#4049 )
* refactor(docs): divider dx (#4050 )
* refactor(docs): listbox dx (#4051 )
* refactor(docs): listbox dx
* fix(docs): import path
* fix(docs): import path
* chore(docs): remove highlightedLines
* fix(docs): indentation
* chore(docs): replace the props of autocomplete from value to key (#4129 )
* refactor(docs): alert dx (#4108 )
* refactor(docs): alert dx
* refactor(docs): alert dx
* refactor(docs): image dx (#4061 )
* refactor(docs): textarea dx (#4063 )
* refactor(docs): spinner dx (#4088 )
* refactor(docs): radio-group dx (#4064 )
* refactor(docs): pagination dx (#4062 )
* refactor(docs): pagination dx
* refactor(docs): pagination dx
* refactor(docs): time-input dx (#4065 )
* refactor(docs): time-input dx
* refactor(docs): time-input dx
* refactor(docs): slider dx (#4066 )
* refactor(docs): slider dx
* refactor(docs): slider dx
* refactor(docs): move SliderValue to type
* refactor(docs): slider dx
* refactor(docs): make icon code collapsible
* refactor(docs): specify versions for date packages (#4138 )
* refactor(docs): specify versions for date packages
* fix(docs): correct RA i18n version
* chore(deps): sync version from package
* refactor(docs): tabs dx (#4067 )
* refactor(docs): tab dx
* refactor(docs): tabs dx
* refactor(docs): input dx (#4102 )
* refactor(docs): input dx
* refactor(docs): input dx
* refactor(docs): navbar dx (#4076 )
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): modal dx (#4077 )
* refactor(docs): modal dx
* refactor(docs): modal dx
* refactor(docs): select dx (#4078 )
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): table dx (#4079 )
* refactor(docs): table dx
* fix(docs): import path
* refactor(docs): table dx
* refactor(docs): table dx
* refactor(docs): popover dx (#4090 )
* refactor(docs): range-calendar dx (#4089 )
* refactor(docs): range-calendar dx
* fix(docs): import path
* refactor(docs): date input dx (#4100 )
* refactor(docs): dropdown dx (#4101 )
* refactor(docs): dropdown dx
* refactor(docs): remove highlightedLines
* refactor(docs): dropdown dx
* refactor(docs): dropdown dx
* refactor(docs): date-picker dx (#4103 )
* refactor(docs): date-picker dx
* fix(docs): import paths
* refactor(docs): date-range-picker dx (#4104 )
* refactor(docs): date-range-picker dx
* fix(docs): date-range-picker dx
* refactor(docs): drawer dx (#4109 )
* refactor(docs): drawer dx
* fix(docs): indentation
* refactor(docs): make icon collapsible
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* Merge branch 'beta/release-next' into pr/3477
* refactor(docs): apply new structure to doc
* feat(input-otp): introduce input OTP component (#4052 )
* feat(input-otp): adding the functionality
* fix(input-otp): making the use of input-otp library
* Update .changeset/spotty-flies-jump.md
* chore(input-otp): nits
* feat: improvements and fixes added
* refactor: input-otp docs improvements
* fix: changeset
* fix: build
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4169 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(theme): revise label font size for lg (#4141 )
* refactor(theme): revise label font size for lg
* chore(changeset): add changeset
* refactor(theme): revise label font size for lg
* fix(docs): typecheck errors (#4171 )
* fix(docs): remove duplicate import
* fix(docs): update type for onChange in range-calendar page
* fix(docs): add missing `@react-types/calendar`
* fix(docs): broken syntax
* fix(docs): typecheck issues
* fix(docs): add missing `@react-types/datepicker`
* fix(docs): typecheck issues
* fix: missing li tag when href is specified (#4168 )
* fix(items): items in list should wrapped in li in case of a
* chore: adding the tests
* fix: textarea issues with the clear button
* chore: adjust clear button position
---------
Co-authored-by: doki- <1335902682@qq.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mustafa Balcı <19329346+mstfblci@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@gmail.com >
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Tianen Pang <32772271+tianenpang@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
* ci(changesets): version packages (beta) (#4170 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* docs: sync api from nextui-cli v0.3.5 (#4173 )
Co-authored-by: GitHub Action <action@github.com >
* ci(changesets): exit pre-release mode
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mustafa Balcı <19329346+mstfblci@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@gmail.com >
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Tianen Pang <32772271+tianenpang@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
Co-authored-by: doki- <1335902682@qq.com >
Co-authored-by: GitHub Action <action@github.com >
* fix: pre release workflow on protected branches (#4174 )
* chore(pre-release): enter pre-release mode (#4175 )
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix: input otp peer deps (#4176 )
* chore: update workflows
* chore: pre release workflow modified (#4177 )
* chore: canary versions (#4178 )
* fix: pre-release workflow (#4179 )
* chore: merged with beta branch
* chore: workflow updated
* ci(changesets): version packages
* fix: changeset get github info
* chore: force canary to release (#4180 )
* Feat/canary release (#4181 )
* chore: force canary to release
* feat: canary release
* ci(changesets): version packages
* ci(changesets): version packages
* fix: exit pre-release mode
* fix: exit pre-release mode
* fix: exit pre-release mode
* fix: exit pre-release mode
* fix: exit pre-release mode
* chore: exit pre release mode
* fix(workflows): release & pre-release flow (#4184 )
* chore: revert exit and enter pre release changes
* chore: canary release test (#4185 )
* chore: update exit and enter workflows
* chore: update workflow name
* fix: exit pre-release mode
* fix: exit pre-release mode
* chore: delete pre file
* chore: remove duplicate changesets
* chore: base branch change to canary, changeset config
* refactor: beta tags manually deleted (#4187 )
* fix: install
* fix: peer deps (#4188 )
* Fix/peer deps (#4189 )
* fix: peer deps
* fix: tests
* fix: routes
* chore(docs): revise defaultShowFlagList (#4193 )
* chore(docs): add Example to defaultShowFlagList
* chore(docs): revise defaultShowFlagList
* feat: documentation improvements (#4195 )
* feat: documentation improvements
* fix: alert api
* Feat/doc improvements (#4196 )
* feat: documentation improvements
* fix: alert api
* fix: copy button
* fix: return in card demo
* Fix/react core pkg (#4204 )
* fix: double use client tag import in react core package
* fix: double use client
* chore: restore postbuild script
* docs: optimize code fold (#4202 )
* docs: optimize code fold
* fix: code review
* fix(input): teaxtarea label squish (#4197 )
* fix(input): teaxtarea label squish
* chore(changeset): add changeset for textarea label fix
* chore: remove customer runner
* chore: rename changeset
* chore: increase timeout
* chore: change get info pkg version
* chore: new changeset
* chore: single chnageset
* chore: consolidated changeset
* chore: consolidated changeset
* Update release.yaml (#4205 )
* chore: consolidated changeset
* 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
* 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 >
* feat(select): virtualization (#4203 )
* fix: should not export list item internal variables type
* feat: changeset
* feat: integrate virtualized listbox to select component, add more props
* feat: update docs for select component
* feat: update docs to include API for virtualization
* fix: update docs to follow the newest format
* fix: update test for disable virtualization, add test for virtualized version
* fix: fix typo
* fix: type error
* fix: code block type error
* chore: update docs to use raw jsx instead of template literal
* fix: fix code-demo for typecheck
* chore: rollback for files
* fix: types
* chore: remove caret version on tanstack virtual pkg
* fix: pnpm lock file
* fix: virtualization examples
* fix: number of items
---------
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore: adjust code colors
* fix: collection based components ref (#4207 )
* chore: documentation adjustments
* 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
* fix(docs): types for classNames and itemClasses (#4209 )
* feat: documentation improvements
* chore: more improvements to the docs, routing updated, acccordiong font size change
* feat: forms doc in progress
* 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 >
* chore(docs): remove non-existing attribute (#4221 )
* 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
* 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
* fix: form fixes and improvements (#4224 )
* chore: form in progress
* chore: main demo addded to forms, checkbox validation fixed
* chore: forms docs improved
* fix(deps): bump `@react-aria/utils` version (#4226 )
* fix(deps): bump `@react-aria/utils` version
* chore(changeset): add changeset
* feat: forms doc completed
* chore: form component doc created
* chore: forms doc improved
* chore: doc improvements
* chore: alert doc improved
* feat: nextjs 15 migration in progress
* feat: nextjs 15 migration [docs] (#4228 )
* feat: nextjs 15 migration in progress
* feat: next 15 downgraded to next 14
* fix: migration errors
* feat: codeblog is now rendered only when visible, this made a huge performance improvement
* fix: remove folding
* feat: v2.6.0 blog
* feat: Adding nextui pro section on the landing page (#4227 )
* feat: adding nextui pro section on the landing page
* chore(nits): nits
* fix: remove pro image on mobile
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(docs): prevent scrolling up on pressing theme change switch (#4233 )
* chore: improve v2.6.0 blog
* chore: small improvements
* chore: improve blog
* ci(changesets): version packages (#4186 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: snippet release (#4235 )
* ci(changesets): version packages (#4236 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore: v2.6.2
* ci(changesets): version packages (#4237 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: draggable modal demo
* fix: v2.6 blog
* chore: adjust blog
* chore: release notes link updated
---------
Signed-off-by: Innei <i@innei.in >
Signed-off-by: The1111mp <The1111mp@outlook.com >
Co-authored-by: ryoon <ryoon50@gmail.com >
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Abhinav Agarwal <78839973+abhinav700@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@gmail.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: David Gonzalez <dgonzalez1992@outlook.com >
Co-authored-by: Julie Saia <76669473+juliesaia@users.noreply.github.com >
Co-authored-by: Alex Nguyen <dev@alexnguyen.co.nz >
Co-authored-by: max <hi.max@foxmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: Shrinidhi Upadhyaya <shrinidhiupadhyaya1195@gmail.com >
Co-authored-by: Anuj Sharma <52837557+sanuj21@users.noreply.github.com >
Co-authored-by: Innei <tukon479@gmail.com >
Co-authored-by: Jeff. <jeffreysfu@gmail.com >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Abhinav Agarwal <abhinavagrawal700@gmail.com >
Co-authored-by: wzc520pyfm <1528857653@qq.com >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Abhinandan <abhinandanverma551@gmail.com >
Co-authored-by: The1111mp <The1111mp@outlook.com >
Co-authored-by: Rakha Kanz Kautsar <rkkautsar@gmail.com >
Co-authored-by: Can Rau <cansrau@gmail.com >
Co-authored-by: Azpekt <65199167+AzpektDev@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mustafa Balcı <19329346+mstfblci@users.noreply.github.com >
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
Co-authored-by: Tianen Pang <32772271+tianenpang@users.noreply.github.com >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
Co-authored-by: doki- <1335902682@qq.com >
Co-authored-by: GitHub Action <action@github.com >
Co-authored-by: Peterl561 <76144929+Peterl561@users.noreply.github.com >
Co-authored-by: Julio Barrios <juliobarmi@gmail.com >
2024-12-06 14:04:12 -03:00
Junior Garcia
7453632ba5
chore: release notes link updated
2024-12-06 14:03:36 -03:00
Junior Garcia
ea6dfeb29e
Merge branch 'main' of github.com:nextui-org/nextui into canary
2024-12-06 13:58:44 -03:00
Junior Garcia
867eae14ac
Blog fixes ( #4241 )
...
* fix(input): ensure clear button is not focusable when disabled (#3774 )
* fix(input): ensure clear button is not focusable when disabled
* test(input): add test to ensure clear button is not focusable when disabled
* chore: add changeset for clear button focus fix when input is disabled
* fix(input): update clear button to use button element
* test(input): add focus test when disabled
and update tests for clear button using button element
* test(input): replace querySelector with getByRole for clear button
* fix(input): set tabIndex to -1 for clear button
* test(input): ensure clear button is not focusable
* fix(image): add missing `w` to `getWrapperProps` dependency (#3802 )
* fix(image): add missing `w` to `getWrapperProps` dependency
* chore(changeset): add changeset
* fix(autocomplete): popover should remain open after clicking clear button (#3788 )
* fix: add state.open() so that dropdown is not closed
* chore: add changeset
* chore(autocomplete): add testcases for keeping lisbox open when clearButton is clicked
* chore: update changeset
* chore(autocomplete): change the docs for test cases
* chore(changeset): update changeset message and add issue number
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* refactor(docs): example of blurred card (#3741 )
* docs(card): adding info regarding the gradient for blurred card
* chore(nit): adding example
* chore(docs): revise content for card isBlurred example
* chore(docs): revise isBlurred note
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(docs): replace twitter logo/links with x logo/links (#3815 )
* fix(docs): replace Twitter logo/links with X logo/links
* docs: update twitter references to x
* docs: update changeset for twitter to x changes
* docs: update twitter references to x
* docs: update twitter references to x
* chore(docs): undo .sponsorsrc since it's generated
* refactor(docs): remove unnecessary classes
* chore(docs): undo .sponsorsrc since it's generated
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(date-picker): adding props from calendarProps to getCalendarProps (#3773 )
* fix(date-picker): adding props from calendarProps to the getCalendarProps
* chore(date-picker): adding the changeset
* chore(changeset): add issue number
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* feat(autocomplete): automatically focus first non-disabled item (#2186 )
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* docs(accordion): add overflow to custom motion example (#3793 )
* fix(docs): typos in dark mode page (#3823 )
* fix(theme): fullWidth in input and select (#3768 )
* fix(input): fixing the fullWidth functionality
* chore(changeset): add issue number
* chore(changeset): revise changeset message
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(autocomplete): exit animation on popover close (#3845 )
* fix(autocomplete): exit animation on popover close
* refactor(autocomplete): getListBoxProps
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* refactor(theme): replace the use of RTL-specific styles with logical properties (#3868 )
* chore(rtl): remove the usages of rtl
* chore(changeset): adding the changeset
* chore(changeset): update changeset message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(select): label placement discrepancy in Select (#3853 )
* fix(select): label placement incorrect in case of multiline
* chore(select): adding the changeset
* chore(select): adding the tests
* chore(select): code imrovement, wkw's suggestions
* chore(changeset): update changeset message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(theme): label placement in select and input (#3869 )
* fix(theme): fix the label placement
* chore(changeset): adding the changeset
* chore(select): adding comments
* fix(docs): avoid translating the code block (#3878 )
* docs(Codeblock): avoid code be translated
* fix(docs): lint issue
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(listbox): change listBoxItem key to optional (#3883 )
* fix(listbox): listBoxItem key to optional
* chore: add defaultSelectedKeys test for numeric keys and ids
* chore: add changeset
* chore: comment out section prompts in PR template (#3884 )
* chore(test): update testing libraries and refactor (#3886 )
* fix(theme): show margin only with label in Switch component (#3861 )
* fix(switch): removed right margin in wrapper #3791
* feat(changeset): added changeset
* fix(switch): removed me-2 in wrapper
* fix(switch): added ms-2 to label
* chore(changeset): correct package and message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(theme): removed pseudo cancel btn from input (#3912 )
* fix(theme): removed pseudo cancel btn from input
* chore(changeset): adding the changeset
* fix(input): conditionally hiding the webkit search
* chore(changeset): revise changeset message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* refactor(docs): dx improvement in accordion (#3856 )
* refactor: improve dx for writing a docs component (#2544 )
* refactor: improve dx for write a docs component
Signed-off-by: Innei <i@innei.in >
* refactor(docs): switch to contentlayer2
* chore(docs): rename to avoid conflict
* refactor(docs): switch to next-contentlayer2
* refactor(docs): revise docs lib
* chore(deps): bump docs related dependencies
* fix(use-aria-multiselect): type issue due to ts version bump
---------
Signed-off-by: Innei <i@innei.in >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* refactor(docs): accordion codes
* feat(docs): declare module `*.jsx?raw`
* feat(docs): include `**/*.jsx`
* fix(docs): incorrect content
* chore(docs): add new lines
* refactor(docs): lint
---------
Signed-off-by: Innei <i@innei.in >
Co-authored-by: Innei <tukon479@gmail.com >
* fix(docs): typos in hero section (#3928 )
* fix(theme): support RTL for breadcrumbs (#3927 )
* fix(breadcrumbs): added separator rotation for RTL #2486
* chore(changeset): added changeset
* fix(docs): removed unused import and merged classNames in dropdown (#3936 )
* fix(breadcrumbs): added separator rotation for RTL #2486
* chore(changeset): added changeset
* fix(docs): removed unused Link import and merged classnames in dropdown
* fix: avatar filter disableAnimation to dom prop (#3946 )
* feat: add git hook to auto update dependencies (#3365 )
* feat: add git hook to auto update dependencies
* feat: update color
* fix: prevent test matcher warning (#3893 )
* fix: prevent test matcher warning
* chore: add node types
* chore: update Jest related packages
* chore: run pnpm install
* fix(tabs): correct inert value for true condition (#3978 )
* Alert component (#3982 )
* feat(alert): began the work on alert component
* fix(readme): making correction
* chore(deps): change to 2.0.0
* chore(docs): update README.md
* feat(theme): init alert tv
* chore(alert): update package.json
* feat(alert): init alert storybook structure
* chore(changeset): add changeset
* chore(changeset): change to minor
* chore(alert): revise alert package.json
* feat(alert): init test structure
* chore(deps): pnpm-lock.yaml
* feat(alert): initailized theme and basic structure
* feat(alert): completed use-alert.ts and alert.tsx
* feat(alert): remove innerWrapper, replace helperWrapper with mainWrapper, adding isCloseable prop
* feat(alert): adding isCloseable prop to baseWrapper dependency
* feat(alert): setting the default value of isCloseable prop to true
* feat(alert): moving CloseIcon inside the button
* feat(alert): updated package.json
* feat(alert): default variant and default story
* feat(alert): adding color and radius stories
* feat(alert): completed the styling
* feat(alert): add stories for isCloseable prop and restyle other stories
* feat(alert): correcting ref type
* feat(alert): add test cases
* feat(alert): remove startContent and endContent props
* feat(alert): make styling more accurate
* feat(alert): fixed default props
* feat(alert): fixed theme docs
* feat(alert): add logic for icons
* feat(alert): begin to add docs
* chore(alert): implement the changes suggested in code review
* feat(alert): add onclose prop to alert
* feat(alert): add test cases
* docs(alert): add onClose event
* feat(docs): add alert to routes.json
* fix(alert): correct the text colors
* docs(alert): fix imports and syntax errors
* chore(alert): implement the changes suggested in code review
* chore(alert): lint the code and change isCloseable to isClosable
* chore(alert): lint the code
* chore(alert): run pnpm i
* fix(alert): fix the logic for close button and add test case
* docs(alert): fix docs, change isCloseable to isClosable and change docs for isClosable property
* chore(alert): add the support for RTL, refactor the code and fix the typos
* docs(alert): grammer issues fix
* fix(alert): replace rtl with ms
* chore(alert): custom style and custom implementation, remove isClosable={false}, refactor, fix typos
* chore(alert): linting and implement coderabbit suggestions
* chore(alert): refactor and typos fix
* chore(alert): add import for closeIcon
* chore(alert): add props for closeIcon
* chore(alert): refactor fixes
* chore(alert): implement ryo-manba's suggestion on close Icon
* chore(alert): make alert more responsive
* chore(alert): fix grammer issues suggested by coderabbit
* fix(alert): add max-w property to make alert responsive
* chore(alert): improve responsiveness and refactor alertIcon
* chore(alert): add missing dependency to useMemo
* chore(alert): implement coderabbit's suggestions
* chore(alert): update docs and refactor
* chore(alert): refactor alertIcon and implement coderabbit's suggestion
* chore: fixes
---------
Co-authored-by: Abhinav Agarwal <abhinavagrawal700@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Abhinav Agarwal <78839973+abhinav700@users.noreply.github.com >
* Feat/add draggable modal (#3983 )
* feat(hooks): add use-draggable hook
* feat(components): [modal] export use-draggable
* docs(components): [modal] add draggable modal
* feat(components): [modal] add ref prop for modal-header
* chore(components): [modal] add draggable modal for storybook
* chore: add changeset for draggable modal
* docs(hooks): [use-draggable] fix typo
* chore: upper changeset
* chore(components): [modal] add overflow draggable modal to sb
* test(components): [modal] add draggable modal tests
* build: update pnpm-lock
* chore(changeset): include issue number
* feat(hooks): [use-draggable] set user-select to none when during the dragging
* docs(components): [modal] update code demo title
* docs(components): [modal] condense description for draggable overflow
* feat(hooks): [use-draggable] change version to 0.1.0
* refactor(hooks): [use-draggable] use use-move implement use-draggable
* feat(hooks): [use-draggable] remove repeated user-select
* test(components): [modal] update test case to use-draggable base use-move
* docs(components): [modal] update draggable examples
* fix(hooks): [use-draggable] fix mobile device touchmove event conflict
* refactor(hooks): [use-draggable] remove drag ref prop
* refactor(hooks): [use-draggable] draggable2is-disabled overflow2can-overflow
* test(components): [modal] add draggble disable test
* chore(hooks): [use-draggable] add commant for body touchmove
* Update packages/hooks/use-draggable/src/index.ts
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* fix(hooks): [use-draggable] import use-callback
* test(components): [modal] add mobile-sized test for draggable
* chore(hooks): [use-draggable] add use-callback for func
* chore(hooks): [use-draggable] update version to 2.0.0
* chore: fix typo
* Update .changeset/soft-apricots-sleep.md
* fix: pnpm lock
* fix: build
* chore: add updated moadl
---------
Co-authored-by: wzc520pyfm <1528857653@qq.com >
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* chore: upgrade react-aria / React 19 & Next.js 15 support (#3732 )
* chore: upgrade react-aria
* chore: add changeset
* chore: fix type error
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat(date-picker): add selectorButtonPlacement property (#3248 )
* feat(date-picker): add selectorButtonPlacement property
* chore: update changeset
* Update .changeset/neat-donkeys-accept.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat: add tab ref (#3974 )
* feat: add tab ref
* feat: add changeset
* feat: pre-release workflow (#2910 )
* feat(workflow): pre-release
* feat(workflow): exit pre-release
* chore(workflow): update version & publish commands
* fix(workflow): add missing attributes and use schangeset:beta cmd
* feat(root): add changeset:beta
* fix(workflows): revise pre-release logic
* fix(workflows): add missing run
* fix(workflows): use changeset:exit with version instead
* feat(root): add changeset:exit cmd
* refactor(workflows): add pths, id, and format
* feat(workflows): enter pre-release mode
* chore(workflows): remove pre.json only
* refactor(workflows): remove enter-pre-release-mode
* fix(workflows): incorrect url
* refactor(root): remove unused exit command
* refactor(workflows): add comments
* feat(changeset): change to main branch as baseBranch
* feat(root): add changeset:canary
* refactor(workflows): remove unused workflow
* feat(workflow): support canary pre-release mode
* refactor(docs): change to canary
* feat(popover): added control for closing popover on scroll (#3595 )
* fix(navbar): fixed the height when style h-full
* fix(navbar): fixed the height when style h-full
* docs(changeset): resolved extra file
* feat(popover): added control for closing popover on scroll
* update(changeset): correction
* feat(popover): removed extra story
* refactor(test): corrected test for both true and false values of shouldCloseOnScroll
* refactor(docs): added shouldCloseOnScroll prop
* chore(changeset): change to minor
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
* feat: add month and year pickers to DateRangePicker and RangeCalendar (#3302 )
* feat: add month and year pickers to DateRangePicker and RangeCalendar
* chore: update docs
* Update .changeset/kind-cobras-travel.md
* chore: react package version
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore(deps): bump tailwind-merge version (#3657 )
* chore(deps): bump tailwind-merge versions
* chore(theme): adopt latest extendTailwindMerge
* chore(changeset): add changeset
* chore(changeset): change to minor
* Update .changeset/grumpy-mayflies-rhyme.md
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat: added drawer component (#3986 )
Signed-off-by: The1111mp <The1111mp@outlook.com >
Co-authored-by: The1111mp <The1111mp@outlook.com >
* refactor: optimisations (#3523 )
* refactor: replace lodash with native approaches
* refactor(deps): update framer-motion versions
* feat(utilities): add @nextui-org/dom-animation
* refactor(components): load domAnimation dynamically
* refactor(deps): add @nextui-org/dom-animation
* fix(utilities): relocate index.ts
* feat(changeset): framer motion optimization
* chore(deps): bump framer-motion version
* fix(docs): conflict issue
* refactor(hooks): remove the unnecessary this aliasing
* refactor(utilities): remove the unnecessary this aliasing
* chore(docs): remove {} so that it won't be true all the time
* chore(dom-animation): end with new line
* refactor(hooks): use debounce from `@nextui-org/shared-utils`
* chore(deps): add `@nextui-org/shared-utils`
* refactor: move mapKeys logic to `@nextui-org/shared-utils`
* refactor: use `get` from `@nextui-org/shared-utils`
* refactor(docs): use `get` from `@nextui-org/shared-utils`
* refactor(shared-utils): mapKeys
* chore(deps): bump framer-motion version
* chore(deps): remove lodash
* refactor(docs): use intersectionBy from shared-utils
* feat(shared-utils): add intersectionBy
* chore(dom-animation): remove extra blank line
* refactor(shared-utils): revise intersectionBy
* fix(modal): add willChange
* refactor(shared-utils): add comments
* fix: build & tests
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat(hooks): use-theme hook (#3169 )
* feat(docs): update dark mode content
* feat(hooks): @nextui-org/use-theme
* chore(docs): revise ThemeSwitcher code
* refactor(hooks): simplify useTheme and support custom theme names
* feat(hooks): add use-theme test cases
* feat(changeset): add changeset
* refactor(hooks): make localStorageMock globally and clear before each test
* fix(docs): typo
* fix(hooks): coderabbitai comments
* chore(hooks): remove unnecessary +
* chore(changeset): change to minor
* feat(hooks): handle system theme
* chore(hooks): add EOL
* refactor(hooks): add default theme
* refactor(hooks): revise useTheme
* refactor(hooks): resolve pr comments
* refactor(hooks): resolve pr comments
* refactor(hooks): resolve pr comments
* refactor(hooks): remove unused theme in dependency array
* chore(docs): typos
* refactor(hooks): mark system as key for system theme
* chore: merged with canary
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* Fix/avatar flashing (#3987 )
* fix(use-image): cached image flashing
* chore: merged with canary
---------
Co-authored-by: Rakha Kanz Kautsar <rkkautsar@gmail.com >
* refactor(menu): Use `useMenu` and `useMenuItem` from RA (#3261 )
* refactor(menu): use useMenu from react-aria instead
* refactor(menu): use useMenuItem from react-aria instead
* feat(changeset): add changeset
* chore: merged with canary
* fix: dropdown tests
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(theme): added stripe color gradients for progress (#3938 )
* fix(breadcrumbs): added separator rotation for RTL #2486
* chore(changeset): added changeset
* fix(docs): removed unused Link import and merged classnames in dropdown
* fix(theme):added stripe color gradients for progress #1933
* refactor(theme): added stripe-size and createStripeGradient
* chore: add all minor releases
* fix(docs): invalid canary storybook link (#4030 )
* fix(use-image): image ReferenceError in SSR (#4122 )
* fix(use-image): image ReferenceError in SSR
* fix(use-image): sync with beta
* fix(use-image): sync with beta
* chore(use-image): remove unnecessary comments
* fix(docs): buildLocation expects an object (#4118 )
* fix(docs): routing.mdx
* Delete .changeset/pre.json
* chore(docs): update yarn installation command (#4132 )
There is no `-g` flag in yarn. `global` is a command which must immediately follow yarn.
Source: https://classic.yarnpkg.com/lang/en/docs/cli/global/
* chore: upgrade storybook 8 (#4124 )
* feat: upgrade storybook8
* chore: upgrade storybook and vite
* chore: remove @mdx-js/react optimizeDep
* chore: add @mdx-js/react optimizeDep
* fix: format
* docs: add forms guide (#3822 )
* v2.5.0 [BETA] (#4164 )
* chore(pre-release): enter pre-release mode
* fix(theme): apply tw nested group (#3909 )
* chore(changset): add changeset
* fix(theme): apply nested group to table
* chore(docs): update table bottomContent code
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: pkg versions
* fix: changeset
* fix: drawer peer dep
* chore: update plop components tempalte
* ci(changesets): version packages (beta) (#3988 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: pre-release workflow
* chore: debug log added
* chore: force pre-release
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* chore: beta1 (#3990 )
* ci(changesets): version packages (beta) (#3991 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(use-image): image ReferenceError in SSR (#3993 )
* fix(input): fixed a sliding issue caused by the helper wrapper (#3966 )
* If it is false and there is an error message or description it will create a div
* Update packages/components/input/src/input.tsx
* Update packages/components/select/src/select.tsx
* Update packages/components/input/src/textarea.tsx
* add changeset
* changeset update
* ci(changesets): version packages (beta) (#3995 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image loading in the server (#3996 )
* fix: lock file
* chore: force release
* chore: force release 2
* ci(changesets): version packages (beta) (#3997 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image load on next.js (#3998 )
* ci(changesets): version packages (beta) (#3999 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: element.ref was removed in React 19 warning (#4003 )
* ci(changesets): version packages (beta) (#4004 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: react 19 as peer dep (#4008 )
* ci(changesets): version packages (beta) (#4009 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Beta/react 19 support (#4010 )
* fix: react 19 as peer dep
* fix: react 19 as peer dep
* chore: support framer-motion alpha version
* ci(changesets): version packages (beta) (#4011 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(theme): making select and input themes consistent (#3881 )
* ci(changesets): version packages (beta) (#4012 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: support inert value with boolean type for react 19 (#4039 )
* ci(changesets): version packages (beta) (#4041 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert design improved (#4054 )
* ci(changesets): version packages (beta) (#4056 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: drawer improvements (#4057 )
* ci(changesets): version packages (beta) (#4058 )
* feat: alert styles improved (#4071 )
* ci(changesets): version packages (beta) (#4072 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert styles improved (#4073 )
* ci(changesets): version packages (beta) (#4074 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: add number of stars and credits
* chore: fix build
* chore: improve navabr colors
* chore: new changeset (#4083 )
* ci(changesets): version packages (beta) (#4084 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: pnpm cleaned (#4086 )
* ci(changesets): version packages (beta) (#4087 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: custom runnner added
* chore: custom runner test (#4091 )
* Beta/custom runner (#4092 )
* chore: custom runner test
* chore: custom runner test
* chore: remove 2 from older changeset
* ci(changesets): version packages (beta) (#4093 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: new demo added to alert
* Feat/virtualization for autocomplete (#4094 )
* feat: add react-window virtualization for autocomplete
* fix: wrong imports and wrong sizing
* fix: update pnpm lock
* chore: add test cases for large dataset (1000 and 10000 items)
* chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional
* feat: implement dynamic listboxheight n item height, add story
* chore: rename props, remove unnecessary line changes
* fix: maxHeight style 256px for default, conditional usage of virtualizer
* feat: migrate to tan-stack virtual. (todo: fix scroll shadow)
* feat: virtualization support
---------
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
* ci(changesets): version packages (beta) (#4095 )
* feat: small fixes
* feat: add reducedMotion setting to Provider (#3470 )
* feat: add reducedMotion setting to Provider
* chore: refactor reducedMotion story
* Update .changeset/pretty-parrots-guess.md
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4106 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: move circular-progress tv to progress (#3321 )
* fix: remove circular-progress tv to progress
* docs: changeset
* chore(changeset): update changeset message
* Update .changeset/angry-maps-serve.md
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: label placement when the select has a placeholder or description (#4126 )
* ci(changesets): version packages (beta) (#4107 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): add missing `framer-motion` in `peerDependencies` (#4140 )
* fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105 )
* fix(docs): invalid canary storybook link (#4030 )
* fix: menu item hidden overflow text
* feat: changeset
* Merge branch 'beta/release-next' into fix/menu-item-hidden
* fix: truncate list item
* feat: update changeset
* fix(menu): omit internal props
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat(table): add isKeyboardNavigationDisabled prop to the table (#3735 )
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
* feat: add form component (#3036 )
* chore: add support validationBehavior aria
* chore: add validationBehavior to Provider
* chore: add autocomplete validation test
* chore: add checkbox validation test
* fix(input): require condition
* docs: add description of validationBehavior props
* chore: add support validationBehavior props for date components
* docs(dates): add description of validationBehavior props
* chore: add changeset
* chore: format
* chore: fix test
* fix: select validationBehavior is not support yet
* fix: select validationBehavior not supported yet
* feat: add form component with input support
* feat: add support form context
* chore: wip add support for form server errors
* chore: add support checkbox server validation
* chore: add support radio server validation
* chore: update pnpm-lock.yaml
* chore: add support input server validation
* chore: add support autocomplete server validation
* chore(form): add server validation stories
* chore: fix test
* chore: add date-picker validation test
* chore: update form stories
* chore: add changeset
* chore: update react-aria version
* chore: add pnpm-lock.yaml
* chore: update react-aria version
* chore: add comment
* chore: update react-aria version
* chore: fix change set
* chore: export form component in the main package
* chore: upgrade react-aria
* chore: fixed internationalized/date version
* fix: build error
* chore: upgrade docs react-aria version
* fix: remove comment
* fix: debug setting
* chore(docs): update sponsor (#3904 )
* chore(docs): remove Scrumbuiss
* chore(docs): remove Scrumbuiss logo
* chore(docs): replace va by posthog (#4123 )
* chore(changeset): change to patch
* refactor: react-aria-components remove to decrease package size, logic moved to the form package
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* docs: add forms guide (#4155 )
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* chore: routes updated
* ci(changesets): version packages (beta) (#4151 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: fix indentation
* fix(changeset): package not be found
* ci(changesets): version packages (beta) (#4158 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(select): controlled isInvalid prop (#4082 )
* fix(select): controlled isInvalid prop
* chore: add changeset
* Merge branch 'beta/release-next' into pr/4082
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* ci(changesets): version packages (beta) (#4159 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore(changeset): bump all versions
* ci(changesets): version packages (beta) (#4160 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): missing peer / dev dependency for framer-motion (#4161 )
* fix(system): align `navigate` function parameters with `@react-aria` (#4163 )
* fix: menu item classNames not work (#4156 )
* fix: menu item classNames not work
* feat: changeset
* docs: update
* feat: merge classes utility added
* Update .changeset/brave-trains-wave.md
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore(docs): remove incorrect info
* ci(changesets): version packages (beta) (#4162 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(docs): overall dx (#4055 )
* refactor(docs): revise code block (#3922 )
* refactor(docs): revise code block
* chore(docs): resolve pr comments
* refactor(docs): autocomplete dx (#3934 )
* feat(docs): add *.js?raw module
* feat(docs): change to react-jsx and add **/*.js
* chore(root): include js and jsx
* refactor(docs): autocomplete dx
* chore(docs): rollback overrides
* chore(autocomplete): lint
* fix(autocomplete): incorrect import path
* fix(docs): autocomplete dx
* chore(docs): remove highlightedLines
* refactor(docs): breadcrumbs dx (#3968 )
* refactor(docs): breadcrumbs dx
* fix(docs): export issue
* chore(docs): use preserve for jsx
* fix(docs): support multiline import
* fix(docs): support multiple export
* chore(docs): add back export
* refactor(docs): avatar dx (#3951 )
* refactor(docs): badge dx (#3960 )
* refactor(docs): badge dx
* chore(docs): incorrect import path
* refactor(docs): button dx (#3981 )
* refactor(docs): calendar dx (#4022 )
* refactor(docs): calendar dx
* fix(docs): incorrect import path
* refactor(docs): switch dx (#4037 )
* refactor(docs): switch dx
* chore(docs): remove highlightedLines
* refactor(docs): tooltip (#4035 )
* refactor(docs): usage dx (#4036 )
* refactor(docs): circular-progress dx (#4029 )
* refactor(docs): chip-dx (#4028 )
* refactor(docs): checkbox-group dx (#4027 )
* refactor(docs): checkbox dx (#4024 )
* refactor(docs): checkbox dx
* fix(docs): incorrect import path
* refactor(docs): card dx (#4023 )
* refactor(docs): skeleton dx (#4042 )
* refactor(docs): spacer dx (#4043 )
* refactor(docs): snippet dx (#4044 )
* refactor(docs): scroll-shadow dx (#4045 )
* refactor(docs): code dx (#4046 )
* refactor(docs): kbd dx (#4047 )
* refactor(docs): link dx (#4048 )
* refactor(docs): progress dx (#4049 )
* refactor(docs): divider dx (#4050 )
* refactor(docs): listbox dx (#4051 )
* refactor(docs): listbox dx
* fix(docs): import path
* fix(docs): import path
* chore(docs): remove highlightedLines
* fix(docs): indentation
* chore(docs): replace the props of autocomplete from value to key (#4129 )
* refactor(docs): alert dx (#4108 )
* refactor(docs): alert dx
* refactor(docs): alert dx
* refactor(docs): image dx (#4061 )
* refactor(docs): textarea dx (#4063 )
* refactor(docs): spinner dx (#4088 )
* refactor(docs): radio-group dx (#4064 )
* refactor(docs): pagination dx (#4062 )
* refactor(docs): pagination dx
* refactor(docs): pagination dx
* refactor(docs): time-input dx (#4065 )
* refactor(docs): time-input dx
* refactor(docs): time-input dx
* refactor(docs): slider dx (#4066 )
* refactor(docs): slider dx
* refactor(docs): slider dx
* refactor(docs): move SliderValue to type
* refactor(docs): slider dx
* refactor(docs): make icon code collapsible
* refactor(docs): specify versions for date packages (#4138 )
* refactor(docs): specify versions for date packages
* fix(docs): correct RA i18n version
* chore(deps): sync version from package
* refactor(docs): tabs dx (#4067 )
* refactor(docs): tab dx
* refactor(docs): tabs dx
* refactor(docs): input dx (#4102 )
* refactor(docs): input dx
* refactor(docs): input dx
* refactor(docs): navbar dx (#4076 )
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): modal dx (#4077 )
* refactor(docs): modal dx
* refactor(docs): modal dx
* refactor(docs): select dx (#4078 )
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): table dx (#4079 )
* refactor(docs): table dx
* fix(docs): import path
* refactor(docs): table dx
* refactor(docs): table dx
* refactor(docs): popover dx (#4090 )
* refactor(docs): range-calendar dx (#4089 )
* refactor(docs): range-calendar dx
* fix(docs): import path
* refactor(docs): date input dx (#4100 )
* refactor(docs): dropdown dx (#4101 )
* refactor(docs): dropdown dx
* refactor(docs): remove highlightedLines
* refactor(docs): dropdown dx
* refactor(docs): dropdown dx
* refactor(docs): date-picker dx (#4103 )
* refactor(docs): date-picker dx
* fix(docs): import paths
* refactor(docs): date-range-picker dx (#4104 )
* refactor(docs): date-range-picker dx
* fix(docs): date-range-picker dx
* refactor(docs): drawer dx (#4109 )
* refactor(docs): drawer dx
* fix(docs): indentation
* refactor(docs): make icon collapsible
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* feat(input-otp): introduce input OTP component (#4052 )
* feat(input-otp): adding the functionality
* fix(input-otp): making the use of input-otp library
* Update .changeset/spotty-flies-jump.md
* chore(input-otp): nits
* feat: improvements and fixes added
* refactor: input-otp docs improvements
* fix: changeset
* fix: build
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4169 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(theme): revise label font size for lg (#4141 )
* refactor(theme): revise label font size for lg
* chore(changeset): add changeset
* refactor(theme): revise label font size for lg
* fix(docs): typecheck errors (#4171 )
* fix(docs): remove duplicate import
* fix(docs): update type for onChange in range-calendar page
* fix(docs): add missing `@react-types/calendar`
* fix(docs): broken syntax
* fix(docs): typecheck issues
* fix(docs): add missing `@react-types/datepicker`
* fix(docs): typecheck issues
* fix: missing li tag when href is specified (#4168 )
* fix(items): items in list should wrapped in li in case of a
* chore: adding the tests
* Feat/textarea add clear button (#4172 )
* feat(components): add clear button to the textarea component
* docs(textarea): add test and changeset
* feat(textarea): modify the changeset file
* feat(textarea): add clear button to textarea
* feat(textarea): add isClearable prop to textarea
* docs(textarea): add documentation to textarea
* docs(textarea): add documentation to textarea
* feat(textarea): replace the textarea component clear icon and modify its location
* feat(textarea): revise the clear button position
* feat(textarea): revise the clear button structure
* feat(textarea): revise the styles of clear button and textarea
* feat(textarea): revise the styles of RTL case
* feat(textarea): change the rtl to pe
* feat(textarea): delete the px classname
* chore(changeset): update package and message
* test(textarea): add test case
* feat(textarea): change the clear button structure
* feat(textarea): optimized code
* chore(textarea): update the changeset file
* docs(textarea): add slots doc to textarea
* chore(textarea): update peerDevpeerDependencies version
* chore(textarea): add usecallback dep
* Update .changeset/five-adults-protect.md
* chore(pre-release): enter pre-release mode
* feat(textarea): modify the clear button icon
* fix(theme): apply tw nested group (#3909 )
* chore(changset): add changeset
* fix(theme): apply nested group to table
* chore(docs): update table bottomContent code
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: pkg versions
* fix: changeset
* fix: drawer peer dep
* chore: update plop components tempalte
* ci(changesets): version packages (beta) (#3988 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: pre-release workflow
* chore: debug log added
* chore: force pre-release
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* chore: beta1 (#3990 )
* ci(changesets): version packages (beta) (#3991 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(use-image): image ReferenceError in SSR (#3993 )
* fix(input): fixed a sliding issue caused by the helper wrapper (#3966 )
* If it is false and there is an error message or description it will create a div
* Update packages/components/input/src/input.tsx
* Update packages/components/select/src/select.tsx
* Update packages/components/input/src/textarea.tsx
* add changeset
* changeset update
* ci(changesets): version packages (beta) (#3995 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image loading in the server (#3996 )
* fix: lock file
* chore: force release
* chore: force release 2
* ci(changesets): version packages (beta) (#3997 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image load on next.js (#3998 )
* ci(changesets): version packages (beta) (#3999 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: element.ref was removed in React 19 warning (#4003 )
* ci(changesets): version packages (beta) (#4004 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: react 19 as peer dep (#4008 )
* ci(changesets): version packages (beta) (#4009 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Beta/react 19 support (#4010 )
* fix: react 19 as peer dep
* fix: react 19 as peer dep
* chore: support framer-motion alpha version
* ci(changesets): version packages (beta) (#4011 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(theme): making select and input themes consistent (#3881 )
* ci(changesets): version packages (beta) (#4012 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(textarea): fix clearButton display
* fix: support inert value with boolean type for react 19 (#4039 )
* ci(changesets): version packages (beta) (#4041 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert design improved (#4054 )
* ci(changesets): version packages (beta) (#4056 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: drawer improvements (#4057 )
* ci(changesets): version packages (beta) (#4058 )
* feat: alert styles improved (#4071 )
* ci(changesets): version packages (beta) (#4072 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert styles improved (#4073 )
* ci(changesets): version packages (beta) (#4074 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: add number of stars and credits
* chore: fix build
* chore: improve navabr colors
* chore: new changeset (#4083 )
* ci(changesets): version packages (beta) (#4084 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: pnpm cleaned (#4086 )
* ci(changesets): version packages (beta) (#4087 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: custom runnner added
* chore: custom runner test (#4091 )
* Beta/custom runner (#4092 )
* chore: custom runner test
* chore: custom runner test
* chore: remove 2 from older changeset
* ci(changesets): version packages (beta) (#4093 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: new demo added to alert
* Feat/virtualization for autocomplete (#4094 )
* feat: add react-window virtualization for autocomplete
* fix: wrong imports and wrong sizing
* fix: update pnpm lock
* chore: add test cases for large dataset (1000 and 10000 items)
* chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional
* feat: implement dynamic listboxheight n item height, add story
* chore: rename props, remove unnecessary line changes
* fix: maxHeight style 256px for default, conditional usage of virtualizer
* feat: migrate to tan-stack virtual. (todo: fix scroll shadow)
* feat: virtualization support
---------
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
* ci(changesets): version packages (beta) (#4095 )
* feat: small fixes
* feat: add reducedMotion setting to Provider (#3470 )
* feat: add reducedMotion setting to Provider
* chore: refactor reducedMotion story
* Update .changeset/pretty-parrots-guess.md
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4106 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: move circular-progress tv to progress (#3321 )
* fix: remove circular-progress tv to progress
* docs: changeset
* chore(changeset): update changeset message
* Update .changeset/angry-maps-serve.md
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: label placement when the select has a placeholder or description (#4126 )
* ci(changesets): version packages (beta) (#4107 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): add missing `framer-motion` in `peerDependencies` (#4140 )
* fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105 )
* fix(docs): invalid canary storybook link (#4030 )
* fix: menu item hidden overflow text
* feat: changeset
* Merge branch 'beta/release-next' into fix/menu-item-hidden
* fix: truncate list item
* feat: update changeset
* fix(menu): omit internal props
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* Update apps/docs/content/docs/components/textarea.mdx
* feat(table): add isKeyboardNavigationDisabled prop to the table (#3735 )
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
* feat: add form component (#3036 )
* chore: add support validationBehavior aria
* chore: add validationBehavior to Provider
* chore: add autocomplete validation test
* chore: add checkbox validation test
* fix(input): require condition
* docs: add description of validationBehavior props
* chore: add support validationBehavior props for date components
* docs(dates): add description of validationBehavior props
* chore: add changeset
* chore: format
* chore: fix test
* fix: select validationBehavior is not support yet
* fix: select validationBehavior not supported yet
* feat: add form component with input support
* feat: add support form context
* chore: wip add support for form server errors
* chore: add support checkbox server validation
* chore: add support radio server validation
* chore: update pnpm-lock.yaml
* chore: add support input server validation
* chore: add support autocomplete server validation
* chore(form): add server validation stories
* chore: fix test
* chore: add date-picker validation test
* chore: update form stories
* chore: add changeset
* chore: update react-aria version
* chore: add pnpm-lock.yaml
* chore: update react-aria version
* chore: add comment
* chore: update react-aria version
* chore: fix change set
* chore: export form component in the main package
* chore: upgrade react-aria
* chore: fixed internationalized/date version
* fix: build error
* chore: upgrade docs react-aria version
* fix: remove comment
* fix: debug setting
* chore(docs): update sponsor (#3904 )
* chore(docs): remove Scrumbuiss
* chore(docs): remove Scrumbuiss logo
* chore(docs): replace va by posthog (#4123 )
* chore(changeset): change to patch
* refactor: react-aria-components remove to decrease package size, logic moved to the form package
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* docs: add forms guide (#4155 )
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* chore: routes updated
* ci(changesets): version packages (beta) (#4151 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: fix indentation
* fix(changeset): package not be found
* ci(changesets): version packages (beta) (#4158 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(select): controlled isInvalid prop (#4082 )
* fix(select): controlled isInvalid prop
* chore: add changeset
* Merge branch 'beta/release-next' into pr/4082
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* ci(changesets): version packages (beta) (#4159 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore(changeset): bump all versions
* ci(changesets): version packages (beta) (#4160 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): missing peer / dev dependency for framer-motion (#4161 )
* fix(system): align `navigate` function parameters with `@react-aria` (#4163 )
* fix: menu item classNames not work (#4156 )
* fix: menu item classNames not work
* feat: changeset
* docs: update
* feat: merge classes utility added
* Update .changeset/brave-trains-wave.md
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore(docs): remove incorrect info
* ci(changesets): version packages (beta) (#4162 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(docs): overall dx (#4055 )
* refactor(docs): revise code block (#3922 )
* refactor(docs): revise code block
* chore(docs): resolve pr comments
* refactor(docs): autocomplete dx (#3934 )
* feat(docs): add *.js?raw module
* feat(docs): change to react-jsx and add **/*.js
* chore(root): include js and jsx
* refactor(docs): autocomplete dx
* chore(docs): rollback overrides
* chore(autocomplete): lint
* fix(autocomplete): incorrect import path
* fix(docs): autocomplete dx
* chore(docs): remove highlightedLines
* refactor(docs): breadcrumbs dx (#3968 )
* refactor(docs): breadcrumbs dx
* fix(docs): export issue
* chore(docs): use preserve for jsx
* fix(docs): support multiline import
* fix(docs): support multiple export
* chore(docs): add back export
* refactor(docs): avatar dx (#3951 )
* refactor(docs): badge dx (#3960 )
* refactor(docs): badge dx
* chore(docs): incorrect import path
* refactor(docs): button dx (#3981 )
* refactor(docs): calendar dx (#4022 )
* refactor(docs): calendar dx
* fix(docs): incorrect import path
* refactor(docs): switch dx (#4037 )
* refactor(docs): switch dx
* chore(docs): remove highlightedLines
* refactor(docs): tooltip (#4035 )
* refactor(docs): usage dx (#4036 )
* refactor(docs): circular-progress dx (#4029 )
* refactor(docs): chip-dx (#4028 )
* refactor(docs): checkbox-group dx (#4027 )
* refactor(docs): checkbox dx (#4024 )
* refactor(docs): checkbox dx
* fix(docs): incorrect import path
* refactor(docs): card dx (#4023 )
* refactor(docs): skeleton dx (#4042 )
* refactor(docs): spacer dx (#4043 )
* refactor(docs): snippet dx (#4044 )
* refactor(docs): scroll-shadow dx (#4045 )
* refactor(docs): code dx (#4046 )
* refactor(docs): kbd dx (#4047 )
* refactor(docs): link dx (#4048 )
* refactor(docs): progress dx (#4049 )
* refactor(docs): divider dx (#4050 )
* refactor(docs): listbox dx (#4051 )
* refactor(docs): listbox dx
* fix(docs): import path
* fix(docs): import path
* chore(docs): remove highlightedLines
* fix(docs): indentation
* chore(docs): replace the props of autocomplete from value to key (#4129 )
* refactor(docs): alert dx (#4108 )
* refactor(docs): alert dx
* refactor(docs): alert dx
* refactor(docs): image dx (#4061 )
* refactor(docs): textarea dx (#4063 )
* refactor(docs): spinner dx (#4088 )
* refactor(docs): radio-group dx (#4064 )
* refactor(docs): pagination dx (#4062 )
* refactor(docs): pagination dx
* refactor(docs): pagination dx
* refactor(docs): time-input dx (#4065 )
* refactor(docs): time-input dx
* refactor(docs): time-input dx
* refactor(docs): slider dx (#4066 )
* refactor(docs): slider dx
* refactor(docs): slider dx
* refactor(docs): move SliderValue to type
* refactor(docs): slider dx
* refactor(docs): make icon code collapsible
* refactor(docs): specify versions for date packages (#4138 )
* refactor(docs): specify versions for date packages
* fix(docs): correct RA i18n version
* chore(deps): sync version from package
* refactor(docs): tabs dx (#4067 )
* refactor(docs): tab dx
* refactor(docs): tabs dx
* refactor(docs): input dx (#4102 )
* refactor(docs): input dx
* refactor(docs): input dx
* refactor(docs): navbar dx (#4076 )
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): modal dx (#4077 )
* refactor(docs): modal dx
* refactor(docs): modal dx
* refactor(docs): select dx (#4078 )
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): table dx (#4079 )
* refactor(docs): table dx
* fix(docs): import path
* refactor(docs): table dx
* refactor(docs): table dx
* refactor(docs): popover dx (#4090 )
* refactor(docs): range-calendar dx (#4089 )
* refactor(docs): range-calendar dx
* fix(docs): import path
* refactor(docs): date input dx (#4100 )
* refactor(docs): dropdown dx (#4101 )
* refactor(docs): dropdown dx
* refactor(docs): remove highlightedLines
* refactor(docs): dropdown dx
* refactor(docs): dropdown dx
* refactor(docs): date-picker dx (#4103 )
* refactor(docs): date-picker dx
* fix(docs): import paths
* refactor(docs): date-range-picker dx (#4104 )
* refactor(docs): date-range-picker dx
* fix(docs): date-range-picker dx
* refactor(docs): drawer dx (#4109 )
* refactor(docs): drawer dx
* fix(docs): indentation
* refactor(docs): make icon collapsible
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* Merge branch 'beta/release-next' into pr/3477
* refactor(docs): apply new structure to doc
* feat(input-otp): introduce input OTP component (#4052 )
* feat(input-otp): adding the functionality
* fix(input-otp): making the use of input-otp library
* Update .changeset/spotty-flies-jump.md
* chore(input-otp): nits
* feat: improvements and fixes added
* refactor: input-otp docs improvements
* fix: changeset
* fix: build
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4169 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(theme): revise label font size for lg (#4141 )
* refactor(theme): revise label font size for lg
* chore(changeset): add changeset
* refactor(theme): revise label font size for lg
* fix(docs): typecheck errors (#4171 )
* fix(docs): remove duplicate import
* fix(docs): update type for onChange in range-calendar page
* fix(docs): add missing `@react-types/calendar`
* fix(docs): broken syntax
* fix(docs): typecheck issues
* fix(docs): add missing `@react-types/datepicker`
* fix(docs): typecheck issues
* fix: missing li tag when href is specified (#4168 )
* fix(items): items in list should wrapped in li in case of a
* chore: adding the tests
* fix: textarea issues with the clear button
* chore: adjust clear button position
---------
Co-authored-by: doki- <1335902682@qq.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mustafa Balcı <19329346+mstfblci@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@gmail.com >
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Tianen Pang <32772271+tianenpang@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
* ci(changesets): version packages (beta) (#4170 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* docs: sync api from nextui-cli v0.3.5 (#4173 )
Co-authored-by: GitHub Action <action@github.com >
* ci(changesets): exit pre-release mode
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mustafa Balcı <19329346+mstfblci@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@gmail.com >
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Tianen Pang <32772271+tianenpang@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
Co-authored-by: doki- <1335902682@qq.com >
Co-authored-by: GitHub Action <action@github.com >
* fix: pre release workflow on protected branches (#4174 )
* chore(pre-release): enter pre-release mode (#4175 )
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix: input otp peer deps (#4176 )
* chore: update workflows
* chore: pre release workflow modified (#4177 )
* chore: canary versions (#4178 )
* fix: pre-release workflow (#4179 )
* chore: merged with beta branch
* chore: workflow updated
* ci(changesets): version packages
* fix: changeset get github info
* chore: force canary to release (#4180 )
* Feat/canary release (#4181 )
* chore: force canary to release
* feat: canary release
* ci(changesets): version packages
* ci(changesets): version packages
* fix: exit pre-release mode
* fix: exit pre-release mode
* fix: exit pre-release mode
* fix: exit pre-release mode
* fix: exit pre-release mode
* chore: exit pre release mode
* fix(workflows): release & pre-release flow (#4184 )
* chore: revert exit and enter pre release changes
* chore: canary release test (#4185 )
* chore: update exit and enter workflows
* chore: update workflow name
* fix: exit pre-release mode
* fix: exit pre-release mode
* chore: delete pre file
* chore: remove duplicate changesets
* chore: base branch change to canary, changeset config
* refactor: beta tags manually deleted (#4187 )
* fix: install
* fix: peer deps (#4188 )
* Fix/peer deps (#4189 )
* fix: peer deps
* fix: tests
* fix: routes
* chore(docs): revise defaultShowFlagList (#4193 )
* chore(docs): add Example to defaultShowFlagList
* chore(docs): revise defaultShowFlagList
* feat: documentation improvements (#4195 )
* feat: documentation improvements
* fix: alert api
* Feat/doc improvements (#4196 )
* feat: documentation improvements
* fix: alert api
* fix: copy button
* fix: return in card demo
* Fix/react core pkg (#4204 )
* fix: double use client tag import in react core package
* fix: double use client
* chore: restore postbuild script
* docs: optimize code fold (#4202 )
* docs: optimize code fold
* fix: code review
* fix(input): teaxtarea label squish (#4197 )
* fix(input): teaxtarea label squish
* chore(changeset): add changeset for textarea label fix
* chore: remove customer runner
* chore: rename changeset
* chore: increase timeout
* chore: change get info pkg version
* chore: new changeset
* chore: single chnageset
* chore: consolidated changeset
* chore: consolidated changeset
* Update release.yaml (#4205 )
* chore: consolidated changeset
* 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
* 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 >
* feat(select): virtualization (#4203 )
* fix: should not export list item internal variables type
* feat: changeset
* feat: integrate virtualized listbox to select component, add more props
* feat: update docs for select component
* feat: update docs to include API for virtualization
* fix: update docs to follow the newest format
* fix: update test for disable virtualization, add test for virtualized version
* fix: fix typo
* fix: type error
* fix: code block type error
* chore: update docs to use raw jsx instead of template literal
* fix: fix code-demo for typecheck
* chore: rollback for files
* fix: types
* chore: remove caret version on tanstack virtual pkg
* fix: pnpm lock file
* fix: virtualization examples
* fix: number of items
---------
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore: adjust code colors
* fix: collection based components ref (#4207 )
* chore: documentation adjustments
* 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
* fix(docs): types for classNames and itemClasses (#4209 )
* feat: documentation improvements
* chore: more improvements to the docs, routing updated, acccordiong font size change
* feat: forms doc in progress
* 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 >
* chore(docs): remove non-existing attribute (#4221 )
* 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
* 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
* fix: form fixes and improvements (#4224 )
* chore: form in progress
* chore: main demo addded to forms, checkbox validation fixed
* chore: forms docs improved
* fix(deps): bump `@react-aria/utils` version (#4226 )
* fix(deps): bump `@react-aria/utils` version
* chore(changeset): add changeset
* feat: forms doc completed
* chore: form component doc created
* chore: forms doc improved
* chore: doc improvements
* chore: alert doc improved
* feat: nextjs 15 migration in progress
* feat: nextjs 15 migration [docs] (#4228 )
* feat: nextjs 15 migration in progress
* feat: next 15 downgraded to next 14
* fix: migration errors
* feat: codeblog is now rendered only when visible, this made a huge performance improvement
* fix: remove folding
* feat: v2.6.0 blog
* feat: Adding nextui pro section on the landing page (#4227 )
* feat: adding nextui pro section on the landing page
* chore(nits): nits
* fix: remove pro image on mobile
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(docs): prevent scrolling up on pressing theme change switch (#4233 )
* chore: improve v2.6.0 blog
* chore: small improvements
* chore: improve blog
* ci(changesets): version packages (#4186 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: snippet release (#4235 )
* ci(changesets): version packages (#4236 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore: v2.6.2
* ci(changesets): version packages (#4237 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: draggable modal demo
* fix: v2.6 blog
* chore: adjust blog
---------
Signed-off-by: Innei <i@innei.in >
Signed-off-by: The1111mp <The1111mp@outlook.com >
Co-authored-by: ryoon <ryoon50@gmail.com >
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Abhinav Agarwal <78839973+abhinav700@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@gmail.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: David Gonzalez <dgonzalez1992@outlook.com >
Co-authored-by: Julie Saia <76669473+juliesaia@users.noreply.github.com >
Co-authored-by: Alex Nguyen <dev@alexnguyen.co.nz >
Co-authored-by: max <hi.max@foxmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: Shrinidhi Upadhyaya <shrinidhiupadhyaya1195@gmail.com >
Co-authored-by: Anuj Sharma <52837557+sanuj21@users.noreply.github.com >
Co-authored-by: Innei <tukon479@gmail.com >
Co-authored-by: Jeff. <jeffreysfu@gmail.com >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Abhinav Agarwal <abhinavagrawal700@gmail.com >
Co-authored-by: wzc520pyfm <1528857653@qq.com >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Abhinandan <abhinandanverma551@gmail.com >
Co-authored-by: The1111mp <The1111mp@outlook.com >
Co-authored-by: Rakha Kanz Kautsar <rkkautsar@gmail.com >
Co-authored-by: Can Rau <cansrau@gmail.com >
Co-authored-by: Azpekt <65199167+AzpektDev@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mustafa Balcı <19329346+mstfblci@users.noreply.github.com >
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
Co-authored-by: Tianen Pang <32772271+tianenpang@users.noreply.github.com >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
Co-authored-by: doki- <1335902682@qq.com >
Co-authored-by: GitHub Action <action@github.com >
Co-authored-by: Peterl561 <76144929+Peterl561@users.noreply.github.com >
Co-authored-by: Julio Barrios <juliobarmi@gmail.com >
2024-12-06 13:58:37 -03:00
Junior Garcia
88782fc6b4
chore: adjust blog
2024-12-06 13:58:15 -03:00
Junior Garcia
6d352749c4
chore: merged with main
2024-12-06 13:56:32 -03:00
Junior Garcia
2f33c65b2b
fix: v2.6 blog
2024-12-06 13:54:50 -03:00
Junior Garcia
935124cb79
v2.6.0 ( #4191 )
...
* fix(input): ensure clear button is not focusable when disabled (#3774 )
* fix(input): ensure clear button is not focusable when disabled
* test(input): add test to ensure clear button is not focusable when disabled
* chore: add changeset for clear button focus fix when input is disabled
* fix(input): update clear button to use button element
* test(input): add focus test when disabled
and update tests for clear button using button element
* test(input): replace querySelector with getByRole for clear button
* fix(input): set tabIndex to -1 for clear button
* test(input): ensure clear button is not focusable
* fix(image): add missing `w` to `getWrapperProps` dependency (#3802 )
* fix(image): add missing `w` to `getWrapperProps` dependency
* chore(changeset): add changeset
* fix(autocomplete): popover should remain open after clicking clear button (#3788 )
* fix: add state.open() so that dropdown is not closed
* chore: add changeset
* chore(autocomplete): add testcases for keeping lisbox open when clearButton is clicked
* chore: update changeset
* chore(autocomplete): change the docs for test cases
* chore(changeset): update changeset message and add issue number
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* refactor(docs): example of blurred card (#3741 )
* docs(card): adding info regarding the gradient for blurred card
* chore(nit): adding example
* chore(docs): revise content for card isBlurred example
* chore(docs): revise isBlurred note
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(docs): replace twitter logo/links with x logo/links (#3815 )
* fix(docs): replace Twitter logo/links with X logo/links
* docs: update twitter references to x
* docs: update changeset for twitter to x changes
* docs: update twitter references to x
* docs: update twitter references to x
* chore(docs): undo .sponsorsrc since it's generated
* refactor(docs): remove unnecessary classes
* chore(docs): undo .sponsorsrc since it's generated
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(date-picker): adding props from calendarProps to getCalendarProps (#3773 )
* fix(date-picker): adding props from calendarProps to the getCalendarProps
* chore(date-picker): adding the changeset
* chore(changeset): add issue number
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* feat(autocomplete): automatically focus first non-disabled item (#2186 )
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* docs(accordion): add overflow to custom motion example (#3793 )
* fix(docs): typos in dark mode page (#3823 )
* fix(theme): fullWidth in input and select (#3768 )
* fix(input): fixing the fullWidth functionality
* chore(changeset): add issue number
* chore(changeset): revise changeset message
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(autocomplete): exit animation on popover close (#3845 )
* fix(autocomplete): exit animation on popover close
* refactor(autocomplete): getListBoxProps
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* refactor(theme): replace the use of RTL-specific styles with logical properties (#3868 )
* chore(rtl): remove the usages of rtl
* chore(changeset): adding the changeset
* chore(changeset): update changeset message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(select): label placement discrepancy in Select (#3853 )
* fix(select): label placement incorrect in case of multiline
* chore(select): adding the changeset
* chore(select): adding the tests
* chore(select): code imrovement, wkw's suggestions
* chore(changeset): update changeset message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(theme): label placement in select and input (#3869 )
* fix(theme): fix the label placement
* chore(changeset): adding the changeset
* chore(select): adding comments
* fix(docs): avoid translating the code block (#3878 )
* docs(Codeblock): avoid code be translated
* fix(docs): lint issue
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(listbox): change listBoxItem key to optional (#3883 )
* fix(listbox): listBoxItem key to optional
* chore: add defaultSelectedKeys test for numeric keys and ids
* chore: add changeset
* chore: comment out section prompts in PR template (#3884 )
* chore(test): update testing libraries and refactor (#3886 )
* fix(theme): show margin only with label in Switch component (#3861 )
* fix(switch): removed right margin in wrapper #3791
* feat(changeset): added changeset
* fix(switch): removed me-2 in wrapper
* fix(switch): added ms-2 to label
* chore(changeset): correct package and message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(theme): removed pseudo cancel btn from input (#3912 )
* fix(theme): removed pseudo cancel btn from input
* chore(changeset): adding the changeset
* fix(input): conditionally hiding the webkit search
* chore(changeset): revise changeset message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* refactor(docs): dx improvement in accordion (#3856 )
* refactor: improve dx for writing a docs component (#2544 )
* refactor: improve dx for write a docs component
Signed-off-by: Innei <i@innei.in >
* refactor(docs): switch to contentlayer2
* chore(docs): rename to avoid conflict
* refactor(docs): switch to next-contentlayer2
* refactor(docs): revise docs lib
* chore(deps): bump docs related dependencies
* fix(use-aria-multiselect): type issue due to ts version bump
---------
Signed-off-by: Innei <i@innei.in >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* refactor(docs): accordion codes
* feat(docs): declare module `*.jsx?raw`
* feat(docs): include `**/*.jsx`
* fix(docs): incorrect content
* chore(docs): add new lines
* refactor(docs): lint
---------
Signed-off-by: Innei <i@innei.in >
Co-authored-by: Innei <tukon479@gmail.com >
* fix(docs): typos in hero section (#3928 )
* fix(theme): support RTL for breadcrumbs (#3927 )
* fix(breadcrumbs): added separator rotation for RTL #2486
* chore(changeset): added changeset
* fix(docs): removed unused import and merged classNames in dropdown (#3936 )
* fix(breadcrumbs): added separator rotation for RTL #2486
* chore(changeset): added changeset
* fix(docs): removed unused Link import and merged classnames in dropdown
* fix: avatar filter disableAnimation to dom prop (#3946 )
* feat: add git hook to auto update dependencies (#3365 )
* feat: add git hook to auto update dependencies
* feat: update color
* fix: prevent test matcher warning (#3893 )
* fix: prevent test matcher warning
* chore: add node types
* chore: update Jest related packages
* chore: run pnpm install
* fix(tabs): correct inert value for true condition (#3978 )
* Alert component (#3982 )
* feat(alert): began the work on alert component
* fix(readme): making correction
* chore(deps): change to 2.0.0
* chore(docs): update README.md
* feat(theme): init alert tv
* chore(alert): update package.json
* feat(alert): init alert storybook structure
* chore(changeset): add changeset
* chore(changeset): change to minor
* chore(alert): revise alert package.json
* feat(alert): init test structure
* chore(deps): pnpm-lock.yaml
* feat(alert): initailized theme and basic structure
* feat(alert): completed use-alert.ts and alert.tsx
* feat(alert): remove innerWrapper, replace helperWrapper with mainWrapper, adding isCloseable prop
* feat(alert): adding isCloseable prop to baseWrapper dependency
* feat(alert): setting the default value of isCloseable prop to true
* feat(alert): moving CloseIcon inside the button
* feat(alert): updated package.json
* feat(alert): default variant and default story
* feat(alert): adding color and radius stories
* feat(alert): completed the styling
* feat(alert): add stories for isCloseable prop and restyle other stories
* feat(alert): correcting ref type
* feat(alert): add test cases
* feat(alert): remove startContent and endContent props
* feat(alert): make styling more accurate
* feat(alert): fixed default props
* feat(alert): fixed theme docs
* feat(alert): add logic for icons
* feat(alert): begin to add docs
* chore(alert): implement the changes suggested in code review
* feat(alert): add onclose prop to alert
* feat(alert): add test cases
* docs(alert): add onClose event
* feat(docs): add alert to routes.json
* fix(alert): correct the text colors
* docs(alert): fix imports and syntax errors
* chore(alert): implement the changes suggested in code review
* chore(alert): lint the code and change isCloseable to isClosable
* chore(alert): lint the code
* chore(alert): run pnpm i
* fix(alert): fix the logic for close button and add test case
* docs(alert): fix docs, change isCloseable to isClosable and change docs for isClosable property
* chore(alert): add the support for RTL, refactor the code and fix the typos
* docs(alert): grammer issues fix
* fix(alert): replace rtl with ms
* chore(alert): custom style and custom implementation, remove isClosable={false}, refactor, fix typos
* chore(alert): linting and implement coderabbit suggestions
* chore(alert): refactor and typos fix
* chore(alert): add import for closeIcon
* chore(alert): add props for closeIcon
* chore(alert): refactor fixes
* chore(alert): implement ryo-manba's suggestion on close Icon
* chore(alert): make alert more responsive
* chore(alert): fix grammer issues suggested by coderabbit
* fix(alert): add max-w property to make alert responsive
* chore(alert): improve responsiveness and refactor alertIcon
* chore(alert): add missing dependency to useMemo
* chore(alert): implement coderabbit's suggestions
* chore(alert): update docs and refactor
* chore(alert): refactor alertIcon and implement coderabbit's suggestion
* chore: fixes
---------
Co-authored-by: Abhinav Agarwal <abhinavagrawal700@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Abhinav Agarwal <78839973+abhinav700@users.noreply.github.com >
* Feat/add draggable modal (#3983 )
* feat(hooks): add use-draggable hook
* feat(components): [modal] export use-draggable
* docs(components): [modal] add draggable modal
* feat(components): [modal] add ref prop for modal-header
* chore(components): [modal] add draggable modal for storybook
* chore: add changeset for draggable modal
* docs(hooks): [use-draggable] fix typo
* chore: upper changeset
* chore(components): [modal] add overflow draggable modal to sb
* test(components): [modal] add draggable modal tests
* build: update pnpm-lock
* chore(changeset): include issue number
* feat(hooks): [use-draggable] set user-select to none when during the dragging
* docs(components): [modal] update code demo title
* docs(components): [modal] condense description for draggable overflow
* feat(hooks): [use-draggable] change version to 0.1.0
* refactor(hooks): [use-draggable] use use-move implement use-draggable
* feat(hooks): [use-draggable] remove repeated user-select
* test(components): [modal] update test case to use-draggable base use-move
* docs(components): [modal] update draggable examples
* fix(hooks): [use-draggable] fix mobile device touchmove event conflict
* refactor(hooks): [use-draggable] remove drag ref prop
* refactor(hooks): [use-draggable] draggable2is-disabled overflow2can-overflow
* test(components): [modal] add draggble disable test
* chore(hooks): [use-draggable] add commant for body touchmove
* Update packages/hooks/use-draggable/src/index.ts
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* fix(hooks): [use-draggable] import use-callback
* test(components): [modal] add mobile-sized test for draggable
* chore(hooks): [use-draggable] add use-callback for func
* chore(hooks): [use-draggable] update version to 2.0.0
* chore: fix typo
* Update .changeset/soft-apricots-sleep.md
* fix: pnpm lock
* fix: build
* chore: add updated moadl
---------
Co-authored-by: wzc520pyfm <1528857653@qq.com >
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* chore: upgrade react-aria / React 19 & Next.js 15 support (#3732 )
* chore: upgrade react-aria
* chore: add changeset
* chore: fix type error
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat(date-picker): add selectorButtonPlacement property (#3248 )
* feat(date-picker): add selectorButtonPlacement property
* chore: update changeset
* Update .changeset/neat-donkeys-accept.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat: add tab ref (#3974 )
* feat: add tab ref
* feat: add changeset
* feat: pre-release workflow (#2910 )
* feat(workflow): pre-release
* feat(workflow): exit pre-release
* chore(workflow): update version & publish commands
* fix(workflow): add missing attributes and use schangeset:beta cmd
* feat(root): add changeset:beta
* fix(workflows): revise pre-release logic
* fix(workflows): add missing run
* fix(workflows): use changeset:exit with version instead
* feat(root): add changeset:exit cmd
* refactor(workflows): add pths, id, and format
* feat(workflows): enter pre-release mode
* chore(workflows): remove pre.json only
* refactor(workflows): remove enter-pre-release-mode
* fix(workflows): incorrect url
* refactor(root): remove unused exit command
* refactor(workflows): add comments
* feat(changeset): change to main branch as baseBranch
* feat(root): add changeset:canary
* refactor(workflows): remove unused workflow
* feat(workflow): support canary pre-release mode
* refactor(docs): change to canary
* feat(popover): added control for closing popover on scroll (#3595 )
* fix(navbar): fixed the height when style h-full
* fix(navbar): fixed the height when style h-full
* docs(changeset): resolved extra file
* feat(popover): added control for closing popover on scroll
* update(changeset): correction
* feat(popover): removed extra story
* refactor(test): corrected test for both true and false values of shouldCloseOnScroll
* refactor(docs): added shouldCloseOnScroll prop
* chore(changeset): change to minor
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
* feat: add month and year pickers to DateRangePicker and RangeCalendar (#3302 )
* feat: add month and year pickers to DateRangePicker and RangeCalendar
* chore: update docs
* Update .changeset/kind-cobras-travel.md
* chore: react package version
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore(deps): bump tailwind-merge version (#3657 )
* chore(deps): bump tailwind-merge versions
* chore(theme): adopt latest extendTailwindMerge
* chore(changeset): add changeset
* chore(changeset): change to minor
* Update .changeset/grumpy-mayflies-rhyme.md
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat: added drawer component (#3986 )
Signed-off-by: The1111mp <The1111mp@outlook.com >
Co-authored-by: The1111mp <The1111mp@outlook.com >
* refactor: optimisations (#3523 )
* refactor: replace lodash with native approaches
* refactor(deps): update framer-motion versions
* feat(utilities): add @nextui-org/dom-animation
* refactor(components): load domAnimation dynamically
* refactor(deps): add @nextui-org/dom-animation
* fix(utilities): relocate index.ts
* feat(changeset): framer motion optimization
* chore(deps): bump framer-motion version
* fix(docs): conflict issue
* refactor(hooks): remove the unnecessary this aliasing
* refactor(utilities): remove the unnecessary this aliasing
* chore(docs): remove {} so that it won't be true all the time
* chore(dom-animation): end with new line
* refactor(hooks): use debounce from `@nextui-org/shared-utils`
* chore(deps): add `@nextui-org/shared-utils`
* refactor: move mapKeys logic to `@nextui-org/shared-utils`
* refactor: use `get` from `@nextui-org/shared-utils`
* refactor(docs): use `get` from `@nextui-org/shared-utils`
* refactor(shared-utils): mapKeys
* chore(deps): bump framer-motion version
* chore(deps): remove lodash
* refactor(docs): use intersectionBy from shared-utils
* feat(shared-utils): add intersectionBy
* chore(dom-animation): remove extra blank line
* refactor(shared-utils): revise intersectionBy
* fix(modal): add willChange
* refactor(shared-utils): add comments
* fix: build & tests
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat(hooks): use-theme hook (#3169 )
* feat(docs): update dark mode content
* feat(hooks): @nextui-org/use-theme
* chore(docs): revise ThemeSwitcher code
* refactor(hooks): simplify useTheme and support custom theme names
* feat(hooks): add use-theme test cases
* feat(changeset): add changeset
* refactor(hooks): make localStorageMock globally and clear before each test
* fix(docs): typo
* fix(hooks): coderabbitai comments
* chore(hooks): remove unnecessary +
* chore(changeset): change to minor
* feat(hooks): handle system theme
* chore(hooks): add EOL
* refactor(hooks): add default theme
* refactor(hooks): revise useTheme
* refactor(hooks): resolve pr comments
* refactor(hooks): resolve pr comments
* refactor(hooks): resolve pr comments
* refactor(hooks): remove unused theme in dependency array
* chore(docs): typos
* refactor(hooks): mark system as key for system theme
* chore: merged with canary
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* Fix/avatar flashing (#3987 )
* fix(use-image): cached image flashing
* chore: merged with canary
---------
Co-authored-by: Rakha Kanz Kautsar <rkkautsar@gmail.com >
* refactor(menu): Use `useMenu` and `useMenuItem` from RA (#3261 )
* refactor(menu): use useMenu from react-aria instead
* refactor(menu): use useMenuItem from react-aria instead
* feat(changeset): add changeset
* chore: merged with canary
* fix: dropdown tests
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(theme): added stripe color gradients for progress (#3938 )
* fix(breadcrumbs): added separator rotation for RTL #2486
* chore(changeset): added changeset
* fix(docs): removed unused Link import and merged classnames in dropdown
* fix(theme):added stripe color gradients for progress #1933
* refactor(theme): added stripe-size and createStripeGradient
* chore: add all minor releases
* fix(docs): invalid canary storybook link (#4030 )
* fix(use-image): image ReferenceError in SSR (#4122 )
* fix(use-image): image ReferenceError in SSR
* fix(use-image): sync with beta
* fix(use-image): sync with beta
* chore(use-image): remove unnecessary comments
* fix(docs): buildLocation expects an object (#4118 )
* fix(docs): routing.mdx
* Delete .changeset/pre.json
* chore(docs): update yarn installation command (#4132 )
There is no `-g` flag in yarn. `global` is a command which must immediately follow yarn.
Source: https://classic.yarnpkg.com/lang/en/docs/cli/global/
* chore: upgrade storybook 8 (#4124 )
* feat: upgrade storybook8
* chore: upgrade storybook and vite
* chore: remove @mdx-js/react optimizeDep
* chore: add @mdx-js/react optimizeDep
* fix: format
* docs: add forms guide (#3822 )
* v2.5.0 [BETA] (#4164 )
* chore(pre-release): enter pre-release mode
* fix(theme): apply tw nested group (#3909 )
* chore(changset): add changeset
* fix(theme): apply nested group to table
* chore(docs): update table bottomContent code
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: pkg versions
* fix: changeset
* fix: drawer peer dep
* chore: update plop components tempalte
* ci(changesets): version packages (beta) (#3988 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: pre-release workflow
* chore: debug log added
* chore: force pre-release
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* chore: beta1 (#3990 )
* ci(changesets): version packages (beta) (#3991 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(use-image): image ReferenceError in SSR (#3993 )
* fix(input): fixed a sliding issue caused by the helper wrapper (#3966 )
* If it is false and there is an error message or description it will create a div
* Update packages/components/input/src/input.tsx
* Update packages/components/select/src/select.tsx
* Update packages/components/input/src/textarea.tsx
* add changeset
* changeset update
* ci(changesets): version packages (beta) (#3995 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image loading in the server (#3996 )
* fix: lock file
* chore: force release
* chore: force release 2
* ci(changesets): version packages (beta) (#3997 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image load on next.js (#3998 )
* ci(changesets): version packages (beta) (#3999 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: element.ref was removed in React 19 warning (#4003 )
* ci(changesets): version packages (beta) (#4004 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: react 19 as peer dep (#4008 )
* ci(changesets): version packages (beta) (#4009 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Beta/react 19 support (#4010 )
* fix: react 19 as peer dep
* fix: react 19 as peer dep
* chore: support framer-motion alpha version
* ci(changesets): version packages (beta) (#4011 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(theme): making select and input themes consistent (#3881 )
* ci(changesets): version packages (beta) (#4012 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: support inert value with boolean type for react 19 (#4039 )
* ci(changesets): version packages (beta) (#4041 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert design improved (#4054 )
* ci(changesets): version packages (beta) (#4056 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: drawer improvements (#4057 )
* ci(changesets): version packages (beta) (#4058 )
* feat: alert styles improved (#4071 )
* ci(changesets): version packages (beta) (#4072 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert styles improved (#4073 )
* ci(changesets): version packages (beta) (#4074 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: add number of stars and credits
* chore: fix build
* chore: improve navabr colors
* chore: new changeset (#4083 )
* ci(changesets): version packages (beta) (#4084 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: pnpm cleaned (#4086 )
* ci(changesets): version packages (beta) (#4087 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: custom runnner added
* chore: custom runner test (#4091 )
* Beta/custom runner (#4092 )
* chore: custom runner test
* chore: custom runner test
* chore: remove 2 from older changeset
* ci(changesets): version packages (beta) (#4093 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: new demo added to alert
* Feat/virtualization for autocomplete (#4094 )
* feat: add react-window virtualization for autocomplete
* fix: wrong imports and wrong sizing
* fix: update pnpm lock
* chore: add test cases for large dataset (1000 and 10000 items)
* chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional
* feat: implement dynamic listboxheight n item height, add story
* chore: rename props, remove unnecessary line changes
* fix: maxHeight style 256px for default, conditional usage of virtualizer
* feat: migrate to tan-stack virtual. (todo: fix scroll shadow)
* feat: virtualization support
---------
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
* ci(changesets): version packages (beta) (#4095 )
* feat: small fixes
* feat: add reducedMotion setting to Provider (#3470 )
* feat: add reducedMotion setting to Provider
* chore: refactor reducedMotion story
* Update .changeset/pretty-parrots-guess.md
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4106 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: move circular-progress tv to progress (#3321 )
* fix: remove circular-progress tv to progress
* docs: changeset
* chore(changeset): update changeset message
* Update .changeset/angry-maps-serve.md
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: label placement when the select has a placeholder or description (#4126 )
* ci(changesets): version packages (beta) (#4107 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): add missing `framer-motion` in `peerDependencies` (#4140 )
* fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105 )
* fix(docs): invalid canary storybook link (#4030 )
* fix: menu item hidden overflow text
* feat: changeset
* Merge branch 'beta/release-next' into fix/menu-item-hidden
* fix: truncate list item
* feat: update changeset
* fix(menu): omit internal props
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat(table): add isKeyboardNavigationDisabled prop to the table (#3735 )
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
* feat: add form component (#3036 )
* chore: add support validationBehavior aria
* chore: add validationBehavior to Provider
* chore: add autocomplete validation test
* chore: add checkbox validation test
* fix(input): require condition
* docs: add description of validationBehavior props
* chore: add support validationBehavior props for date components
* docs(dates): add description of validationBehavior props
* chore: add changeset
* chore: format
* chore: fix test
* fix: select validationBehavior is not support yet
* fix: select validationBehavior not supported yet
* feat: add form component with input support
* feat: add support form context
* chore: wip add support for form server errors
* chore: add support checkbox server validation
* chore: add support radio server validation
* chore: update pnpm-lock.yaml
* chore: add support input server validation
* chore: add support autocomplete server validation
* chore(form): add server validation stories
* chore: fix test
* chore: add date-picker validation test
* chore: update form stories
* chore: add changeset
* chore: update react-aria version
* chore: add pnpm-lock.yaml
* chore: update react-aria version
* chore: add comment
* chore: update react-aria version
* chore: fix change set
* chore: export form component in the main package
* chore: upgrade react-aria
* chore: fixed internationalized/date version
* fix: build error
* chore: upgrade docs react-aria version
* fix: remove comment
* fix: debug setting
* chore(docs): update sponsor (#3904 )
* chore(docs): remove Scrumbuiss
* chore(docs): remove Scrumbuiss logo
* chore(docs): replace va by posthog (#4123 )
* chore(changeset): change to patch
* refactor: react-aria-components remove to decrease package size, logic moved to the form package
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* docs: add forms guide (#4155 )
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* chore: routes updated
* ci(changesets): version packages (beta) (#4151 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: fix indentation
* fix(changeset): package not be found
* ci(changesets): version packages (beta) (#4158 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(select): controlled isInvalid prop (#4082 )
* fix(select): controlled isInvalid prop
* chore: add changeset
* Merge branch 'beta/release-next' into pr/4082
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* ci(changesets): version packages (beta) (#4159 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore(changeset): bump all versions
* ci(changesets): version packages (beta) (#4160 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): missing peer / dev dependency for framer-motion (#4161 )
* fix(system): align `navigate` function parameters with `@react-aria` (#4163 )
* fix: menu item classNames not work (#4156 )
* fix: menu item classNames not work
* feat: changeset
* docs: update
* feat: merge classes utility added
* Update .changeset/brave-trains-wave.md
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore(docs): remove incorrect info
* ci(changesets): version packages (beta) (#4162 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(docs): overall dx (#4055 )
* refactor(docs): revise code block (#3922 )
* refactor(docs): revise code block
* chore(docs): resolve pr comments
* refactor(docs): autocomplete dx (#3934 )
* feat(docs): add *.js?raw module
* feat(docs): change to react-jsx and add **/*.js
* chore(root): include js and jsx
* refactor(docs): autocomplete dx
* chore(docs): rollback overrides
* chore(autocomplete): lint
* fix(autocomplete): incorrect import path
* fix(docs): autocomplete dx
* chore(docs): remove highlightedLines
* refactor(docs): breadcrumbs dx (#3968 )
* refactor(docs): breadcrumbs dx
* fix(docs): export issue
* chore(docs): use preserve for jsx
* fix(docs): support multiline import
* fix(docs): support multiple export
* chore(docs): add back export
* refactor(docs): avatar dx (#3951 )
* refactor(docs): badge dx (#3960 )
* refactor(docs): badge dx
* chore(docs): incorrect import path
* refactor(docs): button dx (#3981 )
* refactor(docs): calendar dx (#4022 )
* refactor(docs): calendar dx
* fix(docs): incorrect import path
* refactor(docs): switch dx (#4037 )
* refactor(docs): switch dx
* chore(docs): remove highlightedLines
* refactor(docs): tooltip (#4035 )
* refactor(docs): usage dx (#4036 )
* refactor(docs): circular-progress dx (#4029 )
* refactor(docs): chip-dx (#4028 )
* refactor(docs): checkbox-group dx (#4027 )
* refactor(docs): checkbox dx (#4024 )
* refactor(docs): checkbox dx
* fix(docs): incorrect import path
* refactor(docs): card dx (#4023 )
* refactor(docs): skeleton dx (#4042 )
* refactor(docs): spacer dx (#4043 )
* refactor(docs): snippet dx (#4044 )
* refactor(docs): scroll-shadow dx (#4045 )
* refactor(docs): code dx (#4046 )
* refactor(docs): kbd dx (#4047 )
* refactor(docs): link dx (#4048 )
* refactor(docs): progress dx (#4049 )
* refactor(docs): divider dx (#4050 )
* refactor(docs): listbox dx (#4051 )
* refactor(docs): listbox dx
* fix(docs): import path
* fix(docs): import path
* chore(docs): remove highlightedLines
* fix(docs): indentation
* chore(docs): replace the props of autocomplete from value to key (#4129 )
* refactor(docs): alert dx (#4108 )
* refactor(docs): alert dx
* refactor(docs): alert dx
* refactor(docs): image dx (#4061 )
* refactor(docs): textarea dx (#4063 )
* refactor(docs): spinner dx (#4088 )
* refactor(docs): radio-group dx (#4064 )
* refactor(docs): pagination dx (#4062 )
* refactor(docs): pagination dx
* refactor(docs): pagination dx
* refactor(docs): time-input dx (#4065 )
* refactor(docs): time-input dx
* refactor(docs): time-input dx
* refactor(docs): slider dx (#4066 )
* refactor(docs): slider dx
* refactor(docs): slider dx
* refactor(docs): move SliderValue to type
* refactor(docs): slider dx
* refactor(docs): make icon code collapsible
* refactor(docs): specify versions for date packages (#4138 )
* refactor(docs): specify versions for date packages
* fix(docs): correct RA i18n version
* chore(deps): sync version from package
* refactor(docs): tabs dx (#4067 )
* refactor(docs): tab dx
* refactor(docs): tabs dx
* refactor(docs): input dx (#4102 )
* refactor(docs): input dx
* refactor(docs): input dx
* refactor(docs): navbar dx (#4076 )
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): modal dx (#4077 )
* refactor(docs): modal dx
* refactor(docs): modal dx
* refactor(docs): select dx (#4078 )
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): table dx (#4079 )
* refactor(docs): table dx
* fix(docs): import path
* refactor(docs): table dx
* refactor(docs): table dx
* refactor(docs): popover dx (#4090 )
* refactor(docs): range-calendar dx (#4089 )
* refactor(docs): range-calendar dx
* fix(docs): import path
* refactor(docs): date input dx (#4100 )
* refactor(docs): dropdown dx (#4101 )
* refactor(docs): dropdown dx
* refactor(docs): remove highlightedLines
* refactor(docs): dropdown dx
* refactor(docs): dropdown dx
* refactor(docs): date-picker dx (#4103 )
* refactor(docs): date-picker dx
* fix(docs): import paths
* refactor(docs): date-range-picker dx (#4104 )
* refactor(docs): date-range-picker dx
* fix(docs): date-range-picker dx
* refactor(docs): drawer dx (#4109 )
* refactor(docs): drawer dx
* fix(docs): indentation
* refactor(docs): make icon collapsible
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* feat(input-otp): introduce input OTP component (#4052 )
* feat(input-otp): adding the functionality
* fix(input-otp): making the use of input-otp library
* Update .changeset/spotty-flies-jump.md
* chore(input-otp): nits
* feat: improvements and fixes added
* refactor: input-otp docs improvements
* fix: changeset
* fix: build
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4169 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(theme): revise label font size for lg (#4141 )
* refactor(theme): revise label font size for lg
* chore(changeset): add changeset
* refactor(theme): revise label font size for lg
* fix(docs): typecheck errors (#4171 )
* fix(docs): remove duplicate import
* fix(docs): update type for onChange in range-calendar page
* fix(docs): add missing `@react-types/calendar`
* fix(docs): broken syntax
* fix(docs): typecheck issues
* fix(docs): add missing `@react-types/datepicker`
* fix(docs): typecheck issues
* fix: missing li tag when href is specified (#4168 )
* fix(items): items in list should wrapped in li in case of a
* chore: adding the tests
* Feat/textarea add clear button (#4172 )
* feat(components): add clear button to the textarea component
* docs(textarea): add test and changeset
* feat(textarea): modify the changeset file
* feat(textarea): add clear button to textarea
* feat(textarea): add isClearable prop to textarea
* docs(textarea): add documentation to textarea
* docs(textarea): add documentation to textarea
* feat(textarea): replace the textarea component clear icon and modify its location
* feat(textarea): revise the clear button position
* feat(textarea): revise the clear button structure
* feat(textarea): revise the styles of clear button and textarea
* feat(textarea): revise the styles of RTL case
* feat(textarea): change the rtl to pe
* feat(textarea): delete the px classname
* chore(changeset): update package and message
* test(textarea): add test case
* feat(textarea): change the clear button structure
* feat(textarea): optimized code
* chore(textarea): update the changeset file
* docs(textarea): add slots doc to textarea
* chore(textarea): update peerDevpeerDependencies version
* chore(textarea): add usecallback dep
* Update .changeset/five-adults-protect.md
* chore(pre-release): enter pre-release mode
* feat(textarea): modify the clear button icon
* fix(theme): apply tw nested group (#3909 )
* chore(changset): add changeset
* fix(theme): apply nested group to table
* chore(docs): update table bottomContent code
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: pkg versions
* fix: changeset
* fix: drawer peer dep
* chore: update plop components tempalte
* ci(changesets): version packages (beta) (#3988 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: pre-release workflow
* chore: debug log added
* chore: force pre-release
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* chore: beta1 (#3990 )
* ci(changesets): version packages (beta) (#3991 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(use-image): image ReferenceError in SSR (#3993 )
* fix(input): fixed a sliding issue caused by the helper wrapper (#3966 )
* If it is false and there is an error message or description it will create a div
* Update packages/components/input/src/input.tsx
* Update packages/components/select/src/select.tsx
* Update packages/components/input/src/textarea.tsx
* add changeset
* changeset update
* ci(changesets): version packages (beta) (#3995 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image loading in the server (#3996 )
* fix: lock file
* chore: force release
* chore: force release 2
* ci(changesets): version packages (beta) (#3997 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image load on next.js (#3998 )
* ci(changesets): version packages (beta) (#3999 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: element.ref was removed in React 19 warning (#4003 )
* ci(changesets): version packages (beta) (#4004 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: react 19 as peer dep (#4008 )
* ci(changesets): version packages (beta) (#4009 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Beta/react 19 support (#4010 )
* fix: react 19 as peer dep
* fix: react 19 as peer dep
* chore: support framer-motion alpha version
* ci(changesets): version packages (beta) (#4011 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(theme): making select and input themes consistent (#3881 )
* ci(changesets): version packages (beta) (#4012 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(textarea): fix clearButton display
* fix: support inert value with boolean type for react 19 (#4039 )
* ci(changesets): version packages (beta) (#4041 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert design improved (#4054 )
* ci(changesets): version packages (beta) (#4056 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: drawer improvements (#4057 )
* ci(changesets): version packages (beta) (#4058 )
* feat: alert styles improved (#4071 )
* ci(changesets): version packages (beta) (#4072 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert styles improved (#4073 )
* ci(changesets): version packages (beta) (#4074 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: add number of stars and credits
* chore: fix build
* chore: improve navabr colors
* chore: new changeset (#4083 )
* ci(changesets): version packages (beta) (#4084 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: pnpm cleaned (#4086 )
* ci(changesets): version packages (beta) (#4087 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: custom runnner added
* chore: custom runner test (#4091 )
* Beta/custom runner (#4092 )
* chore: custom runner test
* chore: custom runner test
* chore: remove 2 from older changeset
* ci(changesets): version packages (beta) (#4093 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: new demo added to alert
* Feat/virtualization for autocomplete (#4094 )
* feat: add react-window virtualization for autocomplete
* fix: wrong imports and wrong sizing
* fix: update pnpm lock
* chore: add test cases for large dataset (1000 and 10000 items)
* chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional
* feat: implement dynamic listboxheight n item height, add story
* chore: rename props, remove unnecessary line changes
* fix: maxHeight style 256px for default, conditional usage of virtualizer
* feat: migrate to tan-stack virtual. (todo: fix scroll shadow)
* feat: virtualization support
---------
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
* ci(changesets): version packages (beta) (#4095 )
* feat: small fixes
* feat: add reducedMotion setting to Provider (#3470 )
* feat: add reducedMotion setting to Provider
* chore: refactor reducedMotion story
* Update .changeset/pretty-parrots-guess.md
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4106 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: move circular-progress tv to progress (#3321 )
* fix: remove circular-progress tv to progress
* docs: changeset
* chore(changeset): update changeset message
* Update .changeset/angry-maps-serve.md
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: label placement when the select has a placeholder or description (#4126 )
* ci(changesets): version packages (beta) (#4107 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): add missing `framer-motion` in `peerDependencies` (#4140 )
* fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105 )
* fix(docs): invalid canary storybook link (#4030 )
* fix: menu item hidden overflow text
* feat: changeset
* Merge branch 'beta/release-next' into fix/menu-item-hidden
* fix: truncate list item
* feat: update changeset
* fix(menu): omit internal props
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* Update apps/docs/content/docs/components/textarea.mdx
* feat(table): add isKeyboardNavigationDisabled prop to the table (#3735 )
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
* feat: add form component (#3036 )
* chore: add support validationBehavior aria
* chore: add validationBehavior to Provider
* chore: add autocomplete validation test
* chore: add checkbox validation test
* fix(input): require condition
* docs: add description of validationBehavior props
* chore: add support validationBehavior props for date components
* docs(dates): add description of validationBehavior props
* chore: add changeset
* chore: format
* chore: fix test
* fix: select validationBehavior is not support yet
* fix: select validationBehavior not supported yet
* feat: add form component with input support
* feat: add support form context
* chore: wip add support for form server errors
* chore: add support checkbox server validation
* chore: add support radio server validation
* chore: update pnpm-lock.yaml
* chore: add support input server validation
* chore: add support autocomplete server validation
* chore(form): add server validation stories
* chore: fix test
* chore: add date-picker validation test
* chore: update form stories
* chore: add changeset
* chore: update react-aria version
* chore: add pnpm-lock.yaml
* chore: update react-aria version
* chore: add comment
* chore: update react-aria version
* chore: fix change set
* chore: export form component in the main package
* chore: upgrade react-aria
* chore: fixed internationalized/date version
* fix: build error
* chore: upgrade docs react-aria version
* fix: remove comment
* fix: debug setting
* chore(docs): update sponsor (#3904 )
* chore(docs): remove Scrumbuiss
* chore(docs): remove Scrumbuiss logo
* chore(docs): replace va by posthog (#4123 )
* chore(changeset): change to patch
* refactor: react-aria-components remove to decrease package size, logic moved to the form package
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* docs: add forms guide (#4155 )
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* chore: routes updated
* ci(changesets): version packages (beta) (#4151 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: fix indentation
* fix(changeset): package not be found
* ci(changesets): version packages (beta) (#4158 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(select): controlled isInvalid prop (#4082 )
* fix(select): controlled isInvalid prop
* chore: add changeset
* Merge branch 'beta/release-next' into pr/4082
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* ci(changesets): version packages (beta) (#4159 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore(changeset): bump all versions
* ci(changesets): version packages (beta) (#4160 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): missing peer / dev dependency for framer-motion (#4161 )
* fix(system): align `navigate` function parameters with `@react-aria` (#4163 )
* fix: menu item classNames not work (#4156 )
* fix: menu item classNames not work
* feat: changeset
* docs: update
* feat: merge classes utility added
* Update .changeset/brave-trains-wave.md
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore(docs): remove incorrect info
* ci(changesets): version packages (beta) (#4162 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(docs): overall dx (#4055 )
* refactor(docs): revise code block (#3922 )
* refactor(docs): revise code block
* chore(docs): resolve pr comments
* refactor(docs): autocomplete dx (#3934 )
* feat(docs): add *.js?raw module
* feat(docs): change to react-jsx and add **/*.js
* chore(root): include js and jsx
* refactor(docs): autocomplete dx
* chore(docs): rollback overrides
* chore(autocomplete): lint
* fix(autocomplete): incorrect import path
* fix(docs): autocomplete dx
* chore(docs): remove highlightedLines
* refactor(docs): breadcrumbs dx (#3968 )
* refactor(docs): breadcrumbs dx
* fix(docs): export issue
* chore(docs): use preserve for jsx
* fix(docs): support multiline import
* fix(docs): support multiple export
* chore(docs): add back export
* refactor(docs): avatar dx (#3951 )
* refactor(docs): badge dx (#3960 )
* refactor(docs): badge dx
* chore(docs): incorrect import path
* refactor(docs): button dx (#3981 )
* refactor(docs): calendar dx (#4022 )
* refactor(docs): calendar dx
* fix(docs): incorrect import path
* refactor(docs): switch dx (#4037 )
* refactor(docs): switch dx
* chore(docs): remove highlightedLines
* refactor(docs): tooltip (#4035 )
* refactor(docs): usage dx (#4036 )
* refactor(docs): circular-progress dx (#4029 )
* refactor(docs): chip-dx (#4028 )
* refactor(docs): checkbox-group dx (#4027 )
* refactor(docs): checkbox dx (#4024 )
* refactor(docs): checkbox dx
* fix(docs): incorrect import path
* refactor(docs): card dx (#4023 )
* refactor(docs): skeleton dx (#4042 )
* refactor(docs): spacer dx (#4043 )
* refactor(docs): snippet dx (#4044 )
* refactor(docs): scroll-shadow dx (#4045 )
* refactor(docs): code dx (#4046 )
* refactor(docs): kbd dx (#4047 )
* refactor(docs): link dx (#4048 )
* refactor(docs): progress dx (#4049 )
* refactor(docs): divider dx (#4050 )
* refactor(docs): listbox dx (#4051 )
* refactor(docs): listbox dx
* fix(docs): import path
* fix(docs): import path
* chore(docs): remove highlightedLines
* fix(docs): indentation
* chore(docs): replace the props of autocomplete from value to key (#4129 )
* refactor(docs): alert dx (#4108 )
* refactor(docs): alert dx
* refactor(docs): alert dx
* refactor(docs): image dx (#4061 )
* refactor(docs): textarea dx (#4063 )
* refactor(docs): spinner dx (#4088 )
* refactor(docs): radio-group dx (#4064 )
* refactor(docs): pagination dx (#4062 )
* refactor(docs): pagination dx
* refactor(docs): pagination dx
* refactor(docs): time-input dx (#4065 )
* refactor(docs): time-input dx
* refactor(docs): time-input dx
* refactor(docs): slider dx (#4066 )
* refactor(docs): slider dx
* refactor(docs): slider dx
* refactor(docs): move SliderValue to type
* refactor(docs): slider dx
* refactor(docs): make icon code collapsible
* refactor(docs): specify versions for date packages (#4138 )
* refactor(docs): specify versions for date packages
* fix(docs): correct RA i18n version
* chore(deps): sync version from package
* refactor(docs): tabs dx (#4067 )
* refactor(docs): tab dx
* refactor(docs): tabs dx
* refactor(docs): input dx (#4102 )
* refactor(docs): input dx
* refactor(docs): input dx
* refactor(docs): navbar dx (#4076 )
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): modal dx (#4077 )
* refactor(docs): modal dx
* refactor(docs): modal dx
* refactor(docs): select dx (#4078 )
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): table dx (#4079 )
* refactor(docs): table dx
* fix(docs): import path
* refactor(docs): table dx
* refactor(docs): table dx
* refactor(docs): popover dx (#4090 )
* refactor(docs): range-calendar dx (#4089 )
* refactor(docs): range-calendar dx
* fix(docs): import path
* refactor(docs): date input dx (#4100 )
* refactor(docs): dropdown dx (#4101 )
* refactor(docs): dropdown dx
* refactor(docs): remove highlightedLines
* refactor(docs): dropdown dx
* refactor(docs): dropdown dx
* refactor(docs): date-picker dx (#4103 )
* refactor(docs): date-picker dx
* fix(docs): import paths
* refactor(docs): date-range-picker dx (#4104 )
* refactor(docs): date-range-picker dx
* fix(docs): date-range-picker dx
* refactor(docs): drawer dx (#4109 )
* refactor(docs): drawer dx
* fix(docs): indentation
* refactor(docs): make icon collapsible
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* Merge branch 'beta/release-next' into pr/3477
* refactor(docs): apply new structure to doc
* feat(input-otp): introduce input OTP component (#4052 )
* feat(input-otp): adding the functionality
* fix(input-otp): making the use of input-otp library
* Update .changeset/spotty-flies-jump.md
* chore(input-otp): nits
* feat: improvements and fixes added
* refactor: input-otp docs improvements
* fix: changeset
* fix: build
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4169 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(theme): revise label font size for lg (#4141 )
* refactor(theme): revise label font size for lg
* chore(changeset): add changeset
* refactor(theme): revise label font size for lg
* fix(docs): typecheck errors (#4171 )
* fix(docs): remove duplicate import
* fix(docs): update type for onChange in range-calendar page
* fix(docs): add missing `@react-types/calendar`
* fix(docs): broken syntax
* fix(docs): typecheck issues
* fix(docs): add missing `@react-types/datepicker`
* fix(docs): typecheck issues
* fix: missing li tag when href is specified (#4168 )
* fix(items): items in list should wrapped in li in case of a
* chore: adding the tests
* fix: textarea issues with the clear button
* chore: adjust clear button position
---------
Co-authored-by: doki- <1335902682@qq.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mustafa Balcı <19329346+mstfblci@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@gmail.com >
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Tianen Pang <32772271+tianenpang@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
* ci(changesets): version packages (beta) (#4170 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* docs: sync api from nextui-cli v0.3.5 (#4173 )
Co-authored-by: GitHub Action <action@github.com >
* ci(changesets): exit pre-release mode
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mustafa Balcı <19329346+mstfblci@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@gmail.com >
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Tianen Pang <32772271+tianenpang@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
Co-authored-by: doki- <1335902682@qq.com >
Co-authored-by: GitHub Action <action@github.com >
* fix: pre release workflow on protected branches (#4174 )
* chore(pre-release): enter pre-release mode (#4175 )
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* fix: input otp peer deps (#4176 )
* chore: update workflows
* chore: pre release workflow modified (#4177 )
* chore: canary versions (#4178 )
* fix: pre-release workflow (#4179 )
* chore: merged with beta branch
* chore: workflow updated
* ci(changesets): version packages
* fix: changeset get github info
* chore: force canary to release (#4180 )
* Feat/canary release (#4181 )
* chore: force canary to release
* feat: canary release
* ci(changesets): version packages
* ci(changesets): version packages
* fix: exit pre-release mode
* fix: exit pre-release mode
* fix: exit pre-release mode
* fix: exit pre-release mode
* fix: exit pre-release mode
* chore: exit pre release mode
* fix(workflows): release & pre-release flow (#4184 )
* chore: revert exit and enter pre release changes
* chore: canary release test (#4185 )
* chore: update exit and enter workflows
* chore: update workflow name
* fix: exit pre-release mode
* fix: exit pre-release mode
* chore: delete pre file
* chore: remove duplicate changesets
* chore: base branch change to canary, changeset config
* refactor: beta tags manually deleted (#4187 )
* fix: install
* fix: peer deps (#4188 )
* Fix/peer deps (#4189 )
* fix: peer deps
* fix: tests
* fix: routes
* chore(docs): revise defaultShowFlagList (#4193 )
* chore(docs): add Example to defaultShowFlagList
* chore(docs): revise defaultShowFlagList
* feat: documentation improvements (#4195 )
* feat: documentation improvements
* fix: alert api
* Feat/doc improvements (#4196 )
* feat: documentation improvements
* fix: alert api
* fix: copy button
* fix: return in card demo
* Fix/react core pkg (#4204 )
* fix: double use client tag import in react core package
* fix: double use client
* chore: restore postbuild script
* docs: optimize code fold (#4202 )
* docs: optimize code fold
* fix: code review
* fix(input): teaxtarea label squish (#4197 )
* fix(input): teaxtarea label squish
* chore(changeset): add changeset for textarea label fix
* chore: remove customer runner
* chore: rename changeset
* chore: increase timeout
* chore: change get info pkg version
* chore: new changeset
* chore: single chnageset
* chore: consolidated changeset
* chore: consolidated changeset
* Update release.yaml (#4205 )
* chore: consolidated changeset
* 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
* 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 >
* feat(select): virtualization (#4203 )
* fix: should not export list item internal variables type
* feat: changeset
* feat: integrate virtualized listbox to select component, add more props
* feat: update docs for select component
* feat: update docs to include API for virtualization
* fix: update docs to follow the newest format
* fix: update test for disable virtualization, add test for virtualized version
* fix: fix typo
* fix: type error
* fix: code block type error
* chore: update docs to use raw jsx instead of template literal
* fix: fix code-demo for typecheck
* chore: rollback for files
* fix: types
* chore: remove caret version on tanstack virtual pkg
* fix: pnpm lock file
* fix: virtualization examples
* fix: number of items
---------
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore: adjust code colors
* fix: collection based components ref (#4207 )
* chore: documentation adjustments
* 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
* fix(docs): types for classNames and itemClasses (#4209 )
* feat: documentation improvements
* chore: more improvements to the docs, routing updated, acccordiong font size change
* feat: forms doc in progress
* 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 >
* chore(docs): remove non-existing attribute (#4221 )
* 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
* 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
* fix: form fixes and improvements (#4224 )
* chore: form in progress
* chore: main demo addded to forms, checkbox validation fixed
* chore: forms docs improved
* fix(deps): bump `@react-aria/utils` version (#4226 )
* fix(deps): bump `@react-aria/utils` version
* chore(changeset): add changeset
* feat: forms doc completed
* chore: form component doc created
* chore: forms doc improved
* chore: doc improvements
* chore: alert doc improved
* feat: nextjs 15 migration in progress
* feat: nextjs 15 migration [docs] (#4228 )
* feat: nextjs 15 migration in progress
* feat: next 15 downgraded to next 14
* fix: migration errors
* feat: codeblog is now rendered only when visible, this made a huge performance improvement
* fix: remove folding
* feat: v2.6.0 blog
* feat: Adding nextui pro section on the landing page (#4227 )
* feat: adding nextui pro section on the landing page
* chore(nits): nits
* fix: remove pro image on mobile
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(docs): prevent scrolling up on pressing theme change switch (#4233 )
* chore: improve v2.6.0 blog
* chore: small improvements
* chore: improve blog
* ci(changesets): version packages (#4186 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: snippet release (#4235 )
* ci(changesets): version packages (#4236 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore: v2.6.2
* ci(changesets): version packages (#4237 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: draggable modal demo
---------
Signed-off-by: Innei <i@innei.in >
Signed-off-by: The1111mp <The1111mp@outlook.com >
Co-authored-by: ryoon <ryoon50@gmail.com >
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Abhinav Agarwal <78839973+abhinav700@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@gmail.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: David Gonzalez <dgonzalez1992@outlook.com >
Co-authored-by: Julie Saia <76669473+juliesaia@users.noreply.github.com >
Co-authored-by: Alex Nguyen <dev@alexnguyen.co.nz >
Co-authored-by: max <hi.max@foxmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: Shrinidhi Upadhyaya <shrinidhiupadhyaya1195@gmail.com >
Co-authored-by: Anuj Sharma <52837557+sanuj21@users.noreply.github.com >
Co-authored-by: Innei <tukon479@gmail.com >
Co-authored-by: Jeff. <jeffreysfu@gmail.com >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Abhinav Agarwal <abhinavagrawal700@gmail.com >
Co-authored-by: wzc520pyfm <1528857653@qq.com >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Abhinandan <abhinandanverma551@gmail.com >
Co-authored-by: The1111mp <The1111mp@outlook.com >
Co-authored-by: Rakha Kanz Kautsar <rkkautsar@gmail.com >
Co-authored-by: Can Rau <cansrau@gmail.com >
Co-authored-by: Azpekt <65199167+AzpektDev@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mustafa Balcı <19329346+mstfblci@users.noreply.github.com >
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
Co-authored-by: Tianen Pang <32772271+tianenpang@users.noreply.github.com >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
Co-authored-by: doki- <1335902682@qq.com >
Co-authored-by: GitHub Action <action@github.com >
Co-authored-by: Peterl561 <76144929+Peterl561@users.noreply.github.com >
Co-authored-by: Julio Barrios <juliobarmi@gmail.com >
2024-12-06 12:16:05 -03:00
Junior Garcia
b1f79d4310
fix: draggable modal demo
2024-12-06 12:07:44 -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
Junior Garcia
648489e51b
chore: improve blog
2024-12-06 10:34:19 -03:00
Junior Garcia
59095f1a66
chore: small improvements
2024-12-06 10:31:29 -03:00
Junior Garcia
7b59bbf71b
chore: improve v2.6.0 blog
2024-12-06 10:21:09 -03:00
Maharshi Alpesh
05d546e29a
fix(docs): prevent scrolling up on pressing theme change switch ( #4233 )
2024-12-06 10:14:04 -03:00
Maharshi Alpesh
366056647a
feat: Adding nextui pro section on the landing page ( #4227 )
...
* feat: adding nextui pro section on the landing page
* chore(nits): nits
* fix: remove pro image on mobile
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
2024-12-06 10:13:07 -03:00
Junior Garcia
3dbb0f2136
feat: v2.6.0 blog
2024-12-06 10:00:47 -03:00
Junior Garcia
b9e3e03859
fix: remove folding
2024-12-05 18:18:24 -03:00
Junior Garcia
bc6437762c
feat: codeblog is now rendered only when visible, this made a huge performance improvement
2024-12-05 18:00:14 -03:00
Junior Garcia
7cd74ade2f
fix: migration errors
2024-12-05 17:17:17 -03:00
Junior Garcia
bc35e137c1
chore: adjust react version
2024-12-05 17:10:00 -03:00
Junior Garcia
36ee869515
feat: nextjs 15 migration [docs] ( #4228 )
...
* feat: nextjs 15 migration in progress
* feat: next 15 downgraded to next 14
2024-12-05 17:07:44 -03:00
Junior Garcia
ca288d9b3d
feat: nextjs 15 migration in progress
2024-12-05 12:03:35 -03:00
Junior Garcia
70080de816
chore: alert doc improved
2024-12-05 10:20:23 -03:00
Junior Garcia
edead49a9e
chore: doc improvements
2024-12-05 10:10:34 -03:00
Junior Garcia
fcf849595f
chore: forms doc improved
2024-12-05 10:04:40 -03:00
Junior Garcia
6bd0301cf7
chore: form component doc created
2024-12-05 10:00:09 -03:00
Junior Garcia
89f51b555e
feat: forms doc completed
2024-12-05 09:32:00 -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
59b88d070c
chore: forms docs improved
2024-12-05 08:50:26 -03:00
Junior Garcia
27f5139281
chore: main demo addded to forms, checkbox validation fixed
2024-12-04 23:40:58 -03:00
Junior Garcia
e1480504de
chore: form in progress
2024-12-04 22:53:57 -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
աӄա
62b77e6823
chore(docs): remove non-existing attribute ( #4221 )
2024-12-04 14:19:57 -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
Junior Garcia
d6ae2cb0dd
feat: forms doc in progress
2024-12-04 07:49:04 -03:00
Junior Garcia
8e1a9c9a92
chore: more improvements to the docs, routing updated, acccordiong font size change
2024-12-03 17:46:54 -03:00
Junior Garcia
e8b34cdaa3
Merge branch 'canary' of github.com:nextui-org/nextui into canary
2024-12-03 16:10:38 -03:00
Junior Garcia
0b60eb2adc
feat: documentation improvements
2024-12-03 11:30:36 -03:00
աӄա
c5a4b422ef
fix(docs): types for classNames and itemClasses ( #4209 )
2024-12-03 10:07:43 -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
e8bfdc8524
chore: documentation adjustments
2024-12-01 19:40:20 -03:00
Junior Garcia
6bc616caea
fix: collection based components ref ( #4207 )
2024-12-01 19:01:43 -03:00
Junior Garcia
94936df746
chore: merged with main
2024-12-01 18:14:56 -03:00
Junior Garcia
1c281f3809
Merge branch 'main' of github.com:nextui-org/nextui
2024-12-01 18:13:48 -03:00
Junior Garcia
3b37728244
chore: remove bf promotion
2024-12-01 18:13:33 -03:00
Junior Garcia
973124902f
chore: adjust code colors
2024-12-01 18:09:31 -03:00
Vincentius Roger Kuswara
2d6e57705d
feat(select): virtualization ( #4203 )
...
* fix: should not export list item internal variables type
* feat: changeset
* feat: integrate virtualized listbox to select component, add more props
* feat: update docs for select component
* feat: update docs to include API for virtualization
* fix: update docs to follow the newest format
* fix: update test for disable virtualization, add test for virtualized version
* fix: fix typo
* fix: type error
* fix: code block type error
* chore: update docs to use raw jsx instead of template literal
* fix: fix code-demo for typecheck
* chore: rollback for files
* fix: types
* chore: remove caret version on tanstack virtual pkg
* fix: pnpm lock file
* fix: virtualization examples
* fix: number of items
---------
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
2024-12-01 17:51:20 -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
e6f64f3873
Merge branch 'canary' of github.com:nextui-org/nextui into canary
2024-12-01 11:38:48 -03:00
Junior Garcia
1730088234
chore: consolidated changeset
2024-12-01 11:38:41 -03:00
Junior Garcia
ff94c122c5
Update release.yaml ( #4205 )
2024-12-01 11:37:51 -03:00
Junior Garcia
2608f83beb
chore: consolidated changeset
2024-12-01 11:31:26 -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
Junior Garcia
a75134cd1e
chore: new changeset
2024-12-01 11:11:04 -03:00
Junior Garcia
0fac666206
chore: change get info pkg version
2024-12-01 11:02:37 -03:00
Junior Garcia
d8e73330ab
chore: increase timeout
2024-12-01 10:51:39 -03:00
Junior Garcia
a3c25294e3
chore: rename changeset
2024-12-01 10:19:47 -03:00
Junior Garcia
2c33b8a331
chore: remove customer runner
2024-12-01 10:17:25 -03:00
Peterl561
cbe4cb1e85
fix(input): teaxtarea label squish ( #4197 )
...
* fix(input): teaxtarea label squish
* chore(changeset): add changeset for textarea label fix
2024-12-01 09:55:15 -03:00
winches
7599c33061
docs: optimize code fold ( #4202 )
...
* docs: optimize code fold
* fix: code review
2024-12-01 09:40:47 -03:00
Junior Garcia
54793bf86a
Fix/react core pkg ( #4204 )
...
* fix: double use client tag import in react core package
* fix: double use client
* chore: restore postbuild script
2024-12-01 09:39:02 -03:00
Junior Garcia
1c46061553
Merge branch 'canary' of github.com:nextui-org/nextui into canary
2024-11-30 21:57:14 -03:00
Junior Garcia
63d07db3ff
fix: return in card demo
2024-11-30 21:56:54 -03:00
Junior Garcia
68f48cdf5f
Feat/doc improvements ( #4196 )
...
* feat: documentation improvements
* fix: alert api
* fix: copy button
2024-11-30 19:03:52 -03:00
Junior Garcia
290182df26
feat: documentation improvements ( #4195 )
...
* feat: documentation improvements
* fix: alert api
2024-11-30 18:51:15 -03:00
աӄա
ccf82df032
chore(docs): revise defaultShowFlagList ( #4193 )
...
* chore(docs): add Example to defaultShowFlagList
* chore(docs): revise defaultShowFlagList
2024-11-30 11:44:10 -03:00
Junior Garcia
e1e50fa707
fix: routes
2024-11-30 11:11:46 -03:00
Junior Garcia
37aea79373
Fix/peer deps ( #4189 )
...
* fix: peer deps
* fix: tests
2024-11-30 10:15:12 -03:00
Junior Garcia
42b4bf88dc
fix: peer deps ( #4188 )
2024-11-30 10:01:01 -03:00
Junior Garcia
9652d7808b
fix: install
2024-11-30 09:52:10 -03:00
Junior Garcia
3637b16ae5
refactor: beta tags manually deleted ( #4187 )
2024-11-30 09:47:39 -03:00
Junior Garcia
ea04960644
chore: base branch change to canary, changeset config
2024-11-30 09:39:54 -03:00
Junior Garcia
e400aa2c73
chore: remove duplicate changesets
2024-11-30 09:26:28 -03:00
Junior Garcia
ccf4663c6d
chore: delete pre file
2024-11-30 09:10:44 -03:00
Junior Garcia
00a17f6087
fix: exit pre-release mode
2024-11-30 08:51:49 -03:00
Junior Garcia
b83b11870b
fix: exit pre-release mode
2024-11-30 08:50:45 -03:00
Junior Garcia
e28942817a
chore: update workflow name
2024-11-30 08:48:47 -03:00
Junior Garcia
08dfdaac79
chore: update exit and enter workflows
2024-11-30 08:47:48 -03:00
Junior Garcia
7c9017ded9
chore: canary release test ( #4185 )
2024-11-30 08:19:51 -03:00
Junior Garcia
60f4c69408
chore: revert exit and enter pre release changes
2024-11-30 08:12:31 -03:00
աӄա
cc1027ba63
fix(workflows): release & pre-release flow ( #4184 )
2024-11-30 06:40:55 -03:00
Junior Garcia
96cc97ac82
chore: exit pre release mode
2024-11-29 20:46:48 -03:00
Junior Garcia
d88e4856d8
fix: exit pre-release mode
2024-11-29 20:44:17 -03:00
Junior Garcia
505ed63578
fix: exit pre-release mode
2024-11-29 20:41:53 -03:00
Junior Garcia
1e5842f03e
fix: exit pre-release mode
2024-11-29 20:40:29 -03:00
Junior Garcia
fb34040bf1
fix: exit pre-release mode
2024-11-29 20:38:37 -03:00
Junior Garcia
603b19c360
fix: exit pre-release mode
2024-11-29 20:35:14 -03:00
Junior Garcia
7863393edf
ci(changesets): version packages
2024-11-29 20:29:06 -03:00
Junior Garcia
4e8d90bbfb
Merge branch 'canary' of github.com:nextui-org/nextui into canary
2024-11-29 20:26:35 -03:00
Junior Garcia
2cce0e4fb1
ci(changesets): version packages
2024-11-29 20:26:23 -03:00
Junior Garcia
791725f85b
Feat/canary release ( #4181 )
...
* chore: force canary to release
* feat: canary release
2024-11-29 20:20:55 -03:00
Junior Garcia
8ded8f05e3
chore: force canary to release ( #4180 )
2024-11-29 20:14:59 -03:00
Junior Garcia
2810630def
fix: changeset get github info
2024-11-29 20:13:32 -03:00
Junior Garcia
86352b5dd0
ci(changesets): version packages
2024-11-29 19:41:01 -03:00
Junior Garcia
0f615b98af
chore: workflow updated
2024-11-29 19:36:06 -03:00
Junior Garcia
da72ed3219
chore: merged with beta branch
2024-11-29 19:33:19 -03:00
Junior Garcia
018c69b6a0
fix: pre-release workflow ( #4179 )
2024-11-29 19:28:31 -03:00
Junior Garcia
1bb7b43f69
chore: canary versions ( #4178 )
2024-11-29 19:20:22 -03:00
Junior Garcia
fb6addbbda
chore: pre release workflow modified ( #4177 )
2024-11-29 19:10:31 -03:00
Junior Garcia
7c743abcc2
chore: update workflows
2024-11-29 19:04:04 -03:00
Junior Garcia
e2a5013408
fix: input otp peer deps ( #4176 )
2024-11-29 17:13:35 -03:00
Junior Garcia
c110f0d338
chore(pre-release): enter pre-release mode ( #4175 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-29 17:10:05 -03:00
Junior Garcia
43993e40bf
fix: pre release workflow on protected branches ( #4174 )
2024-11-29 17:06:01 -03:00
Junior Garcia
744fb49476
v2.5.0 [BETA] ( #4164 )
...
* chore(pre-release): enter pre-release mode
* fix(theme): apply tw nested group (#3909 )
* chore(changset): add changeset
* fix(theme): apply nested group to table
* chore(docs): update table bottomContent code
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: pkg versions
* fix: changeset
* fix: drawer peer dep
* chore: update plop components tempalte
* ci(changesets): version packages (beta) (#3988 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: pre-release workflow
* chore: debug log added
* chore: force pre-release
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* chore: beta1 (#3990 )
* ci(changesets): version packages (beta) (#3991 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(use-image): image ReferenceError in SSR (#3993 )
* fix(input): fixed a sliding issue caused by the helper wrapper (#3966 )
* If it is false and there is an error message or description it will create a div
* Update packages/components/input/src/input.tsx
* Update packages/components/select/src/select.tsx
* Update packages/components/input/src/textarea.tsx
* add changeset
* changeset update
* ci(changesets): version packages (beta) (#3995 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image loading in the server (#3996 )
* fix: lock file
* chore: force release
* chore: force release 2
* ci(changesets): version packages (beta) (#3997 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image load on next.js (#3998 )
* ci(changesets): version packages (beta) (#3999 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: element.ref was removed in React 19 warning (#4003 )
* ci(changesets): version packages (beta) (#4004 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: react 19 as peer dep (#4008 )
* ci(changesets): version packages (beta) (#4009 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Beta/react 19 support (#4010 )
* fix: react 19 as peer dep
* fix: react 19 as peer dep
* chore: support framer-motion alpha version
* ci(changesets): version packages (beta) (#4011 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(theme): making select and input themes consistent (#3881 )
* ci(changesets): version packages (beta) (#4012 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: support inert value with boolean type for react 19 (#4039 )
* ci(changesets): version packages (beta) (#4041 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert design improved (#4054 )
* ci(changesets): version packages (beta) (#4056 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: drawer improvements (#4057 )
* ci(changesets): version packages (beta) (#4058 )
* feat: alert styles improved (#4071 )
* ci(changesets): version packages (beta) (#4072 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert styles improved (#4073 )
* ci(changesets): version packages (beta) (#4074 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: add number of stars and credits
* chore: fix build
* chore: improve navabr colors
* chore: new changeset (#4083 )
* ci(changesets): version packages (beta) (#4084 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: pnpm cleaned (#4086 )
* ci(changesets): version packages (beta) (#4087 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: custom runnner added
* chore: custom runner test (#4091 )
* Beta/custom runner (#4092 )
* chore: custom runner test
* chore: custom runner test
* chore: remove 2 from older changeset
* ci(changesets): version packages (beta) (#4093 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: new demo added to alert
* Feat/virtualization for autocomplete (#4094 )
* feat: add react-window virtualization for autocomplete
* fix: wrong imports and wrong sizing
* fix: update pnpm lock
* chore: add test cases for large dataset (1000 and 10000 items)
* chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional
* feat: implement dynamic listboxheight n item height, add story
* chore: rename props, remove unnecessary line changes
* fix: maxHeight style 256px for default, conditional usage of virtualizer
* feat: migrate to tan-stack virtual. (todo: fix scroll shadow)
* feat: virtualization support
---------
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
* ci(changesets): version packages (beta) (#4095 )
* feat: small fixes
* feat: add reducedMotion setting to Provider (#3470 )
* feat: add reducedMotion setting to Provider
* chore: refactor reducedMotion story
* Update .changeset/pretty-parrots-guess.md
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4106 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: move circular-progress tv to progress (#3321 )
* fix: remove circular-progress tv to progress
* docs: changeset
* chore(changeset): update changeset message
* Update .changeset/angry-maps-serve.md
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: label placement when the select has a placeholder or description (#4126 )
* ci(changesets): version packages (beta) (#4107 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): add missing `framer-motion` in `peerDependencies` (#4140 )
* fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105 )
* fix(docs): invalid canary storybook link (#4030 )
* fix: menu item hidden overflow text
* feat: changeset
* Merge branch 'beta/release-next' into fix/menu-item-hidden
* fix: truncate list item
* feat: update changeset
* fix(menu): omit internal props
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat(table): add isKeyboardNavigationDisabled prop to the table (#3735 )
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
* feat: add form component (#3036 )
* chore: add support validationBehavior aria
* chore: add validationBehavior to Provider
* chore: add autocomplete validation test
* chore: add checkbox validation test
* fix(input): require condition
* docs: add description of validationBehavior props
* chore: add support validationBehavior props for date components
* docs(dates): add description of validationBehavior props
* chore: add changeset
* chore: format
* chore: fix test
* fix: select validationBehavior is not support yet
* fix: select validationBehavior not supported yet
* feat: add form component with input support
* feat: add support form context
* chore: wip add support for form server errors
* chore: add support checkbox server validation
* chore: add support radio server validation
* chore: update pnpm-lock.yaml
* chore: add support input server validation
* chore: add support autocomplete server validation
* chore(form): add server validation stories
* chore: fix test
* chore: add date-picker validation test
* chore: update form stories
* chore: add changeset
* chore: update react-aria version
* chore: add pnpm-lock.yaml
* chore: update react-aria version
* chore: add comment
* chore: update react-aria version
* chore: fix change set
* chore: export form component in the main package
* chore: upgrade react-aria
* chore: fixed internationalized/date version
* fix: build error
* chore: upgrade docs react-aria version
* fix: remove comment
* fix: debug setting
* chore(docs): update sponsor (#3904 )
* chore(docs): remove Scrumbuiss
* chore(docs): remove Scrumbuiss logo
* chore(docs): replace va by posthog (#4123 )
* chore(changeset): change to patch
* refactor: react-aria-components remove to decrease package size, logic moved to the form package
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* docs: add forms guide (#4155 )
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* chore: routes updated
* ci(changesets): version packages (beta) (#4151 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: fix indentation
* fix(changeset): package not be found
* ci(changesets): version packages (beta) (#4158 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(select): controlled isInvalid prop (#4082 )
* fix(select): controlled isInvalid prop
* chore: add changeset
* Merge branch 'beta/release-next' into pr/4082
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* ci(changesets): version packages (beta) (#4159 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore(changeset): bump all versions
* ci(changesets): version packages (beta) (#4160 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): missing peer / dev dependency for framer-motion (#4161 )
* fix(system): align `navigate` function parameters with `@react-aria` (#4163 )
* fix: menu item classNames not work (#4156 )
* fix: menu item classNames not work
* feat: changeset
* docs: update
* feat: merge classes utility added
* Update .changeset/brave-trains-wave.md
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore(docs): remove incorrect info
* ci(changesets): version packages (beta) (#4162 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(docs): overall dx (#4055 )
* refactor(docs): revise code block (#3922 )
* refactor(docs): revise code block
* chore(docs): resolve pr comments
* refactor(docs): autocomplete dx (#3934 )
* feat(docs): add *.js?raw module
* feat(docs): change to react-jsx and add **/*.js
* chore(root): include js and jsx
* refactor(docs): autocomplete dx
* chore(docs): rollback overrides
* chore(autocomplete): lint
* fix(autocomplete): incorrect import path
* fix(docs): autocomplete dx
* chore(docs): remove highlightedLines
* refactor(docs): breadcrumbs dx (#3968 )
* refactor(docs): breadcrumbs dx
* fix(docs): export issue
* chore(docs): use preserve for jsx
* fix(docs): support multiline import
* fix(docs): support multiple export
* chore(docs): add back export
* refactor(docs): avatar dx (#3951 )
* refactor(docs): badge dx (#3960 )
* refactor(docs): badge dx
* chore(docs): incorrect import path
* refactor(docs): button dx (#3981 )
* refactor(docs): calendar dx (#4022 )
* refactor(docs): calendar dx
* fix(docs): incorrect import path
* refactor(docs): switch dx (#4037 )
* refactor(docs): switch dx
* chore(docs): remove highlightedLines
* refactor(docs): tooltip (#4035 )
* refactor(docs): usage dx (#4036 )
* refactor(docs): circular-progress dx (#4029 )
* refactor(docs): chip-dx (#4028 )
* refactor(docs): checkbox-group dx (#4027 )
* refactor(docs): checkbox dx (#4024 )
* refactor(docs): checkbox dx
* fix(docs): incorrect import path
* refactor(docs): card dx (#4023 )
* refactor(docs): skeleton dx (#4042 )
* refactor(docs): spacer dx (#4043 )
* refactor(docs): snippet dx (#4044 )
* refactor(docs): scroll-shadow dx (#4045 )
* refactor(docs): code dx (#4046 )
* refactor(docs): kbd dx (#4047 )
* refactor(docs): link dx (#4048 )
* refactor(docs): progress dx (#4049 )
* refactor(docs): divider dx (#4050 )
* refactor(docs): listbox dx (#4051 )
* refactor(docs): listbox dx
* fix(docs): import path
* fix(docs): import path
* chore(docs): remove highlightedLines
* fix(docs): indentation
* chore(docs): replace the props of autocomplete from value to key (#4129 )
* refactor(docs): alert dx (#4108 )
* refactor(docs): alert dx
* refactor(docs): alert dx
* refactor(docs): image dx (#4061 )
* refactor(docs): textarea dx (#4063 )
* refactor(docs): spinner dx (#4088 )
* refactor(docs): radio-group dx (#4064 )
* refactor(docs): pagination dx (#4062 )
* refactor(docs): pagination dx
* refactor(docs): pagination dx
* refactor(docs): time-input dx (#4065 )
* refactor(docs): time-input dx
* refactor(docs): time-input dx
* refactor(docs): slider dx (#4066 )
* refactor(docs): slider dx
* refactor(docs): slider dx
* refactor(docs): move SliderValue to type
* refactor(docs): slider dx
* refactor(docs): make icon code collapsible
* refactor(docs): specify versions for date packages (#4138 )
* refactor(docs): specify versions for date packages
* fix(docs): correct RA i18n version
* chore(deps): sync version from package
* refactor(docs): tabs dx (#4067 )
* refactor(docs): tab dx
* refactor(docs): tabs dx
* refactor(docs): input dx (#4102 )
* refactor(docs): input dx
* refactor(docs): input dx
* refactor(docs): navbar dx (#4076 )
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): modal dx (#4077 )
* refactor(docs): modal dx
* refactor(docs): modal dx
* refactor(docs): select dx (#4078 )
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): table dx (#4079 )
* refactor(docs): table dx
* fix(docs): import path
* refactor(docs): table dx
* refactor(docs): table dx
* refactor(docs): popover dx (#4090 )
* refactor(docs): range-calendar dx (#4089 )
* refactor(docs): range-calendar dx
* fix(docs): import path
* refactor(docs): date input dx (#4100 )
* refactor(docs): dropdown dx (#4101 )
* refactor(docs): dropdown dx
* refactor(docs): remove highlightedLines
* refactor(docs): dropdown dx
* refactor(docs): dropdown dx
* refactor(docs): date-picker dx (#4103 )
* refactor(docs): date-picker dx
* fix(docs): import paths
* refactor(docs): date-range-picker dx (#4104 )
* refactor(docs): date-range-picker dx
* fix(docs): date-range-picker dx
* refactor(docs): drawer dx (#4109 )
* refactor(docs): drawer dx
* fix(docs): indentation
* refactor(docs): make icon collapsible
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* feat(input-otp): introduce input OTP component (#4052 )
* feat(input-otp): adding the functionality
* fix(input-otp): making the use of input-otp library
* Update .changeset/spotty-flies-jump.md
* chore(input-otp): nits
* feat: improvements and fixes added
* refactor: input-otp docs improvements
* fix: changeset
* fix: build
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4169 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(theme): revise label font size for lg (#4141 )
* refactor(theme): revise label font size for lg
* chore(changeset): add changeset
* refactor(theme): revise label font size for lg
* fix(docs): typecheck errors (#4171 )
* fix(docs): remove duplicate import
* fix(docs): update type for onChange in range-calendar page
* fix(docs): add missing `@react-types/calendar`
* fix(docs): broken syntax
* fix(docs): typecheck issues
* fix(docs): add missing `@react-types/datepicker`
* fix(docs): typecheck issues
* fix: missing li tag when href is specified (#4168 )
* fix(items): items in list should wrapped in li in case of a
* chore: adding the tests
* Feat/textarea add clear button (#4172 )
* feat(components): add clear button to the textarea component
* docs(textarea): add test and changeset
* feat(textarea): modify the changeset file
* feat(textarea): add clear button to textarea
* feat(textarea): add isClearable prop to textarea
* docs(textarea): add documentation to textarea
* docs(textarea): add documentation to textarea
* feat(textarea): replace the textarea component clear icon and modify its location
* feat(textarea): revise the clear button position
* feat(textarea): revise the clear button structure
* feat(textarea): revise the styles of clear button and textarea
* feat(textarea): revise the styles of RTL case
* feat(textarea): change the rtl to pe
* feat(textarea): delete the px classname
* chore(changeset): update package and message
* test(textarea): add test case
* feat(textarea): change the clear button structure
* feat(textarea): optimized code
* chore(textarea): update the changeset file
* docs(textarea): add slots doc to textarea
* chore(textarea): update peerDevpeerDependencies version
* chore(textarea): add usecallback dep
* Update .changeset/five-adults-protect.md
* chore(pre-release): enter pre-release mode
* feat(textarea): modify the clear button icon
* fix(theme): apply tw nested group (#3909 )
* chore(changset): add changeset
* fix(theme): apply nested group to table
* chore(docs): update table bottomContent code
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: changeset
* fix: pkg versions
* fix: changeset
* fix: drawer peer dep
* chore: update plop components tempalte
* ci(changesets): version packages (beta) (#3988 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: pre-release workflow
* chore: debug log added
* chore: force pre-release
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* ci(changesets): version packages (beta)
* chore: beta1 (#3990 )
* ci(changesets): version packages (beta) (#3991 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(use-image): image ReferenceError in SSR (#3993 )
* fix(input): fixed a sliding issue caused by the helper wrapper (#3966 )
* If it is false and there is an error message or description it will create a div
* Update packages/components/input/src/input.tsx
* Update packages/components/select/src/select.tsx
* Update packages/components/input/src/textarea.tsx
* add changeset
* changeset update
* ci(changesets): version packages (beta) (#3995 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image loading in the server (#3996 )
* fix: lock file
* chore: force release
* chore: force release 2
* ci(changesets): version packages (beta) (#3997 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: image load on next.js (#3998 )
* ci(changesets): version packages (beta) (#3999 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: element.ref was removed in React 19 warning (#4003 )
* ci(changesets): version packages (beta) (#4004 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: react 19 as peer dep (#4008 )
* ci(changesets): version packages (beta) (#4009 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Beta/react 19 support (#4010 )
* fix: react 19 as peer dep
* fix: react 19 as peer dep
* chore: support framer-motion alpha version
* ci(changesets): version packages (beta) (#4011 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(theme): making select and input themes consistent (#3881 )
* ci(changesets): version packages (beta) (#4012 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(textarea): fix clearButton display
* fix: support inert value with boolean type for react 19 (#4039 )
* ci(changesets): version packages (beta) (#4041 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert design improved (#4054 )
* ci(changesets): version packages (beta) (#4056 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: drawer improvements (#4057 )
* ci(changesets): version packages (beta) (#4058 )
* feat: alert styles improved (#4071 )
* ci(changesets): version packages (beta) (#4072 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: alert styles improved (#4073 )
* ci(changesets): version packages (beta) (#4074 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: add number of stars and credits
* chore: fix build
* chore: improve navabr colors
* chore: new changeset (#4083 )
* ci(changesets): version packages (beta) (#4084 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: pnpm cleaned (#4086 )
* ci(changesets): version packages (beta) (#4087 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: custom runnner added
* chore: custom runner test (#4091 )
* Beta/custom runner (#4092 )
* chore: custom runner test
* chore: custom runner test
* chore: remove 2 from older changeset
* ci(changesets): version packages (beta) (#4093 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* feat: new demo added to alert
* Feat/virtualization for autocomplete (#4094 )
* feat: add react-window virtualization for autocomplete
* fix: wrong imports and wrong sizing
* fix: update pnpm lock
* chore: add test cases for large dataset (1000 and 10000 items)
* chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional
* feat: implement dynamic listboxheight n item height, add story
* chore: rename props, remove unnecessary line changes
* fix: maxHeight style 256px for default, conditional usage of virtualizer
* feat: migrate to tan-stack virtual. (todo: fix scroll shadow)
* feat: virtualization support
---------
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
* ci(changesets): version packages (beta) (#4095 )
* feat: small fixes
* feat: add reducedMotion setting to Provider (#3470 )
* feat: add reducedMotion setting to Provider
* chore: refactor reducedMotion story
* Update .changeset/pretty-parrots-guess.md
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4106 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: move circular-progress tv to progress (#3321 )
* fix: remove circular-progress tv to progress
* docs: changeset
* chore(changeset): update changeset message
* Update .changeset/angry-maps-serve.md
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: label placement when the select has a placeholder or description (#4126 )
* ci(changesets): version packages (beta) (#4107 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): add missing `framer-motion` in `peerDependencies` (#4140 )
* fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105 )
* fix(docs): invalid canary storybook link (#4030 )
* fix: menu item hidden overflow text
* feat: changeset
* Merge branch 'beta/release-next' into fix/menu-item-hidden
* fix: truncate list item
* feat: update changeset
* fix(menu): omit internal props
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* Update apps/docs/content/docs/components/textarea.mdx
* feat(table): add isKeyboardNavigationDisabled prop to the table (#3735 )
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
* feat: add form component (#3036 )
* chore: add support validationBehavior aria
* chore: add validationBehavior to Provider
* chore: add autocomplete validation test
* chore: add checkbox validation test
* fix(input): require condition
* docs: add description of validationBehavior props
* chore: add support validationBehavior props for date components
* docs(dates): add description of validationBehavior props
* chore: add changeset
* chore: format
* chore: fix test
* fix: select validationBehavior is not support yet
* fix: select validationBehavior not supported yet
* feat: add form component with input support
* feat: add support form context
* chore: wip add support for form server errors
* chore: add support checkbox server validation
* chore: add support radio server validation
* chore: update pnpm-lock.yaml
* chore: add support input server validation
* chore: add support autocomplete server validation
* chore(form): add server validation stories
* chore: fix test
* chore: add date-picker validation test
* chore: update form stories
* chore: add changeset
* chore: update react-aria version
* chore: add pnpm-lock.yaml
* chore: update react-aria version
* chore: add comment
* chore: update react-aria version
* chore: fix change set
* chore: export form component in the main package
* chore: upgrade react-aria
* chore: fixed internationalized/date version
* fix: build error
* chore: upgrade docs react-aria version
* fix: remove comment
* fix: debug setting
* chore(docs): update sponsor (#3904 )
* chore(docs): remove Scrumbuiss
* chore(docs): remove Scrumbuiss logo
* chore(docs): replace va by posthog (#4123 )
* chore(changeset): change to patch
* refactor: react-aria-components remove to decrease package size, logic moved to the form package
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* docs: add forms guide (#4155 )
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* chore: routes updated
* ci(changesets): version packages (beta) (#4151 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore: fix indentation
* fix(changeset): package not be found
* ci(changesets): version packages (beta) (#4158 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(select): controlled isInvalid prop (#4082 )
* fix(select): controlled isInvalid prop
* chore: add changeset
* Merge branch 'beta/release-next' into pr/4082
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* ci(changesets): version packages (beta) (#4159 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* chore(changeset): bump all versions
* ci(changesets): version packages (beta) (#4160 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix(deps): missing peer / dev dependency for framer-motion (#4161 )
* fix(system): align `navigate` function parameters with `@react-aria` (#4163 )
* fix: menu item classNames not work (#4156 )
* fix: menu item classNames not work
* feat: changeset
* docs: update
* feat: merge classes utility added
* Update .changeset/brave-trains-wave.md
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* chore(docs): remove incorrect info
* ci(changesets): version packages (beta) (#4162 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(docs): overall dx (#4055 )
* refactor(docs): revise code block (#3922 )
* refactor(docs): revise code block
* chore(docs): resolve pr comments
* refactor(docs): autocomplete dx (#3934 )
* feat(docs): add *.js?raw module
* feat(docs): change to react-jsx and add **/*.js
* chore(root): include js and jsx
* refactor(docs): autocomplete dx
* chore(docs): rollback overrides
* chore(autocomplete): lint
* fix(autocomplete): incorrect import path
* fix(docs): autocomplete dx
* chore(docs): remove highlightedLines
* refactor(docs): breadcrumbs dx (#3968 )
* refactor(docs): breadcrumbs dx
* fix(docs): export issue
* chore(docs): use preserve for jsx
* fix(docs): support multiline import
* fix(docs): support multiple export
* chore(docs): add back export
* refactor(docs): avatar dx (#3951 )
* refactor(docs): badge dx (#3960 )
* refactor(docs): badge dx
* chore(docs): incorrect import path
* refactor(docs): button dx (#3981 )
* refactor(docs): calendar dx (#4022 )
* refactor(docs): calendar dx
* fix(docs): incorrect import path
* refactor(docs): switch dx (#4037 )
* refactor(docs): switch dx
* chore(docs): remove highlightedLines
* refactor(docs): tooltip (#4035 )
* refactor(docs): usage dx (#4036 )
* refactor(docs): circular-progress dx (#4029 )
* refactor(docs): chip-dx (#4028 )
* refactor(docs): checkbox-group dx (#4027 )
* refactor(docs): checkbox dx (#4024 )
* refactor(docs): checkbox dx
* fix(docs): incorrect import path
* refactor(docs): card dx (#4023 )
* refactor(docs): skeleton dx (#4042 )
* refactor(docs): spacer dx (#4043 )
* refactor(docs): snippet dx (#4044 )
* refactor(docs): scroll-shadow dx (#4045 )
* refactor(docs): code dx (#4046 )
* refactor(docs): kbd dx (#4047 )
* refactor(docs): link dx (#4048 )
* refactor(docs): progress dx (#4049 )
* refactor(docs): divider dx (#4050 )
* refactor(docs): listbox dx (#4051 )
* refactor(docs): listbox dx
* fix(docs): import path
* fix(docs): import path
* chore(docs): remove highlightedLines
* fix(docs): indentation
* chore(docs): replace the props of autocomplete from value to key (#4129 )
* refactor(docs): alert dx (#4108 )
* refactor(docs): alert dx
* refactor(docs): alert dx
* refactor(docs): image dx (#4061 )
* refactor(docs): textarea dx (#4063 )
* refactor(docs): spinner dx (#4088 )
* refactor(docs): radio-group dx (#4064 )
* refactor(docs): pagination dx (#4062 )
* refactor(docs): pagination dx
* refactor(docs): pagination dx
* refactor(docs): time-input dx (#4065 )
* refactor(docs): time-input dx
* refactor(docs): time-input dx
* refactor(docs): slider dx (#4066 )
* refactor(docs): slider dx
* refactor(docs): slider dx
* refactor(docs): move SliderValue to type
* refactor(docs): slider dx
* refactor(docs): make icon code collapsible
* refactor(docs): specify versions for date packages (#4138 )
* refactor(docs): specify versions for date packages
* fix(docs): correct RA i18n version
* chore(deps): sync version from package
* refactor(docs): tabs dx (#4067 )
* refactor(docs): tab dx
* refactor(docs): tabs dx
* refactor(docs): input dx (#4102 )
* refactor(docs): input dx
* refactor(docs): input dx
* refactor(docs): navbar dx (#4076 )
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): navbar dx
* refactor(docs): modal dx (#4077 )
* refactor(docs): modal dx
* refactor(docs): modal dx
* refactor(docs): select dx (#4078 )
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): select dx
* refactor(docs): table dx (#4079 )
* refactor(docs): table dx
* fix(docs): import path
* refactor(docs): table dx
* refactor(docs): table dx
* refactor(docs): popover dx (#4090 )
* refactor(docs): range-calendar dx (#4089 )
* refactor(docs): range-calendar dx
* fix(docs): import path
* refactor(docs): date input dx (#4100 )
* refactor(docs): dropdown dx (#4101 )
* refactor(docs): dropdown dx
* refactor(docs): remove highlightedLines
* refactor(docs): dropdown dx
* refactor(docs): dropdown dx
* refactor(docs): date-picker dx (#4103 )
* refactor(docs): date-picker dx
* fix(docs): import paths
* refactor(docs): date-range-picker dx (#4104 )
* refactor(docs): date-range-picker dx
* fix(docs): date-range-picker dx
* refactor(docs): drawer dx (#4109 )
* refactor(docs): drawer dx
* fix(docs): indentation
* refactor(docs): make icon collapsible
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* Merge branch 'beta/release-next' into pr/3477
* refactor(docs): apply new structure to doc
* feat(input-otp): introduce input OTP component (#4052 )
* feat(input-otp): adding the functionality
* fix(input-otp): making the use of input-otp library
* Update .changeset/spotty-flies-jump.md
* chore(input-otp): nits
* feat: improvements and fixes added
* refactor: input-otp docs improvements
* fix: changeset
* fix: build
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (beta) (#4169 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* refactor(theme): revise label font size for lg (#4141 )
* refactor(theme): revise label font size for lg
* chore(changeset): add changeset
* refactor(theme): revise label font size for lg
* fix(docs): typecheck errors (#4171 )
* fix(docs): remove duplicate import
* fix(docs): update type for onChange in range-calendar page
* fix(docs): add missing `@react-types/calendar`
* fix(docs): broken syntax
* fix(docs): typecheck issues
* fix(docs): add missing `@react-types/datepicker`
* fix(docs): typecheck issues
* fix: missing li tag when href is specified (#4168 )
* fix(items): items in list should wrapped in li in case of a
* chore: adding the tests
* fix: textarea issues with the clear button
* chore: adjust clear button position
---------
Co-authored-by: doki- <1335902682@qq.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mustafa Balcı <19329346+mstfblci@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@gmail.com >
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Tianen Pang <32772271+tianenpang@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
* ci(changesets): version packages (beta) (#4170 )
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* docs: sync api from nextui-cli v0.3.5 (#4173 )
Co-authored-by: GitHub Action <action@github.com >
* ci(changesets): exit pre-release mode
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: աӄա <wingkwong.code@gmail.com >
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mustafa Balcı <19329346+mstfblci@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@gmail.com >
Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Tianen Pang <32772271+tianenpang@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
Co-authored-by: doki- <1335902682@qq.com >
Co-authored-by: GitHub Action <action@github.com >
2024-11-29 16:54:25 -03:00
Ryo Matsukawa
ad79545d95
docs: add forms guide ( #3822 )
2024-11-27 16:57:10 -03:00
Clement
d4e40ba25f
Update installation.mdx ( #4013 )
...
Update yarn command to install nextui-cli because yarn add -g ... doesnt work and needs to use yarn add global
2024-11-27 15:20:59 -03:00
winches
d51d3546cd
chore: upgrade storybook 8 ( #4124 )
...
* feat: upgrade storybook8
* chore: upgrade storybook and vite
* chore: remove @mdx-js/react optimizeDep
* chore: add @mdx-js/react optimizeDep
* fix: format
2024-11-27 15:16:51 -03:00
Junior Garcia
34fb9e51ee
chore: update pro banner
2024-11-25 12:03:03 -03:00
Azpekt
e3aa9cdef9
chore(docs): update yarn installation command ( #4132 )
...
There is no `-g` flag in yarn. `global` is a command which must immediately follow yarn.
Source: https://classic.yarnpkg.com/lang/en/docs/cli/global/
2024-11-22 20:45:52 +08:00
Junior Garcia
34bb098be8
chore: merged with main
2024-11-21 08:48:39 -03:00
աӄա
049347c122
chore(docs): replace va by posthog ( #4123 )
2024-11-21 08:44:42 -03:00
Can Rau
95818914c7
fix(docs): buildLocation expects an object ( #4118 )
...
* fix(docs): routing.mdx
* Delete .changeset/pre.json
2024-11-20 23:57:38 +08:00
աӄա
ce1546c983
fix(use-image): image ReferenceError in SSR ( #4122 )
...
* fix(use-image): image ReferenceError in SSR
* fix(use-image): sync with beta
* fix(use-image): sync with beta
* chore(use-image): remove unnecessary comments
2024-11-20 08:14:29 -03:00
աӄա
c6326d169d
fix(docs): invalid canary storybook link ( #4030 )
2024-11-11 15:00:22 -03:00
Junior Garcia
1091377e4d
chore: add all minor releases
2024-11-04 18:34:15 -03:00
Shrinidhi Upadhyaya
a5cac45619
fix(theme): added stripe color gradients for progress ( #3938 )
...
* fix(breadcrumbs): added separator rotation for RTL #2486
* chore(changeset): added changeset
* fix(docs): removed unused Link import and merged classnames in dropdown
* fix(theme):added stripe color gradients for progress #1933
* refactor(theme): added stripe-size and createStripeGradient
2024-11-04 18:31:56 -03:00
աӄա
2aebfcca59
refactor(menu): Use useMenu and useMenuItem from RA ( #3261 )
...
* refactor(menu): use useMenu from react-aria instead
* refactor(menu): use useMenuItem from react-aria instead
* feat(changeset): add changeset
* chore: merged with canary
* fix: dropdown tests
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
2024-11-04 18:09:03 -03:00
Junior Garcia
90cb5b14ab
Fix/avatar flashing ( #3987 )
...
* fix(use-image): cached image flashing
* chore: merged with canary
---------
Co-authored-by: Rakha Kanz Kautsar <rkkautsar@gmail.com >
2024-11-04 17:57:28 -03:00
աӄա
ad7e2615d3
feat(hooks): use-theme hook ( #3169 )
...
* feat(docs): update dark mode content
* feat(hooks): @nextui-org/use-theme
* chore(docs): revise ThemeSwitcher code
* refactor(hooks): simplify useTheme and support custom theme names
* feat(hooks): add use-theme test cases
* feat(changeset): add changeset
* refactor(hooks): make localStorageMock globally and clear before each test
* fix(docs): typo
* fix(hooks): coderabbitai comments
* chore(hooks): remove unnecessary +
* chore(changeset): change to minor
* feat(hooks): handle system theme
* chore(hooks): add EOL
* refactor(hooks): add default theme
* refactor(hooks): revise useTheme
* refactor(hooks): resolve pr comments
* refactor(hooks): resolve pr comments
* refactor(hooks): resolve pr comments
* refactor(hooks): remove unused theme in dependency array
* chore(docs): typos
* refactor(hooks): mark system as key for system theme
* chore: merged with canary
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
2024-11-04 17:53:04 -03:00
աӄա
3f0d81b560
refactor: optimisations ( #3523 )
...
* refactor: replace lodash with native approaches
* refactor(deps): update framer-motion versions
* feat(utilities): add @nextui-org/dom-animation
* refactor(components): load domAnimation dynamically
* refactor(deps): add @nextui-org/dom-animation
* fix(utilities): relocate index.ts
* feat(changeset): framer motion optimization
* chore(deps): bump framer-motion version
* fix(docs): conflict issue
* refactor(hooks): remove the unnecessary this aliasing
* refactor(utilities): remove the unnecessary this aliasing
* chore(docs): remove {} so that it won't be true all the time
* chore(dom-animation): end with new line
* refactor(hooks): use debounce from `@nextui-org/shared-utils`
* chore(deps): add `@nextui-org/shared-utils`
* refactor: move mapKeys logic to `@nextui-org/shared-utils`
* refactor: use `get` from `@nextui-org/shared-utils`
* refactor(docs): use `get` from `@nextui-org/shared-utils`
* refactor(shared-utils): mapKeys
* chore(deps): bump framer-motion version
* chore(deps): remove lodash
* refactor(docs): use intersectionBy from shared-utils
* feat(shared-utils): add intersectionBy
* chore(dom-animation): remove extra blank line
* refactor(shared-utils): revise intersectionBy
* fix(modal): add willChange
* refactor(shared-utils): add comments
* fix: build & tests
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
2024-11-04 17:47:43 -03:00
Junior Garcia
58a77cb6b9
feat: added drawer component ( #3986 )
...
Signed-off-by: The1111mp <The1111mp@outlook.com >
Co-authored-by: The1111mp <The1111mp@outlook.com >
2024-11-04 17:20:46 -03:00
աӄա
ae73de1a61
chore(deps): bump tailwind-merge version ( #3657 )
...
* chore(deps): bump tailwind-merge versions
* chore(theme): adopt latest extendTailwindMerge
* chore(changeset): add changeset
* chore(changeset): change to minor
* Update .changeset/grumpy-mayflies-rhyme.md
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
2024-11-04 17:20:01 -03:00
Ryo Matsukawa
a4a1d8fb69
feat: add month and year pickers to DateRangePicker and RangeCalendar ( #3302 )
...
* feat: add month and year pickers to DateRangePicker and RangeCalendar
* chore: update docs
* Update .changeset/kind-cobras-travel.md
* chore: react package version
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
2024-11-04 15:27:24 -03:00
Abhinandan
9f6839faf9
feat(popover): added control for closing popover on scroll ( #3595 )
...
* fix(navbar): fixed the height when style h-full
* fix(navbar): fixed the height when style h-full
* docs(changeset): resolved extra file
* feat(popover): added control for closing popover on scroll
* update(changeset): correction
* feat(popover): removed extra story
* refactor(test): corrected test for both true and false values of shouldCloseOnScroll
* refactor(docs): added shouldCloseOnScroll prop
* chore(changeset): change to minor
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
2024-11-04 12:25:30 -03:00
աӄա
80f6cf5a7b
feat: pre-release workflow ( #2910 )
...
* feat(workflow): pre-release
* feat(workflow): exit pre-release
* chore(workflow): update version & publish commands
* fix(workflow): add missing attributes and use schangeset:beta cmd
* feat(root): add changeset:beta
* fix(workflows): revise pre-release logic
* fix(workflows): add missing run
* fix(workflows): use changeset:exit with version instead
* feat(root): add changeset:exit cmd
* refactor(workflows): add pths, id, and format
* feat(workflows): enter pre-release mode
* chore(workflows): remove pre.json only
* refactor(workflows): remove enter-pre-release-mode
* fix(workflows): incorrect url
* refactor(root): remove unused exit command
* refactor(workflows): add comments
* feat(changeset): change to main branch as baseBranch
* feat(root): add changeset:canary
* refactor(workflows): remove unused workflow
* feat(workflow): support canary pre-release mode
* refactor(docs): change to canary
2024-11-04 12:06:40 -03:00
winches
7c2c9c4875
feat: add tab ref ( #3974 )
...
* feat: add tab ref
* feat: add changeset
2024-11-04 12:05:47 -03:00
Ryo Matsukawa
cb1b3135bc
feat(date-picker): add selectorButtonPlacement property ( #3248 )
...
* feat(date-picker): add selectorButtonPlacement property
* chore: update changeset
* Update .changeset/neat-donkeys-accept.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
2024-11-04 11:54:08 -03:00
Ryo Matsukawa
67ea2f65e1
chore: upgrade react-aria / React 19 & Next.js 15 support ( #3732 )
...
* chore: upgrade react-aria
* chore: add changeset
* chore: fix type error
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
2024-11-04 11:53:47 -03:00
Junior Garcia
2d6ae74c36
Feat/add draggable modal ( #3983 )
...
* feat(hooks): add use-draggable hook
* feat(components): [modal] export use-draggable
* docs(components): [modal] add draggable modal
* feat(components): [modal] add ref prop for modal-header
* chore(components): [modal] add draggable modal for storybook
* chore: add changeset for draggable modal
* docs(hooks): [use-draggable] fix typo
* chore: upper changeset
* chore(components): [modal] add overflow draggable modal to sb
* test(components): [modal] add draggable modal tests
* build: update pnpm-lock
* chore(changeset): include issue number
* feat(hooks): [use-draggable] set user-select to none when during the dragging
* docs(components): [modal] update code demo title
* docs(components): [modal] condense description for draggable overflow
* feat(hooks): [use-draggable] change version to 0.1.0
* refactor(hooks): [use-draggable] use use-move implement use-draggable
* feat(hooks): [use-draggable] remove repeated user-select
* test(components): [modal] update test case to use-draggable base use-move
* docs(components): [modal] update draggable examples
* fix(hooks): [use-draggable] fix mobile device touchmove event conflict
* refactor(hooks): [use-draggable] remove drag ref prop
* refactor(hooks): [use-draggable] draggable2is-disabled overflow2can-overflow
* test(components): [modal] add draggble disable test
* chore(hooks): [use-draggable] add commant for body touchmove
* Update packages/hooks/use-draggable/src/index.ts
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
* fix(hooks): [use-draggable] import use-callback
* test(components): [modal] add mobile-sized test for draggable
* chore(hooks): [use-draggable] add use-callback for func
* chore(hooks): [use-draggable] update version to 2.0.0
* chore: fix typo
* Update .changeset/soft-apricots-sleep.md
* fix: pnpm lock
* fix: build
* chore: add updated moadl
---------
Co-authored-by: wzc520pyfm <1528857653@qq.com >
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
2024-11-04 11:27:10 -03:00
Junior Garcia
d90ad05b13
Alert component ( #3982 )
...
* feat(alert): began the work on alert component
* fix(readme): making correction
* chore(deps): change to 2.0.0
* chore(docs): update README.md
* feat(theme): init alert tv
* chore(alert): update package.json
* feat(alert): init alert storybook structure
* chore(changeset): add changeset
* chore(changeset): change to minor
* chore(alert): revise alert package.json
* feat(alert): init test structure
* chore(deps): pnpm-lock.yaml
* feat(alert): initailized theme and basic structure
* feat(alert): completed use-alert.ts and alert.tsx
* feat(alert): remove innerWrapper, replace helperWrapper with mainWrapper, adding isCloseable prop
* feat(alert): adding isCloseable prop to baseWrapper dependency
* feat(alert): setting the default value of isCloseable prop to true
* feat(alert): moving CloseIcon inside the button
* feat(alert): updated package.json
* feat(alert): default variant and default story
* feat(alert): adding color and radius stories
* feat(alert): completed the styling
* feat(alert): add stories for isCloseable prop and restyle other stories
* feat(alert): correcting ref type
* feat(alert): add test cases
* feat(alert): remove startContent and endContent props
* feat(alert): make styling more accurate
* feat(alert): fixed default props
* feat(alert): fixed theme docs
* feat(alert): add logic for icons
* feat(alert): begin to add docs
* chore(alert): implement the changes suggested in code review
* feat(alert): add onclose prop to alert
* feat(alert): add test cases
* docs(alert): add onClose event
* feat(docs): add alert to routes.json
* fix(alert): correct the text colors
* docs(alert): fix imports and syntax errors
* chore(alert): implement the changes suggested in code review
* chore(alert): lint the code and change isCloseable to isClosable
* chore(alert): lint the code
* chore(alert): run pnpm i
* fix(alert): fix the logic for close button and add test case
* docs(alert): fix docs, change isCloseable to isClosable and change docs for isClosable property
* chore(alert): add the support for RTL, refactor the code and fix the typos
* docs(alert): grammer issues fix
* fix(alert): replace rtl with ms
* chore(alert): custom style and custom implementation, remove isClosable={false}, refactor, fix typos
* chore(alert): linting and implement coderabbit suggestions
* chore(alert): refactor and typos fix
* chore(alert): add import for closeIcon
* chore(alert): add props for closeIcon
* chore(alert): refactor fixes
* chore(alert): implement ryo-manba's suggestion on close Icon
* chore(alert): make alert more responsive
* chore(alert): fix grammer issues suggested by coderabbit
* fix(alert): add max-w property to make alert responsive
* chore(alert): improve responsiveness and refactor alertIcon
* chore(alert): add missing dependency to useMemo
* chore(alert): implement coderabbit's suggestions
* chore(alert): update docs and refactor
* chore(alert): refactor alertIcon and implement coderabbit's suggestion
* chore: fixes
---------
Co-authored-by: Abhinav Agarwal <abhinavagrawal700@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Abhinav Agarwal <78839973+abhinav700@users.noreply.github.com >
2024-11-04 10:54:34 -03:00
Shrinidhi Upadhyaya
9fe0aa79c8
fix(tabs): correct inert value for true condition ( #3978 )
2024-11-04 00:22:20 +08:00
Ryo Matsukawa
8de427b81a
fix: prevent test matcher warning ( #3893 )
...
* fix: prevent test matcher warning
* chore: add node types
* chore: update Jest related packages
* chore: run pnpm install
2024-10-29 00:44:08 +08:00
winches
5ac433a905
feat: add git hook to auto update dependencies ( #3365 )
...
* feat: add git hook to auto update dependencies
* feat: update color
2024-10-29 00:39:34 +08:00
winches
1c1fd39d37
fix: avatar filter disableAnimation to dom prop ( #3946 )
2024-10-26 16:36:58 -03:00
Shrinidhi Upadhyaya
c847ffb2a3
fix(docs): removed unused import and merged classNames in dropdown ( #3936 )
...
* fix(breadcrumbs): added separator rotation for RTL #2486
* chore(changeset): added changeset
* fix(docs): removed unused Link import and merged classnames in dropdown
2024-10-24 14:40:50 +08:00
աӄա
8c8b70d128
chore(docs): update sponsor ( #3904 )
...
* chore(docs): remove Scrumbuiss
* chore(docs): remove Scrumbuiss logo
2024-10-23 10:42:21 -03:00
Shrinidhi Upadhyaya
a0d7141db3
fix(theme): support RTL for breadcrumbs ( #3927 )
...
* fix(breadcrumbs): added separator rotation for RTL #2486
* chore(changeset): added changeset
2024-10-23 20:50:06 +08:00
Jeff.
ff04a87b6d
fix(docs): typos in hero section ( #3928 )
2024-10-22 12:10:05 +08:00
աӄա
765dac53cf
refactor(docs): dx improvement in accordion ( #3856 )
...
* refactor: improve dx for writing a docs component (#2544 )
* refactor: improve dx for write a docs component
Signed-off-by: Innei <i@innei.in >
* refactor(docs): switch to contentlayer2
* chore(docs): rename to avoid conflict
* refactor(docs): switch to next-contentlayer2
* refactor(docs): revise docs lib
* chore(deps): bump docs related dependencies
* fix(use-aria-multiselect): type issue due to ts version bump
---------
Signed-off-by: Innei <i@innei.in >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* refactor(docs): accordion codes
* feat(docs): declare module `*.jsx?raw`
* feat(docs): include `**/*.jsx`
* fix(docs): incorrect content
* chore(docs): add new lines
* refactor(docs): lint
---------
Signed-off-by: Innei <i@innei.in >
Co-authored-by: Innei <tukon479@gmail.com >
2024-10-20 00:54:13 +08:00
Anuj Sharma
38a54ab497
fix(theme): removed pseudo cancel btn from input ( #3912 )
...
* fix(theme): removed pseudo cancel btn from input
* chore(changeset): adding the changeset
* fix(input): conditionally hiding the webkit search
* chore(changeset): revise changeset message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-10-19 11:34:46 +08:00
Shrinidhi Upadhyaya
8a33eabb25
fix(theme): show margin only with label in Switch component ( #3861 )
...
* fix(switch): removed right margin in wrapper #3791
* feat(changeset): added changeset
* fix(switch): removed me-2 in wrapper
* fix(switch): added ms-2 to label
* chore(changeset): correct package and message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-10-15 15:16:05 +08:00
Ryo Matsukawa
507887eac3
chore(test): update testing libraries and refactor ( #3886 )
2024-10-14 11:13:04 -03:00
Ryo Matsukawa
3bc2490156
chore: comment out section prompts in PR template ( #3884 )
2024-10-14 13:40:27 +08:00
Ryo Matsukawa
a2e562b03f
fix(listbox): change listBoxItem key to optional ( #3883 )
...
* fix(listbox): listBoxItem key to optional
* chore: add defaultSelectedKeys test for numeric keys and ids
* chore: add changeset
2024-10-14 13:39:26 +08:00
max
8f62613701
fix(docs): avoid translating the code block ( #3878 )
...
* docs(Codeblock): avoid code be translated
* fix(docs): lint issue
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-10-13 14:06:57 +08:00
Maharshi Alpesh
0cf91395c7
fix(theme): label placement in select and input ( #3869 )
...
* fix(theme): fix the label placement
* chore(changeset): adding the changeset
* chore(select): adding comments
2024-10-11 18:02:34 +08:00
Maharshi Alpesh
488a18f525
fix(select): label placement discrepancy in Select ( #3853 )
...
* fix(select): label placement incorrect in case of multiline
* chore(select): adding the changeset
* chore(select): adding the tests
* chore(select): code imrovement, wkw's suggestions
* chore(changeset): update changeset message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-10-11 17:06:57 +08:00
Maharshi Alpesh
af3c4f706b
refactor(theme): replace the use of RTL-specific styles with logical properties ( #3868 )
...
* chore(rtl): remove the usages of rtl
* chore(changeset): adding the changeset
* chore(changeset): update changeset message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-10-11 16:50:50 +08:00
Junior Garcia
88c97f6bf3
chore: merge branch with main
2024-10-07 09:20:40 -03:00
The Master Fuhua's Little Phoenix
14cc26fefe
Update the "Dynamic items"'s code highlight line. ( #3838 )
...
The wrong highlight wasted me 1 hour to fix the null error
2024-10-05 12:31:36 -03:00
Donato Perconti
c0fb1bcc53
Update date-picker.mdx with typo ( #3516 )
...
`canlendar` → `calendar`
2024-10-05 12:31:21 -03:00
աӄա
a07f887971
fix: incorrect domain for images ( #3843 )
2024-10-05 12:31:06 -03:00
Alex Nguyen
780ba43162
fix(autocomplete): exit animation on popover close ( #3845 )
...
* fix(autocomplete): exit animation on popover close
* refactor(autocomplete): getListBoxProps
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-10-05 13:18:29 +08:00
Maharshi Alpesh
781b85566e
fix(theme): fullWidth in input and select ( #3768 )
...
* fix(input): fixing the fullWidth functionality
* chore(changeset): add issue number
* chore(changeset): revise changeset message
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-10-04 00:21:30 +08:00
աӄա
66f1738d9c
fix(docs): typos in dark mode page ( #3823 )
2024-10-03 14:15:16 +08:00
Alex Nguyen
7134996eab
docs(accordion): add overflow to custom motion example ( #3793 )
2024-10-01 16:59:51 +08:00
Julie Saia
557f10f5ec
feat(autocomplete): automatically focus first non-disabled item ( #2186 )
...
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-10-01 16:58:59 +08:00
Maharshi Alpesh
a4ab02006a
fix(date-picker): adding props from calendarProps to getCalendarProps ( #3773 )
...
* fix(date-picker): adding props from calendarProps to the getCalendarProps
* chore(date-picker): adding the changeset
* chore(changeset): add issue number
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-10-01 13:31:09 +08:00
David Gonzalez
e308198644
fix(docs): replace twitter logo/links with x logo/links ( #3815 )
...
* fix(docs): replace Twitter logo/links with X logo/links
* docs: update twitter references to x
* docs: update changeset for twitter to x changes
* docs: update twitter references to x
* docs: update twitter references to x
* chore(docs): undo .sponsorsrc since it's generated
* refactor(docs): remove unnecessary classes
* chore(docs): undo .sponsorsrc since it's generated
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-09-29 13:44:07 +08:00
Maharshi Alpesh
5d9f3380cb
refactor(docs): example of blurred card ( #3741 )
...
* docs(card): adding info regarding the gradient for blurred card
* chore(nit): adding example
* chore(docs): revise content for card isBlurred example
* chore(docs): revise isBlurred note
---------
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-09-28 12:57:25 +08:00
Abhinav Agarwal
2e82f165a9
fix(autocomplete): popover should remain open after clicking clear button ( #3788 )
...
* fix: add state.open() so that dropdown is not closed
* chore: add changeset
* chore(autocomplete): add testcases for keeping lisbox open when clearButton is clicked
* chore: update changeset
* chore(autocomplete): change the docs for test cases
* chore(changeset): update changeset message and add issue number
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-09-28 11:56:28 +08:00
աӄա
06c4b2f763
fix(image): add missing w to getWrapperProps dependency ( #3802 )
...
* fix(image): add missing `w` to `getWrapperProps` dependency
* chore(changeset): add changeset
2024-09-28 00:12:30 +08:00
ryoon
606f75726c
fix(input): ensure clear button is not focusable when disabled ( #3774 )
...
* fix(input): ensure clear button is not focusable when disabled
* test(input): add test to ensure clear button is not focusable when disabled
* chore: add changeset for clear button focus fix when input is disabled
* fix(input): update clear button to use button element
* test(input): add focus test when disabled
and update tests for clear button using button element
* test(input): replace querySelector with getByRole for clear button
* fix(input): set tabIndex to -1 for clear button
* test(input): ensure clear button is not focusable
2024-09-27 00:53:59 +08:00
Junior Garcia
3f8b63e6e5
chore: ethical ads added ( #3803 )
2024-09-24 17:12:00 -07:00
աӄա
e10ea001b6
fix(docs): broken links ( #3796 )
...
* fix(docs): broken link in date-picker page
* fix(docs): broken links
2024-09-23 09:21:12 -07:00
Junior Garcia
bed4a59b8a
Merge branch 'main' of github.com:nextui-org/nextui into canary
2024-09-15 09:21:40 -07:00
աӄա
0834170206
v2.4.8 ( #3765 )
...
* chore(root): reat-aria packages updated (#2889 )
* chore(storybook): common colors enabled (#2902 )
* fix(range-calendar): hide only dates outside the month (#2906 )
* 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
* chore(changeset): patch @nextui-org/theme
---------
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(date-picker): keep date picker style consistent for different variants (#2908 )
* fix: add missing TableRowProps export (#2866 )
* fix: add missing TableRowProps export
* feat(changeset): add changeset for PR2866
* chore(changeset): revise changeset message
---------
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(input): correct label margin for RTL required inputs (#2781 )
* fix(input): correct label margin for RTL required inputs
* fix(theme): add changeset fr theme
* docs(core): add storybook and canary release info (#2914 )
* Cn utility refactor (#2915 )
* refactor(core): cn utility adjusted and moved to the theme package
* chore(root): changeset
* fix(storybook): stories that used cn
* docs(date-picker): change to jsx instead (#2919 )
* fix(switch): support uncontrolled switch in react-hook-form (#2924 )
* feat(switch): add @nextui-org/use-safe-layout-effect
* chore(deps): add @nextui-org/use-safe-layout-effect
* fix(switch): react-hook-form uncontrolled switch component
* fix(switch): react-hook-form uncontrolled switch component
* feat(switch): add rect-hook-form in dev dep
* feat(switch): add WithReactHookFormTemplate
* refactor(root): react aria packages fixed (#2944 )
* feat(docs): docs changes (#2868 )
* feat(docs): add example how to set locale (#2867 )
* docs(guide): add an explanation for the installation guide (#2769 )
* docs(guide): add an explanation for the installation guide
* docs(guide): add an explanation for the cli guide
* docs(guide): add support for cli output
* fix: change sort priority - cmdk (#2873 )
* docs: remove unsupported props in range calendar and date range picker (#2881 )
* chore(calendar): remove showMonthAndYearPickers from range calendar story
* docs(date-range-picker): remove showMonthAndYearPickers info
* docs(range-calendar): remove unsupported props
* docs: refactor typing in form.ts (#2882 )
* chore(docs): supplement errorMessage behaviour in input (#2892 )
* refactor(docs): revise NextUI Provider structure
* chore(docs): add updated tag
---------
Co-authored-by: Nozomi-Hijikata <116155762+Nozomi-Hijikata@users.noreply.github.com >
Co-authored-by: HaRuki <soccer_haruki15@me.com >
Co-authored-by: Kaben <carnoxen@gmail.com >
* fix(slider): missing marks when hideThumb is true & revise slider styles (#2883 )
* chore(slider): include marks in hideThumb
* fix(slider): revise slider styles
* feat(changeset): add changeset
* feat(slider): add tests with marks and hideThumb
* feat(test): react hook form tests & stories (#2931 )
* feat(input): add Input with React Hook Form tests
* refactor(input): add missing types
* feat(checkbox): add checkbox with React Hook Form tests
* feat(select): add react-hook-form to dev dep
* feat(select): add react hook form story
* feat(select): react hook form tests
* fix(select): incorrect button reference
* feat(deps): add react-hook-form to dev dep in autocomplete
* feat(autocomplete): react hook form story
* feat(autocomplete): react hook form tests
* fix(autocomplete): rollback wrapper type
* feat(switch): add react hook form tests
* refactor(stories): reorder stories items
* fix: update accordion item heading tag to be customizable (#2265 )
* fix: update accordion item heading tag to be customizable
* Update .changeset/heavy-hairs-join.md
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* Update .changeset/heavy-hairs-join.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* chore(accordion): lint
* chore(changeset): add issue number
* feat(docs): add HeadingComponent prop
---------
Co-authored-by: Shawn Dong <shawn.dong@flybuys.com.au >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(theme): add pointer-events-none to skeleton base (#2972 )
* feat(tabs): add `destroyInactiveTabPanel` prop for Tabs component (#2973 )
* feat(tabs): add destroyInactiveTabPanel and set default to false
* feat(tabs): integrate with destroyInactiveTabPanel
* feat(theme): hidden inert tab panel
* feat(changeset): add changeset
* chore(changeset): add issue number
* feat(docs): add `destroyInactiveTabPanel` prop to tabs page
* chore(docs): set destroyInactiveTabPanel to true by default
* chore(tabs): set destroyInactiveTabPanel to true by default
* chore(tabs): revise destroyInactiveTabPanel logic
* feat(tabs): add tests for destroyInactiveTabPanel
* chore(tabs): change the default value of destroyInactiveTabPanel to true
* refactor: add support for disabling the animation globally (#2929 )
* refactor: add support for disabling the animation globally
* chore(docs): disableAnimation removed from global provider
* feat(docs): nextui provider api updated, storybook preview adjusted
* chore(theme): button is scalable when disabled, tooltip animation improved
* fix(theme): remove origin-bottom from button (#2990 )
* fix(skeleton): overflow issue in skeleton (#2986 )
* fix(theme): set overflow visible after skeleton loaded
* feat(changeset): add changeset
* fix(table): v2 input/textarea don't allow spaces inside a table (#3020 )
* fix(table): set onKeyDownCapture to undefined
* feat(changeset): add changeset
* fix(slider): calculate the correct value on mark click (#3017 )
* fix(slider): calculate the correct value on mark click
* refactor(slider): remove the tests inside describe block
* feat(slider): add tests for thumb move on mark click
* refactor(slider): use val instead of pos
* fix(theme): revise input isInvalid styles (#3010 )
* fix(theme): revise isInvalid input styles
* feat(changeset): add changeset
* feat(date-picker): add missing ref to input wrapper (#3011 )
* fix(date-picker): add missing ref to input wrapper
* feat(changeset): add changeset
* fix(core): incorrect tailwind classnames (#3018 )
* fix(dropdown): focus behaviour on press / enter keydown (#2970 )
* fix(dropdown): set focus on the first item
* feat(dropdown): add keyboard interactions tests
* feat(changeset): add changeset
* fix(dropdown): use fireEvent.keyDown instead
* chore(deps): add @nextui-org/test-utils to dropdown
* refactor(dropdown): pass onKeyDown to menu trigger and don't hardcode autoFocus
* chore(dropdown): remove autoFocus
* fix(menu): pass userMenuProps to useTreeState and useAriaMenu and remove from getListProps
* chore(changeset): add menu package
* fix(component): update type definition to prevent primitive values as items (#2953 )
* fix: update type definition to prevent primitive values as items
* fix: typecheck
* fix(select): onSelectionChange can handle number (#2937 )
* fix: onSelectionChange type for dynamic items in Select component
* docs: remove unnecessary properties
* docs: update highlightedLines
* chore: add changeset
* fix(calendar): scrolling is hidden when changing the month (#2949 )
* fix(calendar): scrolling is hidden when changing the month
* chore(changeset): correct package name
---------
Co-authored-by: Poli Sour <polisour.work@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix: make VisuallyHidden's element type as span when it's inside phrasing element (#3013 )
* fix(checkbox): make VisuallyHidden's element type as span
* feat(changeset): add changeset
* fix(radio): make the VisuallyHidden element type as span
* fix(switch): make the VisuallyHidden element type as span
* fix(select): make the VisuallyHidden element type as span
* feat(changeset): replace changeset
* chore: fix formatting
* docs: sync nextui-cli api (#3035 )
* docs: sync nextui-cli api
* docs: update
* chore: update routes.json with new path and set updated flag
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat: switch default validationBehavior to aria and allow switching via props (#2987 )
* chore: add support validationBehavior aria
* chore: add validationBehavior to Provider
* chore: add autocomplete validation test
* chore: add checkbox validation test
* fix(input): require condition
* docs: add description of validationBehavior props
* chore: add support validationBehavior props for date components
* docs(dates): add description of validationBehavior props
* chore: add changeset
* chore: format
* chore: fix test
* fix: select validationBehavior is not support yet
* fix: select validationBehavior not supported yet
* chore(docs): validation behavior prop added to nextui-provider
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: popover-based focus behaviour (#2854 )
* fix(autocomplete): autocomplete focus behaviour
* feat(autocomplete): add test case for catching blur cases
* refactor(autocomplete): use isOpen instead
* feat(autocomplete): add "should focus when clicking autocomplete" test case
* feat(autocomplete): add should set the input after selection
* fix(autocomplete): remove shouldUseVirtualFocus
* fix(autocomplete): uncomment blur logic
* refactor(autocomplete): remove state as it is in getPopoverProps
* refactor(autocomplete): remove unnecessary blur
* refactor(select): remove unncessary props
* fix(popover): use domRef instead
* fix(popover): revise isNonModal and isDismissable
* fix(popover): use dialogRef back
* fix(popover): rollback
* fix(autocomplete): onFocus logic
* feat(popover): set disableFocusManagement to overlay
* feat(modal): set disableFocusManagement to overlay
* fix(autocomplete): set disableFocusManagement for autocomplete
* feat(popover): include disableFocusManagement prop
* refactor(autocomplete): revise type in selectorButton
* fix(autocomplete): revise focus logic
* feat(autocomplete): add internal focus state and add shouldCloseOnInteractOutside
* feat(autocomplete): handle selectedItem change
* feat(autocomplete): add clear button test
* feat(changeset): add changeset
* refactor(components): use the original order
* refactor(autocomplete): add more comments
* fix(autocomplete): revise focus behaviours
* refactor(autocomplete): rename to listbox
* chore(popover): remove disableFocusManagement from popover
* chore(autocomplete): remove disableFocusManagement from autocomplete
* chore(changeset): add issue number
* fix(popover): don't set default value to transformOrigin
* fix(autocomplete): revise shouldCloseOnInteractOutside logic
* feat(autocomplete): should close listbox by clicking another autocomplete
* fix(popover): add disableFocusManagement to overlay
* refactor(autocomplete): revise comments and refactor shouldCloseOnInteractOutside
* feat(changeset): add issue number
* fix(autocomplete): merge with selectorButtonProps.onClick
* refactor(autocomplete): remove extra line
* refactor(autocomplete): revise comment
* feat(select): add shouldCloseOnInteractOutside
* feat(dropdown): add shouldCloseOnInteractOutside
* feat(date-picker): add shouldCloseOnInteractOutside
* feat(changeset): add dropdown and date-picker
* fix(popover): revise shouldCloseOnInteractOutside
* feat(date-picker): integrate with ariaShouldCloseOnInteractOutside
* feat(select): integrate with ariaShouldCloseOnInteractOutside
* feat(dropdown): integrate with ariaShouldCloseOnInteractOutside
* feat(popover): integrate with ariaShouldCloseOnInteractOutside
* feat(aria-utils): ariaShouldCloseOnInteractOutside
* chore(deps): update pnpm-lock.yaml
* feat(autocomplete): integrate with ariaShouldCloseOnInteractOutside
* feat(aria-utils): handle setShouldFocus logic
* feat(changeset): add @nextui-org/aria-utils
* chore(autocomplete): put the test into correct group
* feat(select): should close listbox by clicking another select
* feat(dropdown): should close listbox by clicking another dropdown
* feat(popover): should close listbox by clicking another popover
* feat(date-picker): should close listbox by clicking another datepicker
* chore(changeset): add issue numbers and revise changeset message
* refactor(autocomplete): change to useRef instead
* refactor(autocomplete): change to useRef instead
* refactor(aria-utils): revise comments and format code
* chore(changeset): add issue number
* chore: take popoverProps.shouldCloseOnInteractOutside first
* refactor(autocomplete): remove unnecessary logic
* refactor(autocomplete): focus management logic
* fix(components): Fix 'Tap to click' behavior on macOS with Edge/Chrome for Accordion and Tab (#2725 )
* fix(components): fix 'Tap to click' behavior on macOS
* Add change file for accordion, menu, and tabs
* Remove 'fix(components)' from the .changeset file
* fix(components): undo dropdown change now that it's no longer applicable
* fix(components): update changeset file now that we are no longer modifying the dropdown component
* fix(date-picker): corrected inert value for true condition (#3054 )
* fix(date-picker): corrected inert value for true condition #3044
* refactor(calendar): add todo comment
* feat(changeset): add changeset
---------
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(hooks): resolve type error in onKeyDown event handler (#3064 )
* fix(hooks): resolve type error in onKeyDown event handler
* chore(changeset): revise changeset
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* Update dependency array on setPage useCallback hook (#3029 )
Changes:
Add the onChangeActivePage function to the dependency array of the setPage useCallback hook to ensure it always reflects the latest state.
Impact:
This fix ensures that the pagination component accurately reflects the current state when triggering onChangeActivePage.
* fix: error peerDep in pkg (#3014 )
* fix: error peerDep in pkg
* docs: changeset
* Fix DatePicker Time Input (#2845 )
* fix(date-picker): set `isCalendarHeaderExpanded` to `false` when DatePicker is closed
* fix(date-picker): calendar header controlled state on DatePicker
* chore(date-picker): update test
* chore(date-picker): remove unnecessary `async` in test
* Update packages/components/date-picker/__tests__/date-picker.test.tsx
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(date-picker): test
* fix(hooks): optimize useScrollPosition with useCallback and useRef (#3049 )
* fix(hooks): optimize useScrollPosition with useCallback and useRef
* Update .changeset/lucky-cobras-jog.md
* Update packages/hooks/use-scroll-position/src/index.ts
* Update packages/hooks/use-scroll-position/src/index.ts
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(select): placeholder text display for controlled component (#3081 )
* fix: return placeholder when selectedItems is empty
* chore: add test and changeset
* chore(docs): v2.4.0 (#3084 )
* chore(docs): v2.4.0
* chore(docs): v2.4.0 blog
* chore(docs): revise typos based on coderabbitai
* chore(docs): adjust navbar
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* chore(changese): update @nextui-org/react dependency to minor version
* docs: update cli docs (#3096 )
* ci(changesets): version packages (#2903 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(radio): remove required attribute for Radio with validationBehavior="aria" (#3110 )
* fix(theme): add missing pointer event after data loaded (#3126 )
* fix(system): listbox href issue (experimental) (#3119 )
* fix(system): @react-aria/utils
* feat(hooks): include routerLinkProps
* feat(changeset): add changeset
* chore(deps): bump @react-aria/utils to 3.24.1
* fix(hooks): missing arguments
* chore(deps): bump @react-types/link
* chore(link): bump @react-aria/link to 3.7.1
* chore(link): use @react-aria/link instead
* chore(changeset): revise changeset
* chore(hooks): undo use-aria-link changes
* chore(deps): undo use-aria-link changes
* chore(deps): bump `@react-aria/utils` to `3.24.1`
* chore(deps): bump `@react-types/shared`
* feat: add missing router.open parameters due to router change
* chore(changeset): add new line
* chore(deps): bump `@react-types/shared` to `3.23.1`
* fix(avatar): avoid passing `disableAnimation` prop to a DOM element (#3111 )
* fix(avatar): avoid passing `disableAnimation` prop to a DOM element
* refactor(avatar): use filterDOMProps approach
* chore(avatar): remove to type import
* chore(avatar): change to shouldFilterDOMProps
* fix(docs): removed unused import & corrected prop for disabled DatePicker (#3136 )
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
* ci(changesets): version packages (#3115 )
* fix(pagination): missing animation (#3144 )
* fix tsup domain (#3158 )
* chore(docs): remove destroyInactiveTabPanel from Tab due to merge conflict (#3155 )
* fix(autocomplete): maximum update depth exceeded in autocomplete (#3175 )
* 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
* fix(docs): fix typo in autocomplete documentation page (#3182 )
* 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
* fix(tabs): destroyInactiveTabPanel unmounts inactive tabs' content (#3164 )
* fix(tabs): incorrect content in tab panel
* feat(tabs): revise destroyInactiveTabPanel test cases
* 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
* fix(tabs): set tab panel id correctly (#3246 )
* docs(tooltip): supplement correct style path (#3183 )
* docs(tooltip): supplement correct style path
* chore(docs): move the note below import tabs
* fix(use-aria-menu): link logic in useMenuItem (#3229 )
* chore(deps): bump @internationalized/date version (#3230 )
* 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
* 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
* 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
* Update regex-validation.ts (#3123 )
* Update regex-validation.ts
Fix email regex
* Update email regex input.stories.tsx
* 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 >
* 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 >
* fix(table): table-column align prop (#2900 )
* fix(navbar): fixed the height of navbar menu (#1805 )
* fix(navbar): fixed the height of navbar menu
* fix(navbar): refactored the css of navbar
* fix(navbar): fix redundant expression
* fix(navbar): fixed unnecessary changes
* fix(navbar): adjust viewport
* 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 >
* ci(changesets): version packages (#3147 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(avatar): remove extra `disableAnimation` prop in `getImageProps` (#3260 )
* fix(system-rsc): extendVariants with defaultVariants (#3299 )
* 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 >
* 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
* refactor(.github): nextui version description in bug report template (#3281 )
* refactor(.github): revise version description & placeholder
* refactor(.github): revise version description & placeholder
* chore: add accessible name to the icon button (#3300 )
* fix(radio): ensure radio input correctly references description (#3301 )
* fix(radio): ensure radio input correctly references description
* refactor: tweak test
* refactor(.github): github action warnings (#3317 )
* chore(.github): bump action versions
* refactor(autocomplete): linting
* chore(.github): without version
* fix(doc): migrated ScriptProvider component from the root level to each decendant folder (#3269 )
Co-authored-by: HaRuki Kuriwada <haruki.kuriwada@hennge.com >
* refactor(docs): fix international calendar bug (#3363 )
* refactor(docs): fix international calendar bug
* chore: update @react-aria/i18n version and update lock file
* fix(table): custom with class names storybook styles (#3344 )
* fix : #3338
* fix(table): custom with class names storybook styles
* chore(deps): pnpm-lock.yaml (#3372 )
* fix(accordion): allow cursor navigation within text (#3419 )
* fix(accordion): allow cursor navigation within text
* fix: wrong issue number
* fix(date-range-picker): input field clear error (#3409 )
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
* fix: remove autoCapitalize to prevent Firefox warning (#3376 )
* fix: remove autoCapitalize to prevent firefox warning
* chore: add changeset
* 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
* 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
* fix(select): import HiddenSelect and UseSelectProps (#3368 )
* fix(select): import HiddenSelect and UseSelectProps
* chore: merge import
* feat: eslint add rule prefer top level type import (#3354 )
* 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
* 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
* 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
* refactor(docs): sort component routes alphabetically (#3328 )
* docs(pagination): fix typo of missing "`" in doc (#3324 )
* 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
* 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 >
* 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
* 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
* 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>
* 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 >
* fix(image): optional height (#3420 )
* fix(image): optional height
* fix(image): incorrect props
* feat(changeset): add changeset
* 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
* 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 >
* 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 >
* fix: tsc errors (#3362 )
* fix: tsc error
* docs: changeset
* fix: test
* fix: test
* fix: review problem
* fix: review
* feat: add tw config to get the intelliSense (#3385 )
* feat: add tw config to get the intelliSense
* chore(deps): pnpm-lock.yaml
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* 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 >
* fix: add onClear prop to Ripple component in button custom implementation (#3439 )
* 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 >
* 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
* fix(docs): incorrect image height (#3427 )
* docs: removed show more from code example (#3373 )
* docs: removed show more from code example
* Update sandpack.css
* docs: remove-show-more
* chore(docs): remove unused code
* chore(deps): pnpm-lock.yaml
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* 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 >
* docs(frameworks): update highlighted line numbers in Frameworks examples (#3412 )
* Update highlighted line numbers in Remix examples
* Update highlighted line numbers in Next.js examples
* Update highlighted line numbers in Astro examples
* Update highlighted line numbers in Vite examples
* Adjust highlighted line number
* Adjust highlighted line number
* 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)
* ci(changesets): version packages (#3266 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(system-rsc): defaultVariants null case in extendVariants (#3503 )
* fix(system-rsc): defaultVariants null case in extendVariants
* chore(changeset): add issue number
* fix(date-range-picker): calendar-content width as per visible-months (#3505 )
* fix: normalize 'status' field values to lowercase across multiple files (#2947 )
* fix(status): normalize 'status' value to lowercase in page.tsx
* fix(status): normalize 'status' value to lowercase in use-case.ts
* fix(status): normalize 'status' value to lowercase in custom-render-value.ts
* fix(status): normalize 'status' value to lowercase in top-content.ts
* fix(status): normalize 'status' value to lowercase in multiple-chips.ts
* fix(status): normalize 'status' value to lowercase in custom-items.ts
* fix(status): normalize 'status' value to lowercase in data.ts
* fix(status): normalize 'status' value to lowercase in custom-styles.ts
* fix(status): normalize 'status' value to lowercase in page.tsx
* fix(status): normalize 'status' value to lowercase in custom-styles.ts
* fix(status): normalize 'status' value to lowercase in custom-items.ts
* fix(status): normalize 'status' value to lowercase in page.tsx
* fix(status): normalize 'status' value to lowercase in custom-styles.ts
* 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 >
* 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 >
* fix(theme): button scaling when disableAnimation is true (#3499 )
* fix(system-rsc): add @react-types/shared to dependencies (#3501 )
* fix(system-rsc): add @react-types/shared to dependencies
* fix: change pnpm lock
* fix: change pnpm lock
* fix: change pnpm lock
---------
Co-authored-by: winches <329487092@qq.com >
* build(script): fixing Clean script (#3500 )
running clean lock before clean node modules.
* ci(changesets): version packages (#3507 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (#3508 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat(chanageset): bump versions (#3512 )
* ci(changesets): version packages (#3513 )
* fix(deps): overrides RA utils pkg (#3537 )
* chore(deps): rollback PR3537 (#3541 )
* chore(docs): lint sponsors (#3547 )
* chore(docs): format ScrumbuissLogo svg
* chore(docs): lint
* chore(deps): upgrade pnpm to v9 (#3589 )
* chore(deps): upgrade pnpm to v9
* chore(root): bump node version
* 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 >
* fix: typo in home page (#3615 )
* docs: fix typo in override styles doc (#3611 )
* 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
* 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 >
* fix(system-rsc): missing StringToBoolean<keyof V[K]>[] (#3559 )
* fix(navbar): fixed the height when style h-full
* fix(navbar): fixed the height when style h-full
* fix(core): string[] accepted by compoundVariants.variant
* Delete .changeset/brown-days-applaud.md
* chore(changeset): revise changeset message
* fix(system-rsc): incorrect VariantValue typing and typo in Options
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* doc(sandpack): improved logic for react import (#3582 )
* fix(navbar): fixed the height when style h-full
* fix(navbar): fixed the height when style h-full
* docs(sandpack): improved logic for react imoprt
* Delete .changeset/brown-days-applaud.md
* Update use-sandpack.ts
* refactor(docs): skip adding import react if not required
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(docs): typo in snippet page (#3555 )
* docs(card, badge): slots section addition (#3580 )
* fix(navbar): fixed the height when style h-full
* fix(navbar): fixed the height when style h-full
* docs(card,badge): added slots section
* Delete .changeset/brown-days-applaud.md
* fix(theme): double click issue on checkbox, toggle and radio (#3552 )
* fix(theme): double click issue on checkbox, toggle and radio
* fix(theme): skeleton overflow issue (#3217 )
* 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 >
* 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
* feat(docs): added tanstack router to the routing section in the documentation (#3271 )
* feat(docs): added tanstack router to the routing section in the documentation
* fix: updated the TanStack Router example by following RA example
* fix: updated the documentation wordings
* chore(docs): update highlighted row numbers
---------
Co-authored-by: HaRuki Kuriwada <haruki.kuriwada@hennge.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* 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 >
* chore(theme): export default-layout (#2946 )
* Support default configuration export
Conveniently available for developers to modify from the default configuration
* chore(changeset): add changeset
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* 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
* fix(utilities): gregorian year offset for persian (#3603 )
* fix(utilities): gregorian year offset for persian
* feat(changeset): add changeset
* 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 >
* fix(docs): changed breakpoint to md (#2630 )
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
* fix(docs): added ts example for infinite pagination (#2718 )
* fix(docs): added ts example for infinite pagination
* fix(docs): changed the condition of showOpenInCodeSandbox in CodeDemo
* chore(docs): add bun command
* chore(docs): add bun command
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(hooks): ensure exposed functions wrap by `useCallback` (#3607 )
* fix(hooks): ensure exposed functions wrap by `useCallback`
* fix(hooks/use-real-shape): remove unnecessary dependency from `useCallback`
* fix(select): prevent select from closing instantly when clicking on label of select (#3568 )
* fix(select): prevent select from closing instantly when clicking on label
* fix(select): flickering on label click
* fix(select): flickering while click on label
* fix(select): add changeset on fixing the flickering model issue
* chore(changeset): revise changeset message and add issue number
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* 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 >
* 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 >
* 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 >
* chore(input): rollback PR3533 (#3720 )
* chore(autocomplete): should blur after clicking outside autocomplete (#3721 )
* fix(theme): color discrepancy in select (#3663 )
* fix(select): resolving color descrepancy in select
* fix(select): making the changes accroding to the asked design
* chore(changeset): revise message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(listbox): card shadow clipping when inside listbox item (#3486 )
* fix(listbox): card shadow clipping when inside listbox item
* fix(listbox): card shadow clipping when inside listbox item
* Update five-teachers-refuse.md
* Delete .changeset/bright-avocados-yell.md
* fix(listbox): card shadow clipping when inside listbox item
* 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 >
* fix(autocomplete): highlight item in `AutocompleteSection` during keyboard navigation (#3726 )
* chore: run tests and storybook in StrictMode (#3352 )
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(root): .nvmrc version (#2795 )
* fix(config): Cannot use .nvmrc #2794
* fix(root): correct nvmrc version
---------
Co-authored-by: AtharvaUpadhye <70993547+AtharvaUpadhye@users.noreply.github.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* chore(docs): add global css import to root layout (#2688 )
* Adds global css import to root layout
* refactor(docs): include globals css info in other examples
---------
Co-authored-by: Eli <52673344+EliBP@users.noreply.github.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* chore(ci): update github action versions (#2439 )
* chore(ci): update github action versions
* chore(ci): update pnpm, gh-action and node versions
* fix(ci): specify exact version in gh-action
* chore(changeset): remove changeset
* chore(root): update pnpm version
* chore(root): update node version
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
* fix(components): improve RTL support for input component (#2038 )
* fix(components): improve RTL support for select component
* fix(theme): revise RTL styles
* chore(changeset): remove input package from changeset
---------
Co-authored-by: amirhhashemi <87268103+amirhhashemi@users.noreply.github >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(components): improve RTL support for select component (#2041 )
* fix(components): improve RTL support for select component
* fix(theme): rtl styles for select
* chore(changeset): remove unchanged package
* chore(theme): remove ps-2
---------
Co-authored-by: amirhhashemi <87268103+amirhhashemi@users.noreply.github >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(components): improve RTL support for pagination component (#2044 )
* fix(components): improve RTL support for pagination component
* chore(changeset): remove unchanged package
* chore(pagination): undo change
* chore(pagination): no chevronPrev slot
* fix(theme): avoid rotate chevron in rtl
---------
Co-authored-by: amirhhashemi <87268103+amirhhashemi@users.noreply.github >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(docs): remove unwanted generic from PaginationItemRenderProps(#3729 )
In the documentation on the custom item the type PaginationItemRenderProps is represented with a generic but in the implementation it doesn't receive a generic type.
* fix(table): improve RTL support for table component (#2097 )
Co-authored-by: amirhhashemi <87268103+amirhhashemi@users.noreply.github >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(theme): use data-hover instead of hover (#2110 )
* chore(docs): update component link (#3737 )
* fix(system): missing useHref logic (#2943 )
* chore(deps): update pnpm-lock.yaml
* fix(system): missing useHref logic
* chore(docs): restructure heading
* feat(docs): add useHref content to routing page
* fix(hooks): revise useAriaLink onClick logic
* chore(deps): bump @react-types/shared
* chore(deps): bump @react-types/shared
* fix(hooks): add missing parameters
* fix(pagination): add missing parameters
* feat(changeset): add missing router.open parameters due to rounter change
* fix(docs): onSelectionChange type
* refactor(changeset): revise changeset message
* chore(deps): lock deps
* chore(hooks): bump @react-types/shared to 3.23.0
* chore(changeset): remove this changeset since it is already in canary
* refactor(docs): add package manager options (#3731 )
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
* refactor(deps): remove react copy from react-rsc-utils bundle (#3597 )
* refactor(deps): remove react copy from react-rsc-utils bundle
* chore(changeset): add changeset
* fix(select): missing onChange when there are more than 300 items (#3598 )
* fix(select): missing onChange when there are more than 300 items
* feat(select): add tests for onChange
* chore(changeset): add changeset
* fix(theme): update flat variant text colors to be accessible (#3738 )
* fix: use accessible text colors for flat variant
* fix: use accessible text colors for flat variant
* chore(changeset): update changeset
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(theme): set the min-height of base height to 100dvh where size equals "full" (#2684 )
* fix(modal): set the min-height of base height to 100dvh where size equals "full"
* chore(changeset): add changeset
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(hook): re-attached scroll event behavior in `useScrollPosition` (#3247 )
* fix: initialize throttleTimeout in cleanup function
* chore(changeset): add changeset
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(theme): applied tw nested group (#3658 )
* fix(theme): apply nested group for checkbox
* fix(theme): apply nested group for autocomplete
* fix(theme): apply nested group for select
* fix(theme): apply nested group for toggle
* fix(theme): apply nested group for radio
* fix(theme): apply nested group for input
* fix(theme): apply nested group for datepicker
* fix(theme): apply nested group for dateinput
* chore(changeset): add changeset
* chore(changeset): add issue number
* chore(theme): format code
* feat(table): add TableWithSwitch
* fix(docs): Floating components clipping in hero section (#3432 )
* fix(docs): incorrect image height
* fix(docs): clipping of Floating components in Hero section
* chore(docs): remove unnecessary space
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* ci(changesets): version packages (#3662 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(docs): missing tw nested groups in docs (#3751 )
* fix(docs): set shouldBlockScroll to false (#3752 )
* chore: undo pr3658 & pr3751 (#3754 )
* chore: undo pr3307 (#3756 )
* chore: rollback pr3307
* chore(changeset): fix typo
* chore: rollback pr3467 (#3759 )
* chore: rollback pr3467
* fix(dropdown): _a2.find is not a function (#3762 )
* feat(dropdown): add "should respect closeOnSelect setting of DropdownItem (dynamic)"
* chore(changeset): add changeset
* fix(dropdown): find is not function error when click dropdown item (#3763 )
* fix: find is not function error when click dropdown item
* fix: find is not function error when click dropdown item
* fix: type error
* fix: optimization
* refactor(dropdown): must have return value
* chore(changeset): revise changeset
---------
Co-authored-by: winches <329487092@qq.com >
* ci(changesets): version packages (#3755 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(theme): ghost danger button style (#3764 )
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: Shrinidhi Upadhyaya <shrinidhiupadhyaya1195@gmail.com >
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: Paul Tiedtke <PaulTiedtke@web.de >
Co-authored-by: Mohammad Reza Badri <85818966+mrbadri@users.noreply.github.com >
Co-authored-by: Nozomi-Hijikata <116155762+Nozomi-Hijikata@users.noreply.github.com >
Co-authored-by: HaRuki <soccer_haruki15@me.com >
Co-authored-by: Kaben <carnoxen@gmail.com >
Co-authored-by: Shawn Dong <dsknight@live.com.au >
Co-authored-by: Shawn Dong <shawn.dong@flybuys.com.au >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: Poli Sour <57824881+novsource@users.noreply.github.com >
Co-authored-by: Poli Sour <polisour.work@gmail.com >
Co-authored-by: Artem Pitikin <git@kosmotema.dev >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Eric Abreu <ericfabreu@gmail.com >
Co-authored-by: Minsu <52266597+Gaic4o@users.noreply.github.com >
Co-authored-by: Jesus Perdomo Lampignano <38929969+jesuzon@users.noreply.github.com >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: EGOIST <0x142857@gmail.com >
Co-authored-by: Damien Leroy <10438692+ShiiFu@users.noreply.github.com >
Co-authored-by: Christian Abele <manufaktur@christian-abele.de >
Co-authored-by: Nozomi Hijikata <121233810+nozomemein@users.noreply.github.com >
Co-authored-by: HaRuki Kuriwada <haruki.kuriwada@hennge.com >
Co-authored-by: Deval Minocha <deval.minocha24@gmail.com >
Co-authored-by: Ankit <82326089+ankitts@users.noreply.github.com >
Co-authored-by: wiyco <lumiwslab@gmail.com >
Co-authored-by: Sjoerd van Bommel <sjoerd.van.bommel@Hotmail.com >
Co-authored-by: Pratyush Kongalla <44525862+pratyush3124@users.noreply.github.com >
Co-authored-by: Pratyush <conenct2pratyush@gmail.com >
Co-authored-by: Abhinandan <abhinandanverma551@gmail.com >
Co-authored-by: KumJungMin <37934668+KumJungMin@users.noreply.github.com >
Co-authored-by: dochi <ryoon50@gmail.com >
Co-authored-by: Abhishek Tomar <104965815+abhisektomar1@users.noreply.github.com >
Co-authored-by: RockerFlower <kira@glorylab.xyz >
Co-authored-by: codeesura <120671243+codeesura@users.noreply.github.com >
Co-authored-by: Simon Podlipsky <simon@podlipsky.net >
Co-authored-by: sandeep Butte <sandeep36butte@gmail.com >
Co-authored-by: Gtio <664037691@qq.com >
Co-authored-by: Jay <jay.sanjay.karia@gmail.com >
Co-authored-by: Sa'ad <62077144+BlueZ-95@users.noreply.github.com >
Co-authored-by: AnthonyPaulO <AnthonyPaulO@gmail.com >
Co-authored-by: Anthony Ortiz <anthonypaulo@hotmail.com >
Co-authored-by: Xiao Han <hanxiao790@gmail.com >
Co-authored-by: Facundo Tenuta <facuargush@gmail.com >
Co-authored-by: Amey Bhavsar <iamamey24@gmail.com >
Co-authored-by: rockey2020 <64777114+rockey2020@users.noreply.github.com >
Co-authored-by: 安忆 <i@anyi.in >
Co-authored-by: sohan01fw <121301775+sohan01fw@users.noreply.github.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@gmail.com >
Co-authored-by: Atharva Upadhye <70993547+atharva-upadhye@users.noreply.github.com >
Co-authored-by: AtharvaUpadhye <70993547+AtharvaUpadhye@users.noreply.github.com >
Co-authored-by: Eli <52673344+elibullockpapa@users.noreply.github.com >
Co-authored-by: Eli <52673344+EliBP@users.noreply.github.com >
Co-authored-by: Robin <99033508+robinsmith-source@users.noreply.github.com >
Co-authored-by: Amir Hossein Hashemi <87268103+amirhhashemi@users.noreply.github.com >
Co-authored-by: amirhhashemi <87268103+amirhhashemi@users.noreply.github >
Co-authored-by: Matheus Cruz Rocha <matheus.rocha89@gmail.com >
Co-authored-by: black197 <dyeh68306@163.com >
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
Co-authored-by: Riley Butterfield <41082883+rileybutterfield@users.noreply.github.com >
Co-authored-by: Hyden Liu <sunupdong@gmail.com >
Co-authored-by: vetan2 <vetan2@naver.com >
2024-09-15 09:04:19 -07:00
աӄա
559436d462
fix(theme): ghost danger button style ( #3764 )
2024-09-15 20:58:44 +08:00
github-actions[bot]
2c9c817702
ci(changesets): version packages ( #3755 )
...
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
2024-09-15 19:58:02 +08:00
աӄա
8fecb5afa9
fix(dropdown): _a2.find is not a function ( #3762 )
...
* feat(dropdown): add "should respect closeOnSelect setting of DropdownItem (dynamic)"
* chore(changeset): add changeset
* fix(dropdown): find is not function error when click dropdown item (#3763 )
* fix: find is not function error when click dropdown item
* fix: find is not function error when click dropdown item
* fix: type error
* fix: optimization
* refactor(dropdown): must have return value
* chore(changeset): revise changeset
---------
Co-authored-by: winches <329487092@qq.com >
2024-09-15 19:17:00 +08:00
աӄա
2293884229
chore: rollback pr3467 ( #3759 )
...
* chore: rollback pr3467
2024-09-15 15:59:49 +08:00
Junior Garcia
324f9128bc
Merge branch 'canary' of github.com:nextui-org/nextui into canary
2024-09-14 20:30:56 -07:00
Junior Garcia
d67579c6b0
Merge branch 'main' of github.com:nextui-org/nextui into canary
2024-09-14 20:30:35 -07:00
Junior Garcia
97b7dfc0de
chore: ph badge removed
2024-09-14 20:30:15 -07:00
աӄա
0e62d6b44d
chore(docs): update sponsor section ( #3758 )
2024-09-14 19:45:02 -07:00
աӄա
4c01d1824d
chore: undo pr3307 ( #3756 )
...
* chore: rollback pr3307
* chore(changeset): fix typo
2024-09-14 11:39:52 -07:00
աӄա
5517a0578b
chore: undo pr3658 & pr3751 ( #3754 )
2024-09-14 14:00:15 -03:00
Junior Garcia
fccb19fda3
Merge branch 'main' of github.com:nextui-org/nextui into canary
2024-09-14 09:39:58 -07:00
աӄա
3469534ac9
v2.4.7 ( #3750 )
2024-09-14 13:37:25 -03:00
աӄա
339a5e754c
fix(docs): set shouldBlockScroll to false ( #3752 )
2024-09-14 16:10:36 +08:00
աӄա
4a0739fe67
fix(docs): missing tw nested groups in docs ( #3751 )
2024-09-14 15:41:27 +08:00
github-actions[bot]
def45d4d7a
ci(changesets): version packages ( #3662 )
...
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
2024-09-14 13:18:24 +08:00
Abhinandan
a6eccbea66
fix(docs): Floating components clipping in hero section ( #3432 )
...
* fix(docs): incorrect image height
* fix(docs): clipping of Floating components in Hero section
* chore(docs): remove unnecessary space
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-09-14 12:43:24 +08:00
աӄա
5b5a9746e3
fix(theme): applied tw nested group ( #3658 )
...
* fix(theme): apply nested group for checkbox
* fix(theme): apply nested group for autocomplete
* fix(theme): apply nested group for select
* fix(theme): apply nested group for toggle
* fix(theme): apply nested group for radio
* fix(theme): apply nested group for input
* fix(theme): apply nested group for datepicker
* fix(theme): apply nested group for dateinput
* chore(changeset): add changeset
* chore(changeset): add issue number
* chore(theme): format code
* feat(table): add TableWithSwitch
2024-09-13 14:06:45 +08:00
vetan2
b0728e3c38
fix(hook): re-attached scroll event behavior in useScrollPosition ( #3247 )
...
* fix: initialize throttleTimeout in cleanup function
* chore(changeset): add changeset
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-09-12 22:09:12 +08:00
Hyden Liu
142f394cb5
fix(theme): set the min-height of base height to 100dvh where size equals "full" ( #2684 )
...
* fix(modal): set the min-height of base height to 100dvh where size equals "full"
* chore(changeset): add changeset
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-09-12 20:21:52 +08:00
Junior Garcia
601b162311
chore: add ph banner ( #3743 )
2024-09-12 00:11:37 -07:00
Riley Butterfield
54bd9cdd6d
fix(theme): update flat variant text colors to be accessible ( #3738 )
...
* fix: use accessible text colors for flat variant
* fix: use accessible text colors for flat variant
* chore(changeset): update changeset
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-09-12 00:00:03 +08:00
աӄա
74792f7bff
fix(select): missing onChange when there are more than 300 items ( #3598 )
...
* fix(select): missing onChange when there are more than 300 items
* feat(select): add tests for onChange
* chore(changeset): add changeset
2024-09-11 11:23:48 +08:00
աӄա
446a6bf57c
refactor(deps): remove react copy from react-rsc-utils bundle ( #3597 )
...
* refactor(deps): remove react copy from react-rsc-utils bundle
* chore(changeset): add changeset
2024-09-11 11:23:24 +08:00
Maharshi Alpesh
5fd001c241
refactor(docs): add package manager options ( #3731 )
...
Co-authored-by: Maharshi Alpesh <maharshialpesh@Maharshi-Book.local >
2024-09-10 23:44:52 +08:00
աӄա
4ac7674d1e
fix(system): missing useHref logic ( #2943 )
...
* chore(deps): update pnpm-lock.yaml
* fix(system): missing useHref logic
* chore(docs): restructure heading
* feat(docs): add useHref content to routing page
* fix(hooks): revise useAriaLink onClick logic
* chore(deps): bump @react-types/shared
* chore(deps): bump @react-types/shared
* fix(hooks): add missing parameters
* fix(pagination): add missing parameters
* feat(changeset): add missing router.open parameters due to rounter change
* fix(docs): onSelectionChange type
* refactor(changeset): revise changeset message
* chore(deps): lock deps
* chore(hooks): bump @react-types/shared to 3.23.0
* chore(changeset): remove this changeset since it is already in canary
2024-09-10 23:21:31 +08:00
աӄա
3ed05abe10
chore(docs): update component link ( #3737 )
2024-09-10 21:37:29 +08:00
black197
bc0f72fc27
fix(theme): use data-hover instead of hover ( #2110 )
2024-09-10 20:41:47 +08:00
Amir Hossein Hashemi
06b97d05a8
fix(table): improve RTL support for table component ( #2097 )
...
Co-authored-by: amirhhashemi <87268103+amirhhashemi@users.noreply.github >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-09-10 19:54:54 +08:00
Matheus Cruz Rocha
c2c35348d4
fix(docs): remove unwanted generic from PaginationItemRenderProps( #3729 )
...
In the documentation on the custom item the type PaginationItemRenderProps is represented with a generic but in the implementation it doesn't receive a generic type.
2024-09-10 00:00:25 +08:00
աӄա
8f5f93d4e1
chore(docs): remove disallowEmptySelection from tabs page ( #3648 )
2024-09-08 10:09:23 -07:00
Abhinandan
cb7d7a27fe
fix(docs): added missing package manager tabs in docs ( #3650 )
2024-09-08 10:08:51 -07:00
աӄա
942cfc3a88
fix(docs): add missing React and remove unexpected args ( #3652 )
2024-09-08 10:07:51 -07:00
Amir Hossein Hashemi
fe30dc8cc0
fix(components): improve RTL support for pagination component ( #2044 )
...
* fix(components): improve RTL support for pagination component
* chore(changeset): remove unchanged package
* chore(pagination): undo change
* chore(pagination): no chevronPrev slot
* fix(theme): avoid rotate chevron in rtl
---------
Co-authored-by: amirhhashemi <87268103+amirhhashemi@users.noreply.github >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-09-08 21:21:19 +08:00
Amir Hossein Hashemi
6f44cd6a98
fix(components): improve RTL support for select component ( #2041 )
...
* fix(components): improve RTL support for select component
* fix(theme): rtl styles for select
* chore(changeset): remove unchanged package
* chore(theme): remove ps-2
---------
Co-authored-by: amirhhashemi <87268103+amirhhashemi@users.noreply.github >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-09-08 21:02:25 +08:00
Amir Hossein Hashemi
deb15078cc
fix(components): improve RTL support for input component ( #2038 )
...
* fix(components): improve RTL support for select component
* fix(theme): revise RTL styles
* chore(changeset): remove input package from changeset
---------
Co-authored-by: amirhhashemi <87268103+amirhhashemi@users.noreply.github >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-09-08 20:24:24 +08:00
Robin
f4d16e1e8f
chore(ci): update github action versions ( #2439 )
...
* chore(ci): update github action versions
* chore(ci): update pnpm, gh-action and node versions
* fix(ci): specify exact version in gh-action
* chore(changeset): remove changeset
* chore(root): update pnpm version
* chore(root): update node version
---------
Co-authored-by: աӄա <wingkwong.code@gmail.com >
2024-09-08 17:42:37 +08:00
Eli
f0eb7a6113
chore(docs): add global css import to root layout ( #2688 )
...
* Adds global css import to root layout
* refactor(docs): include globals css info in other examples
---------
Co-authored-by: Eli <52673344+EliBP@users.noreply.github.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-09-08 17:16:30 +08:00
Atharva Upadhye
84c1574793
fix(root): .nvmrc version ( #2795 )
...
* fix(config): Cannot use .nvmrc #2794
* fix(root): correct nvmrc version
---------
Co-authored-by: AtharvaUpadhye <70993547+AtharvaUpadhye@users.noreply.github.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-09-08 16:16:37 +08:00
chirokas
659cdcf02d
chore: run tests and storybook in StrictMode ( #3352 )
...
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-09-08 15:35:29 +08:00
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
Abhinandan
324fd6d3c1
fix(listbox): card shadow clipping when inside listbox item ( #3486 )
...
* fix(listbox): card shadow clipping when inside listbox item
* fix(listbox): card shadow clipping when inside listbox item
* Update five-teachers-refuse.md
* Delete .changeset/bright-avocados-yell.md
* fix(listbox): card shadow clipping when inside listbox item
2024-09-07 15:45:11 +08:00
Maharshi Alpesh
46cc01908e
fix(theme): color discrepancy in select ( #3663 )
...
* fix(select): resolving color descrepancy in select
* fix(select): making the changes accroding to the asked design
* chore(changeset): revise message
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-09-07 15:31:12 +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
sohan01fw
5c8cc7a42d
fix(select): prevent select from closing instantly when clicking on label of select ( #3568 )
...
* fix(select): prevent select from closing instantly when clicking on label
* fix(select): flickering on label click
* fix(select): flickering while click on label
* fix(select): add changeset on fixing the flickering model issue
* chore(changeset): revise changeset message and add issue number
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-09-05 17:22:05 +08:00
安忆
eda316ab24
fix(hooks): ensure exposed functions wrap by useCallback ( #3607 )
...
* fix(hooks): ensure exposed functions wrap by `useCallback`
* fix(hooks/use-real-shape): remove unnecessary dependency from `useCallback`
2024-09-05 17:21:01 +08:00
HaRuki Kuriwada
26d8f01e27
fix(docs): added ts example for infinite pagination ( #2718 )
...
* fix(docs): added ts example for infinite pagination
* fix(docs): changed the condition of showOpenInCodeSandbox in CodeDemo
* chore(docs): add bun command
* chore(docs): add bun command
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-09-04 20:32:35 +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
աӄա
f36df4362f
fix(utilities): gregorian year offset for persian ( #3603 )
...
* fix(utilities): gregorian year offset for persian
* feat(changeset): add changeset
2024-09-01 09:40:07 +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
rockey2020
59ea6b7457
chore(theme): export default-layout ( #2946 )
...
* Support default configuration export
Conveniently available for developers to modify from the default configuration
* chore(changeset): add changeset
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-09-01 01:23:11 +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
HaRuki Kuriwada
56f1d681ff
feat(docs): added tanstack router to the routing section in the documentation ( #3271 )
...
* feat(docs): added tanstack router to the routing section in the documentation
* fix: updated the TanStack Router example by following RA example
* fix: updated the documentation wordings
* chore(docs): update highlighted row numbers
---------
Co-authored-by: HaRuki Kuriwada <haruki.kuriwada@hennge.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-08-30 00:09:43 +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
chirokas
9d6bcb580a
fix(theme): skeleton overflow issue ( #3217 )
2024-08-29 12:42:24 +08:00
Abhinandan
97f233b346
fix(theme): double click issue on checkbox, toggle and radio ( #3552 )
...
* fix(theme): double click issue on checkbox, toggle and radio
2024-08-29 12:40:44 +08:00
Abhinandan
14e25e1257
docs(card, badge): slots section addition ( #3580 )
...
* fix(navbar): fixed the height when style h-full
* fix(navbar): fixed the height when style h-full
* docs(card,badge): added slots section
* Delete .changeset/brown-days-applaud.md
2024-08-29 12:27:56 +08:00
Xiao Han
715cd1d9e5
fix(docs): typo in snippet page ( #3555 )
2024-08-29 12:25:08 +08:00
Abhinandan
8ec338c9b7
doc(sandpack): improved logic for react import ( #3582 )
...
* fix(navbar): fixed the height when style h-full
* fix(navbar): fixed the height when style h-full
* docs(sandpack): improved logic for react imoprt
* Delete .changeset/brown-days-applaud.md
* Update use-sandpack.ts
* refactor(docs): skip adding import react if not required
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-08-29 10:27:40 +08:00
Abhinandan
44e89a0779
fix(system-rsc): missing StringToBoolean<keyof V[K]>[] ( #3559 )
...
* fix(navbar): fixed the height when style h-full
* fix(navbar): fixed the height when style h-full
* fix(core): string[] accepted by compoundVariants.variant
* Delete .changeset/brown-days-applaud.md
* chore(changeset): revise changeset message
* fix(system-rsc): incorrect VariantValue typing and typo in Options
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-08-29 10:26:26 +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
Sa'ad
e15c43b5a4
docs: fix typo in override styles doc ( #3611 )
2024-08-29 10:17:28 +08:00
Jay
2ada2850c9
fix: typo in home page ( #3615 )
2024-08-29 10:14:51 +08:00
աӄա
5809af2ae2
feat(docs): add TS examples for single & multiple selection ( #3682 )
2024-08-23 12:30:18 -07: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
Junior Garcia
bff6b367b6
Revert "fix(docs): added missing package manager tab ( #3631 )" ( #3646 )
...
This reverts commit bd2b9a12ff .
2024-08-12 14:18:28 -07:00
Abhinandan
bd2b9a12ff
fix(docs): added missing package manager tab ( #3631 )
...
* chore(root): reat-aria packages updated (#2889 )
* chore(storybook): common colors enabled (#2902 )
* fix(range-calendar): hide only dates outside the month (#2906 )
* 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
* chore(changeset): patch @nextui-org/theme
---------
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(date-picker): keep date picker style consistent for different variants (#2908 )
* fix: add missing TableRowProps export (#2866 )
* fix: add missing TableRowProps export
* feat(changeset): add changeset for PR2866
* chore(changeset): revise changeset message
---------
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(input): correct label margin for RTL required inputs (#2781 )
* fix(input): correct label margin for RTL required inputs
* fix(theme): add changeset fr theme
* docs(core): add storybook and canary release info (#2914 )
* Cn utility refactor (#2915 )
* refactor(core): cn utility adjusted and moved to the theme package
* chore(root): changeset
* fix(storybook): stories that used cn
* docs(date-picker): change to jsx instead (#2919 )
* fix(switch): support uncontrolled switch in react-hook-form (#2924 )
* feat(switch): add @nextui-org/use-safe-layout-effect
* chore(deps): add @nextui-org/use-safe-layout-effect
* fix(switch): react-hook-form uncontrolled switch component
* fix(switch): react-hook-form uncontrolled switch component
* feat(switch): add rect-hook-form in dev dep
* feat(switch): add WithReactHookFormTemplate
* refactor(root): react aria packages fixed (#2944 )
* feat(docs): docs changes (#2868 )
* feat(docs): add example how to set locale (#2867 )
* docs(guide): add an explanation for the installation guide (#2769 )
* docs(guide): add an explanation for the installation guide
* docs(guide): add an explanation for the cli guide
* docs(guide): add support for cli output
* fix: change sort priority - cmdk (#2873 )
* docs: remove unsupported props in range calendar and date range picker (#2881 )
* chore(calendar): remove showMonthAndYearPickers from range calendar story
* docs(date-range-picker): remove showMonthAndYearPickers info
* docs(range-calendar): remove unsupported props
* docs: refactor typing in form.ts (#2882 )
* chore(docs): supplement errorMessage behaviour in input (#2892 )
* refactor(docs): revise NextUI Provider structure
* chore(docs): add updated tag
---------
Co-authored-by: Nozomi-Hijikata <116155762+Nozomi-Hijikata@users.noreply.github.com >
Co-authored-by: HaRuki <soccer_haruki15@me.com >
Co-authored-by: Kaben <carnoxen@gmail.com >
* fix(slider): missing marks when hideThumb is true & revise slider styles (#2883 )
* chore(slider): include marks in hideThumb
* fix(slider): revise slider styles
* feat(changeset): add changeset
* feat(slider): add tests with marks and hideThumb
* feat(test): react hook form tests & stories (#2931 )
* feat(input): add Input with React Hook Form tests
* refactor(input): add missing types
* feat(checkbox): add checkbox with React Hook Form tests
* feat(select): add react-hook-form to dev dep
* feat(select): add react hook form story
* feat(select): react hook form tests
* fix(select): incorrect button reference
* feat(deps): add react-hook-form to dev dep in autocomplete
* feat(autocomplete): react hook form story
* feat(autocomplete): react hook form tests
* fix(autocomplete): rollback wrapper type
* feat(switch): add react hook form tests
* refactor(stories): reorder stories items
* fix: update accordion item heading tag to be customizable (#2265 )
* fix: update accordion item heading tag to be customizable
* Update .changeset/heavy-hairs-join.md
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* Update .changeset/heavy-hairs-join.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* chore(accordion): lint
* chore(changeset): add issue number
* feat(docs): add HeadingComponent prop
---------
Co-authored-by: Shawn Dong <shawn.dong@flybuys.com.au >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(theme): add pointer-events-none to skeleton base (#2972 )
* feat(tabs): add `destroyInactiveTabPanel` prop for Tabs component (#2973 )
* feat(tabs): add destroyInactiveTabPanel and set default to false
* feat(tabs): integrate with destroyInactiveTabPanel
* feat(theme): hidden inert tab panel
* feat(changeset): add changeset
* chore(changeset): add issue number
* feat(docs): add `destroyInactiveTabPanel` prop to tabs page
* chore(docs): set destroyInactiveTabPanel to true by default
* chore(tabs): set destroyInactiveTabPanel to true by default
* chore(tabs): revise destroyInactiveTabPanel logic
* feat(tabs): add tests for destroyInactiveTabPanel
* chore(tabs): change the default value of destroyInactiveTabPanel to true
* refactor: add support for disabling the animation globally (#2929 )
* refactor: add support for disabling the animation globally
* chore(docs): disableAnimation removed from global provider
* feat(docs): nextui provider api updated, storybook preview adjusted
* chore(theme): button is scalable when disabled, tooltip animation improved
* fix(theme): remove origin-bottom from button (#2990 )
* fix(skeleton): overflow issue in skeleton (#2986 )
* fix(theme): set overflow visible after skeleton loaded
* feat(changeset): add changeset
* fix(table): v2 input/textarea don't allow spaces inside a table (#3020 )
* fix(table): set onKeyDownCapture to undefined
* feat(changeset): add changeset
* fix(slider): calculate the correct value on mark click (#3017 )
* fix(slider): calculate the correct value on mark click
* refactor(slider): remove the tests inside describe block
* feat(slider): add tests for thumb move on mark click
* refactor(slider): use val instead of pos
* fix(theme): revise input isInvalid styles (#3010 )
* fix(theme): revise isInvalid input styles
* feat(changeset): add changeset
* feat(date-picker): add missing ref to input wrapper (#3011 )
* fix(date-picker): add missing ref to input wrapper
* feat(changeset): add changeset
* fix(core): incorrect tailwind classnames (#3018 )
* fix(dropdown): focus behaviour on press / enter keydown (#2970 )
* fix(dropdown): set focus on the first item
* feat(dropdown): add keyboard interactions tests
* feat(changeset): add changeset
* fix(dropdown): use fireEvent.keyDown instead
* chore(deps): add @nextui-org/test-utils to dropdown
* refactor(dropdown): pass onKeyDown to menu trigger and don't hardcode autoFocus
* chore(dropdown): remove autoFocus
* fix(menu): pass userMenuProps to useTreeState and useAriaMenu and remove from getListProps
* chore(changeset): add menu package
* fix(component): update type definition to prevent primitive values as items (#2953 )
* fix: update type definition to prevent primitive values as items
* fix: typecheck
* fix(select): onSelectionChange can handle number (#2937 )
* fix: onSelectionChange type for dynamic items in Select component
* docs: remove unnecessary properties
* docs: update highlightedLines
* chore: add changeset
* fix(calendar): scrolling is hidden when changing the month (#2949 )
* fix(calendar): scrolling is hidden when changing the month
* chore(changeset): correct package name
---------
Co-authored-by: Poli Sour <polisour.work@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix: make VisuallyHidden's element type as span when it's inside phrasing element (#3013 )
* fix(checkbox): make VisuallyHidden's element type as span
* feat(changeset): add changeset
* fix(radio): make the VisuallyHidden element type as span
* fix(switch): make the VisuallyHidden element type as span
* fix(select): make the VisuallyHidden element type as span
* feat(changeset): replace changeset
* chore: fix formatting
* docs: sync nextui-cli api (#3035 )
* docs: sync nextui-cli api
* docs: update
* chore: update routes.json with new path and set updated flag
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat: switch default validationBehavior to aria and allow switching via props (#2987 )
* chore: add support validationBehavior aria
* chore: add validationBehavior to Provider
* chore: add autocomplete validation test
* chore: add checkbox validation test
* fix(input): require condition
* docs: add description of validationBehavior props
* chore: add support validationBehavior props for date components
* docs(dates): add description of validationBehavior props
* chore: add changeset
* chore: format
* chore: fix test
* fix: select validationBehavior is not support yet
* fix: select validationBehavior not supported yet
* chore(docs): validation behavior prop added to nextui-provider
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: popover-based focus behaviour (#2854 )
* fix(autocomplete): autocomplete focus behaviour
* feat(autocomplete): add test case for catching blur cases
* refactor(autocomplete): use isOpen instead
* feat(autocomplete): add "should focus when clicking autocomplete" test case
* feat(autocomplete): add should set the input after selection
* fix(autocomplete): remove shouldUseVirtualFocus
* fix(autocomplete): uncomment blur logic
* refactor(autocomplete): remove state as it is in getPopoverProps
* refactor(autocomplete): remove unnecessary blur
* refactor(select): remove unncessary props
* fix(popover): use domRef instead
* fix(popover): revise isNonModal and isDismissable
* fix(popover): use dialogRef back
* fix(popover): rollback
* fix(autocomplete): onFocus logic
* feat(popover): set disableFocusManagement to overlay
* feat(modal): set disableFocusManagement to overlay
* fix(autocomplete): set disableFocusManagement for autocomplete
* feat(popover): include disableFocusManagement prop
* refactor(autocomplete): revise type in selectorButton
* fix(autocomplete): revise focus logic
* feat(autocomplete): add internal focus state and add shouldCloseOnInteractOutside
* feat(autocomplete): handle selectedItem change
* feat(autocomplete): add clear button test
* feat(changeset): add changeset
* refactor(components): use the original order
* refactor(autocomplete): add more comments
* fix(autocomplete): revise focus behaviours
* refactor(autocomplete): rename to listbox
* chore(popover): remove disableFocusManagement from popover
* chore(autocomplete): remove disableFocusManagement from autocomplete
* chore(changeset): add issue number
* fix(popover): don't set default value to transformOrigin
* fix(autocomplete): revise shouldCloseOnInteractOutside logic
* feat(autocomplete): should close listbox by clicking another autocomplete
* fix(popover): add disableFocusManagement to overlay
* refactor(autocomplete): revise comments and refactor shouldCloseOnInteractOutside
* feat(changeset): add issue number
* fix(autocomplete): merge with selectorButtonProps.onClick
* refactor(autocomplete): remove extra line
* refactor(autocomplete): revise comment
* feat(select): add shouldCloseOnInteractOutside
* feat(dropdown): add shouldCloseOnInteractOutside
* feat(date-picker): add shouldCloseOnInteractOutside
* feat(changeset): add dropdown and date-picker
* fix(popover): revise shouldCloseOnInteractOutside
* feat(date-picker): integrate with ariaShouldCloseOnInteractOutside
* feat(select): integrate with ariaShouldCloseOnInteractOutside
* feat(dropdown): integrate with ariaShouldCloseOnInteractOutside
* feat(popover): integrate with ariaShouldCloseOnInteractOutside
* feat(aria-utils): ariaShouldCloseOnInteractOutside
* chore(deps): update pnpm-lock.yaml
* feat(autocomplete): integrate with ariaShouldCloseOnInteractOutside
* feat(aria-utils): handle setShouldFocus logic
* feat(changeset): add @nextui-org/aria-utils
* chore(autocomplete): put the test into correct group
* feat(select): should close listbox by clicking another select
* feat(dropdown): should close listbox by clicking another dropdown
* feat(popover): should close listbox by clicking another popover
* feat(date-picker): should close listbox by clicking another datepicker
* chore(changeset): add issue numbers and revise changeset message
* refactor(autocomplete): change to useRef instead
* refactor(autocomplete): change to useRef instead
* refactor(aria-utils): revise comments and format code
* chore(changeset): add issue number
* chore: take popoverProps.shouldCloseOnInteractOutside first
* refactor(autocomplete): remove unnecessary logic
* refactor(autocomplete): focus management logic
* fix(components): Fix 'Tap to click' behavior on macOS with Edge/Chrome for Accordion and Tab (#2725 )
* fix(components): fix 'Tap to click' behavior on macOS
* Add change file for accordion, menu, and tabs
* Remove 'fix(components)' from the .changeset file
* fix(components): undo dropdown change now that it's no longer applicable
* fix(components): update changeset file now that we are no longer modifying the dropdown component
* fix(date-picker): corrected inert value for true condition (#3054 )
* fix(date-picker): corrected inert value for true condition #3044
* refactor(calendar): add todo comment
* feat(changeset): add changeset
---------
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(hooks): resolve type error in onKeyDown event handler (#3064 )
* fix(hooks): resolve type error in onKeyDown event handler
* chore(changeset): revise changeset
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* Update dependency array on setPage useCallback hook (#3029 )
Changes:
Add the onChangeActivePage function to the dependency array of the setPage useCallback hook to ensure it always reflects the latest state.
Impact:
This fix ensures that the pagination component accurately reflects the current state when triggering onChangeActivePage.
* fix: error peerDep in pkg (#3014 )
* fix: error peerDep in pkg
* docs: changeset
* Fix DatePicker Time Input (#2845 )
* fix(date-picker): set `isCalendarHeaderExpanded` to `false` when DatePicker is closed
* fix(date-picker): calendar header controlled state on DatePicker
* chore(date-picker): update test
* chore(date-picker): remove unnecessary `async` in test
* Update packages/components/date-picker/__tests__/date-picker.test.tsx
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(date-picker): test
* fix(hooks): optimize useScrollPosition with useCallback and useRef (#3049 )
* fix(hooks): optimize useScrollPosition with useCallback and useRef
* Update .changeset/lucky-cobras-jog.md
* Update packages/hooks/use-scroll-position/src/index.ts
* Update packages/hooks/use-scroll-position/src/index.ts
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(select): placeholder text display for controlled component (#3081 )
* fix: return placeholder when selectedItems is empty
* chore: add test and changeset
* chore(docs): v2.4.0 (#3084 )
* chore(docs): v2.4.0
* chore(docs): v2.4.0 blog
* chore(docs): revise typos based on coderabbitai
* chore(docs): adjust navbar
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* chore(changese): update @nextui-org/react dependency to minor version
* docs: update cli docs (#3096 )
* ci(changesets): version packages (#2903 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(radio): remove required attribute for Radio with validationBehavior="aria" (#3110 )
* fix(theme): add missing pointer event after data loaded (#3126 )
* fix(system): listbox href issue (experimental) (#3119 )
* fix(system): @react-aria/utils
* feat(hooks): include routerLinkProps
* feat(changeset): add changeset
* chore(deps): bump @react-aria/utils to 3.24.1
* fix(hooks): missing arguments
* chore(deps): bump @react-types/link
* chore(link): bump @react-aria/link to 3.7.1
* chore(link): use @react-aria/link instead
* chore(changeset): revise changeset
* chore(hooks): undo use-aria-link changes
* chore(deps): undo use-aria-link changes
* chore(deps): bump `@react-aria/utils` to `3.24.1`
* chore(deps): bump `@react-types/shared`
* feat: add missing router.open parameters due to router change
* chore(changeset): add new line
* chore(deps): bump `@react-types/shared` to `3.23.1`
* fix(avatar): avoid passing `disableAnimation` prop to a DOM element (#3111 )
* fix(avatar): avoid passing `disableAnimation` prop to a DOM element
* refactor(avatar): use filterDOMProps approach
* chore(avatar): remove to type import
* chore(avatar): change to shouldFilterDOMProps
* fix(docs): removed unused import & corrected prop for disabled DatePicker (#3136 )
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
* ci(changesets): version packages (#3115 )
* fix(pagination): missing animation (#3144 )
* fix tsup domain (#3158 )
* chore(docs): remove destroyInactiveTabPanel from Tab due to merge conflict (#3155 )
* fix(autocomplete): maximum update depth exceeded in autocomplete (#3175 )
* 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
* fix(docs): fix typo in autocomplete documentation page (#3182 )
* 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
* fix(tabs): destroyInactiveTabPanel unmounts inactive tabs' content (#3164 )
* fix(tabs): incorrect content in tab panel
* feat(tabs): revise destroyInactiveTabPanel test cases
* 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
* fix(tabs): set tab panel id correctly (#3246 )
* docs(tooltip): supplement correct style path (#3183 )
* docs(tooltip): supplement correct style path
* chore(docs): move the note below import tabs
* fix(use-aria-menu): link logic in useMenuItem (#3229 )
* chore(deps): bump @internationalized/date version (#3230 )
* 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
* 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
* 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
* Update regex-validation.ts (#3123 )
* Update regex-validation.ts
Fix email regex
* Update email regex input.stories.tsx
* 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 >
* 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 >
* fix(table): table-column align prop (#2900 )
* fix(navbar): fixed the height of navbar menu (#1805 )
* fix(navbar): fixed the height of navbar menu
* fix(navbar): refactored the css of navbar
* fix(navbar): fix redundant expression
* fix(navbar): fixed unnecessary changes
* fix(navbar): adjust viewport
* 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 >
* ci(changesets): version packages (#3147 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(avatar): remove extra `disableAnimation` prop in `getImageProps` (#3260 )
* fix(system-rsc): extendVariants with defaultVariants (#3299 )
* 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 >
* 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
* refactor(.github): nextui version description in bug report template (#3281 )
* refactor(.github): revise version description & placeholder
* refactor(.github): revise version description & placeholder
* chore: add accessible name to the icon button (#3300 )
* fix(radio): ensure radio input correctly references description (#3301 )
* fix(radio): ensure radio input correctly references description
* refactor: tweak test
* refactor(.github): github action warnings (#3317 )
* chore(.github): bump action versions
* refactor(autocomplete): linting
* chore(.github): without version
* fix(doc): migrated ScriptProvider component from the root level to each decendant folder (#3269 )
Co-authored-by: HaRuki Kuriwada <haruki.kuriwada@hennge.com >
* refactor(docs): fix international calendar bug (#3363 )
* refactor(docs): fix international calendar bug
* chore: update @react-aria/i18n version and update lock file
* fix(table): custom with class names storybook styles (#3344 )
* fix : #3338
* fix(table): custom with class names storybook styles
* chore(deps): pnpm-lock.yaml (#3372 )
* fix(accordion): allow cursor navigation within text (#3419 )
* fix(accordion): allow cursor navigation within text
* fix: wrong issue number
* fix(date-range-picker): input field clear error (#3409 )
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
* fix: remove autoCapitalize to prevent Firefox warning (#3376 )
* fix: remove autoCapitalize to prevent firefox warning
* chore: add changeset
* 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
* 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
* fix(select): import HiddenSelect and UseSelectProps (#3368 )
* fix(select): import HiddenSelect and UseSelectProps
* chore: merge import
* feat: eslint add rule prefer top level type import (#3354 )
* 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
* 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
* 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
* refactor(docs): sort component routes alphabetically (#3328 )
* docs(pagination): fix typo of missing "`" in doc (#3324 )
* 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
* 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 >
* 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
* 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
* 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>
* 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 >
* fix(image): optional height (#3420 )
* fix(image): optional height
* fix(image): incorrect props
* feat(changeset): add changeset
* 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
* 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 >
* 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 >
* fix: tsc errors (#3362 )
* fix: tsc error
* docs: changeset
* fix: test
* fix: test
* fix: review problem
* fix: review
* feat: add tw config to get the intelliSense (#3385 )
* feat: add tw config to get the intelliSense
* chore(deps): pnpm-lock.yaml
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* 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 >
* fix: add onClear prop to Ripple component in button custom implementation (#3439 )
* 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 >
* 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
* fix(docs): incorrect image height (#3427 )
* docs: removed show more from code example (#3373 )
* docs: removed show more from code example
* Update sandpack.css
* docs: remove-show-more
* chore(docs): remove unused code
* chore(deps): pnpm-lock.yaml
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* 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 >
* docs(frameworks): update highlighted line numbers in Frameworks examples (#3412 )
* Update highlighted line numbers in Remix examples
* Update highlighted line numbers in Next.js examples
* Update highlighted line numbers in Astro examples
* Update highlighted line numbers in Vite examples
* Adjust highlighted line number
* Adjust highlighted line number
* 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)
* ci(changesets): version packages (#3266 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(system-rsc): defaultVariants null case in extendVariants (#3503 )
* fix(system-rsc): defaultVariants null case in extendVariants
* chore(changeset): add issue number
* fix(date-range-picker): calendar-content width as per visible-months (#3505 )
* fix: normalize 'status' field values to lowercase across multiple files (#2947 )
* fix(status): normalize 'status' value to lowercase in page.tsx
* fix(status): normalize 'status' value to lowercase in use-case.ts
* fix(status): normalize 'status' value to lowercase in custom-render-value.ts
* fix(status): normalize 'status' value to lowercase in top-content.ts
* fix(status): normalize 'status' value to lowercase in multiple-chips.ts
* fix(status): normalize 'status' value to lowercase in custom-items.ts
* fix(status): normalize 'status' value to lowercase in data.ts
* fix(status): normalize 'status' value to lowercase in custom-styles.ts
* fix(status): normalize 'status' value to lowercase in page.tsx
* fix(status): normalize 'status' value to lowercase in custom-styles.ts
* fix(status): normalize 'status' value to lowercase in custom-items.ts
* fix(status): normalize 'status' value to lowercase in page.tsx
* fix(status): normalize 'status' value to lowercase in custom-styles.ts
* 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 >
* 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 >
* fix(theme): button scaling when disableAnimation is true (#3499 )
* fix(system-rsc): add @react-types/shared to dependencies (#3501 )
* fix(system-rsc): add @react-types/shared to dependencies
* fix: change pnpm lock
* fix: change pnpm lock
* fix: change pnpm lock
---------
Co-authored-by: winches <329487092@qq.com >
* build(script): fixing Clean script (#3500 )
running clean lock before clean node modules.
* ci(changesets): version packages (#3507 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (#3508 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat(chanageset): bump versions (#3512 )
* ci(changesets): version packages (#3513 )
* fix(navbar): fixed the height when style h-full
* fix(navbar): fixed the height when style h-full
* fix(deps): overrides RA utils pkg (#3537 )
* chore(deps): rollback PR3537 (#3541 )
* chore(docs): lint sponsors (#3547 )
* chore(docs): format ScrumbuissLogo svg
* chore(docs): lint
* docs(changeset): resolved extra file
* fix(docs): added missing package manager tabs in docs
* refactor(cli-docs): changed line 33
* chore(deps): upgrade pnpm to v9 (#3589 )
* chore(deps): upgrade pnpm to v9
* chore(root): bump node version
* refactor(files): removed unnecessary files
* fix(docs): added missing package manager tabs in docs
* fix(docs): added missing package manager tabs in docs
* refactor(cli.mdx): updated typo
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: Shrinidhi Upadhyaya <shrinidhiupadhyaya1195@gmail.com >
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
Co-authored-by: Paul Tiedtke <PaulTiedtke@web.de >
Co-authored-by: Mohammad Reza Badri <85818966+mrbadri@users.noreply.github.com >
Co-authored-by: Nozomi-Hijikata <116155762+Nozomi-Hijikata@users.noreply.github.com >
Co-authored-by: HaRuki <soccer_haruki15@me.com >
Co-authored-by: Kaben <carnoxen@gmail.com >
Co-authored-by: Shawn Dong <dsknight@live.com.au >
Co-authored-by: Shawn Dong <shawn.dong@flybuys.com.au >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: Poli Sour <57824881+novsource@users.noreply.github.com >
Co-authored-by: Poli Sour <polisour.work@gmail.com >
Co-authored-by: Artem Pitikin <git@kosmotema.dev >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Eric Abreu <ericfabreu@gmail.com >
Co-authored-by: Minsu <52266597+Gaic4o@users.noreply.github.com >
Co-authored-by: Jesus Perdomo Lampignano <38929969+jesuzon@users.noreply.github.com >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: EGOIST <0x142857@gmail.com >
Co-authored-by: Damien Leroy <10438692+ShiiFu@users.noreply.github.com >
Co-authored-by: Christian Abele <manufaktur@christian-abele.de >
Co-authored-by: Nozomi Hijikata <121233810+nozomemein@users.noreply.github.com >
Co-authored-by: HaRuki Kuriwada <haruki.kuriwada@hennge.com >
Co-authored-by: Deval Minocha <deval.minocha24@gmail.com >
Co-authored-by: Ankit <82326089+ankitts@users.noreply.github.com >
Co-authored-by: wiyco <lumiwslab@gmail.com >
Co-authored-by: Sjoerd van Bommel <sjoerd.van.bommel@Hotmail.com >
Co-authored-by: Pratyush Kongalla <44525862+pratyush3124@users.noreply.github.com >
Co-authored-by: Pratyush <conenct2pratyush@gmail.com >
Co-authored-by: KumJungMin <37934668+KumJungMin@users.noreply.github.com >
Co-authored-by: dochi <ryoon50@gmail.com >
Co-authored-by: Abhishek Tomar <104965815+abhisektomar1@users.noreply.github.com >
Co-authored-by: RockerFlower <kira@glorylab.xyz >
Co-authored-by: codeesura <120671243+codeesura@users.noreply.github.com >
Co-authored-by: Simon Podlipsky <simon@podlipsky.net >
Co-authored-by: sandeep Butte <sandeep36butte@gmail.com >
2024-08-12 14:17:55 -07:00
աӄա
197386404f
chore(deps): upgrade pnpm to v9 ( #3589 )
...
* chore(deps): upgrade pnpm to v9
* chore(root): bump node version
2024-08-08 18:55:29 -07:00
աӄա
6d9995bad1
chore(docs): lint sponsors ( #3547 )
...
* chore(docs): format ScrumbuissLogo svg
* chore(docs): lint
2024-07-24 09:10:21 -07:00
աӄա
b806ca4bc7
chore(deps): rollback PR3537 ( #3541 )
2024-07-23 10:02:44 -07:00
աӄա
710644fa00
fix(deps): overrides RA utils pkg ( #3537 )
2024-07-23 08:42:44 -07:00
Junior Garcia
df765bcd87
Merge branch 'main' of github.com:nextui-org/nextui into canary
2024-07-22 09:18:56 -07:00
Tianen Pang
8b7df922b5
fix(docs): scroll controlled dropdown ( #3522 )
...
* chore(root): reat-aria packages updated (#2889 )
* chore(storybook): common colors enabled (#2902 )
* fix(range-calendar): hide only dates outside the month (#2906 )
* 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
* chore(changeset): patch @nextui-org/theme
---------
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(date-picker): keep date picker style consistent for different variants (#2908 )
* fix: add missing TableRowProps export (#2866 )
* fix: add missing TableRowProps export
* feat(changeset): add changeset for PR2866
* chore(changeset): revise changeset message
---------
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(input): correct label margin for RTL required inputs (#2781 )
* fix(input): correct label margin for RTL required inputs
* fix(theme): add changeset fr theme
* docs(core): add storybook and canary release info (#2914 )
* Cn utility refactor (#2915 )
* refactor(core): cn utility adjusted and moved to the theme package
* chore(root): changeset
* fix(storybook): stories that used cn
* docs(date-picker): change to jsx instead (#2919 )
* fix(switch): support uncontrolled switch in react-hook-form (#2924 )
* feat(switch): add @nextui-org/use-safe-layout-effect
* chore(deps): add @nextui-org/use-safe-layout-effect
* fix(switch): react-hook-form uncontrolled switch component
* fix(switch): react-hook-form uncontrolled switch component
* feat(switch): add rect-hook-form in dev dep
* feat(switch): add WithReactHookFormTemplate
* refactor(root): react aria packages fixed (#2944 )
* feat(docs): docs changes (#2868 )
* feat(docs): add example how to set locale (#2867 )
* docs(guide): add an explanation for the installation guide (#2769 )
* docs(guide): add an explanation for the installation guide
* docs(guide): add an explanation for the cli guide
* docs(guide): add support for cli output
* fix: change sort priority - cmdk (#2873 )
* docs: remove unsupported props in range calendar and date range picker (#2881 )
* chore(calendar): remove showMonthAndYearPickers from range calendar story
* docs(date-range-picker): remove showMonthAndYearPickers info
* docs(range-calendar): remove unsupported props
* docs: refactor typing in form.ts (#2882 )
* chore(docs): supplement errorMessage behaviour in input (#2892 )
* refactor(docs): revise NextUI Provider structure
* chore(docs): add updated tag
---------
Co-authored-by: Nozomi-Hijikata <116155762+Nozomi-Hijikata@users.noreply.github.com >
Co-authored-by: HaRuki <soccer_haruki15@me.com >
Co-authored-by: Kaben <carnoxen@gmail.com >
* fix(slider): missing marks when hideThumb is true & revise slider styles (#2883 )
* chore(slider): include marks in hideThumb
* fix(slider): revise slider styles
* feat(changeset): add changeset
* feat(slider): add tests with marks and hideThumb
* feat(test): react hook form tests & stories (#2931 )
* feat(input): add Input with React Hook Form tests
* refactor(input): add missing types
* feat(checkbox): add checkbox with React Hook Form tests
* feat(select): add react-hook-form to dev dep
* feat(select): add react hook form story
* feat(select): react hook form tests
* fix(select): incorrect button reference
* feat(deps): add react-hook-form to dev dep in autocomplete
* feat(autocomplete): react hook form story
* feat(autocomplete): react hook form tests
* fix(autocomplete): rollback wrapper type
* feat(switch): add react hook form tests
* refactor(stories): reorder stories items
* fix: update accordion item heading tag to be customizable (#2265 )
* fix: update accordion item heading tag to be customizable
* Update .changeset/heavy-hairs-join.md
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* Update .changeset/heavy-hairs-join.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* chore(accordion): lint
* chore(changeset): add issue number
* feat(docs): add HeadingComponent prop
---------
Co-authored-by: Shawn Dong <shawn.dong@flybuys.com.au >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(theme): add pointer-events-none to skeleton base (#2972 )
* feat(tabs): add `destroyInactiveTabPanel` prop for Tabs component (#2973 )
* feat(tabs): add destroyInactiveTabPanel and set default to false
* feat(tabs): integrate with destroyInactiveTabPanel
* feat(theme): hidden inert tab panel
* feat(changeset): add changeset
* chore(changeset): add issue number
* feat(docs): add `destroyInactiveTabPanel` prop to tabs page
* chore(docs): set destroyInactiveTabPanel to true by default
* chore(tabs): set destroyInactiveTabPanel to true by default
* chore(tabs): revise destroyInactiveTabPanel logic
* feat(tabs): add tests for destroyInactiveTabPanel
* chore(tabs): change the default value of destroyInactiveTabPanel to true
* refactor: add support for disabling the animation globally (#2929 )
* refactor: add support for disabling the animation globally
* chore(docs): disableAnimation removed from global provider
* feat(docs): nextui provider api updated, storybook preview adjusted
* chore(theme): button is scalable when disabled, tooltip animation improved
* fix(theme): remove origin-bottom from button (#2990 )
* fix(skeleton): overflow issue in skeleton (#2986 )
* fix(theme): set overflow visible after skeleton loaded
* feat(changeset): add changeset
* fix(table): v2 input/textarea don't allow spaces inside a table (#3020 )
* fix(table): set onKeyDownCapture to undefined
* feat(changeset): add changeset
* fix(slider): calculate the correct value on mark click (#3017 )
* fix(slider): calculate the correct value on mark click
* refactor(slider): remove the tests inside describe block
* feat(slider): add tests for thumb move on mark click
* refactor(slider): use val instead of pos
* fix(theme): revise input isInvalid styles (#3010 )
* fix(theme): revise isInvalid input styles
* feat(changeset): add changeset
* feat(date-picker): add missing ref to input wrapper (#3011 )
* fix(date-picker): add missing ref to input wrapper
* feat(changeset): add changeset
* fix(core): incorrect tailwind classnames (#3018 )
* fix(dropdown): focus behaviour on press / enter keydown (#2970 )
* fix(dropdown): set focus on the first item
* feat(dropdown): add keyboard interactions tests
* feat(changeset): add changeset
* fix(dropdown): use fireEvent.keyDown instead
* chore(deps): add @nextui-org/test-utils to dropdown
* refactor(dropdown): pass onKeyDown to menu trigger and don't hardcode autoFocus
* chore(dropdown): remove autoFocus
* fix(menu): pass userMenuProps to useTreeState and useAriaMenu and remove from getListProps
* chore(changeset): add menu package
* fix(component): update type definition to prevent primitive values as items (#2953 )
* fix: update type definition to prevent primitive values as items
* fix: typecheck
* fix(select): onSelectionChange can handle number (#2937 )
* fix: onSelectionChange type for dynamic items in Select component
* docs: remove unnecessary properties
* docs: update highlightedLines
* chore: add changeset
* fix(calendar): scrolling is hidden when changing the month (#2949 )
* fix(calendar): scrolling is hidden when changing the month
* chore(changeset): correct package name
---------
Co-authored-by: Poli Sour <polisour.work@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix: make VisuallyHidden's element type as span when it's inside phrasing element (#3013 )
* fix(checkbox): make VisuallyHidden's element type as span
* feat(changeset): add changeset
* fix(radio): make the VisuallyHidden element type as span
* fix(switch): make the VisuallyHidden element type as span
* fix(select): make the VisuallyHidden element type as span
* feat(changeset): replace changeset
* chore: fix formatting
* docs: sync nextui-cli api (#3035 )
* docs: sync nextui-cli api
* docs: update
* chore: update routes.json with new path and set updated flag
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat: switch default validationBehavior to aria and allow switching via props (#2987 )
* chore: add support validationBehavior aria
* chore: add validationBehavior to Provider
* chore: add autocomplete validation test
* chore: add checkbox validation test
* fix(input): require condition
* docs: add description of validationBehavior props
* chore: add support validationBehavior props for date components
* docs(dates): add description of validationBehavior props
* chore: add changeset
* chore: format
* chore: fix test
* fix: select validationBehavior is not support yet
* fix: select validationBehavior not supported yet
* chore(docs): validation behavior prop added to nextui-provider
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: popover-based focus behaviour (#2854 )
* fix(autocomplete): autocomplete focus behaviour
* feat(autocomplete): add test case for catching blur cases
* refactor(autocomplete): use isOpen instead
* feat(autocomplete): add "should focus when clicking autocomplete" test case
* feat(autocomplete): add should set the input after selection
* fix(autocomplete): remove shouldUseVirtualFocus
* fix(autocomplete): uncomment blur logic
* refactor(autocomplete): remove state as it is in getPopoverProps
* refactor(autocomplete): remove unnecessary blur
* refactor(select): remove unncessary props
* fix(popover): use domRef instead
* fix(popover): revise isNonModal and isDismissable
* fix(popover): use dialogRef back
* fix(popover): rollback
* fix(autocomplete): onFocus logic
* feat(popover): set disableFocusManagement to overlay
* feat(modal): set disableFocusManagement to overlay
* fix(autocomplete): set disableFocusManagement for autocomplete
* feat(popover): include disableFocusManagement prop
* refactor(autocomplete): revise type in selectorButton
* fix(autocomplete): revise focus logic
* feat(autocomplete): add internal focus state and add shouldCloseOnInteractOutside
* feat(autocomplete): handle selectedItem change
* feat(autocomplete): add clear button test
* feat(changeset): add changeset
* refactor(components): use the original order
* refactor(autocomplete): add more comments
* fix(autocomplete): revise focus behaviours
* refactor(autocomplete): rename to listbox
* chore(popover): remove disableFocusManagement from popover
* chore(autocomplete): remove disableFocusManagement from autocomplete
* chore(changeset): add issue number
* fix(popover): don't set default value to transformOrigin
* fix(autocomplete): revise shouldCloseOnInteractOutside logic
* feat(autocomplete): should close listbox by clicking another autocomplete
* fix(popover): add disableFocusManagement to overlay
* refactor(autocomplete): revise comments and refactor shouldCloseOnInteractOutside
* feat(changeset): add issue number
* fix(autocomplete): merge with selectorButtonProps.onClick
* refactor(autocomplete): remove extra line
* refactor(autocomplete): revise comment
* feat(select): add shouldCloseOnInteractOutside
* feat(dropdown): add shouldCloseOnInteractOutside
* feat(date-picker): add shouldCloseOnInteractOutside
* feat(changeset): add dropdown and date-picker
* fix(popover): revise shouldCloseOnInteractOutside
* feat(date-picker): integrate with ariaShouldCloseOnInteractOutside
* feat(select): integrate with ariaShouldCloseOnInteractOutside
* feat(dropdown): integrate with ariaShouldCloseOnInteractOutside
* feat(popover): integrate with ariaShouldCloseOnInteractOutside
* feat(aria-utils): ariaShouldCloseOnInteractOutside
* chore(deps): update pnpm-lock.yaml
* feat(autocomplete): integrate with ariaShouldCloseOnInteractOutside
* feat(aria-utils): handle setShouldFocus logic
* feat(changeset): add @nextui-org/aria-utils
* chore(autocomplete): put the test into correct group
* feat(select): should close listbox by clicking another select
* feat(dropdown): should close listbox by clicking another dropdown
* feat(popover): should close listbox by clicking another popover
* feat(date-picker): should close listbox by clicking another datepicker
* chore(changeset): add issue numbers and revise changeset message
* refactor(autocomplete): change to useRef instead
* refactor(autocomplete): change to useRef instead
* refactor(aria-utils): revise comments and format code
* chore(changeset): add issue number
* chore: take popoverProps.shouldCloseOnInteractOutside first
* refactor(autocomplete): remove unnecessary logic
* refactor(autocomplete): focus management logic
* fix(components): Fix 'Tap to click' behavior on macOS with Edge/Chrome for Accordion and Tab (#2725 )
* fix(components): fix 'Tap to click' behavior on macOS
* Add change file for accordion, menu, and tabs
* Remove 'fix(components)' from the .changeset file
* fix(components): undo dropdown change now that it's no longer applicable
* fix(components): update changeset file now that we are no longer modifying the dropdown component
* fix(date-picker): corrected inert value for true condition (#3054 )
* fix(date-picker): corrected inert value for true condition #3044
* refactor(calendar): add todo comment
* feat(changeset): add changeset
---------
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(hooks): resolve type error in onKeyDown event handler (#3064 )
* fix(hooks): resolve type error in onKeyDown event handler
* chore(changeset): revise changeset
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* Update dependency array on setPage useCallback hook (#3029 )
Changes:
Add the onChangeActivePage function to the dependency array of the setPage useCallback hook to ensure it always reflects the latest state.
Impact:
This fix ensures that the pagination component accurately reflects the current state when triggering onChangeActivePage.
* fix: error peerDep in pkg (#3014 )
* fix: error peerDep in pkg
* docs: changeset
* Fix DatePicker Time Input (#2845 )
* fix(date-picker): set `isCalendarHeaderExpanded` to `false` when DatePicker is closed
* fix(date-picker): calendar header controlled state on DatePicker
* chore(date-picker): update test
* chore(date-picker): remove unnecessary `async` in test
* Update packages/components/date-picker/__tests__/date-picker.test.tsx
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(date-picker): test
* fix(hooks): optimize useScrollPosition with useCallback and useRef (#3049 )
* fix(hooks): optimize useScrollPosition with useCallback and useRef
* Update .changeset/lucky-cobras-jog.md
* Update packages/hooks/use-scroll-position/src/index.ts
* Update packages/hooks/use-scroll-position/src/index.ts
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(select): placeholder text display for controlled component (#3081 )
* fix: return placeholder when selectedItems is empty
* chore: add test and changeset
* chore(docs): v2.4.0 (#3084 )
* chore(docs): v2.4.0
* chore(docs): v2.4.0 blog
* chore(docs): revise typos based on coderabbitai
* chore(docs): adjust navbar
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* chore(changese): update @nextui-org/react dependency to minor version
* docs: update cli docs (#3096 )
* ci(changesets): version packages (#2903 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(radio): remove required attribute for Radio with validationBehavior="aria" (#3110 )
* fix(theme): add missing pointer event after data loaded (#3126 )
* fix(system): listbox href issue (experimental) (#3119 )
* fix(system): @react-aria/utils
* feat(hooks): include routerLinkProps
* feat(changeset): add changeset
* chore(deps): bump @react-aria/utils to 3.24.1
* fix(hooks): missing arguments
* chore(deps): bump @react-types/link
* chore(link): bump @react-aria/link to 3.7.1
* chore(link): use @react-aria/link instead
* chore(changeset): revise changeset
* chore(hooks): undo use-aria-link changes
* chore(deps): undo use-aria-link changes
* chore(deps): bump `@react-aria/utils` to `3.24.1`
* chore(deps): bump `@react-types/shared`
* feat: add missing router.open parameters due to router change
* chore(changeset): add new line
* chore(deps): bump `@react-types/shared` to `3.23.1`
* fix(avatar): avoid passing `disableAnimation` prop to a DOM element (#3111 )
* fix(avatar): avoid passing `disableAnimation` prop to a DOM element
* refactor(avatar): use filterDOMProps approach
* chore(avatar): remove to type import
* chore(avatar): change to shouldFilterDOMProps
* fix(docs): removed unused import & corrected prop for disabled DatePicker (#3136 )
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
* ci(changesets): version packages (#3115 )
* fix(pagination): missing animation (#3144 )
* fix tsup domain (#3158 )
* chore(docs): remove destroyInactiveTabPanel from Tab due to merge conflict (#3155 )
* fix(autocomplete): maximum update depth exceeded in autocomplete (#3175 )
* 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
* fix(docs): fix typo in autocomplete documentation page (#3182 )
* 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
* fix(tabs): destroyInactiveTabPanel unmounts inactive tabs' content (#3164 )
* fix(tabs): incorrect content in tab panel
* feat(tabs): revise destroyInactiveTabPanel test cases
* 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
* fix(tabs): set tab panel id correctly (#3246 )
* docs(tooltip): supplement correct style path (#3183 )
* docs(tooltip): supplement correct style path
* chore(docs): move the note below import tabs
* fix(use-aria-menu): link logic in useMenuItem (#3229 )
* chore(deps): bump @internationalized/date version (#3230 )
* 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
* 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
* 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
* Update regex-validation.ts (#3123 )
* Update regex-validation.ts
Fix email regex
* Update email regex input.stories.tsx
* 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 >
* 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 >
* fix(table): table-column align prop (#2900 )
* fix(navbar): fixed the height of navbar menu (#1805 )
* fix(navbar): fixed the height of navbar menu
* fix(navbar): refactored the css of navbar
* fix(navbar): fix redundant expression
* fix(navbar): fixed unnecessary changes
* fix(navbar): adjust viewport
* 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 >
* ci(changesets): version packages (#3147 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(avatar): remove extra `disableAnimation` prop in `getImageProps` (#3260 )
* fix(system-rsc): extendVariants with defaultVariants (#3299 )
* 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 >
* 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
* refactor(.github): nextui version description in bug report template (#3281 )
* refactor(.github): revise version description & placeholder
* refactor(.github): revise version description & placeholder
* chore: add accessible name to the icon button (#3300 )
* fix(radio): ensure radio input correctly references description (#3301 )
* fix(radio): ensure radio input correctly references description
* refactor: tweak test
* refactor(.github): github action warnings (#3317 )
* chore(.github): bump action versions
* refactor(autocomplete): linting
* chore(.github): without version
* fix(doc): migrated ScriptProvider component from the root level to each decendant folder (#3269 )
Co-authored-by: HaRuki Kuriwada <haruki.kuriwada@hennge.com >
* refactor(docs): fix international calendar bug (#3363 )
* refactor(docs): fix international calendar bug
* chore: update @react-aria/i18n version and update lock file
* fix(table): custom with class names storybook styles (#3344 )
* fix : #3338
* fix(table): custom with class names storybook styles
* chore(deps): pnpm-lock.yaml (#3372 )
* fix(accordion): allow cursor navigation within text (#3419 )
* fix(accordion): allow cursor navigation within text
* fix: wrong issue number
* fix(date-range-picker): input field clear error (#3409 )
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
* fix: remove autoCapitalize to prevent Firefox warning (#3376 )
* fix: remove autoCapitalize to prevent firefox warning
* chore: add changeset
* 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
* 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
* fix(select): import HiddenSelect and UseSelectProps (#3368 )
* fix(select): import HiddenSelect and UseSelectProps
* chore: merge import
* feat: eslint add rule prefer top level type import (#3354 )
* 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
* 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
* 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
* refactor(docs): sort component routes alphabetically (#3328 )
* docs(pagination): fix typo of missing "`" in doc (#3324 )
* 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
* 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 >
* 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
* 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
* 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>
* 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 >
* fix(image): optional height (#3420 )
* fix(image): optional height
* fix(image): incorrect props
* feat(changeset): add changeset
* 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
* 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 >
* 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 >
* fix: tsc errors (#3362 )
* fix: tsc error
* docs: changeset
* fix: test
* fix: test
* fix: review problem
* fix: review
* feat: add tw config to get the intelliSense (#3385 )
* feat: add tw config to get the intelliSense
* chore(deps): pnpm-lock.yaml
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* 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 >
* fix: add onClear prop to Ripple component in button custom implementation (#3439 )
* 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 >
* 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
* fix(docs): incorrect image height (#3427 )
* docs: removed show more from code example (#3373 )
* docs: removed show more from code example
* Update sandpack.css
* docs: remove-show-more
* chore(docs): remove unused code
* chore(deps): pnpm-lock.yaml
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* 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 >
* docs(frameworks): update highlighted line numbers in Frameworks examples (#3412 )
* Update highlighted line numbers in Remix examples
* Update highlighted line numbers in Next.js examples
* Update highlighted line numbers in Astro examples
* Update highlighted line numbers in Vite examples
* Adjust highlighted line number
* Adjust highlighted line number
* 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)
* ci(changesets): version packages (#3266 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(system-rsc): defaultVariants null case in extendVariants (#3503 )
* fix(system-rsc): defaultVariants null case in extendVariants
* chore(changeset): add issue number
* fix(date-range-picker): calendar-content width as per visible-months (#3505 )
* fix: normalize 'status' field values to lowercase across multiple files (#2947 )
* fix(status): normalize 'status' value to lowercase in page.tsx
* fix(status): normalize 'status' value to lowercase in use-case.ts
* fix(status): normalize 'status' value to lowercase in custom-render-value.ts
* fix(status): normalize 'status' value to lowercase in top-content.ts
* fix(status): normalize 'status' value to lowercase in multiple-chips.ts
* fix(status): normalize 'status' value to lowercase in custom-items.ts
* fix(status): normalize 'status' value to lowercase in data.ts
* fix(status): normalize 'status' value to lowercase in custom-styles.ts
* fix(status): normalize 'status' value to lowercase in page.tsx
* fix(status): normalize 'status' value to lowercase in custom-styles.ts
* fix(status): normalize 'status' value to lowercase in custom-items.ts
* fix(status): normalize 'status' value to lowercase in page.tsx
* fix(status): normalize 'status' value to lowercase in custom-styles.ts
* 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 >
* 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 >
* fix(theme): button scaling when disableAnimation is true (#3499 )
* fix(system-rsc): add @react-types/shared to dependencies (#3501 )
* fix(system-rsc): add @react-types/shared to dependencies
* fix: change pnpm lock
* fix: change pnpm lock
* fix: change pnpm lock
---------
Co-authored-by: winches <329487092@qq.com >
* build(script): fixing Clean script (#3500 )
running clean lock before clean node modules.
* ci(changesets): version packages (#3507 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (#3508 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat(chanageset): bump versions (#3512 )
* ci(changesets): version packages (#3513 )
* fix: scroll controlled dropdown
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: Shrinidhi Upadhyaya <shrinidhiupadhyaya1195@gmail.com >
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
Co-authored-by: Paul Tiedtke <PaulTiedtke@web.de >
Co-authored-by: Mohammad Reza Badri <85818966+mrbadri@users.noreply.github.com >
Co-authored-by: Nozomi-Hijikata <116155762+Nozomi-Hijikata@users.noreply.github.com >
Co-authored-by: HaRuki <soccer_haruki15@me.com >
Co-authored-by: Kaben <carnoxen@gmail.com >
Co-authored-by: Shawn Dong <dsknight@live.com.au >
Co-authored-by: Shawn Dong <shawn.dong@flybuys.com.au >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: Poli Sour <57824881+novsource@users.noreply.github.com >
Co-authored-by: Poli Sour <polisour.work@gmail.com >
Co-authored-by: Artem Pitikin <git@kosmotema.dev >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Eric Abreu <ericfabreu@gmail.com >
Co-authored-by: Minsu <52266597+Gaic4o@users.noreply.github.com >
Co-authored-by: Jesus Perdomo Lampignano <38929969+jesuzon@users.noreply.github.com >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: EGOIST <0x142857@gmail.com >
Co-authored-by: Damien Leroy <10438692+ShiiFu@users.noreply.github.com >
Co-authored-by: Christian Abele <manufaktur@christian-abele.de >
Co-authored-by: Nozomi Hijikata <121233810+nozomemein@users.noreply.github.com >
Co-authored-by: HaRuki Kuriwada <haruki.kuriwada@hennge.com >
Co-authored-by: Deval Minocha <deval.minocha24@gmail.com >
Co-authored-by: Ankit <82326089+ankitts@users.noreply.github.com >
Co-authored-by: wiyco <lumiwslab@gmail.com >
Co-authored-by: Sjoerd van Bommel <sjoerd.van.bommel@Hotmail.com >
Co-authored-by: Pratyush Kongalla <44525862+pratyush3124@users.noreply.github.com >
Co-authored-by: Pratyush <conenct2pratyush@gmail.com >
Co-authored-by: Abhinandan <abhinandanverma551@gmail.com >
Co-authored-by: KumJungMin <37934668+KumJungMin@users.noreply.github.com >
Co-authored-by: dochi <ryoon50@gmail.com >
Co-authored-by: Abhishek Tomar <104965815+abhisektomar1@users.noreply.github.com >
Co-authored-by: RockerFlower <kira@glorylab.xyz >
Co-authored-by: codeesura <120671243+codeesura@users.noreply.github.com >
Co-authored-by: Simon Podlipsky <simon@podlipsky.net >
Co-authored-by: sandeep Butte <sandeep36butte@gmail.com >
2024-07-22 09:18:45 -07:00
Junior Garcia
e9eb9491b5
Merge branch 'main' of github.com:nextui-org/nextui into canary
2024-07-20 19:04:29 -07:00
աӄա
fe62bfb6df
feat(docs): add Scrumbuiss to sponsor section ( #3496 )
...
* feat(docs): add Scrumbuiss to sponsor section
* feat(docs): add Scrumbuiss logo
* feat(docs): add sponsors from patreon
2024-07-20 19:04:18 -07:00
Junior Garcia
be507e0c41
v2.4.6 ( #3518 )
...
* chore(root): reat-aria packages updated (#2889 )
* chore(storybook): common colors enabled (#2902 )
* fix(range-calendar): hide only dates outside the month (#2906 )
* 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
* chore(changeset): patch @nextui-org/theme
---------
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(date-picker): keep date picker style consistent for different variants (#2908 )
* fix: add missing TableRowProps export (#2866 )
* fix: add missing TableRowProps export
* feat(changeset): add changeset for PR2866
* chore(changeset): revise changeset message
---------
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(input): correct label margin for RTL required inputs (#2781 )
* fix(input): correct label margin for RTL required inputs
* fix(theme): add changeset fr theme
* docs(core): add storybook and canary release info (#2914 )
* Cn utility refactor (#2915 )
* refactor(core): cn utility adjusted and moved to the theme package
* chore(root): changeset
* fix(storybook): stories that used cn
* docs(date-picker): change to jsx instead (#2919 )
* fix(switch): support uncontrolled switch in react-hook-form (#2924 )
* feat(switch): add @nextui-org/use-safe-layout-effect
* chore(deps): add @nextui-org/use-safe-layout-effect
* fix(switch): react-hook-form uncontrolled switch component
* fix(switch): react-hook-form uncontrolled switch component
* feat(switch): add rect-hook-form in dev dep
* feat(switch): add WithReactHookFormTemplate
* refactor(root): react aria packages fixed (#2944 )
* feat(docs): docs changes (#2868 )
* feat(docs): add example how to set locale (#2867 )
* docs(guide): add an explanation for the installation guide (#2769 )
* docs(guide): add an explanation for the installation guide
* docs(guide): add an explanation for the cli guide
* docs(guide): add support for cli output
* fix: change sort priority - cmdk (#2873 )
* docs: remove unsupported props in range calendar and date range picker (#2881 )
* chore(calendar): remove showMonthAndYearPickers from range calendar story
* docs(date-range-picker): remove showMonthAndYearPickers info
* docs(range-calendar): remove unsupported props
* docs: refactor typing in form.ts (#2882 )
* chore(docs): supplement errorMessage behaviour in input (#2892 )
* refactor(docs): revise NextUI Provider structure
* chore(docs): add updated tag
---------
Co-authored-by: Nozomi-Hijikata <116155762+Nozomi-Hijikata@users.noreply.github.com >
Co-authored-by: HaRuki <soccer_haruki15@me.com >
Co-authored-by: Kaben <carnoxen@gmail.com >
* fix(slider): missing marks when hideThumb is true & revise slider styles (#2883 )
* chore(slider): include marks in hideThumb
* fix(slider): revise slider styles
* feat(changeset): add changeset
* feat(slider): add tests with marks and hideThumb
* feat(test): react hook form tests & stories (#2931 )
* feat(input): add Input with React Hook Form tests
* refactor(input): add missing types
* feat(checkbox): add checkbox with React Hook Form tests
* feat(select): add react-hook-form to dev dep
* feat(select): add react hook form story
* feat(select): react hook form tests
* fix(select): incorrect button reference
* feat(deps): add react-hook-form to dev dep in autocomplete
* feat(autocomplete): react hook form story
* feat(autocomplete): react hook form tests
* fix(autocomplete): rollback wrapper type
* feat(switch): add react hook form tests
* refactor(stories): reorder stories items
* fix: update accordion item heading tag to be customizable (#2265 )
* fix: update accordion item heading tag to be customizable
* Update .changeset/heavy-hairs-join.md
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* Update .changeset/heavy-hairs-join.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* chore(accordion): lint
* chore(changeset): add issue number
* feat(docs): add HeadingComponent prop
---------
Co-authored-by: Shawn Dong <shawn.dong@flybuys.com.au >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(theme): add pointer-events-none to skeleton base (#2972 )
* feat(tabs): add `destroyInactiveTabPanel` prop for Tabs component (#2973 )
* feat(tabs): add destroyInactiveTabPanel and set default to false
* feat(tabs): integrate with destroyInactiveTabPanel
* feat(theme): hidden inert tab panel
* feat(changeset): add changeset
* chore(changeset): add issue number
* feat(docs): add `destroyInactiveTabPanel` prop to tabs page
* chore(docs): set destroyInactiveTabPanel to true by default
* chore(tabs): set destroyInactiveTabPanel to true by default
* chore(tabs): revise destroyInactiveTabPanel logic
* feat(tabs): add tests for destroyInactiveTabPanel
* chore(tabs): change the default value of destroyInactiveTabPanel to true
* refactor: add support for disabling the animation globally (#2929 )
* refactor: add support for disabling the animation globally
* chore(docs): disableAnimation removed from global provider
* feat(docs): nextui provider api updated, storybook preview adjusted
* chore(theme): button is scalable when disabled, tooltip animation improved
* fix(theme): remove origin-bottom from button (#2990 )
* fix(skeleton): overflow issue in skeleton (#2986 )
* fix(theme): set overflow visible after skeleton loaded
* feat(changeset): add changeset
* fix(table): v2 input/textarea don't allow spaces inside a table (#3020 )
* fix(table): set onKeyDownCapture to undefined
* feat(changeset): add changeset
* fix(slider): calculate the correct value on mark click (#3017 )
* fix(slider): calculate the correct value on mark click
* refactor(slider): remove the tests inside describe block
* feat(slider): add tests for thumb move on mark click
* refactor(slider): use val instead of pos
* fix(theme): revise input isInvalid styles (#3010 )
* fix(theme): revise isInvalid input styles
* feat(changeset): add changeset
* feat(date-picker): add missing ref to input wrapper (#3011 )
* fix(date-picker): add missing ref to input wrapper
* feat(changeset): add changeset
* fix(core): incorrect tailwind classnames (#3018 )
* fix(dropdown): focus behaviour on press / enter keydown (#2970 )
* fix(dropdown): set focus on the first item
* feat(dropdown): add keyboard interactions tests
* feat(changeset): add changeset
* fix(dropdown): use fireEvent.keyDown instead
* chore(deps): add @nextui-org/test-utils to dropdown
* refactor(dropdown): pass onKeyDown to menu trigger and don't hardcode autoFocus
* chore(dropdown): remove autoFocus
* fix(menu): pass userMenuProps to useTreeState and useAriaMenu and remove from getListProps
* chore(changeset): add menu package
* fix(component): update type definition to prevent primitive values as items (#2953 )
* fix: update type definition to prevent primitive values as items
* fix: typecheck
* fix(select): onSelectionChange can handle number (#2937 )
* fix: onSelectionChange type for dynamic items in Select component
* docs: remove unnecessary properties
* docs: update highlightedLines
* chore: add changeset
* fix(calendar): scrolling is hidden when changing the month (#2949 )
* fix(calendar): scrolling is hidden when changing the month
* chore(changeset): correct package name
---------
Co-authored-by: Poli Sour <polisour.work@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix: make VisuallyHidden's element type as span when it's inside phrasing element (#3013 )
* fix(checkbox): make VisuallyHidden's element type as span
* feat(changeset): add changeset
* fix(radio): make the VisuallyHidden element type as span
* fix(switch): make the VisuallyHidden element type as span
* fix(select): make the VisuallyHidden element type as span
* feat(changeset): replace changeset
* chore: fix formatting
* docs: sync nextui-cli api (#3035 )
* docs: sync nextui-cli api
* docs: update
* chore: update routes.json with new path and set updated flag
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat: switch default validationBehavior to aria and allow switching via props (#2987 )
* chore: add support validationBehavior aria
* chore: add validationBehavior to Provider
* chore: add autocomplete validation test
* chore: add checkbox validation test
* fix(input): require condition
* docs: add description of validationBehavior props
* chore: add support validationBehavior props for date components
* docs(dates): add description of validationBehavior props
* chore: add changeset
* chore: format
* chore: fix test
* fix: select validationBehavior is not support yet
* fix: select validationBehavior not supported yet
* chore(docs): validation behavior prop added to nextui-provider
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: popover-based focus behaviour (#2854 )
* fix(autocomplete): autocomplete focus behaviour
* feat(autocomplete): add test case for catching blur cases
* refactor(autocomplete): use isOpen instead
* feat(autocomplete): add "should focus when clicking autocomplete" test case
* feat(autocomplete): add should set the input after selection
* fix(autocomplete): remove shouldUseVirtualFocus
* fix(autocomplete): uncomment blur logic
* refactor(autocomplete): remove state as it is in getPopoverProps
* refactor(autocomplete): remove unnecessary blur
* refactor(select): remove unncessary props
* fix(popover): use domRef instead
* fix(popover): revise isNonModal and isDismissable
* fix(popover): use dialogRef back
* fix(popover): rollback
* fix(autocomplete): onFocus logic
* feat(popover): set disableFocusManagement to overlay
* feat(modal): set disableFocusManagement to overlay
* fix(autocomplete): set disableFocusManagement for autocomplete
* feat(popover): include disableFocusManagement prop
* refactor(autocomplete): revise type in selectorButton
* fix(autocomplete): revise focus logic
* feat(autocomplete): add internal focus state and add shouldCloseOnInteractOutside
* feat(autocomplete): handle selectedItem change
* feat(autocomplete): add clear button test
* feat(changeset): add changeset
* refactor(components): use the original order
* refactor(autocomplete): add more comments
* fix(autocomplete): revise focus behaviours
* refactor(autocomplete): rename to listbox
* chore(popover): remove disableFocusManagement from popover
* chore(autocomplete): remove disableFocusManagement from autocomplete
* chore(changeset): add issue number
* fix(popover): don't set default value to transformOrigin
* fix(autocomplete): revise shouldCloseOnInteractOutside logic
* feat(autocomplete): should close listbox by clicking another autocomplete
* fix(popover): add disableFocusManagement to overlay
* refactor(autocomplete): revise comments and refactor shouldCloseOnInteractOutside
* feat(changeset): add issue number
* fix(autocomplete): merge with selectorButtonProps.onClick
* refactor(autocomplete): remove extra line
* refactor(autocomplete): revise comment
* feat(select): add shouldCloseOnInteractOutside
* feat(dropdown): add shouldCloseOnInteractOutside
* feat(date-picker): add shouldCloseOnInteractOutside
* feat(changeset): add dropdown and date-picker
* fix(popover): revise shouldCloseOnInteractOutside
* feat(date-picker): integrate with ariaShouldCloseOnInteractOutside
* feat(select): integrate with ariaShouldCloseOnInteractOutside
* feat(dropdown): integrate with ariaShouldCloseOnInteractOutside
* feat(popover): integrate with ariaShouldCloseOnInteractOutside
* feat(aria-utils): ariaShouldCloseOnInteractOutside
* chore(deps): update pnpm-lock.yaml
* feat(autocomplete): integrate with ariaShouldCloseOnInteractOutside
* feat(aria-utils): handle setShouldFocus logic
* feat(changeset): add @nextui-org/aria-utils
* chore(autocomplete): put the test into correct group
* feat(select): should close listbox by clicking another select
* feat(dropdown): should close listbox by clicking another dropdown
* feat(popover): should close listbox by clicking another popover
* feat(date-picker): should close listbox by clicking another datepicker
* chore(changeset): add issue numbers and revise changeset message
* refactor(autocomplete): change to useRef instead
* refactor(autocomplete): change to useRef instead
* refactor(aria-utils): revise comments and format code
* chore(changeset): add issue number
* chore: take popoverProps.shouldCloseOnInteractOutside first
* refactor(autocomplete): remove unnecessary logic
* refactor(autocomplete): focus management logic
* fix(components): Fix 'Tap to click' behavior on macOS with Edge/Chrome for Accordion and Tab (#2725 )
* fix(components): fix 'Tap to click' behavior on macOS
* Add change file for accordion, menu, and tabs
* Remove 'fix(components)' from the .changeset file
* fix(components): undo dropdown change now that it's no longer applicable
* fix(components): update changeset file now that we are no longer modifying the dropdown component
* fix(date-picker): corrected inert value for true condition (#3054 )
* fix(date-picker): corrected inert value for true condition #3044
* refactor(calendar): add todo comment
* feat(changeset): add changeset
---------
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(hooks): resolve type error in onKeyDown event handler (#3064 )
* fix(hooks): resolve type error in onKeyDown event handler
* chore(changeset): revise changeset
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* Update dependency array on setPage useCallback hook (#3029 )
Changes:
Add the onChangeActivePage function to the dependency array of the setPage useCallback hook to ensure it always reflects the latest state.
Impact:
This fix ensures that the pagination component accurately reflects the current state when triggering onChangeActivePage.
* fix: error peerDep in pkg (#3014 )
* fix: error peerDep in pkg
* docs: changeset
* Fix DatePicker Time Input (#2845 )
* fix(date-picker): set `isCalendarHeaderExpanded` to `false` when DatePicker is closed
* fix(date-picker): calendar header controlled state on DatePicker
* chore(date-picker): update test
* chore(date-picker): remove unnecessary `async` in test
* Update packages/components/date-picker/__tests__/date-picker.test.tsx
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(date-picker): test
* fix(hooks): optimize useScrollPosition with useCallback and useRef (#3049 )
* fix(hooks): optimize useScrollPosition with useCallback and useRef
* Update .changeset/lucky-cobras-jog.md
* Update packages/hooks/use-scroll-position/src/index.ts
* Update packages/hooks/use-scroll-position/src/index.ts
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(select): placeholder text display for controlled component (#3081 )
* fix: return placeholder when selectedItems is empty
* chore: add test and changeset
* chore(docs): v2.4.0 (#3084 )
* chore(docs): v2.4.0
* chore(docs): v2.4.0 blog
* chore(docs): revise typos based on coderabbitai
* chore(docs): adjust navbar
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* chore(changese): update @nextui-org/react dependency to minor version
* docs: update cli docs (#3096 )
* ci(changesets): version packages (#2903 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(radio): remove required attribute for Radio with validationBehavior="aria" (#3110 )
* fix(theme): add missing pointer event after data loaded (#3126 )
* fix(system): listbox href issue (experimental) (#3119 )
* fix(system): @react-aria/utils
* feat(hooks): include routerLinkProps
* feat(changeset): add changeset
* chore(deps): bump @react-aria/utils to 3.24.1
* fix(hooks): missing arguments
* chore(deps): bump @react-types/link
* chore(link): bump @react-aria/link to 3.7.1
* chore(link): use @react-aria/link instead
* chore(changeset): revise changeset
* chore(hooks): undo use-aria-link changes
* chore(deps): undo use-aria-link changes
* chore(deps): bump `@react-aria/utils` to `3.24.1`
* chore(deps): bump `@react-types/shared`
* feat: add missing router.open parameters due to router change
* chore(changeset): add new line
* chore(deps): bump `@react-types/shared` to `3.23.1`
* fix(avatar): avoid passing `disableAnimation` prop to a DOM element (#3111 )
* fix(avatar): avoid passing `disableAnimation` prop to a DOM element
* refactor(avatar): use filterDOMProps approach
* chore(avatar): remove to type import
* chore(avatar): change to shouldFilterDOMProps
* fix(docs): removed unused import & corrected prop for disabled DatePicker (#3136 )
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
* ci(changesets): version packages (#3115 )
* fix(pagination): missing animation (#3144 )
* fix tsup domain (#3158 )
* chore(docs): remove destroyInactiveTabPanel from Tab due to merge conflict (#3155 )
* fix(autocomplete): maximum update depth exceeded in autocomplete (#3175 )
* 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
* fix(docs): fix typo in autocomplete documentation page (#3182 )
* 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
* fix(tabs): destroyInactiveTabPanel unmounts inactive tabs' content (#3164 )
* fix(tabs): incorrect content in tab panel
* feat(tabs): revise destroyInactiveTabPanel test cases
* 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
* fix(tabs): set tab panel id correctly (#3246 )
* docs(tooltip): supplement correct style path (#3183 )
* docs(tooltip): supplement correct style path
* chore(docs): move the note below import tabs
* fix(use-aria-menu): link logic in useMenuItem (#3229 )
* chore(deps): bump @internationalized/date version (#3230 )
* 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
* 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
* 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
* Update regex-validation.ts (#3123 )
* Update regex-validation.ts
Fix email regex
* Update email regex input.stories.tsx
* 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 >
* 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 >
* fix(table): table-column align prop (#2900 )
* fix(navbar): fixed the height of navbar menu (#1805 )
* fix(navbar): fixed the height of navbar menu
* fix(navbar): refactored the css of navbar
* fix(navbar): fix redundant expression
* fix(navbar): fixed unnecessary changes
* fix(navbar): adjust viewport
* 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 >
* ci(changesets): version packages (#3147 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(avatar): remove extra `disableAnimation` prop in `getImageProps` (#3260 )
* fix(system-rsc): extendVariants with defaultVariants (#3299 )
* 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 >
* 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
* refactor(.github): nextui version description in bug report template (#3281 )
* refactor(.github): revise version description & placeholder
* refactor(.github): revise version description & placeholder
* chore: add accessible name to the icon button (#3300 )
* fix(radio): ensure radio input correctly references description (#3301 )
* fix(radio): ensure radio input correctly references description
* refactor: tweak test
* refactor(.github): github action warnings (#3317 )
* chore(.github): bump action versions
* refactor(autocomplete): linting
* chore(.github): without version
* fix(doc): migrated ScriptProvider component from the root level to each decendant folder (#3269 )
Co-authored-by: HaRuki Kuriwada <haruki.kuriwada@hennge.com >
* refactor(docs): fix international calendar bug (#3363 )
* refactor(docs): fix international calendar bug
* chore: update @react-aria/i18n version and update lock file
* fix(table): custom with class names storybook styles (#3344 )
* fix : #3338
* fix(table): custom with class names storybook styles
* chore(deps): pnpm-lock.yaml (#3372 )
* fix(accordion): allow cursor navigation within text (#3419 )
* fix(accordion): allow cursor navigation within text
* fix: wrong issue number
* fix(date-range-picker): input field clear error (#3409 )
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
* fix: remove autoCapitalize to prevent Firefox warning (#3376 )
* fix: remove autoCapitalize to prevent firefox warning
* chore: add changeset
* 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
* 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
* fix(select): import HiddenSelect and UseSelectProps (#3368 )
* fix(select): import HiddenSelect and UseSelectProps
* chore: merge import
* feat: eslint add rule prefer top level type import (#3354 )
* 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
* 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
* 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
* refactor(docs): sort component routes alphabetically (#3328 )
* docs(pagination): fix typo of missing "`" in doc (#3324 )
* 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
* 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 >
* 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
* 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
* 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>
* 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 >
* fix(image): optional height (#3420 )
* fix(image): optional height
* fix(image): incorrect props
* feat(changeset): add changeset
* 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
* 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 >
* 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 >
* fix: tsc errors (#3362 )
* fix: tsc error
* docs: changeset
* fix: test
* fix: test
* fix: review problem
* fix: review
* feat: add tw config to get the intelliSense (#3385 )
* feat: add tw config to get the intelliSense
* chore(deps): pnpm-lock.yaml
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* 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 >
* fix: add onClear prop to Ripple component in button custom implementation (#3439 )
* 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 >
* 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
* fix(docs): incorrect image height (#3427 )
* docs: removed show more from code example (#3373 )
* docs: removed show more from code example
* Update sandpack.css
* docs: remove-show-more
* chore(docs): remove unused code
* chore(deps): pnpm-lock.yaml
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* 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 >
* docs(frameworks): update highlighted line numbers in Frameworks examples (#3412 )
* Update highlighted line numbers in Remix examples
* Update highlighted line numbers in Next.js examples
* Update highlighted line numbers in Astro examples
* Update highlighted line numbers in Vite examples
* Adjust highlighted line number
* Adjust highlighted line number
* 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)
* ci(changesets): version packages (#3266 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(system-rsc): defaultVariants null case in extendVariants (#3503 )
* fix(system-rsc): defaultVariants null case in extendVariants
* chore(changeset): add issue number
* fix(date-range-picker): calendar-content width as per visible-months (#3505 )
* fix: normalize 'status' field values to lowercase across multiple files (#2947 )
* fix(status): normalize 'status' value to lowercase in page.tsx
* fix(status): normalize 'status' value to lowercase in use-case.ts
* fix(status): normalize 'status' value to lowercase in custom-render-value.ts
* fix(status): normalize 'status' value to lowercase in top-content.ts
* fix(status): normalize 'status' value to lowercase in multiple-chips.ts
* fix(status): normalize 'status' value to lowercase in custom-items.ts
* fix(status): normalize 'status' value to lowercase in data.ts
* fix(status): normalize 'status' value to lowercase in custom-styles.ts
* fix(status): normalize 'status' value to lowercase in page.tsx
* fix(status): normalize 'status' value to lowercase in custom-styles.ts
* fix(status): normalize 'status' value to lowercase in custom-items.ts
* fix(status): normalize 'status' value to lowercase in page.tsx
* fix(status): normalize 'status' value to lowercase in custom-styles.ts
* 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 >
* 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 >
* fix(theme): button scaling when disableAnimation is true (#3499 )
* fix(system-rsc): add @react-types/shared to dependencies (#3501 )
* fix(system-rsc): add @react-types/shared to dependencies
* fix: change pnpm lock
* fix: change pnpm lock
* fix: change pnpm lock
---------
Co-authored-by: winches <329487092@qq.com >
* build(script): fixing Clean script (#3500 )
running clean lock before clean node modules.
* ci(changesets): version packages (#3507 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (#3508 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat(chanageset): bump versions (#3512 )
* ci(changesets): version packages (#3513 )
---------
Co-authored-by: Shrinidhi Upadhyaya <shrinidhiupadhyaya1195@gmail.com >
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
Co-authored-by: Paul Tiedtke <PaulTiedtke@web.de >
Co-authored-by: Mohammad Reza Badri <85818966+mrbadri@users.noreply.github.com >
Co-authored-by: Nozomi-Hijikata <116155762+Nozomi-Hijikata@users.noreply.github.com >
Co-authored-by: HaRuki <soccer_haruki15@me.com >
Co-authored-by: Kaben <carnoxen@gmail.com >
Co-authored-by: Shawn Dong <dsknight@live.com.au >
Co-authored-by: Shawn Dong <shawn.dong@flybuys.com.au >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: Poli Sour <57824881+novsource@users.noreply.github.com >
Co-authored-by: Poli Sour <polisour.work@gmail.com >
Co-authored-by: Artem Pitikin <git@kosmotema.dev >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Eric Abreu <ericfabreu@gmail.com >
Co-authored-by: Minsu <52266597+Gaic4o@users.noreply.github.com >
Co-authored-by: Jesus Perdomo Lampignano <38929969+jesuzon@users.noreply.github.com >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: EGOIST <0x142857@gmail.com >
Co-authored-by: Damien Leroy <10438692+ShiiFu@users.noreply.github.com >
Co-authored-by: Christian Abele <manufaktur@christian-abele.de >
Co-authored-by: Nozomi Hijikata <121233810+nozomemein@users.noreply.github.com >
Co-authored-by: HaRuki Kuriwada <haruki.kuriwada@hennge.com >
Co-authored-by: Deval Minocha <deval.minocha24@gmail.com >
Co-authored-by: Ankit <82326089+ankitts@users.noreply.github.com >
Co-authored-by: wiyco <lumiwslab@gmail.com >
Co-authored-by: Sjoerd van Bommel <sjoerd.van.bommel@Hotmail.com >
Co-authored-by: Pratyush Kongalla <44525862+pratyush3124@users.noreply.github.com >
Co-authored-by: Pratyush <conenct2pratyush@gmail.com >
Co-authored-by: Abhinandan <abhinandanverma551@gmail.com >
Co-authored-by: KumJungMin <37934668+KumJungMin@users.noreply.github.com >
Co-authored-by: dochi <ryoon50@gmail.com >
Co-authored-by: Abhishek Tomar <104965815+abhisektomar1@users.noreply.github.com >
Co-authored-by: RockerFlower <kira@glorylab.xyz >
Co-authored-by: codeesura <120671243+codeesura@users.noreply.github.com >
Co-authored-by: Simon Podlipsky <simon@podlipsky.net >
Co-authored-by: sandeep Butte <sandeep36butte@gmail.com >
2024-07-20 19:01:34 -07:00
Junior Garcia
e67b02845d
chore: merged with main
2024-07-20 18:53:51 -07:00
github-actions[bot]
f052c34d47
ci(changesets): version packages ( #3513 )
2024-07-19 08:20:08 -07:00
աӄա
2d2d300a12
feat(chanageset): bump versions ( #3512 )
2024-07-19 08:13:05 -07:00
Junior Garcia
f283b2c67e
v2.4.5 ( #3509 )
...
* chore(root): reat-aria packages updated (#2889 )
* chore(storybook): common colors enabled (#2902 )
* fix(range-calendar): hide only dates outside the month (#2906 )
* 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
* chore(changeset): patch @nextui-org/theme
---------
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(date-picker): keep date picker style consistent for different variants (#2908 )
* fix: add missing TableRowProps export (#2866 )
* fix: add missing TableRowProps export
* feat(changeset): add changeset for PR2866
* chore(changeset): revise changeset message
---------
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(input): correct label margin for RTL required inputs (#2781 )
* fix(input): correct label margin for RTL required inputs
* fix(theme): add changeset fr theme
* docs(core): add storybook and canary release info (#2914 )
* Cn utility refactor (#2915 )
* refactor(core): cn utility adjusted and moved to the theme package
* chore(root): changeset
* fix(storybook): stories that used cn
* docs(date-picker): change to jsx instead (#2919 )
* fix(switch): support uncontrolled switch in react-hook-form (#2924 )
* feat(switch): add @nextui-org/use-safe-layout-effect
* chore(deps): add @nextui-org/use-safe-layout-effect
* fix(switch): react-hook-form uncontrolled switch component
* fix(switch): react-hook-form uncontrolled switch component
* feat(switch): add rect-hook-form in dev dep
* feat(switch): add WithReactHookFormTemplate
* refactor(root): react aria packages fixed (#2944 )
* feat(docs): docs changes (#2868 )
* feat(docs): add example how to set locale (#2867 )
* docs(guide): add an explanation for the installation guide (#2769 )
* docs(guide): add an explanation for the installation guide
* docs(guide): add an explanation for the cli guide
* docs(guide): add support for cli output
* fix: change sort priority - cmdk (#2873 )
* docs: remove unsupported props in range calendar and date range picker (#2881 )
* chore(calendar): remove showMonthAndYearPickers from range calendar story
* docs(date-range-picker): remove showMonthAndYearPickers info
* docs(range-calendar): remove unsupported props
* docs: refactor typing in form.ts (#2882 )
* chore(docs): supplement errorMessage behaviour in input (#2892 )
* refactor(docs): revise NextUI Provider structure
* chore(docs): add updated tag
---------
Co-authored-by: Nozomi-Hijikata <116155762+Nozomi-Hijikata@users.noreply.github.com >
Co-authored-by: HaRuki <soccer_haruki15@me.com >
Co-authored-by: Kaben <carnoxen@gmail.com >
* fix(slider): missing marks when hideThumb is true & revise slider styles (#2883 )
* chore(slider): include marks in hideThumb
* fix(slider): revise slider styles
* feat(changeset): add changeset
* feat(slider): add tests with marks and hideThumb
* feat(test): react hook form tests & stories (#2931 )
* feat(input): add Input with React Hook Form tests
* refactor(input): add missing types
* feat(checkbox): add checkbox with React Hook Form tests
* feat(select): add react-hook-form to dev dep
* feat(select): add react hook form story
* feat(select): react hook form tests
* fix(select): incorrect button reference
* feat(deps): add react-hook-form to dev dep in autocomplete
* feat(autocomplete): react hook form story
* feat(autocomplete): react hook form tests
* fix(autocomplete): rollback wrapper type
* feat(switch): add react hook form tests
* refactor(stories): reorder stories items
* fix: update accordion item heading tag to be customizable (#2265 )
* fix: update accordion item heading tag to be customizable
* Update .changeset/heavy-hairs-join.md
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* Update .changeset/heavy-hairs-join.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* chore(accordion): lint
* chore(changeset): add issue number
* feat(docs): add HeadingComponent prop
---------
Co-authored-by: Shawn Dong <shawn.dong@flybuys.com.au >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(theme): add pointer-events-none to skeleton base (#2972 )
* feat(tabs): add `destroyInactiveTabPanel` prop for Tabs component (#2973 )
* feat(tabs): add destroyInactiveTabPanel and set default to false
* feat(tabs): integrate with destroyInactiveTabPanel
* feat(theme): hidden inert tab panel
* feat(changeset): add changeset
* chore(changeset): add issue number
* feat(docs): add `destroyInactiveTabPanel` prop to tabs page
* chore(docs): set destroyInactiveTabPanel to true by default
* chore(tabs): set destroyInactiveTabPanel to true by default
* chore(tabs): revise destroyInactiveTabPanel logic
* feat(tabs): add tests for destroyInactiveTabPanel
* chore(tabs): change the default value of destroyInactiveTabPanel to true
* refactor: add support for disabling the animation globally (#2929 )
* refactor: add support for disabling the animation globally
* chore(docs): disableAnimation removed from global provider
* feat(docs): nextui provider api updated, storybook preview adjusted
* chore(theme): button is scalable when disabled, tooltip animation improved
* fix(theme): remove origin-bottom from button (#2990 )
* fix(skeleton): overflow issue in skeleton (#2986 )
* fix(theme): set overflow visible after skeleton loaded
* feat(changeset): add changeset
* fix(table): v2 input/textarea don't allow spaces inside a table (#3020 )
* fix(table): set onKeyDownCapture to undefined
* feat(changeset): add changeset
* fix(slider): calculate the correct value on mark click (#3017 )
* fix(slider): calculate the correct value on mark click
* refactor(slider): remove the tests inside describe block
* feat(slider): add tests for thumb move on mark click
* refactor(slider): use val instead of pos
* fix(theme): revise input isInvalid styles (#3010 )
* fix(theme): revise isInvalid input styles
* feat(changeset): add changeset
* feat(date-picker): add missing ref to input wrapper (#3011 )
* fix(date-picker): add missing ref to input wrapper
* feat(changeset): add changeset
* fix(core): incorrect tailwind classnames (#3018 )
* fix(dropdown): focus behaviour on press / enter keydown (#2970 )
* fix(dropdown): set focus on the first item
* feat(dropdown): add keyboard interactions tests
* feat(changeset): add changeset
* fix(dropdown): use fireEvent.keyDown instead
* chore(deps): add @nextui-org/test-utils to dropdown
* refactor(dropdown): pass onKeyDown to menu trigger and don't hardcode autoFocus
* chore(dropdown): remove autoFocus
* fix(menu): pass userMenuProps to useTreeState and useAriaMenu and remove from getListProps
* chore(changeset): add menu package
* fix(component): update type definition to prevent primitive values as items (#2953 )
* fix: update type definition to prevent primitive values as items
* fix: typecheck
* fix(select): onSelectionChange can handle number (#2937 )
* fix: onSelectionChange type for dynamic items in Select component
* docs: remove unnecessary properties
* docs: update highlightedLines
* chore: add changeset
* fix(calendar): scrolling is hidden when changing the month (#2949 )
* fix(calendar): scrolling is hidden when changing the month
* chore(changeset): correct package name
---------
Co-authored-by: Poli Sour <polisour.work@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix: make VisuallyHidden's element type as span when it's inside phrasing element (#3013 )
* fix(checkbox): make VisuallyHidden's element type as span
* feat(changeset): add changeset
* fix(radio): make the VisuallyHidden element type as span
* fix(switch): make the VisuallyHidden element type as span
* fix(select): make the VisuallyHidden element type as span
* feat(changeset): replace changeset
* chore: fix formatting
* docs: sync nextui-cli api (#3035 )
* docs: sync nextui-cli api
* docs: update
* chore: update routes.json with new path and set updated flag
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat: switch default validationBehavior to aria and allow switching via props (#2987 )
* chore: add support validationBehavior aria
* chore: add validationBehavior to Provider
* chore: add autocomplete validation test
* chore: add checkbox validation test
* fix(input): require condition
* docs: add description of validationBehavior props
* chore: add support validationBehavior props for date components
* docs(dates): add description of validationBehavior props
* chore: add changeset
* chore: format
* chore: fix test
* fix: select validationBehavior is not support yet
* fix: select validationBehavior not supported yet
* chore(docs): validation behavior prop added to nextui-provider
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: popover-based focus behaviour (#2854 )
* fix(autocomplete): autocomplete focus behaviour
* feat(autocomplete): add test case for catching blur cases
* refactor(autocomplete): use isOpen instead
* feat(autocomplete): add "should focus when clicking autocomplete" test case
* feat(autocomplete): add should set the input after selection
* fix(autocomplete): remove shouldUseVirtualFocus
* fix(autocomplete): uncomment blur logic
* refactor(autocomplete): remove state as it is in getPopoverProps
* refactor(autocomplete): remove unnecessary blur
* refactor(select): remove unncessary props
* fix(popover): use domRef instead
* fix(popover): revise isNonModal and isDismissable
* fix(popover): use dialogRef back
* fix(popover): rollback
* fix(autocomplete): onFocus logic
* feat(popover): set disableFocusManagement to overlay
* feat(modal): set disableFocusManagement to overlay
* fix(autocomplete): set disableFocusManagement for autocomplete
* feat(popover): include disableFocusManagement prop
* refactor(autocomplete): revise type in selectorButton
* fix(autocomplete): revise focus logic
* feat(autocomplete): add internal focus state and add shouldCloseOnInteractOutside
* feat(autocomplete): handle selectedItem change
* feat(autocomplete): add clear button test
* feat(changeset): add changeset
* refactor(components): use the original order
* refactor(autocomplete): add more comments
* fix(autocomplete): revise focus behaviours
* refactor(autocomplete): rename to listbox
* chore(popover): remove disableFocusManagement from popover
* chore(autocomplete): remove disableFocusManagement from autocomplete
* chore(changeset): add issue number
* fix(popover): don't set default value to transformOrigin
* fix(autocomplete): revise shouldCloseOnInteractOutside logic
* feat(autocomplete): should close listbox by clicking another autocomplete
* fix(popover): add disableFocusManagement to overlay
* refactor(autocomplete): revise comments and refactor shouldCloseOnInteractOutside
* feat(changeset): add issue number
* fix(autocomplete): merge with selectorButtonProps.onClick
* refactor(autocomplete): remove extra line
* refactor(autocomplete): revise comment
* feat(select): add shouldCloseOnInteractOutside
* feat(dropdown): add shouldCloseOnInteractOutside
* feat(date-picker): add shouldCloseOnInteractOutside
* feat(changeset): add dropdown and date-picker
* fix(popover): revise shouldCloseOnInteractOutside
* feat(date-picker): integrate with ariaShouldCloseOnInteractOutside
* feat(select): integrate with ariaShouldCloseOnInteractOutside
* feat(dropdown): integrate with ariaShouldCloseOnInteractOutside
* feat(popover): integrate with ariaShouldCloseOnInteractOutside
* feat(aria-utils): ariaShouldCloseOnInteractOutside
* chore(deps): update pnpm-lock.yaml
* feat(autocomplete): integrate with ariaShouldCloseOnInteractOutside
* feat(aria-utils): handle setShouldFocus logic
* feat(changeset): add @nextui-org/aria-utils
* chore(autocomplete): put the test into correct group
* feat(select): should close listbox by clicking another select
* feat(dropdown): should close listbox by clicking another dropdown
* feat(popover): should close listbox by clicking another popover
* feat(date-picker): should close listbox by clicking another datepicker
* chore(changeset): add issue numbers and revise changeset message
* refactor(autocomplete): change to useRef instead
* refactor(autocomplete): change to useRef instead
* refactor(aria-utils): revise comments and format code
* chore(changeset): add issue number
* chore: take popoverProps.shouldCloseOnInteractOutside first
* refactor(autocomplete): remove unnecessary logic
* refactor(autocomplete): focus management logic
* fix(components): Fix 'Tap to click' behavior on macOS with Edge/Chrome for Accordion and Tab (#2725 )
* fix(components): fix 'Tap to click' behavior on macOS
* Add change file for accordion, menu, and tabs
* Remove 'fix(components)' from the .changeset file
* fix(components): undo dropdown change now that it's no longer applicable
* fix(components): update changeset file now that we are no longer modifying the dropdown component
* fix(date-picker): corrected inert value for true condition (#3054 )
* fix(date-picker): corrected inert value for true condition #3044
* refactor(calendar): add todo comment
* feat(changeset): add changeset
---------
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(hooks): resolve type error in onKeyDown event handler (#3064 )
* fix(hooks): resolve type error in onKeyDown event handler
* chore(changeset): revise changeset
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* Update dependency array on setPage useCallback hook (#3029 )
Changes:
Add the onChangeActivePage function to the dependency array of the setPage useCallback hook to ensure it always reflects the latest state.
Impact:
This fix ensures that the pagination component accurately reflects the current state when triggering onChangeActivePage.
* fix: error peerDep in pkg (#3014 )
* fix: error peerDep in pkg
* docs: changeset
* Fix DatePicker Time Input (#2845 )
* fix(date-picker): set `isCalendarHeaderExpanded` to `false` when DatePicker is closed
* fix(date-picker): calendar header controlled state on DatePicker
* chore(date-picker): update test
* chore(date-picker): remove unnecessary `async` in test
* Update packages/components/date-picker/__tests__/date-picker.test.tsx
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(date-picker): test
* fix(hooks): optimize useScrollPosition with useCallback and useRef (#3049 )
* fix(hooks): optimize useScrollPosition with useCallback and useRef
* Update .changeset/lucky-cobras-jog.md
* Update packages/hooks/use-scroll-position/src/index.ts
* Update packages/hooks/use-scroll-position/src/index.ts
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(select): placeholder text display for controlled component (#3081 )
* fix: return placeholder when selectedItems is empty
* chore: add test and changeset
* chore(docs): v2.4.0 (#3084 )
* chore(docs): v2.4.0
* chore(docs): v2.4.0 blog
* chore(docs): revise typos based on coderabbitai
* chore(docs): adjust navbar
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* chore(changese): update @nextui-org/react dependency to minor version
* docs: update cli docs (#3096 )
* ci(changesets): version packages (#2903 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(radio): remove required attribute for Radio with validationBehavior="aria" (#3110 )
* fix(theme): add missing pointer event after data loaded (#3126 )
* fix(system): listbox href issue (experimental) (#3119 )
* fix(system): @react-aria/utils
* feat(hooks): include routerLinkProps
* feat(changeset): add changeset
* chore(deps): bump @react-aria/utils to 3.24.1
* fix(hooks): missing arguments
* chore(deps): bump @react-types/link
* chore(link): bump @react-aria/link to 3.7.1
* chore(link): use @react-aria/link instead
* chore(changeset): revise changeset
* chore(hooks): undo use-aria-link changes
* chore(deps): undo use-aria-link changes
* chore(deps): bump `@react-aria/utils` to `3.24.1`
* chore(deps): bump `@react-types/shared`
* feat: add missing router.open parameters due to router change
* chore(changeset): add new line
* chore(deps): bump `@react-types/shared` to `3.23.1`
* fix(avatar): avoid passing `disableAnimation` prop to a DOM element (#3111 )
* fix(avatar): avoid passing `disableAnimation` prop to a DOM element
* refactor(avatar): use filterDOMProps approach
* chore(avatar): remove to type import
* chore(avatar): change to shouldFilterDOMProps
* fix(docs): removed unused import & corrected prop for disabled DatePicker (#3136 )
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
* ci(changesets): version packages (#3115 )
* fix(pagination): missing animation (#3144 )
* fix tsup domain (#3158 )
* chore(docs): remove destroyInactiveTabPanel from Tab due to merge conflict (#3155 )
* fix(autocomplete): maximum update depth exceeded in autocomplete (#3175 )
* 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
* fix(docs): fix typo in autocomplete documentation page (#3182 )
* 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
* fix(tabs): destroyInactiveTabPanel unmounts inactive tabs' content (#3164 )
* fix(tabs): incorrect content in tab panel
* feat(tabs): revise destroyInactiveTabPanel test cases
* 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
* fix(tabs): set tab panel id correctly (#3246 )
* docs(tooltip): supplement correct style path (#3183 )
* docs(tooltip): supplement correct style path
* chore(docs): move the note below import tabs
* fix(use-aria-menu): link logic in useMenuItem (#3229 )
* chore(deps): bump @internationalized/date version (#3230 )
* 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
* 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
* 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
* Update regex-validation.ts (#3123 )
* Update regex-validation.ts
Fix email regex
* Update email regex input.stories.tsx
* 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 >
* 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 >
* fix(table): table-column align prop (#2900 )
* fix(navbar): fixed the height of navbar menu (#1805 )
* fix(navbar): fixed the height of navbar menu
* fix(navbar): refactored the css of navbar
* fix(navbar): fix redundant expression
* fix(navbar): fixed unnecessary changes
* fix(navbar): adjust viewport
* 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 >
* ci(changesets): version packages (#3147 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(avatar): remove extra `disableAnimation` prop in `getImageProps` (#3260 )
* fix(system-rsc): extendVariants with defaultVariants (#3299 )
* 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 >
* 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
* refactor(.github): nextui version description in bug report template (#3281 )
* refactor(.github): revise version description & placeholder
* refactor(.github): revise version description & placeholder
* chore: add accessible name to the icon button (#3300 )
* fix(radio): ensure radio input correctly references description (#3301 )
* fix(radio): ensure radio input correctly references description
* refactor: tweak test
* refactor(.github): github action warnings (#3317 )
* chore(.github): bump action versions
* refactor(autocomplete): linting
* chore(.github): without version
* fix(doc): migrated ScriptProvider component from the root level to each decendant folder (#3269 )
Co-authored-by: HaRuki Kuriwada <haruki.kuriwada@hennge.com >
* refactor(docs): fix international calendar bug (#3363 )
* refactor(docs): fix international calendar bug
* chore: update @react-aria/i18n version and update lock file
* fix(table): custom with class names storybook styles (#3344 )
* fix : #3338
* fix(table): custom with class names storybook styles
* chore(deps): pnpm-lock.yaml (#3372 )
* fix(accordion): allow cursor navigation within text (#3419 )
* fix(accordion): allow cursor navigation within text
* fix: wrong issue number
* fix(date-range-picker): input field clear error (#3409 )
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
* fix: remove autoCapitalize to prevent Firefox warning (#3376 )
* fix: remove autoCapitalize to prevent firefox warning
* chore: add changeset
* 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
* 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
* fix(select): import HiddenSelect and UseSelectProps (#3368 )
* fix(select): import HiddenSelect and UseSelectProps
* chore: merge import
* feat: eslint add rule prefer top level type import (#3354 )
* 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
* 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
* 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
* refactor(docs): sort component routes alphabetically (#3328 )
* docs(pagination): fix typo of missing "`" in doc (#3324 )
* 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
* 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 >
* 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
* 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
* 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>
* 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 >
* fix(image): optional height (#3420 )
* fix(image): optional height
* fix(image): incorrect props
* feat(changeset): add changeset
* 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
* 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 >
* 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 >
* fix: tsc errors (#3362 )
* fix: tsc error
* docs: changeset
* fix: test
* fix: test
* fix: review problem
* fix: review
* feat: add tw config to get the intelliSense (#3385 )
* feat: add tw config to get the intelliSense
* chore(deps): pnpm-lock.yaml
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* 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 >
* fix: add onClear prop to Ripple component in button custom implementation (#3439 )
* 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 >
* 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
* fix(docs): incorrect image height (#3427 )
* docs: removed show more from code example (#3373 )
* docs: removed show more from code example
* Update sandpack.css
* docs: remove-show-more
* chore(docs): remove unused code
* chore(deps): pnpm-lock.yaml
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* 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 >
* docs(frameworks): update highlighted line numbers in Frameworks examples (#3412 )
* Update highlighted line numbers in Remix examples
* Update highlighted line numbers in Next.js examples
* Update highlighted line numbers in Astro examples
* Update highlighted line numbers in Vite examples
* Adjust highlighted line number
* Adjust highlighted line number
* 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)
* ci(changesets): version packages (#3266 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(system-rsc): defaultVariants null case in extendVariants (#3503 )
* fix(system-rsc): defaultVariants null case in extendVariants
* chore(changeset): add issue number
* fix(date-range-picker): calendar-content width as per visible-months (#3505 )
* fix: normalize 'status' field values to lowercase across multiple files (#2947 )
* fix(status): normalize 'status' value to lowercase in page.tsx
* fix(status): normalize 'status' value to lowercase in use-case.ts
* fix(status): normalize 'status' value to lowercase in custom-render-value.ts
* fix(status): normalize 'status' value to lowercase in top-content.ts
* fix(status): normalize 'status' value to lowercase in multiple-chips.ts
* fix(status): normalize 'status' value to lowercase in custom-items.ts
* fix(status): normalize 'status' value to lowercase in data.ts
* fix(status): normalize 'status' value to lowercase in custom-styles.ts
* fix(status): normalize 'status' value to lowercase in page.tsx
* fix(status): normalize 'status' value to lowercase in custom-styles.ts
* fix(status): normalize 'status' value to lowercase in custom-items.ts
* fix(status): normalize 'status' value to lowercase in page.tsx
* fix(status): normalize 'status' value to lowercase in custom-styles.ts
* 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 >
* 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 >
* fix(theme): button scaling when disableAnimation is true (#3499 )
* fix(system-rsc): add @react-types/shared to dependencies (#3501 )
* fix(system-rsc): add @react-types/shared to dependencies
* fix: change pnpm lock
* fix: change pnpm lock
* fix: change pnpm lock
---------
Co-authored-by: winches <329487092@qq.com >
* build(script): fixing Clean script (#3500 )
running clean lock before clean node modules.
* ci(changesets): version packages (#3507 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* ci(changesets): version packages (#3508 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
---------
Co-authored-by: Shrinidhi Upadhyaya <shrinidhiupadhyaya1195@gmail.com >
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
Co-authored-by: Paul Tiedtke <PaulTiedtke@web.de >
Co-authored-by: Mohammad Reza Badri <85818966+mrbadri@users.noreply.github.com >
Co-authored-by: Nozomi-Hijikata <116155762+Nozomi-Hijikata@users.noreply.github.com >
Co-authored-by: HaRuki <soccer_haruki15@me.com >
Co-authored-by: Kaben <carnoxen@gmail.com >
Co-authored-by: Shawn Dong <dsknight@live.com.au >
Co-authored-by: Shawn Dong <shawn.dong@flybuys.com.au >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: Poli Sour <57824881+novsource@users.noreply.github.com >
Co-authored-by: Poli Sour <polisour.work@gmail.com >
Co-authored-by: Artem Pitikin <git@kosmotema.dev >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Eric Abreu <ericfabreu@gmail.com >
Co-authored-by: Minsu <52266597+Gaic4o@users.noreply.github.com >
Co-authored-by: Jesus Perdomo Lampignano <38929969+jesuzon@users.noreply.github.com >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: EGOIST <0x142857@gmail.com >
Co-authored-by: Damien Leroy <10438692+ShiiFu@users.noreply.github.com >
Co-authored-by: Christian Abele <manufaktur@christian-abele.de >
Co-authored-by: Nozomi Hijikata <121233810+nozomemein@users.noreply.github.com >
Co-authored-by: HaRuki Kuriwada <haruki.kuriwada@hennge.com >
Co-authored-by: Deval Minocha <deval.minocha24@gmail.com >
Co-authored-by: Ankit <82326089+ankitts@users.noreply.github.com >
Co-authored-by: wiyco <lumiwslab@gmail.com >
Co-authored-by: Sjoerd van Bommel <sjoerd.van.bommel@Hotmail.com >
Co-authored-by: Pratyush Kongalla <44525862+pratyush3124@users.noreply.github.com >
Co-authored-by: Pratyush <conenct2pratyush@gmail.com >
Co-authored-by: Abhinandan <abhinandanverma551@gmail.com >
Co-authored-by: KumJungMin <37934668+KumJungMin@users.noreply.github.com >
Co-authored-by: dochi <ryoon50@gmail.com >
Co-authored-by: Abhishek Tomar <104965815+abhisektomar1@users.noreply.github.com >
Co-authored-by: RockerFlower <kira@glorylab.xyz >
Co-authored-by: codeesura <120671243+codeesura@users.noreply.github.com >
Co-authored-by: Simon Podlipsky <simon@podlipsky.net >
Co-authored-by: sandeep Butte <sandeep36butte@gmail.com >
2024-07-18 13:45:51 -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
sandeep Butte
4dfe194296
build(script): fixing Clean script ( #3500 )
...
running clean lock before clean node modules.
2024-07-18 10:38:05 -07:00
Simon Podlipsky
fbd4f4b47e
fix(system-rsc): add @react-types/shared to dependencies ( #3501 )
...
* fix(system-rsc): add @react-types/shared to dependencies
* fix: change pnpm lock
* fix: change pnpm lock
* fix: change pnpm lock
---------
Co-authored-by: winches <329487092@qq.com >
2024-07-18 10:37:44 -07:00
աӄա
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
codeesura
7d61cf3918
fix: normalize 'status' field values to lowercase across multiple files ( #2947 )
...
* fix(status): normalize 'status' value to lowercase in page.tsx
* fix(status): normalize 'status' value to lowercase in use-case.ts
* fix(status): normalize 'status' value to lowercase in custom-render-value.ts
* fix(status): normalize 'status' value to lowercase in top-content.ts
* fix(status): normalize 'status' value to lowercase in multiple-chips.ts
* fix(status): normalize 'status' value to lowercase in custom-items.ts
* fix(status): normalize 'status' value to lowercase in data.ts
* fix(status): normalize 'status' value to lowercase in custom-styles.ts
* fix(status): normalize 'status' value to lowercase in page.tsx
* fix(status): normalize 'status' value to lowercase in custom-styles.ts
* fix(status): normalize 'status' value to lowercase in custom-items.ts
* fix(status): normalize 'status' value to lowercase in page.tsx
* fix(status): normalize 'status' value to lowercase in custom-styles.ts
2024-07-18 10:34:47 -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
Junior Garcia
a41ed427d9
Merge branch 'main' of github.com:nextui-org/nextui into canary
2024-07-17 14:33:49 -07:00
Junior Garcia
a30edbb1b2
v2.4.3 ( #3494 )
...
* chore(root): reat-aria packages updated (#2889 )
* chore(storybook): common colors enabled (#2902 )
* fix(range-calendar): hide only dates outside the month (#2906 )
* 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
* chore(changeset): patch @nextui-org/theme
---------
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(date-picker): keep date picker style consistent for different variants (#2908 )
* fix: add missing TableRowProps export (#2866 )
* fix: add missing TableRowProps export
* feat(changeset): add changeset for PR2866
* chore(changeset): revise changeset message
---------
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(input): correct label margin for RTL required inputs (#2781 )
* fix(input): correct label margin for RTL required inputs
* fix(theme): add changeset fr theme
* docs(core): add storybook and canary release info (#2914 )
* Cn utility refactor (#2915 )
* refactor(core): cn utility adjusted and moved to the theme package
* chore(root): changeset
* fix(storybook): stories that used cn
* docs(date-picker): change to jsx instead (#2919 )
* fix(switch): support uncontrolled switch in react-hook-form (#2924 )
* feat(switch): add @nextui-org/use-safe-layout-effect
* chore(deps): add @nextui-org/use-safe-layout-effect
* fix(switch): react-hook-form uncontrolled switch component
* fix(switch): react-hook-form uncontrolled switch component
* feat(switch): add rect-hook-form in dev dep
* feat(switch): add WithReactHookFormTemplate
* refactor(root): react aria packages fixed (#2944 )
* feat(docs): docs changes (#2868 )
* feat(docs): add example how to set locale (#2867 )
* docs(guide): add an explanation for the installation guide (#2769 )
* docs(guide): add an explanation for the installation guide
* docs(guide): add an explanation for the cli guide
* docs(guide): add support for cli output
* fix: change sort priority - cmdk (#2873 )
* docs: remove unsupported props in range calendar and date range picker (#2881 )
* chore(calendar): remove showMonthAndYearPickers from range calendar story
* docs(date-range-picker): remove showMonthAndYearPickers info
* docs(range-calendar): remove unsupported props
* docs: refactor typing in form.ts (#2882 )
* chore(docs): supplement errorMessage behaviour in input (#2892 )
* refactor(docs): revise NextUI Provider structure
* chore(docs): add updated tag
---------
Co-authored-by: Nozomi-Hijikata <116155762+Nozomi-Hijikata@users.noreply.github.com >
Co-authored-by: HaRuki <soccer_haruki15@me.com >
Co-authored-by: Kaben <carnoxen@gmail.com >
* fix(slider): missing marks when hideThumb is true & revise slider styles (#2883 )
* chore(slider): include marks in hideThumb
* fix(slider): revise slider styles
* feat(changeset): add changeset
* feat(slider): add tests with marks and hideThumb
* feat(test): react hook form tests & stories (#2931 )
* feat(input): add Input with React Hook Form tests
* refactor(input): add missing types
* feat(checkbox): add checkbox with React Hook Form tests
* feat(select): add react-hook-form to dev dep
* feat(select): add react hook form story
* feat(select): react hook form tests
* fix(select): incorrect button reference
* feat(deps): add react-hook-form to dev dep in autocomplete
* feat(autocomplete): react hook form story
* feat(autocomplete): react hook form tests
* fix(autocomplete): rollback wrapper type
* feat(switch): add react hook form tests
* refactor(stories): reorder stories items
* fix: update accordion item heading tag to be customizable (#2265 )
* fix: update accordion item heading tag to be customizable
* Update .changeset/heavy-hairs-join.md
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* Update .changeset/heavy-hairs-join.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* chore(accordion): lint
* chore(changeset): add issue number
* feat(docs): add HeadingComponent prop
---------
Co-authored-by: Shawn Dong <shawn.dong@flybuys.com.au >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(theme): add pointer-events-none to skeleton base (#2972 )
* feat(tabs): add `destroyInactiveTabPanel` prop for Tabs component (#2973 )
* feat(tabs): add destroyInactiveTabPanel and set default to false
* feat(tabs): integrate with destroyInactiveTabPanel
* feat(theme): hidden inert tab panel
* feat(changeset): add changeset
* chore(changeset): add issue number
* feat(docs): add `destroyInactiveTabPanel` prop to tabs page
* chore(docs): set destroyInactiveTabPanel to true by default
* chore(tabs): set destroyInactiveTabPanel to true by default
* chore(tabs): revise destroyInactiveTabPanel logic
* feat(tabs): add tests for destroyInactiveTabPanel
* chore(tabs): change the default value of destroyInactiveTabPanel to true
* refactor: add support for disabling the animation globally (#2929 )
* refactor: add support for disabling the animation globally
* chore(docs): disableAnimation removed from global provider
* feat(docs): nextui provider api updated, storybook preview adjusted
* chore(theme): button is scalable when disabled, tooltip animation improved
* fix(theme): remove origin-bottom from button (#2990 )
* fix(skeleton): overflow issue in skeleton (#2986 )
* fix(theme): set overflow visible after skeleton loaded
* feat(changeset): add changeset
* fix(table): v2 input/textarea don't allow spaces inside a table (#3020 )
* fix(table): set onKeyDownCapture to undefined
* feat(changeset): add changeset
* fix(slider): calculate the correct value on mark click (#3017 )
* fix(slider): calculate the correct value on mark click
* refactor(slider): remove the tests inside describe block
* feat(slider): add tests for thumb move on mark click
* refactor(slider): use val instead of pos
* fix(theme): revise input isInvalid styles (#3010 )
* fix(theme): revise isInvalid input styles
* feat(changeset): add changeset
* feat(date-picker): add missing ref to input wrapper (#3011 )
* fix(date-picker): add missing ref to input wrapper
* feat(changeset): add changeset
* fix(core): incorrect tailwind classnames (#3018 )
* fix(dropdown): focus behaviour on press / enter keydown (#2970 )
* fix(dropdown): set focus on the first item
* feat(dropdown): add keyboard interactions tests
* feat(changeset): add changeset
* fix(dropdown): use fireEvent.keyDown instead
* chore(deps): add @nextui-org/test-utils to dropdown
* refactor(dropdown): pass onKeyDown to menu trigger and don't hardcode autoFocus
* chore(dropdown): remove autoFocus
* fix(menu): pass userMenuProps to useTreeState and useAriaMenu and remove from getListProps
* chore(changeset): add menu package
* fix(component): update type definition to prevent primitive values as items (#2953 )
* fix: update type definition to prevent primitive values as items
* fix: typecheck
* fix(select): onSelectionChange can handle number (#2937 )
* fix: onSelectionChange type for dynamic items in Select component
* docs: remove unnecessary properties
* docs: update highlightedLines
* chore: add changeset
* fix(calendar): scrolling is hidden when changing the month (#2949 )
* fix(calendar): scrolling is hidden when changing the month
* chore(changeset): correct package name
---------
Co-authored-by: Poli Sour <polisour.work@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix: make VisuallyHidden's element type as span when it's inside phrasing element (#3013 )
* fix(checkbox): make VisuallyHidden's element type as span
* feat(changeset): add changeset
* fix(radio): make the VisuallyHidden element type as span
* fix(switch): make the VisuallyHidden element type as span
* fix(select): make the VisuallyHidden element type as span
* feat(changeset): replace changeset
* chore: fix formatting
* docs: sync nextui-cli api (#3035 )
* docs: sync nextui-cli api
* docs: update
* chore: update routes.json with new path and set updated flag
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat: switch default validationBehavior to aria and allow switching via props (#2987 )
* chore: add support validationBehavior aria
* chore: add validationBehavior to Provider
* chore: add autocomplete validation test
* chore: add checkbox validation test
* fix(input): require condition
* docs: add description of validationBehavior props
* chore: add support validationBehavior props for date components
* docs(dates): add description of validationBehavior props
* chore: add changeset
* chore: format
* chore: fix test
* fix: select validationBehavior is not support yet
* fix: select validationBehavior not supported yet
* chore(docs): validation behavior prop added to nextui-provider
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: popover-based focus behaviour (#2854 )
* fix(autocomplete): autocomplete focus behaviour
* feat(autocomplete): add test case for catching blur cases
* refactor(autocomplete): use isOpen instead
* feat(autocomplete): add "should focus when clicking autocomplete" test case
* feat(autocomplete): add should set the input after selection
* fix(autocomplete): remove shouldUseVirtualFocus
* fix(autocomplete): uncomment blur logic
* refactor(autocomplete): remove state as it is in getPopoverProps
* refactor(autocomplete): remove unnecessary blur
* refactor(select): remove unncessary props
* fix(popover): use domRef instead
* fix(popover): revise isNonModal and isDismissable
* fix(popover): use dialogRef back
* fix(popover): rollback
* fix(autocomplete): onFocus logic
* feat(popover): set disableFocusManagement to overlay
* feat(modal): set disableFocusManagement to overlay
* fix(autocomplete): set disableFocusManagement for autocomplete
* feat(popover): include disableFocusManagement prop
* refactor(autocomplete): revise type in selectorButton
* fix(autocomplete): revise focus logic
* feat(autocomplete): add internal focus state and add shouldCloseOnInteractOutside
* feat(autocomplete): handle selectedItem change
* feat(autocomplete): add clear button test
* feat(changeset): add changeset
* refactor(components): use the original order
* refactor(autocomplete): add more comments
* fix(autocomplete): revise focus behaviours
* refactor(autocomplete): rename to listbox
* chore(popover): remove disableFocusManagement from popover
* chore(autocomplete): remove disableFocusManagement from autocomplete
* chore(changeset): add issue number
* fix(popover): don't set default value to transformOrigin
* fix(autocomplete): revise shouldCloseOnInteractOutside logic
* feat(autocomplete): should close listbox by clicking another autocomplete
* fix(popover): add disableFocusManagement to overlay
* refactor(autocomplete): revise comments and refactor shouldCloseOnInteractOutside
* feat(changeset): add issue number
* fix(autocomplete): merge with selectorButtonProps.onClick
* refactor(autocomplete): remove extra line
* refactor(autocomplete): revise comment
* feat(select): add shouldCloseOnInteractOutside
* feat(dropdown): add shouldCloseOnInteractOutside
* feat(date-picker): add shouldCloseOnInteractOutside
* feat(changeset): add dropdown and date-picker
* fix(popover): revise shouldCloseOnInteractOutside
* feat(date-picker): integrate with ariaShouldCloseOnInteractOutside
* feat(select): integrate with ariaShouldCloseOnInteractOutside
* feat(dropdown): integrate with ariaShouldCloseOnInteractOutside
* feat(popover): integrate with ariaShouldCloseOnInteractOutside
* feat(aria-utils): ariaShouldCloseOnInteractOutside
* chore(deps): update pnpm-lock.yaml
* feat(autocomplete): integrate with ariaShouldCloseOnInteractOutside
* feat(aria-utils): handle setShouldFocus logic
* feat(changeset): add @nextui-org/aria-utils
* chore(autocomplete): put the test into correct group
* feat(select): should close listbox by clicking another select
* feat(dropdown): should close listbox by clicking another dropdown
* feat(popover): should close listbox by clicking another popover
* feat(date-picker): should close listbox by clicking another datepicker
* chore(changeset): add issue numbers and revise changeset message
* refactor(autocomplete): change to useRef instead
* refactor(autocomplete): change to useRef instead
* refactor(aria-utils): revise comments and format code
* chore(changeset): add issue number
* chore: take popoverProps.shouldCloseOnInteractOutside first
* refactor(autocomplete): remove unnecessary logic
* refactor(autocomplete): focus management logic
* fix(components): Fix 'Tap to click' behavior on macOS with Edge/Chrome for Accordion and Tab (#2725 )
* fix(components): fix 'Tap to click' behavior on macOS
* Add change file for accordion, menu, and tabs
* Remove 'fix(components)' from the .changeset file
* fix(components): undo dropdown change now that it's no longer applicable
* fix(components): update changeset file now that we are no longer modifying the dropdown component
* fix(date-picker): corrected inert value for true condition (#3054 )
* fix(date-picker): corrected inert value for true condition #3044
* refactor(calendar): add todo comment
* feat(changeset): add changeset
---------
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(hooks): resolve type error in onKeyDown event handler (#3064 )
* fix(hooks): resolve type error in onKeyDown event handler
* chore(changeset): revise changeset
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* Update dependency array on setPage useCallback hook (#3029 )
Changes:
Add the onChangeActivePage function to the dependency array of the setPage useCallback hook to ensure it always reflects the latest state.
Impact:
This fix ensures that the pagination component accurately reflects the current state when triggering onChangeActivePage.
* fix: error peerDep in pkg (#3014 )
* fix: error peerDep in pkg
* docs: changeset
* Fix DatePicker Time Input (#2845 )
* fix(date-picker): set `isCalendarHeaderExpanded` to `false` when DatePicker is closed
* fix(date-picker): calendar header controlled state on DatePicker
* chore(date-picker): update test
* chore(date-picker): remove unnecessary `async` in test
* Update packages/components/date-picker/__tests__/date-picker.test.tsx
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(date-picker): test
* fix(hooks): optimize useScrollPosition with useCallback and useRef (#3049 )
* fix(hooks): optimize useScrollPosition with useCallback and useRef
* Update .changeset/lucky-cobras-jog.md
* Update packages/hooks/use-scroll-position/src/index.ts
* Update packages/hooks/use-scroll-position/src/index.ts
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(select): placeholder text display for controlled component (#3081 )
* fix: return placeholder when selectedItems is empty
* chore: add test and changeset
* chore(docs): v2.4.0 (#3084 )
* chore(docs): v2.4.0
* chore(docs): v2.4.0 blog
* chore(docs): revise typos based on coderabbitai
* chore(docs): adjust navbar
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* chore(changese): update @nextui-org/react dependency to minor version
* docs: update cli docs (#3096 )
* ci(changesets): version packages (#2903 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(radio): remove required attribute for Radio with validationBehavior="aria" (#3110 )
* fix(theme): add missing pointer event after data loaded (#3126 )
* fix(system): listbox href issue (experimental) (#3119 )
* fix(system): @react-aria/utils
* feat(hooks): include routerLinkProps
* feat(changeset): add changeset
* chore(deps): bump @react-aria/utils to 3.24.1
* fix(hooks): missing arguments
* chore(deps): bump @react-types/link
* chore(link): bump @react-aria/link to 3.7.1
* chore(link): use @react-aria/link instead
* chore(changeset): revise changeset
* chore(hooks): undo use-aria-link changes
* chore(deps): undo use-aria-link changes
* chore(deps): bump `@react-aria/utils` to `3.24.1`
* chore(deps): bump `@react-types/shared`
* feat: add missing router.open parameters due to router change
* chore(changeset): add new line
* chore(deps): bump `@react-types/shared` to `3.23.1`
* fix(avatar): avoid passing `disableAnimation` prop to a DOM element (#3111 )
* fix(avatar): avoid passing `disableAnimation` prop to a DOM element
* refactor(avatar): use filterDOMProps approach
* chore(avatar): remove to type import
* chore(avatar): change to shouldFilterDOMProps
* fix(docs): removed unused import & corrected prop for disabled DatePicker (#3136 )
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
* ci(changesets): version packages (#3115 )
* fix(pagination): missing animation (#3144 )
* fix tsup domain (#3158 )
* chore(docs): remove destroyInactiveTabPanel from Tab due to merge conflict (#3155 )
* fix(autocomplete): maximum update depth exceeded in autocomplete (#3175 )
* 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
* fix(docs): fix typo in autocomplete documentation page (#3182 )
* 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
* fix(tabs): destroyInactiveTabPanel unmounts inactive tabs' content (#3164 )
* fix(tabs): incorrect content in tab panel
* feat(tabs): revise destroyInactiveTabPanel test cases
* 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
* fix(tabs): set tab panel id correctly (#3246 )
* docs(tooltip): supplement correct style path (#3183 )
* docs(tooltip): supplement correct style path
* chore(docs): move the note below import tabs
* fix(use-aria-menu): link logic in useMenuItem (#3229 )
* chore(deps): bump @internationalized/date version (#3230 )
* 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
* 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
* 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
* Update regex-validation.ts (#3123 )
* Update regex-validation.ts
Fix email regex
* Update email regex input.stories.tsx
* 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 >
* 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 >
* fix(table): table-column align prop (#2900 )
* fix(navbar): fixed the height of navbar menu (#1805 )
* fix(navbar): fixed the height of navbar menu
* fix(navbar): refactored the css of navbar
* fix(navbar): fix redundant expression
* fix(navbar): fixed unnecessary changes
* fix(navbar): adjust viewport
* 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 >
* ci(changesets): version packages (#3147 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(avatar): remove extra `disableAnimation` prop in `getImageProps` (#3260 )
* fix(system-rsc): extendVariants with defaultVariants (#3299 )
* 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 >
* 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
* refactor(.github): nextui version description in bug report template (#3281 )
* refactor(.github): revise version description & placeholder
* refactor(.github): revise version description & placeholder
* chore: add accessible name to the icon button (#3300 )
* fix(radio): ensure radio input correctly references description (#3301 )
* fix(radio): ensure radio input correctly references description
* refactor: tweak test
* refactor(.github): github action warnings (#3317 )
* chore(.github): bump action versions
* refactor(autocomplete): linting
* chore(.github): without version
* fix(doc): migrated ScriptProvider component from the root level to each decendant folder (#3269 )
Co-authored-by: HaRuki Kuriwada <haruki.kuriwada@hennge.com >
* refactor(docs): fix international calendar bug (#3363 )
* refactor(docs): fix international calendar bug
* chore: update @react-aria/i18n version and update lock file
* fix(table): custom with class names storybook styles (#3344 )
* fix : #3338
* fix(table): custom with class names storybook styles
* chore(deps): pnpm-lock.yaml (#3372 )
* fix(accordion): allow cursor navigation within text (#3419 )
* fix(accordion): allow cursor navigation within text
* fix: wrong issue number
* fix(date-range-picker): input field clear error (#3409 )
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
* fix: remove autoCapitalize to prevent Firefox warning (#3376 )
* fix: remove autoCapitalize to prevent firefox warning
* chore: add changeset
* 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
* 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
* fix(select): import HiddenSelect and UseSelectProps (#3368 )
* fix(select): import HiddenSelect and UseSelectProps
* chore: merge import
* feat: eslint add rule prefer top level type import (#3354 )
* 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
* 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
* 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
* refactor(docs): sort component routes alphabetically (#3328 )
* docs(pagination): fix typo of missing "`" in doc (#3324 )
* 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
* 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 >
* 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
* 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
* 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>
* 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 >
* fix(image): optional height (#3420 )
* fix(image): optional height
* fix(image): incorrect props
* feat(changeset): add changeset
* 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
* 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 >
* 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 >
* fix: tsc errors (#3362 )
* fix: tsc error
* docs: changeset
* fix: test
* fix: test
* fix: review problem
* fix: review
* feat: add tw config to get the intelliSense (#3385 )
* feat: add tw config to get the intelliSense
* chore(deps): pnpm-lock.yaml
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* 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 >
* fix: add onClear prop to Ripple component in button custom implementation (#3439 )
* 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 >
* 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
* fix(docs): incorrect image height (#3427 )
* docs: removed show more from code example (#3373 )
* docs: removed show more from code example
* Update sandpack.css
* docs: remove-show-more
* chore(docs): remove unused code
* chore(deps): pnpm-lock.yaml
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* 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 >
* docs(frameworks): update highlighted line numbers in Frameworks examples (#3412 )
* Update highlighted line numbers in Remix examples
* Update highlighted line numbers in Next.js examples
* Update highlighted line numbers in Astro examples
* Update highlighted line numbers in Vite examples
* Adjust highlighted line number
* Adjust highlighted line number
* 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)
* ci(changesets): version packages (#3266 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
---------
Co-authored-by: Shrinidhi Upadhyaya <shrinidhiupadhyaya1195@gmail.com >
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
Co-authored-by: Paul Tiedtke <PaulTiedtke@web.de >
Co-authored-by: Mohammad Reza Badri <85818966+mrbadri@users.noreply.github.com >
Co-authored-by: Nozomi-Hijikata <116155762+Nozomi-Hijikata@users.noreply.github.com >
Co-authored-by: HaRuki <soccer_haruki15@me.com >
Co-authored-by: Kaben <carnoxen@gmail.com >
Co-authored-by: Shawn Dong <dsknight@live.com.au >
Co-authored-by: Shawn Dong <shawn.dong@flybuys.com.au >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: Poli Sour <57824881+novsource@users.noreply.github.com >
Co-authored-by: Poli Sour <polisour.work@gmail.com >
Co-authored-by: Artem Pitikin <git@kosmotema.dev >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Eric Abreu <ericfabreu@gmail.com >
Co-authored-by: Minsu <52266597+Gaic4o@users.noreply.github.com >
Co-authored-by: Jesus Perdomo Lampignano <38929969+jesuzon@users.noreply.github.com >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: EGOIST <0x142857@gmail.com >
Co-authored-by: Damien Leroy <10438692+ShiiFu@users.noreply.github.com >
Co-authored-by: Christian Abele <manufaktur@christian-abele.de >
Co-authored-by: Nozomi Hijikata <121233810+nozomemein@users.noreply.github.com >
Co-authored-by: HaRuki Kuriwada <haruki.kuriwada@hennge.com >
Co-authored-by: Deval Minocha <deval.minocha24@gmail.com >
Co-authored-by: Ankit <82326089+ankitts@users.noreply.github.com >
Co-authored-by: wiyco <lumiwslab@gmail.com >
Co-authored-by: Sjoerd van Bommel <sjoerd.van.bommel@Hotmail.com >
Co-authored-by: Pratyush Kongalla <44525862+pratyush3124@users.noreply.github.com >
Co-authored-by: Pratyush <conenct2pratyush@gmail.com >
Co-authored-by: Abhinandan <abhinandanverma551@gmail.com >
Co-authored-by: KumJungMin <37934668+KumJungMin@users.noreply.github.com >
Co-authored-by: dochi <ryoon50@gmail.com >
Co-authored-by: Abhishek Tomar <104965815+abhisektomar1@users.noreply.github.com >
Co-authored-by: RockerFlower <kira@glorylab.xyz >
2024-07-17 14:33:33 -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
Junior Garcia
0071ec2419
Merge branch 'main' of github.com:nextui-org/nextui into canary
2024-07-17 14:15:34 -07:00
Junior Garcia
e968f54baf
Merge branch 'canary' of github.com:nextui-org/nextui into canary
2024-07-17 14:15:23 -07:00
winches
8c74f31e70
docs: remove body position which cause tooltip wrong ( #3487 )
2024-07-17 14:14:55 -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
winches
5370fd1fff
docs: padding error in card ( #3447 )
2024-07-16 14:08:10 -07:00
RockerFlower
b762141d18
docs(frameworks): update highlighted line numbers in Frameworks examples ( #3412 )
...
* Update highlighted line numbers in Remix examples
* Update highlighted line numbers in Next.js examples
* Update highlighted line numbers in Astro examples
* Update highlighted line numbers in Vite examples
* Adjust highlighted line number
* Adjust highlighted line number
2024-07-12 11:36:57 -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
Ankit
6ec494a845
docs: removed show more from code example ( #3373 )
...
* docs: removed show more from code example
* Update sandpack.css
* docs: remove-show-more
* chore(docs): remove unused code
* chore(deps): pnpm-lock.yaml
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-07-12 11:32:54 -07:00
աӄա
30f0755658
fix(docs): incorrect image height ( #3427 )
2024-07-12 11:30:26 -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
dochi
9438dfd918
fix: add onClear prop to Ripple component in button custom implementation ( #3439 )
2024-07-12 11:24:59 -07:00
winches
b9cb296a8c
docs: upgrade command add all option ( #3273 )
2024-07-12 11:22:51 -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
89ccf17cd4
feat: add tw config to get the intelliSense ( #3385 )
...
* feat: add tw config to get the intelliSense
* chore(deps): pnpm-lock.yaml
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-07-07 12:20:04 +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
Junior Garcia
22682dbd60
Merge branch 'canary' of github.com:nextui-org/nextui into canary
2024-07-06 17:45:15 -07: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
wiyco
1671f569ea
docs(pagination): fix typo of missing "`" in doc ( #3324 )
2024-07-06 00:53:15 -07:00
աӄա
9d26d02fbb
refactor(docs): sort component routes alphabetically ( #3328 )
2024-07-06 00:51:38 -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
աӄա
ec7c417387
chore(deps): pnpm-lock.yaml ( #3372 )
2024-07-03 03:07:07 -03: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
Deval Minocha
8b0b7e011c
refactor(docs): fix international calendar bug ( #3363 )
...
* refactor(docs): fix international calendar bug
* chore: update @react-aria/i18n version and update lock file
2024-06-29 18:25:47 -03:00
Junior Garcia
f1fd2a842b
Merge branch 'main' of github.com:nextui-org/nextui into canary
2024-06-29 17:51:14 -03:00
HaRuki Kuriwada
69db63cd8f
fix(doc): migrated ScriptProvider component from the root level to each decendant folder
2024-06-29 17:50:46 -03:00
HaRuki
0711b66805
fix(doc): migrated ScriptProvider component from the root level to each decendant folder ( #3269 )
...
Co-authored-by: HaRuki Kuriwada <haruki.kuriwada@hennge.com >
2024-06-29 17:50:00 -03:00
աӄա
996a0ed128
chore(docs): update footer text ( #3350 )
2024-06-29 17:46:04 -03:00
Junior Garcia
78d4216bff
Merge branch 'main' of github.com:nextui-org/nextui into canary
2024-06-27 11:16:25 -03:00
աӄա
47a214237f
chore(docs): remove vercel content ( #3329 )
...
* chore(docs): remove vercel content
* chore(docs): remove vercel content
2024-06-27 11:15:36 -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
աӄա
069163053f
refactor(.github): nextui version description in bug report template ( #3281 )
...
* refactor(.github): revise version description & placeholder
* refactor(.github): revise version description & placeholder
2024-06-22 11:18:00 -03:00
Junior Garcia
2ce7d74b1c
Merge branch 'main' of github.com:nextui-org/nextui into canary
2024-06-22 11:06:38 -03:00
աӄա
87ca7594ed
refactor(docs): overall documentation ( #3274 )
...
* fix(docs): update framer motion version in docs
* refactor(docs): hoisted dependencies setup
* refactor(docs): add bun command
* refactor(docs): revise tailwindcss setup
* refactor(docs): add missing highlight lines and content in nextjs page
* fix(docs): incorrect highlighted lines in input
* refactor(docs): remove unnecessary space
* refactor(docs): add color and revise content
* refactor(docs): revise indentation in nextjs page
2024-06-22 11:06:26 -03:00
Junior Garcia
cd0c15dc9a
Merge branch 'main' of github.com:nextui-org/nextui into canary
2024-06-22 10:58:57 -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
աӄա
b32072551b
docs(autocomplete): add customEmptyContentMessage example ( #3294 )
2024-06-22 10:39:51 -03:00
աӄա
f785d1fb04
fix(system-rsc): extendVariants with defaultVariants ( #3299 )
2024-06-22 10:36:22 -03:00
աӄա
d90d680632
feat(docs): add CodeRabbit to sponsors ( #3290 )
2024-06-20 23:30:04 -03:00
աӄա
6951b1fba0
fix(avatar): remove extra disableAnimation prop in getImageProps ( #3260 )
2024-06-16 14:20:13 -03:00
Junior Garcia
47c6228649
v2.4.2 ( #3256 )
...
* chore(root): reat-aria packages updated (#2889 )
* chore(storybook): common colors enabled (#2902 )
* fix(range-calendar): hide only dates outside the month (#2906 )
* 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
* chore(changeset): patch @nextui-org/theme
---------
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(date-picker): keep date picker style consistent for different variants (#2908 )
* fix: add missing TableRowProps export (#2866 )
* fix: add missing TableRowProps export
* feat(changeset): add changeset for PR2866
* chore(changeset): revise changeset message
---------
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(input): correct label margin for RTL required inputs (#2781 )
* fix(input): correct label margin for RTL required inputs
* fix(theme): add changeset fr theme
* docs(core): add storybook and canary release info (#2914 )
* Cn utility refactor (#2915 )
* refactor(core): cn utility adjusted and moved to the theme package
* chore(root): changeset
* fix(storybook): stories that used cn
* docs(date-picker): change to jsx instead (#2919 )
* fix(switch): support uncontrolled switch in react-hook-form (#2924 )
* feat(switch): add @nextui-org/use-safe-layout-effect
* chore(deps): add @nextui-org/use-safe-layout-effect
* fix(switch): react-hook-form uncontrolled switch component
* fix(switch): react-hook-form uncontrolled switch component
* feat(switch): add rect-hook-form in dev dep
* feat(switch): add WithReactHookFormTemplate
* refactor(root): react aria packages fixed (#2944 )
* feat(docs): docs changes (#2868 )
* feat(docs): add example how to set locale (#2867 )
* docs(guide): add an explanation for the installation guide (#2769 )
* docs(guide): add an explanation for the installation guide
* docs(guide): add an explanation for the cli guide
* docs(guide): add support for cli output
* fix: change sort priority - cmdk (#2873 )
* docs: remove unsupported props in range calendar and date range picker (#2881 )
* chore(calendar): remove showMonthAndYearPickers from range calendar story
* docs(date-range-picker): remove showMonthAndYearPickers info
* docs(range-calendar): remove unsupported props
* docs: refactor typing in form.ts (#2882 )
* chore(docs): supplement errorMessage behaviour in input (#2892 )
* refactor(docs): revise NextUI Provider structure
* chore(docs): add updated tag
---------
Co-authored-by: Nozomi-Hijikata <116155762+Nozomi-Hijikata@users.noreply.github.com >
Co-authored-by: HaRuki <soccer_haruki15@me.com >
Co-authored-by: Kaben <carnoxen@gmail.com >
* fix(slider): missing marks when hideThumb is true & revise slider styles (#2883 )
* chore(slider): include marks in hideThumb
* fix(slider): revise slider styles
* feat(changeset): add changeset
* feat(slider): add tests with marks and hideThumb
* feat(test): react hook form tests & stories (#2931 )
* feat(input): add Input with React Hook Form tests
* refactor(input): add missing types
* feat(checkbox): add checkbox with React Hook Form tests
* feat(select): add react-hook-form to dev dep
* feat(select): add react hook form story
* feat(select): react hook form tests
* fix(select): incorrect button reference
* feat(deps): add react-hook-form to dev dep in autocomplete
* feat(autocomplete): react hook form story
* feat(autocomplete): react hook form tests
* fix(autocomplete): rollback wrapper type
* feat(switch): add react hook form tests
* refactor(stories): reorder stories items
* fix: update accordion item heading tag to be customizable (#2265 )
* fix: update accordion item heading tag to be customizable
* Update .changeset/heavy-hairs-join.md
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* Update .changeset/heavy-hairs-join.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* chore(accordion): lint
* chore(changeset): add issue number
* feat(docs): add HeadingComponent prop
---------
Co-authored-by: Shawn Dong <shawn.dong@flybuys.com.au >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(theme): add pointer-events-none to skeleton base (#2972 )
* feat(tabs): add `destroyInactiveTabPanel` prop for Tabs component (#2973 )
* feat(tabs): add destroyInactiveTabPanel and set default to false
* feat(tabs): integrate with destroyInactiveTabPanel
* feat(theme): hidden inert tab panel
* feat(changeset): add changeset
* chore(changeset): add issue number
* feat(docs): add `destroyInactiveTabPanel` prop to tabs page
* chore(docs): set destroyInactiveTabPanel to true by default
* chore(tabs): set destroyInactiveTabPanel to true by default
* chore(tabs): revise destroyInactiveTabPanel logic
* feat(tabs): add tests for destroyInactiveTabPanel
* chore(tabs): change the default value of destroyInactiveTabPanel to true
* refactor: add support for disabling the animation globally (#2929 )
* refactor: add support for disabling the animation globally
* chore(docs): disableAnimation removed from global provider
* feat(docs): nextui provider api updated, storybook preview adjusted
* chore(theme): button is scalable when disabled, tooltip animation improved
* fix(theme): remove origin-bottom from button (#2990 )
* fix(skeleton): overflow issue in skeleton (#2986 )
* fix(theme): set overflow visible after skeleton loaded
* feat(changeset): add changeset
* fix(table): v2 input/textarea don't allow spaces inside a table (#3020 )
* fix(table): set onKeyDownCapture to undefined
* feat(changeset): add changeset
* fix(slider): calculate the correct value on mark click (#3017 )
* fix(slider): calculate the correct value on mark click
* refactor(slider): remove the tests inside describe block
* feat(slider): add tests for thumb move on mark click
* refactor(slider): use val instead of pos
* fix(theme): revise input isInvalid styles (#3010 )
* fix(theme): revise isInvalid input styles
* feat(changeset): add changeset
* feat(date-picker): add missing ref to input wrapper (#3011 )
* fix(date-picker): add missing ref to input wrapper
* feat(changeset): add changeset
* fix(core): incorrect tailwind classnames (#3018 )
* fix(dropdown): focus behaviour on press / enter keydown (#2970 )
* fix(dropdown): set focus on the first item
* feat(dropdown): add keyboard interactions tests
* feat(changeset): add changeset
* fix(dropdown): use fireEvent.keyDown instead
* chore(deps): add @nextui-org/test-utils to dropdown
* refactor(dropdown): pass onKeyDown to menu trigger and don't hardcode autoFocus
* chore(dropdown): remove autoFocus
* fix(menu): pass userMenuProps to useTreeState and useAriaMenu and remove from getListProps
* chore(changeset): add menu package
* fix(component): update type definition to prevent primitive values as items (#2953 )
* fix: update type definition to prevent primitive values as items
* fix: typecheck
* fix(select): onSelectionChange can handle number (#2937 )
* fix: onSelectionChange type for dynamic items in Select component
* docs: remove unnecessary properties
* docs: update highlightedLines
* chore: add changeset
* fix(calendar): scrolling is hidden when changing the month (#2949 )
* fix(calendar): scrolling is hidden when changing the month
* chore(changeset): correct package name
---------
Co-authored-by: Poli Sour <polisour.work@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix: make VisuallyHidden's element type as span when it's inside phrasing element (#3013 )
* fix(checkbox): make VisuallyHidden's element type as span
* feat(changeset): add changeset
* fix(radio): make the VisuallyHidden element type as span
* fix(switch): make the VisuallyHidden element type as span
* fix(select): make the VisuallyHidden element type as span
* feat(changeset): replace changeset
* chore: fix formatting
* docs: sync nextui-cli api (#3035 )
* docs: sync nextui-cli api
* docs: update
* chore: update routes.json with new path and set updated flag
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat: switch default validationBehavior to aria and allow switching via props (#2987 )
* chore: add support validationBehavior aria
* chore: add validationBehavior to Provider
* chore: add autocomplete validation test
* chore: add checkbox validation test
* fix(input): require condition
* docs: add description of validationBehavior props
* chore: add support validationBehavior props for date components
* docs(dates): add description of validationBehavior props
* chore: add changeset
* chore: format
* chore: fix test
* fix: select validationBehavior is not support yet
* fix: select validationBehavior not supported yet
* chore(docs): validation behavior prop added to nextui-provider
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: popover-based focus behaviour (#2854 )
* fix(autocomplete): autocomplete focus behaviour
* feat(autocomplete): add test case for catching blur cases
* refactor(autocomplete): use isOpen instead
* feat(autocomplete): add "should focus when clicking autocomplete" test case
* feat(autocomplete): add should set the input after selection
* fix(autocomplete): remove shouldUseVirtualFocus
* fix(autocomplete): uncomment blur logic
* refactor(autocomplete): remove state as it is in getPopoverProps
* refactor(autocomplete): remove unnecessary blur
* refactor(select): remove unncessary props
* fix(popover): use domRef instead
* fix(popover): revise isNonModal and isDismissable
* fix(popover): use dialogRef back
* fix(popover): rollback
* fix(autocomplete): onFocus logic
* feat(popover): set disableFocusManagement to overlay
* feat(modal): set disableFocusManagement to overlay
* fix(autocomplete): set disableFocusManagement for autocomplete
* feat(popover): include disableFocusManagement prop
* refactor(autocomplete): revise type in selectorButton
* fix(autocomplete): revise focus logic
* feat(autocomplete): add internal focus state and add shouldCloseOnInteractOutside
* feat(autocomplete): handle selectedItem change
* feat(autocomplete): add clear button test
* feat(changeset): add changeset
* refactor(components): use the original order
* refactor(autocomplete): add more comments
* fix(autocomplete): revise focus behaviours
* refactor(autocomplete): rename to listbox
* chore(popover): remove disableFocusManagement from popover
* chore(autocomplete): remove disableFocusManagement from autocomplete
* chore(changeset): add issue number
* fix(popover): don't set default value to transformOrigin
* fix(autocomplete): revise shouldCloseOnInteractOutside logic
* feat(autocomplete): should close listbox by clicking another autocomplete
* fix(popover): add disableFocusManagement to overlay
* refactor(autocomplete): revise comments and refactor shouldCloseOnInteractOutside
* feat(changeset): add issue number
* fix(autocomplete): merge with selectorButtonProps.onClick
* refactor(autocomplete): remove extra line
* refactor(autocomplete): revise comment
* feat(select): add shouldCloseOnInteractOutside
* feat(dropdown): add shouldCloseOnInteractOutside
* feat(date-picker): add shouldCloseOnInteractOutside
* feat(changeset): add dropdown and date-picker
* fix(popover): revise shouldCloseOnInteractOutside
* feat(date-picker): integrate with ariaShouldCloseOnInteractOutside
* feat(select): integrate with ariaShouldCloseOnInteractOutside
* feat(dropdown): integrate with ariaShouldCloseOnInteractOutside
* feat(popover): integrate with ariaShouldCloseOnInteractOutside
* feat(aria-utils): ariaShouldCloseOnInteractOutside
* chore(deps): update pnpm-lock.yaml
* feat(autocomplete): integrate with ariaShouldCloseOnInteractOutside
* feat(aria-utils): handle setShouldFocus logic
* feat(changeset): add @nextui-org/aria-utils
* chore(autocomplete): put the test into correct group
* feat(select): should close listbox by clicking another select
* feat(dropdown): should close listbox by clicking another dropdown
* feat(popover): should close listbox by clicking another popover
* feat(date-picker): should close listbox by clicking another datepicker
* chore(changeset): add issue numbers and revise changeset message
* refactor(autocomplete): change to useRef instead
* refactor(autocomplete): change to useRef instead
* refactor(aria-utils): revise comments and format code
* chore(changeset): add issue number
* chore: take popoverProps.shouldCloseOnInteractOutside first
* refactor(autocomplete): remove unnecessary logic
* refactor(autocomplete): focus management logic
* fix(components): Fix 'Tap to click' behavior on macOS with Edge/Chrome for Accordion and Tab (#2725 )
* fix(components): fix 'Tap to click' behavior on macOS
* Add change file for accordion, menu, and tabs
* Remove 'fix(components)' from the .changeset file
* fix(components): undo dropdown change now that it's no longer applicable
* fix(components): update changeset file now that we are no longer modifying the dropdown component
* fix(date-picker): corrected inert value for true condition (#3054 )
* fix(date-picker): corrected inert value for true condition #3044
* refactor(calendar): add todo comment
* feat(changeset): add changeset
---------
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(hooks): resolve type error in onKeyDown event handler (#3064 )
* fix(hooks): resolve type error in onKeyDown event handler
* chore(changeset): revise changeset
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* Update dependency array on setPage useCallback hook (#3029 )
Changes:
Add the onChangeActivePage function to the dependency array of the setPage useCallback hook to ensure it always reflects the latest state.
Impact:
This fix ensures that the pagination component accurately reflects the current state when triggering onChangeActivePage.
* fix: error peerDep in pkg (#3014 )
* fix: error peerDep in pkg
* docs: changeset
* Fix DatePicker Time Input (#2845 )
* fix(date-picker): set `isCalendarHeaderExpanded` to `false` when DatePicker is closed
* fix(date-picker): calendar header controlled state on DatePicker
* chore(date-picker): update test
* chore(date-picker): remove unnecessary `async` in test
* Update packages/components/date-picker/__tests__/date-picker.test.tsx
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(date-picker): test
* fix(hooks): optimize useScrollPosition with useCallback and useRef (#3049 )
* fix(hooks): optimize useScrollPosition with useCallback and useRef
* Update .changeset/lucky-cobras-jog.md
* Update packages/hooks/use-scroll-position/src/index.ts
* Update packages/hooks/use-scroll-position/src/index.ts
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(select): placeholder text display for controlled component (#3081 )
* fix: return placeholder when selectedItems is empty
* chore: add test and changeset
* chore(docs): v2.4.0 (#3084 )
* chore(docs): v2.4.0
* chore(docs): v2.4.0 blog
* chore(docs): revise typos based on coderabbitai
* chore(docs): adjust navbar
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* chore(changese): update @nextui-org/react dependency to minor version
* docs: update cli docs (#3096 )
* ci(changesets): version packages (#2903 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(radio): remove required attribute for Radio with validationBehavior="aria" (#3110 )
* fix(theme): add missing pointer event after data loaded (#3126 )
* fix(system): listbox href issue (experimental) (#3119 )
* fix(system): @react-aria/utils
* feat(hooks): include routerLinkProps
* feat(changeset): add changeset
* chore(deps): bump @react-aria/utils to 3.24.1
* fix(hooks): missing arguments
* chore(deps): bump @react-types/link
* chore(link): bump @react-aria/link to 3.7.1
* chore(link): use @react-aria/link instead
* chore(changeset): revise changeset
* chore(hooks): undo use-aria-link changes
* chore(deps): undo use-aria-link changes
* chore(deps): bump `@react-aria/utils` to `3.24.1`
* chore(deps): bump `@react-types/shared`
* feat: add missing router.open parameters due to router change
* chore(changeset): add new line
* chore(deps): bump `@react-types/shared` to `3.23.1`
* fix(avatar): avoid passing `disableAnimation` prop to a DOM element (#3111 )
* fix(avatar): avoid passing `disableAnimation` prop to a DOM element
* refactor(avatar): use filterDOMProps approach
* chore(avatar): remove to type import
* chore(avatar): change to shouldFilterDOMProps
* fix(docs): removed unused import & corrected prop for disabled DatePicker (#3136 )
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
* ci(changesets): version packages (#3115 )
* fix(pagination): missing animation (#3144 )
* fix tsup domain (#3158 )
* chore(docs): remove destroyInactiveTabPanel from Tab due to merge conflict (#3155 )
* fix(autocomplete): maximum update depth exceeded in autocomplete (#3175 )
* 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
* fix(docs): fix typo in autocomplete documentation page (#3182 )
* 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
* fix(tabs): destroyInactiveTabPanel unmounts inactive tabs' content (#3164 )
* fix(tabs): incorrect content in tab panel
* feat(tabs): revise destroyInactiveTabPanel test cases
* 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
* fix(tabs): set tab panel id correctly (#3246 )
* docs(tooltip): supplement correct style path (#3183 )
* docs(tooltip): supplement correct style path
* chore(docs): move the note below import tabs
* fix(use-aria-menu): link logic in useMenuItem (#3229 )
* chore(deps): bump @internationalized/date version (#3230 )
* 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
* 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
* 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
* Update regex-validation.ts (#3123 )
* Update regex-validation.ts
Fix email regex
* Update email regex input.stories.tsx
* 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 >
* 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 >
* fix(table): table-column align prop (#2900 )
* fix(navbar): fixed the height of navbar menu (#1805 )
* fix(navbar): fixed the height of navbar menu
* fix(navbar): refactored the css of navbar
* fix(navbar): fix redundant expression
* fix(navbar): fixed unnecessary changes
* fix(navbar): adjust viewport
* 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 >
* ci(changesets): version packages (#3147 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
---------
Co-authored-by: Shrinidhi Upadhyaya <shrinidhiupadhyaya1195@gmail.com >
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
Co-authored-by: Paul Tiedtke <PaulTiedtke@web.de >
Co-authored-by: Mohammad Reza Badri <85818966+mrbadri@users.noreply.github.com >
Co-authored-by: Nozomi-Hijikata <116155762+Nozomi-Hijikata@users.noreply.github.com >
Co-authored-by: HaRuki <soccer_haruki15@me.com >
Co-authored-by: Kaben <carnoxen@gmail.com >
Co-authored-by: Shawn Dong <dsknight@live.com.au >
Co-authored-by: Shawn Dong <shawn.dong@flybuys.com.au >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: Poli Sour <57824881+novsource@users.noreply.github.com >
Co-authored-by: Poli Sour <polisour.work@gmail.com >
Co-authored-by: Artem Pitikin <git@kosmotema.dev >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Eric Abreu <ericfabreu@gmail.com >
Co-authored-by: Minsu <52266597+Gaic4o@users.noreply.github.com >
Co-authored-by: Jesus Perdomo Lampignano <38929969+jesuzon@users.noreply.github.com >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: EGOIST <0x142857@gmail.com >
Co-authored-by: Damien Leroy <10438692+ShiiFu@users.noreply.github.com >
Co-authored-by: Christian Abele <manufaktur@christian-abele.de >
Co-authored-by: Nozomi Hijikata <121233810+nozomemein@users.noreply.github.com >
2024-06-15 12:57:09 -03:00
Junior Garcia
1e3e970fb7
Merge branch 'main' of github.com:nextui-org/nextui into canary
2024-06-15 12:56:00 -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
Nozomi Hijikata
be932c13fe
fix(navbar): fixed the height of navbar menu ( #1805 )
...
* fix(navbar): fixed the height of navbar menu
* fix(navbar): refactored the css of navbar
* fix(navbar): fix redundant expression
* fix(navbar): fixed unnecessary changes
* fix(navbar): adjust viewport
2024-06-14 21:20:15 -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
Christian Abele
0e4213ce25
Update regex-validation.ts ( #3123 )
...
* Update regex-validation.ts
Fix email regex
* Update email regex input.stories.tsx
2024-06-14 21:02:25 -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
աӄա
bea1bde667
chore(deps): bump @internationalized/date version ( #3230 )
2024-06-13 23:51:47 -03:00
աӄա
5b9e317a80
fix(use-aria-menu): link logic in useMenuItem ( #3229 )
2024-06-13 23:25:00 -03:00
աӄա
995041afc3
docs(tooltip): supplement correct style path ( #3183 )
...
* docs(tooltip): supplement correct style path
* chore(docs): move the note below import tabs
2024-06-13 23:23:44 -03:00
Ryo Matsukawa
d8ceab3579
fix(tabs): set tab panel id correctly ( #3246 )
2024-06-13 23:07:34 -03:00
աӄա
ecb93d05f5
feat(docs): add Replexica to sponsors ( #3236 )
2024-06-13 11:49:52 -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
Damien Leroy
6df27c6e63
fix(docs): fix typo in autocomplete documentation page ( #3182 )
2024-06-06 21:35:22 -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
Junior Garcia
eae28e4759
Merge branch 'main' of github.com:nextui-org/nextui into canary
2024-06-06 13:05:10 -03:00
winches
28dea9cb6c
docs: installation update init description ( #3201 )
...
* chore(root): reat-aria packages updated (#2889 )
* chore(storybook): common colors enabled (#2902 )
* fix(range-calendar): hide only dates outside the month (#2906 )
* 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
* chore(changeset): patch @nextui-org/theme
---------
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(date-picker): keep date picker style consistent for different variants (#2908 )
* fix: add missing TableRowProps export (#2866 )
* fix: add missing TableRowProps export
* feat(changeset): add changeset for PR2866
* chore(changeset): revise changeset message
---------
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(input): correct label margin for RTL required inputs (#2781 )
* fix(input): correct label margin for RTL required inputs
* fix(theme): add changeset fr theme
* docs(core): add storybook and canary release info (#2914 )
* Cn utility refactor (#2915 )
* refactor(core): cn utility adjusted and moved to the theme package
* chore(root): changeset
* fix(storybook): stories that used cn
* docs(date-picker): change to jsx instead (#2919 )
* fix(switch): support uncontrolled switch in react-hook-form (#2924 )
* feat(switch): add @nextui-org/use-safe-layout-effect
* chore(deps): add @nextui-org/use-safe-layout-effect
* fix(switch): react-hook-form uncontrolled switch component
* fix(switch): react-hook-form uncontrolled switch component
* feat(switch): add rect-hook-form in dev dep
* feat(switch): add WithReactHookFormTemplate
* refactor(root): react aria packages fixed (#2944 )
* feat(docs): docs changes (#2868 )
* feat(docs): add example how to set locale (#2867 )
* docs(guide): add an explanation for the installation guide (#2769 )
* docs(guide): add an explanation for the installation guide
* docs(guide): add an explanation for the cli guide
* docs(guide): add support for cli output
* fix: change sort priority - cmdk (#2873 )
* docs: remove unsupported props in range calendar and date range picker (#2881 )
* chore(calendar): remove showMonthAndYearPickers from range calendar story
* docs(date-range-picker): remove showMonthAndYearPickers info
* docs(range-calendar): remove unsupported props
* docs: refactor typing in form.ts (#2882 )
* chore(docs): supplement errorMessage behaviour in input (#2892 )
* refactor(docs): revise NextUI Provider structure
* chore(docs): add updated tag
---------
Co-authored-by: Nozomi-Hijikata <116155762+Nozomi-Hijikata@users.noreply.github.com >
Co-authored-by: HaRuki <soccer_haruki15@me.com >
Co-authored-by: Kaben <carnoxen@gmail.com >
* fix(slider): missing marks when hideThumb is true & revise slider styles (#2883 )
* chore(slider): include marks in hideThumb
* fix(slider): revise slider styles
* feat(changeset): add changeset
* feat(slider): add tests with marks and hideThumb
* feat(test): react hook form tests & stories (#2931 )
* feat(input): add Input with React Hook Form tests
* refactor(input): add missing types
* feat(checkbox): add checkbox with React Hook Form tests
* feat(select): add react-hook-form to dev dep
* feat(select): add react hook form story
* feat(select): react hook form tests
* fix(select): incorrect button reference
* feat(deps): add react-hook-form to dev dep in autocomplete
* feat(autocomplete): react hook form story
* feat(autocomplete): react hook form tests
* fix(autocomplete): rollback wrapper type
* feat(switch): add react hook form tests
* refactor(stories): reorder stories items
* fix: update accordion item heading tag to be customizable (#2265 )
* fix: update accordion item heading tag to be customizable
* Update .changeset/heavy-hairs-join.md
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* Update .changeset/heavy-hairs-join.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* chore(accordion): lint
* chore(changeset): add issue number
* feat(docs): add HeadingComponent prop
---------
Co-authored-by: Shawn Dong <shawn.dong@flybuys.com.au >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(theme): add pointer-events-none to skeleton base (#2972 )
* feat(tabs): add `destroyInactiveTabPanel` prop for Tabs component (#2973 )
* feat(tabs): add destroyInactiveTabPanel and set default to false
* feat(tabs): integrate with destroyInactiveTabPanel
* feat(theme): hidden inert tab panel
* feat(changeset): add changeset
* chore(changeset): add issue number
* feat(docs): add `destroyInactiveTabPanel` prop to tabs page
* chore(docs): set destroyInactiveTabPanel to true by default
* chore(tabs): set destroyInactiveTabPanel to true by default
* chore(tabs): revise destroyInactiveTabPanel logic
* feat(tabs): add tests for destroyInactiveTabPanel
* chore(tabs): change the default value of destroyInactiveTabPanel to true
* refactor: add support for disabling the animation globally (#2929 )
* refactor: add support for disabling the animation globally
* chore(docs): disableAnimation removed from global provider
* feat(docs): nextui provider api updated, storybook preview adjusted
* chore(theme): button is scalable when disabled, tooltip animation improved
* fix(theme): remove origin-bottom from button (#2990 )
* fix(skeleton): overflow issue in skeleton (#2986 )
* fix(theme): set overflow visible after skeleton loaded
* feat(changeset): add changeset
* fix(table): v2 input/textarea don't allow spaces inside a table (#3020 )
* fix(table): set onKeyDownCapture to undefined
* feat(changeset): add changeset
* fix(slider): calculate the correct value on mark click (#3017 )
* fix(slider): calculate the correct value on mark click
* refactor(slider): remove the tests inside describe block
* feat(slider): add tests for thumb move on mark click
* refactor(slider): use val instead of pos
* fix(theme): revise input isInvalid styles (#3010 )
* fix(theme): revise isInvalid input styles
* feat(changeset): add changeset
* feat(date-picker): add missing ref to input wrapper (#3011 )
* fix(date-picker): add missing ref to input wrapper
* feat(changeset): add changeset
* fix(core): incorrect tailwind classnames (#3018 )
* fix(dropdown): focus behaviour on press / enter keydown (#2970 )
* fix(dropdown): set focus on the first item
* feat(dropdown): add keyboard interactions tests
* feat(changeset): add changeset
* fix(dropdown): use fireEvent.keyDown instead
* chore(deps): add @nextui-org/test-utils to dropdown
* refactor(dropdown): pass onKeyDown to menu trigger and don't hardcode autoFocus
* chore(dropdown): remove autoFocus
* fix(menu): pass userMenuProps to useTreeState and useAriaMenu and remove from getListProps
* chore(changeset): add menu package
* fix(component): update type definition to prevent primitive values as items (#2953 )
* fix: update type definition to prevent primitive values as items
* fix: typecheck
* fix(select): onSelectionChange can handle number (#2937 )
* fix: onSelectionChange type for dynamic items in Select component
* docs: remove unnecessary properties
* docs: update highlightedLines
* chore: add changeset
* fix(calendar): scrolling is hidden when changing the month (#2949 )
* fix(calendar): scrolling is hidden when changing the month
* chore(changeset): correct package name
---------
Co-authored-by: Poli Sour <polisour.work@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix: make VisuallyHidden's element type as span when it's inside phrasing element (#3013 )
* fix(checkbox): make VisuallyHidden's element type as span
* feat(changeset): add changeset
* fix(radio): make the VisuallyHidden element type as span
* fix(switch): make the VisuallyHidden element type as span
* fix(select): make the VisuallyHidden element type as span
* feat(changeset): replace changeset
* chore: fix formatting
* docs: sync nextui-cli api (#3035 )
* docs: sync nextui-cli api
* docs: update
* chore: update routes.json with new path and set updated flag
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat: switch default validationBehavior to aria and allow switching via props (#2987 )
* chore: add support validationBehavior aria
* chore: add validationBehavior to Provider
* chore: add autocomplete validation test
* chore: add checkbox validation test
* fix(input): require condition
* docs: add description of validationBehavior props
* chore: add support validationBehavior props for date components
* docs(dates): add description of validationBehavior props
* chore: add changeset
* chore: format
* chore: fix test
* fix: select validationBehavior is not support yet
* fix: select validationBehavior not supported yet
* chore(docs): validation behavior prop added to nextui-provider
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: popover-based focus behaviour (#2854 )
* fix(autocomplete): autocomplete focus behaviour
* feat(autocomplete): add test case for catching blur cases
* refactor(autocomplete): use isOpen instead
* feat(autocomplete): add "should focus when clicking autocomplete" test case
* feat(autocomplete): add should set the input after selection
* fix(autocomplete): remove shouldUseVirtualFocus
* fix(autocomplete): uncomment blur logic
* refactor(autocomplete): remove state as it is in getPopoverProps
* refactor(autocomplete): remove unnecessary blur
* refactor(select): remove unncessary props
* fix(popover): use domRef instead
* fix(popover): revise isNonModal and isDismissable
* fix(popover): use dialogRef back
* fix(popover): rollback
* fix(autocomplete): onFocus logic
* feat(popover): set disableFocusManagement to overlay
* feat(modal): set disableFocusManagement to overlay
* fix(autocomplete): set disableFocusManagement for autocomplete
* feat(popover): include disableFocusManagement prop
* refactor(autocomplete): revise type in selectorButton
* fix(autocomplete): revise focus logic
* feat(autocomplete): add internal focus state and add shouldCloseOnInteractOutside
* feat(autocomplete): handle selectedItem change
* feat(autocomplete): add clear button test
* feat(changeset): add changeset
* refactor(components): use the original order
* refactor(autocomplete): add more comments
* fix(autocomplete): revise focus behaviours
* refactor(autocomplete): rename to listbox
* chore(popover): remove disableFocusManagement from popover
* chore(autocomplete): remove disableFocusManagement from autocomplete
* chore(changeset): add issue number
* fix(popover): don't set default value to transformOrigin
* fix(autocomplete): revise shouldCloseOnInteractOutside logic
* feat(autocomplete): should close listbox by clicking another autocomplete
* fix(popover): add disableFocusManagement to overlay
* refactor(autocomplete): revise comments and refactor shouldCloseOnInteractOutside
* feat(changeset): add issue number
* fix(autocomplete): merge with selectorButtonProps.onClick
* refactor(autocomplete): remove extra line
* refactor(autocomplete): revise comment
* feat(select): add shouldCloseOnInteractOutside
* feat(dropdown): add shouldCloseOnInteractOutside
* feat(date-picker): add shouldCloseOnInteractOutside
* feat(changeset): add dropdown and date-picker
* fix(popover): revise shouldCloseOnInteractOutside
* feat(date-picker): integrate with ariaShouldCloseOnInteractOutside
* feat(select): integrate with ariaShouldCloseOnInteractOutside
* feat(dropdown): integrate with ariaShouldCloseOnInteractOutside
* feat(popover): integrate with ariaShouldCloseOnInteractOutside
* feat(aria-utils): ariaShouldCloseOnInteractOutside
* chore(deps): update pnpm-lock.yaml
* feat(autocomplete): integrate with ariaShouldCloseOnInteractOutside
* feat(aria-utils): handle setShouldFocus logic
* feat(changeset): add @nextui-org/aria-utils
* chore(autocomplete): put the test into correct group
* feat(select): should close listbox by clicking another select
* feat(dropdown): should close listbox by clicking another dropdown
* feat(popover): should close listbox by clicking another popover
* feat(date-picker): should close listbox by clicking another datepicker
* chore(changeset): add issue numbers and revise changeset message
* refactor(autocomplete): change to useRef instead
* refactor(autocomplete): change to useRef instead
* refactor(aria-utils): revise comments and format code
* chore(changeset): add issue number
* chore: take popoverProps.shouldCloseOnInteractOutside first
* refactor(autocomplete): remove unnecessary logic
* refactor(autocomplete): focus management logic
* fix(components): Fix 'Tap to click' behavior on macOS with Edge/Chrome for Accordion and Tab (#2725 )
* fix(components): fix 'Tap to click' behavior on macOS
* Add change file for accordion, menu, and tabs
* Remove 'fix(components)' from the .changeset file
* fix(components): undo dropdown change now that it's no longer applicable
* fix(components): update changeset file now that we are no longer modifying the dropdown component
* fix(date-picker): corrected inert value for true condition (#3054 )
* fix(date-picker): corrected inert value for true condition #3044
* refactor(calendar): add todo comment
* feat(changeset): add changeset
---------
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(hooks): resolve type error in onKeyDown event handler (#3064 )
* fix(hooks): resolve type error in onKeyDown event handler
* chore(changeset): revise changeset
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* Update dependency array on setPage useCallback hook (#3029 )
Changes:
Add the onChangeActivePage function to the dependency array of the setPage useCallback hook to ensure it always reflects the latest state.
Impact:
This fix ensures that the pagination component accurately reflects the current state when triggering onChangeActivePage.
* fix: error peerDep in pkg (#3014 )
* fix: error peerDep in pkg
* docs: changeset
* Fix DatePicker Time Input (#2845 )
* fix(date-picker): set `isCalendarHeaderExpanded` to `false` when DatePicker is closed
* fix(date-picker): calendar header controlled state on DatePicker
* chore(date-picker): update test
* chore(date-picker): remove unnecessary `async` in test
* Update packages/components/date-picker/__tests__/date-picker.test.tsx
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(date-picker): test
* fix(hooks): optimize useScrollPosition with useCallback and useRef (#3049 )
* fix(hooks): optimize useScrollPosition with useCallback and useRef
* Update .changeset/lucky-cobras-jog.md
* Update packages/hooks/use-scroll-position/src/index.ts
* Update packages/hooks/use-scroll-position/src/index.ts
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(select): placeholder text display for controlled component (#3081 )
* fix: return placeholder when selectedItems is empty
* chore: add test and changeset
* chore(docs): v2.4.0 (#3084 )
* chore(docs): v2.4.0
* chore(docs): v2.4.0 blog
* chore(docs): revise typos based on coderabbitai
* chore(docs): adjust navbar
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* chore(changese): update @nextui-org/react dependency to minor version
* docs: update cli docs (#3096 )
* ci(changesets): version packages (#2903 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(radio): remove required attribute for Radio with validationBehavior="aria" (#3110 )
* fix(theme): add missing pointer event after data loaded (#3126 )
* fix(system): listbox href issue (experimental) (#3119 )
* fix(system): @react-aria/utils
* feat(hooks): include routerLinkProps
* feat(changeset): add changeset
* chore(deps): bump @react-aria/utils to 3.24.1
* fix(hooks): missing arguments
* chore(deps): bump @react-types/link
* chore(link): bump @react-aria/link to 3.7.1
* chore(link): use @react-aria/link instead
* chore(changeset): revise changeset
* chore(hooks): undo use-aria-link changes
* chore(deps): undo use-aria-link changes
* chore(deps): bump `@react-aria/utils` to `3.24.1`
* chore(deps): bump `@react-types/shared`
* feat: add missing router.open parameters due to router change
* chore(changeset): add new line
* chore(deps): bump `@react-types/shared` to `3.23.1`
* fix(avatar): avoid passing `disableAnimation` prop to a DOM element (#3111 )
* fix(avatar): avoid passing `disableAnimation` prop to a DOM element
* refactor(avatar): use filterDOMProps approach
* chore(avatar): remove to type import
* chore(avatar): change to shouldFilterDOMProps
* fix(docs): removed unused import & corrected prop for disabled DatePicker (#3136 )
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
* ci(changesets): version packages (#3115 )
* fix(pagination): missing animation (#3144 )
* fix tsup domain (#3158 )
* chore(docs): remove destroyInactiveTabPanel from Tab due to merge conflict (#3155 )
* fix(autocomplete): maximum update depth exceeded in autocomplete (#3175 )
* docs: installation update init description
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: Shrinidhi Upadhyaya <shrinidhiupadhyaya1195@gmail.com >
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
Co-authored-by: Paul Tiedtke <PaulTiedtke@web.de >
Co-authored-by: Mohammad Reza Badri <85818966+mrbadri@users.noreply.github.com >
Co-authored-by: Nozomi-Hijikata <116155762+Nozomi-Hijikata@users.noreply.github.com >
Co-authored-by: HaRuki <soccer_haruki15@me.com >
Co-authored-by: Kaben <carnoxen@gmail.com >
Co-authored-by: Shawn Dong <dsknight@live.com.au >
Co-authored-by: Shawn Dong <shawn.dong@flybuys.com.au >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: Poli Sour <57824881+novsource@users.noreply.github.com >
Co-authored-by: Poli Sour <polisour.work@gmail.com >
Co-authored-by: Artem Pitikin <git@kosmotema.dev >
Co-authored-by: Eric Abreu <ericfabreu@gmail.com >
Co-authored-by: Minsu <52266597+Gaic4o@users.noreply.github.com >
Co-authored-by: Jesus Perdomo Lampignano <38929969+jesuzon@users.noreply.github.com >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: EGOIST <0x142857@gmail.com >
2024-06-06 13:04:37 -03:00
աӄա
2069a7a9d0
fix(autocomplete): maximum update depth exceeded in autocomplete ( #3175 )
2024-06-04 09:19:17 -03:00
աӄա
6fef06c005
v.2.4.1 ( #3129 )
...
* chore(root): reat-aria packages updated (#2889 )
* chore(storybook): common colors enabled (#2902 )
* fix(range-calendar): hide only dates outside the month (#2906 )
* 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
* chore(changeset): patch @nextui-org/theme
---------
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(date-picker): keep date picker style consistent for different variants (#2908 )
* fix: add missing TableRowProps export (#2866 )
* fix: add missing TableRowProps export
* feat(changeset): add changeset for PR2866
* chore(changeset): revise changeset message
---------
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(input): correct label margin for RTL required inputs (#2781 )
* fix(input): correct label margin for RTL required inputs
* fix(theme): add changeset fr theme
* docs(core): add storybook and canary release info (#2914 )
* Cn utility refactor (#2915 )
* refactor(core): cn utility adjusted and moved to the theme package
* chore(root): changeset
* fix(storybook): stories that used cn
* docs(date-picker): change to jsx instead (#2919 )
* fix(switch): support uncontrolled switch in react-hook-form (#2924 )
* feat(switch): add @nextui-org/use-safe-layout-effect
* chore(deps): add @nextui-org/use-safe-layout-effect
* fix(switch): react-hook-form uncontrolled switch component
* fix(switch): react-hook-form uncontrolled switch component
* feat(switch): add rect-hook-form in dev dep
* feat(switch): add WithReactHookFormTemplate
* refactor(root): react aria packages fixed (#2944 )
* feat(docs): docs changes (#2868 )
* feat(docs): add example how to set locale (#2867 )
* docs(guide): add an explanation for the installation guide (#2769 )
* docs(guide): add an explanation for the installation guide
* docs(guide): add an explanation for the cli guide
* docs(guide): add support for cli output
* fix: change sort priority - cmdk (#2873 )
* docs: remove unsupported props in range calendar and date range picker (#2881 )
* chore(calendar): remove showMonthAndYearPickers from range calendar story
* docs(date-range-picker): remove showMonthAndYearPickers info
* docs(range-calendar): remove unsupported props
* docs: refactor typing in form.ts (#2882 )
* chore(docs): supplement errorMessage behaviour in input (#2892 )
* refactor(docs): revise NextUI Provider structure
* chore(docs): add updated tag
---------
Co-authored-by: Nozomi-Hijikata <116155762+Nozomi-Hijikata@users.noreply.github.com >
Co-authored-by: HaRuki <soccer_haruki15@me.com >
Co-authored-by: Kaben <carnoxen@gmail.com >
* fix(slider): missing marks when hideThumb is true & revise slider styles (#2883 )
* chore(slider): include marks in hideThumb
* fix(slider): revise slider styles
* feat(changeset): add changeset
* feat(slider): add tests with marks and hideThumb
* feat(test): react hook form tests & stories (#2931 )
* feat(input): add Input with React Hook Form tests
* refactor(input): add missing types
* feat(checkbox): add checkbox with React Hook Form tests
* feat(select): add react-hook-form to dev dep
* feat(select): add react hook form story
* feat(select): react hook form tests
* fix(select): incorrect button reference
* feat(deps): add react-hook-form to dev dep in autocomplete
* feat(autocomplete): react hook form story
* feat(autocomplete): react hook form tests
* fix(autocomplete): rollback wrapper type
* feat(switch): add react hook form tests
* refactor(stories): reorder stories items
* fix: update accordion item heading tag to be customizable (#2265 )
* fix: update accordion item heading tag to be customizable
* Update .changeset/heavy-hairs-join.md
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* Update .changeset/heavy-hairs-join.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* chore(accordion): lint
* chore(changeset): add issue number
* feat(docs): add HeadingComponent prop
---------
Co-authored-by: Shawn Dong <shawn.dong@flybuys.com.au >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(theme): add pointer-events-none to skeleton base (#2972 )
* feat(tabs): add `destroyInactiveTabPanel` prop for Tabs component (#2973 )
* feat(tabs): add destroyInactiveTabPanel and set default to false
* feat(tabs): integrate with destroyInactiveTabPanel
* feat(theme): hidden inert tab panel
* feat(changeset): add changeset
* chore(changeset): add issue number
* feat(docs): add `destroyInactiveTabPanel` prop to tabs page
* chore(docs): set destroyInactiveTabPanel to true by default
* chore(tabs): set destroyInactiveTabPanel to true by default
* chore(tabs): revise destroyInactiveTabPanel logic
* feat(tabs): add tests for destroyInactiveTabPanel
* chore(tabs): change the default value of destroyInactiveTabPanel to true
* refactor: add support for disabling the animation globally (#2929 )
* refactor: add support for disabling the animation globally
* chore(docs): disableAnimation removed from global provider
* feat(docs): nextui provider api updated, storybook preview adjusted
* chore(theme): button is scalable when disabled, tooltip animation improved
* fix(theme): remove origin-bottom from button (#2990 )
* fix(skeleton): overflow issue in skeleton (#2986 )
* fix(theme): set overflow visible after skeleton loaded
* feat(changeset): add changeset
* fix(table): v2 input/textarea don't allow spaces inside a table (#3020 )
* fix(table): set onKeyDownCapture to undefined
* feat(changeset): add changeset
* fix(slider): calculate the correct value on mark click (#3017 )
* fix(slider): calculate the correct value on mark click
* refactor(slider): remove the tests inside describe block
* feat(slider): add tests for thumb move on mark click
* refactor(slider): use val instead of pos
* fix(theme): revise input isInvalid styles (#3010 )
* fix(theme): revise isInvalid input styles
* feat(changeset): add changeset
* feat(date-picker): add missing ref to input wrapper (#3011 )
* fix(date-picker): add missing ref to input wrapper
* feat(changeset): add changeset
* fix(core): incorrect tailwind classnames (#3018 )
* fix(dropdown): focus behaviour on press / enter keydown (#2970 )
* fix(dropdown): set focus on the first item
* feat(dropdown): add keyboard interactions tests
* feat(changeset): add changeset
* fix(dropdown): use fireEvent.keyDown instead
* chore(deps): add @nextui-org/test-utils to dropdown
* refactor(dropdown): pass onKeyDown to menu trigger and don't hardcode autoFocus
* chore(dropdown): remove autoFocus
* fix(menu): pass userMenuProps to useTreeState and useAriaMenu and remove from getListProps
* chore(changeset): add menu package
* fix(component): update type definition to prevent primitive values as items (#2953 )
* fix: update type definition to prevent primitive values as items
* fix: typecheck
* fix(select): onSelectionChange can handle number (#2937 )
* fix: onSelectionChange type for dynamic items in Select component
* docs: remove unnecessary properties
* docs: update highlightedLines
* chore: add changeset
* fix(calendar): scrolling is hidden when changing the month (#2949 )
* fix(calendar): scrolling is hidden when changing the month
* chore(changeset): correct package name
---------
Co-authored-by: Poli Sour <polisour.work@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix: make VisuallyHidden's element type as span when it's inside phrasing element (#3013 )
* fix(checkbox): make VisuallyHidden's element type as span
* feat(changeset): add changeset
* fix(radio): make the VisuallyHidden element type as span
* fix(switch): make the VisuallyHidden element type as span
* fix(select): make the VisuallyHidden element type as span
* feat(changeset): replace changeset
* chore: fix formatting
* docs: sync nextui-cli api (#3035 )
* docs: sync nextui-cli api
* docs: update
* chore: update routes.json with new path and set updated flag
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat: switch default validationBehavior to aria and allow switching via props (#2987 )
* chore: add support validationBehavior aria
* chore: add validationBehavior to Provider
* chore: add autocomplete validation test
* chore: add checkbox validation test
* fix(input): require condition
* docs: add description of validationBehavior props
* chore: add support validationBehavior props for date components
* docs(dates): add description of validationBehavior props
* chore: add changeset
* chore: format
* chore: fix test
* fix: select validationBehavior is not support yet
* fix: select validationBehavior not supported yet
* chore(docs): validation behavior prop added to nextui-provider
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: popover-based focus behaviour (#2854 )
* fix(autocomplete): autocomplete focus behaviour
* feat(autocomplete): add test case for catching blur cases
* refactor(autocomplete): use isOpen instead
* feat(autocomplete): add "should focus when clicking autocomplete" test case
* feat(autocomplete): add should set the input after selection
* fix(autocomplete): remove shouldUseVirtualFocus
* fix(autocomplete): uncomment blur logic
* refactor(autocomplete): remove state as it is in getPopoverProps
* refactor(autocomplete): remove unnecessary blur
* refactor(select): remove unncessary props
* fix(popover): use domRef instead
* fix(popover): revise isNonModal and isDismissable
* fix(popover): use dialogRef back
* fix(popover): rollback
* fix(autocomplete): onFocus logic
* feat(popover): set disableFocusManagement to overlay
* feat(modal): set disableFocusManagement to overlay
* fix(autocomplete): set disableFocusManagement for autocomplete
* feat(popover): include disableFocusManagement prop
* refactor(autocomplete): revise type in selectorButton
* fix(autocomplete): revise focus logic
* feat(autocomplete): add internal focus state and add shouldCloseOnInteractOutside
* feat(autocomplete): handle selectedItem change
* feat(autocomplete): add clear button test
* feat(changeset): add changeset
* refactor(components): use the original order
* refactor(autocomplete): add more comments
* fix(autocomplete): revise focus behaviours
* refactor(autocomplete): rename to listbox
* chore(popover): remove disableFocusManagement from popover
* chore(autocomplete): remove disableFocusManagement from autocomplete
* chore(changeset): add issue number
* fix(popover): don't set default value to transformOrigin
* fix(autocomplete): revise shouldCloseOnInteractOutside logic
* feat(autocomplete): should close listbox by clicking another autocomplete
* fix(popover): add disableFocusManagement to overlay
* refactor(autocomplete): revise comments and refactor shouldCloseOnInteractOutside
* feat(changeset): add issue number
* fix(autocomplete): merge with selectorButtonProps.onClick
* refactor(autocomplete): remove extra line
* refactor(autocomplete): revise comment
* feat(select): add shouldCloseOnInteractOutside
* feat(dropdown): add shouldCloseOnInteractOutside
* feat(date-picker): add shouldCloseOnInteractOutside
* feat(changeset): add dropdown and date-picker
* fix(popover): revise shouldCloseOnInteractOutside
* feat(date-picker): integrate with ariaShouldCloseOnInteractOutside
* feat(select): integrate with ariaShouldCloseOnInteractOutside
* feat(dropdown): integrate with ariaShouldCloseOnInteractOutside
* feat(popover): integrate with ariaShouldCloseOnInteractOutside
* feat(aria-utils): ariaShouldCloseOnInteractOutside
* chore(deps): update pnpm-lock.yaml
* feat(autocomplete): integrate with ariaShouldCloseOnInteractOutside
* feat(aria-utils): handle setShouldFocus logic
* feat(changeset): add @nextui-org/aria-utils
* chore(autocomplete): put the test into correct group
* feat(select): should close listbox by clicking another select
* feat(dropdown): should close listbox by clicking another dropdown
* feat(popover): should close listbox by clicking another popover
* feat(date-picker): should close listbox by clicking another datepicker
* chore(changeset): add issue numbers and revise changeset message
* refactor(autocomplete): change to useRef instead
* refactor(autocomplete): change to useRef instead
* refactor(aria-utils): revise comments and format code
* chore(changeset): add issue number
* chore: take popoverProps.shouldCloseOnInteractOutside first
* refactor(autocomplete): remove unnecessary logic
* refactor(autocomplete): focus management logic
* fix(components): Fix 'Tap to click' behavior on macOS with Edge/Chrome for Accordion and Tab (#2725 )
* fix(components): fix 'Tap to click' behavior on macOS
* Add change file for accordion, menu, and tabs
* Remove 'fix(components)' from the .changeset file
* fix(components): undo dropdown change now that it's no longer applicable
* fix(components): update changeset file now that we are no longer modifying the dropdown component
* fix(date-picker): corrected inert value for true condition (#3054 )
* fix(date-picker): corrected inert value for true condition #3044
* refactor(calendar): add todo comment
* feat(changeset): add changeset
---------
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(hooks): resolve type error in onKeyDown event handler (#3064 )
* fix(hooks): resolve type error in onKeyDown event handler
* chore(changeset): revise changeset
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* Update dependency array on setPage useCallback hook (#3029 )
Changes:
Add the onChangeActivePage function to the dependency array of the setPage useCallback hook to ensure it always reflects the latest state.
Impact:
This fix ensures that the pagination component accurately reflects the current state when triggering onChangeActivePage.
* fix: error peerDep in pkg (#3014 )
* fix: error peerDep in pkg
* docs: changeset
* Fix DatePicker Time Input (#2845 )
* fix(date-picker): set `isCalendarHeaderExpanded` to `false` when DatePicker is closed
* fix(date-picker): calendar header controlled state on DatePicker
* chore(date-picker): update test
* chore(date-picker): remove unnecessary `async` in test
* Update packages/components/date-picker/__tests__/date-picker.test.tsx
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(date-picker): test
* fix(hooks): optimize useScrollPosition with useCallback and useRef (#3049 )
* fix(hooks): optimize useScrollPosition with useCallback and useRef
* Update .changeset/lucky-cobras-jog.md
* Update packages/hooks/use-scroll-position/src/index.ts
* Update packages/hooks/use-scroll-position/src/index.ts
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(select): placeholder text display for controlled component (#3081 )
* fix: return placeholder when selectedItems is empty
* chore: add test and changeset
* chore(docs): v2.4.0 (#3084 )
* chore(docs): v2.4.0
* chore(docs): v2.4.0 blog
* chore(docs): revise typos based on coderabbitai
* chore(docs): adjust navbar
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* chore(changese): update @nextui-org/react dependency to minor version
* docs: update cli docs (#3096 )
* ci(changesets): version packages (#2903 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(radio): remove required attribute for Radio with validationBehavior="aria" (#3110 )
* fix(theme): add missing pointer event after data loaded (#3126 )
* fix(system): listbox href issue (experimental) (#3119 )
* fix(system): @react-aria/utils
* feat(hooks): include routerLinkProps
* feat(changeset): add changeset
* chore(deps): bump @react-aria/utils to 3.24.1
* fix(hooks): missing arguments
* chore(deps): bump @react-types/link
* chore(link): bump @react-aria/link to 3.7.1
* chore(link): use @react-aria/link instead
* chore(changeset): revise changeset
* chore(hooks): undo use-aria-link changes
* chore(deps): undo use-aria-link changes
* chore(deps): bump `@react-aria/utils` to `3.24.1`
* chore(deps): bump `@react-types/shared`
* feat: add missing router.open parameters due to router change
* chore(changeset): add new line
* chore(deps): bump `@react-types/shared` to `3.23.1`
* fix(avatar): avoid passing `disableAnimation` prop to a DOM element (#3111 )
* fix(avatar): avoid passing `disableAnimation` prop to a DOM element
* refactor(avatar): use filterDOMProps approach
* chore(avatar): remove to type import
* chore(avatar): change to shouldFilterDOMProps
* fix(docs): removed unused import & corrected prop for disabled DatePicker (#3136 )
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
* ci(changesets): version packages (#3115 )
* fix(pagination): missing animation (#3144 )
* fix tsup domain (#3158 )
* chore(docs): remove destroyInactiveTabPanel from Tab due to merge conflict (#3155 )
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: Shrinidhi Upadhyaya <shrinidhiupadhyaya1195@gmail.com >
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: Paul Tiedtke <PaulTiedtke@web.de >
Co-authored-by: Mohammad Reza Badri <85818966+mrbadri@users.noreply.github.com >
Co-authored-by: Nozomi-Hijikata <116155762+Nozomi-Hijikata@users.noreply.github.com >
Co-authored-by: HaRuki <soccer_haruki15@me.com >
Co-authored-by: Kaben <carnoxen@gmail.com >
Co-authored-by: Shawn Dong <dsknight@live.com.au >
Co-authored-by: Shawn Dong <shawn.dong@flybuys.com.au >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: Poli Sour <57824881+novsource@users.noreply.github.com >
Co-authored-by: Poli Sour <polisour.work@gmail.com >
Co-authored-by: Artem Pitikin <git@kosmotema.dev >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Eric Abreu <ericfabreu@gmail.com >
Co-authored-by: Minsu <52266597+Gaic4o@users.noreply.github.com >
Co-authored-by: Jesus Perdomo Lampignano <38929969+jesuzon@users.noreply.github.com >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: EGOIST <0x142857@gmail.com >
2024-06-01 17:36:40 -03:00
աӄա
f3fdb7b666
chore(docs): remove destroyInactiveTabPanel from Tab due to merge conflict ( #3155 )
2024-06-01 17:36:24 -03:00
EGOIST
d9327f9b21
fix tsup domain ( #3158 )
2024-06-01 10:10:48 -03:00
Junior Garcia
be29da1097
chore(root): merge branch 'main' of github.com:nextui-org/nextui into canary
2024-05-31 12:17:18 -03:00
աӄա
68d1629e77
fix(pagination): missing animation ( #3144 )
2024-05-31 09:23:13 -03:00
github-actions[bot]
750b466221
ci(changesets): version packages ( #3115 )
2024-05-31 00:12:04 -03:00
Shrinidhi Upadhyaya
0c10581c24
fix(docs): removed unused import & corrected prop for disabled DatePicker ( #3136 )
...
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
2024-05-30 23:17:37 -03:00
աӄա
a8d9ca03e1
fix(docs): move destroyInactiveTabPanel to Tabs prop ( #3130 )
2024-05-30 23:17:10 -03:00
աӄա
f0008d070a
chore: supplement validation behavior ( #3106 )
...
* chore(input): set validationBehavior to native
* chore(docs): revise validate content in input
* chore(input): set validationBehavior to native
* chore(docs): add Validation Behavior to breaking change
* chore(docs): revise content in cli
* chore(docs): fix typo
* chore(docs): update validate in other components
* chore(docs): update validate content
* chore(input): undo validationBehavior
* refactor(docs): revise validate content
2024-05-30 23:15:44 -03:00
աӄա
cdbc6514f8
fix(avatar): avoid passing disableAnimation prop to a DOM element ( #3111 )
...
* fix(avatar): avoid passing `disableAnimation` prop to a DOM element
* refactor(avatar): use filterDOMProps approach
* chore(avatar): remove to type import
* chore(avatar): change to shouldFilterDOMProps
2024-05-30 23:14:41 -03:00
աӄա
0bfa5855c7
fix(docs): incorrect import path in date range picker ( #3117 )
2024-05-29 16:27:49 -03:00
աӄա
685995a125
fix(system): listbox href issue (experimental) ( #3119 )
...
* fix(system): @react-aria/utils
* feat(hooks): include routerLinkProps
* feat(changeset): add changeset
* chore(deps): bump @react-aria/utils to 3.24.1
* fix(hooks): missing arguments
* chore(deps): bump @react-types/link
* chore(link): bump @react-aria/link to 3.7.1
* chore(link): use @react-aria/link instead
* chore(changeset): revise changeset
* chore(hooks): undo use-aria-link changes
* chore(deps): undo use-aria-link changes
* chore(deps): bump `@react-aria/utils` to `3.24.1`
* chore(deps): bump `@react-types/shared`
* feat: add missing router.open parameters due to router change
* chore(changeset): add new line
* chore(deps): bump `@react-types/shared` to `3.23.1`
2024-05-29 16:27:30 -03:00
աӄա
43bef07180
fix(theme): add missing pointer event after data loaded ( #3126 )
2024-05-29 16:27:13 -03:00
Ryo Matsukawa
41d2eeb20b
fix(radio): remove required attribute for Radio with validationBehavior="aria" ( #3110 )
2024-05-28 16:43:46 -03:00
Junior Garcia
67347d8713
v2.4.0 ( #3101 )
...
* chore(root): reat-aria packages updated (#2889 )
* chore(storybook): common colors enabled (#2902 )
* fix(range-calendar): hide only dates outside the month (#2906 )
* 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
* chore(changeset): patch @nextui-org/theme
---------
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(date-picker): keep date picker style consistent for different variants (#2908 )
* fix: add missing TableRowProps export (#2866 )
* fix: add missing TableRowProps export
* feat(changeset): add changeset for PR2866
* chore(changeset): revise changeset message
---------
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(input): correct label margin for RTL required inputs (#2781 )
* fix(input): correct label margin for RTL required inputs
* fix(theme): add changeset fr theme
* docs(core): add storybook and canary release info (#2914 )
* Cn utility refactor (#2915 )
* refactor(core): cn utility adjusted and moved to the theme package
* chore(root): changeset
* fix(storybook): stories that used cn
* docs(date-picker): change to jsx instead (#2919 )
* fix(switch): support uncontrolled switch in react-hook-form (#2924 )
* feat(switch): add @nextui-org/use-safe-layout-effect
* chore(deps): add @nextui-org/use-safe-layout-effect
* fix(switch): react-hook-form uncontrolled switch component
* fix(switch): react-hook-form uncontrolled switch component
* feat(switch): add rect-hook-form in dev dep
* feat(switch): add WithReactHookFormTemplate
* refactor(root): react aria packages fixed (#2944 )
* feat(docs): docs changes (#2868 )
* feat(docs): add example how to set locale (#2867 )
* docs(guide): add an explanation for the installation guide (#2769 )
* docs(guide): add an explanation for the installation guide
* docs(guide): add an explanation for the cli guide
* docs(guide): add support for cli output
* fix: change sort priority - cmdk (#2873 )
* docs: remove unsupported props in range calendar and date range picker (#2881 )
* chore(calendar): remove showMonthAndYearPickers from range calendar story
* docs(date-range-picker): remove showMonthAndYearPickers info
* docs(range-calendar): remove unsupported props
* docs: refactor typing in form.ts (#2882 )
* chore(docs): supplement errorMessage behaviour in input (#2892 )
* refactor(docs): revise NextUI Provider structure
* chore(docs): add updated tag
---------
Co-authored-by: Nozomi-Hijikata <116155762+Nozomi-Hijikata@users.noreply.github.com >
Co-authored-by: HaRuki <soccer_haruki15@me.com >
Co-authored-by: Kaben <carnoxen@gmail.com >
* fix(slider): missing marks when hideThumb is true & revise slider styles (#2883 )
* chore(slider): include marks in hideThumb
* fix(slider): revise slider styles
* feat(changeset): add changeset
* feat(slider): add tests with marks and hideThumb
* feat(test): react hook form tests & stories (#2931 )
* feat(input): add Input with React Hook Form tests
* refactor(input): add missing types
* feat(checkbox): add checkbox with React Hook Form tests
* feat(select): add react-hook-form to dev dep
* feat(select): add react hook form story
* feat(select): react hook form tests
* fix(select): incorrect button reference
* feat(deps): add react-hook-form to dev dep in autocomplete
* feat(autocomplete): react hook form story
* feat(autocomplete): react hook form tests
* fix(autocomplete): rollback wrapper type
* feat(switch): add react hook form tests
* refactor(stories): reorder stories items
* fix: update accordion item heading tag to be customizable (#2265 )
* fix: update accordion item heading tag to be customizable
* Update .changeset/heavy-hairs-join.md
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* Update .changeset/heavy-hairs-join.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* chore(accordion): lint
* chore(changeset): add issue number
* feat(docs): add HeadingComponent prop
---------
Co-authored-by: Shawn Dong <shawn.dong@flybuys.com.au >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
* fix(theme): add pointer-events-none to skeleton base (#2972 )
* feat(tabs): add `destroyInactiveTabPanel` prop for Tabs component (#2973 )
* feat(tabs): add destroyInactiveTabPanel and set default to false
* feat(tabs): integrate with destroyInactiveTabPanel
* feat(theme): hidden inert tab panel
* feat(changeset): add changeset
* chore(changeset): add issue number
* feat(docs): add `destroyInactiveTabPanel` prop to tabs page
* chore(docs): set destroyInactiveTabPanel to true by default
* chore(tabs): set destroyInactiveTabPanel to true by default
* chore(tabs): revise destroyInactiveTabPanel logic
* feat(tabs): add tests for destroyInactiveTabPanel
* chore(tabs): change the default value of destroyInactiveTabPanel to true
* refactor: add support for disabling the animation globally (#2929 )
* refactor: add support for disabling the animation globally
* chore(docs): disableAnimation removed from global provider
* feat(docs): nextui provider api updated, storybook preview adjusted
* chore(theme): button is scalable when disabled, tooltip animation improved
* fix(theme): remove origin-bottom from button (#2990 )
* fix(skeleton): overflow issue in skeleton (#2986 )
* fix(theme): set overflow visible after skeleton loaded
* feat(changeset): add changeset
* fix(table): v2 input/textarea don't allow spaces inside a table (#3020 )
* fix(table): set onKeyDownCapture to undefined
* feat(changeset): add changeset
* fix(slider): calculate the correct value on mark click (#3017 )
* fix(slider): calculate the correct value on mark click
* refactor(slider): remove the tests inside describe block
* feat(slider): add tests for thumb move on mark click
* refactor(slider): use val instead of pos
* fix(theme): revise input isInvalid styles (#3010 )
* fix(theme): revise isInvalid input styles
* feat(changeset): add changeset
* feat(date-picker): add missing ref to input wrapper (#3011 )
* fix(date-picker): add missing ref to input wrapper
* feat(changeset): add changeset
* fix(core): incorrect tailwind classnames (#3018 )
* fix(dropdown): focus behaviour on press / enter keydown (#2970 )
* fix(dropdown): set focus on the first item
* feat(dropdown): add keyboard interactions tests
* feat(changeset): add changeset
* fix(dropdown): use fireEvent.keyDown instead
* chore(deps): add @nextui-org/test-utils to dropdown
* refactor(dropdown): pass onKeyDown to menu trigger and don't hardcode autoFocus
* chore(dropdown): remove autoFocus
* fix(menu): pass userMenuProps to useTreeState and useAriaMenu and remove from getListProps
* chore(changeset): add menu package
* fix(component): update type definition to prevent primitive values as items (#2953 )
* fix: update type definition to prevent primitive values as items
* fix: typecheck
* fix(select): onSelectionChange can handle number (#2937 )
* fix: onSelectionChange type for dynamic items in Select component
* docs: remove unnecessary properties
* docs: update highlightedLines
* chore: add changeset
* fix(calendar): scrolling is hidden when changing the month (#2949 )
* fix(calendar): scrolling is hidden when changing the month
* chore(changeset): correct package name
---------
Co-authored-by: Poli Sour <polisour.work@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix: make VisuallyHidden's element type as span when it's inside phrasing element (#3013 )
* fix(checkbox): make VisuallyHidden's element type as span
* feat(changeset): add changeset
* fix(radio): make the VisuallyHidden element type as span
* fix(switch): make the VisuallyHidden element type as span
* fix(select): make the VisuallyHidden element type as span
* feat(changeset): replace changeset
* chore: fix formatting
* docs: sync nextui-cli api (#3035 )
* docs: sync nextui-cli api
* docs: update
* chore: update routes.json with new path and set updated flag
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* feat: switch default validationBehavior to aria and allow switching via props (#2987 )
* chore: add support validationBehavior aria
* chore: add validationBehavior to Provider
* chore: add autocomplete validation test
* chore: add checkbox validation test
* fix(input): require condition
* docs: add description of validationBehavior props
* chore: add support validationBehavior props for date components
* docs(dates): add description of validationBehavior props
* chore: add changeset
* chore: format
* chore: fix test
* fix: select validationBehavior is not support yet
* fix: select validationBehavior not supported yet
* chore(docs): validation behavior prop added to nextui-provider
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix: popover-based focus behaviour (#2854 )
* fix(autocomplete): autocomplete focus behaviour
* feat(autocomplete): add test case for catching blur cases
* refactor(autocomplete): use isOpen instead
* feat(autocomplete): add "should focus when clicking autocomplete" test case
* feat(autocomplete): add should set the input after selection
* fix(autocomplete): remove shouldUseVirtualFocus
* fix(autocomplete): uncomment blur logic
* refactor(autocomplete): remove state as it is in getPopoverProps
* refactor(autocomplete): remove unnecessary blur
* refactor(select): remove unncessary props
* fix(popover): use domRef instead
* fix(popover): revise isNonModal and isDismissable
* fix(popover): use dialogRef back
* fix(popover): rollback
* fix(autocomplete): onFocus logic
* feat(popover): set disableFocusManagement to overlay
* feat(modal): set disableFocusManagement to overlay
* fix(autocomplete): set disableFocusManagement for autocomplete
* feat(popover): include disableFocusManagement prop
* refactor(autocomplete): revise type in selectorButton
* fix(autocomplete): revise focus logic
* feat(autocomplete): add internal focus state and add shouldCloseOnInteractOutside
* feat(autocomplete): handle selectedItem change
* feat(autocomplete): add clear button test
* feat(changeset): add changeset
* refactor(components): use the original order
* refactor(autocomplete): add more comments
* fix(autocomplete): revise focus behaviours
* refactor(autocomplete): rename to listbox
* chore(popover): remove disableFocusManagement from popover
* chore(autocomplete): remove disableFocusManagement from autocomplete
* chore(changeset): add issue number
* fix(popover): don't set default value to transformOrigin
* fix(autocomplete): revise shouldCloseOnInteractOutside logic
* feat(autocomplete): should close listbox by clicking another autocomplete
* fix(popover): add disableFocusManagement to overlay
* refactor(autocomplete): revise comments and refactor shouldCloseOnInteractOutside
* feat(changeset): add issue number
* fix(autocomplete): merge with selectorButtonProps.onClick
* refactor(autocomplete): remove extra line
* refactor(autocomplete): revise comment
* feat(select): add shouldCloseOnInteractOutside
* feat(dropdown): add shouldCloseOnInteractOutside
* feat(date-picker): add shouldCloseOnInteractOutside
* feat(changeset): add dropdown and date-picker
* fix(popover): revise shouldCloseOnInteractOutside
* feat(date-picker): integrate with ariaShouldCloseOnInteractOutside
* feat(select): integrate with ariaShouldCloseOnInteractOutside
* feat(dropdown): integrate with ariaShouldCloseOnInteractOutside
* feat(popover): integrate with ariaShouldCloseOnInteractOutside
* feat(aria-utils): ariaShouldCloseOnInteractOutside
* chore(deps): update pnpm-lock.yaml
* feat(autocomplete): integrate with ariaShouldCloseOnInteractOutside
* feat(aria-utils): handle setShouldFocus logic
* feat(changeset): add @nextui-org/aria-utils
* chore(autocomplete): put the test into correct group
* feat(select): should close listbox by clicking another select
* feat(dropdown): should close listbox by clicking another dropdown
* feat(popover): should close listbox by clicking another popover
* feat(date-picker): should close listbox by clicking another datepicker
* chore(changeset): add issue numbers and revise changeset message
* refactor(autocomplete): change to useRef instead
* refactor(autocomplete): change to useRef instead
* refactor(aria-utils): revise comments and format code
* chore(changeset): add issue number
* chore: take popoverProps.shouldCloseOnInteractOutside first
* refactor(autocomplete): remove unnecessary logic
* refactor(autocomplete): focus management logic
* fix(components): Fix 'Tap to click' behavior on macOS with Edge/Chrome for Accordion and Tab (#2725 )
* fix(components): fix 'Tap to click' behavior on macOS
* Add change file for accordion, menu, and tabs
* Remove 'fix(components)' from the .changeset file
* fix(components): undo dropdown change now that it's no longer applicable
* fix(components): update changeset file now that we are no longer modifying the dropdown component
* fix(date-picker): corrected inert value for true condition (#3054 )
* fix(date-picker): corrected inert value for true condition #3044
* refactor(calendar): add todo comment
* feat(changeset): add changeset
---------
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* fix(hooks): resolve type error in onKeyDown event handler (#3064 )
* fix(hooks): resolve type error in onKeyDown event handler
* chore(changeset): revise changeset
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* Update dependency array on setPage useCallback hook (#3029 )
Changes:
Add the onChangeActivePage function to the dependency array of the setPage useCallback hook to ensure it always reflects the latest state.
Impact:
This fix ensures that the pagination component accurately reflects the current state when triggering onChangeActivePage.
* fix: error peerDep in pkg (#3014 )
* fix: error peerDep in pkg
* docs: changeset
* Fix DatePicker Time Input (#2845 )
* fix(date-picker): set `isCalendarHeaderExpanded` to `false` when DatePicker is closed
* fix(date-picker): calendar header controlled state on DatePicker
* chore(date-picker): update test
* chore(date-picker): remove unnecessary `async` in test
* Update packages/components/date-picker/__tests__/date-picker.test.tsx
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(date-picker): test
* fix(hooks): optimize useScrollPosition with useCallback and useRef (#3049 )
* fix(hooks): optimize useScrollPosition with useCallback and useRef
* Update .changeset/lucky-cobras-jog.md
* Update packages/hooks/use-scroll-position/src/index.ts
* Update packages/hooks/use-scroll-position/src/index.ts
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* fix(select): placeholder text display for controlled component (#3081 )
* fix: return placeholder when selectedItems is empty
* chore: add test and changeset
* chore(docs): v2.4.0 (#3084 )
* chore(docs): v2.4.0
* chore(docs): v2.4.0 blog
* chore(docs): revise typos based on coderabbitai
* chore(docs): adjust navbar
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
* chore(changese): update @nextui-org/react dependency to minor version
* docs: update cli docs (#3096 )
* ci(changesets): version packages (#2903 )
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
---------
Co-authored-by: Shrinidhi Upadhyaya <shrinidhiupadhyaya1195@gmail.com >
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
Co-authored-by: Paul Tiedtke <PaulTiedtke@web.de >
Co-authored-by: Mohammad Reza Badri <85818966+mrbadri@users.noreply.github.com >
Co-authored-by: Nozomi-Hijikata <116155762+Nozomi-Hijikata@users.noreply.github.com >
Co-authored-by: HaRuki <soccer_haruki15@me.com >
Co-authored-by: Kaben <carnoxen@gmail.com >
Co-authored-by: Shawn Dong <dsknight@live.com.au >
Co-authored-by: Shawn Dong <shawn.dong@flybuys.com.au >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com >
Co-authored-by: Poli Sour <57824881+novsource@users.noreply.github.com >
Co-authored-by: Poli Sour <polisour.work@gmail.com >
Co-authored-by: Artem Pitikin <git@kosmotema.dev >
Co-authored-by: winches <329487092@qq.com >
Co-authored-by: Eric Abreu <ericfabreu@gmail.com >
Co-authored-by: Minsu <52266597+Gaic4o@users.noreply.github.com >
Co-authored-by: Jesus Perdomo Lampignano <38929969+jesuzon@users.noreply.github.com >
Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-27 19:51:30 -03:00
github-actions[bot]
9a2cf47a60
ci(changesets): version packages ( #2903 )
...
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
2024-05-27 12:11:14 -03:00
winches
59fcfa0c3d
docs: update cli docs ( #3096 )
2024-05-27 11:14:28 -03:00
Junior Garcia
578cf5aed3
chore(changese): update @nextui-org/react dependency to minor version
2024-05-27 10:52:15 -03:00
Junior Garcia
384cf117f4
chore(docs): v2.4.0 ( #3084 )
...
* chore(docs): v2.4.0
* chore(docs): v2.4.0 blog
* chore(docs): revise typos based on coderabbitai
* chore(docs): adjust navbar
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-05-27 10:02:04 -03:00
Junior Garcia
5194a02d82
Merge branch 'main' of github.com:nextui-org/nextui into canary
2024-05-26 17:13:00 -03:00
աӄա
a3bf209171
chore(docs): revise breaking changes content ( #3077 )
2024-05-26 17:11:42 -03:00
Ryo Matsukawa
31bfaebe2c
fix(select): placeholder text display for controlled component ( #3081 )
...
* fix: return placeholder when selectedItems is empty
* chore: add test and changeset
2024-05-26 17:07:36 -03:00
Minsu
fa26ce02fd
fix(hooks): optimize useScrollPosition with useCallback and useRef ( #3049 )
...
* fix(hooks): optimize useScrollPosition with useCallback and useRef
* Update .changeset/lucky-cobras-jog.md
* Update packages/hooks/use-scroll-position/src/index.ts
* Update packages/hooks/use-scroll-position/src/index.ts
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
2024-05-24 18:29:34 -03:00
Junior Garcia
39bc460353
fix(date-picker): test
2024-05-24 18:01:12 -03:00
chirokas
6bbd234aa2
Fix DatePicker Time Input ( #2845 )
...
* fix(date-picker): set `isCalendarHeaderExpanded` to `false` when DatePicker is closed
* fix(date-picker): calendar header controlled state on DatePicker
* chore(date-picker): update test
* chore(date-picker): remove unnecessary `async` in test
* Update packages/components/date-picker/__tests__/date-picker.test.tsx
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
2024-05-24 17:59:17 -03:00
winches
20ba81948d
fix: error peerDep in pkg ( #3014 )
...
* fix: error peerDep in pkg
* docs: changeset
2024-05-24 17:45:59 -03:00
Jesus Perdomo Lampignano
07d722de59
Update dependency array on setPage useCallback hook ( #3029 )
...
Changes:
Add the onChangeActivePage function to the dependency array of the setPage useCallback hook to ensure it always reflects the latest state.
Impact:
This fix ensures that the pagination component accurately reflects the current state when triggering onChangeActivePage.
2024-05-24 16:24:43 -03:00
Minsu
f24a97311a
fix(hooks): resolve type error in onKeyDown event handler ( #3064 )
...
* fix(hooks): resolve type error in onKeyDown event handler
* chore(changeset): revise changeset
---------
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-05-24 16:23:28 -03:00
Shrinidhi Upadhyaya
bf68c91b9a
fix(date-picker): corrected inert value for true condition ( #3054 )
...
* fix(date-picker): corrected inert value for true condition #3044
* refactor(calendar): add todo comment
* feat(changeset): add changeset
---------
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-05-24 16:21:48 -03:00
Eric Abreu
8048dcc0c3
fix(components): Fix 'Tap to click' behavior on macOS with Edge/Chrome for Accordion and Tab ( #2725 )
...
* fix(components): fix 'Tap to click' behavior on macOS
* Add change file for accordion, menu, and tabs
* Remove 'fix(components)' from the .changeset file
* fix(components): undo dropdown change now that it's no longer applicable
* fix(components): update changeset file now that we are no longer modifying the dropdown component
2024-05-24 16:20:44 -03:00
աӄա
3b14c21e02
fix: popover-based focus behaviour ( #2854 )
...
* fix(autocomplete): autocomplete focus behaviour
* feat(autocomplete): add test case for catching blur cases
* refactor(autocomplete): use isOpen instead
* feat(autocomplete): add "should focus when clicking autocomplete" test case
* feat(autocomplete): add should set the input after selection
* fix(autocomplete): remove shouldUseVirtualFocus
* fix(autocomplete): uncomment blur logic
* refactor(autocomplete): remove state as it is in getPopoverProps
* refactor(autocomplete): remove unnecessary blur
* refactor(select): remove unncessary props
* fix(popover): use domRef instead
* fix(popover): revise isNonModal and isDismissable
* fix(popover): use dialogRef back
* fix(popover): rollback
* fix(autocomplete): onFocus logic
* feat(popover): set disableFocusManagement to overlay
* feat(modal): set disableFocusManagement to overlay
* fix(autocomplete): set disableFocusManagement for autocomplete
* feat(popover): include disableFocusManagement prop
* refactor(autocomplete): revise type in selectorButton
* fix(autocomplete): revise focus logic
* feat(autocomplete): add internal focus state and add shouldCloseOnInteractOutside
* feat(autocomplete): handle selectedItem change
* feat(autocomplete): add clear button test
* feat(changeset): add changeset
* refactor(components): use the original order
* refactor(autocomplete): add more comments
* fix(autocomplete): revise focus behaviours
* refactor(autocomplete): rename to listbox
* chore(popover): remove disableFocusManagement from popover
* chore(autocomplete): remove disableFocusManagement from autocomplete
* chore(changeset): add issue number
* fix(popover): don't set default value to transformOrigin
* fix(autocomplete): revise shouldCloseOnInteractOutside logic
* feat(autocomplete): should close listbox by clicking another autocomplete
* fix(popover): add disableFocusManagement to overlay
* refactor(autocomplete): revise comments and refactor shouldCloseOnInteractOutside
* feat(changeset): add issue number
* fix(autocomplete): merge with selectorButtonProps.onClick
* refactor(autocomplete): remove extra line
* refactor(autocomplete): revise comment
* feat(select): add shouldCloseOnInteractOutside
* feat(dropdown): add shouldCloseOnInteractOutside
* feat(date-picker): add shouldCloseOnInteractOutside
* feat(changeset): add dropdown and date-picker
* fix(popover): revise shouldCloseOnInteractOutside
* feat(date-picker): integrate with ariaShouldCloseOnInteractOutside
* feat(select): integrate with ariaShouldCloseOnInteractOutside
* feat(dropdown): integrate with ariaShouldCloseOnInteractOutside
* feat(popover): integrate with ariaShouldCloseOnInteractOutside
* feat(aria-utils): ariaShouldCloseOnInteractOutside
* chore(deps): update pnpm-lock.yaml
* feat(autocomplete): integrate with ariaShouldCloseOnInteractOutside
* feat(aria-utils): handle setShouldFocus logic
* feat(changeset): add @nextui-org/aria-utils
* chore(autocomplete): put the test into correct group
* feat(select): should close listbox by clicking another select
* feat(dropdown): should close listbox by clicking another dropdown
* feat(popover): should close listbox by clicking another popover
* feat(date-picker): should close listbox by clicking another datepicker
* chore(changeset): add issue numbers and revise changeset message
* refactor(autocomplete): change to useRef instead
* refactor(autocomplete): change to useRef instead
* refactor(aria-utils): revise comments and format code
* chore(changeset): add issue number
* chore: take popoverProps.shouldCloseOnInteractOutside first
* refactor(autocomplete): remove unnecessary logic
* refactor(autocomplete): focus management logic
2024-05-24 16:19:46 -03:00
Ryo Matsukawa
540aa2124b
feat: switch default validationBehavior to aria and allow switching via props ( #2987 )
...
* chore: add support validationBehavior aria
* chore: add validationBehavior to Provider
* chore: add autocomplete validation test
* chore: add checkbox validation test
* fix(input): require condition
* docs: add description of validationBehavior props
* chore: add support validationBehavior props for date components
* docs(dates): add description of validationBehavior props
* chore: add changeset
* chore: format
* chore: fix test
* fix: select validationBehavior is not support yet
* fix: select validationBehavior not supported yet
* chore(docs): validation behavior prop added to nextui-provider
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
2024-05-22 17:50:39 -03:00
winches
bc759838cd
docs: sync nextui-cli api ( #3035 )
...
* docs: sync nextui-cli api
* docs: update
* chore: update routes.json with new path and set updated flag
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
2024-05-22 11:56:02 -03:00
Artem Pitikin
06ecd213cf
fix: make VisuallyHidden's element type as span when it's inside phrasing element ( #3013 )
...
* fix(checkbox): make VisuallyHidden's element type as span
* feat(changeset): add changeset
* fix(radio): make the VisuallyHidden element type as span
* fix(switch): make the VisuallyHidden element type as span
* fix(select): make the VisuallyHidden element type as span
* feat(changeset): replace changeset
* chore: fix formatting
2024-05-20 21:03:29 +08:00
Poli Sour
0108d06d3b
fix(calendar): scrolling is hidden when changing the month ( #2949 )
...
* fix(calendar): scrolling is hidden when changing the month
* chore(changeset): correct package name
---------
Co-authored-by: Poli Sour <polisour.work@gmail.com >
Co-authored-by: WK Wong <wingkwong.code@gmail.com >
2024-05-19 16:51:42 -03:00
Ryo Matsukawa
a2133009f7
fix(select): onSelectionChange can handle number ( #2937 )
...
* fix: onSelectionChange type for dynamic items in Select component
* docs: remove unnecessary properties
* docs: update highlightedLines
* chore: add changeset
2024-05-19 16:49:06 -03:00
Ryo Matsukawa
c8f792ccd7
fix(component): update type definition to prevent primitive values as items ( #2953 )
...
* fix: update type definition to prevent primitive values as items
* fix: typecheck
2024-05-19 16:42:29 -03:00
աӄա
7df2c71ecc
fix(dropdown): focus behaviour on press / enter keydown ( #2970 )
...
* fix(dropdown): set focus on the first item
* feat(dropdown): add keyboard interactions tests
* feat(changeset): add changeset
* fix(dropdown): use fireEvent.keyDown instead
* chore(deps): add @nextui-org/test-utils to dropdown
* refactor(dropdown): pass onKeyDown to menu trigger and don't hardcode autoFocus
* chore(dropdown): remove autoFocus
* fix(menu): pass userMenuProps to useTreeState and useAriaMenu and remove from getListProps
* chore(changeset): add menu package
2024-05-19 16:40:28 -03:00
աӄա
1109baea6a
fix(core): incorrect tailwind classnames ( #3018 )
2024-05-19 16:38:24 -03:00
աӄա
ca8554ccff
feat(date-picker): add missing ref to input wrapper ( #3011 )
...
* fix(date-picker): add missing ref to input wrapper
* feat(changeset): add changeset
2024-05-19 10:23:03 -03:00
աӄա
77e85e665c
fix(theme): revise input isInvalid styles ( #3010 )
...
* fix(theme): revise isInvalid input styles
* feat(changeset): add changeset
2024-05-19 10:20:49 -03:00
աӄա
5329de42d2
fix(slider): calculate the correct value on mark click ( #3017 )
...
* fix(slider): calculate the correct value on mark click
* refactor(slider): remove the tests inside describe block
* feat(slider): add tests for thumb move on mark click
* refactor(slider): use val instead of pos
2024-05-19 10:12:57 -03:00
աӄա
9d63259eea
fix(table): v2 input/textarea don't allow spaces inside a table ( #3020 )
...
* fix(table): set onKeyDownCapture to undefined
* feat(changeset): add changeset
2024-05-19 10:05:51 -03:00
Junior Garcia
f5bf12aedf
Merge branch 'main' of github.com:nextui-org/nextui into canary
2024-05-18 09:28:00 -03:00
Junior Garcia
8c5ae9fe0b
chore(docs): sponsors updated
2024-05-18 09:27:37 -03:00
Junior Garcia
b51cd52cd5
Merge branch 'main' of github.com:nextui-org/nextui into canary
2024-05-18 09:16:54 -03:00
Junior Garcia
cf912f5f4b
chore(docs): ads removed batch 2
2024-05-18 09:16:33 -03:00
Junior Garcia
3312d4e261
Merge branch 'main' of github.com:nextui-org/nextui into canary
2024-05-18 09:12:30 -03:00
Junior Garcia
6a9ef07388
chore(docs): ads card removed
2024-05-18 09:12:02 -03:00
աӄա
8988981c53
fix(skeleton): overflow issue in skeleton ( #2986 )
...
* fix(theme): set overflow visible after skeleton loaded
* feat(changeset): add changeset
2024-05-13 10:19:48 -03:00
աӄա
ad08010fe5
fix(theme): remove origin-bottom from button ( #2990 )
2024-05-13 09:56:42 -03:00
Junior Garcia
81eeea5093
Merge branch 'main' of github.com:nextui-org/nextui into canary
2024-05-12 23:29:15 -03:00
Junior Garcia
3b0916d431
Merge branch 'main' of github.com:nextui-org/nextui
2024-05-12 23:28:56 -03:00
Junior Garcia
0f071ec1f1
fix(docs): false warning and cli install command changed to npx one
2024-05-12 23:28:43 -03:00
Junior Garcia
7af584a4ba
Merge branch 'main' of github.com:nextui-org/nextui into canary
2024-05-12 23:18:01 -03:00
knownymous
67553d270a
Update custom-styles.ts ( #2982 )
...
The data attribute as per the documentation of input is data-focus. In this code demo it is portrayed as data-focused which does not work.
2024-05-12 23:17:22 -03:00
Junior Garcia
422770cc6b
refactor: add support for disabling the animation globally ( #2929 )
...
* refactor: add support for disabling the animation globally
* chore(docs): disableAnimation removed from global provider
* feat(docs): nextui provider api updated, storybook preview adjusted
* chore(theme): button is scalable when disabled, tooltip animation improved
2024-05-12 23:13:54 -03:00
աӄա
e34c5e307d
feat(tabs): add destroyInactiveTabPanel prop for Tabs component ( #2973 )
...
* feat(tabs): add destroyInactiveTabPanel and set default to false
* feat(tabs): integrate with destroyInactiveTabPanel
* feat(theme): hidden inert tab panel
* feat(changeset): add changeset
* chore(changeset): add issue number
* feat(docs): add `destroyInactiveTabPanel` prop to tabs page
* chore(docs): set destroyInactiveTabPanel to true by default
* chore(tabs): set destroyInactiveTabPanel to true by default
* chore(tabs): revise destroyInactiveTabPanel logic
* feat(tabs): add tests for destroyInactiveTabPanel
* chore(tabs): change the default value of destroyInactiveTabPanel to true
2024-05-12 23:00:28 -03:00
աӄա
5f735a9892
fix(theme): add pointer-events-none to skeleton base ( #2972 )
2024-05-12 22:57:42 -03:00
Shawn Dong
10497f1a97
fix: update accordion item heading tag to be customizable ( #2265 )
...
* fix: update accordion item heading tag to be customizable
* Update .changeset/heavy-hairs-join.md
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
* Update .changeset/heavy-hairs-join.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* chore(accordion): lint
* chore(changeset): add issue number
* feat(docs): add HeadingComponent prop
---------
Co-authored-by: Shawn Dong <shawn.dong@flybuys.com.au >
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
2024-05-12 22:38:56 -03:00
աӄա
633f9d208b
feat(test): react hook form tests & stories ( #2931 )
...
* feat(input): add Input with React Hook Form tests
* refactor(input): add missing types
* feat(checkbox): add checkbox with React Hook Form tests
* feat(select): add react-hook-form to dev dep
* feat(select): add react hook form story
* feat(select): react hook form tests
* fix(select): incorrect button reference
* feat(deps): add react-hook-form to dev dep in autocomplete
* feat(autocomplete): react hook form story
* feat(autocomplete): react hook form tests
* fix(autocomplete): rollback wrapper type
* feat(switch): add react hook form tests
* refactor(stories): reorder stories items
2024-05-04 13:18:33 -03:00
աӄա
76f4dd8e76
fix(slider): missing marks when hideThumb is true & revise slider styles ( #2883 )
...
* chore(slider): include marks in hideThumb
* fix(slider): revise slider styles
* feat(changeset): add changeset
* feat(slider): add tests with marks and hideThumb
2024-05-04 13:17:04 -03:00
աӄա
dc245874ce
feat(docs): docs changes ( #2868 )
...
* feat(docs): add example how to set locale (#2867 )
* docs(guide): add an explanation for the installation guide (#2769 )
* docs(guide): add an explanation for the installation guide
* docs(guide): add an explanation for the cli guide
* docs(guide): add support for cli output
* fix: change sort priority - cmdk (#2873 )
* docs: remove unsupported props in range calendar and date range picker (#2881 )
* chore(calendar): remove showMonthAndYearPickers from range calendar story
* docs(date-range-picker): remove showMonthAndYearPickers info
* docs(range-calendar): remove unsupported props
* docs: refactor typing in form.ts (#2882 )
* chore(docs): supplement errorMessage behaviour in input (#2892 )
* refactor(docs): revise NextUI Provider structure
* chore(docs): add updated tag
---------
Co-authored-by: Nozomi-Hijikata <116155762+Nozomi-Hijikata@users.noreply.github.com >
Co-authored-by: HaRuki <soccer_haruki15@me.com >
Co-authored-by: Kaben <carnoxen@gmail.com >
2024-05-04 13:09:56 -03:00
Junior Garcia
73d9695994
refactor(root): react aria packages fixed ( #2944 )
2024-05-04 12:17:21 -03:00
Junior Garcia
ec6fd12d7c
Merge branch 'main' of github.com:nextui-org/nextui into canary
2024-05-04 10:34:50 -03:00
Junior Garcia
cc1d62a0a9
chore(docs): update trackEvent call in hero component
2024-05-04 10:34:21 -03:00
Junior Garcia
f28b1e9db6
Merge branch 'canary' of github.com:nextui-org/nextui into canary
2024-05-03 17:43:31 -03:00
Junior Garcia
c7bdd0665d
Merge branch 'main' of github.com:nextui-org/nextui into canary
2024-05-03 17:43:16 -03:00
Junior Garcia
668d21ac5d
chore(docs): fix hero button height on mobile
2024-05-03 17:40:56 -03:00
Junior Garcia
935dff50d1
chore(docs): add command to intialize a NextUI project
2024-05-03 17:40:01 -03:00
աӄա
9acf3eada0
fix(switch): support uncontrolled switch in react-hook-form ( #2924 )
...
* feat(switch): add @nextui-org/use-safe-layout-effect
* chore(deps): add @nextui-org/use-safe-layout-effect
* fix(switch): react-hook-form uncontrolled switch component
* fix(switch): react-hook-form uncontrolled switch component
* feat(switch): add rect-hook-form in dev dep
* feat(switch): add WithReactHookFormTemplate
2024-05-03 16:24:29 -03:00
Junior Garcia
3748abe830
Merge branch 'main' of github.com:nextui-org/nextui into canary
2024-05-01 23:23:20 -03:00
Junior Garcia
9b21f22a9a
fix(docs): nextui.org added as an image domain
2024-05-01 23:22:56 -03:00
Junior Garcia
72a950ab1b
Merge branch 'main' of github.com:nextui-org/nextui into canary
2024-05-01 17:18:59 -03:00
Junior Garcia
480a241005
chore: alert added to avoid confission when installing a component ( #2927 )
2024-05-01 17:18:50 -03:00
աӄա
91127f88a2
docs(date-picker): change to jsx instead ( #2919 )
2024-04-30 17:17:24 -03:00
Junior Garcia
e3afa4789a
Cn utility refactor ( #2915 )
...
* refactor(core): cn utility adjusted and moved to the theme package
* chore(root): changeset
* fix(storybook): stories that used cn
2024-04-29 17:34:01 -03:00
աӄա
f8b917a208
docs(core): add storybook and canary release info ( #2914 )
2024-04-29 11:53:21 -03:00
Mohammad Reza Badri
648edad77e
fix(input): correct label margin for RTL required inputs ( #2781 )
...
* fix(input): correct label margin for RTL required inputs
* fix(theme): add changeset fr theme
2024-04-29 15:22:14 +08:00
Paul Tiedtke
5f5ad7a1dd
fix: add missing TableRowProps export ( #2866 )
...
* fix: add missing TableRowProps export
* feat(changeset): add changeset for PR2866
* chore(changeset): revise changeset message
---------
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
2024-04-29 15:21:20 +08:00
աӄա
2a2a0692ca
fix(date-picker): keep date picker style consistent for different variants ( #2908 )
2024-04-29 15:20:24 +08:00
Shrinidhi Upadhyaya
c83ff382b9
fix(range-calendar): hide only dates outside the month ( #2906 )
...
* 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
* chore(changeset): patch @nextui-org/theme
---------
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
2024-04-29 13:16:22 +08:00
Junior Garcia
6aacde2594
chore(storybook): common colors enabled ( #2902 )
2024-04-28 12:07:52 -03:00
Junior Garcia
add893c33f
Merge branch 'canary' of github.com:nextui-org/nextui into canary
2024-04-28 12:00:26 -03:00
Junior Garcia
aba1716edc
chore(root): reat-aria packages updated ( #2889 )
2024-04-28 11:55:52 -03:00
աӄա
f07de03ad1
feat: new gitflow ( #2695 )
...
* chore(docs): use develop branch instead of main
* chore(workflows): change to develop
* chore(.changeset): change baseBranch to develop
* feat(workflows): trigger sync-develop-to-main workflow after publish
* feat(workflow): add sync develop to main workflow
* chore(workflows): add back "or Publish to NPM"
* refactor(workflows): rename tag name from dev to canary
* refactor: rename dev to canary
* refactor: reaname develop to canary
* refactor(workflows): change from develop to canary
2024-04-28 11:35:45 -03:00
github-actions[bot]
1a033fe6f8
ci(changesets): version packages ( #2825 )
...
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
2024-04-24 17:04:22 -03:00
Junior Garcia
b8e6b2fe25
Fix/use aria menu peer dep ( #2862 )
...
* fix(ripple): z-index adjusted
* fix(ripple): z-index changed
* fix(use-aria-menu): react-dom added as peerDep
* chore(root): update pnpm lock
2024-04-24 16:51:06 -03:00
Junior Garcia
765c04e2a5
fix(ripple): z-index adjusted ( #2853 )
...
* fix(ripple): z-index adjusted
* fix(ripple): z-index changed
2024-04-24 16:37:50 -03:00
Junior Garcia
e9fef9bd92
fix(calendar): fix #2820 #2857 maximum update depth exceeded on Calendar & RangeCalendar ( #2861 )
2024-04-24 16:17:40 -03:00
Shrinidhi Upadhyaya
1ba2d029a2
fix(docs): imports missing in DatePicker ( #2850 )
...
* fix(docs): imports missing in DatePicker
* fix(docs): imported cn in presets
* fix(docs): missing imports in Preset(TS)
---------
Co-authored-by: shrinidhi.upadhyaya <shrinidhiupadhyaya1195@gmail.com >
2024-04-24 11:03:30 +08:00
HaRuki
dd39db2b5c
fix: no overflow for the installs commands list ( #2851 )
2024-04-23 16:52:35 -03:00
Ryo Matsukawa
308b32c0f1
fix(date-picker): filter out non-DOM props to prevent console errors ( #2833 )
...
* fix(date-picker): filter out non-DOM props to prevent console errors
* chore: added test to confirm no warning
2024-04-22 15:59:58 -03:00
աӄա
3552353203
fix(input): isClearable & add test cases to input ( #2796 )
...
* feat(input): add @nextui-org/use-safe-layout-effect
* fix(input): use useSafeLayoutEffect to handle react-hook-form case
* feat(input): add isClearable test case
* feat(input): add react-hook-form to dev dependencies for storybook
* feat(input): add WithReactHookForm to input storybook
* feat(changeset): fixes isClearable function in input
* chore(changeset): update changeset message
* refactor(input): revise input test
2024-04-22 15:30:26 -03:00
Ryo Matsukawa
1cc5215ce6
fix: missing aria labels in date range picker ( #2832 )
...
* fix(date-range-picker): ensure label props are reflected in aria labels
* docs: added missing label to date range picker
* chore: add changesets
* Update .changeset/gentle-pigs-admire.md
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-04-22 21:38:22 +08:00
Shrinidhi Upadhyaya
10b0e476bb
fix(docs): removed unused imports from DatePicker ( #2840 )
...
* fix(docs): imports missing in DateRangePicker
* fix(docs): removed ununused imports in DatePicker
---------
Co-authored-by: shrinidhi.upadhyaya <shrinidhiupadhyaya1195@gmail.com >
2024-04-22 18:31:26 +08:00
HaRuki
94f85e29c6
fix(cmdk): modal - searching with one char shows no results & cmdk esc does not work without recent search results ( #2721 )
...
* fix: modal - searching with one char shows no results
* fix: removed the unnecesary dependencies
2024-04-22 13:12:37 +08:00
black197
1dacf52f30
fix(input): keep input component's position in innerWrapper steady ( #2072 )
...
* fix(input): make position of `input` steady (#2069 )
* chore: changeset
* refactor(input): remove key prop
2024-04-21 20:12:34 +08:00
ynnsuis
25484f8663
fix(slider): fix slider component vertical mark y position focus ( #2660 )
...
* fix(components): fix slider component vertical mark y position focus issue
* feat(changeset): fixed slider component vertical mark y position
* chore(changeset): add issue number and revise package
---------
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
2024-04-21 19:09:31 +08:00
CAEB Wallace
6b96ea9c9c
fix(progress): turn twMerge true to fix custom styling ( #2668 )
...
* fix(progress): turn twMerge true to fix custom styling
* fix(changelog): move changes to patch
* fix: remove stories from changeset
* add Issue number in the changeset
* chore(changeset): remove extra space
* chore(changeset): changeset message
---------
Co-authored-by: Guillaume DE LA RUE <guillaume.de-la-rue@consertotech.pro >
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
2024-04-21 18:46:38 +08:00
kdiffin
f00ab630bf
Fixed grammatical error in introduction page ( #2830 )
2024-04-21 17:43:19 +08:00
Paul Tiedtke
d532a9da7a
fix: missing export of TableRowProps type ( #2584 )
...
* fix: missing export of TableRowProps type
* chore(changeset): add changeset
---------
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
2024-04-21 17:40:04 +08:00
Amirhossein Khatabakhsh
31934017a5
fix(radioGroup): add RTL support to the radio group component ( #2508 )
...
* fix(radioGroup): add RTL support to the radio group component
* fix(radio): add changeset
* chore(changeset): correct package name and add issue number
---------
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
2024-04-21 17:13:03 +08:00
black197
10f2b8f42b
fix(accordion): ctrl+a shortcut inside ( #2063 )
...
* fix(accordion): ctrl+a shortcut inside (#2055 )
* fix(accordion): ctrl+a shortcut inside (#2055 )
* chore(changeset): revise message and change to patch
---------
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com >
2024-04-21 15:31:20 +08:00
Kenji
f0831ad12c
docs: fixes typo ( #2821 )
2024-04-20 18:53:29 -03:00
Shrinidhi Upadhyaya
4cad622460
fix(docs): imports missing in DateRangePicker ( #2811 )
...
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
2024-04-19 12:22:51 -03:00
աӄա
ebaa1de876
fix(docs): changes related to date components ( #2805 )
2024-04-19 08:30:31 -03:00
github-actions[bot]
51095b1628
ci(changesets): version packages ( #2787 )
2024-04-18 19:47:12 -03:00
Art Rosnovsky
a2b8421441
chore: fix minor typo in date-input docs ( #2790 )
2024-04-18 17:02:52 -03:00
Junior Garcia
eccc2f2f3d
fix(core): export * from not supported on client components ( #2789 )
...
* fix(core): export * from not supported on client components
* fix(core): named exports implemented in several packages
* chore(root): changeset description
2024-04-18 16:19:48 -03:00
աӄա
2bc1d1a58b
feat(dropdown): test cases ( #2786 )
...
* fix(popover): trigger disabled prop warning
* chore(.changeset): fix typo
* feat(dropdown): add @nextui-org/image
* feat(dropdown): add more tests for custom trigger with isDisabled
* feat(dropdown): make sure the menu can be open
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
2024-04-18 13:59:58 -03:00
Junior Garcia
183a4a6cfd
fix(popover): trigger disabled prop warning ( #2784 )
2024-04-18 13:22:31 -03:00
github-actions[bot]
a644544dfb
ci(changesets): version packages ( #2776 )
...
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
2024-04-18 08:56:43 -03:00
Junior Garcia
9e5dd8ce37
fix(popover): ref not beign passed
2024-04-18 08:48:42 -03:00
chirokas
69f713cb05
fix(checkbox): omit non-react props on checkbox-group ( #2772 )
2024-04-18 08:20:35 -03:00
github-actions[bot]
d820d9397a
ci(changesets): version packages ( #2767 )
...
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
2024-04-17 23:57:49 -03:00
աӄա
f89356691c
fix(popover): isDisabled prop on a DOM element ( #2741 )
...
* fix(popover): isDisabled prop on a DOM element
* refactor(popover): filter non-react props
* fix(dropdown): tests
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
2024-04-17 23:50:42 -03:00
Junior Garcia
6b56e43a35
Fix DropdownItem onPress ( #2746 )
...
* chore(dropdown): missing events added
* fix(menu): item selection events
* chore(menu): changeset
2024-04-17 23:27:36 -03:00
github-actions[bot]
4ca6e2c1f6
ci(changesets): version packages ( #2745 )
...
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
2024-04-17 11:03:40 -03:00
Shrinidhi Upadhyaya
2126ea1863
fix(table): add empty content only when table size is 0 #2742 ( #2747 )
...
* fix(table): add empty content only when table size is 0 #2742
* fix(table): added changeset
---------
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de >
2024-04-17 10:56:47 -03:00
աӄա
cadbb30cfb
fix(checkbox): checkbox controlled state ( #2754 )
...
* fix(checkbox): checkbox controlled state
* feat(checkbox): add @nextui-org/use-callback-ref
* chore(deps): pnpm-lock.yaml
* fix(checkbox): handle checkbox group
* fix(checkbox): rely on react aria logic (#2760 )
* fix(checkbox): add missing dependency in useCheckbox hook
---------
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com >
2024-04-17 10:43:57 -03:00
Junior Garcia
f728c0542c
fix(radio): omit non-react props on radio-group ( #2761 )
2024-04-17 09:47:56 -03:00
Junior Garcia
74eda31288
fix(core): named exports and client directive ( #2758 )
...
* fix(core): named exports instead of * from, use client directive added to main pkg
* chore(root): changeset
2024-04-17 09:27:06 -03:00
Junior Garcia
158c2aa004
refactor(calendar): cell tab index fixed, width property added ( #2744 )
...
* refactor(calendar): cell tab index fixed, width property added
* chore(date-picker): remove needless omit
2024-04-16 16:39:19 -03:00
Junior Garcia
ccd8f730e1
fix(docs): popover placements
2024-04-16 16:30:19 -03:00