@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.
Files changed (102) hide show
  1. package/dist/{Button_cjs_MfWRETXI.js → Button_cjs_CYUpbdMO.js} +133 -52
  2. package/dist/{Button_es_zW2pQTwL.js → Button_es_Dp6yFZgn.js} +133 -52
  3. package/dist/{DatePicker_cjs_uDJmwWkk.js → DatePicker_cjs_DamcZFbX.js} +2 -2
  4. package/dist/{DatePicker_es_5r0isX1_.js → DatePicker_es_Bm_onmmb.js} +2 -2
  5. package/dist/{Divider_cjs_DzFVtGkF.js → Divider_cjs_DhqcldLH.js} +6 -2
  6. package/dist/{Divider_es_BdU9qjKa.js → Divider_es_BEYLRagS.js} +6 -2
  7. package/dist/{DropdownItem_cjs_C6Jx7-kx.js → DropdownItem_cjs_B_7anyaJ.js} +1 -1
  8. package/dist/{DropdownItem_es_UdkGGVtg.js → DropdownItem_es_B4EZYdJA.js} +1 -1
  9. package/dist/{Label_cjs_jN0dxo1q.js → Label_cjs_ByGAWJcj.js} +168 -28
  10. package/dist/{Label_es_CFQzN-2m.js → Label_es_BtwZ3a2V.js} +168 -28
  11. package/dist/{Loader_cjs_3VRzFLI2.js → Loader_cjs___VikiqS.js} +36 -1
  12. package/dist/{Loader_es_DEYowVdU.js → Loader_es_DHKB6tTw.js} +36 -1
  13. package/dist/cjs/components/Accordion.js +1 -1
  14. package/dist/cjs/components/Breadcrumbs/stories/__mock__.js +45 -0
  15. package/dist/cjs/components/Breadcrumbs.js +46 -57
  16. package/dist/cjs/components/Button.js +2 -2
  17. package/dist/cjs/components/Cell.js +1 -1
  18. package/dist/cjs/components/Choice.js +1 -1
  19. package/dist/cjs/components/CookiesWarning.js +2 -2
  20. package/dist/cjs/components/DatePeriod.js +4 -4
  21. package/dist/cjs/components/DatePicker.js +4 -4
  22. package/dist/cjs/components/Divider.js +1 -1
  23. package/dist/cjs/components/Dropdown.js +2 -2
  24. package/dist/cjs/components/Label.js +1 -1
  25. package/dist/cjs/components/Loader.js +1 -1
  26. package/dist/cjs/components/Modal.js +1 -1
  27. package/dist/cjs/components/Pagination.js +2 -2
  28. package/dist/cjs/components/Response.js +27 -36
  29. package/dist/cjs/components/Select.js +1 -1
  30. package/dist/cjs/components/Tab/stories/__mock__.js +14 -0
  31. package/dist/cjs/components/Tab.js +133 -39
  32. package/dist/components/Accordion.js +1 -1
  33. package/dist/components/Breadcrumbs/stories/__mock__.js +43 -0
  34. package/dist/components/Breadcrumbs.js +46 -57
  35. package/dist/components/Button.js +2 -2
  36. package/dist/components/Cell.js +1 -1
  37. package/dist/components/Choice.js +1 -1
  38. package/dist/components/CookiesWarning.js +2 -2
  39. package/dist/components/DatePeriod.js +4 -4
  40. package/dist/components/DatePicker.js +4 -4
  41. package/dist/components/Divider.js +1 -1
  42. package/dist/components/Dropdown.js +2 -2
  43. package/dist/components/Label.js +1 -1
  44. package/dist/components/Loader.js +1 -1
  45. package/dist/components/Modal.js +1 -1
  46. package/dist/components/Pagination.js +2 -2
  47. package/dist/components/Response.js +27 -36
  48. package/dist/components/Select.js +1 -1
  49. package/dist/components/Tab/stories/__mock__.js +12 -0
  50. package/dist/components/Tab.js +134 -40
  51. package/dist/css/components/Breadcrumbs/Breadcrumbs.css +22 -0
  52. package/dist/css/components/Button/Button.css +4 -4
  53. package/dist/css/components/Label/Label.css +10 -9
  54. package/dist/css/components/Loader/Loader.css +21 -2
  55. package/dist/stories/Plsyground.mdx +1 -3
  56. package/dist/types/components/Breadcrumbs/Breadcrumbs.d.ts +2 -3
  57. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSize.d.ts +28 -35
  58. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSurface.d.ts +4 -3
  59. package/dist/types/components/Breadcrumbs/stories/__mock__/index.d.ts +10 -0
  60. package/dist/types/components/Button/appearance/buttonAccent.d.ts +7 -6
  61. package/dist/types/components/Button/appearance/buttonDanger.d.ts +8 -4
  62. package/dist/types/components/Button/appearance/buttonError.d.ts +14 -2
  63. package/dist/types/components/Button/appearance/buttonInfo.d.ts +19 -4
  64. package/dist/types/components/Button/appearance/buttonPrimary.d.ts +13 -0
  65. package/dist/types/components/Button/appearance/buttonSecondary.d.ts +13 -0
  66. package/dist/types/components/Button/appearance/buttonSize.d.ts +7 -0
  67. package/dist/types/components/Button/appearance/buttonStyle.d.ts +0 -2
  68. package/dist/types/components/Button/appearance/buttonSuccess.d.ts +14 -2
  69. package/dist/types/components/Button/appearance/buttonSurface.d.ts +11 -8
  70. package/dist/types/components/Button/appearance/buttonWarning.d.ts +8 -4
  71. package/dist/types/components/Label/appearance/labelAccent.d.ts +10 -1
  72. package/dist/types/components/Label/appearance/labelDanger.d.ts +20 -0
  73. package/dist/types/components/Label/appearance/labelDisable.d.ts +19 -0
  74. package/dist/types/components/Label/appearance/labelError.d.ts +13 -2
  75. package/dist/types/components/Label/appearance/labelInfo.d.ts +14 -2
  76. package/dist/types/components/Label/appearance/labelPrimary.d.ts +19 -0
  77. package/dist/types/components/Label/appearance/labelSecondary.d.ts +19 -0
  78. package/dist/types/components/Label/appearance/labelStyle.d.ts +0 -2
  79. package/dist/types/components/Label/appearance/labelSuccess.d.ts +11 -0
  80. package/dist/types/components/Label/appearance/labelSurface.d.ts +14 -3
  81. package/dist/types/components/Label/appearance/labelWarning.d.ts +11 -0
  82. package/dist/types/components/Loader/appearance/loaderDanger.d.ts +7 -0
  83. package/dist/types/components/Loader/appearance/loaderError.d.ts +7 -0
  84. package/dist/types/components/Loader/appearance/loaderInfo.d.ts +7 -0
  85. package/dist/types/components/Loader/appearance/loaderSuccess.d.ts +7 -0
  86. package/dist/types/components/Loader/appearance/loaderWarning.d.ts +7 -0
  87. package/dist/types/components/Response/appearance/responceConfirm.d.ts +2 -3
  88. package/dist/types/components/Response/appearance/responceFail.d.ts +2 -3
  89. package/dist/types/components/Response/appearance/responceNothingFound.d.ts +2 -3
  90. package/dist/types/components/Response/appearance/responceRefresh.d.ts +2 -3
  91. package/dist/types/components/Response/appearance/responseError.d.ts +2 -3
  92. package/dist/types/components/Response/appearance/responseSuccess.d.ts +2 -3
  93. package/dist/types/components/Response/appearance/responseUnableLoadData.d.ts +2 -3
  94. package/dist/types/components/Response/appearance/responseWarning.d.ts +2 -3
  95. package/dist/types/components/Tab/appearance/tabError.d.ts +13 -0
  96. package/dist/types/components/Tab/appearance/tabSize.d.ts +41 -0
  97. package/dist/types/components/Tab/appearance/tabStyle.d.ts +2 -2
  98. package/dist/types/components/Tab/appearance/tabSuccess.d.ts +13 -0
  99. package/dist/types/components/Tab/appearance/tabSurface.d.ts +29 -24
  100. package/dist/types/components/Tab/appearance/tabWarning.d.ts +13 -0
  101. package/dist/types/components/Tab/stories/__mock__/index.d.ts +22 -0
  102. package/package.json +5 -5
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ var _default = require('@itcase/icons/default');
4
+
5
+ var tabListMock = {
6
+ tabList: [
7
+ { key: 1, label: 'Tab 1', isActive: true },
8
+ { key: 2, label: 'Tab 2', isActive: false },
9
+ { key: 3, label: 'Tab 3', badgeValue: 3, isActive: false },
10
+ { key: 4, label: 'Tab 4', icon: _default.icon16.Placeholder, isActive: false },
11
+ ],
12
+ };
13
+
14
+ exports.tabListMock = tabListMock;
@@ -7,7 +7,7 @@ var clsx = require('clsx');
7
7
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
8
8
  var useStyles = require('../hooks/useStyles/useStyles.js');
9
9
  var Tooltip = require('../../Tooltip_cjs_CaocDcQ5.js');
10
- var Divider = require('../../Divider_cjs_DzFVtGkF.js');
10
+ var Divider = require('../../Divider_cjs_DhqcldLH.js');
11
11
  var Link = require('../../Link_cjs_DbRGq2Yk.js');
12
12
  var Text = require('../../Text_cjs_DPhKj3wf.js');
13
13
  require('lodash/camelCase');
@@ -24,13 +24,67 @@ require('lodash/maxBy');
24
24
  require('../hooks/useStyles/styleAttributes.js');
25
25
  require('react-inlinesvg');
26
26
 
27
+ var tabAppearanceError = {
28
+ errorPrimary: {
29
+ fill: 'errorPrimary',
30
+ fillDisabled: 'errorDisabled',
31
+ labelColor: 'errorTextPrimary',
32
+ labelColorActive: 'errorTextAccent',
33
+ labelColorDisabled: 'errorTextDisabled',
34
+ dividerFillDisabled: 'errorDisabled',
35
+ badgeAppearance: 'error',
36
+ dividerFill: 'accentPrimary',
37
+ },
38
+ };
39
+
27
40
  var tabAppearanceSize = {
41
+ sizeXXL: {
42
+ size: 'xxl',
43
+ labelTextSize: 's',
44
+ badgeSize: 'xs',
45
+ badgeTextSize: 'xs',
46
+ dividerSize: 's',
47
+ },
48
+ sizeXL: {
49
+ size: 'xl',
50
+ labelTextSize: 's',
51
+ badgeSize: 'xs',
52
+ badgeTextSize: 'xs',
53
+ dividerSize: 's',
54
+ },
28
55
  sizeL: {
29
56
  size: 'l',
30
57
  labelTextSize: 's',
58
+ badgeSize: 'xs',
59
+ badgeTextSize: 'xs',
31
60
  dividerSize: 's',
61
+ },
62
+ sizeM: {
63
+ size: 'm',
64
+ labelTextSize: 's',
32
65
  badgeSize: 'xs',
66
+ badgeTextSize: 'xs',
67
+ dividerSize: 's',
68
+ },
69
+ sizeS: {
70
+ size: 's',
71
+ labelTextSize: 's',
72
+ badgeSize: 'xs',
73
+ badgeTextSize: 'xs',
74
+ dividerSize: 's',
75
+ },
76
+ sizeXS: {
77
+ size: 'xs',
78
+ labelTextSize: 'xs',
79
+ badgeSize: 'xs',
80
+ badgeTextSize: 'xs',
81
+ },
82
+ sizeXXS: {
83
+ size: 'xxs',
84
+ labelTextSize: 'xs',
85
+ badgeSize: 'xxs',
33
86
  badgeTextSize: 'xxs',
87
+ dividerSize: 's',
34
88
  },
35
89
  };
36
90
 
@@ -40,68 +94,99 @@ var tabAppearanceStyle = {
40
94
  },
41
95
  ghost: {
42
96
  fill: 'none',
43
- borderWidth: '0',
97
+ borderColor: 'none',
44
98
  },
45
99
  outlined: {
46
100
  fill: 'none',
47
101
  },
48
102
  solid: {
49
- borderWidth: '0',
103
+ borderColor: 'none',
104
+ },
105
+ };
106
+
107
+ var tabAppearanceSuccess = {
108
+ successPrimary: {
109
+ fill: 'successPrimary',
110
+ fillDisabled: 'successDisabled',
111
+ labelColor: 'successTextPrimary',
112
+ labelColorActive: 'successTextAccent',
113
+ labelColorDisabled: 'successTextDisabled',
114
+ dividerFillDisabled: 'successDisabled',
115
+ badgeAppearance: 'success',
116
+ dividerFill: 'accentPrimary',
50
117
  },
51
118
  };
52
119
 
53
120
  var tabAppearanceSurface = {
54
121
  surfacePrimary: {
55
122
  fill: 'surfacePrimary',
123
+ fillActive: 'surfacePrimary',
124
+ fillActiveHover: 'surfaceSecondary',
56
125
  fillDisabled: 'surfaceDisabled',
57
- labelColor: 'surfaceTextPrimary',
58
- labelColorActive: 'surfaceTextAccent',
59
- labelColorDisabled: 'surfaceTextDisabled',
126
+ fillHover: 'surfaceSecondary',
127
+ labelTextColor: 'surfaceTextPrimary',
128
+ labelTextColorActive: 'surfaceTextAccent',
129
+ borderColor: 'surfaceBorderPrimary',
60
130
  dividerFillDisabled: 'accentDisabled',
61
- dividerFill: 'surfaceTertiary',
62
- dividerFillActive: 'accentPrimary',
63
- dividerFillHover: 'accentPrimary',
64
131
  badgeAppearance: 'accentPrimary',
65
- },
66
- surfaceQuaternary: {
67
- fill: 'surfaceQuaternary',
68
- fillDisabled: 'surfaceDisabled',
69
- fillHover: 'surfaceTertiaryHover',
70
- labelColor: 'surfaceTextInverse',
71
- labelColorActive: 'surfaceTextInverse',
72
- labelColorDisabled: 'surfaceTextDisabled',
73
- dividerFillDisabled: 'accentDisabled',
74
- dividerFill: 'surfaceTertiary',
75
132
  dividerFillActive: 'accentPrimary',
76
- dividerFillHover: 'surfaceTertiary',
133
+ iconFillIcon: 'surfaceItemPrimary',
77
134
  },
78
135
  surfaceSecondary: {
79
136
  fill: 'surfaceSecondary',
137
+ fillActive: 'surfaceSecondary',
138
+ fillActiveHover: 'surfaceTertiary',
80
139
  fillDisabled: 'surfaceDisabled',
81
- fillHover: 'surfaceSecondaryHover',
82
- labelColor: 'surfaceTextPrimary',
83
- labelColorActive: 'surfaceTextAccent',
84
- labelColorDisabled: 'surfaceTextDisabled',
140
+ fillHover: 'surfaceTertiary',
141
+ labelTextColor: 'surfaceTextPrimary',
142
+ labelTextColorActive: 'surfaceTextAccent',
85
143
  dividerFillDisabled: 'accentDisabled',
86
- dividerFill: 'surfaceTertiary',
144
+ badgeAppearance: 'accentPrimary',
87
145
  dividerFillActive: 'accentPrimary',
88
- dividerFillHover: 'surfaceTertiary',
146
+ iconFillIcon: 'surfaceItemPrimary',
89
147
  },
90
148
  surfaceTertiary: {
91
149
  fill: 'surfaceTertiary',
150
+ fillActive: 'surfaceSecondary',
151
+ fillActiveHover: 'surfaceTertiary',
92
152
  fillDisabled: 'surfaceDisabled',
93
- fillHover: 'surfaceTertiaryHover',
94
- labelColor: 'surfaceTextPrimary',
95
- labelColorActive: 'surfaceTextAccent',
96
- labelColorDisabled: 'surfaceTextDisabled',
153
+ fillHover: 'surfaceSecondary',
154
+ labelTextColor: 'surfaceTextPrimary',
155
+ labelTextColorActive: 'surfaceTextAccent',
97
156
  dividerFillDisabled: 'accentDisabled',
98
- dividerFill: 'surfaceTertiary',
157
+ badgeAppearance: 'accentPrimary',
99
158
  dividerFillActive: 'accentPrimary',
100
- dividerFillHover: 'surfaceTertiary',
159
+ iconFillIcon: 'surfaceItemPrimary',
160
+ },
161
+ surfaceQuaternary: {
162
+ fill: 'surfaceQuaternary',
163
+ fillActive: 'accentPrimary',
164
+ fillActiveHover: 'surfaceTertiary',
165
+ fillDisabled: 'surfaceDisabled',
166
+ fillHover: 'surfaceQuaternary',
167
+ labelTextColor: 'surfaceTextInverse',
168
+ labelTextColorActive: 'surfaceTextInverse',
169
+ dividerFillDisabled: 'accentDisabled',
170
+ badgeAppearance: 'accentPrimary',
171
+ dividerFillActive: 'accentPrimary',
172
+ iconFillIcon: 'surfaceItemPrimary',
173
+ },
174
+ };
175
+
176
+ var tabAppearanceWarning = {
177
+ warningPrimary: {
178
+ fill: 'warningPrimary',
179
+ fillDisabled: 'warningDisabled',
180
+ labelColor: 'warningTextPrimary',
181
+ labelColorActive: 'warningTextAccent',
182
+ labelColorDisabled: 'warningTextDisabled',
183
+ dividerFillDisabled: 'warningDisabled',
184
+ badgeAppearance: 'warning',
185
+ dividerFill: 'accentPrimary',
101
186
  },
102
187
  };
103
188
 
104
- var tabAppearance = tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign({}, tabAppearanceSurface), tabAppearanceSize), tabAppearanceStyle);
189
+ var tabAppearance = tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign({}, tabAppearanceWarning), tabAppearanceError), tabAppearanceSuccess), tabAppearanceSurface), tabAppearanceSize), tabAppearanceStyle);
105
190
 
106
191
  var tabConfig = {
107
192
  appearance: tabAppearance,
@@ -110,27 +195,36 @@ var tabConfig = {
110
195
  },
111
196
  };
112
197
  function Tab(props) {
113
- 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, reset = props.reset, target = props.target, before = props.before, after = props.after, _b = props.isActive, isActive = _b === void 0 ? false : _b, _c = props.isHover, isHover = _c === void 0 ? false : _c, set = props.set, onClick = props.onClick, onMouseEnter = props.onMouseEnter, children = props.children;
198
+ 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;
114
199
  var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
115
200
  var _a;
116
201
  return (tslib_es6.__assign(tslib_es6.__assign({}, resultConfig), (_a = tabConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
117
202
  }, {});
118
203
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
119
- var justifyContentClass = propsGenerator.justifyContentClass, alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillDisabledClass = propsGenerator.fillDisabledClass, fillHoverClass = propsGenerator.fillHoverClass, labelColor = propsGenerator.labelColor, labelColorActive = propsGenerator.labelColorActive, labelColorDisabled = propsGenerator.labelColorDisabled, labelTextAlign = propsGenerator.labelTextAlign, labelTextColorHover = propsGenerator.labelTextColorHover, labelTextGradient = propsGenerator.labelTextGradient, labelTextSize = propsGenerator.labelTextSize, labelTextStyle = propsGenerator.labelTextStyle, labelTextWeight = propsGenerator.labelTextWeight, labelTextWrap = propsGenerator.labelTextWrap, dividerFillDisabled = propsGenerator.dividerFillDisabled, badgeAppearance = propsGenerator.badgeAppearance, badgeShape = propsGenerator.badgeShape, badgeSize = propsGenerator.badgeSize, badgeTextColor = propsGenerator.badgeTextColor, badgeTextSize = propsGenerator.badgeTextSize, dividerDirection = propsGenerator.dividerDirection, dividerFill = propsGenerator.dividerFill, dividerFillActive = propsGenerator.dividerFillActive, dividerFillActiveHover = propsGenerator.dividerFillActiveHover, dividerFillHover = propsGenerator.dividerFillHover, dividerSize = propsGenerator.dividerSize, linkFill = propsGenerator.linkFill, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, typeClass = propsGenerator.typeClass, widthClass = propsGenerator.widthClass;
204
+ 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;
120
205
  // @ts-expect-error
121
206
  var tab = useStyles.useStyles(props).styles;
122
- return (jsxRuntime.jsx("div", { className: clsx('tab', isActive && 'tab_state_active', isDisabled && 'tab_state_disabled', isHover && 'tab_state_hover', !isDisabled
207
+ return (jsxRuntime.jsx("div", { className: clsx('tab', className, isActive && 'tab_state_active', isDisabled && 'tab_state_disabled', !isActive
123
208
  ? fillClass && "fill_".concat(fillClass)
124
- : fillDisabledClass && "fill_disabled_".concat(fillDisabledClass), !isDisabled ? fillHoverClass && "fill_hover_".concat(fillHoverClass) : null, className, sizeClass && "tab_size_".concat(sizeClass), fillActiveClass && "fill_active_".concat(fillActiveClass), fillActiveHoverClass && "fill_active_hover_".concat(fillActiveHoverClass), shapeClass && "tab_shape_".concat(shapeClass), typeClass && "tab_type_".concat(typeClass), widthClass && "width_".concat(widthClass), reset && 'tab-reset', set && "tab_set_".concat(set), justifyContentClass && "tab_justify-content_".concat(justifyContentClass), onClick && 'cursor_type_pointer'), "data-tour": dataTour, style: tab, onClick: onClick, onMouseEnter: onMouseEnter, children: jsxRuntime.jsx(Link.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: jsxRuntime.jsxs(React.Fragment, { children: [before, children || (jsxRuntime.jsxs(React.Fragment, { children: [jsxRuntime.jsxs("div", { className: "tab__wrapper", children: [label && (jsxRuntime.jsx(Text.Text, { className: "tab__label", size: labelTextSize, textAlign: labelTextAlign, textColor: isDisabled ? labelColorDisabled : labelColor, textColorActive: isActive && labelColorActive, textColorGradient: labelTextGradient, textColorHover: labelTextColorHover, textStyle: labelTextStyle, textWeight: labelTextWeight, textWrap: labelTextWrap, children: label })), badgeValue && (jsxRuntime.jsx(Tooltip.Badge, { appearance: badgeAppearance, size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue }))] }), jsxRuntime.jsx(Divider.Divider, { width: "fill", direction: dividerDirection, size: dividerSize, fill: isDisabled ? dividerFillDisabled : dividerFill, fillActive: isActive && dividerFillActive, fillActiveHover: dividerFillActiveHover, fillHover: isHover && dividerFillHover, zIndex: "1" })] })), after] }) }) }));
209
+ : fillActiveClass && "fill_active_".concat(fillActiveClass), !isActive
210
+ ? fillHoverClass && "fill_hover_".concat(fillHoverClass)
211
+ : fillActiveHoverClass && "fill_active_hover_".concat(fillActiveHoverClass), !isActive
212
+ ? borderColorClass && "border-color_".concat(borderColorClass)
213
+ : borderColorActiveClass &&
214
+ "border-color_active_".concat(borderColorActiveClass), !isActive
215
+ ? borderColorHoverClass &&
216
+ "border-color_hover_".concat(borderColorHoverClass)
217
+ : borderColorActiveHoverClass &&
218
+ "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: jsxRuntime.jsxs(Link.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 || (jsxRuntime.jsxs(React.Fragment, { children: [jsxRuntime.jsxs("div", { className: "tab__wrapper", children: [label && (jsxRuntime.jsx(Text.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 && (jsxRuntime.jsx(Tooltip.Badge, { appearance: badgeAppearance, size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue })), (icon || iconSrc) && (jsxRuntime.jsx(Tooltip.Icon, { className: clsx('tab__icon_after'), fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon }))] }), jsxRuntime.jsx(Divider.Divider, { width: "fill", direction: "horizontal", size: dividerSize, fill: dividerFill, fillActive: dividerFillActive, fillActiveHover: dividerFillActiveHover, fillDisabled: dividerFillDisabled, fillHover: dividerFillHover, zIndex: "1", isDisabled: isDisabled, isActive: isActive })] })), after] }) }));
125
219
  }
126
220
 
127
221
  function TabGroup(props) {
128
- var className = props.className, dataTestId = props.dataTestId, dataTour = props.dataTour, horizontalScroll = props.horizontalScroll, style = props.style, set = props.set, children = props.children;
222
+ 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;
129
223
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props);
130
224
  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;
131
225
  // @ts-expect-error
132
226
  var _a = useStyles.useStyles(props), groupStyles = _a.styles, groupWrapperStyles = _a.wrapper;
133
- return (jsxRuntime.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 ? (jsxRuntime.jsx("div", { className: "tab-group__wrapper", style: groupWrapperStyles, children: children })) : (children) }));
227
+ return (jsxRuntime.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 ? (jsxRuntime.jsxs("div", { className: "tab-group__wrapper", style: groupWrapperStyles, children: [tabList === null || tabList === void 0 ? void 0 : tabList.map(function (item) { return (jsxRuntime.jsx(Tab, { appearance: tabAppearance, label: item.label, isActive: item.isActive }, item.key)); }), children] })) : (jsxRuntime.jsxs(React.Fragment, { children: [tabList === null || tabList === void 0 ? void 0 : tabList.map(function (item) { return (jsxRuntime.jsx(Tab, { appearance: tabAppearance, label: item.label, badgeValue: item.badgeValue, icon: item.icon, iconSrc: item.icon, isActive: item.isActive }, item.key)); }), children] })) }));
134
228
  }
135
229
 
136
230
  exports.Tab = Tab;
@@ -6,7 +6,7 @@ import castArray from 'lodash/castArray';
6
6
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
7
7
  import { useStyles } from '../hooks/useStyles/useStyles.js';
8
8
  import { icon16 } from '@itcase/icons/default';
9
- import { D as Divider } from '../Divider_es_BdU9qjKa.js';
9
+ import { D as Divider } from '../Divider_es_BEYLRagS.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 'lodash/camelCase';
@@ -0,0 +1,43 @@
1
+ import { icon16 } from '@itcase/icons/default';
2
+
3
+ var breadcrumbsListMock = {
4
+ breadcrumbsList: [
5
+ {
6
+ id: '1',
7
+ key: 1,
8
+ text: 'Text 123',
9
+ href: '/',
10
+ icon: icon16.Placeholder,
11
+ },
12
+ {
13
+ id: '2',
14
+ key: 2,
15
+ text: 'Text 123',
16
+ href: '/',
17
+ icon: icon16.Placeholder,
18
+ },
19
+ {
20
+ id: '3',
21
+ key: 3,
22
+ text: 'Text 123',
23
+ href: '/',
24
+ icon: icon16.Placeholder,
25
+ },
26
+ {
27
+ id: '4',
28
+ key: 4,
29
+ text: 'Text 123',
30
+ href: '/',
31
+ icon: icon16.Placeholder,
32
+ },
33
+ {
34
+ id: '5',
35
+ key: 5,
36
+ text: 'Text 123',
37
+ href: '/',
38
+ icon: icon16.Placeholder,
39
+ },
40
+ ],
41
+ };
42
+
43
+ export { breadcrumbsListMock };
@@ -1,9 +1,9 @@
1
- import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
2
1
  import { jsxs, jsx } from 'react/jsx-runtime';
3
2
  import { useMemo } from 'react';
4
3
  import clsx from 'clsx';
5
4
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
6
5
  import { useStyles } from '../hooks/useStyles/useStyles.js';
6
+ import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
7
7
  import { I as Icon } from '../Tooltip_es_D1w1s33u.js';
8
8
  import { a as LinkWrapper } from '../Link_es_DxtZLeKY.js';
9
9
  import { T as Text } from '../Text_es_BRb3qqKM.js';
@@ -91,53 +91,46 @@ var breadcrumbsAppearanceSecondary = {
91
91
 
92
92
  var breadcrumbsAppearanceSize = {
93
93
  sizeXXL: {
94
- textSize: 'xxl',
95
- iconAfterFillSize: '24',
96
- iconAfterSize: '24',
97
- iconBeforeFillSize: '24',
98
- iconBeforeSize: '24',
94
+ size: 'xxl',
95
+ labelTextSize: 'xxl',
96
+ iconFillSize: '24',
97
+ iconSize: '24',
99
98
  },
100
99
  sizeXL: {
101
- textSize: 'l',
102
- iconAfterFillSize: '24',
103
- iconAfterSize: '24',
104
- iconBeforeFillSize: '24',
105
- iconBeforeSize: '24',
100
+ size: 'xl',
101
+ labelTextSize: 'l',
102
+ iconFillSize: '24',
103
+ iconSize: '24',
106
104
  },
107
105
  sizeL: {
108
- textSize: 'l',
109
- iconAfterFillSize: '24',
110
- iconAfterSize: '24',
111
- iconBeforeFillSize: '24',
112
- iconBeforeSize: '24',
106
+ size: 'l',
107
+ labelTextSize: 'l',
108
+ iconFillSize: '24',
109
+ iconSize: '24',
113
110
  },
114
111
  sizeM: {
115
- textSize: 'm',
116
- iconAfterFillSize: '24',
117
- iconAfterSize: '24',
118
- iconBeforeFillSize: '24',
119
- iconBeforeSize: '24',
112
+ size: 'm',
113
+ labelTextSize: 'm',
114
+ iconFillSize: '24',
115
+ iconSize: '24',
120
116
  },
121
117
  sizeS: {
122
- textSize: 's',
123
- iconAfterFillSize: '20',
124
- iconAfterSize: '20',
125
- iconBeforeFillSize: '20',
126
- iconBeforeSize: '20',
118
+ size: 's',
119
+ labelTextSize: 's',
120
+ iconFillSize: '20',
121
+ iconSize: '20',
127
122
  },
128
123
  sizeXS: {
129
- textSize: 'xs',
130
- iconAfterFillSize: '16',
131
- iconAfterSize: '16',
132
- iconBeforeFillSize: '16',
133
- iconBeforeSize: '16',
124
+ size: 'xs',
125
+ labelTextSize: 'xs',
126
+ iconFillSize: '16',
127
+ iconSize: '16',
134
128
  },
135
129
  sizeXXS: {
136
- textSize: 'xs',
137
- iconAfterFillSize: '14',
138
- iconAfterSize: '14',
139
- iconBeforeFillSize: '14',
140
- iconBeforeSize: '14',
130
+ size: 'xxs',
131
+ labelTextSize: 'xs',
132
+ iconFillSize: '14',
133
+ iconSize: '14',
141
134
  },
142
135
  };
143
136
 
@@ -171,11 +164,7 @@ var breadcrumbsAppearanceSurface = {
171
164
  fill: 'surfacePrimary',
172
165
  fillHover: 'surfacePrimaryHover',
173
166
  textColor: 'surfaceTextPrimary',
174
- },
175
- surfaceQuaternary: {
176
- fill: 'surfaceQuaternary',
177
- fillHover: 'surfaceQuaternaryHover',
178
- textColor: 'surfaceTextPrimary',
167
+ iconFillIcon: 'surfaceItemPrimary',
179
168
  },
180
169
  surfaceSecondary: {
181
170
  fill: 'surfaceSecondary',
@@ -187,6 +176,11 @@ var breadcrumbsAppearanceSurface = {
187
176
  fillHover: 'surfaceTertiaryHover',
188
177
  textColor: 'surfaceTextPrimary',
189
178
  },
179
+ surfaceQuaternary: {
180
+ fill: 'surfaceQuaternary',
181
+ fillHover: 'surfaceQuaternaryHover',
182
+ textColor: 'surfaceTextPrimary',
183
+ },
190
184
  };
191
185
 
192
186
  var breadcrumbsAppearanceWarning = {
@@ -200,34 +194,29 @@ var breadcrumbsAppearanceWarning = {
200
194
 
201
195
  var breadcrumbsAppearance = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, breadcrumbsAppearanceSize), breadcrumbsAppearanceStyle), breadcrumbsAppearanceAccent), breadcrumbsAppearanceDanger), breadcrumbsAppearanceError), breadcrumbsAppearanceInfo), breadcrumbsAppearancePrimary), breadcrumbsAppearanceSecondary), breadcrumbsAppearanceSuccess), breadcrumbsAppearanceSurface), breadcrumbsAppearanceWarning);
202
196
 
203
- var breadcrumbsConfig$1 = {
197
+ var breadcrumbsConfig = {
204
198
  appearance: breadcrumbsAppearance};
205
199
  function BreadcrumbsItem(props) {
206
- var className = props.className, appearance = props.appearance, href = props.href, onClick = props.onClick, children = props.children;
200
+ var className = props.className, appearance = props.appearance, href = props.href, isActive = props.isActive, onClick = props.onClick, children = props.children;
207
201
  var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
208
202
  var _a;
209
- return (__assign(__assign({}, resultConfig), (_a = breadcrumbsConfig$1.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
203
+ return (__assign(__assign({}, resultConfig), (_a = breadcrumbsConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
210
204
  }, {});
211
205
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
212
- var fillClass = propsGenerator.fillClass, text = propsGenerator.text, textColor = propsGenerator.textColor, textColorHover = propsGenerator.textColorHover, textSize = propsGenerator.textSize, cursor = propsGenerator.cursor, iconAfter = propsGenerator.iconAfter, iconAfterBgFill = propsGenerator.iconAfterBgFill, iconAfterFill = propsGenerator.iconAfterFill, iconAfterSize = propsGenerator.iconAfterSize, shapeClass = propsGenerator.shapeClass, underlineClass = propsGenerator.underlineClass;
206
+ var fillClass = propsGenerator.fillClass, labelTextColor = propsGenerator.labelTextColor, labelTextColorHover = propsGenerator.labelTextColorHover, labelTextSize = propsGenerator.labelTextSize, text = propsGenerator.text, cursor = propsGenerator.cursor, icon = propsGenerator.icon, iconFill = propsGenerator.iconFill, iconFillIcon = propsGenerator.iconFillIcon, iconFillSize = propsGenerator.iconFillSize, iconShape = propsGenerator.iconShape, iconSize = propsGenerator.iconSize, iconSrc = propsGenerator.iconSrc, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, underlineClass = propsGenerator.underlineClass;
213
207
  // @ts-expect-error
214
208
  var itemStyles = useStyles(props).styles;
215
- return (jsxs(LinkWrapper, { className: clsx(className, 'breadcrumbs__item', fillClass && "fill_".concat(fillClass), shapeClass && "breadcrumbs__item_shape_".concat(shapeClass), underlineClass && "text-decoration_".concat(underlineClass), onClick && (cursor || 'cursor_type_pointer')), href: href, LinkComponent: "div", style: itemStyles, onClick: onClick, children: [jsx(Text, { className: "breadcrumbs__item-text", size: textSize, textColor: textColor, textColorHover: textColorHover, children: text || children }), iconAfter && (jsx(Icon, { className: "breadcrumbs__item-icon", size: iconAfterSize, fill: iconAfterFill, bgFill: iconAfterBgFill, SvgImage: iconAfter }))] }));
209
+ return (jsxs(LinkWrapper, { className: clsx(className, 'breadcrumbs__item', isActive && 'breadcrumbs__item_current', sizeClass && "breadcrumbs__item_size_".concat(sizeClass), shapeClass && "breadcrumbs__item_shape_".concat(shapeClass), fillClass && "fill_".concat(fillClass), underlineClass && "text-decoration_".concat(underlineClass), onClick && (cursor || 'cursor_type_pointer')), href: href, LinkComponent: "div", style: itemStyles, onClick: onClick, children: [jsx(Text, { className: "breadcrumbs__item-text", size: labelTextSize, textColor: labelTextColor, textColorHover: labelTextColorHover, children: text || children }), !isActive && (icon || iconSrc) && (jsx(Icon, { className: clsx('breadcrumbs__item-icon'), fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon }))] }));
216
210
  }
217
211
 
218
- var breadcrumbsConfig = {
219
- appearance: breadcrumbsAppearance};
220
212
  function Breadcrumbs(props) {
221
- var className = props.className, appearance = props.appearance, breadcrumbsList = props.breadcrumbsList, children = props.children;
222
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
223
- var _a;
224
- return (__assign(__assign({}, resultConfig), (_a = breadcrumbsConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
225
- }, {});
226
- var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
227
- var _a = propsGenerator.directionClass, directionClass = _a === void 0 ? 'horizontal' : _a, fillClass = propsGenerator.fillClass, iconAfter = propsGenerator.iconAfter, iconAfterBgFill = propsGenerator.iconAfterBgFill, iconAfterFill = propsGenerator.iconAfterFill, iconAfterSize = propsGenerator.iconAfterSize, textColor = propsGenerator.textColor, textSize = propsGenerator.textSize, textColorHover = propsGenerator.textColorHover, textUnderline = propsGenerator.textUnderline, shapeClass = propsGenerator.shapeClass, widthClass = propsGenerator.widthClass;
213
+ var className = props.className, breadcrumbsAppearance = props.breadcrumbsAppearance, breadcrumbsList = props.breadcrumbsList, children = props.children;
214
+ var propsGenerator = useDevicePropsGenerator(props);
215
+ var _a = propsGenerator.directionClass, directionClass = _a === void 0 ? 'horizontal' : _a, fillClass = propsGenerator.fillClass, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
216
+ console.log(breadcrumbsAppearance);
228
217
  var breadcrumbsItemsList = useMemo(function () {
229
218
  if (breadcrumbsList) {
230
- return breadcrumbsList.map(function (item, i) { return (jsx(BreadcrumbsItem, { className: i + 1 === breadcrumbsList.length && 'breadcrumbs__item_current', text: item.text, textColor: textColor, textColorHover: textColorHover, textSize: textSize, href: item.href, iconAfter: i + 1 === breadcrumbsList.length && iconAfter, iconAfterBgFill: iconAfterBgFill, iconAfterFill: iconAfterFill, iconAfterSize: iconAfterSize, underline: textUnderline }, "breadcrumbsItem_".concat(item.id || item.text))); });
219
+ return breadcrumbsList.map(function (item, i) { return (jsx(BreadcrumbsItem, { appearance: breadcrumbsAppearance, text: item.text, icon: item.icon, iconSrc: item.icon, isActive: i + 1 === breadcrumbsList.length && true }, "breadcrumbsItem_".concat(item.key || item.id || item.text))); });
231
220
  }
232
221
  if (children) {
233
222
  return children;
@@ -235,7 +224,7 @@ function Breadcrumbs(props) {
235
224
  return [];
236
225
  }, [children, breadcrumbsList]);
237
226
  var breadcrumbsStyles = useStyles(props).styles;
238
- return (jsx("div", { className: clsx(className, 'breadcrumbs', widthClass && "width_".concat(widthClass), directionClass && "direction_".concat(directionClass), fillClass && "fill_".concat(fillClass), shapeClass && "breadcrumbs_shape_".concat(shapeClass)), style: breadcrumbsStyles, children: breadcrumbsItemsList }));
227
+ return (jsx("div", { className: clsx(className, 'breadcrumbs', widthClass && "width_".concat(widthClass), directionClass && "direction_".concat(directionClass), fillClass && "fill_".concat(fillClass), sizeClass && "size_".concat(sizeClass), shapeClass && "breadcrumbs_shape_".concat(shapeClass)), style: breadcrumbsStyles, children: breadcrumbsItemsList }));
239
228
  }
240
229
 
241
230
  export { Breadcrumbs, BreadcrumbsItem, breadcrumbsAppearance };
@@ -1,4 +1,4 @@
1
- export { B as Button, a as buttonAppearance, b as buttonConfig } from '../Button_es_zW2pQTwL.js';
1
+ export { B as Button, a as buttonAppearance, b as buttonConfig } from '../Button_es_Dp6yFZgn.js';
2
2
  import '../tslib.es6_es_Bwu1Cn-t.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
@@ -21,4 +21,4 @@ import '../hooks/useStyles/styleAttributes.js';
21
21
  import '../Text_es_BRb3qqKM.js';
22
22
  import 'react-inlinesvg';
23
23
  import '../Link_es_DxtZLeKY.js';
24
- import '../Loader_es_DEYowVdU.js';
24
+ import '../Loader_es_DHKB6tTw.js';
@@ -4,7 +4,7 @@ import clsx from 'clsx';
4
4
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
5
5
  import { useStyles } from '../hooks/useStyles/useStyles.js';
6
6
  import { I as Icon } from '../Tooltip_es_D1w1s33u.js';
7
- import { L as Label } from '../Label_es_CFQzN-2m.js';
7
+ import { L as Label } from '../Label_es_BtwZ3a2V.js';
8
8
  import { T as Text } from '../Text_es_BRb3qqKM.js';
9
9
  import 'react';
10
10
  import 'lodash/camelCase';
@@ -5,7 +5,7 @@ import clsx from 'clsx';
5
5
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
6
6
  import { useStyles } from '../hooks/useStyles/useStyles.js';
7
7
  import { I as Icon } from '../Tooltip_es_D1w1s33u.js';
8
- import { L as Loader } from '../Loader_es_DEYowVdU.js';
8
+ import { L as Loader } from '../Loader_es_DHKB6tTw.js';
9
9
  import { T as Text } from '../Text_es_BRb3qqKM.js';
10
10
  import 'lodash/camelCase';
11
11
  import 'lodash/castArray';
@@ -3,7 +3,7 @@ import { useRef, useMemo, useCallback, useEffect } from 'react';
3
3
  import clsx from 'clsx';
4
4
  import Cookies from 'js-cookie';
5
5
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
6
- import { B as Button } from '../Button_es_zW2pQTwL.js';
6
+ import { B as Button } from '../Button_es_Dp6yFZgn.js';
7
7
  import { G as Group } from '../Group_es_CYW2Hquh.js';
8
8
  import { T as Text } from '../Text_es_BRb3qqKM.js';
9
9
  import '../tslib.es6_es_Bwu1Cn-t.js';
@@ -23,7 +23,7 @@ import 'lodash/maxBy';
23
23
  import '../hooks/useStyles/styleAttributes.js';
24
24
  import 'react-inlinesvg';
25
25
  import '../Link_es_DxtZLeKY.js';
26
- import '../Loader_es_DEYowVdU.js';
26
+ import '../Loader_es_DHKB6tTw.js';
27
27
 
28
28
  function CookiesWarning(props) {
29
29
  var className = props.className, message = props.message, _a = props.isHideOnScroll, isHideOnScroll = _a === void 0 ? false : _a;
@@ -1,7 +1,7 @@
1
1
  import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
2
2
  import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import clsx from 'clsx';
4
- import { D as DatePickerInput } from '../DatePicker_es_5r0isX1_.js';
4
+ import { D as DatePickerInput } from '../DatePicker_es_Bm_onmmb.js';
5
5
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
6
6
  import { b as ChipsGroup, C as Chips } from '../ChipsGroup_es_BFxBhYNB.js';
7
7
  import 'react';
@@ -19,14 +19,14 @@ import '../hooks/useMediaQueries/useMediaQueries.js';
19
19
  import 'react-responsive';
20
20
  import '../utils/setViewportProperty.js';
21
21
  import '../hooks/useStyles/styleAttributes.js';
22
- import '../Button_es_zW2pQTwL.js';
22
+ import '../Button_es_Dp6yFZgn.js';
23
23
  import '../Tooltip_es_D1w1s33u.js';
24
24
  import '../Text_es_BRb3qqKM.js';
25
25
  import 'react-inlinesvg';
26
26
  import '../Link_es_DxtZLeKY.js';
27
- import '../Loader_es_DEYowVdU.js';
27
+ import '../Loader_es_DHKB6tTw.js';
28
28
  import '../Input_es_CNduH28G.js';
29
- import '../Label_es_CFQzN-2m.js';
29
+ import '../Label_es_BtwZ3a2V.js';
30
30
  import '@itcase/icons/default';
31
31
  import 'lodash/castArray';
32
32
 
@@ -1,4 +1,4 @@
1
- export { D as DatePickerInput, a as datePickerAppearance, d as datePickerConfig } from '../DatePicker_es_5r0isX1_.js';
1
+ export { D as DatePickerInput, a as datePickerAppearance, d as datePickerConfig } from '../DatePicker_es_Bm_onmmb.js';
2
2
  import '../tslib.es6_es_Bwu1Cn-t.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
@@ -19,12 +19,12 @@ import '../utils/setViewportProperty.js';
19
19
  import '../hooks/useStyles/useStyles.js';
20
20
  import 'lodash/maxBy';
21
21
  import '../hooks/useStyles/styleAttributes.js';
22
- import '../Button_es_zW2pQTwL.js';
22
+ import '../Button_es_Dp6yFZgn.js';
23
23
  import '../Tooltip_es_D1w1s33u.js';
24
24
  import '../Text_es_BRb3qqKM.js';
25
25
  import 'react-inlinesvg';
26
26
  import '../Link_es_DxtZLeKY.js';
27
- import '../Loader_es_DEYowVdU.js';
27
+ import '../Loader_es_DHKB6tTw.js';
28
28
  import '../Input_es_CNduH28G.js';
29
- import '../Label_es_CFQzN-2m.js';
29
+ import '../Label_es_BtwZ3a2V.js';
30
30
  import '@itcase/icons/default';
@@ -1,4 +1,4 @@
1
- export { D as Divider, a as dividerAppearance, d as dividerConfig } from '../Divider_es_BdU9qjKa.js';
1
+ export { D as Divider, a as dividerAppearance, d as dividerConfig } from '../Divider_es_BEYLRagS.js';
2
2
  import '../tslib.es6_es_Bwu1Cn-t.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'clsx';