@akinon/ui-breadcrumb 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":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAsB,eAAe,EAAE,MAAM,SAAS,CAAC;AAEnE;;;;;;;;GAQG;AAEH,eAAO,MAAM,UAAU,UAAW,eAAe,sBAiGhD,CAAC;AAEF,mBAAmB,SAAS,CAAC"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -27,7 +27,7 @@ const Breadcrumb = (props) => {
|
|
|
27
27
|
}, () => {
|
|
28
28
|
const prefixCls = `:where(.${hashId}).${getPrefixCls()}-breadcrumb`;
|
|
29
29
|
const prefixClsWithoutHash = `.${getPrefixCls()}-breadcrumb`;
|
|
30
|
-
const customTokens = theme
|
|
30
|
+
const customTokens = (0, ui_theme_1.getSafeCustomTokens)(theme);
|
|
31
31
|
return {
|
|
32
32
|
[prefixCls]: {
|
|
33
33
|
paddingBottom: breadcrumbToken.paddingBottom,
|
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":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAsB,eAAe,EAAE,MAAM,SAAS,CAAC;AAEnE;;;;;;;;GAQG;AAEH,eAAO,MAAM,UAAU,UAAW,eAAe,sBAiGhD,CAAC;AAEF,mBAAmB,SAAS,CAAC"}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useToken } from '@akinon/ui-theme';
|
|
1
|
+
import { getSafeCustomTokens, useToken } from '@akinon/ui-theme';
|
|
2
2
|
import { useStyleRegister } from '@ant-design/cssinjs';
|
|
3
3
|
import { Breadcrumb as AntBreadcrumb, ConfigProvider } from 'antd';
|
|
4
4
|
import * as React from 'react';
|
|
@@ -24,7 +24,7 @@ export const Breadcrumb = (props) => {
|
|
|
24
24
|
}, () => {
|
|
25
25
|
const prefixCls = `:where(.${hashId}).${getPrefixCls()}-breadcrumb`;
|
|
26
26
|
const prefixClsWithoutHash = `.${getPrefixCls()}-breadcrumb`;
|
|
27
|
-
const customTokens = theme
|
|
27
|
+
const customTokens = getSafeCustomTokens(theme);
|
|
28
28
|
return {
|
|
29
29
|
[prefixCls]: {
|
|
30
30
|
paddingBottom: breadcrumbToken.paddingBottom,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@akinon/ui-breadcrumb",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A basic button react component.",
|
|
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",
|