feat(paignation): automatic scroll added, styles improved

This commit is contained in:
Junior Garcia 2023-06-20 12:48:35 -03:00
parent a27ca56c08
commit b56a89d0be
128 changed files with 1391 additions and 153 deletions

View File

@ -97,7 +97,7 @@ export default function App() {
return (
<Pagination
hideCursor
disableCursorAnimation
showControls
total={10}
initialPage={1}
@ -160,7 +160,7 @@ export default function App() {
return (
<Pagination
hideCursor
disableCursorAnimation
showControls
total={10}
initialPage={1}

View File

@ -159,28 +159,28 @@ your own implementation.
### Pagination Props
| Attribute | Type | Description | Default |
| ---------------- | ---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ | --------- |
| variant | `flat` \| `bordered` \| `light` \| `faded` | The pagination variant. | `flat` |
| size | `xs` \| `sm` \| `md` \| `lg` \| `xl` | The pagination size. | `md` |
| color | `default` \| `primary` \| `secondary` \| `success` \| `warning` \| `danger` | The pagination color theme. | `default` |
| radius | `none` \| `base` \| `sm` \| `md` \| `lg` \| `xl` \| `full` | The pagination border radius. | `xl` |
| total | `number` | The total number of pages. | `1` |
| dotsJump | `boolean` | The number of pages that are added or subtracted on the '...' button. | `5` |
| initialPage | `number` | The initial page. (uncontrolled) | `1` |
| page | `number` | The current page. (controlled) | - |
| siblings | `number` | The number of pages to show before and after the current page. | `1` |
| boundaries | `number` | The number of pages to show at the beginning and end of the pagination. | `1` |
| loop | `boolean` | Whether the pagination should be looped. | `false` |
| isCompact | `boolean` | Whether the pagination should have a compact style. | `false` |
| isDisabled | `boolean` | Whether the pagination is disabled. | `false` |
| showShadow | `boolean` | Whether the pagination cursor should have a shadow. | `false` |
| showControls | `boolean` | Whether the pagination should have controls. | `false` |
| hideCursor | `boolean` | Whether the pagination cursor should be hidden. | `false` |
| renderItem | [PaginationItemProps](#pagination-item-props) | The pagination item render function. | - |
| getItemAriaLabel | `(page: string) => string` | A function that allows you to customize the pagination items aria-label. | - |
| disableAnimation | `boolean` | Whether the pagination cursor should be animated. | `false` |
| classNames | `Record<"base" "prev" "next" "item" "cursor" "forwardIcon" "ellipsis" "chevronNext", string>` | Allows to set custom class names for the pagination slots. | - |
| Attribute | Type | Description | Default |
| ---------------------- | ---------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ | --------- |
| variant | `flat` \| `bordered` \| `light` \| `faded` | The pagination variant. | `flat` |
| size | `xs` \| `sm` \| `md` \| `lg` \| `xl` | The pagination size. | `md` |
| color | `default` \| `primary` \| `secondary` \| `success` \| `warning` \| `danger` | The pagination color theme. | `default` |
| radius | `none` \| `base` \| `sm` \| `md` \| `lg` \| `xl` \| `full` | The pagination border radius. | `xl` |
| total | `number` | The total number of pages. | `1` |
| dotsJump | `boolean` | The number of pages that are added or subtracted on the '...' button. | `5` |
| initialPage | `number` | The initial page. (uncontrolled) | `1` |
| page | `number` | The current page. (controlled) | - |
| siblings | `number` | The number of pages to show before and after the current page. | `1` |
| boundaries | `number` | The number of pages to show at the beginning and end of the pagination. | `1` |
| loop | `boolean` | Whether the pagination should be looped. | `false` |
| isCompact | `boolean` | Whether the pagination should have a compact style. | `false` |
| isDisabled | `boolean` | Whether the pagination is disabled. | `false` |
| showShadow | `boolean` | Whether the pagination cursor should have a shadow. | `false` |
| showControls | `boolean` | Whether the pagination should have controls. | `false` |
| disableCursorAnimation | `boolean` | Whether the pagination cursor should be hidden. | `false` |
| renderItem | [PaginationItemProps](#pagination-item-props) | The pagination item render function. | - |
| getItemAriaLabel | `(page: string) => string` | A function that allows you to customize the pagination items aria-label. | - |
| disableAnimation | `boolean` | Whether the pagination cursor should be animated. | `false` |
| classNames | `Record<"base" "prev" "next" "item" "cursor" "forwardIcon" "ellipsis" "chevronNext", string>` | Allows to set custom class names for the pagination slots. | - |
### Pagination Events

View File

@ -1,5 +1,35 @@
# @nextui-org/accordion
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/use-aria-accordion-item@0.0.0-dev-v2-20230620154717
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230620154717
- @nextui-org/shared-icons@0.0.0-dev-v2-20230620154717
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/aria-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/use-aria-accordion-item@0.0.0-dev-v2-20230620153822
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230620153822
- @nextui-org/shared-icons@0.0.0-dev-v2-20230620153822
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/aria-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/accordion",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "Collapse display a list of high-level options that can expand/collapse to reveal more information.",
"keywords": [
"react",

View File

@ -1,5 +1,29 @@
# @nextui-org/avatar
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/use-image@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/use-image@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/avatar",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "The Avatar component is used to represent a user, and displays the profile picture, initials or fallback icon.",
"keywords": [
"avatar"

View File

@ -1,5 +1,27 @@
# @nextui-org/badge
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/badge",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "Badges are used as a small numerical value or status descriptor for UI elements.",
"keywords": [
"badge"

View File

@ -1,5 +1,33 @@
# @nextui-org/button
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/spinner@0.0.0-dev-v2-20230620154717
- @nextui-org/drip@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/spinner@0.0.0-dev-v2-20230620153822
- @nextui-org/drip@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/button",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "Buttons allow users to perform actions and choose with a single tap.",
"keywords": [
"button"

View File

@ -1,5 +1,31 @@
# @nextui-org/card
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/drip@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/drip@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/card",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "Card is a container for text, photos, and actions in the context of a single subject.",
"keywords": [
"card"

View File

@ -1,5 +1,27 @@
# @nextui-org/checkbox
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/checkbox",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "Checkboxes allow users to select multiple items from a list of individual items, or to mark one individual item as selected.",
"keywords": [
"checkbox"

View File

@ -1,5 +1,29 @@
# @nextui-org/chip
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230620154717
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230620153822
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/chip",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "Chips help people enter information, make selections, filter content, or trigger actions.",
"keywords": [
"chip"

View File

@ -1,5 +1,27 @@
# @nextui-org/code
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/code",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "Code is a component used to display inline code.",
"keywords": [
"code"

View File

@ -1,5 +1,27 @@
# @nextui-org/divider
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/divider",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": ". A separator is a visual divider between two groups of content",
"keywords": [
"divider"

View File

@ -1,5 +1,25 @@
# @nextui-org/drip
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/drip",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "A ripple effect for ensuring that the user fells the system is reacting instantaneously",
"keywords": [
"drip"

View File

@ -1,5 +1,33 @@
# @nextui-org/dropdown
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/aria-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/use-is-mobile@0.0.0-dev-v2-20230620154717
- @nextui-org/popover@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/aria-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/use-is-mobile@0.0.0-dev-v2-20230620153822
- @nextui-org/popover@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/dropdown",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "A dropdown displays a list of actions or options that a user can choose.",
"keywords": [
"dropdown"

View File

@ -1,5 +1,29 @@
# @nextui-org/image
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/use-image@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/use-image@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/image",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "A simple image component",
"keywords": [
"image"

View File

@ -1,5 +1,31 @@
# @nextui-org/input
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230620154717
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/use-aria-field@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230620153822
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/use-aria-field@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/input",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "The input component is designed for capturing user input within a text field.",
"keywords": [
"input"

View File

@ -1,5 +1,27 @@
# @nextui-org/kbd
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/kbd",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "The keyboard key components indicates which key or set of keys used to execute a specificv action",
"keywords": [
"kbd"

View File

@ -1,5 +1,29 @@
# @nextui-org/link
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230620154717
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230620153822
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/link",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "Links allow users to click their way from page to page. This component is styled to resemble a hyperlink and semantically renders an &lt;a&gt;",
"keywords": [
"link"

View File

@ -1,5 +1,37 @@
# @nextui-org/modal
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/use-aria-modal-overlay@0.0.0-dev-v2-20230620154717
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230620154717
- @nextui-org/shared-icons@0.0.0-dev-v2-20230620154717
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/use-disclosure@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/use-aria-modal-overlay@0.0.0-dev-v2-20230620153822
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230620153822
- @nextui-org/shared-icons@0.0.0-dev-v2-20230620153822
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/use-disclosure@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/modal",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "Displays a dialog with a custom content that requires attention or provides additional information.",
"keywords": [
"modal"

View File

@ -1,5 +1,33 @@
# @nextui-org/navbar
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/use-aria-toggle-button@0.0.0-dev-v2-20230620154717
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230620154717
- @nextui-org/use-scroll-position@0.0.0-dev-v2-20230620154717
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/use-aria-toggle-button@0.0.0-dev-v2-20230620153822
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230620153822
- @nextui-org/use-scroll-position@0.0.0-dev-v2-20230620153822
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/navbar",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "A responsive navigation header positioned on top side of your page that includes support for branding, links, navigation, collapse and more.",
"keywords": [
"navbar"

View File

@ -1,5 +1,31 @@
# @nextui-org/pagination
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230620154717
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/use-pagination@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230620153822
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/use-pagination@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/pagination",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "The Pagination component allows you to display active page and navigate between multiple pages.",
"keywords": [
"pagination"
@ -45,7 +45,8 @@
"@nextui-org/use-pagination": "workspace:*",
"@react-aria/focus": "^3.12.1",
"@react-aria/interactions": "^3.15.1",
"@react-aria/utils": "^3.17.0"
"@react-aria/utils": "^3.17.0",
"scroll-into-view-if-needed": "2.2.29"
},
"devDependencies": {
"clean-package": "2.2.0",

View File

@ -21,7 +21,7 @@ const Pagination = forwardRef<PaginationProps, "ul">((props, ref) => {
range,
loop,
activePage,
hideCursor,
disableCursorAnimation,
disableAnimation,
renderItem: renderItemProp,
onNext,
@ -135,7 +135,7 @@ const Pagination = forwardRef<PaginationProps, "ul">((props, ref) => {
return (
<Component {...getBaseProps()}>
{!hideCursor && !disableAnimation && <PaginationCursor {...getCursorProps()} />}
{!disableCursorAnimation && !disableAnimation && <PaginationCursor {...getCursorProps()} />}
{range.map(renderItem)}
</Component>
);

View File

@ -11,15 +11,16 @@ import {
import {useEffect, useRef, useMemo} from "react";
import {mapPropsVariants} from "@nextui-org/system";
import {usePagination as useBasePagination} from "@nextui-org/use-pagination";
import scrollIntoView from "scroll-into-view-if-needed";
import {pagination} from "@nextui-org/theme";
import {useDOMRef} from "@nextui-org/react-utils";
import {clsx, dataAttr} from "@nextui-org/shared-utils";
export type PaginationItemRenderProps<T extends HTMLElement = HTMLElement> = {
export type PaginationItemRenderProps = {
/**
* The pagination item ref.
*/
ref?: Ref<T>;
ref?: Ref<any>;
/**
* The pagination item value.
*/
@ -95,7 +96,7 @@ interface Props extends Omit<HTMLNextUIProps<"ul">, "onChange"> {
* @param props Pagination item props
* @returns ReactNode
*/
renderItem?: <T extends HTMLElement>(props: PaginationItemRenderProps<T>) => ReactNode;
renderItem?: (props: PaginationItemRenderProps) => ReactNode;
/**
* Function to get the aria-label of the item. If not provided, pagination will use the default one.
*/
@ -183,6 +184,15 @@ export function usePagination(originalProps: UsePaginationProps) {
cursorTimer.current && clearTimeout(cursorTimer.current);
if (node) {
// scroll parent to the item
scrollIntoView(node, {
scrollMode: "if-needed",
behavior: "smooth",
block: "start",
inline: "start",
boundary: domRef.current,
});
// get position of the item
const {offsetLeft} = node;
@ -221,14 +231,15 @@ export function usePagination(originalProps: UsePaginationProps) {
activePage,
originalProps.disableAnimation,
originalProps.isCompact,
originalProps.hideCursor,
originalProps.disableCursorAnimation,
]);
const slots = useMemo(
() =>
pagination({
...variantProps,
hideCursor: originalProps.hideCursor || originalProps.disableAnimation,
disableCursorAnimation:
originalProps.disableCursorAnimation || originalProps.disableAnimation,
}),
[...Object.values(variantProps)],
);
@ -326,7 +337,7 @@ export function usePagination(originalProps: UsePaginationProps) {
range,
activePage,
getItemRef,
hideCursor: originalProps.hideCursor,
disableCursorAnimation: originalProps.disableCursorAnimation,
disableAnimation: originalProps.disableAnimation,
setPage,
onPrevious,

View File

@ -150,7 +150,7 @@ export const CustomItems = () => {
onPrevious,
setPage,
className,
}: PaginationItemRenderProps<HTMLButtonElement>) => {
}: PaginationItemRenderProps) => {
if (value === PaginationItemType.NEXT) {
return (
<button className={cn(className, "bg-default-200")} onClick={onNext}>
@ -189,7 +189,7 @@ export const CustomItems = () => {
return (
<Pagination
{...defaultProps}
hideCursor
disableCursorAnimation
showControls
className="gap-2"
radius="full"

View File

@ -1,5 +1,35 @@
# @nextui-org/popover
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230620154717
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/aria-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/button@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230620153822
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/aria-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/button@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/popover",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "A popover is an overlay element positioned relative to a trigger.",
"keywords": [
"popover"

View File

@ -1,5 +1,31 @@
# @nextui-org/progress
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/use-aria-label@0.0.0-dev-v2-20230620154717
- @nextui-org/use-is-mounted@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/use-aria-label@0.0.0-dev-v2-20230620153822
- @nextui-org/use-is-mounted@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/progress",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "Progress bars show either determinate or indeterminate progress of an operation over time.",
"keywords": [
"progress"

View File

@ -1,5 +1,27 @@
# @nextui-org/radio
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/radio",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "Radios allow users to select a single option from a list of mutually exclusive options.",
"keywords": [
"radio"

View File

@ -1,5 +1,27 @@
# @nextui-org/skeleton
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/skeleton",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "Skeleton is used to display the loading state of some component.",
"keywords": [
"skeleton"

View File

@ -1,5 +1,35 @@
# @nextui-org/snippet
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230620154717
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/use-clipboard@0.0.0-dev-v2-20230620154717
- @nextui-org/tooltip@0.0.0-dev-v2-20230620154717
- @nextui-org/button@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230620153822
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/use-clipboard@0.0.0-dev-v2-20230620153822
- @nextui-org/tooltip@0.0.0-dev-v2-20230620153822
- @nextui-org/button@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/snippet",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "Display a snippet of copyable code for the command line.",
"keywords": [
"snippet"

View File

@ -1,5 +1,27 @@
# @nextui-org/spacer
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/spacer",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "A flexible spacer component designed to create consistent spacing and maintain alignment in your layout.",
"keywords": [
"spacer"

View File

@ -1,5 +1,27 @@
# @nextui-org/spinner
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/spinner",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "Loaders express an unspecified wait time or display the length of a process.",
"keywords": [
"loading",

View File

@ -1,5 +1,27 @@
# @nextui-org/switch
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/switch",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "A switch is similar to a checkbox, but represents on/off values as opposed to selection.",
"keywords": [
"switch"

View File

@ -1,5 +1,33 @@
# @nextui-org/table
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230620154717
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/checkbox@0.0.0-dev-v2-20230620154717
- @nextui-org/spacer@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/shared-icons@0.0.0-dev-v2-20230620153822
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/checkbox@0.0.0-dev-v2-20230620153822
- @nextui-org/spacer@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/table",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "Tables are used to display tabular data using rows and columns. ",
"keywords": [
"table"

View File

@ -1,5 +1,33 @@
# @nextui-org/tabs
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230620154717
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/use-is-mounted@0.0.0-dev-v2-20230620154717
- @nextui-org/aria-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230620153822
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/use-is-mounted@0.0.0-dev-v2-20230620153822
- @nextui-org/aria-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/tabs",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "Tabs organize content into multiple sections and allow users to navigate between them.",
"keywords": [
"tabs"

View File

@ -41,11 +41,12 @@ const Tab = forwardRef<TabItemProps, "div">((props, ref) => {
classNames,
} = useTabsContext();
const {tabProps, isSelected, isDisabled: isDisabledItem, isPressed} = useTab(
{key},
state,
domRef,
);
const {
tabProps,
isSelected,
isDisabled: isDisabledItem,
isPressed,
} = useTab({key}, state, domRef);
const isDisabled = isDisabledProp || isDisabledItem;

View File

@ -1,5 +1,31 @@
# @nextui-org/tooltip
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230620154717
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/aria-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/framer-transitions@0.0.0-dev-v2-20230620153822
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/aria-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/tooltip",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "A React Component for rendering dynamically positioned Tooltips",
"keywords": [
"tooltip"

View File

@ -1,5 +1,29 @@
# @nextui-org/user
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/react-utils@0.0.0-dev-v2-20230620154717
- @nextui-org/avatar@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/shared-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/react-utils@0.0.0-dev-v2-20230620153822
- @nextui-org/avatar@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/user",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "Flexible User Profile Component.",
"keywords": [
"user"

View File

@ -1,5 +1,83 @@
# @nextui-org/react
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/pagination@0.0.0-dev-v2-20230620154717
- @nextui-org/accordion@0.0.0-dev-v2-20230620154717
- @nextui-org/checkbox@0.0.0-dev-v2-20230620154717
- @nextui-org/dropdown@0.0.0-dev-v2-20230620154717
- @nextui-org/progress@0.0.0-dev-v2-20230620154717
- @nextui-org/skeleton@0.0.0-dev-v2-20230620154717
- @nextui-org/divider@0.0.0-dev-v2-20230620154717
- @nextui-org/popover@0.0.0-dev-v2-20230620154717
- @nextui-org/snippet@0.0.0-dev-v2-20230620154717
- @nextui-org/spinner@0.0.0-dev-v2-20230620154717
- @nextui-org/tooltip@0.0.0-dev-v2-20230620154717
- @nextui-org/avatar@0.0.0-dev-v2-20230620154717
- @nextui-org/button@0.0.0-dev-v2-20230620154717
- @nextui-org/navbar@0.0.0-dev-v2-20230620154717
- @nextui-org/spacer@0.0.0-dev-v2-20230620154717
- @nextui-org/switch@0.0.0-dev-v2-20230620154717
- @nextui-org/badge@0.0.0-dev-v2-20230620154717
- @nextui-org/image@0.0.0-dev-v2-20230620154717
- @nextui-org/input@0.0.0-dev-v2-20230620154717
- @nextui-org/modal@0.0.0-dev-v2-20230620154717
- @nextui-org/radio@0.0.0-dev-v2-20230620154717
- @nextui-org/table@0.0.0-dev-v2-20230620154717
- @nextui-org/card@0.0.0-dev-v2-20230620154717
- @nextui-org/chip@0.0.0-dev-v2-20230620154717
- @nextui-org/code@0.0.0-dev-v2-20230620154717
- @nextui-org/drip@0.0.0-dev-v2-20230620154717
- @nextui-org/link@0.0.0-dev-v2-20230620154717
- @nextui-org/tabs@0.0.0-dev-v2-20230620154717
- @nextui-org/user@0.0.0-dev-v2-20230620154717
- @nextui-org/kbd@0.0.0-dev-v2-20230620154717
- @nextui-org/system@0.0.0-dev-v2-20230620154717
- @nextui-org/theme@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/pagination@0.0.0-dev-v2-20230620153822
- @nextui-org/accordion@0.0.0-dev-v2-20230620153822
- @nextui-org/checkbox@0.0.0-dev-v2-20230620153822
- @nextui-org/dropdown@0.0.0-dev-v2-20230620153822
- @nextui-org/progress@0.0.0-dev-v2-20230620153822
- @nextui-org/skeleton@0.0.0-dev-v2-20230620153822
- @nextui-org/divider@0.0.0-dev-v2-20230620153822
- @nextui-org/popover@0.0.0-dev-v2-20230620153822
- @nextui-org/snippet@0.0.0-dev-v2-20230620153822
- @nextui-org/spinner@0.0.0-dev-v2-20230620153822
- @nextui-org/tooltip@0.0.0-dev-v2-20230620153822
- @nextui-org/avatar@0.0.0-dev-v2-20230620153822
- @nextui-org/button@0.0.0-dev-v2-20230620153822
- @nextui-org/navbar@0.0.0-dev-v2-20230620153822
- @nextui-org/spacer@0.0.0-dev-v2-20230620153822
- @nextui-org/switch@0.0.0-dev-v2-20230620153822
- @nextui-org/badge@0.0.0-dev-v2-20230620153822
- @nextui-org/image@0.0.0-dev-v2-20230620153822
- @nextui-org/input@0.0.0-dev-v2-20230620153822
- @nextui-org/modal@0.0.0-dev-v2-20230620153822
- @nextui-org/radio@0.0.0-dev-v2-20230620153822
- @nextui-org/table@0.0.0-dev-v2-20230620153822
- @nextui-org/card@0.0.0-dev-v2-20230620153822
- @nextui-org/chip@0.0.0-dev-v2-20230620153822
- @nextui-org/code@0.0.0-dev-v2-20230620153822
- @nextui-org/drip@0.0.0-dev-v2-20230620153822
- @nextui-org/link@0.0.0-dev-v2-20230620153822
- @nextui-org/tabs@0.0.0-dev-v2-20230620153822
- @nextui-org/user@0.0.0-dev-v2-20230620153822
- @nextui-org/kbd@0.0.0-dev-v2-20230620153822
- @nextui-org/system@0.0.0-dev-v2-20230620153822
- @nextui-org/theme@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/react",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "🚀 Beautiful and modern React UI library.",
"author": "Junior Garcia <jrgarciadev@gmail.com>",
"homepage": "https://nextui.org",

View File

@ -1,5 +1,17 @@
# @nextui-org/system
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/system",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "NextUI system primitives",
"keywords": [
"system"

View File

@ -1,5 +1,17 @@
# @nextui-org/theme
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/theme",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "The default theme for NextUI components",
"keywords": [
"theme",

View File

@ -22,7 +22,7 @@ import {colorVariants} from "../utils";
*/
const pagination = tv({
slots: {
base: "flex flex-nowrap relative overflow-x-auto overflow-y-visible items-center gap-1 max-w-fit h-fit",
base: ["flex flex-nowrap overflow-x-scroll py-2.5 relative items-center gap-1 max-w-fit h-fit"],
item: [],
prev: "",
next: "",
@ -108,7 +108,7 @@ const pagination = tv({
showShadow: {
true: {},
},
hideCursor: {
disableCursorAnimation: {
true: {
cursor: "hidden",
},
@ -133,7 +133,7 @@ const pagination = tv({
isDisabled: false,
showShadow: false,
disableAnimation: false,
hideCursor: false,
disableCursorAnimation: false,
},
compoundVariants: [
// showShadow / color
@ -141,42 +141,42 @@ const pagination = tv({
showShadow: true,
color: "default",
class: {
cursor: colorVariants.shadow.default,
cursor: [colorVariants.shadow.default, "shadow-md"],
},
},
{
showShadow: true,
color: "primary",
class: {
cursor: colorVariants.shadow.primary,
cursor: [colorVariants.shadow.primary, "shadow-md"],
},
},
{
showShadow: true,
color: "secondary",
class: {
cursor: colorVariants.shadow.secondary,
cursor: [colorVariants.shadow.secondary, "shadow-md"],
},
},
{
showShadow: true,
color: "success",
class: {
cursor: colorVariants.shadow.success,
cursor: [colorVariants.shadow.success, "shadow-md"],
},
},
{
showShadow: true,
color: "warning",
class: {
cursor: colorVariants.shadow.warning,
cursor: [colorVariants.shadow.warning, "shadow-md"],
},
},
{
showShadow: true,
color: "danger",
class: {
cursor: colorVariants.shadow.danger,
cursor: [colorVariants.shadow.danger, "shadow-md"],
},
},
// isCompact / bordered
@ -189,13 +189,13 @@ const pagination = tv({
},
/**
* --------------------------------------------------------
* hideCursor
* disableCursorAnimation
* the classNames will be applied to the active item
* --------------------------------------------------------
*/
// hideCursor / color
// disableCursorAnimation / color
{
hideCursor: true,
disableCursorAnimation: true,
color: "default",
class: {
item: [
@ -206,7 +206,7 @@ const pagination = tv({
},
},
{
hideCursor: true,
disableCursorAnimation: true,
color: "primary",
class: {
item: [
@ -217,7 +217,7 @@ const pagination = tv({
},
},
{
hideCursor: true,
disableCursorAnimation: true,
color: "secondary",
class: {
item: [
@ -228,7 +228,7 @@ const pagination = tv({
},
},
{
hideCursor: true,
disableCursorAnimation: true,
color: "success",
class: {
item: [
@ -239,7 +239,7 @@ const pagination = tv({
},
},
{
hideCursor: true,
disableCursorAnimation: true,
color: "warning",
class: {
item: [
@ -250,7 +250,7 @@ const pagination = tv({
},
},
{
hideCursor: true,
disableCursorAnimation: true,
color: "danger",
class: {
item: [
@ -262,51 +262,51 @@ const pagination = tv({
},
// shadow / color
{
hideCursor: true,
disableCursorAnimation: true,
showShadow: true,
color: "default",
class: {
item: ["data-[active=true]:shadow-lg", "data-[active=true]:shadow-default/50"],
item: ["data-[active=true]:shadow-md", "data-[active=true]:shadow-default/50"],
},
},
{
hideCursor: true,
disableCursorAnimation: true,
showShadow: true,
color: "primary",
class: {
item: ["data-[active=true]:shadow-lg", "data-[active=true]:shadow-primary/40"],
item: ["data-[active=true]:shadow-md", "data-[active=true]:shadow-primary/40"],
},
},
{
hideCursor: true,
disableCursorAnimation: true,
showShadow: true,
color: "secondary",
class: {
item: ["data-[active=true]:shadow-lg", "data-[active=true]:shadow-secondary/40"],
item: ["data-[active=true]:shadow-md", "data-[active=true]:shadow-secondary/40"],
},
},
{
hideCursor: true,
disableCursorAnimation: true,
showShadow: true,
color: "success",
class: {
item: ["data-[active=true]:shadow-lg", "data-[active=true]:shadow-success/40"],
item: ["data-[active=true]:shadow-md", "data-[active=true]:shadow-success/40"],
},
},
{
hideCursor: true,
disableCursorAnimation: true,
showShadow: true,
color: "warning",
class: {
item: ["data-[active=true]:shadow-lg", "data-[active=true]:shadow-warning/40"],
item: ["data-[active=true]:shadow-md", "data-[active=true]:shadow-warning/40"],
},
},
{
hideCursor: true,
disableCursorAnimation: true,
showShadow: true,
color: "danger",
class: {
item: ["data-[active=true]:shadow-lg", "data-[active=true]:shadow-danger/40"],
item: ["data-[active=true]:shadow-md", "data-[active=true]:shadow-danger/40"],
},
},
],

View File

@ -1,5 +1,17 @@
# @nextui-org/use-aria-accordion-item
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-aria-accordion-item",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "Internal impl for react aria accordion item",
"keywords": [
"use-aria-accordion-item"

View File

@ -1,5 +1,17 @@
# @nextui-org/use-aria-button
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-aria-button",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "Internal hook to handle button a11y and events, this is based on react-aria button hook but without the onClick warning",
"keywords": [
"use-aria-button"

View File

@ -1,5 +1,23 @@
# @nextui-org/use-aria-field
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/use-aria-slot-id@0.0.0-dev-v2-20230620154717
- @nextui-org/use-aria-label@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/use-aria-slot-id@0.0.0-dev-v2-20230620153822
- @nextui-org/use-aria-label@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-aria-field",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "Based on react-aria useField hook, provides the accessibility implementation for input fields",
"keywords": [
"use-aria-field"

View File

@ -1,5 +1,17 @@
# @nextui-org/use-aria-label
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-aria-label",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "Based on react-aria label hook, it provides the accessibility implementation for labels and their associated elements. Labels provide context for user inputs.",
"keywords": [
"use-aria-label"

View File

@ -1,5 +1,17 @@
# @nextui-org/use-aria-modal-overlay
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-aria-modal-overlay",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "A custom implementation of react aria modal overlay, this removes the prevent scroll",
"keywords": [
"use-aria-modal-overlay"

View File

@ -1,5 +1,17 @@
# @nextui-org/use-aria-slot-id
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-aria-slot-id",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "Based on react-aria useSlotId, used to generate an id, and after render check if that id is rendered",
"keywords": [
"use-aria-slot-id"

View File

@ -1,5 +1,21 @@
# @nextui-org/use-aria-toggle-button
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/use-aria-button@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-aria-toggle-button",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "Internal hook to handle button a11y and events, this is based on react-aria button hook but without the onClick warning",
"keywords": [
"use-aria-toggle-button"

View File

@ -1,5 +1,21 @@
# @nextui-org/use-callback-ref
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/use-safe-layout-effect@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/use-safe-layout-effect@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-callback-ref",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "React hook to persist any value between renders, but keeps it up-to-date if it changes.",
"keywords": [
"use-callback-ref"

View File

@ -1,5 +1,17 @@
# @nextui-org/use-clipboard
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-clipboard",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "Wrapper around navigator.clipboard with feedback timeout",
"keywords": [
"use-clipboard"

View File

@ -1,5 +1,21 @@
# @nextui-org/use-disclosure
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/use-callback-ref@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/use-callback-ref@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-disclosure",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "The hook in charge of managing modals",
"keywords": [
"use-disclosure"

View File

@ -1,5 +1,21 @@
# @nextui-org/use-image
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
- Updated dependencies
- @nextui-org/use-safe-layout-effect@0.0.0-dev-v2-20230620154717
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
- Updated dependencies
- @nextui-org/use-safe-layout-effect@0.0.0-dev-v2-20230620153822
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-image",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "React hook for progressing image loading",
"keywords": [
"use-image"

View File

@ -1,5 +1,17 @@
# @nextui-org/use-infinite-scroll
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-infinite-scroll",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "A hook for handling infinity scroll based on the IntersectionObserver API",
"keywords": [
"use-infinite-scroll"

View File

@ -1,5 +1,17 @@
# @nextui-org/use-is-mobile
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
## 0.0.0-dev-v2-20230620142942
### Patch Changes

View File

@ -1,6 +1,6 @@
{
"name": "@nextui-org/use-is-mobile",
"version": "0.0.0-dev-v2-20230620142942",
"version": "0.0.0-dev-v2-20230620154717",
"description": "A hook that returns whether the device is mobile or not",
"keywords": [
"use-is-mobile"

View File

@ -1,5 +1,17 @@
# @nextui-org/use-is-mounted
## 0.0.0-dev-v2-20230620154717
### Patch Changes
- Pagination build version
## 0.0.0-dev-v2-20230620153822
### Patch Changes
- Pagination automatic scroll added
## 0.0.0-dev-v2-20230620142942
### Patch Changes

Some files were not shown because too many files have changed in this diff Show More