614 Commits

Author SHA1 Message Date
github-actions[bot]
455e06818e
ci(changesets): version packages (#5120)
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2025-04-06 11:50:17 -03:00
Connor Elsea
1aab518086
fix(tooltip): tooltip stays open on fast movement (#4482)
* fix(components): fix  tooltip staying open, add keys, fix AnimatePresence

* chore(changeset) add changeset for tooltip retention fix

* chore(changeset) update changeset text based on codebrabbit feedback

* chore(changeset): update changset message

* fix(tooltip): lint

* chore(changeset): update package name

* fix(tooltip): change LazyMotion level, specify keys

* Merge branch 'canary' into pr/4482

* chore(tooltip): clean up code structure

* Merge branch 'canary' into pr/4482

---------

Co-authored-by: աӄա <wingkwong.code@gmail.com>
2025-04-04 11:07:19 -03:00
աӄա
51a0808824
fix(use-data-scroll-overflow): missing checkOverflow (#5139) 2025-04-04 11:04:35 -03:00
աӄա
2420acfe24
fix(select): select label (#5147)
* fix(select): label should be outside when there is a placeholder

* fix(theme): remove pointer-events-none & revise style when there is helper

* chore(changeset): add changeset

* fix(select): add hasLabelOutside

* fix(theme): pointer-events

* fix(select): revise hasLabelOutside
2025-04-04 11:02:53 -03:00
Maharshi Alpesh
9247f74233
fix(button): fixing the icon shift in safari (#5051)
* fix: fixing the issue for icon shift in safari

* chore: changing the solution to be cross browser compatible
2025-03-28 11:11:17 -03:00
Alexander Gavrilenko
ca5babcbb9
fix(toast): enable proper exit animations (#5121)
* fix(toast): enable proper exit animations
	•	Use LazyMotion and AnimatePresence in ToastProvider to support exit animations.
	•	Simplify Toast by removing redundant LazyMotion wrapper.
	•	Add motionProps to stories for easier animation customization.

* chore(changeset): add changeset for ToastProvider exit animations

* chore(toast): clean up stories by removing motionProps argument

* chore(docs): revert `CONTRIBUTING.md` and `toast.stories.tsx`to initial state
2025-03-28 08:40:57 -03:00
աӄա
14fc373bd3
fix(slider): slider display when hideThumb is true (#5087)
* fix(slider): track fill start & end

* fix(theme): revise slider display with `hideThumb`

* fix(theme): handle isVertical case

* fix(slider): handle range case

* refactor(theme): simplify thumb related styles

* chore(changeset): add changeset
2025-03-27 15:03:16 -03:00
Maharshi Alpesh
afdd892690
chore(toast): making toast compatible with latest RA (#5034)
* chore: making the toast compatible with latest RA

* fix: making the description prop as ReactNode

* chore: updating toast docs

* fix: fixing tests

* chore(deps): update theme peerDependencies

---------

Co-authored-by: WK Wong <wingkwong.code@gmail.com>
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2025-03-27 15:02:11 -03:00
աӄա
de2e47c11a
fix(input): revise styles in color type (#5098)
* chore(input): include data-type

* fix(input): input with type=color style
2025-03-27 14:43:07 -03:00
աӄա
1a7f3da5fd
fix(number-input): add missing dependencies to stepper button props (#5097) 2025-03-27 14:42:37 -03:00
աӄա
3944e1af4a
chore(deps): bump RA versions (#5060)
* chore(deps): bump RA versions

* chore(root): add test timeout
2025-03-27 14:41:39 -03:00
github-actions[bot]
5fbc2a2cc2
ci(changesets): version packages (#5002)
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2025-03-08 13:35:43 -03:00
աӄա
1f9589943a
fix(toast): unexpected toast animation (#5003)
* fix(deps): use RA beta toast

* chore(toast): remove non-existing wrapUpdate

* chore(changeset): add changeset
2025-03-08 13:25:22 -03:00
Waleed Asender
62935362fb
fix(progress): add RTL support to the progress component (#4911)
* fix(progress): add RTL support to the progress component (#4908)

* docs(progress): add changeset notes

* refactor: resolved code review notes

* refactor: removed unnecessary change

* refactor: undo unnecessary change
2025-03-08 12:26:22 -03:00
LinYongLu
58128c403e
fix: a small eye icon for password input in edge(#4927) (#4950) 2025-03-08 12:25:53 -03:00
աӄա
e9c67fa6ca
fix(number-stepper): stepper button pseudo height (#4968) 2025-03-08 12:24:27 -03:00
Maharshi Alpesh
6f945458c8
fix(toast): toast should appear above overlay and adding regionProps to ToastProvider (#5001)
* fix: toast should be above the modal

* fix: renaming the loadingIcon to loadingComponent

* chore: adding changeset

* chore: fixing conflicts

* chore: adding the region props

* fix: adding Marcus' suggestions

* fix: marcus' suggestions

* Revert "fix: renaming the loadingIcon to loadingComponent"

This reverts commit 4c6bf32765542ba8fe4d862005e6f0ac75c5e49a.

* chore: adding marcus' suggestions
2025-03-08 12:23:34 -03:00
աӄա
88f164116c
fix(deps): bump react-aria versions (#4998)
* fix(deps): bump react-aria versions

* chore(changeset): add changeset

* chore(hooks): sync with RA's useButton

* fix(use-aria-button): support aria-current

* fix(docs): remove priority prop

* fix(toast): remove priority queue & animation

* fix(toast): remove deprecated logic

* fix(popover): avoid passing preventFocusOnPress to non heroui button

* fix: sync with UsePopover

* fix(popover): prevent submenus from closing on scroll

* fix(tests): test cases related to press refactoring
2025-03-08 12:20:38 -03:00
Junior Garcia
2ee356b81b v2.7.4 2025-02-28 02:04:21 -03:00
github-actions[bot]
d3309412be
ci(changesets): version packages (#4896)
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2025-02-28 01:45:33 -03:00
LinYongLu
6453149543
fix(input): esc key to clear input value (#4892)
* chore: theme generator credits

* fix: blog date and spinner default variant

* fix: #4850
Solve Pressing ESC doesn't clear input value

* fix: #4850 code review change

* fix: undo changes in apps/docs/content/blog/v2.7.0.mdx and add a test case for my changes

* fix: run through the test cases successfully

* fix: change md content

* fix: using isClearable not clear the value

* fix: add number-input clearable esc clear

* fix: edit review problem

* fix: delete unless file

* chore(changeset): update changeset

* fix: add inputProps.onKeyDown

* fix: pressing ESC key in a read-only input not clear

---------

Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
Co-authored-by: աӄա <wingkwong.code@gmail.com>
2025-02-28 01:44:32 -03:00
աӄա
66d2c2b4c9
fix(changeset): remove @heroui/stories-utils and @heroui/test-utils from ignore list (#4939) 2025-02-26 10:17:22 -03:00
աӄա
09a2b73870
fix: incorrect system & theme version in peerDependencies (#4901)
* fix: incorrect system & theme version in peerDependencies

* fix: incorrect system & theme version in peerDependencies

* chore(changeset): add changeset
2025-02-26 09:52:56 -03:00
աӄա
25b3e6fcc2
refactor: build process (#4909)
* chore: update component description

* chore: exclude stories-utils & test-utils

* chore(utilities): remove unused info

* chore(deps): pnpm-lock.yaml
2025-02-26 09:28:06 -03:00
աӄա
2774a1b351
fix(breadcrumb): broken start & end content (#4921) (#4922) 2025-02-26 09:27:31 -03:00
աӄա
f55cf8bc7f
fix(number-input): onChange event in number input (#4907)
* fix(number-input): onChange event in number input

* chore(number-input): remove duplicate test case
2025-02-26 09:27:03 -03:00
աӄա
2186f6da23
fix(spinner): Attempted to call useProviderContext() from the server (#4904)
* fix(spinner): add banner in tsup.config.ts

* chore(changeset): add changeset

* chore(docs): update breaking changes in blog

* chore(docs): handled in PR4905
2025-02-26 09:26:20 -03:00
Steve Mosley
989cbe1eb0
fix(select): pass form prop to hidden-select (#4854)
* fix(select): pass form prop to hidden-select

* chore(select): changeset
2025-02-26 09:25:56 -03:00
աӄա
fd446dac2a
fix(toast): shouldShowTimeoutProgess typo (#4858)
* fix(toast): shouldShowTimeoutProgess typo

* fix(toast): shouldShowTimeoutProgess typo
2025-02-26 09:20:15 -03:00
Maharshi Alpesh
29df4f5317
fix(toast): fixing maxVisibleToasts, solid variant promise, promise timer (#4881)
* fix: maxVisibleToasts functionality

* chore: adding the changeset

* fix: starting the toast timer when the promise is resolved

* fix: spinner invisible in solid variants
2025-02-21 11:35:51 -03:00
github-actions[bot]
1b8e18d6f7
ci(changesets): version packages (#4601)
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2025-02-18 17:41:12 -03:00
Junior Garcia
ccdc07629f chore: spinner variants updated 2025-02-18 17:23:49 -03:00
աӄա
446dd0bfde
feat(calendar): add firstDayOfWeek (#4852)
* feat(calendar): add firstDayOfWeek

* feat(docs): add firstDayOfWeek in Calendar docs

* feat(calendar): add firstDayOfWeek to range calendar

* feat(docs): add firstDayOfWeek to API table

* feat: add firstDayOfWeek to date picker & date range picker

* feat(docs): add firstDayOfWeek

* feat(changeset): add changeset

* feat: add firstDayOfWeek option in storybook

* feat(docs): export firstDayOfWeek

* chore(docs): update title
2025-02-18 16:29:39 -03:00
Tsuki
80f6c77bae
fix(select): select scroll content will close immediately when popover on click (#4849)
* chore(select): update select deps

* fix(select): select scroll content will close immediately when popover on click

* chore(select): add .changeset file

* chore(changeset): add issue number

---------

Co-authored-by: աӄա <wingkwong.code@gmail.com>
2025-02-18 16:28:04 -03:00
Junior Garcia
f51d645d3d feat: new spinner variant 2025-02-18 16:25:37 -03:00
աӄա
4693fb7b4d
refactor(pagination): rtl (#4843)
* refactor(pagination): rtl

* chore(changeset): add changeset
2025-02-17 11:31:43 -03:00
Junior Garcia
09241faa4b chore: toast styles improved 2025-02-16 17:10:44 -03:00
Junior Garcia
88b9cbeddd fix: changeset peerdeps 2025-02-16 16:34:17 -03:00
Junior Garcia
4ff87ca7af fix: changeset release 2025-02-16 16:24:44 -03:00
Junior Garcia
d24e78a734 chore: toast width style changed 2025-02-16 12:16:57 -03:00
Junior Garcia
b6a9cc1bb8 fix: toast styles 2025-02-16 12:15:26 -03:00
Junior Garcia
7c41e278eb chore: toast styles improved 2025-02-16 11:41:08 -03:00
Junior Garcia
bc0112f3b4 feat: toast api improved 2025-02-14 19:26:18 -03:00
Junior Garcia
fcd6c1552f fix: peer deps 2025-02-14 18:47:07 -03:00
Junior Garcia
e3307255fd fix: changeset 2025-02-14 18:27:42 -03:00
Junior Garcia
60f332fef1 chore: v2.7.0 combined changeset 2025-02-14 18:16:55 -03:00
Junior Garcia
ba18a577c8 v2.7.0 2025-02-14 18:03:26 -03:00
աӄա
5f979617d5
feat: introduce NumberInput (#4475)
* feat(number-field): init structure

* feat(deps): add `@nextui-org/button` & `@react-types/button`

* feat(theme): export number-field

* feat(number-field): storybook init structure

* feat(number-field): add NumberFieldHorizontalStepper

* feat(number-field): add NumberFieldHorizontalStepper

* feat(theme): init number field theme

* feat(number-field): number-field draft

* refactor(number-field): revise stepper icons

* feat(shared-icons): add ChevronLeftIcon

* feat(theme): stepperButton styles

* feat(theme): number-field styles

* fix(number-field): label layout

* feat(number-field): vertical stepper wrapper

* feat(number-field): use-number-field (wip)

* feat(number-field): add data-direction

* feat(theme): center the text if it is horizontal stepper

* feat(number-field): add HorizontalStepper

* feat(number-field): add HideStepper

* chore(number-field): revise minValue & defaultValue

* feat(docs): init number field structure

* fix(theme): outside-left styles

* refactor(theme): remove labelPlacement styles

* refactor(number-field): remove labelContent logic

* refactor(number-field): remove labelPlacement args

* feat(number-field): helper text

* feat(number-field): revise number field stories

* feat(number-field): description

* refactor(number-field): revise number field stories

* feat(theme): numberFieldLabelClasses

* fix(number-field): incorrect button props

* fix(number-field): typing issue on stepper buttons

* chore(number-field): add aria-label

* refactor(number-field): merge props

* fix(number-field): pass originalProps instead

* chore(number-field): revise Required story args

* feat(number-field): add WithStepValue & WithWheelDisabled & revise stories

* chore(number-field): add label to Required

* feat(docs): number-field doc page

* fix(number-field): typing issue

* fix(number-field): test cases

* fix(number-field): user.keyboard & defaultValue

* fix(number-field): should work with defaultValues

* chore(number-field): add type: number

* chore(number-field): remove hidden related code

* fix(number-field): numeric value

* chore(changeset): add changeset

* feat(deps): add "@nextui-org/number-field" to docs

* feat(react): export `@nextui-org/number-field`

* feat(changeset): add @nextui-org/react

* feat(docs): number-field examples

* chore(number-field): use text instead

* refactor(number-field): remove unnecessary filled-within

* fix(number-field): test case

* chore(number-field): remove aria-label for stepper buttons

* feat(docs): add incrementAriaLabel & decrementAriaLabel to NumberField

* chore(number-field): reorder WithFormatOptions

* fix(deps): update number-field's peerDependencies & dependencies

* feat(number-field): hidden input for holding numeric vaule

* fix(docs): number field title

* feat(docs): add format options to number field

* chore(docs): revise number field content

* chore(number-field): add type to useDOMRef

* fix(number-field): clear button

* fix(theme): clear button styles

* refactor(theme): stepper button styles

* chore(number-field): accept stepperButton class

* fix(theme): helper wrapper padding

* feat(deps): add `@react-aria/i18n`

* fix(number-field): use locale from `@react-aria/i18n`

* fix(deps): dependency order

* fix(docs): incorrect command

* chore(docs): remove type=number

* chore(theme): add padding to stepper wrapper

* fix(number-field): avoid resetting value

* fix(number-field): storybook

* chore(docs): remove custom impl

* chore(docs): update docs code & content

* chore(number-field):  migrate to heroui

* chore(number-field): migrate to heroui

* chore(number-field): migrate to heroui

* chore: rename to number input

* fix(number-input): incorrect import

* chore(docs): rename to number input

* chore: change to number input

* refactor(number-input): change label to amount

* fix(docs): use heroui commands

* chore(changeset): update package name

* refactor(number-input): remove steps

* refactor: remove helper text

* feat(number-input): label placement

* refactor(number-input): rename stepper

* fix(theme): isClearable

* feat(docs): add label placements

* refactor(docs): update number-input content

* fix(docs): incorrect file

* feat(docs): add lablePlacement

* refactor(docs): remove labelPlacement & startContent

* refactor(docs): remove helperText

* refactor(docs): remove helperText

* refactor(docs): revise description

* feat(number-input): add data-slot for stepper-wrapper

* fix(number-input): test cases

* fix(docs): unexpected change

* refactor(number-input): update outdated info

* fix(docs): coderabbitai comments

* refactor: remove validationState

* fix(docs): typo

* chore(deps): remove unnecessary dep

* chore(deps): bump RA versions

* chore(number-input): apply latest labelPlacement change

* refactor(number-input): update author

* refactor(number-input): revise stepper wrapper alignment

* refactor(number-input): stepper button styles

* chore(number-input): add disableRipple

* fix(theme): increase stepper button click area

* fix(number-input): sync latest validationBehavior changes

* fix(number-input): pass validationBehavior to useAriaNumberInput

* chore(docs): add import react

* chore(number-input): remove HorizontalStepper story

* chore(number-input): enable ripple

* fix(number-input): remove number type

* refactor(theme): follow input clear button styles

* feat(theme): add color for stepperButton

* fix(theme): revise stepperButton size for outside & outside-left cases

* fix(number-input): typo

* chore(docs): update description for wheel

* chore(theme): change opacity when pressed

* chore(number-input): add disableRipple

* Update .changeset/witty-flies-reflect.md

* fix(theme): add hover opacity effect

---------

Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2025-02-14 17:17:18 -03:00
Hova25
7f334e40ea
fix(accordion): add data-slot attributes to accordion (#4832)
* fix(accordion): add data-slot attributes to accordion

* chore

---------

Co-authored-by: Hovannes Markarian <hovannes.markarian@socrate.fr>
Co-authored-by: աӄա <wingkwong.code@gmail.com>
2025-02-14 11:22:05 -03:00
Adrian Szarapow
d78885d99e
fix(theme): border radius in Table when isMultiSelectable (#4808)
* fix(theme): border radius in Table when isMultiSelectable

* chore(theme): added changeset (#4807)
2025-02-12 10:00:53 -03:00