@itcase/ui 1.8.33 → 1.8.35

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 (82) hide show
  1. package/dist/{ChipsGroup_cjs_DdWjvr_S.js → ChipsGroup_cjs_j3QOma3U.js} +49 -17
  2. package/dist/{ChipsGroup_es_CXS0aeon.js → ChipsGroup_es_DF1fhn97.js} +49 -17
  3. package/dist/{DatePicker_cjs_CJl9V32f.js → DatePicker_cjs_Bx5_lZNT.js} +23 -27
  4. package/dist/{DatePicker_es_C2Pi6aB-.js → DatePicker_es_A1FcasHs.js} +24 -28
  5. package/dist/{DropdownItem_cjs_D-zoX7Ik.js → DropdownItem_cjs_tH2DBClp.js} +4 -2
  6. package/dist/{DropdownItem_es_BMnIhUSe.js → DropdownItem_es_BeVv-pDA.js} +4 -2
  7. package/dist/{Label_cjs_CZMMdwt5.js → Label_cjs_CP4b6Mg2.js} +13 -85
  8. package/dist/{Label_es_DmDqs4Rc.js → Label_es_DFSiy5sL.js} +13 -85
  9. package/dist/cjs/components/Cell.js +1 -1
  10. package/dist/cjs/components/Chips.js +1 -1
  11. package/dist/cjs/components/Choice/stories/__mock__.js +15 -15
  12. package/dist/cjs/components/Choice.js +33 -28
  13. package/dist/cjs/components/DatePeriod.js +6 -4
  14. package/dist/cjs/components/DatePicker.js +2 -2
  15. package/dist/cjs/components/Dropdown/stories/__mock__.js +2 -2
  16. package/dist/cjs/components/Dropdown.js +1 -1
  17. package/dist/cjs/components/Label.js +1 -1
  18. package/dist/cjs/components/MenuItem.js +11 -6
  19. package/dist/cjs/components/Notification/stories/__mock__.js +4 -0
  20. package/dist/cjs/components/Notification.js +27 -9
  21. package/dist/cjs/components/Pagination.js +19 -10
  22. package/dist/cjs/components/Segmented/stories/__mock__.js +38 -0
  23. package/dist/cjs/components/Segmented.js +12 -9
  24. package/dist/components/Cell.js +1 -1
  25. package/dist/components/Chips.js +1 -1
  26. package/dist/components/Choice/stories/__mock__.js +16 -16
  27. package/dist/components/Choice.js +33 -28
  28. package/dist/components/DatePeriod.js +6 -4
  29. package/dist/components/DatePicker.js +2 -2
  30. package/dist/components/Dropdown/stories/__mock__.js +2 -2
  31. package/dist/components/Dropdown.js +1 -1
  32. package/dist/components/Label.js +1 -1
  33. package/dist/components/MenuItem.js +11 -6
  34. package/dist/components/Notification/stories/__mock__.js +4 -0
  35. package/dist/components/Notification.js +27 -9
  36. package/dist/components/Pagination.js +20 -11
  37. package/dist/components/Segmented/stories/__mock__.js +36 -0
  38. package/dist/components/Segmented.js +12 -9
  39. package/dist/css/components/Dropdown/Dropdown.css +7 -14
  40. package/dist/css/components/Notification/Notification.css +23 -0
  41. package/dist/css/components/Pagination/Pagination.css +19 -6
  42. package/dist/css/components/Segmented/Segmented.css +24 -0
  43. package/dist/css/styles/shape-strength/shape-strength.css +4 -9
  44. package/dist/stories/CellOverview.mdx +3 -2
  45. package/dist/stories/DatePeriodPlayground.mdx +2 -2
  46. package/dist/stories/RangeSliderOverview.mdx +0 -3
  47. package/dist/stories/VideoOverview.mdx +2 -10
  48. package/dist/stories/VideoPlayground.mdx +2 -2
  49. package/dist/types/components/Chips/appearance/chipsSize.d.ts +34 -0
  50. package/dist/types/components/Chips/appearance/chipsStyle.d.ts +7 -9
  51. package/dist/types/components/Choice/appearance/choiceDefault.d.ts +7 -0
  52. package/dist/types/components/Choice/appearance/choiceDisabled.d.ts +7 -0
  53. package/dist/types/components/Choice/appearance/choiceRequire.d.ts +6 -0
  54. package/dist/types/components/Choice/appearance/choiceStyle.d.ts +4 -0
  55. package/dist/types/components/Choice/appearance/choiceSuccess.d.ts +6 -0
  56. package/dist/types/components/Choice/stories/__mock__/index.d.ts +9 -3
  57. package/dist/types/components/Label/appearance/labelAccent.d.ts +0 -8
  58. package/dist/types/components/Label/appearance/labelDanger.d.ts +0 -12
  59. package/dist/types/components/Label/appearance/labelDisable.d.ts +0 -2
  60. package/dist/types/components/Label/appearance/labelError.d.ts +0 -8
  61. package/dist/types/components/Label/appearance/labelInfo.d.ts +1 -6
  62. package/dist/types/components/Label/appearance/labelPrimary.d.ts +0 -10
  63. package/dist/types/components/Label/appearance/labelSecondary.d.ts +0 -10
  64. package/dist/types/components/Label/appearance/labelSize.d.ts +6 -0
  65. package/dist/types/components/Label/appearance/labelStyle.d.ts +4 -4
  66. package/dist/types/components/Label/appearance/labelSuccess.d.ts +0 -8
  67. package/dist/types/components/Label/appearance/labelSurface.d.ts +0 -6
  68. package/dist/types/components/Label/appearance/labelWarning.d.ts +0 -9
  69. package/dist/types/components/MenuItem/appearance/menuItemAccent.d.ts +1 -0
  70. package/dist/types/components/MenuItem/appearance/menuItemError.d.ts +1 -0
  71. package/dist/types/components/MenuItem/appearance/menuItemStyle.d.ts +6 -4
  72. package/dist/types/components/MenuItem/appearance/menuItemSurface.d.ts +1 -0
  73. package/dist/types/components/Notification/appearance/notificationInfo.d.ts +17 -0
  74. package/dist/types/components/Notification/appearance/notificationStyle.d.ts +4 -4
  75. package/dist/types/components/Notification/stories/__mock__/index.d.ts +1 -0
  76. package/dist/types/components/Pagination/appearance/paginationSize.d.ts +12 -0
  77. package/dist/types/components/Pagination/appearance/paginationSurface.d.ts +0 -5
  78. package/dist/types/components/Segmented/Segmented.interface.d.ts +1 -0
  79. package/dist/types/components/Segmented/appearance/segmentedSuccess.d.ts +1 -1
  80. package/dist/types/components/Segmented/stories/__mock__/index.d.ts +17 -0
  81. package/package.json +5 -5
  82. package/dist/types/components/Choice/appearance/choiceSurface.d.ts +0 -25
@@ -8,15 +8,9 @@ import { I as Icon, T as Tooltip } from './Tooltip_es_B0nm9irO.js';
8
8
  import { T as Text } from './Text_es_BfLRfj-5.js';
9
9
 
10
10
  var labelAppearanceAccent = {
11
- accent: {
12
- fill: 'accentPrimary',
13
- labelTextColor: 'accentTextPrimary',
14
- labelTextColorHover: 'accentTextPrimary',
15
- },
16
11
  accentMutedPrimary: {
17
12
  fill: 'accentTertiary',
18
13
  labelTextColor: 'accentTextQuaternary',
19
- labelTextColorHover: 'accentTextQuaternary',
20
14
  borderColor: 'accentBorderSecondary',
21
15
  iconAfterFillIcon: 'accentItemQuaternary',
22
16
  iconBeforeFillIcon: 'accentItemQuaternary',
@@ -24,7 +18,6 @@ var labelAppearanceAccent = {
24
18
  accentPrimary: {
25
19
  fill: 'accentPrimary',
26
20
  labelTextColor: 'accentTextPrimary',
27
- labelTextColorHover: 'accentTextPrimary',
28
21
  borderColor: 'accentBorderSecondary',
29
22
  iconAfterFillIcon: 'accentItemPrimary',
30
23
  iconBeforeFillIcon: 'accentItemPrimary',
@@ -32,33 +25,20 @@ var labelAppearanceAccent = {
32
25
  accentTertiary: {
33
26
  fill: 'accentTertiary',
34
27
  labelTextColor: 'accentTextPrimary',
35
- labelTextColorHover: 'accentTextPrimary',
36
28
  },
37
29
  };
38
30
 
39
31
  var labelAppearanceDanger = {
40
- danger: {
41
- fill: 'dangerPrimary',
42
- fillHover: 'dangerPrimaryHover',
43
- labelTextColor: 'dangerTextPrimary',
44
- labelTextColorHover: 'dangerTextSecondary',
45
- borderColor: 'dangerBorderSecondary',
46
- iconAfterFillIcon: 'dangerItemPrimary',
47
- iconBeforeFillIcon: 'dangerItemPrimary',
48
- },
49
32
  dangerMutedPrimary: {
50
33
  fill: 'dangerTertiary',
51
34
  labelTextColor: 'dangerTextQuaternary',
52
- labelTextColorHover: 'dangerTextQuaternary',
53
35
  borderColor: 'dangerBorderQuaternary',
54
36
  iconAfterFillIcon: 'dangerItemQuaternary',
55
37
  iconBeforeFillIcon: 'dangerItemQuaternary',
56
38
  },
57
39
  dangerPrimary: {
58
40
  fill: 'dangerPrimary',
59
- fillHover: 'dangerPrimaryHover',
60
41
  labelTextColor: 'dangerTextPrimary',
61
- labelTextColorHover: 'dangerTextSecondary',
62
42
  borderColor: 'dangerBorderSecondary',
63
43
  iconAfterFillIcon: 'dangerItemPrimary',
64
44
  iconBeforeFillIcon: 'dangerItemPrimary',
@@ -69,7 +49,6 @@ var labelAppearanceDisable = {
69
49
  disablePrimary: {
70
50
  fill: 'disablePrimary',
71
51
  labelTextColor: 'disableTextPrimary',
72
- labelTextColorHover: 'disableTextPrimary',
73
52
  borderColor: 'disableBorderPrimary',
74
53
  iconAfterFillIcon: 'disableItemPrimary',
75
54
  iconBeforeFillIcon: 'disableItemPrimary',
@@ -77,7 +56,6 @@ var labelAppearanceDisable = {
77
56
  disableMuted: {
78
57
  fill: 'disableMuted',
79
58
  labelTextColor: 'disableMutedTextPrimary',
80
- labelTextColorHover: 'disableMutedTextPrimary',
81
59
  borderColor: 'disableMutedBorderSecondary',
82
60
  iconAfterFillIcon: 'disableMutedItemPrimary',
83
61
  iconBeforeFillIcon: 'disableMutedItemPrimary',
@@ -85,16 +63,9 @@ var labelAppearanceDisable = {
85
63
  };
86
64
 
87
65
  var labelAppearanceError = {
88
- error: {
89
- fill: 'errorPrimary',
90
- fillHover: 'errorPrimaryHover',
91
- labelTextColor: 'errorTextPrimary',
92
- labelTextColorHover: 'errorTextPrimary',
93
- },
94
66
  errorMutedPrimary: {
95
67
  fill: 'errorDisabled',
96
68
  labelTextColor: 'errorTextQuaternary',
97
- labelTextColorHover: 'errorTextQuaternary',
98
69
  borderColor: 'errorBorderSecondary',
99
70
  iconAfterFillIcon: 'errorItemQuaternary',
100
71
  iconBeforeFillIcon: 'errorItemQuaternary',
@@ -103,7 +74,6 @@ var labelAppearanceError = {
103
74
  fill: 'errorPrimary',
104
75
  fillHover: 'errorPrimaryHover',
105
76
  labelTextColor: 'errorTextPrimary',
106
- labelTextColorHover: 'errorTextPrimary',
107
77
  borderColor: 'errorBorderSecondary',
108
78
  iconAfterFillIcon: 'errorItemPrimary',
109
79
  iconBeforeFillIcon: 'errorItemPrimary',
@@ -111,28 +81,23 @@ var labelAppearanceError = {
111
81
  };
112
82
 
113
83
  var labelAppearanceInfo = {
114
- infoMuted: {
84
+ infoMutedPrimary: {
115
85
  fill: 'infoMuted',
116
86
  labelTextColor: 'infoMutedTextPrimary',
117
- labelTextColorHover: 'infoMutedTextPrimary',
118
87
  borderColor: 'infoMutedBorderSecondary',
119
88
  iconAfterFillIcon: 'infoMutedItemPrimary',
120
89
  iconBeforeFillIcon: 'infoMutedItemPrimary',
121
90
  },
122
91
  infoPrimary: {
123
92
  fill: 'infoPrimary',
124
- fillHover: 'infoPrimaryHover',
125
93
  labelTextColor: 'infoTextPrimary',
126
- labelTextColorHover: 'infoTextPrimary',
127
94
  borderColor: 'infoBorderPrimary',
128
95
  iconAfterFillIcon: 'infoItemPrimary',
129
96
  iconBeforeFillIcon: 'infoItemPrimary',
130
97
  },
131
98
  infoSecondary: {
132
99
  fill: 'infoPrimary',
133
- fillHover: 'infoPrimaryHover',
134
100
  labelTextColor: 'infoTextPrimary',
135
- labelTextColorHover: 'infoTextSecondary',
136
101
  borderColor: 'infoBorderSecondary',
137
102
  iconAfterFillIcon: 'infoItemPrimary',
138
103
  iconBeforeFillIcon: 'infoItemPrimary',
@@ -140,18 +105,9 @@ var labelAppearanceInfo = {
140
105
  };
141
106
 
142
107
  var labelAppearancePrimary = {
143
- primary: {
144
- fill: 'primaryPrimary',
145
- labelTextColor: 'primaryTextPrimary',
146
- labelTextColorHover: 'primaryTextPrimary',
147
- borderColor: 'primaryBorderSecondary',
148
- iconAfterFillIcon: 'dangerItemPrimary',
149
- iconBeforeFillIcon: 'dangerItemPrimary',
150
- },
151
108
  primaryMutedPrimary: {
152
109
  fill: 'primaryDisabled',
153
110
  labelTextColor: 'primaryTextSecondary',
154
- labelTextColorHover: 'primaryTextSecondary',
155
111
  borderColor: 'primaryBorderTertiary',
156
112
  iconAfterFillIcon: 'primaryItemSecondary',
157
113
  iconBeforeFillIcon: 'primaryItemSecondary',
@@ -159,7 +115,6 @@ var labelAppearancePrimary = {
159
115
  primaryPrimary: {
160
116
  fill: 'primaryPrimary',
161
117
  labelTextColor: 'primaryTextPrimary',
162
- labelTextColorHover: 'primaryTextPrimary',
163
118
  borderColor: 'primaryBorderSecondary',
164
119
  iconAfterFillIcon: 'dangerItemPrimary',
165
120
  iconBeforeFillIcon: 'dangerItemPrimary',
@@ -167,18 +122,9 @@ var labelAppearancePrimary = {
167
122
  };
168
123
 
169
124
  var labelAppearanceSecondary = {
170
- secondary: {
171
- fill: 'secondaryPrimary',
172
- labelTextColor: 'secondaryTextPrimary',
173
- labelTextColorHover: 'secondaryTextPrimary',
174
- borderColor: 'secondaryBorderPrimary',
175
- iconAfterFillIcon: 'secondaryItemPrimary',
176
- iconBeforeFillIcon: 'secondaryItemPrimary',
177
- },
178
125
  secondaryMutedPrimary: {
179
126
  fill: 'secondaryDisabled',
180
127
  labelTextColor: 'secondaryTextQuaternary',
181
- labelTextColorHover: 'secondaryTextQuaternary',
182
128
  borderColor: 'secondaryBorderDisabled',
183
129
  iconAfterFillIcon: 'secondaryItemQuaternary',
184
130
  iconBeforeFillIcon: 'secondaryItemQuaternary',
@@ -186,7 +132,6 @@ var labelAppearanceSecondary = {
186
132
  secondaryPrimary: {
187
133
  fill: 'secondaryPrimary',
188
134
  labelTextColor: 'secondaryTextPrimary',
189
- labelTextColorHover: 'secondaryTextPrimary',
190
135
  borderColor: 'secondaryBorderPrimary',
191
136
  iconAfterFillIcon: 'secondaryItemPrimary',
192
137
  iconBeforeFillIcon: 'secondaryItemPrimary',
@@ -203,6 +148,7 @@ var labelAppearanceSize = {
203
148
  iconBeforeSize: 24,
204
149
  },
205
150
  sizeXL: {
151
+ size: 'xl',
206
152
  labelTextSize: 'l',
207
153
  iconAfterFillSize: 24,
208
154
  iconAfterSize: 24,
@@ -210,6 +156,7 @@ var labelAppearanceSize = {
210
156
  iconBeforeSize: 24,
211
157
  },
212
158
  sizeL: {
159
+ size: 'l',
213
160
  labelTextSize: 'l',
214
161
  iconAfterFillSize: 24,
215
162
  iconAfterSize: 24,
@@ -217,6 +164,7 @@ var labelAppearanceSize = {
217
164
  iconBeforeSize: 24,
218
165
  },
219
166
  sizeM: {
167
+ size: 'm',
220
168
  labelTextSize: 'm',
221
169
  iconAfterFillSize: 24,
222
170
  iconAfterSize: 24,
@@ -224,6 +172,7 @@ var labelAppearanceSize = {
224
172
  iconBeforeSize: 24,
225
173
  },
226
174
  sizeS: {
175
+ size: 's',
227
176
  labelTextSize: 's',
228
177
  iconAfterFillSize: 20,
229
178
  iconAfterSize: 20,
@@ -231,6 +180,7 @@ var labelAppearanceSize = {
231
180
  iconBeforeSize: 20,
232
181
  },
233
182
  sizeXS: {
183
+ size: 'xs',
234
184
  labelTextSize: 'xs',
235
185
  iconAfterFillSize: 16,
236
186
  iconAfterSize: 16,
@@ -238,6 +188,7 @@ var labelAppearanceSize = {
238
188
  iconBeforeSize: 16,
239
189
  },
240
190
  sizeXXS: {
191
+ size: 'xxs',
241
192
  labelTextSize: 'xs',
242
193
  iconAfterFillSize: 14,
243
194
  iconAfterSize: 14,
@@ -247,30 +198,23 @@ var labelAppearanceSize = {
247
198
  };
248
199
 
249
200
  var labelAppearanceStyle = {
250
- full: {},
251
- ghost: {
252
- fill: 'none',
201
+ solid: {
253
202
  borderColor: 'none',
254
203
  },
255
204
  outlined: {
256
205
  fill: 'none',
257
206
  },
258
- solid: {
207
+ full: {},
208
+ ghost: {
209
+ fill: 'none',
259
210
  borderColor: 'none',
260
211
  },
261
212
  };
262
213
 
263
214
  var labelAppearanceSuccess = {
264
- success: {
265
- fill: 'successPrimary',
266
- fillHover: 'successPrimaryHover',
267
- labelTextColor: 'successTextSecondary',
268
- labelTextColorHover: 'successTextSecondary',
269
- },
270
215
  successMutedPrimary: {
271
216
  fill: 'successTertiary',
272
217
  labelTextColor: 'successTextQuaternary',
273
- labelTextColorHover: 'successTextQuaternary',
274
218
  borderColor: 'successBorderQuaternary',
275
219
  iconAfterFillIcon: 'successItemQuaternary',
276
220
  iconBeforeFillIcon: 'successItemQuaternary',
@@ -279,7 +223,6 @@ var labelAppearanceSuccess = {
279
223
  fill: 'successPrimary',
280
224
  fillHover: 'successPrimaryHover',
281
225
  labelTextColor: 'successTextPrimary',
282
- labelTextColorHover: 'successTextSecondary',
283
226
  borderColor: 'successBorderSecondary',
284
227
  iconAfterFillIcon: 'successItemPrimary',
285
228
  iconBeforeFillIcon: 'successItemPrimary',
@@ -290,16 +233,13 @@ var labelAppearanceSurface = {
290
233
  surfaceMutedPrimary: {
291
234
  fill: 'surfaceSecondary',
292
235
  labelTextColor: 'surfaceTextQuaternary',
293
- labelTextColorHover: 'surfaceTextQuaternary',
294
236
  borderColor: 'surfaceBorderQuaternary',
295
237
  iconAfterFillIcon: 'surfaceItemQuaternary',
296
238
  iconBeforeFillIcon: 'surfaceItemQuaternary',
297
239
  },
298
240
  surfacePrimary: {
299
241
  fill: 'surfacePrimary',
300
- fillHover: 'surfacePrimaryHover',
301
242
  labelTextColor: 'surfaceTextPrimary',
302
- labelTextColorHover: 'surfaceTextPrimary',
303
243
  borderColor: 'surfaceBorderQuaternary',
304
244
  iconAfterFillIcon: 'surfaceItemPrimary',
305
245
  iconBeforeFillIcon: 'surfaceItemPrimary',
@@ -307,40 +247,28 @@ var labelAppearanceSurface = {
307
247
  surfaceSecondary: {
308
248
  fill: 'surfaceSecondary',
309
249
  labelTextColor: 'surfaceTextPrimary',
310
- labelTextColorHover: 'surfaceTextPrimary',
311
250
  },
312
251
  surfaceTertiary: {
313
252
  fill: 'surfaceTertiary',
314
253
  labelTextColor: 'surfaceTextPrimary',
315
- labelTextColorHover: 'surfaceTextPrimary',
316
254
  },
317
255
  surfaceQuaternary: {
318
256
  fill: 'surfaceQuaternary',
319
257
  labelTextColor: 'surfaceTextInverse',
320
- labelTextColorHover: 'surfaceTextInverse',
321
258
  },
322
259
  };
323
260
 
324
261
  var labelAppearanceWarning = {
325
- warning: {
326
- fill: 'warningPrimary',
327
- fillHover: 'warningPrimaryHover',
328
- labelTextColor: 'warningTextSecondary',
329
- labelTextColorHover: 'warningTextSecondary',
330
- },
331
262
  warningMutedPrimary: {
332
263
  fill: 'warningTertiary',
333
264
  labelTextColor: 'warningTextSecondary',
334
- labelTextColorHover: 'warningTextSecondary',
335
265
  borderColor: 'warningBorderSecondary',
336
266
  iconAfterFillIcon: 'warningItemSecondary',
337
267
  iconBeforeFillIcon: 'warningItemSecondary',
338
268
  },
339
269
  warningPrimary: {
340
270
  fill: 'warningPrimary',
341
- fillHover: 'warningPrimaryHover',
342
271
  labelTextColor: 'warningTextPrimary',
343
- labelTextColorHover: 'warningTextSecondary',
344
272
  borderColor: 'warningBorderSecondary',
345
273
  iconAfterFillIcon: 'warningItemPrimary',
346
274
  iconBeforeFillIcon: 'warningItemPrimary',
@@ -371,10 +299,10 @@ function Label(props) {
371
299
  return (__assign(__assign({}, resultConfig), (_a = labelConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
372
300
  }, {});
373
301
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
374
- var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelTextColor = propsGenerator.labelTextColor, labelTextColorHover = propsGenerator.labelTextColorHover, labelTextSize = propsGenerator.labelTextSize, labelTextWeight = propsGenerator.labelTextWeight, labelTextWrap = propsGenerator.labelTextWrap, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, iconAfter = propsGenerator.iconAfter, iconAfterFill = propsGenerator.iconAfterFill, iconAfterFillIcon = propsGenerator.iconAfterFillIcon, iconAfterFillSize = propsGenerator.iconAfterFillSize, iconAfterShape = propsGenerator.iconAfterShape, iconAfterSize = propsGenerator.iconAfterSize, iconAfterSrc = propsGenerator.iconAfterSrc; propsGenerator.iconBadgeAppearance; propsGenerator.iconBadgeShape; propsGenerator.iconBadgeSize; propsGenerator.iconBadgeTextColor; propsGenerator.iconBadgeTextSize; propsGenerator.iconBadgeValue; var iconBefore = propsGenerator.iconBefore, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeFillIcon = propsGenerator.iconBeforeFillIcon, iconBeforeFillSize = propsGenerator.iconBeforeFillSize, iconBeforeShape = propsGenerator.iconBeforeShape, iconBeforeSize = propsGenerator.iconBeforeSize, iconBeforeSrc = propsGenerator.iconBeforeSrc, tooltipAlignment = propsGenerator.tooltipAlignment, tooltipAppearance = propsGenerator.tooltipAppearance, tooltipArrowPosition = propsGenerator.tooltipArrowPosition, tooltipContent = propsGenerator.tooltipContent, tooltipText = propsGenerator.tooltipText, tooltipTextSize = propsGenerator.tooltipTextSize, tooltipTitle = propsGenerator.tooltipTitle, tooltipTitleSize = propsGenerator.tooltipTitleSize, widthClass = propsGenerator.widthClass, wrapClass = propsGenerator.wrapClass;
302
+ var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelTextColor = propsGenerator.labelTextColor, labelTextColorHover = propsGenerator.labelTextColorHover, labelTextSize = propsGenerator.labelTextSize, labelTextWeight = propsGenerator.labelTextWeight, labelTextWrap = propsGenerator.labelTextWrap, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, iconAfter = propsGenerator.iconAfter, iconAfterFill = propsGenerator.iconAfterFill, iconAfterFillIcon = propsGenerator.iconAfterFillIcon, iconAfterFillSize = propsGenerator.iconAfterFillSize, iconAfterShape = propsGenerator.iconAfterShape, iconAfterSize = propsGenerator.iconAfterSize, iconAfterSrc = propsGenerator.iconAfterSrc, iconBefore = propsGenerator.iconBefore, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeFillIcon = propsGenerator.iconBeforeFillIcon, iconBeforeFillSize = propsGenerator.iconBeforeFillSize, iconBeforeShape = propsGenerator.iconBeforeShape, iconBeforeSize = propsGenerator.iconBeforeSize, iconBeforeSrc = propsGenerator.iconBeforeSrc, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, tooltipAlignment = propsGenerator.tooltipAlignment, tooltipAppearance = propsGenerator.tooltipAppearance, tooltipArrowPosition = propsGenerator.tooltipArrowPosition, tooltipContent = propsGenerator.tooltipContent, tooltipText = propsGenerator.tooltipText, tooltipTextSize = propsGenerator.tooltipTextSize, tooltipTitle = propsGenerator.tooltipTitle, tooltipTitleSize = propsGenerator.tooltipTitleSize, widthClass = propsGenerator.widthClass, wrapClass = propsGenerator.wrapClass;
375
303
  // @ts-expect-error
376
304
  var labelStyles = useStyles(props).styles;
377
- return (jsxs("div", { className: clsx(className, 'label', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), shapeClass && "label_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), sizeClass && "label_size_".concat(sizeClass), wrapClass && "'word-wrap_".concat(wrapClass), widthClass && "label_width_".concat(widthClass), alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(alignClass), type && "label_type_".concat(type), mode && "label_mode_".concat(mode), isSkeleton && "label_skeleton", onClick && (cursor || 'cursor_type_pointer')), "data-tour": dataTour, style: labelStyles, onClick: onClick, onMouseEnter: onMouseEnterLabel, onMouseLeave: onMouseLeaveLabel, children: [before, (iconBefore || iconBeforeSrc) && (jsx(Icon, { className: clsx('label__icon_before'), fill: iconBeforeFill, fillSize: iconBeforeFillSize, iconFill: iconBeforeFillIcon, iconSize: iconBeforeSize, imageSrc: iconBeforeSrc, shape: iconBeforeShape, SvgImage: iconBefore })), jsxs("div", { className: "label__inner", children: [typeof label === 'string' ? (jsx(Text, { className: "label__text", size: labelTextSize, textColor: labelTextColor, textColorHover: labelTextColorHover, textWeight: labelTextWeight, textWrap: labelTextWrap, children: label })) : (jsx("div", { className: "label__text", children: label })), children, showTooltip && (jsx(Tooltip, { className: "label__tooltip", appearance: tooltipAppearance, alignment: tooltipAlignment, title: tooltipTitle, titleSize: tooltipTitleSize, text: tooltipText, textSize: tooltipTextSize, arrowPosition: tooltipArrowPosition, ref: tooltipRef, children: tooltipContent }))] }), (iconAfter || iconAfterSrc) && (jsx(Icon, { className: clsx('label__icon_after'), fill: iconAfterFill, fillSize: iconAfterFillSize, iconFill: iconAfterFillIcon, iconSize: iconAfterSize, imageSrc: iconAfterSrc, shape: iconAfterShape, SvgImage: iconAfter })), after] }));
305
+ return (jsxs("div", { className: clsx(className, 'label', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), shapeClass && "label_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), sizeClass && "label_size_".concat(sizeClass), wrapClass && "'word-wrap_".concat(wrapClass), widthClass && "label_width_".concat(widthClass), alignDirectionClass && "".concat(alignDirectionClass), alignClass && "align_".concat(alignClass), type && "label_type_".concat(type), mode && "label_mode_".concat(mode), isSkeleton && "label_skeleton", onClick && (cursor || 'cursor_type_pointer')), "data-tour": dataTour, style: labelStyles, onClick: onClick, onMouseEnter: onMouseEnterLabel, onMouseLeave: onMouseLeaveLabel, children: [before, (iconBefore || iconBeforeSrc) && (jsx(Icon, { className: clsx('label__icon_before'), fill: iconBeforeFill, fillSize: iconBeforeFillSize, iconFill: iconBeforeFillIcon, iconSize: iconBeforeSize, imageSrc: iconBeforeSrc, shape: iconBeforeShape, SvgImage: iconBefore })), jsxs("div", { className: "label__inner", children: [typeof label === 'string' ? (jsx(Text, { className: "label__text", size: labelTextSize, textColor: labelTextColor, textColorHover: labelTextColorHover, textWeight: labelTextWeight, textWrap: labelTextWrap, children: label })) : (jsx("div", { className: "label__text", children: label })), children, showTooltip && (jsx(Tooltip, { className: "label__tooltip", appearance: tooltipAppearance, alignment: tooltipAlignment, title: tooltipTitle, titleSize: tooltipTitleSize, text: tooltipText, textSize: tooltipTextSize, arrowPosition: tooltipArrowPosition, ref: tooltipRef, children: tooltipContent }))] }), (iconAfter || iconAfterSrc) && (jsx(Icon, { className: clsx('label__icon_after'), fill: iconAfterFill, fillSize: iconAfterFillSize, iconFill: iconAfterFillIcon, iconSize: iconAfterSize, imageSrc: iconAfterSrc, shape: iconAfterShape, SvgImage: iconAfter })), after] }));
378
306
  }
379
307
 
380
308
  export { Label as L, labelAppearance as a, labelConfig as l };
@@ -6,7 +6,7 @@ var clsx = require('clsx');
6
6
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
7
7
  var useStyles = require('../hooks/useStyles/useStyles.js');
8
8
  var Tooltip = require('../../Tooltip_cjs_DinScDnC.js');
9
- var Label = require('../../Label_cjs_CZMMdwt5.js');
9
+ var Label = require('../../Label_cjs_CP4b6Mg2.js');
10
10
  var Text = require('../../Text_cjs_C9fOm0nd.js');
11
11
  require('react');
12
12
  require('lodash/camelCase');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var ChipsGroup = require('../../ChipsGroup_cjs_DdWjvr_S.js');
3
+ var ChipsGroup = require('../../ChipsGroup_cjs_j3QOma3U.js');
4
4
  require('../../tslib.es6_cjs_CCZ3TN_7.js');
5
5
  require('react/jsx-runtime');
6
6
  require('react');
@@ -9,32 +9,32 @@ var choiceListMock = {
9
9
  choices: [
10
10
  {
11
11
  label: 'Label 1',
12
- iconAfter: _default.icon24.Placeholder,
13
- iconBefore: _default.icon24.Placeholder,
12
+ iconAfter: _default.icons24.Placeholder,
13
+ iconBefore: _default.icons24.Placeholder,
14
14
  value: 1,
15
15
  },
16
16
  {
17
17
  label: 'Label 2',
18
- iconAfter: _default.icon24.Placeholder,
19
- iconBefore: _default.icon24.Placeholder,
18
+ iconAfter: _default.icons24.Placeholder,
19
+ iconBefore: _default.icons24.Placeholder,
20
20
  value: 2,
21
21
  },
22
22
  {
23
23
  label: 'Label 3',
24
- iconAfter: _default.icon24.Placeholder,
25
- iconBefore: _default.icon24.Placeholder,
24
+ iconAfter: _default.icons24.Placeholder,
25
+ iconBefore: _default.icons24.Placeholder,
26
26
  value: 3,
27
27
  },
28
28
  {
29
29
  label: 'Label 4',
30
- iconAfter: _default.icon24.Placeholder,
31
- iconBefore: _default.icon24.Placeholder,
30
+ iconAfter: _default.icons24.Placeholder,
31
+ iconBefore: _default.icons24.Placeholder,
32
32
  value: 4,
33
33
  },
34
34
  {
35
35
  label: 'Label 5',
36
- iconAfter: _default.icon24.Placeholder,
37
- iconBefore: _default.icon24.Placeholder,
36
+ iconAfter: _default.icons24.Placeholder,
37
+ iconBefore: _default.icons24.Placeholder,
38
38
  value: 5,
39
39
  },
40
40
  ],
@@ -45,23 +45,23 @@ var choiceListIconMock = {
45
45
  },
46
46
  choices: [
47
47
  {
48
- icon: _default.icon24.Placeholder,
48
+ icon: _default.icons24.Placeholder,
49
49
  value: 1,
50
50
  },
51
51
  {
52
- icon: _default.icon24.Placeholder,
52
+ icon: _default.icons24.Placeholder,
53
53
  value: 2,
54
54
  },
55
55
  {
56
- icon: _default.icon24.Placeholder,
56
+ icon: _default.icons24.Placeholder,
57
57
  value: 3,
58
58
  },
59
59
  {
60
- icon: _default.icon24.Placeholder,
60
+ icon: _default.icons24.Placeholder,
61
61
  value: 4,
62
62
  },
63
63
  {
64
- icon: _default.icon24.Placeholder,
64
+ icon: _default.icons24.Placeholder,
65
65
  value: 5,
66
66
  },
67
67
  ],
@@ -27,20 +27,34 @@ require('../../Link_cjs_DbRGq2Yk.js');
27
27
  var choiceAppearanceDefault = {
28
28
  defaultPrimary: {
29
29
  fill: 'surfaceSecondary',
30
+ fillItem: 'surfaceItemSecondary',
31
+ fillItemActive: 'surfaceItemQuaternary',
32
+ fillItemHover: 'surfaceItemHover',
30
33
  labelTextColor: 'surfaceTextPrimary',
31
34
  borderColor: 'surfaceBorderQuaternary',
32
35
  iconAfterFill: 'surfaceItemQuaternary',
36
+ iconAfterFillActive: 'surfaceItemSecondary',
33
37
  iconBeforeFill: 'surfaceItemQuaternary',
38
+ iconBeforeFillActive: 'surfaceItemSecondary',
39
+ iconFill: 'surfaceItemQuaternary',
40
+ iconFillActive: 'surfaceItemSecondary',
34
41
  },
35
42
  };
36
43
 
37
44
  var choiceAppearanceDisabled = {
38
45
  disabledPrimary: {
39
46
  fill: 'surfaceDisabled',
47
+ fillItem: 'surfaceItemDisabled',
48
+ fillItemActive: 'surfaceItemPrimary',
49
+ fillItemHover: 'surfaceItemHover',
40
50
  labelTextColor: 'surfaceTextQuaternary',
41
51
  borderColor: 'surfaceBorderPrimary',
42
52
  iconAfterFill: 'surfaceItemPrimary',
53
+ iconAfterFillActive: 'surfaceItemDisabled',
43
54
  iconBeforeFill: 'surfaceItemPrimary',
55
+ iconBeforeFillActive: 'surfaceItemDisabled',
56
+ iconFill: 'surfaceItemPrimary',
57
+ iconFillActive: 'surfaceItemDisabled',
44
58
  },
45
59
  };
46
60
 
@@ -64,11 +78,17 @@ var choiceAppearanceError = {
64
78
  var choiceAppearanceRequire = {
65
79
  requirePrimary: {
66
80
  fill: 'warningTertiary',
67
- fillItemActive: 'warningTertiary',
81
+ fillItem: 'warningTertiary',
82
+ fillItemActive: 'warningItemSecondary',
83
+ fillItemHover: 'warningItemHover',
68
84
  labelTextColor: 'surfaceTextPrimary',
69
85
  borderColor: 'warningBorderSecondary',
70
86
  iconAfterFill: 'warningItemSecondary',
87
+ iconAfterFillActive: 'warningTertiary',
71
88
  iconBeforeFill: 'warningItemSecondary',
89
+ iconBeforeFillActive: 'warningTertiary',
90
+ iconFill: 'warningItemSecondary',
91
+ iconFillActive: 'warningTertiary',
72
92
  },
73
93
  };
74
94
 
@@ -96,10 +116,14 @@ var choiceAppearanceStyle = {
96
116
  },
97
117
  ghost: {
98
118
  fill: 'none',
119
+ fillItem: 'none',
120
+ fillItemActive: 'none',
99
121
  borderColor: '0',
100
122
  },
101
123
  outlined: {
102
124
  fill: 'none',
125
+ fillItem: 'none',
126
+ fillItemActive: 'none',
103
127
  },
104
128
  solid: {
105
129
  borderColor: '0',
@@ -109,40 +133,21 @@ var choiceAppearanceStyle = {
109
133
  var choiceAppearanceSuccess = {
110
134
  successPrimary: {
111
135
  fill: 'successTertiary',
112
- fillItemActive: 'successTertiary',
136
+ fillItem: 'successTertiary',
137
+ fillItemActive: 'successItemSecondary',
138
+ fillItemHover: 'accentItemHover',
113
139
  labelTextColor: 'surfaceTextPrimary',
114
140
  borderColor: 'successBorderSecondary',
115
141
  iconAfterFill: 'successItemSecondary',
142
+ iconAfterFillActive: 'successTertiary',
116
143
  iconBeforeFill: 'successItemSecondary',
144
+ iconBeforeFillActive: 'successTertiary',
145
+ iconFill: 'successItemSecondary',
146
+ iconFillActive: 'successTertiary',
117
147
  },
118
148
  };
119
149
 
120
- var choiceAppearanceSurface = {
121
- surfacePrimary: {
122
- fill: 'surfacePrimary',
123
- fillItem: 'surfaceItemInverse',
124
- fillItemActive: 'surfaceItemSecondary',
125
- fillItemActiveHover: 'surfaceItemTertiary',
126
- fillItemHover: 'surfaceItemSecondary',
127
- labelTextActiveColor: 'surfaceTextPrimary',
128
- labelTextColor: 'surfaceTextPrimary',
129
- labelTextWrap: 'nowrap',
130
- borderColor: 'surfaceBorderSecondary',
131
- iconBeforeFill: 'surfaceItemPrimary',
132
- iconBeforeFillActive: 'surfaceItemPrimary',
133
- },
134
- surfaceSecondary: {
135
- fill: 'surfaceSecondary',
136
- fillItem: 'surfacePrimary',
137
- fillItemActive: 'surfacePrimary',
138
- fillItemHover: 'surfacePrimary',
139
- labelTextActiveColor: 'surfaceTextPrimary',
140
- labelTextColor: 'surfaceTextPrimary',
141
- labelTextWrap: 'nowrap',
142
- },
143
- };
144
-
145
- var choiceAppearance = tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign({}, choiceAppearanceError), choiceAppearanceDisabled), choiceAppearanceDefault), choiceAppearanceSuccess), choiceAppearanceRequire), choiceAppearanceStyle), choiceAppearanceSize), choiceAppearanceSurface);
150
+ var choiceAppearance = tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign(tslib_es6.__assign({}, choiceAppearanceError), choiceAppearanceDisabled), choiceAppearanceDefault), choiceAppearanceSuccess), choiceAppearanceRequire), choiceAppearanceStyle), choiceAppearanceSize);
146
151
 
147
152
  var choiceConfig = {
148
153
  appearance: choiceAppearance,
@@ -6,9 +6,9 @@ var React = require('react');
6
6
  var clsx = require('clsx');
7
7
  var luxon = require('luxon');
8
8
  var common = require('@itcase/common');
9
- var DatePicker = require('../../DatePicker_cjs_CJl9V32f.js');
9
+ var DatePicker = require('../../DatePicker_cjs_Bx5_lZNT.js');
10
10
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
11
- var ChipsGroup = require('../../ChipsGroup_cjs_DdWjvr_S.js');
11
+ var ChipsGroup = require('../../ChipsGroup_cjs_j3QOma3U.js');
12
12
  require('date-fns/locale');
13
13
  require('react-datepicker');
14
14
  require('../hooks/useStyles/useStyles.js');
@@ -29,7 +29,7 @@ require('react-inlinesvg');
29
29
  require('../../Link_cjs_DbRGq2Yk.js');
30
30
  require('../../Loader_cjs_CCrbD8Em.js');
31
31
  require('../../Input_cjs_arr_wxD2.js');
32
- require('../../Label_cjs_CZMMdwt5.js');
32
+ require('../../Label_cjs_CP4b6Mg2.js');
33
33
  require('@itcase/icons/default');
34
34
  require('lodash/castArray');
35
35
 
@@ -78,7 +78,7 @@ var datePeriodConfig = {
78
78
  },
79
79
  };
80
80
  function DatePeriod(props) {
81
- var className = props.className, appearance = props.appearance, _a = props.datePeriodIntervalsList, datePeriodIntervalsList = _a === void 0 ? Object.values(common.DATE_PERIOD_INTERVALS) : _a, datePeriodValueEnd = props.datePeriodValueEnd, datePeriodValueStart = props.datePeriodValueStart, isSkeleton = props.isSkeleton, onChangeDatePeriod = props.onChangeDatePeriod;
81
+ var className = props.className, appearance = props.appearance, _a = props.datePeriodIntervalsList, datePeriodIntervalsList = _a === void 0 ? Object.values(common.DATE_PERIOD_INTERVALS) : _a, datePeriodValueEnd = props.datePeriodValueEnd, datePeriodValueStart = props.datePeriodValueStart, isSkeleton = props.isSkeleton, monthsShown = props.monthsShown, onChangeDatePeriod = props.onChangeDatePeriod, onKeyDown = props.onKeyDown;
82
82
  var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
83
83
  var _a;
84
84
  return (tslib_es6.__assign(tslib_es6.__assign({}, resultConfig), (_a = datePeriodConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
@@ -114,6 +114,8 @@ function DatePeriod(props) {
114
114
  showWeekNumbers: true,
115
115
  isClearable: false,
116
116
  isStartDefaultNull: true,
117
+ monthsShown: monthsShown,
118
+ onKeyDown: onKeyDown,
117
119
  }, endValue: datePeriodValueEnd, inputProps: {
118
120
  className: "date-period__datepicker-input date-period__datepicker-input_size_".concat(datePickerInputSize),
119
121
  appearance: "".concat(datePickerInputAppearance, " ghost"),
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var DatePicker = require('../../DatePicker_cjs_CJl9V32f.js');
3
+ var DatePicker = require('../../DatePicker_cjs_Bx5_lZNT.js');
4
4
  require('../../tslib.es6_cjs_CCZ3TN_7.js');
5
5
  require('react/jsx-runtime');
6
6
  require('react');
@@ -28,7 +28,7 @@ require('react-inlinesvg');
28
28
  require('../../Link_cjs_DbRGq2Yk.js');
29
29
  require('../../Loader_cjs_CCrbD8Em.js');
30
30
  require('../../Input_cjs_arr_wxD2.js');
31
- require('../../Label_cjs_CZMMdwt5.js');
31
+ require('../../Label_cjs_CP4b6Mg2.js');
32
32
  require('@itcase/icons/default');
33
33
 
34
34
 
@@ -10,13 +10,13 @@ var dropdownListMock = {
10
10
  {
11
11
  key: 4,
12
12
  label: 'Item 4',
13
- iconBefore: _default.icons24.Placeholder,
13
+ iconBefore: _default.icons24.Placeholder.Default,
14
14
  isActive: false,
15
15
  },
16
16
  {
17
17
  key: 5,
18
18
  label: 'Item 5',
19
- iconAfter: _default.icons24.Placeholder,
19
+ iconAfter: _default.icons24.Placeholder.Default,
20
20
  isActive: false,
21
21
  },
22
22
  {
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var DropdownItem = require('../../DropdownItem_cjs_D-zoX7Ik.js');
3
+ var DropdownItem = require('../../DropdownItem_cjs_tH2DBClp.js');
4
4
  require('react/jsx-runtime');
5
5
  require('react');
6
6
  require('clsx');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var Label = require('../../Label_cjs_CZMMdwt5.js');
3
+ var Label = require('../../Label_cjs_CP4b6Mg2.js');
4
4
  require('../../tslib.es6_cjs_CCZ3TN_7.js');
5
5
  require('react/jsx-runtime');
6
6
  require('react');