1022 Commits

Author SHA1 Message Date
Junior Garcia
ccd8f730e1 fix(docs): popover placements 2024-04-16 16:30:19 -03:00
Junior Garcia
9cdc262619 feat(docs): v2.3.0 blog 2024-04-16 10:09:21 -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
Junior Garcia
12bf410807 chore(docs): tailwindcss upgraded 2024-04-14 11:39:09 -03:00
Ryo Matsukawa
feab3e6c1d
fix: correct links in docs (#2708) 2024-04-14 11:28:21 -03:00
Bryson Tang
6da144f459
Update remix.mdx (#2638) 2024-04-04 13:10:48 -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
աӄա
a597c82a9c
fix(image): className in image blurred example (#2540) 2024-03-31 15:17:33 -03:00
Sagar Joshi
cf0d4e471e
Update override-styles.mdx (#2588) 2024-03-26 07:37:52 -03:00
HaRuki
2aa476455f
fix(docs): some user links in support us section led to 404 pages (#2576) 2024-03-24 18:42:46 -03:00
winches
ee7a819147
fix: recycle import error (#2568) 2024-03-22 15:49:33 -03:00
codeesura
fb0625470f
Sort 'Space' Type Values in Ascending Order (#2545)
Reordered `Space` type values to a logical ascending sequence (0.5, 1, 1.5, etc.) for improved readability and consistency. No functional impact on the code.
2024-03-21 13:06:43 -03:00
Orion Railean
0973cd9bff
docs(snippet): fix grammatical error (#2557) 2024-03-21 12:53:03 -03:00
Frozen FIsh
ceeb52363d
feat(docs): Integrate kapaai (#2428)
* test(docs): test kapa.ai script

* feat(docs): add script-providers.tsx

* refactor(docs): update layout.tsx

* chore(docs): update script-providers.tsx

* refactor(docs): update layout.tsx
2024-03-15 22:48:34 -03:00
HaRuki
9496ab57c5
fix(docs): listbox with description (#2513) 2024-03-15 22:37:50 -03:00
աӄա
cda881799c
fix(docs): remove non-existing triggerType props in Tooltip (#2520) 2024-03-15 09:14:37 -03:00
ImFirstPlace
f373400102
Fix capital city of Australia (#2431) 2024-03-07 10:09:46 -03:00
HaRuki
2dc5adb6e0
docs(components): accordion controlled example shows errors (#2339)
* docs(components): accordion controlled example shows errors

* docs(components): accordion controlled example shows errors

* docs(components): accordion controlled example shows errors
2024-03-03 20:36:55 -03:00
HaRuki
f63b20c59d
fix(components): accordion component throws "validateDOMNesting" erro… (#2169)
* fix(components): accordion component throws "validateDOMNesting" error on the storybook

* fix(components): accordion component throws "validateDOMNesting" error on the storybook

* fix(components): accordion component throws "validateDOMNesting" error on the storybook

* fix(components): accordion component throws "validateDOMNesting" error on the storybook

* fix(docs): accordion component throws "validateDOMNesting" error on the storybook
2024-03-03 20:36:05 -03:00
kght6123
0df5099a62
docs(components): fixed Custom Implementation sample for button component missing onClear type (#2256) 2024-03-03 18:36:41 -03:00
Robin
cdc4981508
docs(autocomplete): fix missing defaultItems property (#2185) 2024-03-03 18:34:05 -03:00
Kinfe Michael Tariku
acee3c2fda
fix: dup // fix on a link for edit this page on github (#2237) 2024-03-03 18:28:41 -03:00
u3u
a235e324b9
feat: add updatePositionDeps prop to popover component (#2390) 2024-03-03 17:44:30 -03:00
Junior Garcia
5528ccd042
Fix/sidebar and pro banner space (#2438)
* feat(utils): add featurebase utils

* feat(config): add changelog, feedback and roadmap routes

* feat(app): add featurebase script

* feat(docs): add NEXT_PUBLIC_FB_FEEDBACK_URL

* feat(featurebase): add featurebase components

* feat(components): add featurebase components to navbar

* feat(components): add featurebase components to sidebar

* chore(config): remove changelog and feedback at this moment

* fix(components): fb-roadmap-link styles

* chore(components): hide feedback and changelog at this moment

* feat(docs): add NEXT_PUBLIC_FB_FEEDBACK_ORG

* feat(featurebase): add trackEvent & revise props

* fix(sidebar): remove opacity classes from TreeItem component

* fix(docs): pro banner margin

---------

Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com>
2024-03-03 16:32:29 -03:00
աӄա
4957f56e86
feat: featurebase integration (#2425)
* feat(utils): add featurebase utils

* feat(config): add changelog, feedback and roadmap routes

* feat(app): add featurebase script

* feat(docs): add NEXT_PUBLIC_FB_FEEDBACK_URL

* feat(featurebase): add featurebase components

* feat(components): add featurebase components to navbar

* feat(components): add featurebase components to sidebar

* chore(config): remove changelog and feedback at this moment

* fix(components): fb-roadmap-link styles

* chore(components): hide feedback and changelog at this moment

* feat(docs): add NEXT_PUBLIC_FB_FEEDBACK_ORG

* feat(featurebase): add trackEvent & revise props
2024-03-03 16:20:40 -03:00
HaRuki
0cc8c79c53
docs(components): type error on tab components (#2416) 2024-02-29 11:44:29 -03:00
աӄա
dc289fb59b
fix(docs): keep navbar layout consistent (#2412) 2024-02-27 11:32:46 -03:00
աӄա
cd3b80974c
fix: sematic typos (#2408)
* fix(docs): sematic -> semantic

* fix(stories): sematic -> semantic
2024-02-27 11:30:55 -03:00
աӄա
dc91ab8bc9
fix(docs): accordion itemClasses (#2406) 2024-02-27 11:30:33 -03:00
Frozen FIsh
755a835fa7
fix(docs): update introduction.mdx replace p tag to div to avoid p tag nested p tag (#2388) (#2389) 2024-02-26 22:20:33 -03:00
Mohit Chandel
dc9362f959
Fix: Added few missing imports (#2401) 2024-02-23 07:24:55 -05:00
Ryo Matsukawa
f75174d07e
docs(modal): update documentation to include dismiss properties (#2217) 2024-02-21 23:12:24 -05:00
աӄա
60e453d265
fix(docs): typos (#2373) 2024-02-18 01:57:41 -03:00
Anthony Whitford
6e5ba692db
Added note for installing React. (#2369) 2024-02-17 15:12:33 -03:00
Mehmet Akifhan ILGAZ
995b37e2eb
Update spinner.mdx (#2355)
Fix labelColor description
2024-02-14 17:15:06 -03:00
Frozen FIsh
3be8c621a1
chore: typo (#2353) 2024-02-14 17:14:40 -03:00
HaRuki
a4cab30df3
docs(components): tooltip delays inverted (#2338) 2024-02-12 21:13:51 -03:00
HaRuki
39714775c7
docs(components): radioGroup component link for Storybook does not work (#2335) 2024-02-11 10:19:27 -03:00
Junior Garcia
07372eaa65 Merge branch 'main' of github.com:nextui-org/nextui 2024-02-11 09:33:54 -03:00
Junior Garcia
dedd42c288 fix(docs): remove pro banner on examples routes 2024-02-11 09:33:37 -03:00
kght6123
f28e93d940
docs(components): #2236 [FIX] - Duplicate table disableAnimation prop description (#2246) 2024-02-08 10:25:43 -03:00
Stephan Schuto
0ad6e033f8
fix(docs): autocomplete typo (#2252) 2024-02-08 10:23:41 -03:00
navedqb
fb0707087c
fix missing imports in navbar (#2281) 2024-02-08 10:21:09 -03:00
André Vital
d953a22b99
docs(modal): update documentation's default backdrop value (#2285) 2024-02-08 10:20:27 -03:00
Simon He
077c19506f
docs: typo (#2294) 2024-02-08 10:19:40 -03:00
Simon He
6ca97c0bd6
docs(checkboxGroup): add attribute label (#2295) 2024-02-08 10:18:16 -03:00
Alexander Densley
5c8f21a106
docs: dix typo in table docs (#2319) 2024-02-08 10:14:11 -03:00
Junior Garcia
decf11d270 fix(banner): z-index fixed 2024-02-07 23:07:48 -03:00
Junior Garcia
fff248a30b chore(docs): update pro banner link href URLs 2024-02-04 21:54:37 -03:00
Junior Garcia
4996d9fb36 chore(docs): codeblock event removed, text sizes increased 2024-02-03 15:26:34 -03:00