796 Commits

Author SHA1 Message Date
աӄա
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
աӄա
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
Junior Garcia
be15943a00 Merge branch 'main' of github.com:heroui-inc/heroui into canary 2025-01-30 09:56:15 -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
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
աӄա
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
Junior Garcia
aef47ffbf4 fix: drawer custom style image 2025-01-19 09:59:39 -03:00
աӄա
cf39e227f8
chore: org name change (#4596) 2025-01-19 09:33:51 -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
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
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
c80340441e
Revert "fix(input): use onPress for wrapper click focus (#4483)" (#4576)
This reverts commit 992220a5a3d2a4e1639653b2fc0a9e8b4d9428f4.
2025-01-16 21:38:17 -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
աӄա
26fc514791
refactor: remove unnecessary props types (#4530)
* refactor(docs): remove string type as it is included in ReactNode

* refactor: remove unnecessary types

* feat(changeset): add changeset

* chore: remove changeset

* refactor: remove null since ReactNode unions it already
2025-01-13 16:23:29 +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
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
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
Vincentius Roger Kuswara
16c57ece64
fix+feat(select, listbox): bug on dataset with "sections", add support for scrollshadow (#4462)
* fix: add custom function to calculate rowHeight for dataset with sections

* fix: scroll shadow is now working in virtualized components

* chore: add changeset

* fix: to pass test cases use function call instead of function component
2025-01-02 16:12:39 -03:00
աӄա
d92468aa1e
fix(deps): bump @tanstack/react-virtual to support react 19 peer dep (#4463) 2024-12-30 17:14:45 -03:00
Ryo Matsukawa
fb46df2430
fix(popover): correct initial animation direction to match fallback placement (#4460)
* fix(popover): correct initial animation direction to match fallback placement

* fix: type error

* chore: add changeset
2024-12-30 09:08:09 -03:00
winches
4f0ef5818b
fix: clipboard get the different unicode whitespace (#4392)
* fix: clipboard get the different unicode whitespace

* fix: clipboard get the different unicode whitespace

* fix(snippet): incorrect MultiLine story

* fix: nbsp in editor

* fix: rename

* fix: md

* feat: optimization

---------

Co-authored-by: WK Wong <wingkwong.code@gmail.com>
2024-12-28 11:01:59 +08:00
աӄա
a83388aaf4
fix(alert): mark description optional & revise styles when only children is provided (#4447)
* fix(alert): mark description as optional and update description

* fix(theme): alignment when only children is provided

* feat(changeset): add changeset
2024-12-27 08:51:57 -03:00
WK Wong
07780a75a2 fix(drawer): use a top-level type-only import instead of inline type specifiers 2024-12-24 17:40:22 +08:00
github-actions[bot]
05807d80f5
ci(changesets): version packages (#4435)
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2024-12-23 22:01:42 -03:00
github-actions[bot]
1bf66bc26e
ci(changesets): version packages (#4326)
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2024-12-23 21:39:13 -03:00
Omar Shehab
f8f6bfea5a
chore(drawer): export drawer children props (#4310)
* export Drawer children props

* Fix eslint

* fix: add changeset for drawer props export

* fix: remove useDisclosure export for `@nextui-org/react` not to fail

* remove useDisclosureProps

* Import props as types
2024-12-23 09:11:19 -03:00
Maharshi Alpesh
5f388fc68c
fix: virtual keyboard on mobile should be based on the allowed keys (#4411)
* fix: virtual keyboard on mobile should be based on the allowed keys

* chore: applying junior's suggestions

* chore: add inputmode prop, update changeset

---------

Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2024-12-22 11:27:48 -03:00
Maharshi Alpesh
de0e2776fe
fix: navbar state change (#4406) 2024-12-22 11:20:51 -03:00
EReguero
b5943db1fd
fix: listbox-section props (#4369) 2024-12-22 11:06:13 -03:00
Peterl561
93c9df15d9
fix(input-otp): form validation hook missing behavior prop (#4417)
* fix(input-otp): form validation hook missing behavior

* test(input-otp): isRequired form test

* chore(changeset): fixed input-otp isRequired error message
2024-12-22 10:11:54 -03:00