2721 Commits

Author SHA1 Message Date
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>
@nextui-org/autocomplete@2.0.14 @nextui-org/checkbox@2.0.28 @nextui-org/date-picker@2.0.5 @nextui-org/dropdown@2.1.21 @nextui-org/popover@2.1.19 @nextui-org/react@2.3.4 @nextui-org/select@2.1.25 @nextui-org/table@2.0.31
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>
@nextui-org/autocomplete@2.0.13 @nextui-org/date-picker@2.0.4 @nextui-org/dropdown@2.1.20 @nextui-org/menu@2.0.20 @nextui-org/popover@2.1.18 @nextui-org/react@2.3.3 @nextui-org/select@2.1.24 @nextui-org/use-aria-menu@2.0.1
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>
@nextui-org/accordion@2.0.30 @nextui-org/aria-utils@2.0.17 @nextui-org/autocomplete@2.0.12 @nextui-org/avatar@2.0.26 @nextui-org/badge@2.0.26 @nextui-org/breadcrumbs@2.0.6 @nextui-org/button@2.0.29 @nextui-org/calendar@2.0.2 @nextui-org/card@2.0.26 @nextui-org/checkbox@2.0.27 @nextui-org/chip@2.0.27 @nextui-org/code@2.0.26 @nextui-org/date-input@2.0.2 @nextui-org/date-picker@2.0.3 @nextui-org/divider@2.0.27 @nextui-org/dropdown@2.1.19 @nextui-org/framer-utils@2.0.17 @nextui-org/image@2.0.26 @nextui-org/input@2.1.19 @nextui-org/kbd@2.0.27 @nextui-org/link@2.0.28 @nextui-org/listbox@2.1.18 @nextui-org/menu@2.0.19 @nextui-org/modal@2.0.32 @nextui-org/navbar@2.0.29 @nextui-org/pagination@2.0.29 @nextui-org/popover@2.1.17 @nextui-org/progress@2.0.27 @nextui-org/radio@2.0.27 @nextui-org/react-rsc-utils@2.0.12 @nextui-org/react-utils@2.0.12 @nextui-org/react@2.3.2 @nextui-org/ripple@2.0.26 @nextui-org/scroll-shadow@2.1.15 @nextui-org/select@2.1.23 @nextui-org/skeleton@2.0.26 @nextui-org/slider@2.2.8 @nextui-org/snippet@2.0.33 @nextui-org/spacer@2.0.26 @nextui-org/spinner@2.0.27 @nextui-org/switch@2.0.27 @nextui-org/system-rsc@2.1.1 @nextui-org/system@2.1.1 @nextui-org/table@2.0.30 @nextui-org/tabs@2.0.28 @nextui-org/theme@2.2.1 @nextui-org/tooltip@2.0.32 @nextui-org/use-real-shape@2.0.12 @nextui-org/user@2.0.27
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
github-actions[bot]
098d7884cf
ci(changesets): version packages (#2738)
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
@nextui-org/date-picker@2.0.2 @nextui-org/modal@2.0.31 @nextui-org/react@2.3.1 @nextui-org/use-aria-modal-overlay@2.0.8
2024-04-16 13:37:32 -03:00
Junior Garcia
60c61aaf0c
fix(modal): inside and outside scroll (#2739) 2024-04-16 13:31:35 -03:00
Junior Garcia
fdbfa1f299
fix(date-picker): invalid and disabled props removed (#2737) 2024-04-16 12:37:50 -03:00
Junior Garcia
ed1dbbc172 Merge branch 'main' of github.com:nextui-org/nextui 2024-04-16 10:09:31 -03:00
Junior Garcia
9cdc262619 feat(docs): v2.3.0 blog 2024-04-16 10:09:21 -03:00
github-actions[bot]
c0d0a57338
ci(changesets): version packages (#2441)
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
@nextui-org/accordion@2.0.29 @nextui-org/aria-utils@2.0.16 @nextui-org/autocomplete@2.0.11 @nextui-org/avatar@2.0.25 @nextui-org/badge@2.0.25 @nextui-org/breadcrumbs@2.0.5 @nextui-org/button@2.0.28 @nextui-org/calendar@2.0.1 @nextui-org/card@2.0.25 @nextui-org/checkbox@2.0.26 @nextui-org/chip@2.0.26 @nextui-org/code@2.0.25 @nextui-org/date-input@2.0.1 @nextui-org/date-picker@2.0.1 @nextui-org/divider@2.0.26 @nextui-org/dropdown@2.1.18 @nextui-org/framer-utils@2.0.16 @nextui-org/image@2.0.25 @nextui-org/input@2.1.18 @nextui-org/kbd@2.0.26 @nextui-org/link@2.0.27 @nextui-org/listbox@2.1.17 @nextui-org/menu@2.0.18 @nextui-org/modal@2.0.30 @nextui-org/navbar@2.0.28 @nextui-org/pagination@2.0.28 @nextui-org/popover@2.1.16 @nextui-org/progress@2.0.26 @nextui-org/radio@2.0.26 @nextui-org/react-rsc-utils@2.0.11 @nextui-org/react-utils@2.0.11 @nextui-org/react@2.3.0 @nextui-org/ripple@2.0.25 @nextui-org/scroll-shadow@2.1.14 @nextui-org/select@2.1.22 @nextui-org/shared-icons@2.0.7 @nextui-org/shared-utils@2.0.5 @nextui-org/skeleton@2.0.25 @nextui-org/slider@2.2.7 @nextui-org/snippet@2.0.32 @nextui-org/spacer@2.0.25 @nextui-org/spinner@2.0.26 @nextui-org/stories-utils@2.0.2 @nextui-org/switch@2.0.26 @nextui-org/system-rsc@2.1.0 @nextui-org/system@2.1.0 @nextui-org/table@2.0.29 @nextui-org/tabs@2.0.27 @nextui-org/test-utils@2.0.5 @nextui-org/theme@2.2.0 @nextui-org/tooltip@2.0.31 @nextui-org/use-aria-accordion-item@2.0.8 @nextui-org/use-aria-accordion@2.0.3 @nextui-org/use-aria-button@2.0.7 @nextui-org/use-aria-link@2.0.16 @nextui-org/use-aria-modal-overlay@2.0.7 @nextui-org/use-aria-multiselect@2.1.5 @nextui-org/use-aria-toggle-button@2.0.7 @nextui-org/use-callback-ref@2.0.5 @nextui-org/use-clipboard@2.0.5 @nextui-org/use-data-scroll-overflow@2.1.4 @nextui-org/use-disclosure@2.0.7 @nextui-org/use-image@2.0.5 @nextui-org/use-infinite-scroll@2.1.3 @nextui-org/use-intersection-observer@2.0.1 @nextui-org/use-is-mobile@2.0.7 @nextui-org/use-is-mounted@2.0.5 @nextui-org/use-measure@2.0.1 @nextui-org/use-pagination@2.0.6 @nextui-org/use-real-shape@2.0.11 @nextui-org/use-ref-state@2.0.5 @nextui-org/use-resize@2.0.5 @nextui-org/use-safe-layout-effect@2.0.5 @nextui-org/use-scroll-position@2.0.5 @nextui-org/use-ssr@2.0.5 @nextui-org/use-update-effect@2.0.5 @nextui-org/user@2.0.26
2024-04-16 09:53:16 -03:00
Junior Garcia
651c8b55af fix(root): release ci 2024-04-16 09:44:57 -03:00
Junior Garcia
3a22505185 fix(root): release ci 2024-04-16 09:38:15 -03:00
Junior Garcia
dc0bcf13a5
v2.3.0 [WIP] (#2618)
* refactor(input): input ref test (#2613)

* refactor(input): remove duplicate test

* refactor(input): remove unncessary waitFor

* fix(radio): isRequired & missing warning message in Form (#2597)

* fix(radio): avoid overriding required props

* fix(radio): merge with domRef

* feat(changeset): fixed missing required props and validationMessage

* fix(radio): unnecessary mergeRefs

* Calendar component  📅 (#2456)

* feat(calendar): initial structure

* feat(calendar): calendar structure completed, styles in progress

* chore(calendar): dark colors adjusted

* feat(calendar): styles improved, variants added, animations added with framer motion

* chore(calendar): animation changed, shadow improved

* chore(calendar): disableAnimation support added as well as weekDays format

* feat(calendar): more stories added

* chore(calendar): refactor calendar cell styling

* feat(calendar): create calendar function added to the root provider

* feat(calendar): invalid state and error message added

* feat(calendar): calendar picker added, provider modified

* feat(root): object.values deps replaced by new func, intersection hoook added, types version unified

* feat(calendar): calendar pickers in progress

* feat(calendar): calendar pickers added

* fix(calendar): year label formatting

* chore(calendar): add layout parameter to Calendar stories

* feat(calendar): pickers completed, context added

* feat(calendar): visibleMonths supported, warnings fixed, tests added

* chore(root): changeset

* chore(calendar): add topContent and bottomContent props to calendar

* feat(calendar): add @nextui-org/radio package and update calendar component

* refactor: assigned type(DateValue) to focusedDate(ControlledFocusedVaue) (#2637)

Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de>

* Range Calendar 📆 (#2634)

* feat(calendar): range calendar added, calendar and context adapted

* feat(calendar): range calendar stories added

* chore(calendar): range calendar tests added

* fix(calendar): update calendar styles to adjust to dynamic width

* Date Input 🗓️ (#2641)

* feat(date-picker): date field component initialized

* chore(date-picker): date field renamed to date-input

* feat(date-picker): date input completed

* chore(date-input): commented code removed

* feat(avatar): support slots in AvatarGroup (#2669)

* feat: rename newPost to new (#2665)

* fix(avatar): spread getAvatarGroupCountProps in avatar count

* feat(avatar): support slots in avatarGroup

* feat(avatar): support classNames and add getAvatarGroupCountProps

* feat(docs): add classNames to avatar group

* feat(avatar): add CustomSlots in avatar group

* feat(changeset): support slots in avatar group

---------

Co-authored-by: winches <96854855+winchesHe@users.noreply.github.com>

* Date Picker Component 🗓️ (#2652)

* feat(date-picker): first iteration

* chore(date-picker): update date-picker README.md with improved description

* feat(date-picker): code organized, integration done

* fix(date-picker): min and max value + styles

* fix(date-picker): popover offset adn calendar styles

* feat(date-picker): stories added

* fix(date-picker): calendar width properly handled

* feat(date-picker): styles simplified

* chore(date-picker): almost all test passing

* fix(date-picker): test and styles

* chore(date-picker): calendar popover tests added

* fix(date-picker): props to be passed to the date-input

* TimeInput Component 🕒 (#2672)

* feat(time-input): time input added with some stories, tests and date-picker integration missing

* feat(time-input): tests added, date-picker integration added, missing stories added

* chore(react): missing packages added

* chore(time-input): fix stories names

* fix(time-input): time value type

* fix: date-picker visibleMonth width does not get widen enough (#2703)

* DateRangePicker Component 🗓️ (#2682)

* chore(date-range-picker): in progress

* chore(date-range-picker): in progress

* feat(date-input): components separated into multiple pieces to be able to implement the date range picker

* feat(date-range-picker): first version of it working

* chore(date-picker): hyphen symbol changed

* feat(date-range-picker): stories done

* fix(range-calendar): styles

* docs: Calendar & RangeCalendar (#2686)

* feat(docs): add calendar in routes.json

* feat(docs): refresh search-meta.json

* feat(docs): add calendar examples

* feat(docs): calendar content

* feat(deps): add @internationalized/date

* refactor(docs): remove div wrapper

* feat(docs): add calendar doc

* fix(docs): calendar presets

* fix(docs): preset styles

* chore(docs): remove calendar iframe examples

* refactor(docs): discard iframe in calendar doc

* fix(docs): incorrect DateValue import

* feat(docs): include @internationalized/date in live demo scope

* feat(docs): add presets description

* chore(docs): update search-meta.json

* fix(docs): remove DateValue

* feat(docs): include reactAriaI18n in react live demo scope

* fix(docs): presets import issue

* chore(docs): update search-meta.json

* feat(docs): add api reference for nextui provider

* fix(calendar): ixExpanded  typo

* feat(docs): add missing props & event

* chore(docs): update search-meta.json

* chore(docs): update route keywords

* chore(docs): revise value style add defaultFocusedValue

* chore(docs): remove padding and revise gap

* feat(docs): range calendar

* chore(docs): update search-meta.json

* feat(docs): add reactAriaHook

* fix(docs): incorrect component and add storybook and reactAriaHook

* fix(docs): incorrect import path

* chore(docs): reorder range calendar position in sidebar

* chore(Docs): remove custom styles & implementation

* chore(docs): remove last item from accessibility

* chore(docs): onValueChange -> onChange

* feat(docs): add ts example for range calendar

* chore(docs): remove unwanted content in range calendar

* feat(docs): add ts examples for calendar

* chore(docs): update import path

* chore(docs): update import path

* chore(docs): styles adjusted, routes updated

---------

Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>

* docs: TimeInput (#2698)

* feat(docs): add time input to routes.json

* feat(deps): add @internationalized/date

* feat(docs): add @internationalized/date and @react-aria/i18n to code demo scopes

* feat(docs): time input contetnt

* chore(docs): revise time input examples

* feat(docs): time input content

* chore(time-input): update description

* feat(docs): add ts examples in time-input

* chore(docs): revise TimeValue import

---------

Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>

* chore(date-picker): exports updated

* docs: DatePicker (#2700)

* docs: created the doc for datepicker and its examples

* docs: regenerate search-meta.json

* fix: reverted the unncessary change to Input component

* fix: fixed the component-link for date-picker

* fix: fixed the component-link for date-picker

* fix: added variants section to the doc

* fix: made adjustment to the explanations for the props of DatePicker comp

---------

Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>

* doc: DateInput (#2711)

* docs: created base examples and the document

* chore: created search-meta and follow-up fix for each date-input example cases

* fix: fixed some example components styles

* fix(docs): updated routes.json

* fix(docs): fixed typo in the docs

* fix: fixed the component-link for date-input

* fix: fixed the component-link for date-input

* fix: label-placements example flex style adjustment

* fix: added variants section to the doc

---------

Co-authored-by: HaRuki Kuriwada <haruki.kuriwada@hennge.com>
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>

* refactor(theme): units removed, tailwind-variants upgraded (#2713)

* fix(theme): units replaced by spacing

* fix(select): positioning the label if a description is used (#2553)

Co-authored-by: Poli Sour <polisour.work@gmail.com>

* Upgrade to new react aria version (#2561)

* chore(root): pkg upgraded

* fix: type error

* fix: build error

* chore: update packages from a~d

* chore: update packages from i~r

* chore: update packages from s~u

* chore: update core, hooks, and utilities packages

* feat: add support radio group validationBehavior props

* fix: validationBehavior default to native

* chore: add validationBehavior props in RadioGroup Stories

* fix: handling of errorMessage

* chore: add support validationBehavior autocomplete

* chore: partial support for validation of select

* chore: add support validationBehavior checkbox

* chore: change validationBehavior default to native

* Merge branch 'v.2.3.0' into feat/upgrade-react-aria

* fix: validation logic

* fix: add default value for autocomplete

* chore: add example using error message function

* chore: fixed error displayed in storybook

* chore: omit validationBehavior from component props

* chore: update docs and storybook on validate

* fix: pnpm-lock version

---------

Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>

* fix(core): build and date input / time input apis

* chore(date-picker): omit validation behavior

* chore(docs): add missing props to calendar and range calendar

* docs: add nextui-cli page (#2714)

* docs: add nextui-cli page

* docs: update search meta

* docs: typo

* docs: typo

* docs: typo

* feat(docs): cli docs done

---------

Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>

* chore(docs): add cli commands to installation docs

* fix(checkbox): prettier

* fix(docs): incorrect cli api references link

* doc: DateRangePicker (#2712)

* chore: created base for date-range-picker doc

* fix: added follow-up story examples to the doc

* fix: fixed bugs happening on the doc

* fix: fixed bugs happening on the doc

* fix(docs): incorrect file path and revise title

* fix: component examples style fixes

* fix: component presets typo fix

* refactor(core): date range picker docs completed, standaline date picker field fixed

---------

Co-authored-by: HaRuki Kuriwada <haruki.kuriwada@hennge.com>
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com>
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>

* fix: only two keyframes currently supported with spring and inertia animations (#2596)

* chore(deps): bump framer-motion

* feat(changeset): fixed framer motion issue

* chore(changeset): revise changeset message

* chore(deps): update pnpm-lock.yaml

* fix: react hook form issue (#2603)

* fix(input): pass domRef?.current?.value to controlled state

* fix(input): pass domRef?.current?.value to useTextField instead

* fix(checkbox): handle RHF case

* fix(checkbox): add missing isSelected case

* chore(checkbox): update ref type

* chore(deps): add @nextui-org/use-safe-layout-effect

* chore(deps): update pnpm-lock.yaml

* chore(deps): update pnpm-lock.yaml

* fix(select): handle RHF case

* chore(deps): add @nextui-org/use-safe-layout-effect to select

* fix(autocomplete): handle RHF case

* chore(deps): add @nextui-org/use-safe-layout-effect to autocomplete

* refactor(components): revise comments

* feat(changeset): react-hook-form uncontrolled components

* chore(deps): pnpm-lock.yaml

* fix(input): domRef.current.value has higher precedence

* fix(checkbox): set isChecked based on input ref checked

* feat(components): tabs component add tabPosition prop (#2398)

* feat(components): tabs component add tabPosition prop

* fix: review problem change

* test: add tabs position vertical test

* docs: update changeset

* fix(tabs): optimize return of tabs

* fix(tabs): rename orientation to placement

* fix(tabs): optimize description

* chore(docs): routes

* fix: isReadOnly in Autocomplete MDX (#2444)

* feat(autocomplete): add isReadOnly example

* fix(autocomplete): isReadOnly logic in Autocomplete

* feat(root): add changeset - fixed isReadOnly logic in Autocomplete

* chore(autocomplete component) isReadOnly property demo

isReadOnly property demo in website MDX for autocomplete component.

* Update apps/docs/content/docs/components/autocomplete.mdx

Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>

---------

Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com>
Co-authored-by: Alpha <116849110+alpha-xek@users.noreply.github.com>
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>

* fix(select): only trigger setSelectedKeys when domRef.current.value is true (#2722)

* chore(docs): blog changes (#2724)

* chore(docs): blog changes

* feat(docs): blog improved

* chore(blog): draft param added

* chore: version changeset added

* feat(blog): v2.3.0 almost done

* chore(docs): tailwind colors updated, calendar overflow fixed

* chore(blog): add presets demo

* fix(calendar): overflow on windows

* chore(docs): improve popover placements demo

* fix(autocomplete): set shouldUseVirtualFocus to false in getListboxProps (#2731)

* chore(blog): add cotributors

* chore(blog): draft

---------

Co-authored-by: աӄա <wingkwong.code@gmail.com>
Co-authored-by: Shrinidhi Upadhyaya <shrinidhiupadhyaya1195@gmail.com>
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de>
Co-authored-by: winches <96854855+winchesHe@users.noreply.github.com>
Co-authored-by: HaRuki <soccer_haruki15@me.com>
Co-authored-by: HaRuki Kuriwada <haruki.kuriwada@hennge.com>
Co-authored-by: Poli Sour <57824881+novsource@users.noreply.github.com>
Co-authored-by: Poli Sour <polisour.work@gmail.com>
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com>
Co-authored-by: winches <329487092@qq.com>
Co-authored-by: Alpha Xek <116849110+alphaxek@users.noreply.github.com>
Co-authored-by: Alpha <116849110+alpha-xek@users.noreply.github.com>
2024-04-16 09:25:51 -03:00
Mohammad Reza Badri
aab1f19a96
fix(select): add RTL support to the select component (#2042) (#2485) 2024-04-15 21:22:03 -03:00
Mohammad Reza Badri
9873c6fb83
fix: handle RTL direction divider storybook (#2483) (#2484) 2024-04-15 21:21:15 -03:00
black197
af877f7ddb
fix(use-autocomplete): overwrite onKeyDown to prevent meaningless error msg (#1909) (#2100) 2024-04-15 11:20:03 -03:00
աӄա
25640e42ff
fix(autocomplete): incorrect prop name in getEmptyPopoverProps (#2716)
* fix(autocomplete): incorrect prop name in getEmptyPopoverProps

* chore(changeset): update changeset message
2024-04-15 11:07:56 -03:00
աӄա
abf532b548
fix: selectedKeys are not present in the collection warning in async case (#2648)
* fix(hook): add AsyncLoadable & show warning after data is loaded

* fix(hooks): change isLoading default state to true

* refactor(hooks): move the logic to missingKeys

* refactor(changeset): rephrase changeset description
2024-04-14 16:37:27 -03:00
աӄա
e458432550
fix(select): disabled select shouldn't get update by keyboard (#2649)
* fix(select): disable all keys for isDisabled case

* fix(select): add "disabled select shouldn't update by keyboard" test case

* refactor(select): remove unnecessary map
2024-04-14 16:35:07 -03:00
աӄա
c2ef4c0935
chore(storybook): add missing AsyncFiltering story (#2566)
* feat(autocomplete): add AsyncFilteringTemplate

* chore(autocomplete): move SWCharacter out

* feat(changeset):  add missing AsyncFiltering story in Autocomplete

* chore(changeset): remove changeset since the change only impacts the story
2024-04-14 16:19:39 -03:00
աӄա
a1c112431f
refactor(autocomplete): remove unnecessary map after getting all collection key (#2654)
* refactor(components): remove unnecessary map

* feat(changeset): remove unnecessary map after getting all collection keys
2024-04-14 16:10:39 -03:00
u3u
4dd2605ac2
fix: remove conflicting transition utilities (#2677)
* fix: remove conflicting transition utilities

see: https://tailwindcss.com/docs/transition-property

* chore: add changeset

* fix: typo

* chore: remove comments
2024-04-14 12:57:17 -03:00
Junior Garcia
dab0534095 chore(main): lock file updated 2024-04-14 11:40:32 -03:00
Junior Garcia
12bf410807 chore(docs): tailwindcss upgraded 2024-04-14 11:39:09 -03:00
winches
09504cd702
feat: add peerDep files in components.json and update theme peerDep (#2689) 2024-04-14 11:38:12 -03:00
աӄա
86a78c9b91
fix(autocomplete): empty items with allowCustomValue (#2674)
* feat(autocomplete): add & export getEmptyPopoverProps

* fix(autocomplete): avoid null node in `ariaHideOutside` from `@react-aria/overlays`

* feat(changeset): add changeset
2024-04-14 11:29:53 -03:00
Ryo Matsukawa
feab3e6c1d
fix: correct links in docs (#2708) 2024-04-14 11:28:21 -03:00
Ryo Matsukawa
eb11a7731a
fix(modal): input carry over with IMEs in modal forms (#2709)
* fix(modal): prevent IME input carryover in form fields when tabbing

* chore: add changeset

* chore: chain default onKeyDown
2024-04-14 09:51:43 -03:00
աӄա
2829d4afae
fix(core): hsl rounding issue (#2702) 2024-04-13 12:30:51 -03:00
winches
ebab10804c
feat: rename newPost to new (#2665) 2024-04-07 13:03:52 -03:00
Bryson Tang
6da144f459
Update remix.mdx (#2638) 2024-04-04 13:10:48 -03:00
winches
6811ce52c3
feat: add style attribute in components.json (#2632) 2024-04-02 15:13:14 -03:00
աӄա
2e49e08315
fix: lazyMotion forwardRef issue (#2622)
* fix(ripple): lazyMotion forwardRef issue in Ripple

* feat(dropdown): add test case for LazyMotion React.forwardRef issue

* refactor(dropdown): revise the test title

* feat(modal): include console error check in modal test

* feat(popover): add "should not throw error when clicking trigger button" test

* feat(accordion): add test for lazy motion issue

* feat(navbar): add test for lazy motion issue

* feat(tabs): add test for lazy motion issue

* feat(tooltip): add test for lazy motion issue

* refactor(dropdown): remove unnecessary async

* refactor(test): move spy outside and trigger clearAllMocks after each test
2024-04-02 11:01:17 -03:00
աӄա
a60c2d7b22
fix(hooks): handle numeric selectedKeys in Select (#2589) 2024-04-02 08:45:09 -03:00
աӄա
c5049edfde
fix(popover): unexpected props on a DOM element (#2522)
* fix(popover): handle isDisabled logic for elements without isDisabled props

* chore(popover): isDisabled not necessary in restProps

* chore(changset): handle isDisabled logic for elements without isDisabled props

* fix(popover): keep all the props but isDisabled for non nextui button

* refactor(popover): move isDisabled handling to getTriggerProps

* refactor(popover): get the popover trigger styles from theme instead

* feat(theme): add isDisabled styles in popover

* chore(changeset): add patch to @nextui-org/theme

* refactor(popover): avoid re-instantiate popover styles

* fix(popover): apply filterDOMProps in popover trigger

* fix(popover): avoid conflicts with tooltip isDisabled

* chore(core): add isNextUIEl function to check if a component is a NextUI component

* chore(changeset): add system-rsc and revise message

* feat(dropdown): add tests for custom trigger with isDisabled

* fix(dropdown): incorrect User import path

* feat(dropdown): revise User and add mockRestore

* fix(dropdown): revise user import path

---------

Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>
2024-04-01 22:33:26 -03:00
Tsuki
410e30c720
Add bun as package manager eng 581 (#2625)
* feat: add bun social icon

* chore: add bun to package-managers.tsx

* chore: add bun to installation.mdx
2024-04-01 15:29:03 -03:00
Hyden Liu
82a9fd9bc4
chore: fix typo (#2583) 2024-04-01 14:52:40 -03:00