@akinon/ui-steps 1.0.1 → 1.0.2
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 +3 -3
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":"AAgBA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC;;;;;;;;;;;;;;;GAeG;AAEH,eAAO,MAAM,KAAK,4CAIf,UAAU,sBA+VZ,CAAC;AAEF,YAAY,EAAE,UAAU,EAAE,CAAC"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -43,7 +43,7 @@ const Steps = (_a) => {
|
|
|
43
43
|
const prefixClsWithoutHash = `.${prefixWithoutHash}`;
|
|
44
44
|
const prefixCls = `:where(.${hashId})${prefixClsWithoutHash}`;
|
|
45
45
|
const stepsClassName = `${prefixWithoutHash} ${manyItems ? 'many-items' : ''}`;
|
|
46
|
-
const customTokens = theme
|
|
46
|
+
const customTokens = (0, ui_theme_1.getSafeCustomTokens)(theme);
|
|
47
47
|
const useStyle = (0, cssinjs_1.useStyleRegister)({
|
|
48
48
|
token: token,
|
|
49
49
|
path: ['Steps'],
|
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":"AAgBA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAErC;;;;;;;;;;;;;;;GAeG;AAEH,eAAO,MAAM,KAAK,4CAIf,UAAU,sBA+VZ,CAAC;AAEF,YAAY,EAAE,UAAU,EAAE,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -10,7 +10,7 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
12
|
import { Icon } from '@akinon/icons';
|
|
13
|
-
import { useToken } from '@akinon/ui-theme';
|
|
13
|
+
import { getSafeCustomTokens, useToken } from '@akinon/ui-theme';
|
|
14
14
|
import { useStyleRegister } from '@ant-design/cssinjs';
|
|
15
15
|
import { ConfigProvider, Steps as AntSteps } from 'antd';
|
|
16
16
|
import * as React from 'react';
|
|
@@ -40,7 +40,7 @@ export const Steps = (_a) => {
|
|
|
40
40
|
const prefixClsWithoutHash = `.${prefixWithoutHash}`;
|
|
41
41
|
const prefixCls = `:where(.${hashId})${prefixClsWithoutHash}`;
|
|
42
42
|
const stepsClassName = `${prefixWithoutHash} ${manyItems ? 'many-items' : ''}`;
|
|
43
|
-
const customTokens = theme
|
|
43
|
+
const customTokens = getSafeCustomTokens(theme);
|
|
44
44
|
const useStyle = useStyleRegister({
|
|
45
45
|
token: token,
|
|
46
46
|
path: ['Steps'],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akinon/ui-steps",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
],
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"antd": "5.22.6",
|
|
13
|
-
"@akinon/
|
|
14
|
-
"@akinon/
|
|
13
|
+
"@akinon/icons": "1.0.1",
|
|
14
|
+
"@akinon/ui-theme": "1.0.2"
|
|
15
15
|
},
|
|
16
16
|
"devDependencies": {
|
|
17
17
|
"clean-package": "2.2.0",
|