@yamada-ui/pagination 0.3.0 → 0.4.1

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.
@@ -1,3 +1,5 @@
1
+ "use client"
2
+
1
3
  // src/pagination-icon.tsx
2
4
  import { Icon } from "@yamada-ui/icon";
3
5
  import { jsx } from "react/jsx-runtime";
@@ -1,3 +1,5 @@
1
+ "use client"
2
+
1
3
  // src/use-pagination.ts
2
4
  import { useControllableState } from "@yamada-ui/use-controllable-state";
3
5
  import { useValue } from "@yamada-ui/use-value";
@@ -1,10 +1,11 @@
1
+ "use client"
1
2
  import {
2
3
  PaginationItem
3
- } from "./chunk-SGJ63NEB.mjs";
4
+ } from "./chunk-YHCPL4SM.mjs";
4
5
  import {
5
6
  PaginationProvider,
6
7
  usePagination
7
- } from "./chunk-QYITLVQJ.mjs";
8
+ } from "./chunk-5ILRVOTK.mjs";
8
9
 
9
10
  // src/pagination.tsx
10
11
  import {
@@ -1,13 +1,14 @@
1
+ "use client"
1
2
  import {
2
3
  DotsIcon,
3
4
  FirstIcon,
4
5
  LastIcon,
5
6
  NextIcon,
6
7
  PrevIcon
7
- } from "./chunk-IXTXZCRI.mjs";
8
+ } from "./chunk-2P67WSOL.mjs";
8
9
  import {
9
10
  usePaginationContext
10
- } from "./chunk-QYITLVQJ.mjs";
11
+ } from "./chunk-5ILRVOTK.mjs";
11
12
 
12
13
  // src/pagination-item.tsx
13
14
  import { ui } from "@yamada-ui/core";
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ "use client"
1
2
  "use strict";
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
package/dist/index.mjs CHANGED
@@ -1,11 +1,12 @@
1
+ "use client"
1
2
  import {
2
3
  Pagination
3
- } from "./chunk-GV5MILNQ.mjs";
4
- import "./chunk-SGJ63NEB.mjs";
5
- import "./chunk-IXTXZCRI.mjs";
4
+ } from "./chunk-YH7A5X2I.mjs";
5
+ import "./chunk-YHCPL4SM.mjs";
6
+ import "./chunk-2P67WSOL.mjs";
6
7
  import {
7
8
  usePagination
8
- } from "./chunk-QYITLVQJ.mjs";
9
+ } from "./chunk-5ILRVOTK.mjs";
9
10
  export {
10
11
  Pagination,
11
12
  usePagination
@@ -1,3 +1,4 @@
1
+ "use client"
1
2
  "use strict";
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1,10 +1,11 @@
1
+ "use client"
1
2
  import {
2
3
  DotsIcon,
3
4
  FirstIcon,
4
5
  LastIcon,
5
6
  NextIcon,
6
7
  PrevIcon
7
- } from "./chunk-IXTXZCRI.mjs";
8
+ } from "./chunk-2P67WSOL.mjs";
8
9
  export {
9
10
  DotsIcon,
10
11
  FirstIcon,
@@ -1,3 +1,4 @@
1
+ "use client"
1
2
  "use strict";
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1,8 +1,9 @@
1
+ "use client"
1
2
  import {
2
3
  PaginationItem
3
- } from "./chunk-SGJ63NEB.mjs";
4
- import "./chunk-IXTXZCRI.mjs";
5
- import "./chunk-QYITLVQJ.mjs";
4
+ } from "./chunk-YHCPL4SM.mjs";
5
+ import "./chunk-2P67WSOL.mjs";
6
+ import "./chunk-5ILRVOTK.mjs";
6
7
  export {
7
8
  PaginationItem
8
9
  };
@@ -1,3 +1,4 @@
1
+ "use client"
1
2
  "use strict";
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1,9 +1,10 @@
1
+ "use client"
1
2
  import {
2
3
  Pagination
3
- } from "./chunk-GV5MILNQ.mjs";
4
- import "./chunk-SGJ63NEB.mjs";
5
- import "./chunk-IXTXZCRI.mjs";
6
- import "./chunk-QYITLVQJ.mjs";
4
+ } from "./chunk-YH7A5X2I.mjs";
5
+ import "./chunk-YHCPL4SM.mjs";
6
+ import "./chunk-2P67WSOL.mjs";
7
+ import "./chunk-5ILRVOTK.mjs";
7
8
  export {
8
9
  Pagination
9
10
  };
@@ -1,3 +1,4 @@
1
+ "use client"
1
2
  "use strict";
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -1,9 +1,10 @@
1
+ "use client"
1
2
  import {
2
3
  PaginationProvider,
3
4
  computedRange,
4
5
  usePagination,
5
6
  usePaginationContext
6
- } from "./chunk-QYITLVQJ.mjs";
7
+ } from "./chunk-5ILRVOTK.mjs";
7
8
  export {
8
9
  PaginationProvider,
9
10
  computedRange,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/pagination",
3
- "version": "0.3.0",
3
+ "version": "0.4.1",
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.8.0",
39
- "@yamada-ui/utils": "0.2.0",
40
- "@yamada-ui/icon": "0.2.17",
41
- "@yamada-ui/use-controllable-state": "0.1.7",
42
- "@yamada-ui/use-value": "0.1.29"
38
+ "@yamada-ui/core": "0.9.1",
39
+ "@yamada-ui/utils": "0.2.1",
40
+ "@yamada-ui/icon": "0.3.1",
41
+ "@yamada-ui/use-controllable-state": "0.2.1",
42
+ "@yamada-ui/use-value": "0.2.1"
43
43
  },
44
44
  "devDependencies": {
45
45
  "react": "^18.0.0",
@@ -55,7 +55,10 @@
55
55
  "format": [
56
56
  "cjs",
57
57
  "esm"
58
- ]
58
+ ],
59
+ "banner": {
60
+ "js": "\"use client\""
61
+ }
59
62
  },
60
63
  "module": "dist/index.mjs",
61
64
  "types": "dist/index.d.ts",