@itcase/ui 1.8.36 → 1.8.37

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 (140) hide show
  1. package/dist/{Avatar_cjs_DBoMi2WA.js → Avatar_cjs_nMPCDjk8.js} +1 -1
  2. package/dist/{Avatar_es_DHREqfOD.js → Avatar_es_B73a6TzA.js} +1 -1
  3. package/dist/{Button_cjs_djJUZATX.js → Button_cjs_plv5-qcj.js} +10 -1
  4. package/dist/{Button_es_X1DzVhok.js → Button_es_BigB2Wz6.js} +10 -1
  5. package/dist/{ChipsGroup_cjs_5xsEchPo.js → ChipsGroup_cjs_DrOhD-Fc.js} +2 -4
  6. package/dist/{ChipsGroup_es_4TOkv-fm.js → ChipsGroup_es_B9m4l0wN.js} +2 -4
  7. package/dist/{DatePicker_cjs_DffhgUnQ.js → DatePicker_cjs_CmqgSNw7.js} +3 -3
  8. package/dist/{DatePicker_es_GmkagjKf.js → DatePicker_es_mk9wFTe9.js} +3 -3
  9. package/dist/{DropdownItem_cjs_DxBpJAi9.js → DropdownItem_cjs_DQvByLbN.js} +1 -1
  10. package/dist/{DropdownItem_es_Loneq6M7.js → DropdownItem_es_KppIfto7.js} +1 -1
  11. package/dist/{Label_cjs_C88e2CIP.js → Label_cjs_BGJfyrOL.js} +50 -48
  12. package/dist/{Label_es_Bn2aRjLl.js → Label_es_C4Px7b-N.js} +50 -48
  13. package/dist/{Tooltip_cjs_oS1iOamX.js → Tooltip_cjs_DHduWa-v.js} +72 -68
  14. package/dist/{Tooltip_es_LV5ZNg3B.js → Tooltip_es_ltCY-w4M.js} +72 -68
  15. package/dist/cjs/components/Accordion.js +1 -1
  16. package/dist/cjs/components/Avatar.js +2 -2
  17. package/dist/cjs/components/AvatarStack.js +2 -2
  18. package/dist/cjs/components/Badge.js +1 -1
  19. package/dist/cjs/components/Breadcrumbs/stories/__mock__.js +32 -48
  20. package/dist/cjs/components/Breadcrumbs.js +38 -120
  21. package/dist/cjs/components/Button.js +2 -2
  22. package/dist/cjs/components/Cell.js +2 -2
  23. package/dist/cjs/components/Chips/stories/__mock__.js +2 -2
  24. package/dist/cjs/components/Chips.js +2 -2
  25. package/dist/cjs/components/Choice.js +16 -14
  26. package/dist/cjs/components/CookiesWarning.js +2 -2
  27. package/dist/cjs/components/DatePeriod.js +5 -5
  28. package/dist/cjs/components/DatePicker.js +4 -4
  29. package/dist/cjs/components/Drawer.js +1 -1
  30. package/dist/cjs/components/Dropdown/stories/__mock__.js +103 -33
  31. package/dist/cjs/components/Dropdown.js +2 -2
  32. package/dist/cjs/components/HeroTitle.js +1 -1
  33. package/dist/cjs/components/Icon.js +1 -1
  34. package/dist/cjs/components/InputPassword.js +1 -1
  35. package/dist/cjs/components/Label.js +2 -2
  36. package/dist/cjs/components/MenuItem.js +7 -9
  37. package/dist/cjs/components/Modal.js +1 -1
  38. package/dist/cjs/components/Notification.js +3 -8
  39. package/dist/cjs/components/Pagination.js +2 -2
  40. package/dist/cjs/components/Response.js +2 -2
  41. package/dist/cjs/components/Search.js +1 -1
  42. package/dist/cjs/components/Segmented/stories/__mock__.js +11 -11
  43. package/dist/cjs/components/Segmented.js +28 -25
  44. package/dist/cjs/components/Select.js +1 -1
  45. package/dist/cjs/components/Swiper.js +1 -1
  46. package/dist/cjs/components/Tab.js +1 -1
  47. package/dist/cjs/components/Tile.js +1 -1
  48. package/dist/cjs/components/Title.js +1 -1
  49. package/dist/cjs/components/Tooltip.js +1 -1
  50. package/dist/components/Accordion.js +1 -1
  51. package/dist/components/Avatar.js +2 -2
  52. package/dist/components/AvatarStack.js +2 -2
  53. package/dist/components/Badge.js +1 -1
  54. package/dist/components/Breadcrumbs/stories/__mock__.js +33 -48
  55. package/dist/components/Breadcrumbs.js +38 -120
  56. package/dist/components/Button.js +2 -2
  57. package/dist/components/Cell.js +2 -2
  58. package/dist/components/Chips/stories/__mock__.js +2 -2
  59. package/dist/components/Chips.js +2 -2
  60. package/dist/components/Choice.js +16 -14
  61. package/dist/components/CookiesWarning.js +2 -2
  62. package/dist/components/DatePeriod.js +5 -5
  63. package/dist/components/DatePicker.js +4 -4
  64. package/dist/components/Drawer.js +1 -1
  65. package/dist/components/Dropdown/stories/__mock__.js +101 -34
  66. package/dist/components/Dropdown.js +2 -2
  67. package/dist/components/HeroTitle.js +1 -1
  68. package/dist/components/Icon.js +1 -1
  69. package/dist/components/InputPassword.js +1 -1
  70. package/dist/components/Label.js +2 -2
  71. package/dist/components/MenuItem.js +7 -9
  72. package/dist/components/Modal.js +1 -1
  73. package/dist/components/Notification.js +3 -8
  74. package/dist/components/Pagination.js +2 -2
  75. package/dist/components/Response.js +2 -2
  76. package/dist/components/Search.js +1 -1
  77. package/dist/components/Segmented/stories/__mock__.js +8 -8
  78. package/dist/components/Segmented.js +28 -25
  79. package/dist/components/Select.js +1 -1
  80. package/dist/components/Swiper.js +1 -1
  81. package/dist/components/Tab.js +1 -1
  82. package/dist/components/Tile.js +1 -1
  83. package/dist/components/Title.js +1 -1
  84. package/dist/components/Tooltip.js +1 -1
  85. package/dist/css/components/Breadcrumbs/Breadcrumbs.css +24 -0
  86. package/dist/css/components/Icon/Icon.css +24 -0
  87. package/dist/css/components/MenuItem/MenuItem.css +31 -0
  88. package/dist/css/components/Notification/Notification.css +0 -48
  89. package/dist/css/components/Segmented/Segmented.css +16 -7
  90. package/dist/css/components/Segmented/css/__item/segmaented__item.css +2 -5
  91. package/dist/stories/BreadcrumbsPlsyground.mdx +1 -1
  92. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsAccent.d.ts +2 -12
  93. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSize.d.ts +7 -14
  94. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsStyle.d.ts +1 -3
  95. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSurface.d.ts +11 -8
  96. package/dist/types/components/Breadcrumbs/stories/__mock__/index.d.ts +6 -32
  97. package/dist/types/components/Button/appearance/buttonSurface.d.ts +9 -0
  98. package/dist/types/components/Chips/appearance/chipsStyle.d.ts +1 -3
  99. package/dist/types/components/Choice/appearance/choiceDefault.d.ts +1 -0
  100. package/dist/types/components/Choice/appearance/choiceDisabled.d.ts +1 -1
  101. package/dist/types/components/Choice/appearance/choiceError.d.ts +1 -0
  102. package/dist/types/components/Choice/appearance/choiceRequire.d.ts +1 -0
  103. package/dist/types/components/Choice/appearance/choiceStyle.d.ts +1 -3
  104. package/dist/types/components/Choice/appearance/choiceSuccess.d.ts +1 -0
  105. package/dist/types/components/Dropdown/stories/__mock__/index.d.ts +87 -44
  106. package/dist/types/components/Icon/appearance/iconAccent.d.ts +2 -4
  107. package/dist/types/components/Icon/appearance/iconDanger.d.ts +2 -4
  108. package/dist/types/components/Icon/appearance/iconDisabled.d.ts +12 -0
  109. package/dist/types/components/Icon/appearance/iconError.d.ts +4 -4
  110. package/dist/types/components/Icon/appearance/iconInfo.d.ts +7 -4
  111. package/dist/types/components/Icon/appearance/iconPrimary.d.ts +4 -2
  112. package/dist/types/components/Icon/appearance/iconSecondary.d.ts +2 -2
  113. package/dist/types/components/Icon/appearance/iconStyle.d.ts +4 -6
  114. package/dist/types/components/Icon/appearance/iconSuccess.d.ts +0 -2
  115. package/dist/types/components/Icon/appearance/iconSurface.d.ts +0 -5
  116. package/dist/types/components/Icon/appearance/iconWarning.d.ts +4 -4
  117. package/dist/types/components/Label/appearance/labelPrimary.d.ts +1 -0
  118. package/dist/types/components/Label/appearance/labelSurface.d.ts +1 -0
  119. package/dist/types/components/MenuItem/appearance/menuItemStyle.d.ts +4 -6
  120. package/dist/types/components/Notification/appearance/notificationDefault.d.ts +0 -1
  121. package/dist/types/components/Notification/appearance/notificationError.d.ts +0 -1
  122. package/dist/types/components/Notification/appearance/notificationInfo.d.ts +0 -1
  123. package/dist/types/components/Notification/appearance/notificationSuccess.d.ts +0 -1
  124. package/dist/types/components/Notification/appearance/notificationWarning.d.ts +0 -1
  125. package/dist/types/components/Segmented/appearance/segmentedDefault.d.ts +1 -1
  126. package/dist/types/components/Segmented/appearance/segmentedDisabled.d.ts +2 -2
  127. package/dist/types/components/Segmented/appearance/segmentedError.d.ts +3 -1
  128. package/dist/types/components/Segmented/appearance/segmentedStyle.d.ts +3 -5
  129. package/dist/types/components/Segmented/appearance/segmentedSuccess.d.ts +3 -2
  130. package/dist/types/components/Segmented/appearance/segmentedWarning.d.ts +2 -1
  131. package/dist/types/components/Segmented/stories/__mock__/index.d.ts +5 -5
  132. package/package.json +7 -7
  133. package/dist/css/components/Notification/css/__item/notification__item_status.css +0 -48
  134. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsDanger.d.ts +0 -7
  135. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsError.d.ts +0 -9
  136. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsInfo.d.ts +0 -17
  137. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsPrimary.d.ts +0 -8
  138. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSecondary.d.ts +0 -8
  139. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSuccess.d.ts +0 -9
  140. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsWarning.d.ts +0 -9
@@ -6,9 +6,10 @@ var clsx = require('clsx');
6
6
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
7
7
  var useStyles = require('../hooks/useStyles/useStyles.js');
8
8
  var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
9
- var Tooltip = require('../../Tooltip_cjs_oS1iOamX.js');
9
+ var Tooltip = require('../../Tooltip_cjs_DHduWa-v.js');
10
10
  var Link = require('../../Link_cjs_DbRGq2Yk.js');
11
11
  var Text = require('../../Text_cjs_C9fOm0nd.js');
12
+ var _default = require('@itcase/icons/default');
12
13
  require('lodash/camelCase');
13
14
  require('lodash/castArray');
14
15
  require('lodash/upperFirst');
@@ -24,70 +25,11 @@ require('../hooks/useStyles/styleAttributes.js');
24
25
  require('react-inlinesvg');
25
26
 
26
27
  var breadcrumbsAppearanceAccent = {
27
- accent: {
28
- fill: 'accentPrimary',
29
- fillHover: 'accentPrimaryHover',
30
- },
31
28
  accentPrimary: {
32
29
  fill: 'accentPrimary',
33
- fillHover: 'accentPrimaryHover',
34
- borderColor: 'accentBorderPrimary',
35
- },
36
- accentSecondary: {
37
- fill: 'accentPrimary',
38
- fillHover: 'accentPrimaryHover',
39
- textColor: 'accentTextSecondary',
40
- textColorHover: 'accentTextSecondary',
30
+ labelTextColor: 'accentTextPrimary',
41
31
  borderColor: 'accentBorderPrimary',
42
- },
43
- };
44
-
45
- var breadcrumbsAppearanceDanger = {
46
- danger: {
47
- fill: 'dangerPrimary',
48
- fillHover: 'dangerPrimaryHover',
49
- },
50
- };
51
-
52
- var breadcrumbsAppearanceError = {
53
- error: {
54
- fill: 'errorPrimary',
55
- fillHover: 'errorPrimaryHover',
56
- textColor: 'errorTextPrimary',
57
- textColorHover: 'errorTextPrimary',
58
- },
59
- };
60
-
61
- var breadcrumbsAppearanceInfo = {
62
- info: {
63
- fill: 'accentPrimary',
64
- fillHover: 'accentPrimaryHover',
65
- textColor: 'accentTextPrimary',
66
- textColorHover: 'accentTextPrimary',
67
- borderColor: 'accentBorderPrimary',
68
- },
69
- infoSecondary: {
70
- fill: 'accentPrimary',
71
- fillHover: 'accentPrimaryHover',
72
- textColor: 'accentTextSecondary',
73
- textColorHover: 'accentTextSecondary',
74
- borderColor: 'accentBorderPrimary',
75
- },
76
- };
77
-
78
- var breadcrumbsAppearancePrimary = {
79
- primary: {
80
- fill: 'primaryPrimary',
81
- fillHover: 'primaryPrimaryHover',
82
- textColor: 'primaryTextPrimary',
83
- },
84
- };
85
-
86
- var breadcrumbsAppearanceSecondary = {
87
- secondary: {
88
- fill: 'secondaryPrimary',
89
- fillHover: 'secondaryPrimaryHover',
90
- textColor: 'secondaryTextPrimary',
32
+ iconFillIcon: 'accentItemPrimary',
91
33
  },
92
34
  };
93
35
 
@@ -95,137 +37,113 @@ var breadcrumbsAppearanceSize = {
95
37
  sizeXXL: {
96
38
  size: 'xxl',
97
39
  labelTextSize: 'xxl',
98
- iconFillSize: '24',
99
- iconSize: '24',
40
+ icon: _default.icons24.Arrow.ChevronRightSmall,
100
41
  },
101
42
  sizeXL: {
102
43
  size: 'xl',
103
- labelTextSize: 'l',
104
- iconFillSize: '24',
105
- iconSize: '24',
44
+ labelTextSize: 'xl',
45
+ icon: _default.icons24.Arrow.ChevronRightSmall,
106
46
  },
107
47
  sizeL: {
108
48
  size: 'l',
109
49
  labelTextSize: 'l',
110
- iconFillSize: '20',
111
- iconSize: '20',
50
+ icon: _default.icons20.Arrow.ChevronRightSmall,
112
51
  },
113
52
  sizeM: {
114
53
  size: 'm',
115
- labelTextSize: 'm',
116
- iconFillSize: '16',
117
- iconSize: '16',
54
+ labelTextSize: 'l',
55
+ icon: _default.icons16.Arrow.ChevronRightSmall,
118
56
  },
119
57
  sizeS: {
120
58
  size: 's',
121
- labelTextSize: 's',
122
- iconFillSize: '16',
123
- iconSize: '16',
59
+ labelTextSize: 'm',
60
+ icon: _default.icons16.Arrow.ChevronRightSmall,
124
61
  },
125
62
  sizeXS: {
126
63
  size: 'xs',
127
- labelTextSize: 'xs',
128
- iconFillSize: '14',
129
- iconSize: '14',
64
+ labelTextSize: 's',
65
+ icon: _default.icons14.Arrow.ChevronRightSmall,
130
66
  },
131
67
  sizeXXS: {
132
68
  size: 'xxs',
133
69
  labelTextSize: 'xs',
134
- iconFillSize: '12',
135
- iconSize: '12',
70
+ icon: _default.icons12.Arrow.ChevronRightSmall,
136
71
  },
137
72
  };
138
73
 
139
74
  var breadcrumbsAppearanceStyle = {
140
75
  solid: {
141
- borderColor: '0',
76
+ borderColor: 'none',
142
77
  },
143
78
  outlined: {
144
79
  fill: 'none',
145
80
  },
146
- full: {
147
- borderColor: '0',
148
- },
81
+ full: {},
149
82
  ghost: {
150
83
  fill: 'none',
151
- borderColor: '0',
152
- },
153
- };
154
-
155
- var breadcrumbsAppearanceSuccess = {
156
- success: {
157
- fill: 'successPrimary',
158
- fillHover: 'successPrimaryHover',
159
- textColor: 'successTextSecondary',
160
- textColorHover: 'successTextSecondary',
84
+ borderColor: 'none',
161
85
  },
162
86
  };
163
87
 
164
88
  var breadcrumbsAppearanceSurface = {
165
89
  surfacePrimary: {
166
90
  fill: 'surfacePrimary',
167
- fillHover: 'surfacePrimaryHover',
168
- textColor: 'surfaceTextPrimary',
91
+ labelTextColor: 'surfaceTextPrimary',
92
+ borderColor: 'surfaceBorderPrimary',
169
93
  iconFillIcon: 'surfaceItemPrimary',
170
94
  },
171
95
  surfaceSecondary: {
172
96
  fill: 'surfaceSecondary',
173
- fillHover: 'surfaceSecondaryHover',
174
- textColor: 'surfaceTextPrimary',
97
+ labelTextColor: 'surfaceTextPrimary',
98
+ borderColor: 'surfaceBorderSecondary',
99
+ iconFillIcon: 'surfaceItemPrimary',
175
100
  },
176
101
  surfaceTertiary: {
177
102
  fill: 'surfaceTertiary',
178
- fillHover: 'surfaceTertiaryHover',
179
- textColor: 'surfaceTextPrimary',
103
+ labelTextColor: 'surfaceTextPrimary',
104
+ borderColor: 'surfaceBorderTertiary',
105
+ iconFillIcon: 'surfaceItemPrimary',
180
106
  },
181
107
  surfaceQuaternary: {
182
108
  fill: 'surfaceQuaternary',
183
- fillHover: 'surfaceQuaternaryHover',
184
- textColor: 'surfaceTextPrimary',
185
- },
186
- };
187
-
188
- var breadcrumbsAppearanceWarning = {
189
- warning: {
190
- fill: 'warningPrimary',
191
- fillHover: 'warningPrimaryHover',
192
- textColor: 'warningTextSecondary',
193
- textColorHover: 'warningTextSecondary',
109
+ labelTextColor: 'surfaceTextInverse',
110
+ borderColor: 'surfaceBorderQuaternary',
111
+ iconFillIcon: 'surfaceItemInverse',
194
112
  },
195
113
  };
196
114
 
197
- var breadcrumbsAppearance = tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign({}, breadcrumbsAppearanceSize), breadcrumbsAppearanceStyle), breadcrumbsAppearanceAccent), breadcrumbsAppearanceDanger), breadcrumbsAppearanceError), breadcrumbsAppearanceInfo), breadcrumbsAppearancePrimary), breadcrumbsAppearanceSecondary), breadcrumbsAppearanceSuccess), breadcrumbsAppearanceSurface), breadcrumbsAppearanceWarning);
115
+ var breadcrumbsAppearance = tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign({}, breadcrumbsAppearanceSize), breadcrumbsAppearanceStyle), breadcrumbsAppearanceAccent), breadcrumbsAppearanceSurface);
198
116
 
199
117
  var breadcrumbsConfig = {
200
118
  appearance: breadcrumbsAppearance};
201
119
  function BreadcrumbsItem(props) {
202
- var className = props.className, appearance = props.appearance, href = props.href, isActive = props.isActive, onClick = props.onClick, children = props.children;
120
+ var className = props.className, appearance = props.appearance, href = props.href, isActive = props.isActive, isSkeleton = props.isSkeleton, onClick = props.onClick, children = props.children;
203
121
  var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
204
122
  var _a;
205
123
  return (tslib_es6.__assign(tslib_es6.__assign({}, resultConfig), (_a = breadcrumbsConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
206
124
  }, {});
207
125
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
208
- 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;
126
+ var fillClass = propsGenerator.fillClass, labelTextColor = propsGenerator.labelTextColor, labelTextColorHover = propsGenerator.labelTextColorHover, labelTextSize = propsGenerator.labelTextSize, borderColorClass = propsGenerator.borderColorClass, 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;
209
127
  // @ts-expect-error
210
128
  var itemStyles = useStyles.useStyles(props).styles;
211
- return (jsxRuntime.jsxs(Link.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: [jsxRuntime.jsx(Text.Text, { className: "breadcrumbs__item-text", size: labelTextSize, textColor: labelTextColor, textColorHover: labelTextColorHover, children: text || children }), !isActive && (icon || iconSrc) && (jsxRuntime.jsx(Tooltip.Icon, { className: clsx('breadcrumbs__item-icon'), fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon }))] }));
129
+ return (jsxRuntime.jsxs(Link.LinkWrapper, { className: clsx(className, 'breadcrumbs__item', borderColorClass && "border-color_".concat(borderColorClass), 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), isSkeleton && "breadcrumbs__item_skeleton", onClick && (cursor || 'cursor_type_pointer')), href: href, LinkComponent: "div", style: itemStyles, onClick: onClick, children: [jsxRuntime.jsx(Text.Text, { className: "breadcrumbs__item-text", size: labelTextSize, textColor: labelTextColor, textColorHover: labelTextColorHover, children: text || children }), !isActive && (icon || iconSrc) && (jsxRuntime.jsx(Tooltip.Icon, { className: clsx('breadcrumbs__item-icon'), fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon }))] }));
212
130
  }
213
131
 
214
132
  function Breadcrumbs(props) {
215
- var className = props.className, breadcrumbsAppearance = props.breadcrumbsAppearance, breadcrumbsList = props.breadcrumbsList, children = props.children;
133
+ var className = props.className, appearance = props.appearance, breadcrumbsList = props.breadcrumbsList, isSkeleton = props.isSkeleton, children = props.children;
216
134
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props);
217
- var _a = propsGenerator.directionClass, directionClass = _a === void 0 ? 'horizontal' : _a, fillClass = propsGenerator.fillClass, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
135
+ var _a = propsGenerator.directionClass, directionClass = _a === void 0 ? 'horizontal' : _a, widthClass = propsGenerator.widthClass;
218
136
  var breadcrumbsItemsList = React.useMemo(function () {
219
137
  if (breadcrumbsList) {
220
- return breadcrumbsList.map(function (item, i) { return (jsxRuntime.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))); });
138
+ return breadcrumbsList.map(function (item, i) { return (jsxRuntime.jsx(BreadcrumbsItem, { appearance: appearance, text: item.text, icon: item.icon, iconSrc: item.icon, isActive: i + 1 === breadcrumbsList.length && true, isSkeleton: isSkeleton }, "breadcrumbsItem_".concat(item.key || item.id || item.text))); });
221
139
  }
222
140
  if (children) {
223
141
  return children;
224
142
  }
225
143
  return [];
226
- }, [children, breadcrumbsList, breadcrumbsAppearance]);
144
+ }, [children, breadcrumbsList, appearance]);
227
145
  var breadcrumbsStyles = useStyles.useStyles(props).styles;
228
- return (jsxRuntime.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 }));
146
+ return (jsxRuntime.jsx("div", { className: clsx(className, 'breadcrumbs', widthClass && "width_".concat(widthClass), directionClass && "direction_".concat(directionClass)), style: breadcrumbsStyles, children: breadcrumbsItemsList }));
229
147
  }
230
148
 
231
149
  exports.Breadcrumbs = Breadcrumbs;
@@ -1,11 +1,11 @@
1
1
  'use strict';
2
2
 
3
- var Button = require('../../Button_cjs_djJUZATX.js');
3
+ var Button = require('../../Button_cjs_plv5-qcj.js');
4
4
  require('../../tslib.es6_cjs_CCZ3TN_7.js');
5
5
  require('react/jsx-runtime');
6
6
  require('react');
7
7
  require('clsx');
8
- require('../../Tooltip_cjs_oS1iOamX.js');
8
+ require('../../Tooltip_cjs_DHduWa-v.js');
9
9
  require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
10
10
  require('lodash/camelCase');
11
11
  require('lodash/castArray');
@@ -5,8 +5,8 @@ var jsxRuntime = require('react/jsx-runtime');
5
5
  var clsx = require('clsx');
6
6
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
7
7
  var useStyles = require('../hooks/useStyles/useStyles.js');
8
- var Tooltip = require('../../Tooltip_cjs_oS1iOamX.js');
9
- var Label = require('../../Label_cjs_C88e2CIP.js');
8
+ var Tooltip = require('../../Tooltip_cjs_DHduWa-v.js');
9
+ var Label = require('../../Label_cjs_BGJfyrOL.js');
10
10
  var Text = require('../../Text_cjs_C9fOm0nd.js');
11
11
  require('react');
12
12
  require('lodash/camelCase');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var am = require('@itcase/icons/am');
3
+ var _default = require('@itcase/icons/default');
4
4
 
5
5
  var chipsListMock = {
6
6
  chipsList: [
@@ -22,7 +22,7 @@ var chipsListMock = {
22
22
  {
23
23
  id: 4,
24
24
  label: 'Chips 4',
25
- iconAfter: am.icon24.Check,
25
+ iconAfter: _default.icons20.Form.Check,
26
26
  isActive: false,
27
27
  },
28
28
  ],
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var ChipsGroup = require('../../ChipsGroup_cjs_5xsEchPo.js');
3
+ var ChipsGroup = require('../../ChipsGroup_cjs_DrOhD-Fc.js');
4
4
  require('react/jsx-runtime');
5
5
  require('clsx');
6
6
  require('../../tslib.es6_cjs_CCZ3TN_7.js');
@@ -19,7 +19,7 @@ require('../utils/setViewportProperty.js');
19
19
  require('../hooks/useStyles/useStyles.js');
20
20
  require('lodash/maxBy');
21
21
  require('../hooks/useStyles/styleAttributes.js');
22
- require('../../Tooltip_cjs_oS1iOamX.js');
22
+ require('../../Tooltip_cjs_DHduWa-v.js');
23
23
  require('../../Text_cjs_C9fOm0nd.js');
24
24
  require('react-inlinesvg');
25
25
  require('../../Link_cjs_DbRGq2Yk.js');
@@ -6,7 +6,7 @@ var React = require('react');
6
6
  var clsx = require('clsx');
7
7
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
8
8
  var useStyles = require('../hooks/useStyles/useStyles.js');
9
- var Tooltip = require('../../Tooltip_cjs_oS1iOamX.js');
9
+ var Tooltip = require('../../Tooltip_cjs_DHduWa-v.js');
10
10
  var Loader = require('../../Loader_cjs_Ca4i0sER.js');
11
11
  var Text = require('../../Text_cjs_C9fOm0nd.js');
12
12
  require('lodash/camelCase');
@@ -30,6 +30,7 @@ var choiceAppearanceDefault = {
30
30
  fillItem: 'surfaceItemSecondary',
31
31
  fillItemActive: 'surfaceItemQuaternary',
32
32
  fillItemHover: 'surfaceItemHover',
33
+ labelTextActiveColor: 'surfaceTextInverse',
33
34
  labelTextColor: 'surfaceTextPrimary',
34
35
  borderColor: 'surfaceBorderQuaternary',
35
36
  iconAfterFill: 'surfaceItemQuaternary',
@@ -43,10 +44,10 @@ var choiceAppearanceDefault = {
43
44
 
44
45
  var choiceAppearanceDisabled = {
45
46
  disabledPrimary: {
46
- fill: 'surfaceDisabled',
47
- fillItem: 'surfaceItemDisabled',
48
- fillItemActive: 'surfaceItemPrimary',
49
- fillItemHover: 'surfaceItemHover',
47
+ fill: 'surfaceTertiary',
48
+ fillItem: 'surfaceTertiary',
49
+ fillItemActive: 'surfaceItemTertiary',
50
+ labelTextActiveColor: 'surfaceTextQuaternary',
50
51
  labelTextColor: 'surfaceTextQuaternary',
51
52
  borderColor: 'surfaceBorderPrimary',
52
53
  iconAfterFill: 'surfaceItemPrimary',
@@ -64,7 +65,8 @@ var choiceAppearanceError = {
64
65
  fillItem: 'errorItemTertiary',
65
66
  fillItemActive: 'errorItemSecondary',
66
67
  fillItemHover: 'errorItemHover',
67
- labelTextColor: 'surfaceTextPrimary',
68
+ labelTextActiveColor: 'errorTextPrimary',
69
+ labelTextColor: 'errorTextSecondary',
68
70
  borderColor: 'errorBorderQuaternary',
69
71
  iconAfterFill: 'errorItemSecondary',
70
72
  iconAfterFillActive: 'errorItemTertiary',
@@ -81,7 +83,8 @@ var choiceAppearanceRequire = {
81
83
  fillItem: 'warningTertiary',
82
84
  fillItemActive: 'warningItemSecondary',
83
85
  fillItemHover: 'warningItemHover',
84
- labelTextColor: 'surfaceTextPrimary',
86
+ labelTextActiveColor: 'warningTextPrimary',
87
+ labelTextColor: 'warningTextSecondary',
85
88
  borderColor: 'warningBorderSecondary',
86
89
  iconAfterFill: 'warningItemSecondary',
87
90
  iconAfterFillActive: 'warningTertiary',
@@ -112,21 +115,19 @@ var choiceAppearanceSize = {
112
115
 
113
116
  var choiceAppearanceStyle = {
114
117
  solid: {
115
- borderColor: '0',
118
+ borderColor: 'none',
116
119
  },
117
120
  outlined: {
118
121
  fill: 'none',
119
122
  fillItem: 'none',
120
123
  fillItemActive: 'none',
121
124
  },
122
- full: {
123
- borderColor: '0',
124
- },
125
+ full: {},
125
126
  ghost: {
126
127
  fill: 'none',
127
128
  fillItem: 'none',
128
129
  fillItemActive: 'none',
129
- borderColor: '0',
130
+ borderColor: 'none',
130
131
  },
131
132
  };
132
133
 
@@ -135,8 +136,9 @@ var choiceAppearanceSuccess = {
135
136
  fill: 'successTertiary',
136
137
  fillItem: 'successTertiary',
137
138
  fillItemActive: 'successItemSecondary',
138
- fillItemHover: 'accentItemHover',
139
- labelTextColor: 'surfaceTextPrimary',
139
+ fillItemHover: 'successItemHover',
140
+ labelTextActiveColor: 'successTextPrimary',
141
+ labelTextColor: 'successTextSecondary',
140
142
  borderColor: 'successBorderSecondary',
141
143
  iconAfterFill: 'successItemSecondary',
142
144
  iconAfterFillActive: 'successTertiary',
@@ -6,7 +6,7 @@ var React = require('react');
6
6
  var clsx = require('clsx');
7
7
  var Cookies = require('js-cookie');
8
8
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
9
- var Button = require('../../Button_cjs_djJUZATX.js');
9
+ var Button = require('../../Button_cjs_plv5-qcj.js');
10
10
  var Text = require('../../Text_cjs_C9fOm0nd.js');
11
11
  require('lodash/camelCase');
12
12
  require('lodash/castArray');
@@ -18,7 +18,7 @@ require('../context/UIContext.js');
18
18
  require('../hooks/useMediaQueries/useMediaQueries.js');
19
19
  require('react-responsive');
20
20
  require('../utils/setViewportProperty.js');
21
- require('../../Tooltip_cjs_oS1iOamX.js');
21
+ require('../../Tooltip_cjs_DHduWa-v.js');
22
22
  require('../hooks/useStyles/useStyles.js');
23
23
  require('lodash/maxBy');
24
24
  require('../hooks/useStyles/styleAttributes.js');
@@ -6,9 +6,9 @@ var React = require('react');
6
6
  var clsx = require('clsx');
7
7
  var luxon = require('luxon');
8
8
  var common = require('@itcase/common');
9
- var DatePicker = require('../../DatePicker_cjs_DffhgUnQ.js');
9
+ var DatePicker = require('../../DatePicker_cjs_CmqgSNw7.js');
10
10
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
11
- var ChipsGroup = require('../../ChipsGroup_cjs_5xsEchPo.js');
11
+ var ChipsGroup = require('../../ChipsGroup_cjs_DrOhD-Fc.js');
12
12
  require('date-fns/locale');
13
13
  require('react-datepicker');
14
14
  require('../hooks/useStyles/useStyles.js');
@@ -22,14 +22,14 @@ require('../hooks/useMediaQueries/useMediaQueries.js');
22
22
  require('react-responsive');
23
23
  require('../utils/setViewportProperty.js');
24
24
  require('../hooks/useStyles/styleAttributes.js');
25
- require('../../Button_cjs_djJUZATX.js');
26
- require('../../Tooltip_cjs_oS1iOamX.js');
25
+ require('../../Button_cjs_plv5-qcj.js');
26
+ require('../../Tooltip_cjs_DHduWa-v.js');
27
27
  require('../../Text_cjs_C9fOm0nd.js');
28
28
  require('react-inlinesvg');
29
29
  require('../../Link_cjs_DbRGq2Yk.js');
30
30
  require('../../Loader_cjs_Ca4i0sER.js');
31
31
  require('../../Input_cjs_CPmXkQGd.js');
32
- require('../../Label_cjs_C88e2CIP.js');
32
+ require('../../Label_cjs_BGJfyrOL.js');
33
33
  require('@itcase/icons/default');
34
34
  require('lodash/castArray');
35
35
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var DatePicker = require('../../DatePicker_cjs_DffhgUnQ.js');
3
+ var DatePicker = require('../../DatePicker_cjs_CmqgSNw7.js');
4
4
  require('../../tslib.es6_cjs_CCZ3TN_7.js');
5
5
  require('react/jsx-runtime');
6
6
  require('react');
@@ -21,14 +21,14 @@ require('../utils/setViewportProperty.js');
21
21
  require('../hooks/useStyles/useStyles.js');
22
22
  require('lodash/maxBy');
23
23
  require('../hooks/useStyles/styleAttributes.js');
24
- require('../../Button_cjs_djJUZATX.js');
25
- require('../../Tooltip_cjs_oS1iOamX.js');
24
+ require('../../Button_cjs_plv5-qcj.js');
25
+ require('../../Tooltip_cjs_DHduWa-v.js');
26
26
  require('../../Text_cjs_C9fOm0nd.js');
27
27
  require('react-inlinesvg');
28
28
  require('../../Link_cjs_DbRGq2Yk.js');
29
29
  require('../../Loader_cjs_Ca4i0sER.js');
30
30
  require('../../Input_cjs_CPmXkQGd.js');
31
- require('../../Label_cjs_C88e2CIP.js');
31
+ require('../../Label_cjs_BGJfyrOL.js');
32
32
  require('@itcase/icons/default');
33
33
 
34
34
 
@@ -5,7 +5,7 @@ var jsxRuntime = require('react/jsx-runtime');
5
5
  var React = require('react');
6
6
  var clsx = require('clsx');
7
7
  var ReactDrawer = require('react-modern-drawer');
8
- var Tooltip = require('../../Tooltip_cjs_oS1iOamX.js');
8
+ var Tooltip = require('../../Tooltip_cjs_DHduWa-v.js');
9
9
  var Text = require('../../Text_cjs_C9fOm0nd.js');
10
10
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
11
11
  var _default = require('@itcase/icons/default');
@@ -3,38 +3,108 @@
3
3
  var am = require('@itcase/icons/am');
4
4
  var _default = require('@itcase/icons/default');
5
5
 
6
- var dropdownListMock = {
7
- dropdownList: [
8
- { key: 1, label: 'Item 1', isActive: true },
9
- { key: 2, label: 'Item 2', isActive: false },
10
- { key: 3, label: 'Item 3', badgeValue: 3, isActive: false },
11
- {
12
- key: 4,
13
- label: 'Item 4',
14
- iconBefore: _default.icons24.Placeholder.Default,
15
- isActive: false,
16
- },
17
- {
18
- key: 5,
19
- label: 'Item 5',
20
- iconAfter: _default.icons24.Placeholder.Default,
21
- isActive: false,
22
- },
23
- {
24
- key: 6,
25
- label: 'Item 6',
26
- iconBefore: am.icon24.Check,
27
- isActive: false,
28
- },
29
- {
30
- key: 7,
31
- label: 'Item 7',
32
- iconAfter: am.icon24.Check,
33
- isActive: false,
34
- },
35
- { key: 8, label: 'Item 8', showDivider: true, isActive: false },
36
- { key: 9, label: 'Item 9', isActive: false },
37
- ],
38
- };
6
+ var dropdownListMock = [
7
+ { key: 1, label: 'Item 1', isActive: true },
8
+ { key: 2, label: 'Item 2', isActive: false },
9
+ { key: 3, label: 'Item 3', badgeValue: 3, isActive: false },
10
+ {
11
+ key: 4,
12
+ label: 'Item 4',
13
+ iconBefore: _default.icons24.Placeholder.Default,
14
+ isActive: false,
15
+ },
16
+ {
17
+ key: 5,
18
+ label: 'Item 5',
19
+ iconAfter: _default.icons24.Placeholder.Default,
20
+ isActive: false,
21
+ },
22
+ {
23
+ key: 6,
24
+ label: 'Item 6',
25
+ iconBefore: am.icon24.Check,
26
+ isActive: false,
27
+ },
28
+ {
29
+ key: 7,
30
+ label: 'Item 7',
31
+ iconAfter: am.icon24.Check,
32
+ isActive: false,
33
+ },
34
+ { key: 8, label: 'Item 8', showDivider: true, isActive: false },
35
+ { key: 9, label: 'Item 9', isActive: false },
36
+ ];
37
+ var dropdownListSimpleMock = [
38
+ { key: 1, label: 'Item 1', isActive: true },
39
+ { key: 2, label: 'Item 2', isActive: false },
40
+ { key: 3, label: 'Item 3', badgeValue: 3, isActive: false },
41
+ {
42
+ key: 4,
43
+ label: 'Item 4',
44
+ isActive: false,
45
+ },
46
+ {
47
+ key: 5,
48
+ label: 'Item 5',
49
+ isActive: false,
50
+ },
51
+ {
52
+ key: 6,
53
+ label: 'Item 6',
54
+ isActive: false,
55
+ },
56
+ {
57
+ key: 7,
58
+ label: 'Item 7',
59
+ isActive: false,
60
+ },
61
+ { key: 8, label: 'Item 8', showDivider: true, isActive: false },
62
+ { key: 9, label: 'Item 9', isActive: false },
63
+ ];
64
+ var dropdownListBeforeMock = [
65
+ {
66
+ key: 1,
67
+ label: 'Item 1',
68
+ iconBefore: _default.icons24.Placeholder.Default,
69
+ isActive: true,
70
+ },
71
+ {
72
+ key: 2,
73
+ label: 'Item 2',
74
+ iconBefore: _default.icons24.Placeholder.Default,
75
+ isActive: false,
76
+ },
77
+ {
78
+ key: 3,
79
+ label: 'Item 3',
80
+ badgeValue: 3,
81
+ iconBefore: _default.icons24.Placeholder.Default,
82
+ isActive: false,
83
+ },
84
+ ];
85
+ var dropdownListAfterMock = [
86
+ {
87
+ key: 1,
88
+ label: 'Item 1',
89
+ iconAfter: _default.icons24.Placeholder.Default,
90
+ isActive: true,
91
+ },
92
+ {
93
+ key: 2,
94
+ label: 'Item 2',
95
+ iconAfter: _default.icons24.Placeholder.Default,
96
+ isActive: false,
97
+ },
98
+ {
99
+ key: 3,
100
+ label: 'Item 3',
101
+ badgeValue: 3,
102
+ iconAfter: _default.icons24.Placeholder.Default,
103
+ isActive: false,
104
+ },
105
+ ];
39
106
 
107
+ exports.dropdownListAfterMock = dropdownListAfterMock;
108
+ exports.dropdownListBeforeMock = dropdownListBeforeMock;
40
109
  exports.dropdownListMock = dropdownListMock;
110
+ exports.dropdownListSimpleMock = dropdownListSimpleMock;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var DropdownItem = require('../../DropdownItem_cjs_DxBpJAi9.js');
3
+ var DropdownItem = require('../../DropdownItem_cjs_DQvByLbN.js');
4
4
  require('react/jsx-runtime');
5
5
  require('react');
6
6
  require('clsx');
@@ -20,7 +20,7 @@ require('../hooks/useStyles/useStyles.js');
20
20
  require('lodash/maxBy');
21
21
  require('../hooks/useStyles/styleAttributes.js');
22
22
  require('../../Divider_cjs_BmCJj3TN.js');
23
- require('../../Tooltip_cjs_oS1iOamX.js');
23
+ require('../../Tooltip_cjs_DHduWa-v.js');
24
24
  require('../../Text_cjs_C9fOm0nd.js');
25
25
  require('react-inlinesvg');
26
26
  require('../../Link_cjs_DbRGq2Yk.js');