560 Commits

Author SHA1 Message Date
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
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
աӄա
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
աӄա
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
աӄա
f7c2be0a53
fix(listbox): unexpected scrollShadow on virtualized listbox (#4784)
* fix(listbox): add scroll height & scroll top to listbox

* fix(use-data-scroll-overflow): handle scrollHeight & scrollTop in virtualization

* chore(changeset): add changeset
2025-02-05 17:38:47 -03:00
winches
06d6f08d8e
fix: rename wrapper to tab wrapper (#4636)
* fix: rename wrapper to tab wrapper

* docs: update

* docs: update

* docs: update

* fix: rename wrapper to tab wrapper
2025-01-30 11:25:51 -03:00
Peterl561
1965b8406a
feat(spinner): new spinner variants (#4555)
* refactor(spinner): add default variant

* feature(spinner): add gradient variant

* feature(spinner): add dots variant

* feature(spinner): add dots-blink variant

* feature(spinner): add spinner-bars

* chore(spinner): add variants storybook

* chore: adding variants to docs

* chore: simplyfying the styles and modifying docs

* chore: nits

* chore: updating the dots and dots-blink animation

* chore: nits

* chore: adding Marcus' suggestions

* chore: adding Marcus's suggestions

* chore: adding junior's suggestions

---------

Co-authored-by: Maharshi Alpesh <maharshialpesh@gmail.com>
2025-01-30 11:22:48 -03:00
Peterl561
a66476d60c
fix(form): use native as default validation behavior (#4425)
* fix(form): use native as default validation behavior

* docs(form): delete explicit validationBehavior=native

* test(form): adjusted form test validation behaviors

* chore(form): adjusted stories with forms

* chore(changeset): changed form default validation behavior to native

* chore(changeset): removed packages with only test changes

* chore(changeset): change to patch

* chore(changeset): update package name

* refactor(docs): update package name

* refactor(docs): update to heroui

---------

Co-authored-by: աӄա <wingkwong.code@gmail.com>
2025-01-30 10:54:56 -03:00
Maharshi Alpesh
7804de0d89
feat: global labelPlacement prop (#4346)
* feat: adding the support for labelPlacement globally

* chore: reafctoring

* chore: updating the dependency

* chore(changeset): update package name

* chore: adding Marcus's suggestions

---------

Co-authored-by: աӄա <wingkwong.code@gmail.com>
2025-01-30 09:49:32 -03:00
աӄա
f9c2be4509
fix(use-image): load images after props change (#4523)
* fix(use-image): load image after props change

* chore(changeset): add changeset

* refactor(use-image): remove unused props

* feat(use-image): add test case

* fix(use-image): apply useCallback to load & remove status check

* chore(changeset): update package name
2025-01-30 09:44:38 -03:00
winches
8452603b5b
feat: add fn win alt keys (#4638)
* feat: add new keys

* feat: add new keys

* chore: update docs & storybook as well

---------

Co-authored-by: WK Wong <wingkwong.code@gmail.com>
2025-01-30 09:40:51 -03:00
Junior Garcia
69aa4769c0
feat: tailwind variants upgrade (#4386)
* feat: tailwind variants upgrade

* chore: restore npmrc

* chore: adjust pkgs

* fix: versions

* fix: lock file

* chore(changeset): update package name

* chore(deps): use fixed version

* fix(test): incorrect package name

---------

Co-authored-by: աӄա <wingkwong.code@gmail.com>
2025-01-30 09:30:05 -03:00
աӄա
3d9b60096d
chore(deps): bump RA versions (#4611)
* chore(deps): bump RA versions

* chore(deps): bump @internationalized/date

* chore(docs): update RA versions

* chore(docs): update versions

* chore(docs): use string type

* chore(deps): update @react-types versions

* refactor(docs): undo version change since they will be removed in another PR
2025-01-30 09:26:33 -03:00
millmason
11b939d166
docs(modal): fix small typos and add clarifying language (#4629) 2025-01-28 09:52:05 -03:00
աӄա
cddba8281c
fix(calendar): function components cannot be given refs (#4614) 2025-01-21 07:39:28 -03:00
աӄա
66efa0a08e
chore: update brand name (#4600) 2025-01-19 11:38:43 -03:00
github-actions[bot]
b1a1f71aa0
ci(changesets): version packages (#4589)
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2025-01-18 17:23:43 -03:00
Junior Garcia
7ebe0e664f
Org name change (#4594)
* chore: kapa-ai temporary disabled

* chore: org renamed
2025-01-18 17:16:34 -03:00
աӄա
abcf04571a
fix(changeset): incorrect package name (#4588) 2025-01-18 09:58:24 -03:00
Peterl561
61ad0205c5
fix(navbar): remove NavbarMenu when closed (#4506)
* fix(navbar): remove NavbarMenu when closed

* chore(changeset): fixed NavbarMenu console prop error
2025-01-18 09:43:49 -03:00
աӄա
f7e5d205b1
fix(theme): add missing shadow none (#4587) 2025-01-18 09:41:28 -03:00
github-actions[bot]
85913a8791
ci(changesets): version packages (#4577)
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2025-01-16 21:50:23 -03:00
Junior Garcia
45b1d82c39 fix: input spaces 2025-01-16 21:40:28 -03:00
github-actions[bot]
7cd26eb6c2
ci(changesets): version packages (#4569)
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2025-01-16 15:49:05 -03:00
Junior Garcia
f6da7d62e9 chore: core package updates 2025-01-16 15:42:44 -03:00
Junior Garcia
1d5e4520e9 fix: postbuild script 2025-01-16 15:29:51 -03:00
Junior Garcia
6492d36c68
Refactor/rebrand (#4532)
* chore: rebrand in progress

* chore: update docs to use heroui

* chore: components renbranded

* chore: figma moved to the docs files

* fix: posthog config

* fix(docs): extra classname in form example (#4465)

* chore: clean git

* chore: make heroui private

* chore: new logo

* chore: node env var renamed

* chore: public robots txt deleted

* chore: wrangler installed

* chore: wrangler renamed

* chore: cloudlfare workers removed

* chore: force vercel deploy

* refactor: first migration and provider

* refactor: rename nextui plugin

* refactor: rename github site

* refactor: rename CONTRIBUTING

* refactor: rename package name

* refactor: nextjs image hostname

* refactor: mdx repo nextui-org rename frontio-ai

* refactor: nextui.org rename heroui.com

* refactor: add heroui to missing places

* fix: heroui plugin name

* fix: update docs

* docs: nextui to heroui add npmrc pnpm migratation

* chore: rename all packages with new org name

* chore: replace frontio-ai by frontioai

* chore: revert previous changes

* chore: small adjustment

* chore: doc updated

* feat: blog

* chore: avatar updated

* fix: url

* chore: add new ogimage

* fix: ogimage command

* fix: heroui name and storybook welcome page

* fix: og image url

* feat: favicon and icon changed

---------

Co-authored-by: աӄա <wingkwong.code@gmail.com>
Co-authored-by: winches <329487092@qq.com>
2025-01-16 15:03:45 -03:00
Peterl561
992220a5a3
fix(input): use onPress for wrapper click focus (#4483)
* fix(input): use onPress for wrapper click focus

* test(input): wrapper click focus test

* chore(changeset): input onPress for wrapper click focus

* chore(changeset): minor wording
2025-01-15 22:11:40 +08:00
աӄա
fcdf24a019
fix(avatar): title type in Avatar (#4529)
* fix(avatar): title type in Avatar

* fix(alert): apply isEmpty check on title

* fix(alert): alert interface props type
2025-01-13 11:41:05 +08:00
աӄա
cfff127464
fix(alert): propagate className (#4535)
* fix(alert): propagate className

* chore(alert): remove className from alert theme
2025-01-13 11:39:44 +08:00
github-actions[bot]
eada8cbf93
ci(changesets): version packages (#4440)
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2025-01-05 10:09:56 -03:00
աӄա
b2e924fe19
fix(use-aria-link): onclick deprecation warning for Button as Link (#4497) 2025-01-05 09:33:15 -03:00
Ryo Matsukawa
33e0418d08
fix(popover): correct position logic (#4498)
* fix(popover): invalid placement logic

* chore(select): add story with popover position

* chore: add changeset

* chore: add pattern of popover story

* chore: fix changeset
2025-01-05 09:32:30 -03:00
աӄա
0c45fed420
fix(autocomplete): missing popover props except content (#4496) 2025-01-05 07:48:30 -03:00
Peterl561
a43b156801
fix(navbar): hide overlay when menu is closed (#4490) 2025-01-03 23:16:46 -03:00
Junior Garcia
ef916ead52 chore: new canary version 2025-01-03 18:48:56 -03:00
աӄա
5d0fc9f786
fix(use-image): set status after hydrated (#4486)
* fix(use-image): set status after hydrated

* fix(use-image): use useSafeLayoutEffect instead
2025-01-03 11:23:42 -03:00
Peterl561
0401f2548f
fix(autocomplete): validate prop not working after hovering (#4452)
* fix(autocomplete): validate prop not working after hovering

* test(autocomplete): validate prop function should work after hover

* chore(changeset): fixed autocomplete validate not working after hover

* chore(autocomplete): minor comment change
2025-01-02 16:17:42 -03:00
աӄա
7c2bc4a18e
fix(autocomplete): clear autocomplete value when pressing clear button (#4458) 2025-01-02 16:13:29 -03:00