@itcase/ui 1.8.60 → 1.8.61

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 (37) hide show
  1. package/dist/{Avatar_cjs_-cKfA1OW.js → Avatar_cjs_B-x-GK60.js} +1 -1
  2. package/dist/{Avatar_es_CSKFNChm.js → Avatar_es_Dq-ngVWR.js} +1 -1
  3. package/dist/{Button_cjs_DnkftkHE.js → Button_cjs_mbF1YhaZ.js} +2 -2
  4. package/dist/{Button_es_kqE4jwUz.js → Button_es_B2N3GsgJ.js} +2 -2
  5. package/dist/{ChipsGroup_cjs_CymyJ6SH.js → ChipsGroup_cjs_BroKrFnn.js} +37 -4
  6. package/dist/{ChipsGroup_es_BVXA2F8b.js → ChipsGroup_es_CCN4Bfnp.js} +37 -4
  7. package/dist/{DatePicker_cjs_DuPePxS9.js → DatePicker_cjs_CMgWyAQ0.js} +1 -1
  8. package/dist/{DatePicker_es_B84xipuO.js → DatePicker_es_CLJs86S9.js} +1 -1
  9. package/dist/{Image_cjs_2zEjohYE.js → Image_cjs_B6YlGx8G.js} +2 -2
  10. package/dist/{Image_es_ChF-63wh.js → Image_es_BvYo_cHH.js} +2 -2
  11. package/dist/cjs/components/Avatar.js +2 -2
  12. package/dist/cjs/components/AvatarStack.js +2 -2
  13. package/dist/cjs/components/Button.js +1 -1
  14. package/dist/cjs/components/Cell.js +12 -0
  15. package/dist/cjs/components/Chips.js +1 -1
  16. package/dist/cjs/components/CookiesWarning.js +1 -1
  17. package/dist/cjs/components/DatePeriod.js +3 -3
  18. package/dist/cjs/components/DatePicker.js +2 -2
  19. package/dist/cjs/components/Image.js +1 -1
  20. package/dist/cjs/components/Response.js +1 -1
  21. package/dist/components/Avatar.js +2 -2
  22. package/dist/components/AvatarStack.js +2 -2
  23. package/dist/components/Button.js +1 -1
  24. package/dist/components/Cell.js +12 -0
  25. package/dist/components/Chips.js +1 -1
  26. package/dist/components/CookiesWarning.js +1 -1
  27. package/dist/components/DatePeriod.js +3 -3
  28. package/dist/components/DatePicker.js +2 -2
  29. package/dist/components/Image.js +1 -1
  30. package/dist/components/Response.js +1 -1
  31. package/dist/css/components/Chips/Chips.css +0 -20
  32. package/dist/css/components/ScrollOnDrag/ScrollOnDrag.css +3 -4
  33. package/dist/css/components/Select/Select.css +1 -1
  34. package/dist/types/components/Cell/appearance/cellSurface.d.ts +12 -0
  35. package/dist/types/components/Chips/appearance/chipsShape.d.ts +25 -0
  36. package/dist/types/components/Chips/appearance/chipsSurface.d.ts +8 -0
  37. package/package.json +1 -1
@@ -6,7 +6,7 @@ var clsx = require('clsx');
6
6
  var useAppearanceConfig = require('./cjs/hooks/useAppearanceConfig/useAppearanceConfig.js');
7
7
  var useDevicePropsGenerator = require('./cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
8
8
  var Icon = require('./Icon_cjs_O7ILYzgW.js');
9
- var Image = require('./Image_cjs_2zEjohYE.js');
9
+ var Image = require('./Image_cjs_B6YlGx8G.js');
10
10
  var Text = require('./Text_cjs_C-Ux7Tz5.js');
11
11
  var tslib_es6 = require('./tslib.es6_cjs_CCZ3TN_7.js');
12
12
 
@@ -4,7 +4,7 @@ import clsx from 'clsx';
4
4
  import { useAppearanceConfig } from './hooks/useAppearanceConfig/useAppearanceConfig.js';
5
5
  import { useDevicePropsGenerator } from './hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
6
6
  import { I as Icon, B as Badge } from './Icon_es_BGR9vYtq.js';
7
- import { I as Image } from './Image_es_ChF-63wh.js';
7
+ import { I as Image } from './Image_es_BvYo_cHH.js';
8
8
  import { T as Text } from './Text_es_BdFAdf7M.js';
9
9
  import { _ as __assign } from './tslib.es6_es_Bwu1Cn-t.js';
10
10
 
@@ -376,7 +376,7 @@ var buttonAppearanceSurface = {
376
376
  },
377
377
  surfaceSecondary: {
378
378
  fill: 'surfaceSecondary',
379
- fillHover: 'surfaceSecondaryHover',
379
+ fillHover: 'surfaceSecondary',
380
380
  labelTextColor: 'surfaceTextPrimary',
381
381
  iconAfterFillIcon: 'surfaceItemPrimary',
382
382
  iconBeforeFillIcon: 'surfaceItemPrimary',
@@ -385,7 +385,7 @@ var buttonAppearanceSurface = {
385
385
  },
386
386
  surfaceTertiary: {
387
387
  fill: 'surfaceTertiary',
388
- fillHover: 'surfaceTertiaryHover',
388
+ fillHover: 'surfaceSecondary',
389
389
  labelTextColor: 'surfaceTextPrimary',
390
390
  iconAfterFillIcon: 'surfaceItemPrimary',
391
391
  iconBeforeFillIcon: 'surfaceItemPrimary',
@@ -374,7 +374,7 @@ var buttonAppearanceSurface = {
374
374
  },
375
375
  surfaceSecondary: {
376
376
  fill: 'surfaceSecondary',
377
- fillHover: 'surfaceSecondaryHover',
377
+ fillHover: 'surfaceSecondary',
378
378
  labelTextColor: 'surfaceTextPrimary',
379
379
  iconAfterFillIcon: 'surfaceItemPrimary',
380
380
  iconBeforeFillIcon: 'surfaceItemPrimary',
@@ -383,7 +383,7 @@ var buttonAppearanceSurface = {
383
383
  },
384
384
  surfaceTertiary: {
385
385
  fill: 'surfaceTertiary',
386
- fillHover: 'surfaceTertiaryHover',
386
+ fillHover: 'surfaceSecondary',
387
387
  labelTextColor: 'surfaceTextPrimary',
388
388
  iconAfterFillIcon: 'surfaceItemPrimary',
389
389
  iconBeforeFillIcon: 'surfaceItemPrimary',
@@ -127,6 +127,31 @@ var chipsAppearanceSecondary = {
127
127
  },
128
128
  };
129
129
 
130
+ var chipsAppearanceShape = {
131
+ circular: {
132
+ shape: 'circular',
133
+ },
134
+ rounded: {
135
+ shape: 'rounded',
136
+ },
137
+ roundedL: {
138
+ shape: 'rounded',
139
+ shapeStrength: '1_5m',
140
+ },
141
+ roundedM: {
142
+ shape: 'rounded',
143
+ shapeStrength: '1m',
144
+ },
145
+ roundedS: {
146
+ shape: 'rounded',
147
+ shapeStrength: '0_5m',
148
+ },
149
+ roundedXL: {
150
+ shape: 'rounded',
151
+ shapeStrength: '2m',
152
+ },
153
+ };
154
+
130
155
  var chipsAppearanceSize = {
131
156
  sizeXXL: {
132
157
  size: 'xxl',
@@ -229,9 +254,17 @@ var chipsAppearanceSurface = {
229
254
  },
230
255
  surfaceSecondary: {
231
256
  fill: 'surfaceSecondary',
257
+ fillActive: 'accentPrimary',
258
+ fillActiveHover: 'accentSecondary',
232
259
  fillHover: 'surfaceHover',
260
+ labelTextActiveColor: 'accentTextPrimary',
233
261
  labelTextColor: 'surfaceTextPrimary',
262
+ labelTextHoverColor: 'surfaceTextPrimary',
234
263
  borderColor: 'surfaceBorderSecondary',
264
+ iconAfterFillActiveIcon: 'accentItemPrimary',
265
+ iconAfterFillIcon: 'surfaceItemPrimary',
266
+ iconBeforeFillActiveIcon: 'accentItemPrimary',
267
+ iconBeforeFillIcon: 'surfaceItemPrimary',
235
268
  },
236
269
  surfaceTertiary: {
237
270
  fill: 'surfaceTertiary',
@@ -258,7 +291,7 @@ var chipsAppearanceWarning = {
258
291
  },
259
292
  };
260
293
 
261
- var chipsAppearance = 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(tslib_es6.__assign({}, chipsAppearanceSize), chipsAppearanceStyle), chipsAppearanceAccent), chipsAppearanceDanger), chipsAppearanceError), chipsAppearanceInfo), chipsAppearanceDisabled), chipsAppearancePrimary), chipsAppearanceSecondary), chipsAppearanceSuccess), chipsAppearanceSurface), chipsAppearanceWarning);
294
+ var chipsAppearance = 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(tslib_es6.__assign(tslib_es6.__assign({}, chipsAppearanceSize), chipsAppearanceStyle), chipsAppearanceAccent), chipsAppearanceDanger), chipsAppearanceError), chipsAppearanceInfo), chipsAppearanceDisabled), chipsAppearancePrimary), chipsAppearanceSecondary), chipsAppearanceSuccess), chipsAppearanceSurface), chipsAppearanceWarning), chipsAppearanceShape);
262
295
 
263
296
  var chipsConfig = {
264
297
  appearance: chipsAppearance,
@@ -267,16 +300,16 @@ var chipsConfig = {
267
300
  },
268
301
  };
269
302
  function Chips(props) {
270
- var className = props.className, appearance = props.appearance, _a = props.label, label = _a === void 0 ? '' : _a, isDisabled = props.isDisabled, dataTestId = props.dataTestId, dataTour = props.dataTour, iconAfter = props.iconAfter, iconAfterSrc = props.iconAfterSrc, iconBefore = props.iconBefore, iconBeforeSrc = props.iconBeforeSrc, isActive = props.isActive, isSkeleton = props.isSkeleton, onClick = props.onClick, children = props.children;
303
+ var className = props.className, appearance = props.appearance, _a = props.label, label = _a === void 0 ? '' : _a, isDisabled = props.isDisabled, dataTestId = props.dataTestId, dataTour = props.dataTour, iconAfter = props.iconAfter, iconAfterSrc = props.iconAfterSrc, iconBefore = props.iconBefore, iconBeforeSrc = props.iconBeforeSrc, isActive = props.isActive, isSkeleton = props.isSkeleton, onClick = props.onClick, onClickIconAfter = props.onClickIconAfter, onClickIconBefore = props.onClickIconBefore, children = props.children;
271
304
  var appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, chipsConfig, isDisabled);
272
305
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
273
- var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelTextActiveColor = propsGenerator.labelTextActiveColor, labelTextActiveHoverColor = propsGenerator.labelTextActiveHoverColor, labelTextColor = propsGenerator.labelTextColor, labelTextHoverColor = propsGenerator.labelTextHoverColor, labelTextSize = propsGenerator.labelTextSize, labelTextWeight = propsGenerator.labelTextWeight, labelTextWrap = propsGenerator.labelTextWrap, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, badgeAppearance = propsGenerator.badgeAppearance, badgeShape = propsGenerator.badgeShape, badgeSize = propsGenerator.badgeSize, badgeTextColor = propsGenerator.badgeTextColor, badgeTextSize = propsGenerator.badgeTextSize, badgeValue = propsGenerator.badgeValue, cursorClass = propsGenerator.cursorClass, iconAfterFill = propsGenerator.iconAfterFill, iconAfterFillActiveIcon = propsGenerator.iconAfterFillActiveIcon, iconAfterFillIcon = propsGenerator.iconAfterFillIcon, iconAfterFillSize = propsGenerator.iconAfterFillSize, iconAfterShape = propsGenerator.iconAfterShape, iconAfterSize = propsGenerator.iconAfterSize, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeFillActiveIcon = propsGenerator.iconBeforeFillActiveIcon, iconBeforeFillIcon = propsGenerator.iconBeforeFillIcon, iconBeforeFillSize = propsGenerator.iconBeforeFillSize, iconBeforeShape = propsGenerator.iconBeforeShape, iconBeforeSize = propsGenerator.iconBeforeSize, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass;
306
+ var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelTextActiveColor = propsGenerator.labelTextActiveColor, labelTextActiveHoverColor = propsGenerator.labelTextActiveHoverColor, labelTextColor = propsGenerator.labelTextColor, labelTextHoverColor = propsGenerator.labelTextHoverColor, labelTextSize = propsGenerator.labelTextSize, labelTextWeight = propsGenerator.labelTextWeight, labelTextWrap = propsGenerator.labelTextWrap, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, badgeAppearance = propsGenerator.badgeAppearance, badgeShape = propsGenerator.badgeShape, badgeSize = propsGenerator.badgeSize, badgeTextColor = propsGenerator.badgeTextColor, badgeTextSize = propsGenerator.badgeTextSize, badgeValue = propsGenerator.badgeValue, cursorClass = propsGenerator.cursorClass, iconAfterFill = propsGenerator.iconAfterFill, iconAfterFillActiveIcon = propsGenerator.iconAfterFillActiveIcon, iconAfterFillIcon = propsGenerator.iconAfterFillIcon, iconAfterFillSize = propsGenerator.iconAfterFillSize, iconAfterShape = propsGenerator.iconAfterShape, iconAfterSize = propsGenerator.iconAfterSize, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeFillActiveIcon = propsGenerator.iconBeforeFillActiveIcon, iconBeforeFillIcon = propsGenerator.iconBeforeFillIcon, iconBeforeFillSize = propsGenerator.iconBeforeFillSize, iconBeforeShape = propsGenerator.iconBeforeShape, iconBeforeSize = propsGenerator.iconBeforeSize, shapeClass = propsGenerator.shapeClass, shapeStrengthClass = propsGenerator.shapeStrengthClass, sizeClass = propsGenerator.sizeClass;
274
307
  var chipsStyles = useStyles.useStyles(props).styles;
275
308
  return (jsxRuntime.jsx("div", { className: clsx(className, 'chips', !isActive
276
309
  ? fillClass && "fill_".concat(fillClass)
277
310
  : fillActiveClass && "fill_active_".concat(fillActiveClass), !isActive
278
311
  ? fillHoverClass && "fill_hover_".concat(fillHoverClass)
279
- : fillActiveHoverClass && "fill_active_hover_".concat(fillActiveHoverClass), shapeClass && "chips_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), sizeClass && "chips_size_".concat(sizeClass), alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(alignClass), isActive && 'chips_state_active', isDisabled && "chips_state_disabled", cursorClass && "cursor_".concat(cursorClass), onClick && 'cursor_type_pointer', isSkeleton && "chips_skeleton"), "data-testid": dataTestId && "".concat(dataTestId, "Chips"), "data-tour": dataTour, style: chipsStyles, onClick: !isDisabled ? onClick : undefined, children: jsxRuntime.jsxs("div", { className: "chips__inner", children: [(iconBefore || iconBeforeSrc) && (jsxRuntime.jsx(Icon.Icon, { className: "chips__icon_before", size: iconBeforeSize, fill: iconBeforeFill, fillSize: iconBeforeFillSize, iconFill: iconBeforeFillIcon, iconFillActive: iconBeforeFillActiveIcon, imageSrc: iconBeforeSrc, shape: iconBeforeShape, SvgImage: iconBefore, isActive: isActive })), typeof label === 'string' ? (jsxRuntime.jsx(Text.Text, { className: "chips__label", size: labelTextSize, textColor: labelTextColor, textColorActive: labelTextActiveColor, textColorActiveHover: labelTextActiveHoverColor, textColorHover: labelTextHoverColor, textWeight: labelTextWeight, textWrap: labelTextWrap, isActive: isActive, children: label })) : (jsxRuntime.jsx("div", { className: "chips__label", children: label })), children, (iconAfter || iconAfterSrc) && (jsxRuntime.jsx(Icon.Icon, { className: "chips__icon_after", size: iconAfterSize, fill: iconAfterFill, fillSize: iconAfterFillSize, iconFill: iconAfterFillIcon, iconFillActive: iconAfterFillActiveIcon, imageSrc: iconAfterSrc, shape: iconAfterShape, SvgImage: iconAfter, isActive: isActive })), badgeValue && (jsxRuntime.jsx(Icon.Badge, { className: "chips__badge", appearance: badgeAppearance, size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue }))] }) }));
312
+ : fillActiveHoverClass && "fill_active_hover_".concat(fillActiveHoverClass), shapeClass && "shape_".concat(shapeClass), shapeStrengthClass && "shape-strength_".concat(shapeStrengthClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), sizeClass && "chips_size_".concat(sizeClass), alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(alignClass), isActive && 'chips_state_active', isDisabled && "chips_state_disabled", cursorClass && "cursor_".concat(cursorClass), onClick && 'cursor_type_pointer', isSkeleton && "chips_skeleton"), "data-testid": dataTestId && "".concat(dataTestId, "Chips"), "data-tour": dataTour, style: chipsStyles, onClick: !isDisabled ? onClick : undefined, children: jsxRuntime.jsxs("div", { className: "chips__inner", children: [(iconBefore || iconBeforeSrc) && (jsxRuntime.jsx(Icon.Icon, { className: "chips__icon_before", size: iconBeforeSize, fill: iconBeforeFill, fillSize: iconBeforeFillSize, iconFill: iconBeforeFillIcon, iconFillActive: iconBeforeFillActiveIcon, imageSrc: iconBeforeSrc, shape: iconBeforeShape, SvgImage: iconBefore, isActive: isActive, onClick: onClickIconBefore })), typeof label === 'string' ? (jsxRuntime.jsx(Text.Text, { className: "chips__label", size: labelTextSize, textColor: labelTextColor, textColorActive: labelTextActiveColor, textColorActiveHover: labelTextActiveHoverColor, textColorHover: labelTextHoverColor, textWeight: labelTextWeight, textWrap: labelTextWrap, isActive: isActive, children: label })) : (jsxRuntime.jsx("div", { className: "chips__label", children: label })), children, (iconAfter || iconAfterSrc) && (jsxRuntime.jsx(Icon.Icon, { className: "chips__icon_after", size: iconAfterSize, fill: iconAfterFill, fillSize: iconAfterFillSize, iconFill: iconAfterFillIcon, iconFillActive: iconAfterFillActiveIcon, imageSrc: iconAfterSrc, shape: iconAfterShape, SvgImage: iconAfter, isActive: isActive, onClick: onClickIconAfter })), badgeValue && (jsxRuntime.jsx(Icon.Badge, { className: "chips__badge", appearance: badgeAppearance, size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue }))] }) }));
280
313
  }
281
314
 
282
315
  function ChipsGroup(props) {
@@ -125,6 +125,31 @@ var chipsAppearanceSecondary = {
125
125
  },
126
126
  };
127
127
 
128
+ var chipsAppearanceShape = {
129
+ circular: {
130
+ shape: 'circular',
131
+ },
132
+ rounded: {
133
+ shape: 'rounded',
134
+ },
135
+ roundedL: {
136
+ shape: 'rounded',
137
+ shapeStrength: '1_5m',
138
+ },
139
+ roundedM: {
140
+ shape: 'rounded',
141
+ shapeStrength: '1m',
142
+ },
143
+ roundedS: {
144
+ shape: 'rounded',
145
+ shapeStrength: '0_5m',
146
+ },
147
+ roundedXL: {
148
+ shape: 'rounded',
149
+ shapeStrength: '2m',
150
+ },
151
+ };
152
+
128
153
  var chipsAppearanceSize = {
129
154
  sizeXXL: {
130
155
  size: 'xxl',
@@ -227,9 +252,17 @@ var chipsAppearanceSurface = {
227
252
  },
228
253
  surfaceSecondary: {
229
254
  fill: 'surfaceSecondary',
255
+ fillActive: 'accentPrimary',
256
+ fillActiveHover: 'accentSecondary',
230
257
  fillHover: 'surfaceHover',
258
+ labelTextActiveColor: 'accentTextPrimary',
231
259
  labelTextColor: 'surfaceTextPrimary',
260
+ labelTextHoverColor: 'surfaceTextPrimary',
232
261
  borderColor: 'surfaceBorderSecondary',
262
+ iconAfterFillActiveIcon: 'accentItemPrimary',
263
+ iconAfterFillIcon: 'surfaceItemPrimary',
264
+ iconBeforeFillActiveIcon: 'accentItemPrimary',
265
+ iconBeforeFillIcon: 'surfaceItemPrimary',
233
266
  },
234
267
  surfaceTertiary: {
235
268
  fill: 'surfaceTertiary',
@@ -256,7 +289,7 @@ var chipsAppearanceWarning = {
256
289
  },
257
290
  };
258
291
 
259
- var chipsAppearance = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, chipsAppearanceSize), chipsAppearanceStyle), chipsAppearanceAccent), chipsAppearanceDanger), chipsAppearanceError), chipsAppearanceInfo), chipsAppearanceDisabled), chipsAppearancePrimary), chipsAppearanceSecondary), chipsAppearanceSuccess), chipsAppearanceSurface), chipsAppearanceWarning);
292
+ var chipsAppearance = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, chipsAppearanceSize), chipsAppearanceStyle), chipsAppearanceAccent), chipsAppearanceDanger), chipsAppearanceError), chipsAppearanceInfo), chipsAppearanceDisabled), chipsAppearancePrimary), chipsAppearanceSecondary), chipsAppearanceSuccess), chipsAppearanceSurface), chipsAppearanceWarning), chipsAppearanceShape);
260
293
 
261
294
  var chipsConfig = {
262
295
  appearance: chipsAppearance,
@@ -265,16 +298,16 @@ var chipsConfig = {
265
298
  },
266
299
  };
267
300
  function Chips(props) {
268
- var className = props.className, appearance = props.appearance, _a = props.label, label = _a === void 0 ? '' : _a, isDisabled = props.isDisabled, dataTestId = props.dataTestId, dataTour = props.dataTour, iconAfter = props.iconAfter, iconAfterSrc = props.iconAfterSrc, iconBefore = props.iconBefore, iconBeforeSrc = props.iconBeforeSrc, isActive = props.isActive, isSkeleton = props.isSkeleton, onClick = props.onClick, children = props.children;
301
+ var className = props.className, appearance = props.appearance, _a = props.label, label = _a === void 0 ? '' : _a, isDisabled = props.isDisabled, dataTestId = props.dataTestId, dataTour = props.dataTour, iconAfter = props.iconAfter, iconAfterSrc = props.iconAfterSrc, iconBefore = props.iconBefore, iconBeforeSrc = props.iconBeforeSrc, isActive = props.isActive, isSkeleton = props.isSkeleton, onClick = props.onClick, onClickIconAfter = props.onClickIconAfter, onClickIconBefore = props.onClickIconBefore, children = props.children;
269
302
  var appearanceConfig = useAppearanceConfig(appearance, chipsConfig, isDisabled);
270
303
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
271
- var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelTextActiveColor = propsGenerator.labelTextActiveColor, labelTextActiveHoverColor = propsGenerator.labelTextActiveHoverColor, labelTextColor = propsGenerator.labelTextColor, labelTextHoverColor = propsGenerator.labelTextHoverColor, labelTextSize = propsGenerator.labelTextSize, labelTextWeight = propsGenerator.labelTextWeight, labelTextWrap = propsGenerator.labelTextWrap, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, badgeAppearance = propsGenerator.badgeAppearance, badgeShape = propsGenerator.badgeShape, badgeSize = propsGenerator.badgeSize, badgeTextColor = propsGenerator.badgeTextColor, badgeTextSize = propsGenerator.badgeTextSize, badgeValue = propsGenerator.badgeValue, cursorClass = propsGenerator.cursorClass, iconAfterFill = propsGenerator.iconAfterFill, iconAfterFillActiveIcon = propsGenerator.iconAfterFillActiveIcon, iconAfterFillIcon = propsGenerator.iconAfterFillIcon, iconAfterFillSize = propsGenerator.iconAfterFillSize, iconAfterShape = propsGenerator.iconAfterShape, iconAfterSize = propsGenerator.iconAfterSize, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeFillActiveIcon = propsGenerator.iconBeforeFillActiveIcon, iconBeforeFillIcon = propsGenerator.iconBeforeFillIcon, iconBeforeFillSize = propsGenerator.iconBeforeFillSize, iconBeforeShape = propsGenerator.iconBeforeShape, iconBeforeSize = propsGenerator.iconBeforeSize, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass;
304
+ var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelTextActiveColor = propsGenerator.labelTextActiveColor, labelTextActiveHoverColor = propsGenerator.labelTextActiveHoverColor, labelTextColor = propsGenerator.labelTextColor, labelTextHoverColor = propsGenerator.labelTextHoverColor, labelTextSize = propsGenerator.labelTextSize, labelTextWeight = propsGenerator.labelTextWeight, labelTextWrap = propsGenerator.labelTextWrap, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, badgeAppearance = propsGenerator.badgeAppearance, badgeShape = propsGenerator.badgeShape, badgeSize = propsGenerator.badgeSize, badgeTextColor = propsGenerator.badgeTextColor, badgeTextSize = propsGenerator.badgeTextSize, badgeValue = propsGenerator.badgeValue, cursorClass = propsGenerator.cursorClass, iconAfterFill = propsGenerator.iconAfterFill, iconAfterFillActiveIcon = propsGenerator.iconAfterFillActiveIcon, iconAfterFillIcon = propsGenerator.iconAfterFillIcon, iconAfterFillSize = propsGenerator.iconAfterFillSize, iconAfterShape = propsGenerator.iconAfterShape, iconAfterSize = propsGenerator.iconAfterSize, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeFillActiveIcon = propsGenerator.iconBeforeFillActiveIcon, iconBeforeFillIcon = propsGenerator.iconBeforeFillIcon, iconBeforeFillSize = propsGenerator.iconBeforeFillSize, iconBeforeShape = propsGenerator.iconBeforeShape, iconBeforeSize = propsGenerator.iconBeforeSize, shapeClass = propsGenerator.shapeClass, shapeStrengthClass = propsGenerator.shapeStrengthClass, sizeClass = propsGenerator.sizeClass;
272
305
  var chipsStyles = useStyles(props).styles;
273
306
  return (jsx("div", { className: clsx(className, 'chips', !isActive
274
307
  ? fillClass && "fill_".concat(fillClass)
275
308
  : fillActiveClass && "fill_active_".concat(fillActiveClass), !isActive
276
309
  ? fillHoverClass && "fill_hover_".concat(fillHoverClass)
277
- : fillActiveHoverClass && "fill_active_hover_".concat(fillActiveHoverClass), shapeClass && "chips_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), sizeClass && "chips_size_".concat(sizeClass), alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(alignClass), isActive && 'chips_state_active', isDisabled && "chips_state_disabled", cursorClass && "cursor_".concat(cursorClass), onClick && 'cursor_type_pointer', isSkeleton && "chips_skeleton"), "data-testid": dataTestId && "".concat(dataTestId, "Chips"), "data-tour": dataTour, style: chipsStyles, onClick: !isDisabled ? onClick : undefined, children: jsxs("div", { className: "chips__inner", children: [(iconBefore || iconBeforeSrc) && (jsx(Icon, { className: "chips__icon_before", size: iconBeforeSize, fill: iconBeforeFill, fillSize: iconBeforeFillSize, iconFill: iconBeforeFillIcon, iconFillActive: iconBeforeFillActiveIcon, imageSrc: iconBeforeSrc, shape: iconBeforeShape, SvgImage: iconBefore, isActive: isActive })), typeof label === 'string' ? (jsx(Text, { className: "chips__label", size: labelTextSize, textColor: labelTextColor, textColorActive: labelTextActiveColor, textColorActiveHover: labelTextActiveHoverColor, textColorHover: labelTextHoverColor, textWeight: labelTextWeight, textWrap: labelTextWrap, isActive: isActive, children: label })) : (jsx("div", { className: "chips__label", children: label })), children, (iconAfter || iconAfterSrc) && (jsx(Icon, { className: "chips__icon_after", size: iconAfterSize, fill: iconAfterFill, fillSize: iconAfterFillSize, iconFill: iconAfterFillIcon, iconFillActive: iconAfterFillActiveIcon, imageSrc: iconAfterSrc, shape: iconAfterShape, SvgImage: iconAfter, isActive: isActive })), badgeValue && (jsx(Badge, { className: "chips__badge", appearance: badgeAppearance, size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue }))] }) }));
310
+ : fillActiveHoverClass && "fill_active_hover_".concat(fillActiveHoverClass), shapeClass && "shape_".concat(shapeClass), shapeStrengthClass && "shape-strength_".concat(shapeStrengthClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), sizeClass && "chips_size_".concat(sizeClass), alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(alignClass), isActive && 'chips_state_active', isDisabled && "chips_state_disabled", cursorClass && "cursor_".concat(cursorClass), onClick && 'cursor_type_pointer', isSkeleton && "chips_skeleton"), "data-testid": dataTestId && "".concat(dataTestId, "Chips"), "data-tour": dataTour, style: chipsStyles, onClick: !isDisabled ? onClick : undefined, children: jsxs("div", { className: "chips__inner", children: [(iconBefore || iconBeforeSrc) && (jsx(Icon, { className: "chips__icon_before", size: iconBeforeSize, fill: iconBeforeFill, fillSize: iconBeforeFillSize, iconFill: iconBeforeFillIcon, iconFillActive: iconBeforeFillActiveIcon, imageSrc: iconBeforeSrc, shape: iconBeforeShape, SvgImage: iconBefore, isActive: isActive, onClick: onClickIconBefore })), typeof label === 'string' ? (jsx(Text, { className: "chips__label", size: labelTextSize, textColor: labelTextColor, textColorActive: labelTextActiveColor, textColorActiveHover: labelTextActiveHoverColor, textColorHover: labelTextHoverColor, textWeight: labelTextWeight, textWrap: labelTextWrap, isActive: isActive, children: label })) : (jsx("div", { className: "chips__label", children: label })), children, (iconAfter || iconAfterSrc) && (jsx(Icon, { className: "chips__icon_after", size: iconAfterSize, fill: iconAfterFill, fillSize: iconAfterFillSize, iconFill: iconAfterFillIcon, iconFillActive: iconAfterFillActiveIcon, imageSrc: iconAfterSrc, shape: iconAfterShape, SvgImage: iconAfter, isActive: isActive, onClick: onClickIconAfter })), badgeValue && (jsx(Badge, { className: "chips__badge", appearance: badgeAppearance, size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue }))] }) }));
278
311
  }
279
312
 
280
313
  function ChipsGroup(props) {
@@ -9,7 +9,7 @@ var DatePicker = require('react-datepicker');
9
9
  var useAppearanceConfig = require('./cjs/hooks/useAppearanceConfig/useAppearanceConfig.js');
10
10
  var useDevicePropsGenerator = require('./cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
11
11
  var useStyles = require('./cjs/hooks/useStyles/useStyles.js');
12
- var Button = require('./Button_cjs_DnkftkHE.js');
12
+ var Button = require('./Button_cjs_mbF1YhaZ.js');
13
13
  var Icon = require('./Icon_cjs_O7ILYzgW.js');
14
14
  var Input = require('./Input_cjs_BGLd0EQu.js');
15
15
  var Label = require('./Label_cjs_eQIgvtt7.js');
@@ -7,7 +7,7 @@ import DatePicker from 'react-datepicker';
7
7
  import { useAppearanceConfig } from './hooks/useAppearanceConfig/useAppearanceConfig.js';
8
8
  import { useDevicePropsGenerator } from './hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
9
9
  import { useStyles } from './hooks/useStyles/useStyles.js';
10
- import { B as Button } from './Button_es_kqE4jwUz.js';
10
+ import { B as Button } from './Button_es_B2N3GsgJ.js';
11
11
  import { I as Icon } from './Icon_es_BGR9vYtq.js';
12
12
  import { I as Input } from './Input_es_D2mNCqiH.js';
13
13
  import { L as Label } from './Label_es_BQDu9dwH.js';
@@ -10,7 +10,7 @@ var useStyles = require('./cjs/hooks/useStyles/useStyles.js');
10
10
  var Image = urlWithAssetPrefix.urlWithAssetPrefix(function Image(props) {
11
11
  var className = props.className, type = props.type, src = props.src, title = props.title, alt = props.alt, caption = props.caption, imageClassName = props.imageClassName, imageWrapperClassName = props.imageWrapperClassName, mode = props.mode, overlay = props.overlay, placeholderUrl = props.placeholderUrl, before = props.before, after = props.after, isSkeleton = props.isSkeleton, onClick = props.onClick, onError = props.onError, children = props.children;
12
12
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props);
13
- var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, borderColorClass = propsGenerator.borderColorClass, borderColorImageClass = propsGenerator.borderColorImageClass, cursorClass = propsGenerator.cursorClass, heightClass = propsGenerator.heightClass, horizontalAlignClass = propsGenerator.horizontalAlignClass, imageHeightClass = propsGenerator.imageHeightClass, imageWidthClass = propsGenerator.imageWidthClass, resizeModeClass = propsGenerator.resizeModeClass, shapeClass = propsGenerator.shapeClass, verticalAlignClass = propsGenerator.verticalAlignClass, widthClass = propsGenerator.widthClass;
13
+ var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, borderColorClass = propsGenerator.borderColorClass, borderColorImageClass = propsGenerator.borderColorImageClass, cursorClass = propsGenerator.cursorClass, heightClass = propsGenerator.heightClass, horizontalAlignClass = propsGenerator.horizontalAlignClass, imageHeightClass = propsGenerator.imageHeightClass, imageWidthClass = propsGenerator.imageWidthClass, resizeModeClass = propsGenerator.resizeModeClass, shapeClass = propsGenerator.shapeClass, borderWidthClass = propsGenerator.borderWidthClass, borderTypeClass = propsGenerator.borderTypeClass, verticalAlignClass = propsGenerator.verticalAlignClass, widthClass = propsGenerator.widthClass;
14
14
  var _a = useStyles.useStyles(props), imageStyles = _a.image, styles = _a.styles, wrapperStyles = _a.wrapper;
15
15
  var onErrorImage = React.useCallback(function (event) {
16
16
  if (onError) {
@@ -21,7 +21,7 @@ var Image = urlWithAssetPrefix.urlWithAssetPrefix(function Image(props) {
21
21
  }
22
22
  }, [onError, placeholderUrl]);
23
23
  return (jsxRuntime.jsxs("div", { className: clsx(className, 'image', mode && "image_mode_".concat(mode), type && "image_type_".concat(type), cursorClass && "cursor_".concat(cursorClass), horizontalAlignClass &&
24
- "image_horizontal-align_".concat(horizontalAlignClass), verticalAlignClass && "image_vertical-align_".concat(verticalAlignClass), shapeClass && "image_shape_".concat(shapeClass), fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), resizeModeClass && "image_resize-mode_".concat(resizeModeClass), widthClass && "width_".concat(widthClass), heightClass && "height_".concat(heightClass), isSkeleton && 'image_skeleton'), style: styles, onClick: onClick, children: [before, jsxRuntime.jsxs("div", { className: clsx('image__wrapper', imageWrapperClassName), style: wrapperStyles, children: [jsxRuntime.jsx("img", { className: clsx('image__item', imageWidthClass && "width_".concat(imageWidthClass), imageHeightClass && "height_".concat(imageHeightClass), imageClassName, borderColorClass && "border-color_".concat(borderColorClass), borderColorImageClass &&
24
+ "image_horizontal-align_".concat(horizontalAlignClass), verticalAlignClass && "image_vertical-align_".concat(verticalAlignClass), shapeClass && "image_shape_".concat(shapeClass), fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), resizeModeClass && "image_resize-mode_".concat(resizeModeClass), widthClass && "width_".concat(widthClass), heightClass && "height_".concat(heightClass), isSkeleton && 'image_skeleton'), style: styles, onClick: onClick, children: [before, jsxRuntime.jsxs("div", { className: clsx('image__wrapper', imageWrapperClassName), style: wrapperStyles, children: [jsxRuntime.jsx("img", { className: clsx('image__item', imageWidthClass && "width_".concat(imageWidthClass), imageHeightClass && "height_".concat(imageHeightClass), imageClassName, borderWidthClass && "border-width_".concat(borderWidthClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), borderColorImageClass &&
25
25
  "border-color-image_".concat(borderColorImageClass)), src: src, title: title || alt, alt: alt || title, style: imageStyles, onError: onErrorImage }), overlay, caption, children] }), after] }));
26
26
  });
27
27
 
@@ -8,7 +8,7 @@ import { useStyles } from './hooks/useStyles/useStyles.js';
8
8
  var Image = urlWithAssetPrefix(function Image(props) {
9
9
  var className = props.className, type = props.type, src = props.src, title = props.title, alt = props.alt, caption = props.caption, imageClassName = props.imageClassName, imageWrapperClassName = props.imageWrapperClassName, mode = props.mode, overlay = props.overlay, placeholderUrl = props.placeholderUrl, before = props.before, after = props.after, isSkeleton = props.isSkeleton, onClick = props.onClick, onError = props.onError, children = props.children;
10
10
  var propsGenerator = useDevicePropsGenerator(props);
11
- var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, borderColorClass = propsGenerator.borderColorClass, borderColorImageClass = propsGenerator.borderColorImageClass, cursorClass = propsGenerator.cursorClass, heightClass = propsGenerator.heightClass, horizontalAlignClass = propsGenerator.horizontalAlignClass, imageHeightClass = propsGenerator.imageHeightClass, imageWidthClass = propsGenerator.imageWidthClass, resizeModeClass = propsGenerator.resizeModeClass, shapeClass = propsGenerator.shapeClass, verticalAlignClass = propsGenerator.verticalAlignClass, widthClass = propsGenerator.widthClass;
11
+ var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, borderColorClass = propsGenerator.borderColorClass, borderColorImageClass = propsGenerator.borderColorImageClass, cursorClass = propsGenerator.cursorClass, heightClass = propsGenerator.heightClass, horizontalAlignClass = propsGenerator.horizontalAlignClass, imageHeightClass = propsGenerator.imageHeightClass, imageWidthClass = propsGenerator.imageWidthClass, resizeModeClass = propsGenerator.resizeModeClass, shapeClass = propsGenerator.shapeClass, borderWidthClass = propsGenerator.borderWidthClass, borderTypeClass = propsGenerator.borderTypeClass, verticalAlignClass = propsGenerator.verticalAlignClass, widthClass = propsGenerator.widthClass;
12
12
  var _a = useStyles(props), imageStyles = _a.image, styles = _a.styles, wrapperStyles = _a.wrapper;
13
13
  var onErrorImage = useCallback(function (event) {
14
14
  if (onError) {
@@ -19,7 +19,7 @@ var Image = urlWithAssetPrefix(function Image(props) {
19
19
  }
20
20
  }, [onError, placeholderUrl]);
21
21
  return (jsxs("div", { className: clsx(className, 'image', mode && "image_mode_".concat(mode), type && "image_type_".concat(type), cursorClass && "cursor_".concat(cursorClass), horizontalAlignClass &&
22
- "image_horizontal-align_".concat(horizontalAlignClass), verticalAlignClass && "image_vertical-align_".concat(verticalAlignClass), shapeClass && "image_shape_".concat(shapeClass), fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), resizeModeClass && "image_resize-mode_".concat(resizeModeClass), widthClass && "width_".concat(widthClass), heightClass && "height_".concat(heightClass), isSkeleton && 'image_skeleton'), style: styles, onClick: onClick, children: [before, jsxs("div", { className: clsx('image__wrapper', imageWrapperClassName), style: wrapperStyles, children: [jsx("img", { className: clsx('image__item', imageWidthClass && "width_".concat(imageWidthClass), imageHeightClass && "height_".concat(imageHeightClass), imageClassName, borderColorClass && "border-color_".concat(borderColorClass), borderColorImageClass &&
22
+ "image_horizontal-align_".concat(horizontalAlignClass), verticalAlignClass && "image_vertical-align_".concat(verticalAlignClass), shapeClass && "image_shape_".concat(shapeClass), fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), resizeModeClass && "image_resize-mode_".concat(resizeModeClass), widthClass && "width_".concat(widthClass), heightClass && "height_".concat(heightClass), isSkeleton && 'image_skeleton'), style: styles, onClick: onClick, children: [before, jsxs("div", { className: clsx('image__wrapper', imageWrapperClassName), style: wrapperStyles, children: [jsx("img", { className: clsx('image__item', imageWidthClass && "width_".concat(imageWidthClass), imageHeightClass && "height_".concat(imageHeightClass), imageClassName, borderWidthClass && "border-width_".concat(borderWidthClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), borderColorImageClass &&
23
23
  "border-color-image_".concat(borderColorImageClass)), src: src, title: title || alt, alt: alt || title, style: imageStyles, onError: onErrorImage }), overlay, caption, children] }), after] }));
24
24
  });
25
25
 
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var Avatar = require('../../Avatar_cjs_-cKfA1OW.js');
3
+ var Avatar = require('../../Avatar_cjs_B-x-GK60.js');
4
4
  require('react/jsx-runtime');
5
5
  require('react');
6
6
  require('clsx');
@@ -26,7 +26,7 @@ require('lodash/maxBy');
26
26
  require('../hooks/useStyles/styleAttributes.js');
27
27
  require('../../Link_cjs_BqT6eVl6.js');
28
28
  require('../../Text_cjs_C-Ux7Tz5.js');
29
- require('../../Image_cjs_2zEjohYE.js');
29
+ require('../../Image_cjs_B6YlGx8G.js');
30
30
 
31
31
 
32
32
 
@@ -5,7 +5,7 @@ var clsx = require('clsx');
5
5
  var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
6
6
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
7
7
  var useStyles = require('../hooks/useStyles/useStyles.js');
8
- var Avatar = require('../../Avatar_cjs_-cKfA1OW.js');
8
+ var Avatar = require('../../Avatar_cjs_B-x-GK60.js');
9
9
  var Group = require('../../Group_cjs_DHNBxjH3.js');
10
10
  var Text = require('../../Text_cjs_C-Ux7Tz5.js');
11
11
  var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
@@ -27,7 +27,7 @@ require('react-inlinesvg');
27
27
  require('../hoc/urlWithAssetPrefix.js');
28
28
  require('../context/UrlAssetPrefix.js');
29
29
  require('../../Link_cjs_BqT6eVl6.js');
30
- require('../../Image_cjs_2zEjohYE.js');
30
+ require('../../Image_cjs_B6YlGx8G.js');
31
31
 
32
32
  var avatarStackAppearanceSize = {
33
33
  size16: {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var Button = require('../../Button_cjs_DnkftkHE.js');
3
+ var Button = require('../../Button_cjs_mbF1YhaZ.js');
4
4
  require('react/jsx-runtime');
5
5
  require('react');
6
6
  require('clsx');
@@ -104,7 +104,10 @@ var cellAppearanceSurface = {
104
104
  surfacePrimary: {
105
105
  fill: 'surfacePrimary',
106
106
  fillHover: 'surfacePrimaryHover',
107
+ titleTextSize: 'surfaceTextPrimary',
107
108
  titleIconItemFill: 'surfaceItemPrimary',
109
+ valueTextColor: 'surfaceTextPrimary',
110
+ titleTextColor: 'surfaceTextPrimary',
108
111
  titleLabelAppearance: 'accentPrimary',
109
112
  labelTextColor: 'surfaceTextPrimary',
110
113
  borderColor: 'surfaceBorderPrimary',
@@ -114,7 +117,10 @@ var cellAppearanceSurface = {
114
117
  surfaceSecondary: {
115
118
  fill: 'surfaceSecondary',
116
119
  fillHover: 'surfaceSecondaryHover',
120
+ titleTextSize: 'surfaceTextPrimary',
121
+ titleTextColor: 'surfaceTextPrimary',
117
122
  titleIconItemFill: 'surfaceItemPrimary',
123
+ valueTextColor: 'surfaceTextPrimary',
118
124
  titleLabelAppearance: 'accentPrimary',
119
125
  labelTextColor: 'surfaceTextPrimary',
120
126
  borderColor: 'surfaceBorderPrimary',
@@ -124,7 +130,10 @@ var cellAppearanceSurface = {
124
130
  surfaceTertiary: {
125
131
  fill: 'surfaceTertiary',
126
132
  fillHover: 'surfaceTertiaryHover',
133
+ titleTextSize: 'surfaceTextPrimary',
134
+ titleTextColor: 'surfaceTextPrimary',
127
135
  titleIconItemFill: 'surfaceItemPrimary',
136
+ valueTextColor: 'surfaceTextPrimary',
128
137
  titleLabelAppearance: 'accentPrimary',
129
138
  labelTextColor: 'surfaceTextPrimary',
130
139
  borderColor: 'surfaceBorderPrimary',
@@ -132,7 +141,10 @@ var cellAppearanceSurface = {
132
141
  valueLabelAppearance: 'accentPrimary',
133
142
  },
134
143
  surfaceQuaternary: {
144
+ titleTextSize: 'surfaceTextPrimary',
135
145
  fill: 'surfaceQuaternary',
146
+ valueTextColor: 'surfaceTextPrimary',
147
+ titleTextColor: 'surfaceTextPrimary',
136
148
  fillHover: 'surfaceQuaternaryHover',
137
149
  titleIconItemFill: 'surfaceItemPrimary',
138
150
  titleLabelAppearance: 'accentPrimary',
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var ChipsGroup = require('../../ChipsGroup_cjs_CymyJ6SH.js');
3
+ var ChipsGroup = require('../../ChipsGroup_cjs_BroKrFnn.js');
4
4
  require('react/jsx-runtime');
5
5
  require('clsx');
6
6
  require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
@@ -6,7 +6,7 @@ var clsx = require('clsx');
6
6
  var Cookies = require('js-cookie');
7
7
  var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
8
8
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
9
- var Button = require('../../Button_cjs_DnkftkHE.js');
9
+ var Button = require('../../Button_cjs_mbF1YhaZ.js');
10
10
  var Text = require('../../Text_cjs_C-Ux7Tz5.js');
11
11
  var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
12
12
  require('lodash/camelCase');
@@ -4,10 +4,10 @@ var jsxRuntime = require('react/jsx-runtime');
4
4
  var React = require('react');
5
5
  var clsx = require('clsx');
6
6
  var common = require('@itcase/common');
7
- var DatePicker = require('../../DatePicker_cjs_DuPePxS9.js');
7
+ var DatePicker = require('../../DatePicker_cjs_CMgWyAQ0.js');
8
8
  var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
9
9
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
10
- var ChipsGroup = require('../../ChipsGroup_cjs_CymyJ6SH.js');
10
+ var ChipsGroup = require('../../ChipsGroup_cjs_BroKrFnn.js');
11
11
  var tslib_es6 = require('../../tslib.es6_cjs_CCZ3TN_7.js');
12
12
  require('date-fns/locale');
13
13
  require('react-datepicker');
@@ -22,7 +22,7 @@ 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_DnkftkHE.js');
25
+ require('../../Button_cjs_mbF1YhaZ.js');
26
26
  require('../../Icon_cjs_O7ILYzgW.js');
27
27
  require('react-inlinesvg');
28
28
  require('../hoc/urlWithAssetPrefix.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var DatePicker = require('../../DatePicker_cjs_DuPePxS9.js');
3
+ var DatePicker = require('../../DatePicker_cjs_CMgWyAQ0.js');
4
4
  require('../../tslib.es6_cjs_CCZ3TN_7.js');
5
5
  require('react/jsx-runtime');
6
6
  require('react');
@@ -22,7 +22,7 @@ require('../utils/setViewportProperty.js');
22
22
  require('../hooks/useStyles/useStyles.js');
23
23
  require('lodash/maxBy');
24
24
  require('../hooks/useStyles/styleAttributes.js');
25
- require('../../Button_cjs_DnkftkHE.js');
25
+ require('../../Button_cjs_mbF1YhaZ.js');
26
26
  require('../../Icon_cjs_O7ILYzgW.js');
27
27
  require('react-inlinesvg');
28
28
  require('../hoc/urlWithAssetPrefix.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var Image = require('../../Image_cjs_2zEjohYE.js');
3
+ var Image = require('../../Image_cjs_B6YlGx8G.js');
4
4
  require('react/jsx-runtime');
5
5
  require('react');
6
6
  require('clsx');
@@ -8,7 +8,7 @@ var urlWithAssetPrefix = require('../hoc/urlWithAssetPrefix.js');
8
8
  var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
9
9
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
10
10
  var useStyles = require('../hooks/useStyles/useStyles.js');
11
- var Button = require('../../Button_cjs_DnkftkHE.js');
11
+ var Button = require('../../Button_cjs_mbF1YhaZ.js');
12
12
  var Group = require('../../Group_cjs_DHNBxjH3.js');
13
13
  var Text = require('../../Text_cjs_C-Ux7Tz5.js');
14
14
  require('@itcase/common');
@@ -1,4 +1,4 @@
1
- export { A as Avatar, b as avatarAppearance, a as avatarConfig } from '../Avatar_es_CSKFNChm.js';
1
+ export { A as Avatar, b as avatarAppearance, a as avatarConfig } from '../Avatar_es_Dq-ngVWR.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import 'clsx';
@@ -24,4 +24,4 @@ import 'lodash/maxBy';
24
24
  import '../hooks/useStyles/styleAttributes.js';
25
25
  import '../Link_es_BnUIX0QT.js';
26
26
  import '../Text_es_BdFAdf7M.js';
27
- import '../Image_es_ChF-63wh.js';
27
+ import '../Image_es_BvYo_cHH.js';
@@ -3,7 +3,7 @@ import clsx from 'clsx';
3
3
  import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
4
4
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
5
5
  import { useStyles } from '../hooks/useStyles/useStyles.js';
6
- import { A as Avatar } from '../Avatar_es_CSKFNChm.js';
6
+ import { A as Avatar } from '../Avatar_es_Dq-ngVWR.js';
7
7
  import { G as Group } from '../Group_es_B2yGEJfj.js';
8
8
  import { T as Text } from '../Text_es_BdFAdf7M.js';
9
9
  import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
@@ -25,7 +25,7 @@ import 'react-inlinesvg';
25
25
  import '../hoc/urlWithAssetPrefix.js';
26
26
  import '../context/UrlAssetPrefix.js';
27
27
  import '../Link_es_BnUIX0QT.js';
28
- import '../Image_es_ChF-63wh.js';
28
+ import '../Image_es_BvYo_cHH.js';
29
29
 
30
30
  var avatarStackAppearanceSize = {
31
31
  size16: {
@@ -1,4 +1,4 @@
1
- export { B as Button, a as buttonAppearance, b as buttonConfig } from '../Button_es_kqE4jwUz.js';
1
+ export { B as Button, a as buttonAppearance, b as buttonConfig } from '../Button_es_B2N3GsgJ.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import 'clsx';
@@ -102,7 +102,10 @@ var cellAppearanceSurface = {
102
102
  surfacePrimary: {
103
103
  fill: 'surfacePrimary',
104
104
  fillHover: 'surfacePrimaryHover',
105
+ titleTextSize: 'surfaceTextPrimary',
105
106
  titleIconItemFill: 'surfaceItemPrimary',
107
+ valueTextColor: 'surfaceTextPrimary',
108
+ titleTextColor: 'surfaceTextPrimary',
106
109
  titleLabelAppearance: 'accentPrimary',
107
110
  labelTextColor: 'surfaceTextPrimary',
108
111
  borderColor: 'surfaceBorderPrimary',
@@ -112,7 +115,10 @@ var cellAppearanceSurface = {
112
115
  surfaceSecondary: {
113
116
  fill: 'surfaceSecondary',
114
117
  fillHover: 'surfaceSecondaryHover',
118
+ titleTextSize: 'surfaceTextPrimary',
119
+ titleTextColor: 'surfaceTextPrimary',
115
120
  titleIconItemFill: 'surfaceItemPrimary',
121
+ valueTextColor: 'surfaceTextPrimary',
116
122
  titleLabelAppearance: 'accentPrimary',
117
123
  labelTextColor: 'surfaceTextPrimary',
118
124
  borderColor: 'surfaceBorderPrimary',
@@ -122,7 +128,10 @@ var cellAppearanceSurface = {
122
128
  surfaceTertiary: {
123
129
  fill: 'surfaceTertiary',
124
130
  fillHover: 'surfaceTertiaryHover',
131
+ titleTextSize: 'surfaceTextPrimary',
132
+ titleTextColor: 'surfaceTextPrimary',
125
133
  titleIconItemFill: 'surfaceItemPrimary',
134
+ valueTextColor: 'surfaceTextPrimary',
126
135
  titleLabelAppearance: 'accentPrimary',
127
136
  labelTextColor: 'surfaceTextPrimary',
128
137
  borderColor: 'surfaceBorderPrimary',
@@ -130,7 +139,10 @@ var cellAppearanceSurface = {
130
139
  valueLabelAppearance: 'accentPrimary',
131
140
  },
132
141
  surfaceQuaternary: {
142
+ titleTextSize: 'surfaceTextPrimary',
133
143
  fill: 'surfaceQuaternary',
144
+ valueTextColor: 'surfaceTextPrimary',
145
+ titleTextColor: 'surfaceTextPrimary',
134
146
  fillHover: 'surfaceQuaternaryHover',
135
147
  titleIconItemFill: 'surfaceItemPrimary',
136
148
  titleLabelAppearance: 'accentPrimary',
@@ -1,4 +1,4 @@
1
- export { C as Chips, b as ChipsGroup, a as chipsAppearance, c as chipsConfig } from '../ChipsGroup_es_BVXA2F8b.js';
1
+ export { C as Chips, b as ChipsGroup, a as chipsAppearance, c as chipsConfig } from '../ChipsGroup_es_CCN4Bfnp.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'clsx';
4
4
  import '../hooks/useAppearanceConfig/useAppearanceConfig.js';
@@ -4,7 +4,7 @@ import clsx from 'clsx';
4
4
  import Cookies from 'js-cookie';
5
5
  import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
6
6
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
7
- import { B as Button } from '../Button_es_kqE4jwUz.js';
7
+ import { B as Button } from '../Button_es_B2N3GsgJ.js';
8
8
  import { T as Text } from '../Text_es_BdFAdf7M.js';
9
9
  import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
10
10
  import 'lodash/camelCase';
@@ -2,10 +2,10 @@ import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import { useCallback } from 'react';
3
3
  import clsx from 'clsx';
4
4
  import { DATE_PERIOD_INTERVALS } from '@itcase/common';
5
- import { D as DatePickerInput } from '../DatePicker_es_B84xipuO.js';
5
+ import { D as DatePickerInput } from '../DatePicker_es_CLJs86S9.js';
6
6
  import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
7
7
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
8
- import { b as ChipsGroup, C as Chips } from '../ChipsGroup_es_BVXA2F8b.js';
8
+ import { b as ChipsGroup, C as Chips } from '../ChipsGroup_es_CCN4Bfnp.js';
9
9
  import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
10
10
  import 'date-fns/locale';
11
11
  import 'react-datepicker';
@@ -20,7 +20,7 @@ import '../hooks/useMediaQueries/useMediaQueries.js';
20
20
  import 'react-responsive';
21
21
  import '../utils/setViewportProperty.js';
22
22
  import '../hooks/useStyles/styleAttributes.js';
23
- import '../Button_es_kqE4jwUz.js';
23
+ import '../Button_es_B2N3GsgJ.js';
24
24
  import '../Icon_es_BGR9vYtq.js';
25
25
  import 'react-inlinesvg';
26
26
  import '../hoc/urlWithAssetPrefix.js';
@@ -1,4 +1,4 @@
1
- export { D as DatePickerInput, a as datePickerAppearance, d as datePickerConfig } from '../DatePicker_es_B84xipuO.js';
1
+ export { D as DatePickerInput, a as datePickerAppearance, d as datePickerConfig } from '../DatePicker_es_CLJs86S9.js';
2
2
  import '../tslib.es6_es_Bwu1Cn-t.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
@@ -20,7 +20,7 @@ import '../utils/setViewportProperty.js';
20
20
  import '../hooks/useStyles/useStyles.js';
21
21
  import 'lodash/maxBy';
22
22
  import '../hooks/useStyles/styleAttributes.js';
23
- import '../Button_es_kqE4jwUz.js';
23
+ import '../Button_es_B2N3GsgJ.js';
24
24
  import '../Icon_es_BGR9vYtq.js';
25
25
  import 'react-inlinesvg';
26
26
  import '../hoc/urlWithAssetPrefix.js';
@@ -1,4 +1,4 @@
1
- export { I as Image } from '../Image_es_ChF-63wh.js';
1
+ export { I as Image } from '../Image_es_BvYo_cHH.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import 'clsx';
@@ -6,7 +6,7 @@ import { urlWithAssetPrefix } from '../hoc/urlWithAssetPrefix.js';
6
6
  import { useAppearanceConfig } from '../hooks/useAppearanceConfig/useAppearanceConfig.js';
7
7
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
8
8
  import { useStyles } from '../hooks/useStyles/useStyles.js';
9
- import { B as Button } from '../Button_es_kqE4jwUz.js';
9
+ import { B as Button } from '../Button_es_B2N3GsgJ.js';
10
10
  import { G as Group } from '../Group_es_B2yGEJfj.js';
11
11
  import { T as Text } from '../Text_es_BdFAdf7M.js';
12
12
  import '@itcase/common';
@@ -5,7 +5,6 @@
5
5
  align-items: center;
6
6
  }
7
7
  }
8
-
9
8
  .chips {
10
9
  @each $size in xxl, xl, l, m, s, xs, xxs {
11
10
  &_size_$(size) {
@@ -18,23 +17,6 @@
18
17
  }
19
18
  }
20
19
  }
21
-
22
- .chips {
23
- &_shape {
24
- &_rounded {
25
- border-radius: var(--chips-shape-rounded-default);
26
- @each $size in xxl, xl, l, m, s, xs, xxs {
27
- &^^&_size_$(size) {
28
- border-radius: var(--chips-$(size)-shape-rounded);
29
- }
30
- }
31
- }
32
- &_circular {
33
- border-radius: 20px;
34
- }
35
- }
36
- }
37
-
38
20
  .chips {
39
21
  &&_skeleton {
40
22
  background-size: 200% !important;
@@ -51,7 +33,6 @@
51
33
  }
52
34
  }
53
35
  }
54
-
55
36
  @keyframes chipsSkeleton {
56
37
  0% {
57
38
  background-position: 200%;
@@ -60,7 +41,6 @@
60
41
  background-position: -200%;
61
42
  }
62
43
  }
63
-
64
44
  :root {
65
45
  /* Default */
66
46
  --chips-shape-rounded-default: 8px;
@@ -12,17 +12,16 @@
12
12
  scroll-behavior: auto;
13
13
  }
14
14
  &--hide-scrollbars {
15
- /* overflow: hidden;
16
15
  overflow: -moz-scrollbars-none;
17
16
  -ms-overflow-style: none;
18
- scrollbar-width: none; */
19
- /* &::-webkit-scrollbar {
17
+ scrollbar-width: none;
18
+ &::-webkit-scrollbar {
20
19
  width: 0 !important;
21
20
  height: 0 !important;
22
21
  background: transparent !important;
23
22
  display: none !important;
24
23
  appearance: none !important;
25
- } */
24
+ }
26
25
  }
27
26
  &--native-scroll {
28
27
  overflow: auto;
@@ -1,6 +1,6 @@
1
1
  .select {
2
2
  width: 100%;
3
- min-width: 240px;
3
+ min-width: 100%;
4
4
  position: relative;
5
5
  }
6
6
 
@@ -2,7 +2,10 @@ declare const cellAppearanceSurface: {
2
2
  surfacePrimary: {
3
3
  fill: string;
4
4
  fillHover: string;
5
+ titleTextSize: string;
5
6
  titleIconItemFill: string;
7
+ valueTextColor: string;
8
+ titleTextColor: string;
6
9
  titleLabelAppearance: string;
7
10
  labelTextColor: string;
8
11
  borderColor: string;
@@ -12,7 +15,10 @@ declare const cellAppearanceSurface: {
12
15
  surfaceSecondary: {
13
16
  fill: string;
14
17
  fillHover: string;
18
+ titleTextSize: string;
19
+ titleTextColor: string;
15
20
  titleIconItemFill: string;
21
+ valueTextColor: string;
16
22
  titleLabelAppearance: string;
17
23
  labelTextColor: string;
18
24
  borderColor: string;
@@ -22,7 +28,10 @@ declare const cellAppearanceSurface: {
22
28
  surfaceTertiary: {
23
29
  fill: string;
24
30
  fillHover: string;
31
+ titleTextSize: string;
32
+ titleTextColor: string;
25
33
  titleIconItemFill: string;
34
+ valueTextColor: string;
26
35
  titleLabelAppearance: string;
27
36
  labelTextColor: string;
28
37
  borderColor: string;
@@ -30,7 +39,10 @@ declare const cellAppearanceSurface: {
30
39
  valueLabelAppearance: string;
31
40
  };
32
41
  surfaceQuaternary: {
42
+ titleTextSize: string;
33
43
  fill: string;
44
+ valueTextColor: string;
45
+ titleTextColor: string;
34
46
  fillHover: string;
35
47
  titleIconItemFill: string;
36
48
  titleLabelAppearance: string;
@@ -0,0 +1,25 @@
1
+ declare const chipsAppearanceShape: {
2
+ circular: {
3
+ shape: string;
4
+ };
5
+ rounded: {
6
+ shape: string;
7
+ };
8
+ roundedL: {
9
+ shape: string;
10
+ shapeStrength: string;
11
+ };
12
+ roundedM: {
13
+ shape: string;
14
+ shapeStrength: string;
15
+ };
16
+ roundedS: {
17
+ shape: string;
18
+ shapeStrength: string;
19
+ };
20
+ roundedXL: {
21
+ shape: string;
22
+ shapeStrength: string;
23
+ };
24
+ };
25
+ export { chipsAppearanceShape };
@@ -24,9 +24,17 @@ declare const chipsAppearanceSurface: {
24
24
  };
25
25
  surfaceSecondary: {
26
26
  fill: string;
27
+ fillActive: string;
28
+ fillActiveHover: string;
27
29
  fillHover: string;
30
+ labelTextActiveColor: string;
28
31
  labelTextColor: string;
32
+ labelTextHoverColor: string;
29
33
  borderColor: string;
34
+ iconAfterFillActiveIcon: string;
35
+ iconAfterFillIcon: string;
36
+ iconBeforeFillActiveIcon: string;
37
+ iconBeforeFillIcon: string;
30
38
  };
31
39
  surfaceTertiary: {
32
40
  fill: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/ui",
3
- "version": "1.8.60",
3
+ "version": "1.8.61",
4
4
  "description": "UI components (Modal, Loader, Popup, etc)",
5
5
  "keywords": [
6
6
  "Modal",