@itcase/ui 1.9.24 → 1.9.25

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 (107) hide show
  1. package/dist/{Avatar_cjs_DRZE113U.js → Avatar_cjs_CS01fvh-.js} +11 -5
  2. package/dist/{Avatar_es_Cmq4xAG6.js → Avatar_es_DRObE1DB.js} +11 -5
  3. package/dist/{ChipsGroup_cjs_D0bGehZY.js → ChipsGroup_cjs_Sn3uiCSJ.js} +33 -33
  4. package/dist/{ChipsGroup_es_DWvsJ5bu.js → ChipsGroup_es_CbzUWqG9.js} +33 -33
  5. package/dist/{DatePicker_cjs_Cm50AX0J.js → DatePicker_cjs_Bfiav-tb.js} +1 -1
  6. package/dist/{DatePicker_es_B-WPA9y9.js → DatePicker_es_CtbVXMmy.js} +1 -1
  7. package/dist/{Group_cjs_393FExUN.js → Group_cjs_DNI9PTBq.js} +1 -1
  8. package/dist/{Group_es_BtE98Vb5.js → Group_es_nBtACpoG.js} +1 -1
  9. package/dist/{SelectContainer_cjs_CsHj-fP_.js → SelectContainer_cjs_CdLyIuwj.js} +1 -1
  10. package/dist/{SelectContainer_es_Bc4Laoir.js → SelectContainer_es_DGTrm8OT.js} +1 -1
  11. package/dist/cjs/components/Avatar.js +1 -1
  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 -16
  15. package/dist/cjs/components/Chips.js +1 -1
  16. package/dist/cjs/components/Code.js +17 -17
  17. package/dist/cjs/components/CookiesWarning.js +1 -1
  18. package/dist/cjs/components/DatePeriod.js +5 -5
  19. package/dist/cjs/components/DatePicker.js +2 -2
  20. package/dist/cjs/components/Group.js +1 -1
  21. package/dist/cjs/components/Notification.js +1 -1
  22. package/dist/cjs/components/Response.js +2 -2
  23. package/dist/cjs/components/Select.js +2 -2
  24. package/dist/cjs/components/Swiper.js +1 -1
  25. package/dist/cjs/components/Textarea.js +9 -21
  26. package/dist/cjs/components/Video.js +1 -1
  27. package/dist/cjs/components/Warning.js +2 -2
  28. package/dist/components/Avatar.js +1 -1
  29. package/dist/components/AvatarStack.js +2 -2
  30. package/dist/components/Button.js +1 -1
  31. package/dist/components/Cell.js +12 -16
  32. package/dist/components/Chips.js +1 -1
  33. package/dist/components/Code.js +17 -17
  34. package/dist/components/CookiesWarning.js +1 -1
  35. package/dist/components/DatePeriod.js +5 -5
  36. package/dist/components/DatePicker.js +2 -2
  37. package/dist/components/Group.js +1 -1
  38. package/dist/components/Notification.js +1 -1
  39. package/dist/components/Response.js +2 -2
  40. package/dist/components/Select.js +2 -2
  41. package/dist/components/Swiper.js +1 -1
  42. package/dist/components/Textarea.js +9 -21
  43. package/dist/components/Video.js +1 -1
  44. package/dist/components/Warning.js +2 -2
  45. package/dist/css/styles/bundles.css +6 -6
  46. package/dist/snippets/Group.snippets.json +1 -1
  47. package/dist/types/components/Button/Button.d.ts +1 -1
  48. package/dist/types/components/Button/Button.interface.d.ts +1 -1
  49. package/dist/types/components/Cell/Cell.appearance.d.ts +2 -2
  50. package/dist/types/components/Cell/Cell.interface.d.ts +67 -56
  51. package/dist/types/components/Cell/appearance/cellSize.d.ts +2 -58
  52. package/dist/types/components/Cell/appearance/cellStyle.d.ts +2 -13
  53. package/dist/types/components/Cell/appearance/cellSurface.d.ts +2 -54
  54. package/dist/types/components/Chips/Chips.interface.d.ts +83 -21
  55. package/dist/types/components/Chips/ChipsGroup.d.ts +2 -1
  56. package/dist/types/components/Chips/appearance/chipsAccent.d.ts +2 -23
  57. package/dist/types/components/Chips/appearance/chipsDanger.d.ts +2 -16
  58. package/dist/types/components/Chips/appearance/chipsDisabled.d.ts +2 -13
  59. package/dist/types/components/Chips/appearance/chipsError.d.ts +2 -16
  60. package/dist/types/components/Chips/appearance/chipsInfo.d.ts +2 -16
  61. package/dist/types/components/Chips/appearance/chipsPrimary.d.ts +2 -16
  62. package/dist/types/components/Chips/appearance/chipsSecondary.d.ts +2 -16
  63. package/dist/types/components/Chips/appearance/chipsShape.d.ts +2 -24
  64. package/dist/types/components/Chips/appearance/chipsSize.d.ts +2 -44
  65. package/dist/types/components/Chips/appearance/chipsStyle.d.ts +2 -13
  66. package/dist/types/components/Chips/appearance/chipsSuccess.d.ts +2 -16
  67. package/dist/types/components/Chips/appearance/chipsSurface.d.ts +2 -45
  68. package/dist/types/components/Chips/appearance/chipsWarning.d.ts +2 -16
  69. package/dist/types/components/Code/Code.appearance.d.ts +2 -2
  70. package/dist/types/components/Code/Code.interface.d.ts +32 -33
  71. package/dist/types/components/Code/appearance/codeDefault.d.ts +2 -10
  72. package/dist/types/components/Code/appearance/codeDisabled.d.ts +2 -11
  73. package/dist/types/components/Code/appearance/codeError.d.ts +2 -11
  74. package/dist/types/components/Code/appearance/codeRequire.d.ts +2 -11
  75. package/dist/types/components/Code/appearance/codeShape.d.ts +2 -24
  76. package/dist/types/components/Code/appearance/codeSize.d.ts +2 -12
  77. package/dist/types/components/Code/appearance/codeStyle.d.ts +2 -15
  78. package/dist/types/components/Code/appearance/codeSuccess.d.ts +2 -11
  79. package/dist/types/components/Dot/Dot.interface.d.ts +5 -5
  80. package/dist/types/components/Group/Group.appearance.d.ts +2 -2
  81. package/dist/types/components/Group/Group.d.ts +53 -2
  82. package/dist/types/components/Group/Group.interface.d.ts +48 -36
  83. package/dist/types/components/Textarea/Textarea.appearance.d.ts +2 -2
  84. package/dist/types/components/Textarea/Textarea.interface.d.ts +25 -22
  85. package/dist/types/components/Textarea/appearance/textareaDefault.d.ts +2 -36
  86. package/dist/types/components/Textarea/appearance/textareaDisabled.d.ts +2 -19
  87. package/dist/types/components/Textarea/appearance/textareaError.d.ts +2 -19
  88. package/dist/types/components/Textarea/appearance/textareaRequire.d.ts +2 -19
  89. package/dist/types/components/Textarea/appearance/textareaShape.d.ts +2 -24
  90. package/dist/types/components/Textarea/appearance/textareaSize.d.ts +2 -30
  91. package/dist/types/components/Textarea/appearance/textareaStyle.d.ts +2 -15
  92. package/dist/types/components/Textarea/appearance/textareaSuccess.d.ts +2 -20
  93. package/dist/types/components/Title/Title.appearance.d.ts +513 -456
  94. package/dist/types/components/Title/Title.interface.d.ts +11 -9
  95. package/dist/types/components/Video/Video.interface.d.ts +3 -6
  96. package/dist/types/components/Warning/Warning.appearance.d.ts +1276 -121
  97. package/dist/types/components/Warning/Warning.interface.d.ts +38 -34
  98. package/dist/types/components/Warning/appearance/warningAccent.d.ts +2 -22
  99. package/dist/types/components/Warning/appearance/warningError.d.ts +2 -22
  100. package/dist/types/components/Warning/appearance/warningInfo.d.ts +2 -22
  101. package/dist/types/components/Warning/appearance/warningShape.d.ts +2 -24
  102. package/dist/types/components/Warning/appearance/warningSize.d.ts +2 -10
  103. package/dist/types/components/Warning/appearance/warningStyle.d.ts +2 -13
  104. package/dist/types/components/Warning/appearance/warningWarning.d.ts +2 -22
  105. package/package.json +1 -1
  106. package/dist/{Button_cjs_BRShPZw4.js → Button_cjs_DPs7uj_n.js} +1 -1
  107. package/dist/{Button_es_CvRcO3xM.js → Button_es_ljlle2Pu.js} +1 -1
@@ -60,25 +60,25 @@ const avatarAppearanceShape = {
60
60
  const avatarAppearanceSize = {
61
61
  size16: {
62
62
  size: '16',
63
- textSize: 'xxl',
63
+ textSize: 'xs',
64
64
  badgeAppearanceSize: 'sizeXXS',
65
65
  iconFillSize: '12',
66
66
  },
67
67
  size20: {
68
68
  size: '20',
69
- textSize: 'xxl',
69
+ textSize: 'xs',
70
70
  badgeAppearanceSize: 'sizeXXS',
71
71
  iconFillSize: '12',
72
72
  },
73
73
  size24: {
74
74
  size: '24',
75
- textSize: 'l',
75
+ textSize: 's',
76
76
  badgeAppearanceSize: 'sizeXXS',
77
77
  iconFillSize: '12',
78
78
  },
79
79
  size32: {
80
80
  size: '32',
81
- textSize: 'l',
81
+ textSize: 'm',
82
82
  badgeAppearanceSize: 'sizeXS',
83
83
  iconFillSize: '12',
84
84
  },
@@ -88,9 +88,15 @@ const avatarAppearanceSize = {
88
88
  badgeAppearanceSize: 'sizeS',
89
89
  iconFillSize: '12',
90
90
  },
91
+ size48: {
92
+ size: '48',
93
+ textSize: 'l',
94
+ badgeAppearanceSize: 'sizeS',
95
+ iconFillSize: '12',
96
+ },
91
97
  size56: {
92
98
  size: '56',
93
- textSize: 'xxl',
99
+ textSize: 'xl',
94
100
  badgeAppearanceSize: 'sizeM',
95
101
  iconFillSize: '16',
96
102
  },
@@ -58,25 +58,25 @@ const avatarAppearanceShape = {
58
58
  const avatarAppearanceSize = {
59
59
  size16: {
60
60
  size: '16',
61
- textSize: 'xxl',
61
+ textSize: 'xs',
62
62
  badgeAppearanceSize: 'sizeXXS',
63
63
  iconFillSize: '12',
64
64
  },
65
65
  size20: {
66
66
  size: '20',
67
- textSize: 'xxl',
67
+ textSize: 'xs',
68
68
  badgeAppearanceSize: 'sizeXXS',
69
69
  iconFillSize: '12',
70
70
  },
71
71
  size24: {
72
72
  size: '24',
73
- textSize: 'l',
73
+ textSize: 's',
74
74
  badgeAppearanceSize: 'sizeXXS',
75
75
  iconFillSize: '12',
76
76
  },
77
77
  size32: {
78
78
  size: '32',
79
- textSize: 'l',
79
+ textSize: 'm',
80
80
  badgeAppearanceSize: 'sizeXS',
81
81
  iconFillSize: '12',
82
82
  },
@@ -86,9 +86,15 @@ const avatarAppearanceSize = {
86
86
  badgeAppearanceSize: 'sizeS',
87
87
  iconFillSize: '12',
88
88
  },
89
+ size48: {
90
+ size: '48',
91
+ textSize: 'l',
92
+ badgeAppearanceSize: 'sizeS',
93
+ iconFillSize: '12',
94
+ },
89
95
  size56: {
90
96
  size: '56',
91
- textSize: 'xxl',
97
+ textSize: 'xl',
92
98
  badgeAppearanceSize: 'sizeM',
93
99
  iconFillSize: '16',
94
100
  },
@@ -90,10 +90,10 @@ const chipsAppearanceInfo = {
90
90
  },
91
91
  infoPrimary: {
92
92
  fill: 'infoPrimary',
93
- labelTextColor: 'infoTextHover',
94
- borderColor: 'infoBorderHover',
95
- iconAfterFillIcon: 'infoItemHover',
96
- iconBeforeFillIcon: 'infoItemHover',
93
+ labelTextColor: 'infoTextPrimary',
94
+ borderColor: 'infoBorderPrimary',
95
+ iconAfterFillIcon: 'infoItemPrimary',
96
+ iconBeforeFillIcon: 'infoItemPrimary',
97
97
  },
98
98
  };
99
99
 
@@ -138,21 +138,21 @@ const chipsAppearanceShape = {
138
138
  rounded: {
139
139
  shape: 'rounded',
140
140
  },
141
- roundedS: {
142
- shape: 'rounded',
143
- shapeStrength: '0_5m',
144
- },
145
- roundedM: {
141
+ roundedXL: {
146
142
  shape: 'rounded',
147
- shapeStrength: '1m',
143
+ shapeStrength: '2m',
148
144
  },
149
145
  roundedL: {
150
146
  shape: 'rounded',
151
147
  shapeStrength: '1_5m',
152
148
  },
153
- roundedXL: {
149
+ roundedM: {
154
150
  shape: 'rounded',
155
- shapeStrength: '2m',
151
+ shapeStrength: '1m',
152
+ },
153
+ roundedS: {
154
+ shape: 'rounded',
155
+ shapeStrength: '0_5m',
156
156
  },
157
157
  };
158
158
 
@@ -160,44 +160,44 @@ const chipsAppearanceSize = {
160
160
  sizeXXL: {
161
161
  size: 'xxl',
162
162
  labelTextSize: 'xl',
163
- iconAfterSize: 24,
164
- iconBeforeSize: 24,
163
+ iconAfterSize: '24',
164
+ iconBeforeSize: '24',
165
165
  },
166
166
  sizeXL: {
167
167
  size: 'xl',
168
168
  labelTextSize: 'm',
169
- iconAfterSize: 20,
170
- iconBeforeSize: 20,
169
+ iconAfterSize: '20',
170
+ iconBeforeSize: '20',
171
171
  },
172
172
  sizeL: {
173
173
  size: 'l',
174
174
  labelTextSize: 'm',
175
- iconAfterSize: 16,
176
- iconBeforeSize: 16,
175
+ iconAfterSize: '16',
176
+ iconBeforeSize: '16',
177
177
  },
178
178
  sizeM: {
179
179
  size: 'm',
180
180
  labelTextSize: 's',
181
- iconAfterSize: 16,
182
- iconBeforeSize: 16,
181
+ iconAfterSize: '16',
182
+ iconBeforeSize: '16',
183
183
  },
184
184
  sizeS: {
185
185
  size: 's',
186
186
  labelTextSize: 's',
187
- iconAfterSize: 16,
188
- iconBeforeSize: 16,
187
+ iconAfterSize: '16',
188
+ iconBeforeSize: '16',
189
189
  },
190
190
  sizeXS: {
191
191
  size: 'xs',
192
192
  labelTextSize: 'xs',
193
- iconAfterSize: 14,
194
- iconBeforeSize: 14,
193
+ iconAfterSize: '14',
194
+ iconBeforeSize: '14',
195
195
  },
196
196
  sizeXXS: {
197
197
  size: 'xxs',
198
198
  labelTextSize: 'xxs',
199
- iconAfterSize: 12,
200
- iconBeforeSize: 12,
199
+ iconAfterSize: '12',
200
+ iconBeforeSize: '12',
201
201
  },
202
202
  };
203
203
 
@@ -244,7 +244,7 @@ const chipsAppearanceSurface = {
244
244
  fill: 'surfacePrimary',
245
245
  fillActive: 'accentPrimary',
246
246
  fillActiveHover: 'accentSecondary',
247
- fillHover: 'surfaceTertiary',
247
+ fillHover: 'surfaceHoverTertiary',
248
248
  labelTextActiveColor: 'accentTextPrimary',
249
249
  labelTextColor: 'surfaceTextPrimary',
250
250
  labelTextColorHover: 'surfaceTextPrimary',
@@ -260,7 +260,7 @@ const chipsAppearanceSurface = {
260
260
  fill: 'surfaceSecondary',
261
261
  fillActive: 'accentPrimary',
262
262
  fillActiveHover: 'accentSecondary',
263
- fillHover: 'surfaceTertiary',
263
+ fillHover: 'surfaceHoverTertiary',
264
264
  labelTextActiveColor: 'accentTextPrimary',
265
265
  labelTextColor: 'surfaceTextPrimary',
266
266
  labelTextColorHover: 'surfaceTextPrimary',
@@ -272,7 +272,7 @@ const chipsAppearanceSurface = {
272
272
  },
273
273
  surfaceTertiary: {
274
274
  fill: 'surfaceTertiary',
275
- fillHover: 'surfaceHover',
275
+ fillHover: 'surfaceHoverTertiary',
276
276
  labelTextColor: 'surfaceTextPrimary',
277
277
  borderColor: 'surfaceBorderTertiary',
278
278
  },
@@ -318,16 +318,16 @@ const chipsConfig = {
318
318
  },
319
319
  };
320
320
  function Chips(props) {
321
- const { appearance, className, dataTestId, dataTour, label = '', iconAfter, iconAfterSrc, iconBefore, iconBeforeSrc, isActive, isDisabled, isSkeleton, onClick, onClickIconAfter, onClickIconBefore, children, } = props;
321
+ const { appearance, className, dataTestId, dataTour, label = '', isActive, isDisabled, isSkeleton, onClick, onClickIconAfter, onClickIconBefore, children, } = props;
322
322
  const appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, chipsConfig, isDisabled);
323
323
  const propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
324
- const { alignClass, alignDirectionClass, fillActiveClass, fillActiveHoverClass, fillClass, fillHoverClass, labelTextActiveColor, labelTextActiveColorHover, labelTextColor, labelTextColorHover, labelTextSize, labelTextWeight, labelTextWrap, borderColorClass, borderTypeClass, badgeAppearance, badgeShape, badgeSize, badgeTextColor, badgeTextSize, badgeValue, cursorClass, iconAfterFill, iconAfterFillActiveIcon, iconAfterFillIcon, iconAfterFillSize, iconAfterShape, iconAfterSize, iconBeforeFill, iconBeforeFillActiveIcon, iconBeforeFillIcon, iconBeforeFillSize, iconBeforeShape, iconBeforeSize, shapeClass, shapeStrengthClass, sizeClass, } = propsGenerator;
324
+ const { alignClass, alignDirectionClass, fillActiveClass, fillActiveHoverClass, fillClass, fillHoverClass, labelTextActiveColor, labelTextActiveColorHover, labelTextColor, labelTextColorHover, labelTextSize, labelTextWeight, labelTextWrap, borderColorClass, borderTypeClass, badgeAppearance, badgeShape, badgeSize, badgeTextColor, badgeTextSize, badgeValue, cursorClass, iconAfter, iconAfterFill, iconAfterFillActiveIcon, iconAfterFillIcon, iconAfterFillSize, iconAfterShape, iconAfterSize, iconAfterSrc, iconBefore, iconBeforeFill, iconBeforeFillActiveIcon, iconBeforeFillIcon, iconBeforeFillSize, iconBeforeShape, iconBeforeSize, iconBeforeSrc, shapeClass, shapeStrengthClass, sizeClass, } = propsGenerator;
325
325
  const { styles: chipsStyles } = useStyles.useStyles(props);
326
326
  return (jsxRuntime.jsx("div", { className: clsx(className, 'chips', !isActive
327
327
  ? fillClass && `fill_${fillClass}`
328
328
  : fillActiveClass && `fill_active_${fillActiveClass}`, !isActive
329
329
  ? fillHoverClass && `fill_hover_${fillHoverClass}`
330
- : fillActiveHoverClass && `fill_active_hover_${fillActiveHoverClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, borderColorClass && `border-color_${borderColorClass}`, borderTypeClass && `border_type_${borderTypeClass}`, sizeClass && `chips_size_${sizeClass}`, alignDirectionClass && `align_${alignDirectionClass}`, alignClass && `align_${alignClass}`, isActive && 'chips_state_active', isDisabled && `chips_state_disabled`, cursorClass && `cursor_${cursorClass}`, onClick && 'cursor_type_pointer', isSkeleton && `chips_skeleton`), "data-test-id": dataTestId && `${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: labelTextActiveColorHover, textColorHover: labelTextColorHover, 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 }))] }) }));
330
+ : fillActiveHoverClass && `fill_active_hover_${fillActiveHoverClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, borderColorClass && `border-color_${borderColorClass}`, borderTypeClass && `border_type_${borderTypeClass}`, sizeClass && `chips_size_${sizeClass}`, alignDirectionClass && `align_${alignDirectionClass}`, alignClass && `align_${alignClass}`, isActive && 'chips_state_active', isDisabled && `chips_state_disabled`, cursorClass && `cursor_${cursorClass}`, onClick && 'cursor_type_pointer', isSkeleton && `chips_skeleton`), "data-test-id": dataTestId && `${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: labelTextActiveColorHover, textColorHover: labelTextColorHover, 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, { appearance: badgeAppearance, className: "chips__badge", size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue }))] }) }));
331
331
  }
332
332
 
333
333
  function ChipsGroup(props) {
@@ -338,7 +338,7 @@ function ChipsGroup(props) {
338
338
  const { styles: groupStyles } = useStyles.useStyles(props);
339
339
  return (jsxRuntime.jsx("div", { className: clsx(className, 'chips-group', 'group', widthClass && `width_${widthClass}`, alignDirectionClass && `align_${alignDirectionClass}`, directionClass && `group_direction_${directionClass}`, alignClass && `align_${alignClass}`, fillClass && `fill_${fillClass}`, horizontalScroll && 'group_scroll_horizontal', wrapClass && `group_wrap_${wrapClass}`, borderColorClass && `border-color_${borderColorClass}`, borderWidthClass && `border-width_${borderWidthClass}`, borderTypeClass && `border_type_${borderTypeClass}`), "data-test-id": dataTestId, "data-tour": dataTour, style: Object.assign({}, groupStyles, style), children: children
340
340
  ? children
341
- : chipsList?.map((item) => (jsxRuntime.jsx(Chips, { appearance: chipsAppearance, label: item.label, iconAfter: item.iconAfter, iconBefore: item.iconBefore, isActive: item.isActive, isDisabled: item.isDisabled, onClick: () => onClick(item) }, item.id))) }));
341
+ : chipsList?.map((item) => (jsxRuntime.jsx(Chips, { appearance: chipsAppearance, label: item.label, iconAfter: item.iconAfter, iconBefore: item.iconBefore, isActive: item.isActive, isDisabled: item.isDisabled, onClick: (event) => onClick(item, event) }, item.id))) }));
342
342
  }
343
343
 
344
344
  exports.Chips = Chips;
@@ -88,10 +88,10 @@ const chipsAppearanceInfo = {
88
88
  },
89
89
  infoPrimary: {
90
90
  fill: 'infoPrimary',
91
- labelTextColor: 'infoTextHover',
92
- borderColor: 'infoBorderHover',
93
- iconAfterFillIcon: 'infoItemHover',
94
- iconBeforeFillIcon: 'infoItemHover',
91
+ labelTextColor: 'infoTextPrimary',
92
+ borderColor: 'infoBorderPrimary',
93
+ iconAfterFillIcon: 'infoItemPrimary',
94
+ iconBeforeFillIcon: 'infoItemPrimary',
95
95
  },
96
96
  };
97
97
 
@@ -136,21 +136,21 @@ const chipsAppearanceShape = {
136
136
  rounded: {
137
137
  shape: 'rounded',
138
138
  },
139
- roundedS: {
140
- shape: 'rounded',
141
- shapeStrength: '0_5m',
142
- },
143
- roundedM: {
139
+ roundedXL: {
144
140
  shape: 'rounded',
145
- shapeStrength: '1m',
141
+ shapeStrength: '2m',
146
142
  },
147
143
  roundedL: {
148
144
  shape: 'rounded',
149
145
  shapeStrength: '1_5m',
150
146
  },
151
- roundedXL: {
147
+ roundedM: {
152
148
  shape: 'rounded',
153
- shapeStrength: '2m',
149
+ shapeStrength: '1m',
150
+ },
151
+ roundedS: {
152
+ shape: 'rounded',
153
+ shapeStrength: '0_5m',
154
154
  },
155
155
  };
156
156
 
@@ -158,44 +158,44 @@ const chipsAppearanceSize = {
158
158
  sizeXXL: {
159
159
  size: 'xxl',
160
160
  labelTextSize: 'xl',
161
- iconAfterSize: 24,
162
- iconBeforeSize: 24,
161
+ iconAfterSize: '24',
162
+ iconBeforeSize: '24',
163
163
  },
164
164
  sizeXL: {
165
165
  size: 'xl',
166
166
  labelTextSize: 'm',
167
- iconAfterSize: 20,
168
- iconBeforeSize: 20,
167
+ iconAfterSize: '20',
168
+ iconBeforeSize: '20',
169
169
  },
170
170
  sizeL: {
171
171
  size: 'l',
172
172
  labelTextSize: 'm',
173
- iconAfterSize: 16,
174
- iconBeforeSize: 16,
173
+ iconAfterSize: '16',
174
+ iconBeforeSize: '16',
175
175
  },
176
176
  sizeM: {
177
177
  size: 'm',
178
178
  labelTextSize: 's',
179
- iconAfterSize: 16,
180
- iconBeforeSize: 16,
179
+ iconAfterSize: '16',
180
+ iconBeforeSize: '16',
181
181
  },
182
182
  sizeS: {
183
183
  size: 's',
184
184
  labelTextSize: 's',
185
- iconAfterSize: 16,
186
- iconBeforeSize: 16,
185
+ iconAfterSize: '16',
186
+ iconBeforeSize: '16',
187
187
  },
188
188
  sizeXS: {
189
189
  size: 'xs',
190
190
  labelTextSize: 'xs',
191
- iconAfterSize: 14,
192
- iconBeforeSize: 14,
191
+ iconAfterSize: '14',
192
+ iconBeforeSize: '14',
193
193
  },
194
194
  sizeXXS: {
195
195
  size: 'xxs',
196
196
  labelTextSize: 'xxs',
197
- iconAfterSize: 12,
198
- iconBeforeSize: 12,
197
+ iconAfterSize: '12',
198
+ iconBeforeSize: '12',
199
199
  },
200
200
  };
201
201
 
@@ -242,7 +242,7 @@ const chipsAppearanceSurface = {
242
242
  fill: 'surfacePrimary',
243
243
  fillActive: 'accentPrimary',
244
244
  fillActiveHover: 'accentSecondary',
245
- fillHover: 'surfaceTertiary',
245
+ fillHover: 'surfaceHoverTertiary',
246
246
  labelTextActiveColor: 'accentTextPrimary',
247
247
  labelTextColor: 'surfaceTextPrimary',
248
248
  labelTextColorHover: 'surfaceTextPrimary',
@@ -258,7 +258,7 @@ const chipsAppearanceSurface = {
258
258
  fill: 'surfaceSecondary',
259
259
  fillActive: 'accentPrimary',
260
260
  fillActiveHover: 'accentSecondary',
261
- fillHover: 'surfaceTertiary',
261
+ fillHover: 'surfaceHoverTertiary',
262
262
  labelTextActiveColor: 'accentTextPrimary',
263
263
  labelTextColor: 'surfaceTextPrimary',
264
264
  labelTextColorHover: 'surfaceTextPrimary',
@@ -270,7 +270,7 @@ const chipsAppearanceSurface = {
270
270
  },
271
271
  surfaceTertiary: {
272
272
  fill: 'surfaceTertiary',
273
- fillHover: 'surfaceHover',
273
+ fillHover: 'surfaceHoverTertiary',
274
274
  labelTextColor: 'surfaceTextPrimary',
275
275
  borderColor: 'surfaceBorderTertiary',
276
276
  },
@@ -316,16 +316,16 @@ const chipsConfig = {
316
316
  },
317
317
  };
318
318
  function Chips(props) {
319
- const { appearance, className, dataTestId, dataTour, label = '', iconAfter, iconAfterSrc, iconBefore, iconBeforeSrc, isActive, isDisabled, isSkeleton, onClick, onClickIconAfter, onClickIconBefore, children, } = props;
319
+ const { appearance, className, dataTestId, dataTour, label = '', isActive, isDisabled, isSkeleton, onClick, onClickIconAfter, onClickIconBefore, children, } = props;
320
320
  const appearanceConfig = useAppearanceConfig(appearance, chipsConfig, isDisabled);
321
321
  const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
322
- const { alignClass, alignDirectionClass, fillActiveClass, fillActiveHoverClass, fillClass, fillHoverClass, labelTextActiveColor, labelTextActiveColorHover, labelTextColor, labelTextColorHover, labelTextSize, labelTextWeight, labelTextWrap, borderColorClass, borderTypeClass, badgeAppearance, badgeShape, badgeSize, badgeTextColor, badgeTextSize, badgeValue, cursorClass, iconAfterFill, iconAfterFillActiveIcon, iconAfterFillIcon, iconAfterFillSize, iconAfterShape, iconAfterSize, iconBeforeFill, iconBeforeFillActiveIcon, iconBeforeFillIcon, iconBeforeFillSize, iconBeforeShape, iconBeforeSize, shapeClass, shapeStrengthClass, sizeClass, } = propsGenerator;
322
+ const { alignClass, alignDirectionClass, fillActiveClass, fillActiveHoverClass, fillClass, fillHoverClass, labelTextActiveColor, labelTextActiveColorHover, labelTextColor, labelTextColorHover, labelTextSize, labelTextWeight, labelTextWrap, borderColorClass, borderTypeClass, badgeAppearance, badgeShape, badgeSize, badgeTextColor, badgeTextSize, badgeValue, cursorClass, iconAfter, iconAfterFill, iconAfterFillActiveIcon, iconAfterFillIcon, iconAfterFillSize, iconAfterShape, iconAfterSize, iconAfterSrc, iconBefore, iconBeforeFill, iconBeforeFillActiveIcon, iconBeforeFillIcon, iconBeforeFillSize, iconBeforeShape, iconBeforeSize, iconBeforeSrc, shapeClass, shapeStrengthClass, sizeClass, } = propsGenerator;
323
323
  const { styles: chipsStyles } = useStyles(props);
324
324
  return (jsx("div", { className: clsx(className, 'chips', !isActive
325
325
  ? fillClass && `fill_${fillClass}`
326
326
  : fillActiveClass && `fill_active_${fillActiveClass}`, !isActive
327
327
  ? fillHoverClass && `fill_hover_${fillHoverClass}`
328
- : fillActiveHoverClass && `fill_active_hover_${fillActiveHoverClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, borderColorClass && `border-color_${borderColorClass}`, borderTypeClass && `border_type_${borderTypeClass}`, sizeClass && `chips_size_${sizeClass}`, alignDirectionClass && `align_${alignDirectionClass}`, alignClass && `align_${alignClass}`, isActive && 'chips_state_active', isDisabled && `chips_state_disabled`, cursorClass && `cursor_${cursorClass}`, onClick && 'cursor_type_pointer', isSkeleton && `chips_skeleton`), "data-test-id": dataTestId && `${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: labelTextActiveColorHover, textColorHover: labelTextColorHover, 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 }))] }) }));
328
+ : fillActiveHoverClass && `fill_active_hover_${fillActiveHoverClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, borderColorClass && `border-color_${borderColorClass}`, borderTypeClass && `border_type_${borderTypeClass}`, sizeClass && `chips_size_${sizeClass}`, alignDirectionClass && `align_${alignDirectionClass}`, alignClass && `align_${alignClass}`, isActive && 'chips_state_active', isDisabled && `chips_state_disabled`, cursorClass && `cursor_${cursorClass}`, onClick && 'cursor_type_pointer', isSkeleton && `chips_skeleton`), "data-test-id": dataTestId && `${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: labelTextActiveColorHover, textColorHover: labelTextColorHover, 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, { appearance: badgeAppearance, className: "chips__badge", size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue }))] }) }));
329
329
  }
330
330
 
331
331
  function ChipsGroup(props) {
@@ -336,7 +336,7 @@ function ChipsGroup(props) {
336
336
  const { styles: groupStyles } = useStyles(props);
337
337
  return (jsx("div", { className: clsx(className, 'chips-group', 'group', widthClass && `width_${widthClass}`, alignDirectionClass && `align_${alignDirectionClass}`, directionClass && `group_direction_${directionClass}`, alignClass && `align_${alignClass}`, fillClass && `fill_${fillClass}`, horizontalScroll && 'group_scroll_horizontal', wrapClass && `group_wrap_${wrapClass}`, borderColorClass && `border-color_${borderColorClass}`, borderWidthClass && `border-width_${borderWidthClass}`, borderTypeClass && `border_type_${borderTypeClass}`), "data-test-id": dataTestId, "data-tour": dataTour, style: Object.assign({}, groupStyles, style), children: children
338
338
  ? children
339
- : chipsList?.map((item) => (jsx(Chips, { appearance: chipsAppearance, label: item.label, iconAfter: item.iconAfter, iconBefore: item.iconBefore, isActive: item.isActive, isDisabled: item.isDisabled, onClick: () => onClick(item) }, item.id))) }));
339
+ : chipsList?.map((item) => (jsx(Chips, { appearance: chipsAppearance, label: item.label, iconAfter: item.iconAfter, iconBefore: item.iconBefore, isActive: item.isActive, isDisabled: item.isDisabled, onClick: (event) => onClick(item, event) }, item.id))) }));
340
340
  }
341
341
 
342
342
  export { Chips as C, chipsAppearance as a, ChipsGroup as b, chipsConfig as c };
@@ -8,7 +8,7 @@ var DatePicker = require('react-datepicker');
8
8
  var useAppearanceConfig = require('./cjs/hooks/useAppearanceConfig/useAppearanceConfig.js');
9
9
  var useDevicePropsGenerator = require('./cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
10
10
  var useStyles = require('./cjs/hooks/useStyles/useStyles.js');
11
- var Button = require('./Button_cjs_BRShPZw4.js');
11
+ var Button = require('./Button_cjs_DPs7uj_n.js');
12
12
  var Icon = require('./Icon_cjs_BgGtdviU.js');
13
13
  var Input = require('./Input_cjs_KgFCCi2U.js');
14
14
  var Label = require('./Label_cjs_FRIVslSV.js');
@@ -6,7 +6,7 @@ import DatePicker from 'react-datepicker';
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_CvRcO3xM.js';
9
+ import { B as Button } from './Button_es_ljlle2Pu.js';
10
10
  import { I as Icon } from './Icon_es_CtZHchZc.js';
11
11
  import { I as Input } from './Input_es_I8GPoibb.js';
12
12
  import { L as Label } from './Label_es_CI2mt2wH.js';
@@ -51,7 +51,7 @@ const Group = React.forwardRef(function Group(props, ref) {
51
51
  `border-color_hover_${borderColorHoverClass}`
52
52
  : borderColorActiveHoverClass &&
53
53
  `border-color_active_hover_${borderColorActiveHoverClass}`
54
- : fillDisabledClass && `fill_${fillDisabledClass}`, borderWidthClass && `border-width_${borderWidthClass}`, borderTypeClass && `border_type_${borderTypeClass}`, elevationClass && `elevation_${elevationClass}`, print === false && 'no-print', print === true && 'print', onClick && 'cursor_type_pointer'), name: name, ref: ref, "data-test-id": dataTestId, "data-tour": dataTour, htmlFor: htmlFor, style: Object.assign({}, groupStyles, style), onClick: onClick, onMouseDown: onMouseDown, children: children }));
54
+ : fillDisabledClass && `fill_${fillDisabledClass}`, borderWidthClass && `border-width_${borderWidthClass}`, borderTypeClass && `border_type_${borderTypeClass}`, elevationClass && `elevation_${elevationClass}`, !print && 'no-print', print && 'print', onClick && 'cursor_type_pointer'), name: name, ref: ref, "data-test-id": dataTestId, "data-tour": dataTour, htmlFor: htmlFor, style: Object.assign({}, groupStyles, style), onClick: onClick, onMouseDown: onMouseDown, children: children }));
55
55
  });
56
56
 
57
57
  exports.Group = Group;
@@ -49,7 +49,7 @@ const Group = React.forwardRef(function Group(props, ref) {
49
49
  `border-color_hover_${borderColorHoverClass}`
50
50
  : borderColorActiveHoverClass &&
51
51
  `border-color_active_hover_${borderColorActiveHoverClass}`
52
- : fillDisabledClass && `fill_${fillDisabledClass}`, borderWidthClass && `border-width_${borderWidthClass}`, borderTypeClass && `border_type_${borderTypeClass}`, elevationClass && `elevation_${elevationClass}`, print === false && 'no-print', print === true && 'print', onClick && 'cursor_type_pointer'), name: name, ref: ref, "data-test-id": dataTestId, "data-tour": dataTour, htmlFor: htmlFor, style: Object.assign({}, groupStyles, style), onClick: onClick, onMouseDown: onMouseDown, children: children }));
52
+ : fillDisabledClass && `fill_${fillDisabledClass}`, borderWidthClass && `border-width_${borderWidthClass}`, borderTypeClass && `border_type_${borderTypeClass}`, elevationClass && `elevation_${elevationClass}`, !print && 'no-print', print && 'print', onClick && 'cursor_type_pointer'), name: name, ref: ref, "data-test-id": dataTestId, "data-tour": dataTour, htmlFor: htmlFor, style: Object.assign({}, groupStyles, style), onClick: onClick, onMouseDown: onMouseDown, children: children }));
53
53
  });
54
54
 
55
55
  export { Group as G, groupAppearance as a, groupConfig as g };
@@ -7,7 +7,7 @@ var Select = require('react-select');
7
7
  var CreatableSelect = require('react-select/creatable');
8
8
  var useAppearanceConfig = require('./cjs/hooks/useAppearanceConfig/useAppearanceConfig.js');
9
9
  var useDevicePropsGenerator = require('./cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
10
- var Group = require('./Group_cjs_393FExUN.js');
10
+ var Group = require('./Group_cjs_DNI9PTBq.js');
11
11
  var Text = require('./Text_cjs_DG2eMKBi.js');
12
12
  var _default = require('@itcase/icons/default');
13
13
  var Icon = require('./Icon_cjs_BgGtdviU.js');
@@ -5,7 +5,7 @@ import Select, { components } from 'react-select';
5
5
  import CreatableSelect from 'react-select/creatable';
6
6
  import { useAppearanceConfig } from './hooks/useAppearanceConfig/useAppearanceConfig.js';
7
7
  import { useDevicePropsGenerator } from './hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
8
- import { G as Group } from './Group_es_BtE98Vb5.js';
8
+ import { G as Group } from './Group_es_nBtACpoG.js';
9
9
  import { T as Text } from './Text_es_CU9KR5AE.js';
10
10
  import { icons12, icons16, icons14, icons24 } from '@itcase/icons/default';
11
11
  import { I as Icon, B as Badge } from './Icon_es_CtZHchZc.js';
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var Avatar = require('../../Avatar_cjs_DRZE113U.js');
3
+ var Avatar = require('../../Avatar_cjs_CS01fvh-.js');
4
4
  require('react/jsx-runtime');
5
5
  require('react');
6
6
  require('clsx');
@@ -5,8 +5,8 @@ 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_DRZE113U.js');
9
- var Group = require('../../Group_cjs_393FExUN.js');
8
+ var Avatar = require('../../Avatar_cjs_CS01fvh-.js');
9
+ var Group = require('../../Group_cjs_DNI9PTBq.js');
10
10
  var Text = require('../../Text_cjs_DG2eMKBi.js');
11
11
  require('react');
12
12
  require('lodash/camelCase');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var Button = require('../../Button_cjs_BRShPZw4.js');
3
+ var Button = require('../../Button_cjs_DPs7uj_n.js');
4
4
  require('react/jsx-runtime');
5
5
  require('react');
6
6
  require('clsx');
@@ -103,50 +103,46 @@ const cellAppearanceStyle = {
103
103
  const cellAppearanceSurface = {
104
104
  surfacePrimary: {
105
105
  fill: 'surfacePrimary',
106
- fillHover: 'surfacePrimaryHover',
106
+ fillHover: 'surfaceHoverPrimary',
107
107
  titleIconItemFill: 'surfaceItemPrimary',
108
108
  titleLabelAppearance: 'accentPrimary',
109
109
  titleTextColor: 'surfaceTextPrimary',
110
- titleTextSize: 'surfaceTextPrimary',
111
110
  labelTextColor: 'surfaceTextPrimary',
112
111
  borderColor: 'surfaceBorderPrimary',
113
112
  valueIconItemFill: 'surfaceItemPrimary',
114
113
  valueLabelAppearance: 'accentPrimary',
115
114
  valueTextColor: 'surfaceTextPrimary',
116
115
  },
117
- surfaceSecondary: {
118
- fill: 'surfaceSecondary',
119
- fillHover: 'surfaceSecondaryHover',
116
+ surfaceQuaternary: {
117
+ fill: 'surfaceQuaternary',
118
+ fillHover: 'surfaceHoverQuaternary',
120
119
  titleIconItemFill: 'surfaceItemPrimary',
121
120
  titleLabelAppearance: 'accentPrimary',
122
121
  titleTextColor: 'surfaceTextPrimary',
123
- titleTextSize: 'surfaceTextPrimary',
124
122
  labelTextColor: 'surfaceTextPrimary',
125
123
  borderColor: 'surfaceBorderPrimary',
126
124
  valueIconItemFill: 'surfaceItemPrimary',
127
125
  valueLabelAppearance: 'accentPrimary',
128
126
  valueTextColor: 'surfaceTextPrimary',
129
127
  },
130
- surfaceTertiary: {
131
- fill: 'surfaceTertiary',
132
- fillHover: 'surfaceTertiaryHover',
128
+ surfaceSecondary: {
129
+ fill: 'surfaceSecondary',
130
+ fillHover: 'surfaceHoverSecondary',
133
131
  titleIconItemFill: 'surfaceItemPrimary',
134
132
  titleLabelAppearance: 'accentPrimary',
135
133
  titleTextColor: 'surfaceTextPrimary',
136
- titleTextSize: 'surfaceTextPrimary',
137
134
  labelTextColor: 'surfaceTextPrimary',
138
135
  borderColor: 'surfaceBorderPrimary',
139
136
  valueIconItemFill: 'surfaceItemPrimary',
140
137
  valueLabelAppearance: 'accentPrimary',
141
138
  valueTextColor: 'surfaceTextPrimary',
142
139
  },
143
- surfaceQuaternary: {
144
- fill: 'surfaceQuaternary',
145
- fillHover: 'surfaceQuaternaryHover',
140
+ surfaceTertiary: {
141
+ fill: 'surfaceTertiary',
142
+ fillHover: 'surfaceHoverTertiary',
146
143
  titleIconItemFill: 'surfaceItemPrimary',
147
144
  titleLabelAppearance: 'accentPrimary',
148
145
  titleTextColor: 'surfaceTextPrimary',
149
- titleTextSize: 'surfaceTextPrimary',
150
146
  labelTextColor: 'surfaceTextPrimary',
151
147
  borderColor: 'surfaceBorderPrimary',
152
148
  valueIconItemFill: 'surfaceItemPrimary',
@@ -168,7 +164,7 @@ const cellConfig = {
168
164
  },
169
165
  };
170
166
  function Cell(props) {
171
- const { className, appearance, title, titleIcon, titleLabel, titleTag, showTitleLabel, showValueLabel, value, valueIcon, valueTag, before, after, isActive, isEqual, isSameWidth, onClick, onMouseEnter, } = props;
167
+ const { appearance, className, title, titleIcon, titleLabel, titleTag, showTitleLabel, showValueLabel, value, valueIcon, valueTag, before, after, isActive, isEqual, isSameWidth, onClick, onMouseEnter, } = props;
172
168
  const appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, cellConfig);
173
169
  const propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
174
170
  const { directionClass, fillActiveClass, fillActiveHoverClass, fillClass, fillHoverClass, titleIconFill, titleIconFillHover, titleIconFillSize, titleIconItemFill, titleIconShape, titleIconSrc, titleLabelAppearance, titleLabelAppearanceSize, titleLabelShape, titleLabelSize, titleLabelTextSize, titleTextColor, titleTextSize, titleTextTruncate, titleTextWeight, titleTextWrap, borderColorActiveClass, borderColorActiveHoverClass, borderColorClass, borderColorHoverClass, reverseClass, shapeClass, sizeClass, valueIconFill, valueIconFillHover, valueIconFillSize, valueIconItemFill, valueIconShape, valueIconSrc, valueLabel, valueLabelAppearance, valueLabelAppearanceSize, valueLabelShape, valueLabelSize, valueLabelTextSize, valueTextAlign, valueTextColor, valueTextSize, valueTextTruncate, valueTextWeight, valueTextWrap, widthClass, zeroGap, zeroPadding, } = propsGenerator;
@@ -185,7 +181,7 @@ function Cell(props) {
185
181
  ? borderColorHoverClass &&
186
182
  `border-color_hover_${borderColorHoverClass}`
187
183
  : borderColorActiveHoverClass &&
188
- `border-color_active_hover_${borderColorActiveHoverClass}`, reverseClass && `cell_reverse_${reverseClass}`, shapeClass && `cell_shape_${shapeClass}`, widthClass && `width_${widthClass}`, zeroPadding && 'cell_reset-padding', zeroGap && 'cell_reset-gap'), style: cellStyles, onClick: onClick, onMouseEnter: onMouseEnter, children: [before && jsxRuntime.jsx("div", { className: "cell__before", children: before }), jsxRuntime.jsxs("div", { className: clsx('cell__wrapper', directionClass && `cell__wrapper_direction_${directionClass}`, isEqual && 'cell__wrapper-equal', isSameWidth && 'cell__wrapper-same-width'), children: [title && (jsxRuntime.jsxs("div", { className: "cell__data", style: dataStyles, children: [jsxRuntime.jsx(Text.Text, { className: "cell__title", size: titleTextSize, textColor: titleTextColor, textTruncate: titleTextTruncate, textWeight: titleTextWeight, textWrap: titleTextWrap, tag: titleTag, children: title }), (titleIcon || titleIconSrc) && (jsxRuntime.jsx(Icon.Icon, { className: "cell__title-icon", fill: titleIconFill, fillSize: titleIconFillSize, iconFill: titleIconItemFill, iconFillHover: titleIconFillHover, imageSrc: titleIconSrc, shape: titleIconShape, SvgImage: titleIcon })), (showTitleLabel || titleLabel) && (jsxRuntime.jsx(Label.Label, { className: "cell__title-label", appearance: `${titleLabelAppearance} ${titleLabelAppearanceSize}`, size: titleLabelSize, label: titleLabel, labelTextSize: titleLabelTextSize, shape: titleLabelShape }))] })), value && (jsxRuntime.jsxs("div", { className: "cell__data", style: dataStyles, children: [jsxRuntime.jsx(Text.Text, { className: "cell__value", size: valueTextSize, textAlign: valueTextAlign, textColor: valueTextColor, textTruncate: valueTextTruncate, textWeight: valueTextWeight, textWrap: valueTextWrap, tag: valueTag, children: value }), (valueIcon || valueIconSrc) && (jsxRuntime.jsx(Icon.Icon, { className: "cell__value-icon", fill: valueIconFill, fillSize: valueIconFillSize, iconFill: valueIconItemFill, iconFillHover: valueIconFillHover, imageSrc: valueIconSrc, shape: valueIconShape, SvgImage: valueIcon })), (showValueLabel || valueLabel) && (jsxRuntime.jsx(Label.Label, { className: "cell__value-label", appearance: `${valueLabelAppearance} ${valueLabelAppearanceSize}`, size: valueLabelSize, label: valueLabel, labelTextSize: valueLabelTextSize, shape: valueLabelShape }))] }))] }), after && jsxRuntime.jsx("div", { className: "cell__after", children: after })] }));
184
+ `border-color_active_hover_${borderColorActiveHoverClass}`, reverseClass && `cell_reverse_${reverseClass}`, shapeClass && `cell_shape_${shapeClass}`, widthClass && `width_${widthClass}`, zeroPadding && 'cell_reset-padding', zeroGap && 'cell_reset-gap'), style: cellStyles, onClick: onClick, onMouseEnter: onMouseEnter, children: [before && jsxRuntime.jsx("div", { className: "cell__before", children: before }), jsxRuntime.jsxs("div", { className: clsx('cell__wrapper', directionClass && `cell__wrapper_direction_${directionClass}`, isEqual && 'cell__wrapper-equal', isSameWidth && 'cell__wrapper-same-width'), children: [title && (jsxRuntime.jsxs("div", { className: "cell__data", style: dataStyles, children: [jsxRuntime.jsx(Text.Text, { className: "cell__title", size: titleTextSize, textColor: titleTextColor, textTruncate: titleTextTruncate, textWeight: titleTextWeight, textWrap: titleTextWrap, tag: titleTag, children: title }), (titleIcon || titleIconSrc) && (jsxRuntime.jsx(Icon.Icon, { className: "cell__title-icon", fill: titleIconFill, fillSize: titleIconFillSize, iconFill: titleIconItemFill, iconFillHover: titleIconFillHover, imageSrc: titleIconSrc, shape: titleIconShape, SvgImage: titleIcon })), (showTitleLabel || titleLabel) && (jsxRuntime.jsx(Label.Label, { appearance: `${titleLabelAppearance} ${titleLabelAppearanceSize}`, className: "cell__title-label", size: titleLabelSize, label: titleLabel, labelTextSize: titleLabelTextSize, shape: titleLabelShape }))] })), value && (jsxRuntime.jsxs("div", { className: "cell__data", style: dataStyles, children: [jsxRuntime.jsx(Text.Text, { className: "cell__value", size: valueTextSize, textAlign: valueTextAlign, textColor: valueTextColor, textTruncate: valueTextTruncate, textWeight: valueTextWeight, textWrap: valueTextWrap, tag: valueTag, children: value }), (valueIcon || valueIconSrc) && (jsxRuntime.jsx(Icon.Icon, { className: "cell__value-icon", fill: valueIconFill, fillSize: valueIconFillSize, iconFill: valueIconItemFill, iconFillHover: valueIconFillHover, imageSrc: valueIconSrc, shape: valueIconShape, SvgImage: valueIcon })), (showValueLabel || valueLabel) && (jsxRuntime.jsx(Label.Label, { appearance: `${valueLabelAppearance} ${valueLabelAppearanceSize}`, className: "cell__value-label", size: valueLabelSize, label: valueLabel, labelTextSize: valueLabelTextSize, shape: valueLabelShape }))] }))] }), after && jsxRuntime.jsx("div", { className: "cell__after", children: after })] }));
189
185
  }
190
186
 
191
187
  exports.Cell = Cell;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var ChipsGroup = require('../../ChipsGroup_cjs_D0bGehZY.js');
3
+ var ChipsGroup = require('../../ChipsGroup_cjs_Sn3uiCSJ.js');
4
4
  require('react/jsx-runtime');
5
5
  require('clsx');
6
6
  require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');