@yamada-ui/pagination 0.4.14 → 0.4.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-YH7A5X2I.mjs → chunk-FTX5ORQ7.mjs} +5 -5
- package/dist/{chunk-YHCPL4SM.mjs → chunk-VBISAUAV.mjs} +1 -1
- package/dist/index.js +5 -5
- package/dist/index.mjs +2 -2
- package/dist/pagination-item.js +1 -1
- package/dist/pagination-item.mjs +1 -1
- package/dist/pagination.js +5 -5
- package/dist/pagination.mjs +2 -2
- package/package.json +6 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client"
|
|
2
2
|
import {
|
|
3
3
|
PaginationItem
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VBISAUAV.mjs";
|
|
5
5
|
import {
|
|
6
6
|
PaginationProvider,
|
|
7
7
|
usePagination
|
|
@@ -92,7 +92,7 @@ var Pagination = forwardRef((props, ref) => {
|
|
|
92
92
|
Component,
|
|
93
93
|
{
|
|
94
94
|
page: "first",
|
|
95
|
-
className: "ui-
|
|
95
|
+
className: "ui-pagination__item--first",
|
|
96
96
|
isDisabled: isDisabled || currentPage === 1,
|
|
97
97
|
...edgeProps,
|
|
98
98
|
...edgeFirstProps,
|
|
@@ -107,7 +107,7 @@ var Pagination = forwardRef((props, ref) => {
|
|
|
107
107
|
Component,
|
|
108
108
|
{
|
|
109
109
|
page: "prev",
|
|
110
|
-
className: "ui-
|
|
110
|
+
className: "ui-pagination__item--prev",
|
|
111
111
|
isDisabled: isDisabled || currentPage === 1,
|
|
112
112
|
...controlProps,
|
|
113
113
|
...controlPrevProps,
|
|
@@ -136,7 +136,7 @@ var Pagination = forwardRef((props, ref) => {
|
|
|
136
136
|
Component,
|
|
137
137
|
{
|
|
138
138
|
page: "next",
|
|
139
|
-
className: "ui-
|
|
139
|
+
className: "ui-pagination__item--next",
|
|
140
140
|
isDisabled: isDisabled || currentPage === total,
|
|
141
141
|
...controlProps,
|
|
142
142
|
...controlNextProps,
|
|
@@ -151,7 +151,7 @@ var Pagination = forwardRef((props, ref) => {
|
|
|
151
151
|
Component,
|
|
152
152
|
{
|
|
153
153
|
page: "last",
|
|
154
|
-
className: "ui-
|
|
154
|
+
className: "ui-pagination__item--last",
|
|
155
155
|
isDisabled: isDisabled || currentPage === total,
|
|
156
156
|
...edgeProps,
|
|
157
157
|
...edgeLastProps,
|
package/dist/index.js
CHANGED
|
@@ -209,7 +209,7 @@ var PaginationItem = ({
|
|
|
209
209
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
210
210
|
import_core.ui.button,
|
|
211
211
|
{
|
|
212
|
-
className: (0, import_utils2.cx)("ui-
|
|
212
|
+
className: (0, import_utils2.cx)("ui-pagination__item", className),
|
|
213
213
|
type: "button",
|
|
214
214
|
tabIndex: page !== "dots" ? 0 : -1,
|
|
215
215
|
disabled: isDisabled,
|
|
@@ -298,7 +298,7 @@ var Pagination = (0, import_core2.forwardRef)((props, ref) => {
|
|
|
298
298
|
Component,
|
|
299
299
|
{
|
|
300
300
|
page: "first",
|
|
301
|
-
className: "ui-
|
|
301
|
+
className: "ui-pagination__item--first",
|
|
302
302
|
isDisabled: isDisabled || currentPage === 1,
|
|
303
303
|
...edgeProps,
|
|
304
304
|
...edgeFirstProps,
|
|
@@ -313,7 +313,7 @@ var Pagination = (0, import_core2.forwardRef)((props, ref) => {
|
|
|
313
313
|
Component,
|
|
314
314
|
{
|
|
315
315
|
page: "prev",
|
|
316
|
-
className: "ui-
|
|
316
|
+
className: "ui-pagination__item--prev",
|
|
317
317
|
isDisabled: isDisabled || currentPage === 1,
|
|
318
318
|
...controlProps,
|
|
319
319
|
...controlPrevProps,
|
|
@@ -342,7 +342,7 @@ var Pagination = (0, import_core2.forwardRef)((props, ref) => {
|
|
|
342
342
|
Component,
|
|
343
343
|
{
|
|
344
344
|
page: "next",
|
|
345
|
-
className: "ui-
|
|
345
|
+
className: "ui-pagination__item--next",
|
|
346
346
|
isDisabled: isDisabled || currentPage === total,
|
|
347
347
|
...controlProps,
|
|
348
348
|
...controlNextProps,
|
|
@@ -357,7 +357,7 @@ var Pagination = (0, import_core2.forwardRef)((props, ref) => {
|
|
|
357
357
|
Component,
|
|
358
358
|
{
|
|
359
359
|
page: "last",
|
|
360
|
-
className: "ui-
|
|
360
|
+
className: "ui-pagination__item--last",
|
|
361
361
|
isDisabled: isDisabled || currentPage === total,
|
|
362
362
|
...edgeProps,
|
|
363
363
|
...edgeLastProps,
|
package/dist/index.mjs
CHANGED
package/dist/pagination-item.js
CHANGED
|
@@ -116,7 +116,7 @@ var PaginationItem = ({
|
|
|
116
116
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
117
117
|
import_core.ui.button,
|
|
118
118
|
{
|
|
119
|
-
className: (0, import_utils2.cx)("ui-
|
|
119
|
+
className: (0, import_utils2.cx)("ui-pagination__item", className),
|
|
120
120
|
type: "button",
|
|
121
121
|
tabIndex: page !== "dots" ? 0 : -1,
|
|
122
122
|
disabled: isDisabled,
|
package/dist/pagination-item.mjs
CHANGED
package/dist/pagination.js
CHANGED
|
@@ -206,7 +206,7 @@ var PaginationItem = ({
|
|
|
206
206
|
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
207
207
|
import_core.ui.button,
|
|
208
208
|
{
|
|
209
|
-
className: (0, import_utils2.cx)("ui-
|
|
209
|
+
className: (0, import_utils2.cx)("ui-pagination__item", className),
|
|
210
210
|
type: "button",
|
|
211
211
|
tabIndex: page !== "dots" ? 0 : -1,
|
|
212
212
|
disabled: isDisabled,
|
|
@@ -295,7 +295,7 @@ var Pagination = (0, import_core2.forwardRef)((props, ref) => {
|
|
|
295
295
|
Component,
|
|
296
296
|
{
|
|
297
297
|
page: "first",
|
|
298
|
-
className: "ui-
|
|
298
|
+
className: "ui-pagination__item--first",
|
|
299
299
|
isDisabled: isDisabled || currentPage === 1,
|
|
300
300
|
...edgeProps,
|
|
301
301
|
...edgeFirstProps,
|
|
@@ -310,7 +310,7 @@ var Pagination = (0, import_core2.forwardRef)((props, ref) => {
|
|
|
310
310
|
Component,
|
|
311
311
|
{
|
|
312
312
|
page: "prev",
|
|
313
|
-
className: "ui-
|
|
313
|
+
className: "ui-pagination__item--prev",
|
|
314
314
|
isDisabled: isDisabled || currentPage === 1,
|
|
315
315
|
...controlProps,
|
|
316
316
|
...controlPrevProps,
|
|
@@ -339,7 +339,7 @@ var Pagination = (0, import_core2.forwardRef)((props, ref) => {
|
|
|
339
339
|
Component,
|
|
340
340
|
{
|
|
341
341
|
page: "next",
|
|
342
|
-
className: "ui-
|
|
342
|
+
className: "ui-pagination__item--next",
|
|
343
343
|
isDisabled: isDisabled || currentPage === total,
|
|
344
344
|
...controlProps,
|
|
345
345
|
...controlNextProps,
|
|
@@ -354,7 +354,7 @@ var Pagination = (0, import_core2.forwardRef)((props, ref) => {
|
|
|
354
354
|
Component,
|
|
355
355
|
{
|
|
356
356
|
page: "last",
|
|
357
|
-
className: "ui-
|
|
357
|
+
className: "ui-pagination__item--last",
|
|
358
358
|
isDisabled: isDisabled || currentPage === total,
|
|
359
359
|
...edgeProps,
|
|
360
360
|
...edgeLastProps,
|
package/dist/pagination.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yamada-ui/pagination",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.16",
|
|
4
4
|
"description": "Yamada UI pagination component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"yamada",
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
"url": "https://github.com/hirotomoyamada/yamada-ui/issues"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@yamada-ui/core": "0.12.
|
|
39
|
-
"@yamada-ui/utils": "0.3.
|
|
40
|
-
"@yamada-ui/icon": "0.3.
|
|
41
|
-
"@yamada-ui/use-controllable-state": "0.
|
|
42
|
-
"@yamada-ui/use-value": "0.2.
|
|
38
|
+
"@yamada-ui/core": "0.12.5",
|
|
39
|
+
"@yamada-ui/utils": "0.3.3",
|
|
40
|
+
"@yamada-ui/icon": "0.3.15",
|
|
41
|
+
"@yamada-ui/use-controllable-state": "0.3.0",
|
|
42
|
+
"@yamada-ui/use-value": "0.2.15"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"react": "^18.0.0",
|