diff --git a/.changeset/big-monkeys-notice.md b/.changeset/big-monkeys-notice.md deleted file mode 100644 index f64badec94..0000000000 --- a/.changeset/big-monkeys-notice.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@nextui-org/ripple": patch ---- - -Fix #1656 clear ripples on animation complete diff --git a/.changeset/chatty-tools-invent.md b/.changeset/chatty-tools-invent.md deleted file mode 100644 index 9adef37831..0000000000 --- a/.changeset/chatty-tools-invent.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@nextui-org/button": patch ---- - -The button with only the icon now displays only the spinner during loading diff --git a/.changeset/chilly-trainers-type.md b/.changeset/chilly-trainers-type.md deleted file mode 100644 index 3462125be5..0000000000 --- a/.changeset/chilly-trainers-type.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@nextui-org/button": patch -"@nextui-org/theme": patch ---- - -Fix #1626 The 'border-left' is obscured by 'margin-left ml-[calc(theme(borderWidth.medium)*-1)]', and the border is not covered by its neighbor when the button is set to variant='bordered' in the ButtonGroup. - diff --git a/.changeset/fifty-snails-glow.md b/.changeset/fifty-snails-glow.md deleted file mode 100644 index 8ae462ca73..0000000000 --- a/.changeset/fifty-snails-glow.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@nextui-org/listbox": patch -"@nextui-org/tabs": patch -"@nextui-org/theme": patch ---- - -Styles Changes - -- Spacing units changed to from `px` to `rem` this improves the mobile components sizes -- Tabs/Tab new prop added `shouldSelectOnPressUp` which is enabled by default `true`, this prop defines whether the tabs selection should occur on press up instead of press down. -- Chip font size changed to `text-tiny` on `sm` size. diff --git a/.changeset/flat-wasps-hug.md b/.changeset/flat-wasps-hug.md deleted file mode 100644 index 4eaab9933e..0000000000 --- a/.changeset/flat-wasps-hug.md +++ /dev/null @@ -1,46 +0,0 @@ ---- -"@nextui-org/use-aria-accordion-item": patch -"@nextui-org/use-aria-modal-overlay": patch -"@nextui-org/use-aria-toggle-button": patch -"@nextui-org/use-aria-multiselect": patch -"@nextui-org/react-rsc-utils": patch -"@nextui-org/use-aria-accordion": patch -"@nextui-org/shared-icons": patch -"@nextui-org/pagination": patch -"@nextui-org/use-aria-button": patch -"@nextui-org/accordion": patch -"@nextui-org/use-disclosure": patch -"@nextui-org/aria-utils": patch -"@nextui-org/checkbox": patch -"@nextui-org/dropdown": patch -"@nextui-org/progress": patch -"@nextui-org/use-aria-link": patch -"@nextui-org/divider": patch -"@nextui-org/listbox": patch -"@nextui-org/popover": patch -"@nextui-org/snippet": patch -"@nextui-org/tooltip": patch -"@nextui-org/avatar": patch -"@nextui-org/button": patch -"@nextui-org/navbar": patch -"@nextui-org/select": patch -"@nextui-org/slider": patch -"@nextui-org/switch": patch -"@nextui-org/badge": patch -"@nextui-org/input": patch -"@nextui-org/modal": patch -"@nextui-org/radio": patch -"@nextui-org/table": patch -"@nextui-org/card": patch -"@nextui-org/chip": patch -"@nextui-org/link": patch -"@nextui-org/menu": patch -"@nextui-org/tabs": patch -"@nextui-org/user": patch -"@nextui-org/kbd": patch -"@nextui-org/system": patch -"@nextui-org/react": patch -"@nextui-org/theme": patch ---- - -React Aria Client side router provider added to NextUI Provider, it allows users to pass the router they're using to customize how components items should navigate, this is supported by Listbox items, tabs items, dropdown items and table rows. diff --git a/.changeset/forty-vans-refuse.md b/.changeset/forty-vans-refuse.md deleted file mode 100644 index ebbf1fdccd..0000000000 --- a/.changeset/forty-vans-refuse.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@nextui-org/select": patch ---- - -fix #1678 Select component placeholder prop should be fresh diff --git a/.changeset/four-actors-give.md b/.changeset/four-actors-give.md deleted file mode 100644 index 964da3ec7f..0000000000 --- a/.changeset/four-actors-give.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@nextui-org/theme": patch ---- - -- New variable added to the theme layout `hoverOpacity` -- Hover opacity added to button diff --git a/.changeset/four-trainers-move.md b/.changeset/four-trainers-move.md deleted file mode 100644 index 2f0c9206b7..0000000000 --- a/.changeset/four-trainers-move.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -"@nextui-org/use-aria-accordion-item": patch -"@nextui-org/use-aria-modal-overlay": patch -"@nextui-org/use-aria-toggle-button": patch -"@nextui-org/use-aria-multiselect": patch -"@nextui-org/react-rsc-utils": patch -"@nextui-org/use-aria-accordion": patch -"@nextui-org/breadcrumbs": patch -"@nextui-org/shared-icons": patch -"@nextui-org/pagination": patch -"@nextui-org/use-aria-button": patch -"@nextui-org/accordion": patch -"@nextui-org/use-disclosure": patch -"@nextui-org/aria-utils": patch -"@nextui-org/checkbox": patch -"@nextui-org/dropdown": patch -"@nextui-org/progress": patch -"@nextui-org/use-aria-link": patch -"@nextui-org/divider": patch -"@nextui-org/listbox": patch -"@nextui-org/popover": patch -"@nextui-org/snippet": patch -"@nextui-org/tooltip": patch -"@nextui-org/avatar": patch -"@nextui-org/button": patch -"@nextui-org/navbar": patch -"@nextui-org/select": patch -"@nextui-org/slider": patch -"@nextui-org/switch": patch -"@nextui-org/badge": patch -"@nextui-org/input": patch -"@nextui-org/modal": patch -"@nextui-org/radio": patch -"@nextui-org/table": patch -"@nextui-org/card": patch -"@nextui-org/chip": patch -"@nextui-org/link": patch -"@nextui-org/menu": patch -"@nextui-org/tabs": patch -"@nextui-org/user": patch -"@nextui-org/kbd": patch -"@nextui-org/system": patch -"@nextui-org/react": patch -"@nextui-org/theme": patch ---- - -New component: Breadcrumbs diff --git a/.changeset/fresh-dolphins-pay.md b/.changeset/fresh-dolphins-pay.md deleted file mode 100644 index 98853e54cf..0000000000 --- a/.changeset/fresh-dolphins-pay.md +++ /dev/null @@ -1,53 +0,0 @@ ---- -"@nextui-org/use-aria-accordion-item": patch -"@nextui-org/use-aria-modal-overlay": patch -"@nextui-org/use-aria-toggle-button": patch -"@nextui-org/framer-transitions": patch -"@nextui-org/use-aria-multiselect": patch -"@nextui-org/react-rsc-utils": patch -"@nextui-org/use-aria-accordion": patch -"@nextui-org/autocomplete": patch -"@nextui-org/breadcrumbs": patch -"@nextui-org/shared-icons": patch -"@nextui-org/pagination": patch -"@nextui-org/use-aria-button": patch -"@nextui-org/accordion": patch -"@nextui-org/use-aria-press": patch -"@nextui-org/use-disclosure": patch -"@nextui-org/aria-utils": patch -"@nextui-org/test-utils": patch -"@nextui-org/checkbox": patch -"@nextui-org/dropdown": patch -"@nextui-org/progress": patch -"@nextui-org/use-aria-link": patch -"@nextui-org/divider": patch -"@nextui-org/listbox": patch -"@nextui-org/popover": patch -"@nextui-org/snippet": patch -"@nextui-org/tooltip": patch -"@nextui-org/avatar": patch -"@nextui-org/button": patch -"@nextui-org/navbar": patch -"@nextui-org/ripple": patch -"@nextui-org/select": patch -"@nextui-org/slider": patch -"@nextui-org/switch": patch -"@nextui-org/badge": patch -"@nextui-org/input": patch -"@nextui-org/modal": patch -"@nextui-org/radio": patch -"@nextui-org/table": patch -"@nextui-org/card": patch -"@nextui-org/chip": patch -"@nextui-org/link": patch -"@nextui-org/menu": patch -"@nextui-org/tabs": patch -"@nextui-org/user": patch -"@nextui-org/system-rsc": patch -"@nextui-org/kbd": patch -"@nextui-org/system": patch -"@nextui-org/react": patch -"@nextui-org/theme": patch ---- - -react-aria packages & framer-motion upgraded diff --git a/.changeset/gentle-maps-lick.md b/.changeset/gentle-maps-lick.md deleted file mode 100644 index b78e75a03a..0000000000 --- a/.changeset/gentle-maps-lick.md +++ /dev/null @@ -1,61 +0,0 @@ ---- -"@nextui-org/use-data-scroll-overflow": patch -"@nextui-org/use-aria-accordion-item": patch -"@nextui-org/use-aria-modal-overlay": patch -"@nextui-org/use-aria-toggle-button": patch -"@nextui-org/framer-transitions": patch -"@nextui-org/use-aria-multiselect": patch -"@nextui-org/react-rsc-utils": patch -"@nextui-org/scroll-shadow": patch -"@nextui-org/use-aria-accordion": patch -"@nextui-org/autocomplete": patch -"@nextui-org/stories-utils": patch -"@nextui-org/breadcrumbs": patch -"@nextui-org/shared-icons": patch -"@nextui-org/pagination": patch -"@nextui-org/use-aria-button": patch -"@nextui-org/accordion": patch -"@nextui-org/use-aria-press": patch -"@nextui-org/use-disclosure": patch -"@nextui-org/aria-utils": patch -"@nextui-org/test-utils": patch -"@nextui-org/checkbox": patch -"@nextui-org/dropdown": patch -"@nextui-org/progress": patch -"@nextui-org/skeleton": patch -"@nextui-org/use-aria-link": patch -"@nextui-org/divider": patch -"@nextui-org/listbox": patch -"@nextui-org/popover": patch -"@nextui-org/snippet": patch -"@nextui-org/spinner": patch -"@nextui-org/tooltip": patch -"@nextui-org/avatar": patch -"@nextui-org/button": patch -"@nextui-org/navbar": patch -"@nextui-org/ripple": patch -"@nextui-org/select": patch -"@nextui-org/slider": patch -"@nextui-org/spacer": patch -"@nextui-org/switch": patch -"@nextui-org/badge": patch -"@nextui-org/image": patch -"@nextui-org/input": patch -"@nextui-org/modal": patch -"@nextui-org/radio": patch -"@nextui-org/table": patch -"@nextui-org/card": patch -"@nextui-org/chip": patch -"@nextui-org/code": patch -"@nextui-org/link": patch -"@nextui-org/menu": patch -"@nextui-org/tabs": patch -"@nextui-org/user": patch -"@nextui-org/system-rsc": patch -"@nextui-org/kbd": patch -"@nextui-org/system": patch -"@nextui-org/react": patch -"@nextui-org/theme": patch ---- - -Peer dependencies fixed to not install depedencies that were already installed diff --git a/.changeset/healthy-cobras-crash.md b/.changeset/healthy-cobras-crash.md deleted file mode 100644 index 29736cbcf7..0000000000 --- a/.changeset/healthy-cobras-crash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@nextui-org/theme": patch ---- - -feat: added RTL support to accordion component diff --git a/.changeset/hip-years-sip.md b/.changeset/hip-years-sip.md deleted file mode 100644 index e719a7f9a4..0000000000 --- a/.changeset/hip-years-sip.md +++ /dev/null @@ -1,147 +0,0 @@ ---- -"@nextui-org/shared-icons": patch -"@nextui-org/popover": patch -"@nextui-org/tooltip": patch -"@nextui-org/select": patch -"@nextui-org/slider": patch -"@nextui-org/badge": patch -"@nextui-org/theme": patch ---- - -Changes - -- Slider tooltip support added - -Breaking Changes - -- Popover API changed to improve the arrow implementation, arrow is now a pseudo element, this allows the popover to also move the arrow all-together, this change impacts the Popover, Tooltip and Select implementations. - -Popover changes: - -```diff - - - - - - {(titleProps) => ( -
-

- Popover Content -

-
This is the popover content
-
- )} -
-
-``` - -Tooltip changes: - -```diff - - - -``` - -Select changes: - -```diff - - ); -}`; -``` diff --git a/.changeset/hot-otters-laugh.md b/.changeset/hot-otters-laugh.md deleted file mode 100644 index 9ba5b51319..0000000000 --- a/.changeset/hot-otters-laugh.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@nextui-org/radio": patch ---- - -fix: when radio is selected in invalid state, the border of the radio controller should be danger color diff --git a/.changeset/odd-impalas-swim.md b/.changeset/odd-impalas-swim.md deleted file mode 100644 index c23860f31a..0000000000 --- a/.changeset/odd-impalas-swim.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@nextui-org/use-data-scroll-overflow": patch -"@nextui-org/scroll-shadow": patch ---- - -- use-data-scroll-shadow hook logic improved -- controlled way to set the shadow visibility added to ScrollShadow diff --git a/.changeset/orange-bobcats-kneel.md b/.changeset/orange-bobcats-kneel.md deleted file mode 100644 index ccb02170f5..0000000000 --- a/.changeset/orange-bobcats-kneel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@nextui-org/theme": patch ---- - -feat: added RTL support to button group component diff --git a/.changeset/red-hairs-thank.md b/.changeset/red-hairs-thank.md deleted file mode 100644 index f581c8d4b2..0000000000 --- a/.changeset/red-hairs-thank.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@nextui-org/pagination": patch -"@nextui-org/theme": patch ---- - -fix: pagination issues diff --git a/.changeset/seven-buses-cry.md b/.changeset/seven-buses-cry.md deleted file mode 100644 index d5268105a0..0000000000 --- a/.changeset/seven-buses-cry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@nextui-org/theme": patch ---- - -Transition animation added to Menu/Listbox items diff --git a/.changeset/shy-camels-press.md b/.changeset/shy-camels-press.md deleted file mode 100644 index 74eee167ce..0000000000 --- a/.changeset/shy-camels-press.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@nextui-org/react-rsc-utils": patch -"@nextui-org/breadcrumbs": patch -"@nextui-org/shared-icons": patch ---- - -- pickChildren function return type fixed -- new icon added to the shared icons -- breadcrumbs improvements diff --git a/.changeset/shy-pans-juggle.md b/.changeset/shy-pans-juggle.md deleted file mode 100644 index f64c470842..0000000000 --- a/.changeset/shy-pans-juggle.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@nextui-org/input": patch -"@nextui-org/theme": patch ---- - -- Textarea styles fixed -- New prop added to text area `disableAutosize` to preventthe resize diff --git a/.changeset/smooth-mugs-cheer.md b/.changeset/smooth-mugs-cheer.md deleted file mode 100644 index e27bfd60cc..0000000000 --- a/.changeset/smooth-mugs-cheer.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@nextui-org/navbar": major ---- -fix:Ensure Navbar Icons Update Correctly #1648 - -When a function is provided to the Navbar to replace the icons, only the initial icon is applied. It seems the use of useMemo(...) prevents the function from getting executed again, since isMenuOpen is not included in the dependency array. - -This commit includes changes to address these problems and ensure that Navbar icons and slot classes update as expected. - -Issue resolved. diff --git a/.changeset/stupid-experts-jam.md b/.changeset/stupid-experts-jam.md deleted file mode 100644 index 244770e49a..0000000000 --- a/.changeset/stupid-experts-jam.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -"@nextui-org/react-rsc-utils": patch -"@nextui-org/shared-icons": patch -"@nextui-org/dropdown": patch -"@nextui-org/popover": patch -"@nextui-org/snippet": patch -"@nextui-org/tooltip": patch -"@nextui-org/select": patch -"@nextui-org/slider": patch -"@nextui-org/badge": patch -"@nextui-org/react": patch -"@nextui-org/theme": patch ---- - -- New component: Slider -- Arrow removed from the popover styles and code as well as from related components such as Tooltip, Snippet and Select diff --git a/.changeset/tall-mails-tickle.md b/.changeset/tall-mails-tickle.md new file mode 100644 index 0000000000..2dd5a8af3d --- /dev/null +++ b/.changeset/tall-mails-tickle.md @@ -0,0 +1,113 @@ +--- +"@nextui-org/accordion": minor +"@nextui-org/autocomplete": minor +"@nextui-org/avatar": minor +"@nextui-org/badge": minor +"@nextui-org/breadcrumbs": minor +"@nextui-org/button": minor +"@nextui-org/card": minor +"@nextui-org/checkbox": minor +"@nextui-org/chip": minor +"@nextui-org/code": minor +"@nextui-org/divider": minor +"@nextui-org/dropdown": minor +"@nextui-org/image": minor +"@nextui-org/input": minor +"@nextui-org/kbd": minor +"@nextui-org/link": minor +"@nextui-org/listbox": minor +"@nextui-org/menu": minor +"@nextui-org/modal": minor +"@nextui-org/navbar": minor +"@nextui-org/pagination": minor +"@nextui-org/popover": minor +"@nextui-org/progress": minor +"@nextui-org/radio": minor +"@nextui-org/ripple": minor +"@nextui-org/scroll-shadow": minor +"@nextui-org/select": minor +"@nextui-org/skeleton": minor +"@nextui-org/slider": minor +"@nextui-org/snippet": minor +"@nextui-org/spacer": minor +"@nextui-org/spinner": minor +"@nextui-org/switch": minor +"@nextui-org/table": minor +"@nextui-org/tabs": minor +"@nextui-org/tooltip": minor +"@nextui-org/user": minor +"@nextui-org/react": minor +"@nextui-org/system": minor +"@nextui-org/system-rsc": minor +"@nextui-org/theme": minor +"@nextui-org/use-aria-accordion": minor +"@nextui-org/use-aria-accordion-item": minor +"@nextui-org/use-aria-button": minor +"@nextui-org/use-aria-link": minor +"@nextui-org/use-aria-modal-overlay": minor +"@nextui-org/use-aria-multiselect": minor +"@nextui-org/use-aria-press": minor +"@nextui-org/use-aria-toggle-button": minor +"@nextui-org/use-callback-ref": minor +"@nextui-org/use-clipboard": minor +"@nextui-org/use-data-scroll-overflow": minor +"@nextui-org/use-disclosure": minor +"@nextui-org/use-image": minor +"@nextui-org/use-infinite-scroll": minor +"@nextui-org/use-is-mobile": minor +"@nextui-org/use-is-mounted": minor +"@nextui-org/use-pagination": minor +"@nextui-org/use-real-shape": minor +"@nextui-org/use-ref-state": minor +"@nextui-org/use-resize": minor +"@nextui-org/use-safe-layout-effect": minor +"@nextui-org/use-scroll-position": minor +"@nextui-org/use-ssr": minor +"@nextui-org/use-update-effect": minor +"@nextui-org/aria-utils": minor +"@nextui-org/framer-transitions": minor +"@nextui-org/react-rsc-utils": minor +"@nextui-org/react-utils": minor +"@nextui-org/shared-icons": minor +"@nextui-org/shared-utils": minor +"@nextui-org/stories-utils": minor +"@nextui-org/test-utils": minor +--- + +New version V2.2.0 + +- New component added: Slider #1686 +- New component added: Breadcrumbs #1794 +- New component: Single selection Autocomplete based on [useComboBox](https://react-spectrum.adobe.com/react-aria/useComboBox.html#usecombobox) and [useComboBoxState](https://react-spectrum.adobe.com/react-stately/useComboBoxState.html#usecomboboxstate) +- React Aria [Client side router](https://react-spectrum.adobe.com/react-aria/routing.html) support added, this allows components such as Link, Tabs, Listbox and Dropdown items to be rendered as links and navigate using the proper navigation function for each framework. #1764 +- RTL Support added to Accordion. #1725 +- RTL Support added to Avatar & AvatarGroup components #1727 +- RTL Support added to ButtonGroup #1726 +- Spacing units changed from `px` to `rem` this improves the mobile components' sizes #1688 +- Tabs/Tab new prop added `shouldSelectOnPressUp` which is enabled by default `true`, this prop defines whether the tabs selection should occur on press up instead of press down. #1688 +- Chip font size changed to `text-tiny` on `sm` size. #1688 +- Button with only the icon now displays only the spinner during loading #1800 +- Popover open state fixed for blur/opaque backdrops #1812 +- The ScrollShadow API has been enhanced with new features. Users can now manage the `visibility` of shadows using the `visibility` and `onVisibilityChange` props. #1819 +- `emptyContent` property added to Listbox/Menu/Dropdown +- `topContent` and `bottomContent` properties added to Listbox/Menu/Dropdown +- `baseRef` added to Input, it allows to control the input's parent element ref +- `tailwind-variants` upgraded to `v0.1.18` it includes slot variants control +- Custom `usePress` implemented to fix the corner press issue, opened a PR and Issue on react-aria project https://github.com/adobe/react-spectrum/pull/5291 +- Custom `usePress` implemented across all NextUI interactive components +- Input & Select label animations & position improved +- react-aria packages and framer-motion upgraded +- Generic items typescript support added to `Menu` and `DropdownMenu` #1691 +- Popover animation improved +- Package dependencies were modified to not include the ones already installed through either global or individual installations. This reduces the individual package bundle size. #1848 +- Input outline removed on focus-visible +- ButtonGroup radius prop fixed +- `isActive` prop added to `NavbarMenuItem` +- Pagination custom-items example fixed, key prop added +- Collection Items are now supported by `extendVariants` function #1761 +- Transition added to menu/listbox items +- `disableAutosize` prop added to Textarea, this disable the auto resize. +- Textarea styles fixed +- Textarea height style animated +- `hoverOpacity` key added to themes object in the plugin +- Button hover effect added diff --git a/.changeset/tender-penguins-love.md b/.changeset/tender-penguins-love.md deleted file mode 100644 index 6922e0cb5b..0000000000 --- a/.changeset/tender-penguins-love.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@nextui-org/avatar": patch -"@nextui-org/theme": patch ---- - -feat: added RTL support to avatar and avatar group component diff --git a/.changeset/warm-panthers-fail.md b/.changeset/warm-panthers-fail.md deleted file mode 100644 index f4f4759eaf..0000000000 --- a/.changeset/warm-panthers-fail.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@nextui-org/skeleton": patch -"@nextui-org/theme": patch ---- - -Fix #1609 skeleton background on loaded stet diff --git a/.changeset/wise-apples-travel.md b/.changeset/wise-apples-travel.md deleted file mode 100644 index c6db234748..0000000000 --- a/.changeset/wise-apples-travel.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@nextui-org/listbox": patch -"@nextui-org/table": patch -"@nextui-org/menu": patch -"@nextui-org/tabs": patch -"@nextui-org/system-rsc": patch -"@nextui-org/theme": patch ---- - -Collection-based components support on extendVariants function added, input focus-visible outline removed, collection item components "as" prop fixed