@akinon/ui-pagination 1.2.0 → 1.2.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.
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -2
- package/package.json +2 -2
package/dist/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;;;;;;;;;;;GAeG;AAEH,eAAO,MAAM,UAAU,+BAAgC,gBAAgB,sBAuXtE,CAAC;AAEF,YAAY,EAAE,gBAAgB,EAAE,CAAC"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -90,7 +90,7 @@ const Pagination = (_a) => {
|
|
|
90
90
|
theme: theme
|
|
91
91
|
}, () => {
|
|
92
92
|
const prefixCls = `:where(.${hashId}).${getPrefixCls()}-pagination`;
|
|
93
|
-
const customTokens = theme
|
|
93
|
+
const customTokens = (0, ui_theme_1.getSafeCustomTokens)(theme);
|
|
94
94
|
return {
|
|
95
95
|
[prefixCls]: {
|
|
96
96
|
'*': {
|
package/dist/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C;;;;;;;;;;;;;;;GAeG;AAEH,eAAO,MAAM,UAAU,+BAAgC,gBAAgB,sBAuXtE,CAAC;AAEF,YAAY,EAAE,gBAAgB,EAAE,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -9,7 +9,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
9
9
|
}
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
|
-
import { useToken } from '@akinon/ui-theme';
|
|
12
|
+
import { getSafeCustomTokens, useToken } from '@akinon/ui-theme';
|
|
13
13
|
import { useStyleRegister } from '@ant-design/cssinjs';
|
|
14
14
|
import { ConfigProvider, Pagination as AntPagination } from 'antd';
|
|
15
15
|
import * as React from 'react';
|
|
@@ -87,7 +87,7 @@ export const Pagination = (_a) => {
|
|
|
87
87
|
theme: theme
|
|
88
88
|
}, () => {
|
|
89
89
|
const prefixCls = `:where(.${hashId}).${getPrefixCls()}-pagination`;
|
|
90
|
-
const customTokens = theme
|
|
90
|
+
const customTokens = getSafeCustomTokens(theme);
|
|
91
91
|
return {
|
|
92
92
|
[prefixCls]: {
|
|
93
93
|
'*': {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akinon/ui-pagination",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Pagination component for Akinon UI",
|
|
6
6
|
"type": "module",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
],
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"antd": "5.22.6",
|
|
14
|
-
"@akinon/ui-theme": "1.0.
|
|
14
|
+
"@akinon/ui-theme": "1.0.2"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"clean-package": "2.2.0",
|