@itcase/ui 1.8.23 → 1.8.24
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/{Button_cjs_MfWRETXI.js → Button_cjs_CYUpbdMO.js} +133 -52
- package/dist/{Button_es_zW2pQTwL.js → Button_es_Dp6yFZgn.js} +133 -52
- package/dist/{DatePicker_cjs_uDJmwWkk.js → DatePicker_cjs_DamcZFbX.js} +2 -2
- package/dist/{DatePicker_es_5r0isX1_.js → DatePicker_es_Bm_onmmb.js} +2 -2
- package/dist/{Divider_cjs_DzFVtGkF.js → Divider_cjs_DhqcldLH.js} +6 -2
- package/dist/{Divider_es_BdU9qjKa.js → Divider_es_BEYLRagS.js} +6 -2
- package/dist/{DropdownItem_cjs_C6Jx7-kx.js → DropdownItem_cjs_B_7anyaJ.js} +1 -1
- package/dist/{DropdownItem_es_UdkGGVtg.js → DropdownItem_es_B4EZYdJA.js} +1 -1
- package/dist/{Label_cjs_jN0dxo1q.js → Label_cjs_ByGAWJcj.js} +168 -28
- package/dist/{Label_es_CFQzN-2m.js → Label_es_BtwZ3a2V.js} +168 -28
- package/dist/{Loader_cjs_3VRzFLI2.js → Loader_cjs___VikiqS.js} +36 -1
- package/dist/{Loader_es_DEYowVdU.js → Loader_es_DHKB6tTw.js} +36 -1
- package/dist/cjs/components/Accordion.js +1 -1
- package/dist/cjs/components/Breadcrumbs/stories/__mock__.js +45 -0
- package/dist/cjs/components/Breadcrumbs.js +46 -57
- package/dist/cjs/components/Button.js +2 -2
- package/dist/cjs/components/Cell.js +1 -1
- package/dist/cjs/components/Choice.js +1 -1
- package/dist/cjs/components/CookiesWarning.js +2 -2
- package/dist/cjs/components/DatePeriod.js +4 -4
- package/dist/cjs/components/DatePicker.js +4 -4
- package/dist/cjs/components/Divider.js +1 -1
- package/dist/cjs/components/Dropdown.js +2 -2
- package/dist/cjs/components/Label.js +1 -1
- package/dist/cjs/components/Loader.js +1 -1
- package/dist/cjs/components/Modal.js +1 -1
- package/dist/cjs/components/Pagination.js +2 -2
- package/dist/cjs/components/Response.js +27 -36
- package/dist/cjs/components/Select.js +1 -1
- package/dist/cjs/components/Tab/stories/__mock__.js +14 -0
- package/dist/cjs/components/Tab.js +133 -39
- package/dist/components/Accordion.js +1 -1
- package/dist/components/Breadcrumbs/stories/__mock__.js +43 -0
- package/dist/components/Breadcrumbs.js +46 -57
- package/dist/components/Button.js +2 -2
- package/dist/components/Cell.js +1 -1
- package/dist/components/Choice.js +1 -1
- package/dist/components/CookiesWarning.js +2 -2
- package/dist/components/DatePeriod.js +4 -4
- package/dist/components/DatePicker.js +4 -4
- package/dist/components/Divider.js +1 -1
- package/dist/components/Dropdown.js +2 -2
- package/dist/components/Label.js +1 -1
- package/dist/components/Loader.js +1 -1
- package/dist/components/Modal.js +1 -1
- package/dist/components/Pagination.js +2 -2
- package/dist/components/Response.js +27 -36
- package/dist/components/Select.js +1 -1
- package/dist/components/Tab/stories/__mock__.js +12 -0
- package/dist/components/Tab.js +134 -40
- package/dist/css/components/Breadcrumbs/Breadcrumbs.css +22 -0
- package/dist/css/components/Button/Button.css +4 -4
- package/dist/css/components/Label/Label.css +10 -9
- package/dist/css/components/Loader/Loader.css +21 -2
- package/dist/stories/Plsyground.mdx +1 -3
- package/dist/types/components/Breadcrumbs/Breadcrumbs.d.ts +2 -3
- package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSize.d.ts +28 -35
- package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSurface.d.ts +4 -3
- package/dist/types/components/Breadcrumbs/stories/__mock__/index.d.ts +10 -0
- package/dist/types/components/Button/appearance/buttonAccent.d.ts +7 -6
- package/dist/types/components/Button/appearance/buttonDanger.d.ts +8 -4
- package/dist/types/components/Button/appearance/buttonError.d.ts +14 -2
- package/dist/types/components/Button/appearance/buttonInfo.d.ts +19 -4
- package/dist/types/components/Button/appearance/buttonPrimary.d.ts +13 -0
- package/dist/types/components/Button/appearance/buttonSecondary.d.ts +13 -0
- package/dist/types/components/Button/appearance/buttonSize.d.ts +7 -0
- package/dist/types/components/Button/appearance/buttonStyle.d.ts +0 -2
- package/dist/types/components/Button/appearance/buttonSuccess.d.ts +14 -2
- package/dist/types/components/Button/appearance/buttonSurface.d.ts +11 -8
- package/dist/types/components/Button/appearance/buttonWarning.d.ts +8 -4
- package/dist/types/components/Label/appearance/labelAccent.d.ts +10 -1
- package/dist/types/components/Label/appearance/labelDanger.d.ts +20 -0
- package/dist/types/components/Label/appearance/labelDisable.d.ts +19 -0
- package/dist/types/components/Label/appearance/labelError.d.ts +13 -2
- package/dist/types/components/Label/appearance/labelInfo.d.ts +14 -2
- package/dist/types/components/Label/appearance/labelPrimary.d.ts +19 -0
- package/dist/types/components/Label/appearance/labelSecondary.d.ts +19 -0
- package/dist/types/components/Label/appearance/labelStyle.d.ts +0 -2
- package/dist/types/components/Label/appearance/labelSuccess.d.ts +11 -0
- package/dist/types/components/Label/appearance/labelSurface.d.ts +14 -3
- package/dist/types/components/Label/appearance/labelWarning.d.ts +11 -0
- package/dist/types/components/Loader/appearance/loaderDanger.d.ts +7 -0
- package/dist/types/components/Loader/appearance/loaderError.d.ts +7 -0
- package/dist/types/components/Loader/appearance/loaderInfo.d.ts +7 -0
- package/dist/types/components/Loader/appearance/loaderSuccess.d.ts +7 -0
- package/dist/types/components/Loader/appearance/loaderWarning.d.ts +7 -0
- package/dist/types/components/Response/appearance/responceConfirm.d.ts +2 -3
- package/dist/types/components/Response/appearance/responceFail.d.ts +2 -3
- package/dist/types/components/Response/appearance/responceNothingFound.d.ts +2 -3
- package/dist/types/components/Response/appearance/responceRefresh.d.ts +2 -3
- package/dist/types/components/Response/appearance/responseError.d.ts +2 -3
- package/dist/types/components/Response/appearance/responseSuccess.d.ts +2 -3
- package/dist/types/components/Response/appearance/responseUnableLoadData.d.ts +2 -3
- package/dist/types/components/Response/appearance/responseWarning.d.ts +2 -3
- package/dist/types/components/Tab/appearance/tabError.d.ts +13 -0
- package/dist/types/components/Tab/appearance/tabSize.d.ts +41 -0
- package/dist/types/components/Tab/appearance/tabStyle.d.ts +2 -2
- package/dist/types/components/Tab/appearance/tabSuccess.d.ts +13 -0
- package/dist/types/components/Tab/appearance/tabSurface.d.ts +29 -24
- package/dist/types/components/Tab/appearance/tabWarning.d.ts +13 -0
- package/dist/types/components/Tab/stories/__mock__/index.d.ts +22 -0
- package/package.json +5 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as Dropdown, a as DropdownItem, d as dropdownItemAppearance, b as dropdownItemConfig } from '../
|
|
1
|
+
export { D as Dropdown, a as DropdownItem, d as dropdownItemAppearance, b as dropdownItemConfig } from '../DropdownItem_es_B4EZYdJA.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'clsx';
|
|
@@ -17,7 +17,7 @@ import '../utils/setViewportProperty.js';
|
|
|
17
17
|
import '../hooks/useStyles/useStyles.js';
|
|
18
18
|
import 'lodash/maxBy';
|
|
19
19
|
import '../hooks/useStyles/styleAttributes.js';
|
|
20
|
-
import '../
|
|
20
|
+
import '../Divider_es_BEYLRagS.js';
|
|
21
21
|
import '../Tooltip_es_D1w1s33u.js';
|
|
22
22
|
import '../Text_es_BRb3qqKM.js';
|
|
23
23
|
import 'react-inlinesvg';
|
package/dist/components/Label.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { L as Label, a as labelAppearance, l as labelConfig } from '../
|
|
1
|
+
export { L as Label, a as labelAppearance, l as labelConfig } from '../Label_es_BtwZ3a2V.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { L as Loader, a as loaderAppearance, l as loaderConfig } from '../
|
|
1
|
+
export { L as Loader, a as loaderAppearance, l as loaderConfig } from '../Loader_es_DHKB6tTw.js';
|
|
2
2
|
import '../tslib.es6_es_Bwu1Cn-t.js';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
4
|
import 'clsx';
|
package/dist/components/Modal.js
CHANGED
|
@@ -7,7 +7,7 @@ import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDev
|
|
|
7
7
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
8
8
|
import { O as Overlay } from '../Overlay_es_cI_-_xUO.js';
|
|
9
9
|
import { b as Title } from '../Tooltip_es_D1w1s33u.js';
|
|
10
|
-
import { L as Loader } from '../
|
|
10
|
+
import { L as Loader } from '../Loader_es_DHKB6tTw.js';
|
|
11
11
|
import 'lodash/camelCase';
|
|
12
12
|
import 'lodash/castArray';
|
|
13
13
|
import 'lodash/upperFirst';
|
|
@@ -6,7 +6,7 @@ import ceil from 'lodash/ceil';
|
|
|
6
6
|
import ReactPaginate from 'react-paginate';
|
|
7
7
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
8
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
9
|
-
import { D as Dropdown, a as DropdownItem } from '../
|
|
9
|
+
import { D as Dropdown, a as DropdownItem } from '../DropdownItem_es_B4EZYdJA.js';
|
|
10
10
|
import { I as Icon } from '../Tooltip_es_D1w1s33u.js';
|
|
11
11
|
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
12
12
|
import { icon32, icon24 } from '@itcase/icons/default';
|
|
@@ -22,7 +22,7 @@ import 'react-responsive';
|
|
|
22
22
|
import '../utils/setViewportProperty.js';
|
|
23
23
|
import 'lodash/maxBy';
|
|
24
24
|
import '../hooks/useStyles/styleAttributes.js';
|
|
25
|
-
import '../
|
|
25
|
+
import '../Divider_es_BEYLRagS.js';
|
|
26
26
|
import 'react-inlinesvg';
|
|
27
27
|
import '../Link_es_DxtZLeKY.js';
|
|
28
28
|
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
|
|
2
|
-
import { resposeIcon } from './Response/img.js';
|
|
3
2
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
4
3
|
import { useMemo } from 'react';
|
|
5
4
|
import clsx from 'clsx';
|
|
6
5
|
import SVG from 'react-inlinesvg';
|
|
7
6
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
8
7
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
9
|
-
import { B as Button } from '../
|
|
8
|
+
import { B as Button } from '../Button_es_Dp6yFZgn.js';
|
|
10
9
|
import { G as Group } from '../Group_es_CYW2Hquh.js';
|
|
11
10
|
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
12
11
|
import 'lodash/camelCase';
|
|
@@ -23,18 +22,17 @@ import 'lodash/maxBy';
|
|
|
23
22
|
import '../hooks/useStyles/styleAttributes.js';
|
|
24
23
|
import '../Tooltip_es_D1w1s33u.js';
|
|
25
24
|
import '../Link_es_DxtZLeKY.js';
|
|
26
|
-
import '../
|
|
25
|
+
import '../Loader_es_DHKB6tTw.js';
|
|
27
26
|
|
|
28
27
|
var responseAppearanceConfirm = {
|
|
29
28
|
confirm: {
|
|
30
29
|
fill: 'surfacePrimary',
|
|
31
30
|
titleTextColor: 'surfaceTextPrimary',
|
|
31
|
+
titleTextSize: 'xxl',
|
|
32
32
|
labelTextColor: 'surfaceTextPrimary',
|
|
33
|
-
|
|
33
|
+
descTextSize: 'm',
|
|
34
|
+
primaryButtonAppearance: 'accentPrimary sizeXXL',
|
|
34
35
|
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
35
|
-
svgFill: 'surfaceTertiary',
|
|
36
|
-
SvgImage: resposeIcon.Confirm,
|
|
37
|
-
svgPathFill: 'surfaceItemQuaternary',
|
|
38
36
|
},
|
|
39
37
|
};
|
|
40
38
|
|
|
@@ -42,12 +40,11 @@ var responseAppearanceFail = {
|
|
|
42
40
|
fail: {
|
|
43
41
|
fill: 'surfacePrimary',
|
|
44
42
|
titleTextColor: 'surfaceTextPrimary',
|
|
43
|
+
titleTextSize: 'xxl',
|
|
45
44
|
labelTextColor: 'surfaceTextPrimary',
|
|
46
|
-
|
|
45
|
+
descTextSize: 'm',
|
|
46
|
+
primaryButtonAppearance: 'accentPrimary sizeXXL',
|
|
47
47
|
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
48
|
-
svgFill: 'surfaceTertiary',
|
|
49
|
-
SvgImage: resposeIcon.Fail,
|
|
50
|
-
svgPathFill: 'surfaceItemQuaternary',
|
|
51
48
|
},
|
|
52
49
|
};
|
|
53
50
|
|
|
@@ -55,12 +52,11 @@ var responseAppearanceNothingFound = {
|
|
|
55
52
|
nothingFound: {
|
|
56
53
|
fill: 'surfacePrimary',
|
|
57
54
|
titleTextColor: 'surfaceTextPrimary',
|
|
55
|
+
titleTextSize: 'xxl',
|
|
58
56
|
labelTextColor: 'surfaceTextPrimary',
|
|
59
|
-
|
|
57
|
+
descTextSize: 'm',
|
|
58
|
+
primaryButtonAppearance: 'accentPrimary sizeXXL',
|
|
60
59
|
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
61
|
-
svgFill: 'surfaceTertiary',
|
|
62
|
-
SvgImage: resposeIcon.NothingFound,
|
|
63
|
-
svgPathFill: 'surfaceItemQuaternary',
|
|
64
60
|
},
|
|
65
61
|
};
|
|
66
62
|
|
|
@@ -68,12 +64,11 @@ var responseAppearanceRefresh = {
|
|
|
68
64
|
refresh: {
|
|
69
65
|
fill: 'surfacePrimary',
|
|
70
66
|
titleTextColor: 'surfaceTextPrimary',
|
|
67
|
+
titleTextSize: 'xxl',
|
|
71
68
|
labelTextColor: 'surfaceTextPrimary',
|
|
72
|
-
|
|
69
|
+
descTextSize: 'm',
|
|
70
|
+
primaryButtonAppearance: 'accentPrimary sizeXXL',
|
|
73
71
|
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
74
|
-
svgFill: 'surfaceTertiary',
|
|
75
|
-
SvgImage: resposeIcon.Refresh,
|
|
76
|
-
svgPathFill: 'surfaceItemQuaternary',
|
|
77
72
|
},
|
|
78
73
|
};
|
|
79
74
|
|
|
@@ -81,12 +76,11 @@ var responseAppearanceError = {
|
|
|
81
76
|
error: {
|
|
82
77
|
fill: 'surfacePrimary',
|
|
83
78
|
titleTextColor: 'surfaceTextPrimary',
|
|
79
|
+
titleTextSize: 'xxl',
|
|
84
80
|
labelTextColor: 'surfaceTextPrimary',
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
SvgImage: resposeIcon.Error,
|
|
89
|
-
svgPathFill: 'accentItemPrimary',
|
|
81
|
+
descTextSize: 'm',
|
|
82
|
+
primaryButtonAppearance: 'errorPrimary sizeXXL',
|
|
83
|
+
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
90
84
|
},
|
|
91
85
|
};
|
|
92
86
|
|
|
@@ -94,12 +88,11 @@ var responseAppearanceSuccess = {
|
|
|
94
88
|
success: {
|
|
95
89
|
fill: 'surfacePrimary',
|
|
96
90
|
titleTextColor: 'surfaceTextPrimary',
|
|
91
|
+
titleTextSize: 'xxl',
|
|
97
92
|
labelTextColor: 'surfaceTextPrimary',
|
|
93
|
+
descTextSize: 'm',
|
|
98
94
|
primaryButtonAppearance: 'accentPrimary sizeXXL',
|
|
99
95
|
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
100
|
-
svgFill: 'accentPrimary',
|
|
101
|
-
SvgImage: resposeIcon.Success,
|
|
102
|
-
svgPathFill: 'accentItemPrimary',
|
|
103
96
|
},
|
|
104
97
|
};
|
|
105
98
|
|
|
@@ -107,12 +100,11 @@ var responseAppearanceUnableLoadData = {
|
|
|
107
100
|
unableLoadData: {
|
|
108
101
|
fill: 'surfacePrimary',
|
|
109
102
|
titleTextColor: 'surfaceTextPrimary',
|
|
103
|
+
titleTextSize: 'xxl',
|
|
110
104
|
labelTextColor: 'surfaceTextPrimary',
|
|
111
|
-
|
|
105
|
+
descTextSize: 'm',
|
|
106
|
+
primaryButtonAppearance: 'accentPrimary sizeXXL',
|
|
112
107
|
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
113
|
-
svgFill: 'surfaceTertiary',
|
|
114
|
-
SvgImage: resposeIcon.UnableLoadData,
|
|
115
|
-
svgPathFill: 'surfaceItemQuaternary',
|
|
116
108
|
},
|
|
117
109
|
};
|
|
118
110
|
|
|
@@ -120,12 +112,11 @@ var responseAppearanceWarning = {
|
|
|
120
112
|
warning: {
|
|
121
113
|
fill: 'surfacePrimary',
|
|
122
114
|
titleTextColor: 'surfaceTextPrimary',
|
|
115
|
+
titleTextSize: 'xxl',
|
|
123
116
|
labelTextColor: 'surfaceTextPrimary',
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
SvgImage: resposeIcon.Warning,
|
|
128
|
-
svgPathFill: 'accentItemPrimary',
|
|
117
|
+
descTextSize: 'm',
|
|
118
|
+
primaryButtonAppearance: 'warningPrimary sizeXXL',
|
|
119
|
+
secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
|
|
129
120
|
},
|
|
130
121
|
};
|
|
131
122
|
|
|
@@ -8,7 +8,7 @@ import CreatableSelect from 'react-select/creatable';
|
|
|
8
8
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
9
9
|
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
10
10
|
import { G as Group } from '../Group_es_CYW2Hquh.js';
|
|
11
|
-
import { D as Divider } from '../
|
|
11
|
+
import { D as Divider } from '../Divider_es_BEYLRagS.js';
|
|
12
12
|
import '../hooks/useStyles/useStyles.js';
|
|
13
13
|
import 'lodash/camelCase';
|
|
14
14
|
import 'lodash/maxBy';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { icon16 } from '@itcase/icons/default';
|
|
2
|
+
|
|
3
|
+
var tabListMock = {
|
|
4
|
+
tabList: [
|
|
5
|
+
{ key: 1, label: 'Tab 1', isActive: true },
|
|
6
|
+
{ key: 2, label: 'Tab 2', isActive: false },
|
|
7
|
+
{ key: 3, label: 'Tab 3', badgeValue: 3, isActive: false },
|
|
8
|
+
{ key: 4, label: 'Tab 4', icon: icon16.Placeholder, isActive: false },
|
|
9
|
+
],
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export { tabListMock };
|
package/dist/components/Tab.js
CHANGED
|
@@ -4,8 +4,8 @@ import React from 'react';
|
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
|
|
6
6
|
import { useStyles } from '../hooks/useStyles/useStyles.js';
|
|
7
|
-
import { B as Badge } from '../Tooltip_es_D1w1s33u.js';
|
|
8
|
-
import { D as Divider } from '../
|
|
7
|
+
import { B as Badge, I as Icon } from '../Tooltip_es_D1w1s33u.js';
|
|
8
|
+
import { D as Divider } from '../Divider_es_BEYLRagS.js';
|
|
9
9
|
import { L as Link } from '../Link_es_DxtZLeKY.js';
|
|
10
10
|
import { T as Text } from '../Text_es_BRb3qqKM.js';
|
|
11
11
|
import 'lodash/camelCase';
|
|
@@ -22,13 +22,67 @@ import 'lodash/maxBy';
|
|
|
22
22
|
import '../hooks/useStyles/styleAttributes.js';
|
|
23
23
|
import 'react-inlinesvg';
|
|
24
24
|
|
|
25
|
+
var tabAppearanceError = {
|
|
26
|
+
errorPrimary: {
|
|
27
|
+
fill: 'errorPrimary',
|
|
28
|
+
fillDisabled: 'errorDisabled',
|
|
29
|
+
labelColor: 'errorTextPrimary',
|
|
30
|
+
labelColorActive: 'errorTextAccent',
|
|
31
|
+
labelColorDisabled: 'errorTextDisabled',
|
|
32
|
+
dividerFillDisabled: 'errorDisabled',
|
|
33
|
+
badgeAppearance: 'error',
|
|
34
|
+
dividerFill: 'accentPrimary',
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
|
|
25
38
|
var tabAppearanceSize = {
|
|
39
|
+
sizeXXL: {
|
|
40
|
+
size: 'xxl',
|
|
41
|
+
labelTextSize: 's',
|
|
42
|
+
badgeSize: 'xs',
|
|
43
|
+
badgeTextSize: 'xs',
|
|
44
|
+
dividerSize: 's',
|
|
45
|
+
},
|
|
46
|
+
sizeXL: {
|
|
47
|
+
size: 'xl',
|
|
48
|
+
labelTextSize: 's',
|
|
49
|
+
badgeSize: 'xs',
|
|
50
|
+
badgeTextSize: 'xs',
|
|
51
|
+
dividerSize: 's',
|
|
52
|
+
},
|
|
26
53
|
sizeL: {
|
|
27
54
|
size: 'l',
|
|
28
55
|
labelTextSize: 's',
|
|
56
|
+
badgeSize: 'xs',
|
|
57
|
+
badgeTextSize: 'xs',
|
|
29
58
|
dividerSize: 's',
|
|
59
|
+
},
|
|
60
|
+
sizeM: {
|
|
61
|
+
size: 'm',
|
|
62
|
+
labelTextSize: 's',
|
|
30
63
|
badgeSize: 'xs',
|
|
64
|
+
badgeTextSize: 'xs',
|
|
65
|
+
dividerSize: 's',
|
|
66
|
+
},
|
|
67
|
+
sizeS: {
|
|
68
|
+
size: 's',
|
|
69
|
+
labelTextSize: 's',
|
|
70
|
+
badgeSize: 'xs',
|
|
71
|
+
badgeTextSize: 'xs',
|
|
72
|
+
dividerSize: 's',
|
|
73
|
+
},
|
|
74
|
+
sizeXS: {
|
|
75
|
+
size: 'xs',
|
|
76
|
+
labelTextSize: 'xs',
|
|
77
|
+
badgeSize: 'xs',
|
|
78
|
+
badgeTextSize: 'xs',
|
|
79
|
+
},
|
|
80
|
+
sizeXXS: {
|
|
81
|
+
size: 'xxs',
|
|
82
|
+
labelTextSize: 'xs',
|
|
83
|
+
badgeSize: 'xxs',
|
|
31
84
|
badgeTextSize: 'xxs',
|
|
85
|
+
dividerSize: 's',
|
|
32
86
|
},
|
|
33
87
|
};
|
|
34
88
|
|
|
@@ -38,68 +92,99 @@ var tabAppearanceStyle = {
|
|
|
38
92
|
},
|
|
39
93
|
ghost: {
|
|
40
94
|
fill: 'none',
|
|
41
|
-
|
|
95
|
+
borderColor: 'none',
|
|
42
96
|
},
|
|
43
97
|
outlined: {
|
|
44
98
|
fill: 'none',
|
|
45
99
|
},
|
|
46
100
|
solid: {
|
|
47
|
-
|
|
101
|
+
borderColor: 'none',
|
|
102
|
+
},
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
var tabAppearanceSuccess = {
|
|
106
|
+
successPrimary: {
|
|
107
|
+
fill: 'successPrimary',
|
|
108
|
+
fillDisabled: 'successDisabled',
|
|
109
|
+
labelColor: 'successTextPrimary',
|
|
110
|
+
labelColorActive: 'successTextAccent',
|
|
111
|
+
labelColorDisabled: 'successTextDisabled',
|
|
112
|
+
dividerFillDisabled: 'successDisabled',
|
|
113
|
+
badgeAppearance: 'success',
|
|
114
|
+
dividerFill: 'accentPrimary',
|
|
48
115
|
},
|
|
49
116
|
};
|
|
50
117
|
|
|
51
118
|
var tabAppearanceSurface = {
|
|
52
119
|
surfacePrimary: {
|
|
53
120
|
fill: 'surfacePrimary',
|
|
121
|
+
fillActive: 'surfacePrimary',
|
|
122
|
+
fillActiveHover: 'surfaceSecondary',
|
|
54
123
|
fillDisabled: 'surfaceDisabled',
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
124
|
+
fillHover: 'surfaceSecondary',
|
|
125
|
+
labelTextColor: 'surfaceTextPrimary',
|
|
126
|
+
labelTextColorActive: 'surfaceTextAccent',
|
|
127
|
+
borderColor: 'surfaceBorderPrimary',
|
|
58
128
|
dividerFillDisabled: 'accentDisabled',
|
|
59
|
-
dividerFill: 'surfaceTertiary',
|
|
60
|
-
dividerFillActive: 'accentPrimary',
|
|
61
|
-
dividerFillHover: 'accentPrimary',
|
|
62
129
|
badgeAppearance: 'accentPrimary',
|
|
63
|
-
},
|
|
64
|
-
surfaceQuaternary: {
|
|
65
|
-
fill: 'surfaceQuaternary',
|
|
66
|
-
fillDisabled: 'surfaceDisabled',
|
|
67
|
-
fillHover: 'surfaceTertiaryHover',
|
|
68
|
-
labelColor: 'surfaceTextInverse',
|
|
69
|
-
labelColorActive: 'surfaceTextInverse',
|
|
70
|
-
labelColorDisabled: 'surfaceTextDisabled',
|
|
71
|
-
dividerFillDisabled: 'accentDisabled',
|
|
72
|
-
dividerFill: 'surfaceTertiary',
|
|
73
130
|
dividerFillActive: 'accentPrimary',
|
|
74
|
-
|
|
131
|
+
iconFillIcon: 'surfaceItemPrimary',
|
|
75
132
|
},
|
|
76
133
|
surfaceSecondary: {
|
|
77
134
|
fill: 'surfaceSecondary',
|
|
135
|
+
fillActive: 'surfaceSecondary',
|
|
136
|
+
fillActiveHover: 'surfaceTertiary',
|
|
78
137
|
fillDisabled: 'surfaceDisabled',
|
|
79
|
-
fillHover: '
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
labelColorDisabled: 'surfaceTextDisabled',
|
|
138
|
+
fillHover: 'surfaceTertiary',
|
|
139
|
+
labelTextColor: 'surfaceTextPrimary',
|
|
140
|
+
labelTextColorActive: 'surfaceTextAccent',
|
|
83
141
|
dividerFillDisabled: 'accentDisabled',
|
|
84
|
-
|
|
142
|
+
badgeAppearance: 'accentPrimary',
|
|
85
143
|
dividerFillActive: 'accentPrimary',
|
|
86
|
-
|
|
144
|
+
iconFillIcon: 'surfaceItemPrimary',
|
|
87
145
|
},
|
|
88
146
|
surfaceTertiary: {
|
|
89
147
|
fill: 'surfaceTertiary',
|
|
148
|
+
fillActive: 'surfaceSecondary',
|
|
149
|
+
fillActiveHover: 'surfaceTertiary',
|
|
90
150
|
fillDisabled: 'surfaceDisabled',
|
|
91
|
-
fillHover: '
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
labelColorDisabled: 'surfaceTextDisabled',
|
|
151
|
+
fillHover: 'surfaceSecondary',
|
|
152
|
+
labelTextColor: 'surfaceTextPrimary',
|
|
153
|
+
labelTextColorActive: 'surfaceTextAccent',
|
|
95
154
|
dividerFillDisabled: 'accentDisabled',
|
|
96
|
-
|
|
155
|
+
badgeAppearance: 'accentPrimary',
|
|
97
156
|
dividerFillActive: 'accentPrimary',
|
|
98
|
-
|
|
157
|
+
iconFillIcon: 'surfaceItemPrimary',
|
|
158
|
+
},
|
|
159
|
+
surfaceQuaternary: {
|
|
160
|
+
fill: 'surfaceQuaternary',
|
|
161
|
+
fillActive: 'accentPrimary',
|
|
162
|
+
fillActiveHover: 'surfaceTertiary',
|
|
163
|
+
fillDisabled: 'surfaceDisabled',
|
|
164
|
+
fillHover: 'surfaceQuaternary',
|
|
165
|
+
labelTextColor: 'surfaceTextInverse',
|
|
166
|
+
labelTextColorActive: 'surfaceTextInverse',
|
|
167
|
+
dividerFillDisabled: 'accentDisabled',
|
|
168
|
+
badgeAppearance: 'accentPrimary',
|
|
169
|
+
dividerFillActive: 'accentPrimary',
|
|
170
|
+
iconFillIcon: 'surfaceItemPrimary',
|
|
171
|
+
},
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
var tabAppearanceWarning = {
|
|
175
|
+
warningPrimary: {
|
|
176
|
+
fill: 'warningPrimary',
|
|
177
|
+
fillDisabled: 'warningDisabled',
|
|
178
|
+
labelColor: 'warningTextPrimary',
|
|
179
|
+
labelColorActive: 'warningTextAccent',
|
|
180
|
+
labelColorDisabled: 'warningTextDisabled',
|
|
181
|
+
dividerFillDisabled: 'warningDisabled',
|
|
182
|
+
badgeAppearance: 'warning',
|
|
183
|
+
dividerFill: 'accentPrimary',
|
|
99
184
|
},
|
|
100
185
|
};
|
|
101
186
|
|
|
102
|
-
var tabAppearance = __assign(__assign(__assign({}, tabAppearanceSurface), tabAppearanceSize), tabAppearanceStyle);
|
|
187
|
+
var tabAppearance = __assign(__assign(__assign(__assign(__assign(__assign({}, tabAppearanceWarning), tabAppearanceError), tabAppearanceSuccess), tabAppearanceSurface), tabAppearanceSize), tabAppearanceStyle);
|
|
103
188
|
|
|
104
189
|
var tabConfig = {
|
|
105
190
|
appearance: tabAppearance,
|
|
@@ -108,27 +193,36 @@ var tabConfig = {
|
|
|
108
193
|
},
|
|
109
194
|
};
|
|
110
195
|
function Tab(props) {
|
|
111
|
-
var className = props.className, appearance = props.appearance, label = props.label, _a = props.isDisabled, isDisabled = _a === void 0 ? false : _a, badgeValue = props.badgeValue, dataTour = props.dataTour, href = props.href, link = props.link, rel = props.rel,
|
|
196
|
+
var className = props.className, appearance = props.appearance, label = props.label, _a = props.isDisabled, isDisabled = _a === void 0 ? false : _a, badgeValue = props.badgeValue, dataTour = props.dataTour, href = props.href, link = props.link, rel = props.rel, target = props.target, before = props.before, after = props.after, _b = props.isActive, isActive = _b === void 0 ? false : _b, onClick = props.onClick, onMouseEnter = props.onMouseEnter, children = props.children;
|
|
112
197
|
var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
|
|
113
198
|
var _a;
|
|
114
199
|
return (__assign(__assign({}, resultConfig), (_a = tabConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
|
|
115
200
|
}, {});
|
|
116
201
|
var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
|
|
117
|
-
var justifyContentClass = propsGenerator.justifyContentClass, alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass,
|
|
202
|
+
var justifyContentClass = propsGenerator.justifyContentClass, alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelTextAlign = propsGenerator.labelTextAlign, labelTextColor = propsGenerator.labelTextColor, labelTextColorActive = propsGenerator.labelTextColorActive, labelTextColorActiveHover = propsGenerator.labelTextColorActiveHover, labelTextColorHover = propsGenerator.labelTextColorHover, labelTextSize = propsGenerator.labelTextSize, labelTextStyle = propsGenerator.labelTextStyle, labelTextWeight = propsGenerator.labelTextWeight, labelTextWrap = propsGenerator.labelTextWrap, borderColorActiveClass = propsGenerator.borderColorActiveClass, borderColorActiveHoverClass = propsGenerator.borderColorActiveHoverClass, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, dividerFillDisabled = propsGenerator.dividerFillDisabled, badgeAppearance = propsGenerator.badgeAppearance, badgeShape = propsGenerator.badgeShape, badgeSize = propsGenerator.badgeSize, badgeTextColor = propsGenerator.badgeTextColor, badgeTextSize = propsGenerator.badgeTextSize, dividerFill = propsGenerator.dividerFill, dividerFillActive = propsGenerator.dividerFillActive, dividerFillActiveHover = propsGenerator.dividerFillActiveHover, dividerFillHover = propsGenerator.dividerFillHover, dividerSize = propsGenerator.dividerSize, icon = propsGenerator.icon, iconFill = propsGenerator.iconFill, iconFillIcon = propsGenerator.iconFillIcon, iconFillSize = propsGenerator.iconFillSize, iconShape = propsGenerator.iconShape, iconSize = propsGenerator.iconSize, iconSrc = propsGenerator.iconSrc, linkFill = propsGenerator.linkFill, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
|
|
118
203
|
// @ts-expect-error
|
|
119
204
|
var tab = useStyles(props).styles;
|
|
120
|
-
return (jsx("div", { className: clsx('tab', isActive && 'tab_state_active', isDisabled && 'tab_state_disabled',
|
|
205
|
+
return (jsx("div", { className: clsx('tab', className, isActive && 'tab_state_active', isDisabled && 'tab_state_disabled', !isActive
|
|
121
206
|
? fillClass && "fill_".concat(fillClass)
|
|
122
|
-
:
|
|
207
|
+
: fillActiveClass && "fill_active_".concat(fillActiveClass), !isActive
|
|
208
|
+
? fillHoverClass && "fill_hover_".concat(fillHoverClass)
|
|
209
|
+
: fillActiveHoverClass && "fill_active_hover_".concat(fillActiveHoverClass), !isActive
|
|
210
|
+
? borderColorClass && "border-color_".concat(borderColorClass)
|
|
211
|
+
: borderColorActiveClass &&
|
|
212
|
+
"border-color_active_".concat(borderColorActiveClass), !isActive
|
|
213
|
+
? borderColorHoverClass &&
|
|
214
|
+
"border-color_hover_".concat(borderColorHoverClass)
|
|
215
|
+
: borderColorActiveHoverClass &&
|
|
216
|
+
"border-color_active_hover_".concat(borderColorActiveHoverClass), sizeClass && "tab_size_".concat(sizeClass), shapeClass && "tab_shape_".concat(shapeClass), widthClass && "width_".concat(widthClass), justifyContentClass && "tab_justify-content_".concat(justifyContentClass), onClick && 'cursor_type_pointer'), "data-tour": dataTour, style: tab, onClick: onClick, onMouseEnter: onMouseEnter, children: jsxs(Link, { className: clsx('tab__link', alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(alignClass), !isDisabled && 'cursor_type_pointer'), fill: linkFill, href: link || href, rel: rel, target: target, children: [before, children || (jsxs(React.Fragment, { children: [jsxs("div", { className: "tab__wrapper", children: [label && (jsx(Text, { className: "tab__label", size: labelTextSize, textAlign: labelTextAlign, textColor: labelTextColor, textColorActive: labelTextColorActive, textColorHover: labelTextColorHover, textColorHoverActive: labelTextColorActiveHover, textStyle: labelTextStyle, textWeight: labelTextWeight, textWrap: labelTextWrap, isDisabled: isDisabled, isActive: isActive, children: label })), badgeValue && (jsx(Badge, { appearance: badgeAppearance, size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue })), (icon || iconSrc) && (jsx(Icon, { className: clsx('tab__icon_after'), fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon }))] }), jsx(Divider, { width: "fill", direction: "horizontal", size: dividerSize, fill: dividerFill, fillActive: dividerFillActive, fillActiveHover: dividerFillActiveHover, fillDisabled: dividerFillDisabled, fillHover: dividerFillHover, zIndex: "1", isDisabled: isDisabled, isActive: isActive })] })), after] }) }));
|
|
123
217
|
}
|
|
124
218
|
|
|
125
219
|
function TabGroup(props) {
|
|
126
|
-
var className = props.className, dataTestId = props.dataTestId, dataTour = props.dataTour, horizontalScroll = props.horizontalScroll, style = props.style, set = props.set, children = props.children;
|
|
220
|
+
var className = props.className, dataTestId = props.dataTestId, dataTour = props.dataTour, horizontalScroll = props.horizontalScroll, style = props.style, tabAppearance = props.tabAppearance, tabList = props.tabList, set = props.set, children = props.children;
|
|
127
221
|
var propsGenerator = useDevicePropsGenerator(props);
|
|
128
222
|
var directionClass = propsGenerator.directionClass, alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillClass = propsGenerator.fillClass, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, contentAlignClass = propsGenerator.contentAlignClass, widthClass = propsGenerator.widthClass, wrapClass = propsGenerator.wrapClass;
|
|
129
223
|
// @ts-expect-error
|
|
130
224
|
var _a = useStyles(props), groupStyles = _a.styles, groupWrapperStyles = _a.wrapper;
|
|
131
|
-
return (jsx("div", { className: clsx(className, 'tab-group', 'group', widthClass && "width_".concat(widthClass), contentAlignClass && "group_content-align_".concat(contentAlignClass), alignDirectionClass && "align_".concat(alignDirectionClass), directionClass && "group_direction_".concat(directionClass), alignClass && "align_".concat(alignClass), fillClass && "fill_".concat(fillClass), set && "group_set_".concat(set), horizontalScroll && 'group_type_horizontal_scroll', wrapClass && "group_wrap_".concat(wrapClass), borderColorClass && "border-color_".concat(borderColorClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass)), "data-testid": dataTestId, "data-tour": dataTour, style: Object.assign({}, groupStyles, style), children: horizontalScroll ? (
|
|
225
|
+
return (jsx("div", { className: clsx(className, 'tab-group', 'group', widthClass && "width_".concat(widthClass), contentAlignClass && "group_content-align_".concat(contentAlignClass), alignDirectionClass && "align_".concat(alignDirectionClass), directionClass && "group_direction_".concat(directionClass), alignClass && "align_".concat(alignClass), fillClass && "fill_".concat(fillClass), set && "group_set_".concat(set), horizontalScroll && 'group_type_horizontal_scroll', wrapClass && "group_wrap_".concat(wrapClass), borderColorClass && "border-color_".concat(borderColorClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass)), "data-testid": dataTestId, "data-tour": dataTour, style: Object.assign({}, groupStyles, style), children: horizontalScroll ? (jsxs("div", { className: "tab-group__wrapper", style: groupWrapperStyles, children: [tabList === null || tabList === void 0 ? void 0 : tabList.map(function (item) { return (jsx(Tab, { appearance: tabAppearance, label: item.label, isActive: item.isActive }, item.key)); }), children] })) : (jsxs(React.Fragment, { children: [tabList === null || tabList === void 0 ? void 0 : tabList.map(function (item) { return (jsx(Tab, { appearance: tabAppearance, label: item.label, badgeValue: item.badgeValue, icon: item.icon, iconSrc: item.icon, isActive: item.isActive }, item.key)); }), children] })) }));
|
|
132
226
|
}
|
|
133
227
|
|
|
134
228
|
export { Tab, TabGroup, tabAppearance, tabConfig };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
.breadcrumbs {
|
|
2
|
+
}
|
|
3
|
+
.breadcrumbs__item {
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
}
|
|
7
|
+
.breadcrumbs__item {
|
|
8
|
+
@each $size in xxl, xl, l, m, s, xs, xxs {
|
|
9
|
+
&_size_$(size) {
|
|
10
|
+
gap: var(--breadcrumbs-item-$(size)-gap);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
:root {
|
|
15
|
+
--breadcrumbs-item-xxl-gap: 12px;
|
|
16
|
+
--breadcrumbs-item-xl-gap: 8px;
|
|
17
|
+
--breadcrumbs-item-l-gap: 8px;
|
|
18
|
+
--breadcrumbs-item-m-gap: 8px;
|
|
19
|
+
--breadcrumbs-item-s-gap: 8px;
|
|
20
|
+
--breadcrumbs-item-xs-gap: 8px;
|
|
21
|
+
--breadcrumbs-item-xxs-gap: 8px;
|
|
22
|
+
}
|
|
@@ -70,9 +70,9 @@
|
|
|
70
70
|
animation: buttonSkeleton 3s infinite linear !important;
|
|
71
71
|
background-image: linear-gradient(
|
|
72
72
|
90deg,
|
|
73
|
-
var(--color-surface-secondary),
|
|
74
|
-
var(--color-surface-tertiary),
|
|
75
|
-
var(--color-surface-secondary)
|
|
73
|
+
var(--color-surface-fill-secondary),
|
|
74
|
+
var(--color-surface-fill-tertiary),
|
|
75
|
+
var(--color-surface-fill-secondary)
|
|
76
76
|
) !important;
|
|
77
77
|
& * {
|
|
78
78
|
opacity: 0%;
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
90
|
.button {
|
|
91
|
-
@each $size in
|
|
91
|
+
@each $size in xxl, xl, l, m, s, xs, xxs {
|
|
92
92
|
&_size_$(size) {
|
|
93
93
|
^&__wrapper {
|
|
94
94
|
min-width: var(--button-$(size)-min-width);
|
|
@@ -12,17 +12,18 @@
|
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
.label {
|
|
15
|
-
|
|
15
|
+
&&_skeleton {
|
|
16
|
+
background-size: 200% !important;
|
|
17
|
+
border: none;
|
|
18
|
+
animation: badgeSkeleton 3s infinite linear !important;
|
|
16
19
|
background-image: linear-gradient(
|
|
17
20
|
90deg,
|
|
18
|
-
var(--color-surface-secondary),
|
|
19
|
-
var(--color-surface-tertiary),
|
|
20
|
-
var(--color-surface-secondary)
|
|
21
|
-
);
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
^&__label {
|
|
25
|
-
color: transparent;
|
|
21
|
+
var(--color-surface-fill-secondary),
|
|
22
|
+
var(--color-surface-fill-tertiary),
|
|
23
|
+
var(--color-surface-fill-secondary)
|
|
24
|
+
) !important;
|
|
25
|
+
& * {
|
|
26
|
+
opacity: 0%;
|
|
26
27
|
}
|
|
27
28
|
}
|
|
28
29
|
}
|
|
@@ -12,8 +12,27 @@
|
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
.loader {
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
&&_skeleton {
|
|
16
|
+
background-size: 200% !important;
|
|
17
|
+
border: none;
|
|
18
|
+
animation: loaderSkeleton 3s infinite linear !important;
|
|
19
|
+
background-image: linear-gradient(
|
|
20
|
+
90deg,
|
|
21
|
+
var(--color-surface-fill-secondary),
|
|
22
|
+
var(--color-surface-fill-tertiary),
|
|
23
|
+
var(--color-surface-fill-secondary)
|
|
24
|
+
) !important;
|
|
25
|
+
& * {
|
|
26
|
+
opacity: 0%;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
@keyframes loaderSkeleton {
|
|
31
|
+
0% {
|
|
32
|
+
background-position: 200%;
|
|
33
|
+
}
|
|
34
|
+
100% {
|
|
35
|
+
background-position: -200%;
|
|
17
36
|
}
|
|
18
37
|
}
|
|
19
38
|
.loader {
|
|
@@ -6,6 +6,4 @@ import * as BreadcrumbsStories from '../stories/Breadcrumbs.stories'
|
|
|
6
6
|
|
|
7
7
|
# Playground
|
|
8
8
|
|
|
9
|
-
<Canvas sourceState="shown" of={
|
|
10
|
-
|
|
11
|
-
<Canvas sourceState="shown" of={BreadcrumbsItemStories.Demo} />
|
|
9
|
+
<Canvas sourceState="shown" of={BreadcrumbsStories.Demo} />
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
declare const breadcrumbsConfig: BreadcrumbsConfig;
|
|
1
|
+
import type { BreadcrumbsProps } from './Breadcrumbs.interface';
|
|
3
2
|
declare function Breadcrumbs(props: BreadcrumbsProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export { Breadcrumbs
|
|
3
|
+
export { Breadcrumbs };
|