1999 Commits

Author SHA1 Message Date
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
աӄա
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
Junior Garcia
f29cf8cf61 chore: manual release 2025-02-18 17:58:35 -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
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
աӄա
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
Ryo Matsukawa
28b8606411
fix: SelectItem, ListboxItem, and AutocompleteItem not to accept value props (#4653)
* fix(select): `SelectItem` does not accept value props

* refactor: do not use the index as `key`

* Update .changeset/light-hairs-draw.md

* chore: remove unnecessary `value` props

* chore: update changeset

* refactor: remove unnecessary value prop

---------

Co-authored-by: WK Wong <wingkwong.code@gmail.com>
2025-02-11 10:07:20 -03:00
աӄա
8af2c5d8b1
fix(checkbox): inherit stroke in CheckboxIcon (#4811) 2025-02-11 10:06:04 -03:00
աӄա
b2e7e04e89
fix(listbox): pass missing press events to usePress (#4812)
* fix(listbox): pass missing press events to usePress

* feat(listbox): add test case for press event

* chore(changeset): add changeset
2025-02-11 10:05:23 -03:00
Ryo Matsukawa
8dc5aaa3ca
feat(button): export PressEvent for onPress event typing (#4819)
* fix(docs): failed to install dependencies in StackBlitz (#4639)

* chore(Docs): remove step 2 from "Using use-theme-hook" (#4797)

* fix(docs): incorrect code Modal placement (#4652)

* docs: update DatePicker example to remove "time" label as time selection is not supported in this example (#4443)

* feat(button): export PressEvent for onPress event typing

* revert unnecessary changes

* chore: format

---------

Co-authored-by: աӄա <wingkwong.code@gmail.com>
Co-authored-by: Praharsh Bhatt <30700808+praharshbhatt@users.noreply.github.com>
2025-02-11 10:04:53 -03:00
աӄա
28e8df780a
refactor: update author in package.json (#4800) 2025-02-11 10:03:35 -03:00
Maharshi Alpesh
d64fcc8389
feat(toast): introduce Toast component (#4437)
* feat: initial commit

* chore: adding the animation

* chore: nits

* chore: fixes and adding draft1 of stories

* chore: adding the docs draft

* chore: adding the swiping interaction for toast removal

* chore: adding the tests

* fix: improving the progress bar logix

* chore: refactoring and refining the animations

* fix: making the animations compatible with the positons

* chore: fixing the styles

* chore: modifying the animations

* chore: improving the animations

* chore: adding the decorator to the story-book

* chore: fixing the animations and positions

* fix: handle expand region on touch

* feat: adding the promises support

* chore: updating the styles

* chore: improving styles

* chore: styles correction

* fix: adding junior's suggestions

* chore: correcting styles

* fix: fixing the timer behavior

* chore: adding the spinner to the toast

* chore: full width for mobile

* chore: modifying styles

* chore: fixing the positions on smaller devices

* chore: adding story with description

* chore: adding credits for sonner

* fix: adding junior's suggestions

* chore: adding the exit animation

* fix: adding junior's suggestions

* chore: improving the swipe animations

* fix: fixing the swipe animations on touch

* chore: adding tests

* chore: adding swipe threshild and initial position variable

* fix: fixing autoclose in timeout

* chore: modifying the docs

* chore: fixing the conflict

* chore: adding marcus' suggestions

* chore: adding the bottom animations

* chore: modying docs

* chore: removing nextui references

* chore: adding info about the provider

* chore: updating the docs

* chore: versions in package.json

* chore: nits

* chore: adding junior's suggestions

* chore: nits

* fix: applying junior's suggestions

* chore: adding junior's suggestions

* chore: using domMax

* fix: adding Marcus's suggestions

* chore: add global toast props and custom close icon

* chore: adding the defaultTimout provider prop

* chore: modifying defaultTimeout

* chore: nits

* fix: adding Marcus' suggestions

* chore: fixing bg

* chore(deps): bump RA deps

* fix: fixing the color discrepancy due to the timer

* chore: moving the kapan ai to the left side

* refactor(toast): update author

* chore: nit

* chore: improvements

* chore: updating the solid variant

---------

Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
Co-authored-by: WK Wong <wingkwong.code@gmail.com>
2025-02-11 10:01:46 -03:00
Vincentius Roger Kuswara
fbc361c3b1
feat(table): virtualization (#4285)
* feat: baseline virtualization for table

* merge branch canary

* fix: table layout

* fix: calc header height w layouteffect to offset padding

* Merge branch 'canary' into feat/eng-1633-virtualization-for-table

* chore: remove unused files and comments

* chore: add missing package

* feat: add shouldVirtualize conditional to render virtualized-table

* feat: update docs for table

* feat: use wrapper to support theme styles

* chore: add changeset

* chore(changeset): update package name

* chore(deps): pnpm-lock.yaml

* fix(table): outdated package name

* chore(changeset): add issue number

* fix(deps): keep the version consistent with other components

* fix(table): incorrect displayName

* refactor(table): use VirtualizedTemplate

* chore(deps): bump `@tanstack/react-virtua`

* chore(deps): typecheck issue

* fix(table): do not use any type

* chore: remove auto virtualization

---------

Co-authored-by: աӄա <wingkwong.code@gmail.com>
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2025-02-11 09:56:08 -03:00
Avan
a1cc378887
refactor: remove cursor-hit in hiddenInputClasses (#4474)
* refactor: remove cursor-hit in hiddenInputClasses

* Create lazy-ants-exercise.md

* chore(changeset): update package name

---------

Co-authored-by: աӄա <wingkwong.code@gmail.com>
2025-02-05 18:20:05 -03:00
winches
7402e00b62
fix: inert value in next15 (#4491)
* feat: add post install

* feat: add postinstall

* feat: add postinstall

* fix: type

* fix: type

* fix: next version

* chore(changeset): update package name

---------

Co-authored-by: աӄա <wingkwong.code@gmail.com>
2025-02-05 18:18:39 -03:00
Shrinidhi Upadhyaya
12a5c15699
fix(theme): input height in innerWrapper in Select (#4512)
* fix(select): fix input height #4321

* chore(select): changed package name in changeset to theme

* chore(select): updated changeset message

* chore(changeset): update package name

---------

Co-authored-by: աӄա <wingkwong.code@gmail.com>
2025-02-05 18:16:02 -03:00
winches
5e3054e318
fix: correctly dismissable default value (#4524)
* fix: correctly dismissable default value

* fix: correctly dismissable default value

* chore(changeset): update package name

---------

Co-authored-by: աӄա <wingkwong.code@gmail.com>
2025-02-05 18:14:51 -03:00
աӄա
2573e8269b
fix(tooltip): accessing element.ref was removed in React 19 issue (#4531)
* fix(tooltip): accessing element.ref was removed in React 19 issue

* chore(changeset): update package name
2025-02-05 18:14:06 -03:00
աӄա
0bfc03e675
fix(use-pagination): controlled page after delay (#4536)
* fix(use-pagination): add page to dependency for scrollTo

* feat(changeset): add changeset

* chore(changeset): update package name
2025-02-05 18:12:52 -03:00
աӄա
8d55d92656
fix: deprecation warning triggered by internal onClick (#4557)
* fix(use-aria-link): onClick deprecation warning

* fix(use-aria-button): onClick deprecation warning

* feat(changeset): add changeset

* fix(use-aria-button): incorrect prop name

* chore(changeset): update package name
2025-02-05 18:11:08 -03:00
աӄա
25cf3e2f0d
refactor: remove unnecessary className passing to tv and make naming consistent (#4558)
* refactor: remove unnecessary className passing to tv

* refactor(button): move styles to getButtonProps

* refactor: rename classNames to styles to keep the naming consistent
2025-02-05 18:10:26 -03:00
Zarin
ace8406946
fix(calendar): rtl navigation (#4565)
* fix(calendar): rtl navigation

* chore(changeset): fixed reverse behavior of NextButton and PrevButton in the RTL calendar

* chore(changeset): update package name

* refactor(calendar): prefer isRTL and use className in theme package instead

* chore(changeset): add theme package as well

* chore(calendar): add min theme package to 2.4.7

---------

Co-authored-by: աӄա <wingkwong.code@gmail.com>
2025-02-05 18:10:01 -03:00
Peterl561
e77de2b650
test(input): input interaction tests (#4579)
* test(input): user interaction tests

* test(input): missing act wrappers

---------

Co-authored-by: WK Wong <wingkwong.code@gmail.com>
2025-02-05 18:09:01 -03:00
աӄա
475b2ff862
fix(theme): sync with input theme on labelPlacement (#4597)
* fix(theme): sync with input theme on labelPlacement

* chore(select): revise width for labelPlacement

* chore(changeset): add changeset
2025-02-05 18:08:26 -03:00
աӄա
8319308727
fix(input): missing clear button with file input type (#4599) 2025-02-05 17:51:45 -03:00
Paul Ebose
6159f47d06
refactor: rename instances of NextUI to Hero UI (#4645)
* docs: use the correct org for `img.shields.io` license in README

* docs: update opencollective org name

* docs: use correct org name in site footer

* docs: update image urls for heroui pro sections

* docs: update laravel installation keywords in route config

* docs: add `heroui` tag to `Introducing HeroUI` blog post

* fix: use correct names in `plop/components/src` templates

* chore: add empty changeset

* fix: revert image urls back to `nextuipro.nyc3.cdn.digitaloceanspaces...`

* chore: undo footer change

* chore: update incorrect brand name

* chore(docs): nextui -> heroui

---------

Co-authored-by: աӄա <wingkwong.code@gmail.com>
2025-02-05 17:50:48 -03:00
աӄա
ed344b92fa
refactor(navbar): remove dropdown menu width (#4757)
* refactor: remove dropdown menu width

* refactor: shorter description
2025-02-05 17:41:02 -03:00
աӄա
ae3df14f7d
fix(date-picker): deprecate dateInputClassNames (#4780)
* chore(date-picker): add missing slots comments

* fix(date-picker): remove dateInputClassNames

* fix(date-picker): use classNames instead of dateInputClassNames

* chore(docs): add missing attributes

* fix(date-picker): use classNames instead of dateInputClassNames

* feat(changeset): add changeset

* fix(docs): broken type
2025-02-05 17:40:34 -03:00
աӄա
3d5548e30d
refactor(theme): replace left & right by start & end to support RTL (#4782) 2025-02-05 17:39:36 -03:00