@itcase/ui 1.9.23 → 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_CFzdSMKV.js → Group_cjs_DNI9PTBq.js} +3 -3
  8. package/dist/{Group_es_BwTj-yH-.js → Group_es_nBtACpoG.js} +3 -3
  9. package/dist/{SelectContainer_cjs_tjM35jHG.js → SelectContainer_cjs_CdLyIuwj.js} +1 -1
  10. package/dist/{SelectContainer_es_BKIz5i19.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 +25 -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
@@ -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');
@@ -48,7 +48,7 @@ const codeAppearanceError = {
48
48
  inputBorderColorHover: 'errorBorderSecondary',
49
49
  inputCaretColor: 'surfaceItemPrimary',
50
50
  inputFill: 'errorTertiary',
51
- inputFillHover: 'errorTertiary',
51
+ inputFillHover: 'errorHoverTertiary',
52
52
  inputPlaceholderTextColor: 'surfaceTextQuaternary',
53
53
  inputTextColor: 'surfaceTextPrimary',
54
54
  },
@@ -73,21 +73,21 @@ const codeAppearanceShape = {
73
73
  rounded: {
74
74
  shape: 'rounded',
75
75
  },
76
- roundedS: {
77
- shape: 'rounded',
78
- shapeStrength: '0_5m',
79
- },
80
- roundedM: {
76
+ roundedXL: {
81
77
  shape: 'rounded',
82
- shapeStrength: '1m',
78
+ shapeStrength: '2m',
83
79
  },
84
80
  roundedL: {
85
81
  shape: 'rounded',
86
82
  shapeStrength: '1_5m',
87
83
  },
88
- roundedXL: {
84
+ roundedM: {
89
85
  shape: 'rounded',
90
- shapeStrength: '2m',
86
+ shapeStrength: '1m',
87
+ },
88
+ roundedS: {
89
+ shape: 'rounded',
90
+ shapeStrength: '0_5m',
91
91
  },
92
92
  };
93
93
 
@@ -105,19 +105,19 @@ const codeAppearanceSize = {
105
105
  };
106
106
 
107
107
  const codeAppearanceStyle = {
108
- full: {
109
- inputBorderColor: 'none',
110
- },
111
- ghost: {
108
+ solid: {
112
109
  inputBorderColor: 'none',
113
- inputFill: 'none',
114
110
  },
115
111
  outlined: {
116
112
  inputFill: 'none',
117
113
  },
118
- solid: {
114
+ full: {
119
115
  inputBorderColor: 'none',
120
116
  },
117
+ ghost: {
118
+ inputBorderColor: 'none',
119
+ inputFill: 'none',
120
+ },
121
121
  };
122
122
 
123
123
  const codeAppearanceSuccess = {
@@ -126,7 +126,7 @@ const codeAppearanceSuccess = {
126
126
  inputBorderColorHover: 'successBorderSecondary',
127
127
  inputCaretColor: 'surfaceItemPrimary',
128
128
  inputFill: 'successTertiary',
129
- inputFillHover: 'successTertiary',
129
+ inputFillHover: 'successHoverTertiary',
130
130
  inputPlaceholderTextColor: 'surfaceTextQuaternary',
131
131
  inputTextColor: 'surfaceTextPrimary',
132
132
  },
@@ -150,7 +150,7 @@ const codeConfig = {
150
150
  },
151
151
  };
152
152
  function Code(props) {
153
- const { className, appearance, initialValue = '', isDisabled, inputAutoFocus, inputCount = 6, inputPlaceholder, inputType = 'number', separatorComponent, before, after, isSkeleton, onBlur, onChange, onFocus, } = props;
153
+ const { appearance, className, initialValue = '', inputAutoFocus, inputCount = 6, inputPlaceholder, inputType = 'number', separatorComponent, before, after, isDisabled, isSkeleton, onBlur, onChange, onFocus, } = props;
154
154
  const [otp, setOtp] = React.useState(initialValue);
155
155
  const appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, codeConfig, isDisabled);
156
156
  const propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
@@ -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_BRShPZw4.js');
9
+ var Button = require('../../Button_cjs_DPs7uj_n.js');
10
10
  var Text = require('../../Text_cjs_DG2eMKBi.js');
11
11
  require('lodash/camelCase');
12
12
  require('lodash/castArray');
@@ -7,17 +7,17 @@ var luxon = require('luxon');
7
7
  var common = require('@itcase/common');
8
8
  var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
9
9
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
10
- var ChipsGroup = require('../../ChipsGroup_cjs_D0bGehZY.js');
11
- var DatePicker = require('../../DatePicker_cjs_Cm50AX0J.js');
10
+ var ChipsGroup = require('../../ChipsGroup_cjs_Sn3uiCSJ.js');
11
+ var DatePicker = require('../../DatePicker_cjs_Bfiav-tb.js');
12
12
  require('react-select');
13
13
  require('../../Icon_cjs_BgGtdviU.js');
14
- var SelectContainer = require('../../SelectContainer_cjs_tjM35jHG.js');
14
+ var SelectContainer = require('../../SelectContainer_cjs_CdLyIuwj.js');
15
15
  require('lodash/camelCase');
16
16
  require('lodash/maxBy');
17
17
  require('lodash/upperFirst');
18
18
  require('../context/Notifications.js');
19
19
  require('../context/UIContext.js');
20
- require('../../Group_cjs_CFzdSMKV.js');
20
+ require('../../Group_cjs_DNI9PTBq.js');
21
21
  require('lodash/castArray');
22
22
  require('../hooks.js');
23
23
  require('../hooks/useStyles/styleAttributes.js');
@@ -29,7 +29,7 @@ require('../hooks/useStyles/useStyles.js');
29
29
  require('../../Text_cjs_DG2eMKBi.js');
30
30
  require('date-fns/locale');
31
31
  require('react-datepicker');
32
- require('../../Button_cjs_BRShPZw4.js');
32
+ require('../../Button_cjs_DPs7uj_n.js');
33
33
  require('../../Link_cjs_qKXVfU8e.js');
34
34
  require('../../Loader_cjs_DWBtnjaL.js');
35
35
  require('../../Input_cjs_KgFCCi2U.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var DatePicker = require('../../DatePicker_cjs_Cm50AX0J.js');
3
+ var DatePicker = require('../../DatePicker_cjs_Bfiav-tb.js');
4
4
  require('react/jsx-runtime');
5
5
  require('react');
6
6
  require('clsx');
@@ -22,7 +22,7 @@ require('../hooks.js');
22
22
  require('../hooks/useStyles/styleAttributes.js');
23
23
  require('../hooks/useStyles/useStyles.js');
24
24
  require('lodash/maxBy');
25
- require('../../Button_cjs_BRShPZw4.js');
25
+ require('../../Button_cjs_DPs7uj_n.js');
26
26
  require('../../Icon_cjs_BgGtdviU.js');
27
27
  require('react-inlinesvg');
28
28
  require('../hoc/urlWithAssetPrefix.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var Group = require('../../Group_cjs_CFzdSMKV.js');
3
+ var Group = require('../../Group_cjs_DNI9PTBq.js');
4
4
  require('react/jsx-runtime');
5
5
  require('react');
6
6
  require('clsx');
@@ -6,7 +6,7 @@ var Loader = require('../../Loader_cjs_DWBtnjaL.js');
6
6
  var useAppearanceConfig = require('../hooks/useAppearanceConfig/useAppearanceConfig.js');
7
7
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
8
8
  var useStyles = require('../hooks/useStyles/useStyles.js');
9
- var Button = require('../../Button_cjs_BRShPZw4.js');
9
+ var Button = require('../../Button_cjs_DPs7uj_n.js');
10
10
  var Icon = require('../../Icon_cjs_BgGtdviU.js');
11
11
  var Text = require('../../Text_cjs_DG2eMKBi.js');
12
12
  var _default = require('@itcase/icons/default');
@@ -8,8 +8,8 @@ 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_BRShPZw4.js');
12
- var Group = require('../../Group_cjs_CFzdSMKV.js');
11
+ var Button = require('../../Button_cjs_DPs7uj_n.js');
12
+ var Group = require('../../Group_cjs_DNI9PTBq.js');
13
13
  var Text = require('../../Text_cjs_DG2eMKBi.js');
14
14
  require('@itcase/common');
15
15
  require('../context/UrlAssetPrefix.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var SelectContainer = require('../../SelectContainer_cjs_tjM35jHG.js');
3
+ var SelectContainer = require('../../SelectContainer_cjs_CdLyIuwj.js');
4
4
  require('react/jsx-runtime');
5
5
  require('react');
6
6
  require('clsx');
@@ -20,7 +20,7 @@ require('react-responsive');
20
20
  require('../utils/setViewportProperty.js');
21
21
  require('../hooks.js');
22
22
  require('../hooks/useStyles/styleAttributes.js');
23
- require('../../Group_cjs_CFzdSMKV.js');
23
+ require('../../Group_cjs_DNI9PTBq.js');
24
24
  require('../hooks/useStyles/useStyles.js');
25
25
  require('lodash/maxBy');
26
26
  require('../../Text_cjs_DG2eMKBi.js');
@@ -4,7 +4,7 @@ var jsxRuntime = require('react/jsx-runtime');
4
4
  var React = require('react');
5
5
  var clsx = require('clsx');
6
6
  var react = require('swiper/react');
7
- var Group = require('../../Group_cjs_CFzdSMKV.js');
7
+ var Group = require('../../Group_cjs_DNI9PTBq.js');
8
8
  var Text = require('../../Text_cjs_DG2eMKBi.js');
9
9
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
10
10
  var useStyles = require('../hooks/useStyles/useStyles.js');
@@ -24,32 +24,28 @@ const textareaAppearanceDefault = {
24
24
  fillHover: 'surfaceTertiary',
25
25
  borderColor: 'surfaceBorderTertiary',
26
26
  borderColorHover: 'surfaceBorderQuaternary',
27
- iconBeforeFill: 'surfaceItemQuaternary',
28
27
  iconClearFill: 'surfaceItemPrimary',
29
28
  placeholderTextColor: 'surfaceTextQuaternary',
30
29
  },
31
- defaultSecondary: {
30
+ defaultQuaternary: {
32
31
  fill: 'surfacePrimary',
33
- fillHover: 'surfaceTertiary',
34
32
  borderColor: 'surfaceBorderTertiary',
35
33
  borderColorHover: 'surfaceBorderQuaternary',
36
- iconBeforeFill: 'surfaceItemQuaternary',
37
34
  iconClearFill: 'surfaceItemPrimary',
38
35
  placeholderTextColor: 'surfaceTextQuaternary',
39
36
  },
40
- defaultTertiary: {
37
+ defaultSecondary: {
41
38
  fill: 'surfacePrimary',
39
+ fillHover: 'surfaceTertiary',
42
40
  borderColor: 'surfaceBorderTertiary',
43
41
  borderColorHover: 'surfaceBorderQuaternary',
44
- iconBeforeFill: 'surfaceItemQuaternary',
45
42
  iconClearFill: 'surfaceItemPrimary',
46
43
  placeholderTextColor: 'surfaceTextQuaternary',
47
44
  },
48
- defaultQuaternary: {
45
+ defaultTertiary: {
49
46
  fill: 'surfacePrimary',
50
47
  borderColor: 'surfaceBorderTertiary',
51
48
  borderColorHover: 'surfaceBorderQuaternary',
52
- iconBeforeFill: 'surfaceItemQuaternary',
53
49
  iconClearFill: 'surfaceItemPrimary',
54
50
  placeholderTextColor: 'surfaceTextQuaternary',
55
51
  },
@@ -61,7 +57,6 @@ const textareaAppearanceDisabled = {
61
57
  borderColor: 'errorBorderQuaternary',
62
58
  borderColorHover: 'errorBorderQuaternary',
63
59
  textColor: 'surfaceTextQuaternary',
64
- iconBeforeFill: 'errorItemQuaternary',
65
60
  iconClearFill: 'errorItemPrimary',
66
61
  placeholderTextColor: 'surfaceTextQuaternary',
67
62
  },
@@ -69,7 +64,6 @@ const textareaAppearanceDisabled = {
69
64
  fill: 'surfaceSecondary',
70
65
  borderColor: 'surfaceBorderTertiary',
71
66
  borderColorHover: 'surfaceBorderQuaternary',
72
- iconBeforeFill: 'surfaceItemQuaternary',
73
67
  iconClearFill: 'surfaceItemPrimary',
74
68
  placeholderTextColor: 'surfaceTextSecondary',
75
69
  },
@@ -79,17 +73,15 @@ const textareaAppearanceError = {
79
73
  errorPrimary: {
80
74
  fill: 'errorTertiary',
81
75
  borderColor: 'errorBorderQuaternary',
82
- borderColorHover: 'errorBorderQuaternary',
76
+ borderColorHover: 'errorBorderHoverQuaternary',
83
77
  textColor: 'surfaceTextPrimary',
84
- iconBeforeFill: 'errorItemQuaternary',
85
78
  iconClearFill: 'errorItemPrimary',
86
79
  placeholderTextColor: 'surfaceTextQuaternary',
87
80
  },
88
81
  errorSecondary: {
89
82
  fill: 'errorSecondary',
90
83
  borderColor: 'errorBorderTertiary',
91
- borderColorHover: 'errorBorderQuaternary',
92
- iconBeforeFill: 'errorItemQuaternary',
84
+ borderColorHover: 'errorBorderHoverQuaternary',
93
85
  iconClearFill: 'errorItemPrimary',
94
86
  placeholderTextColor: 'errorTextSecondary',
95
87
  },
@@ -101,7 +93,6 @@ const textareaAppearanceRequire = {
101
93
  borderColor: 'warningBorderQuaternary',
102
94
  borderColorHover: 'warningBorderQuaternary',
103
95
  textColor: 'surfaceTextPrimary',
104
- iconBeforeFill: 'warningItemQuaternary',
105
96
  iconClearFill: 'warningItemPrimary',
106
97
  placeholderTextColor: 'surfaceTextQuaternary',
107
98
  },
@@ -109,7 +100,6 @@ const textareaAppearanceRequire = {
109
100
  fill: 'surfaceSecondary',
110
101
  borderColor: 'surfaceBorderTertiary',
111
102
  borderColorHover: 'surfaceBorderQuaternary',
112
- iconBeforeFill: 'surfaceItemQuaternary',
113
103
  iconClearFill: 'surfaceItemPrimary',
114
104
  placeholderTextColor: 'surfaceTextSecondary',
115
105
  },
@@ -190,11 +180,10 @@ const textareaAppearanceStyle = {
190
180
  const textareaAppearanceSuccess = {
191
181
  successPrimary: {
192
182
  fill: 'successTertiary',
193
- fillHover: 'successTertiary',
183
+ fillHover: 'successHoverTertiary',
194
184
  borderColor: 'successBorderQuaternary',
195
185
  borderColorHover: 'successBorderQuaternary',
196
186
  textColor: 'surfaceTextPrimary',
197
- iconBeforeFill: 'successItemQuaternary',
198
187
  iconClearFill: 'successItemPrimary',
199
188
  placeholderTextColor: 'surfaceTextQuaternary',
200
189
  },
@@ -202,7 +191,6 @@ const textareaAppearanceSuccess = {
202
191
  fill: 'surfaceSecondary',
203
192
  borderColor: 'surfaceBorderTertiary',
204
193
  borderColorHover: 'surfaceBorderQuaternary',
205
- iconBeforeFill: 'surfaceItemQuaternary',
206
194
  iconClearFill: 'surfaceItemPrimary',
207
195
  placeholderTextColor: 'surfaceTextSecondary',
208
196
  },
@@ -226,12 +214,12 @@ const textareaConfig = {
226
214
  },
227
215
  };
228
216
  function Textarea(props) {
229
- const { id, className, appearance, isDisabled, placeholder, value, onBlur, onChange, onFocus, onKeyDown, } = props;
217
+ const { id, appearance, className, placeholder, value, isDisabled, onBlur, onChange, onFocus, onKeyDown, } = props;
230
218
  const appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, textareaConfig, isDisabled);
231
219
  const propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
232
220
  const { fillClass, fillHoverClass, borderColorClass, borderHoverClass, borderWidthClass, textColorClass, textSizeClass, textWeightClass, caretClass, placeholderTextColorClass, shapeClass, shapeStrengthClass, sizeClass, widthClass, } = propsGenerator;
233
221
  return (jsxRuntime.jsx("div", { className: clsx('textarea', className, sizeClass && `textarea_size_${sizeClass}`), children: jsxRuntime.jsx("textarea", { id: id, className: clsx('textarea__input', (textSizeClass || textColorClass || textWeightClass) && 'text', caretClass && `caret-color_${caretClass}`, fillClass && `fill_${fillClass}`, fillHoverClass && `fill_hover_${fillHoverClass}`, borderColorClass && `border-color_${borderColorClass}`, borderWidthClass && `border-width_${borderWidthClass}`, borderHoverClass && `border-color_hover_${borderHoverClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, placeholderTextColorClass &&
234
- `placeholder-text-color_${placeholderTextColorClass}`, textSizeClass && `text_size_${textSizeClass}`, textColorClass && `text-color_${textColorClass}`, textWeightClass && `text-weight_${textWeightClass}`, widthClass && `width_${widthClass}`), disabled: isDisabled && 'disabled', placeholder: placeholder, value: value, onBlur: onBlur, onChange: onChange, onFocus: onFocus, onKeyDown: onKeyDown }) }));
222
+ `placeholder-text-color_${placeholderTextColorClass}`, textSizeClass && `text_size_${textSizeClass}`, textColorClass && `text-color_${textColorClass}`, textWeightClass && `text-weight_${textWeightClass}`, widthClass && `width_${widthClass}`), disabled: isDisabled, placeholder: placeholder, value: value, onBlur: onBlur, onChange: onChange, onFocus: onFocus, onKeyDown: onKeyDown }) }));
235
223
  }
236
224
 
237
225
  exports.Textarea = Textarea;
@@ -20,7 +20,7 @@ require('../hooks/useStyles/styleAttributes.js');
20
20
  function Video(props) {
21
21
  const { id, className, position, mp4, ogv, poster, webm, children } = props;
22
22
  const { styles: videoStyles } = useStyles.useStyles(props);
23
- return (jsxRuntime.jsxs("div", { id: id, className: clsx('video', className, poster && `video_poster`, position && `video_position_${position}`), style: videoStyles, children: [jsxRuntime.jsxs("video", { className: "video__wrapper", autoPlay: true, loop: true, muted: true, playsInline: false, poster: poster, children: [webm && jsxRuntime.jsx("source", { type: "video/webm", src: webm, codecs: "vp8, vorbis" }), ogv && jsxRuntime.jsx("source", { type: "video/ogg", src: ogv, codecs: "theora, vorbis" }), mp4 && (jsxRuntime.jsx("source", { type: "video/mp4", src: mp4, codecs: "avc1.42E01E, mp4a.40.2" }))] }), children] }));
23
+ return (jsxRuntime.jsxs("div", { id: id, className: clsx('video', className, poster && `video_poster`, position && `video_position_${position}`), style: videoStyles, children: [jsxRuntime.jsxs("video", { className: "video__wrapper", autoPlay: true, loop: true, muted: true, playsInline: false, poster: poster, children: [webm && jsxRuntime.jsx("source", { type: 'video/webm; codecs="vp8, vorbis"', src: webm }), ogv && jsxRuntime.jsx("source", { type: 'video/ogg; codecs="theora, vorbi"', src: ogv }), mp4 && (jsxRuntime.jsx("source", { type: 'video/mp4; codecs="avc1.42E01E, mp4a.40.2"', src: mp4 }))] }), children] }));
24
24
  }
25
25
 
26
26
  exports.Video = Video;
@@ -186,14 +186,14 @@ const warningConfig = {
186
186
  },
187
187
  };
188
188
  function Warning(props) {
189
- const { appearance, className, label, description, isSkeleton } = props;
189
+ const { appearance, className, label, description, isSkeleton, children } = props;
190
190
  const appearanceConfig = useAppearanceConfig.useAppearanceConfig(appearance, warningConfig);
191
191
  const propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
192
192
  const { fillClass, labelTextColor, labelTextSize, labelTextWeight, descriptionTextColor, descriptionTextSize, borderColorClass, iconAfter, iconAfterFill, iconAfterFillIcon, iconAfterSize, iconAfterSrc, iconBefore, iconBeforeFill, iconBeforeFillIcon, iconBeforeSize, iconBeforeSrc, shapeClass, shapeStrengthClass, sizeClass, } = propsGenerator;
193
193
  // @ts-ignore
194
194
  const { styles: warningStyles } = useStyles.useStyles(props);
195
195
  const [isVisible, setIsVisible] = React.useState(true);
196
- return (jsxRuntime.jsx(React.Fragment, { children: isVisible && (jsxRuntime.jsxs("div", { className: clsx(className, 'warning', fillClass && `fill_${fillClass}`, sizeClass && `warning_size_${sizeClass}`, borderColorClass && `border-color_${borderColorClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, isSkeleton && `warning_skeleton`), style: warningStyles, children: [(iconBefore || iconBeforeSrc) && (jsxRuntime.jsx(Icon.Icon, { fill: iconBeforeFill, iconFill: iconBeforeFillIcon, iconSize: iconBeforeSize, imageSrc: iconBeforeSrc, SvgImage: iconBefore })), jsxRuntime.jsxs("div", { className: 'warning__content', children: [label && (jsxRuntime.jsx(Text.Text, { size: labelTextSize, textColor: labelTextColor, textWeight: labelTextWeight, children: label })), description && (jsxRuntime.jsx(Text.Text, { size: descriptionTextSize, textColor: descriptionTextColor, children: description }))] }), (iconAfter || iconAfterSrc) && (jsxRuntime.jsx(Icon.Icon, { fill: iconAfterFill, iconFill: iconAfterFillIcon, iconSize: iconAfterSize, imageSrc: iconAfterSrc, SvgImage: iconAfter, onClick: () => setIsVisible(false) }))] })) }));
196
+ return (jsxRuntime.jsx(React.Fragment, { children: isVisible && (jsxRuntime.jsxs("div", { className: clsx(className, 'warning', fillClass && `fill_${fillClass}`, sizeClass && `warning_size_${sizeClass}`, borderColorClass && `border-color_${borderColorClass}`, shapeClass && `shape_${shapeClass}`, shapeStrengthClass && `shape-strength_${shapeStrengthClass}`, isSkeleton && `warning_skeleton`), style: warningStyles, children: [(iconBefore || iconBeforeSrc) && (jsxRuntime.jsx(Icon.Icon, { fill: iconBeforeFill, iconFill: iconBeforeFillIcon, iconSize: iconBeforeSize, imageSrc: iconBeforeSrc, SvgImage: iconBefore })), jsxRuntime.jsxs("div", { className: 'warning__content', children: [label && (jsxRuntime.jsx(Text.Text, { size: labelTextSize, textColor: labelTextColor, textWeight: labelTextWeight, children: label })), description && (jsxRuntime.jsx(Text.Text, { size: descriptionTextSize, textColor: descriptionTextColor, children: description })), children] }), (iconAfter || iconAfterSrc) && (jsxRuntime.jsx(Icon.Icon, { fill: iconAfterFill, iconFill: iconAfterFillIcon, iconSize: iconAfterSize, imageSrc: iconAfterSrc, SvgImage: iconAfter, onClick: () => setIsVisible(false) }))] })) }));
197
197
  }
198
198
 
199
199
  exports.Warning = Warning;
@@ -1,4 +1,4 @@
1
- export { A as Avatar, b as avatarAppearance, a as avatarConfig } from '../Avatar_es_Cmq4xAG6.js';
1
+ export { A as Avatar, b as avatarAppearance, a as avatarConfig } from '../Avatar_es_DRObE1DB.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import 'clsx';
@@ -3,8 +3,8 @@ 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_Cmq4xAG6.js';
7
- import { G as Group } from '../Group_es_BwTj-yH-.js';
6
+ import { A as Avatar } from '../Avatar_es_DRObE1DB.js';
7
+ import { G as Group } from '../Group_es_nBtACpoG.js';
8
8
  import { T as Text } from '../Text_es_CU9KR5AE.js';
9
9
  import 'react';
10
10
  import 'lodash/camelCase';
@@ -1,4 +1,4 @@
1
- export { B as Button, a as buttonAppearance, b as buttonConfig } from '../Button_es_CvRcO3xM.js';
1
+ export { B as Button, a as buttonAppearance, b as buttonConfig } from '../Button_es_ljlle2Pu.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import 'clsx';
@@ -101,50 +101,46 @@ const cellAppearanceStyle = {
101
101
  const cellAppearanceSurface = {
102
102
  surfacePrimary: {
103
103
  fill: 'surfacePrimary',
104
- fillHover: 'surfacePrimaryHover',
104
+ fillHover: 'surfaceHoverPrimary',
105
105
  titleIconItemFill: 'surfaceItemPrimary',
106
106
  titleLabelAppearance: 'accentPrimary',
107
107
  titleTextColor: 'surfaceTextPrimary',
108
- titleTextSize: 'surfaceTextPrimary',
109
108
  labelTextColor: 'surfaceTextPrimary',
110
109
  borderColor: 'surfaceBorderPrimary',
111
110
  valueIconItemFill: 'surfaceItemPrimary',
112
111
  valueLabelAppearance: 'accentPrimary',
113
112
  valueTextColor: 'surfaceTextPrimary',
114
113
  },
115
- surfaceSecondary: {
116
- fill: 'surfaceSecondary',
117
- fillHover: 'surfaceSecondaryHover',
114
+ surfaceQuaternary: {
115
+ fill: 'surfaceQuaternary',
116
+ fillHover: 'surfaceHoverQuaternary',
118
117
  titleIconItemFill: 'surfaceItemPrimary',
119
118
  titleLabelAppearance: 'accentPrimary',
120
119
  titleTextColor: 'surfaceTextPrimary',
121
- titleTextSize: 'surfaceTextPrimary',
122
120
  labelTextColor: 'surfaceTextPrimary',
123
121
  borderColor: 'surfaceBorderPrimary',
124
122
  valueIconItemFill: 'surfaceItemPrimary',
125
123
  valueLabelAppearance: 'accentPrimary',
126
124
  valueTextColor: 'surfaceTextPrimary',
127
125
  },
128
- surfaceTertiary: {
129
- fill: 'surfaceTertiary',
130
- fillHover: 'surfaceTertiaryHover',
126
+ surfaceSecondary: {
127
+ fill: 'surfaceSecondary',
128
+ fillHover: 'surfaceHoverSecondary',
131
129
  titleIconItemFill: 'surfaceItemPrimary',
132
130
  titleLabelAppearance: 'accentPrimary',
133
131
  titleTextColor: 'surfaceTextPrimary',
134
- titleTextSize: 'surfaceTextPrimary',
135
132
  labelTextColor: 'surfaceTextPrimary',
136
133
  borderColor: 'surfaceBorderPrimary',
137
134
  valueIconItemFill: 'surfaceItemPrimary',
138
135
  valueLabelAppearance: 'accentPrimary',
139
136
  valueTextColor: 'surfaceTextPrimary',
140
137
  },
141
- surfaceQuaternary: {
142
- fill: 'surfaceQuaternary',
143
- fillHover: 'surfaceQuaternaryHover',
138
+ surfaceTertiary: {
139
+ fill: 'surfaceTertiary',
140
+ fillHover: 'surfaceHoverTertiary',
144
141
  titleIconItemFill: 'surfaceItemPrimary',
145
142
  titleLabelAppearance: 'accentPrimary',
146
143
  titleTextColor: 'surfaceTextPrimary',
147
- titleTextSize: 'surfaceTextPrimary',
148
144
  labelTextColor: 'surfaceTextPrimary',
149
145
  borderColor: 'surfaceBorderPrimary',
150
146
  valueIconItemFill: 'surfaceItemPrimary',
@@ -166,7 +162,7 @@ const cellConfig = {
166
162
  },
167
163
  };
168
164
  function Cell(props) {
169
- const { className, appearance, title, titleIcon, titleLabel, titleTag, showTitleLabel, showValueLabel, value, valueIcon, valueTag, before, after, isActive, isEqual, isSameWidth, onClick, onMouseEnter, } = props;
165
+ const { appearance, className, title, titleIcon, titleLabel, titleTag, showTitleLabel, showValueLabel, value, valueIcon, valueTag, before, after, isActive, isEqual, isSameWidth, onClick, onMouseEnter, } = props;
170
166
  const appearanceConfig = useAppearanceConfig(appearance, cellConfig);
171
167
  const propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
172
168
  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;
@@ -183,7 +179,7 @@ function Cell(props) {
183
179
  ? borderColorHoverClass &&
184
180
  `border-color_hover_${borderColorHoverClass}`
185
181
  : borderColorActiveHoverClass &&
186
- `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 && jsx("div", { className: "cell__before", children: before }), jsxs("div", { className: clsx('cell__wrapper', directionClass && `cell__wrapper_direction_${directionClass}`, isEqual && 'cell__wrapper-equal', isSameWidth && 'cell__wrapper-same-width'), children: [title && (jsxs("div", { className: "cell__data", style: dataStyles, children: [jsx(Text, { className: "cell__title", size: titleTextSize, textColor: titleTextColor, textTruncate: titleTextTruncate, textWeight: titleTextWeight, textWrap: titleTextWrap, tag: titleTag, children: title }), (titleIcon || titleIconSrc) && (jsx(Icon, { className: "cell__title-icon", fill: titleIconFill, fillSize: titleIconFillSize, iconFill: titleIconItemFill, iconFillHover: titleIconFillHover, imageSrc: titleIconSrc, shape: titleIconShape, SvgImage: titleIcon })), (showTitleLabel || titleLabel) && (jsx(Label, { className: "cell__title-label", appearance: `${titleLabelAppearance} ${titleLabelAppearanceSize}`, size: titleLabelSize, label: titleLabel, labelTextSize: titleLabelTextSize, shape: titleLabelShape }))] })), value && (jsxs("div", { className: "cell__data", style: dataStyles, children: [jsx(Text, { className: "cell__value", size: valueTextSize, textAlign: valueTextAlign, textColor: valueTextColor, textTruncate: valueTextTruncate, textWeight: valueTextWeight, textWrap: valueTextWrap, tag: valueTag, children: value }), (valueIcon || valueIconSrc) && (jsx(Icon, { className: "cell__value-icon", fill: valueIconFill, fillSize: valueIconFillSize, iconFill: valueIconItemFill, iconFillHover: valueIconFillHover, imageSrc: valueIconSrc, shape: valueIconShape, SvgImage: valueIcon })), (showValueLabel || valueLabel) && (jsx(Label, { className: "cell__value-label", appearance: `${valueLabelAppearance} ${valueLabelAppearanceSize}`, size: valueLabelSize, label: valueLabel, labelTextSize: valueLabelTextSize, shape: valueLabelShape }))] }))] }), after && jsx("div", { className: "cell__after", children: after })] }));
182
+ `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 && jsx("div", { className: "cell__before", children: before }), jsxs("div", { className: clsx('cell__wrapper', directionClass && `cell__wrapper_direction_${directionClass}`, isEqual && 'cell__wrapper-equal', isSameWidth && 'cell__wrapper-same-width'), children: [title && (jsxs("div", { className: "cell__data", style: dataStyles, children: [jsx(Text, { className: "cell__title", size: titleTextSize, textColor: titleTextColor, textTruncate: titleTextTruncate, textWeight: titleTextWeight, textWrap: titleTextWrap, tag: titleTag, children: title }), (titleIcon || titleIconSrc) && (jsx(Icon, { className: "cell__title-icon", fill: titleIconFill, fillSize: titleIconFillSize, iconFill: titleIconItemFill, iconFillHover: titleIconFillHover, imageSrc: titleIconSrc, shape: titleIconShape, SvgImage: titleIcon })), (showTitleLabel || titleLabel) && (jsx(Label, { appearance: `${titleLabelAppearance} ${titleLabelAppearanceSize}`, className: "cell__title-label", size: titleLabelSize, label: titleLabel, labelTextSize: titleLabelTextSize, shape: titleLabelShape }))] })), value && (jsxs("div", { className: "cell__data", style: dataStyles, children: [jsx(Text, { className: "cell__value", size: valueTextSize, textAlign: valueTextAlign, textColor: valueTextColor, textTruncate: valueTextTruncate, textWeight: valueTextWeight, textWrap: valueTextWrap, tag: valueTag, children: value }), (valueIcon || valueIconSrc) && (jsx(Icon, { className: "cell__value-icon", fill: valueIconFill, fillSize: valueIconFillSize, iconFill: valueIconItemFill, iconFillHover: valueIconFillHover, imageSrc: valueIconSrc, shape: valueIconShape, SvgImage: valueIcon })), (showValueLabel || valueLabel) && (jsx(Label, { appearance: `${valueLabelAppearance} ${valueLabelAppearanceSize}`, className: "cell__value-label", size: valueLabelSize, label: valueLabel, labelTextSize: valueLabelTextSize, shape: valueLabelShape }))] }))] }), after && jsx("div", { className: "cell__after", children: after })] }));
187
183
  }
188
184
 
189
185
  export { Cell, cellAppearance, cellConfig };
@@ -1,4 +1,4 @@
1
- export { C as Chips, b as ChipsGroup, a as chipsAppearance, c as chipsConfig } from '../ChipsGroup_es_DWvsJ5bu.js';
1
+ export { C as Chips, b as ChipsGroup, a as chipsAppearance, c as chipsConfig } from '../ChipsGroup_es_CbzUWqG9.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'clsx';
4
4
  import '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';