@ctlyst.id/internal-ui 1.0.4-canary.6 → 1.0.4-canary.7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/breadcrumb/index.d.ts +2 -2
- package/dist/internal-ui.cjs.development.js +6 -6
- package/dist/internal-ui.cjs.development.js.map +1 -1
- package/dist/internal-ui.cjs.production.min.js +1 -1
- package/dist/internal-ui.cjs.production.min.js.map +1 -1
- package/dist/internal-ui.esm.js +6 -6
- package/dist/internal-ui.esm.js.map +1 -1
- package/package.json +2 -2
- /package/dist/components/breadcrumb/components/{BreadCrumb.d.ts → bread-crumb.d.ts} +0 -0
@@ -1,2 +1,2 @@
|
|
1
|
-
export { default as BreadCrumb } from './components/
|
2
|
-
export * from './components/
|
1
|
+
export { default as BreadCrumb } from './components/bread-crumb';
|
2
|
+
export * from './components/bread-crumb';
|
@@ -35,7 +35,7 @@ const BreadCrumb = props => {
|
|
35
35
|
disableHome,
|
36
36
|
spacing = 2
|
37
37
|
} = props;
|
38
|
-
const [
|
38
|
+
const [neutral6, dark5] = react.useToken('colors', ['neutral.600', 'dark.500']);
|
39
39
|
return /*#__PURE__*/React.createElement(react.Box, {
|
40
40
|
"data-test-id": "CT_component_breadcrumb_breadcrumb",
|
41
41
|
className: className,
|
@@ -48,16 +48,16 @@ const BreadCrumb = props => {
|
|
48
48
|
alignItems: "center"
|
49
49
|
}, /*#__PURE__*/React.createElement(react.Text, {
|
50
50
|
pr: 2,
|
51
|
-
fontWeight:
|
52
|
-
textStyle: "heading.
|
51
|
+
fontWeight: 600,
|
52
|
+
textStyle: "heading.4",
|
53
53
|
color: react.useColorModeValue('neutral.700', 'white')
|
54
54
|
}, title), /*#__PURE__*/React.createElement(react.Box, {
|
55
55
|
h: "22px",
|
56
56
|
borderLeft: "1px solid",
|
57
|
-
borderColor: react.useColorModeValue(
|
57
|
+
borderColor: react.useColorModeValue(neutral6, 'white')
|
58
58
|
}), /*#__PURE__*/React.createElement(react.Breadcrumb, {
|
59
59
|
separator: /*#__PURE__*/React.createElement(fi.FiChevronsRight, {
|
60
|
-
color: react.useColorModeValue(
|
60
|
+
color: react.useColorModeValue(neutral6, dark5),
|
61
61
|
size: 14
|
62
62
|
}),
|
63
63
|
pl: 2.5,
|
@@ -107,7 +107,7 @@ const BreadCrumb = props => {
|
|
107
107
|
cursor: 'default'
|
108
108
|
}
|
109
109
|
}, /*#__PURE__*/React.createElement(react.Text, {
|
110
|
-
color: react.useColorModeValue(
|
110
|
+
color: react.useColorModeValue(neutral6, 'white'),
|
111
111
|
fontSize: "text.sm",
|
112
112
|
fontWeight: 400
|
113
113
|
}, title))))), children && /*#__PURE__*/React.createElement(react.Box, null, children));
|