@itcase/ui 1.8.35 → 1.8.37

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/dist/{Avatar_cjs_kADy_b4o.js → Avatar_cjs_nMPCDjk8.js} +1 -1
  2. package/dist/{Avatar_es_DbGpnL99.js → Avatar_es_B73a6TzA.js} +1 -1
  3. package/dist/{Button_cjs_CW6ENTbm.js → Button_cjs_plv5-qcj.js} +11 -2
  4. package/dist/{Button_es_DTUagqgU.js → Button_es_BigB2Wz6.js} +11 -2
  5. package/dist/ChipsGroup_cjs_DrOhD-Fc.js +312 -0
  6. package/dist/ChipsGroup_es_B9m4l0wN.js +307 -0
  7. package/dist/{DatePicker_cjs_Bx5_lZNT.js → DatePicker_cjs_CmqgSNw7.js} +4 -4
  8. package/dist/{DatePicker_es_A1FcasHs.js → DatePicker_es_mk9wFTe9.js} +4 -4
  9. package/dist/{DropdownItem_cjs_tH2DBClp.js → DropdownItem_cjs_DQvByLbN.js} +1 -1
  10. package/dist/{DropdownItem_es_BeVv-pDA.js → DropdownItem_es_KppIfto7.js} +1 -1
  11. package/dist/{Input_cjs_arr_wxD2.js → Input_cjs_CPmXkQGd.js} +1 -0
  12. package/dist/{Input_es_BW6cZThr.js → Input_es_D9Y1Rj5Y.js} +1 -0
  13. package/dist/{Label_cjs_CP4b6Mg2.js → Label_cjs_BGJfyrOL.js} +15 -13
  14. package/dist/{Label_es_DFSiy5sL.js → Label_es_C4Px7b-N.js} +15 -13
  15. package/dist/{Loader_cjs_CCrbD8Em.js → Loader_cjs_Ca4i0sER.js} +4 -2
  16. package/dist/{Loader_es_B2auu_rc.js → Loader_es_GYOr0UTX.js} +4 -2
  17. package/dist/{Tooltip_cjs_DinScDnC.js → Tooltip_cjs_DHduWa-v.js} +76 -70
  18. package/dist/{Tooltip_es_B0nm9irO.js → Tooltip_es_ltCY-w4M.js} +76 -70
  19. package/dist/cjs/components/Accordion.js +1 -1
  20. package/dist/cjs/components/Avatar.js +2 -2
  21. package/dist/cjs/components/AvatarStack.js +2 -2
  22. package/dist/cjs/components/Badge.js +1 -1
  23. package/dist/cjs/components/Breadcrumbs/stories/__mock__.js +32 -41
  24. package/dist/cjs/components/Breadcrumbs.js +41 -124
  25. package/dist/cjs/components/Button.js +3 -3
  26. package/dist/cjs/components/Cell.js +2 -2
  27. package/dist/cjs/components/Chips/stories/__mock__.js +31 -0
  28. package/dist/cjs/components/Chips.js +4 -4
  29. package/dist/cjs/components/Choice/stories/__mock__.js +15 -15
  30. package/dist/cjs/components/Choice.js +20 -18
  31. package/dist/cjs/components/CookiesWarning.js +3 -3
  32. package/dist/cjs/components/Dadata.js +1 -1
  33. package/dist/cjs/components/DatePeriod.js +7 -7
  34. package/dist/cjs/components/DatePicker.js +6 -6
  35. package/dist/cjs/components/Drawer.js +1 -1
  36. package/dist/cjs/components/Dropdown/stories/__mock__.js +104 -33
  37. package/dist/cjs/components/Dropdown.js +2 -2
  38. package/dist/cjs/components/HeroTitle.js +1 -1
  39. package/dist/cjs/components/Icon.js +1 -1
  40. package/dist/cjs/components/Input.js +1 -1
  41. package/dist/cjs/components/InputPassword.js +1 -1
  42. package/dist/cjs/components/Label.js +2 -2
  43. package/dist/cjs/components/Loader.js +1 -1
  44. package/dist/cjs/components/MenuItem.js +17 -12
  45. package/dist/cjs/components/Modal.js +2 -2
  46. package/dist/cjs/components/Notification.js +3 -8
  47. package/dist/cjs/components/Pagination.js +2 -4
  48. package/dist/cjs/components/Response.js +3 -3
  49. package/dist/cjs/components/ScrollOnDrag.js +5 -3
  50. package/dist/cjs/components/Search.js +1 -1
  51. package/dist/cjs/components/Segmented/stories/__mock__.js +26 -11
  52. package/dist/cjs/components/Segmented.js +84 -52
  53. package/dist/cjs/components/Select.js +1 -1
  54. package/dist/cjs/components/Swiper.js +1 -1
  55. package/dist/cjs/components/Tab.js +1 -1
  56. package/dist/cjs/components/Textarea.js +8 -9
  57. package/dist/cjs/components/Tile.js +1 -1
  58. package/dist/cjs/components/Title.js +1 -1
  59. package/dist/cjs/components/Tooltip.js +1 -1
  60. package/dist/cjs/hooks/useStyles/styleAttributes.js +1 -1
  61. package/dist/components/Accordion.js +1 -1
  62. package/dist/components/Avatar.js +2 -2
  63. package/dist/components/AvatarStack.js +2 -2
  64. package/dist/components/Badge.js +1 -1
  65. package/dist/components/Breadcrumbs/stories/__mock__.js +32 -41
  66. package/dist/components/Breadcrumbs.js +41 -124
  67. package/dist/components/Button.js +3 -3
  68. package/dist/components/Cell.js +2 -2
  69. package/dist/components/Chips/stories/__mock__.js +29 -0
  70. package/dist/components/Chips.js +4 -4
  71. package/dist/components/Choice/stories/__mock__.js +15 -15
  72. package/dist/components/Choice.js +20 -18
  73. package/dist/components/CookiesWarning.js +3 -3
  74. package/dist/components/Dadata.js +1 -1
  75. package/dist/components/DatePeriod.js +7 -7
  76. package/dist/components/DatePicker.js +6 -6
  77. package/dist/components/Drawer.js +1 -1
  78. package/dist/components/Dropdown/stories/__mock__.js +102 -34
  79. package/dist/components/Dropdown.js +2 -2
  80. package/dist/components/HeroTitle.js +1 -1
  81. package/dist/components/Icon.js +1 -1
  82. package/dist/components/Input.js +1 -1
  83. package/dist/components/InputPassword.js +1 -1
  84. package/dist/components/Label.js +2 -2
  85. package/dist/components/Loader.js +1 -1
  86. package/dist/components/MenuItem.js +17 -12
  87. package/dist/components/Modal.js +2 -2
  88. package/dist/components/Notification.js +3 -8
  89. package/dist/components/Pagination.js +3 -5
  90. package/dist/components/Response.js +3 -3
  91. package/dist/components/ScrollOnDrag.js +7 -5
  92. package/dist/components/Search.js +1 -1
  93. package/dist/components/Segmented/stories/__mock__.js +24 -12
  94. package/dist/components/Segmented.js +84 -52
  95. package/dist/components/Select.js +1 -1
  96. package/dist/components/Swiper.js +1 -1
  97. package/dist/components/Tab.js +1 -1
  98. package/dist/components/Textarea.js +8 -9
  99. package/dist/components/Tile.js +1 -1
  100. package/dist/components/Title.js +1 -1
  101. package/dist/components/Tooltip.js +1 -1
  102. package/dist/css/components/Breadcrumbs/Breadcrumbs.css +39 -6
  103. package/dist/css/components/Chips/Chips.css +40 -14
  104. package/dist/css/components/Icon/Icon.css +24 -0
  105. package/dist/css/components/Loader/Loader.css +1 -19
  106. package/dist/css/components/MenuItem/MenuItem.css +53 -30
  107. package/dist/css/components/Notification/Notification.css +0 -48
  108. package/dist/css/components/ScrollOnDrag/ScrollOnDrag.css +230 -4
  109. package/dist/css/components/Segmented/Segmented.css +64 -8
  110. package/dist/css/components/Segmented/css/__item/segmaented__item.css +28 -0
  111. package/dist/css/styles/centering/centering.css +17 -0
  112. package/dist/css/styles/shape-strength/shape-strength.css +6 -0
  113. package/dist/hooks/useStyles/styleAttributes.js +1 -1
  114. package/dist/stories/BreadcrumbsPlsyground.mdx +1 -1
  115. package/dist/stories/ChipsOverview.mdx +26 -14
  116. package/dist/stories/ChipsPlayground.mdx +3 -3
  117. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsAccent.d.ts +2 -12
  118. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSize.d.ts +7 -14
  119. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsStyle.d.ts +4 -6
  120. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSurface.d.ts +11 -8
  121. package/dist/types/components/Breadcrumbs/stories/__mock__/index.d.ts +5 -8
  122. package/dist/types/components/Button/appearance/buttonSurface.d.ts +9 -0
  123. package/dist/types/components/Chips/Chips.interface.d.ts +1 -0
  124. package/dist/types/components/Chips/appearance/chipsAccent.d.ts +9 -1
  125. package/dist/types/components/Chips/appearance/chipsDanger.d.ts +16 -1
  126. package/dist/types/components/Chips/appearance/chipsError.d.ts +16 -1
  127. package/dist/types/components/Chips/appearance/chipsInfo.d.ts +16 -1
  128. package/dist/types/components/Chips/appearance/chipsPrimary.d.ts +11 -2
  129. package/dist/types/components/Chips/appearance/chipsSecondary.d.ts +10 -2
  130. package/dist/types/components/Chips/appearance/chipsSuccess.d.ts +16 -1
  131. package/dist/types/components/Chips/appearance/chipsSurface.d.ts +11 -1
  132. package/dist/types/components/Chips/appearance/chipsWarning.d.ts +16 -1
  133. package/dist/types/components/Chips/stories/__mock__/index.d.ts +14 -0
  134. package/dist/types/components/Choice/appearance/choiceDefault.d.ts +1 -0
  135. package/dist/types/components/Choice/appearance/choiceDisabled.d.ts +1 -1
  136. package/dist/types/components/Choice/appearance/choiceError.d.ts +1 -0
  137. package/dist/types/components/Choice/appearance/choiceRequire.d.ts +1 -0
  138. package/dist/types/components/Choice/appearance/choiceStyle.d.ts +4 -6
  139. package/dist/types/components/Choice/appearance/choiceSuccess.d.ts +1 -0
  140. package/dist/types/components/Choice/stories/__mock__/index.d.ts +3 -9
  141. package/dist/types/components/Dropdown/stories/__mock__/index.d.ts +87 -44
  142. package/dist/types/components/Icon/appearance/iconAccent.d.ts +2 -4
  143. package/dist/types/components/Icon/appearance/iconDanger.d.ts +2 -4
  144. package/dist/types/components/Icon/appearance/iconDisabled.d.ts +12 -0
  145. package/dist/types/components/Icon/appearance/iconError.d.ts +4 -4
  146. package/dist/types/components/Icon/appearance/iconInfo.d.ts +7 -4
  147. package/dist/types/components/Icon/appearance/iconPrimary.d.ts +4 -2
  148. package/dist/types/components/Icon/appearance/iconSecondary.d.ts +2 -2
  149. package/dist/types/components/Icon/appearance/iconStyle.d.ts +4 -6
  150. package/dist/types/components/Icon/appearance/iconSuccess.d.ts +0 -2
  151. package/dist/types/components/Icon/appearance/iconSurface.d.ts +0 -5
  152. package/dist/types/components/Icon/appearance/iconWarning.d.ts +4 -4
  153. package/dist/types/components/Input/appearance/inputDefault.d.ts +1 -0
  154. package/dist/types/components/Label/appearance/labelDisable.d.ts +2 -2
  155. package/dist/types/components/Label/appearance/labelPrimary.d.ts +1 -0
  156. package/dist/types/components/Label/appearance/labelSurface.d.ts +1 -0
  157. package/dist/types/components/MenuItem/appearance/menuItemStyle.d.ts +4 -6
  158. package/dist/types/components/MenuItem/appearance/menuItemSurface.d.ts +5 -0
  159. package/dist/types/components/Notification/appearance/notificationDefault.d.ts +0 -1
  160. package/dist/types/components/Notification/appearance/notificationError.d.ts +0 -1
  161. package/dist/types/components/Notification/appearance/notificationInfo.d.ts +0 -1
  162. package/dist/types/components/Notification/appearance/notificationSuccess.d.ts +0 -1
  163. package/dist/types/components/Notification/appearance/notificationWarning.d.ts +0 -1
  164. package/dist/types/components/Segmented/Segmented.interface.d.ts +5 -2
  165. package/dist/types/components/Segmented/appearance/segmentedDefault.d.ts +8 -11
  166. package/dist/types/components/Segmented/appearance/segmentedDisabled.d.ts +8 -10
  167. package/dist/types/components/Segmented/appearance/segmentedError.d.ts +10 -1
  168. package/dist/types/components/Segmented/appearance/segmentedSize.d.ts +5 -0
  169. package/dist/types/components/Segmented/appearance/segmentedStyle.d.ts +3 -3
  170. package/dist/types/components/Segmented/appearance/segmentedSuccess.d.ts +10 -1
  171. package/dist/types/components/Segmented/appearance/segmentedWarning.d.ts +10 -1
  172. package/dist/types/components/Segmented/stories/__mock__/index.d.ts +31 -9
  173. package/dist/types/components/Textarea/appearance/textareaDefault.d.ts +1 -0
  174. package/dist/types/components/Textarea/appearance/textareaStyle.d.ts +4 -4
  175. package/dist/types/context/UIContext.d.ts +3 -5
  176. package/package.json +8 -7
  177. package/dist/ChipsGroup_cjs_j3QOma3U.js +0 -200
  178. package/dist/ChipsGroup_es_DF1fhn97.js +0 -195
  179. package/dist/css/components/Notification/css/__item/notification__item_status.css +0 -48
  180. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsDanger.d.ts +0 -7
  181. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsError.d.ts +0 -9
  182. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsInfo.d.ts +0 -17
  183. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsPrimary.d.ts +0 -8
  184. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSecondary.d.ts +0 -8
  185. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSuccess.d.ts +0 -9
  186. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsWarning.d.ts +0 -9
@@ -2,7 +2,7 @@ import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
2
2
  import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import React, { useRef, useMemo, createRef, useCallback, useEffect } from 'react';
4
4
  import clsx from 'clsx';
5
- import { I as Icon } from '../Tooltip_es_B0nm9irO.js';
5
+ import { I as Icon } from '../Tooltip_es_ltCY-w4M.js';
6
6
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
7
7
  import { T as Text } from '../Text_es_BfLRfj-5.js';
8
8
  import '../hooks/useStyles/useStyles.js';
@@ -28,103 +28,130 @@ var segmentedAppearanceDefault = {
28
28
  fillActiveHover: 'accentPrimary',
29
29
  fillHover: 'surfaceSecondary',
30
30
  labelTextActiveColor: 'accentTextPrimary',
31
+ labelTextActiveHoverColor: 'accentTextPrimary',
31
32
  labelTextColor: 'surfaceTextPrimary',
33
+ borderColor: 'surfaceBorderQuaternary',
34
+ iconAfterFill: 'surfaceItemQuaternary',
35
+ iconAfterFillActive: 'surfaceItemSecondary',
36
+ iconBeforeFill: 'surfaceItemQuaternary',
37
+ iconBeforeFillActive: 'surfaceItemSecondary',
38
+ iconFill: 'surfaceItemQuaternary',
39
+ iconFillActive: 'surfaceItemSecondary',
32
40
  indicatorFill: 'accentPrimary',
33
- shape: 'rounded',
34
- },
35
- defaultSecondary: {
36
- fill: 'surfaceSecondary',
37
- fillActive: 'accentPrimary',
38
- fillActiveHover: 'accentPrimary',
39
- fillHover: 'surfaceTertiary',
40
- labelTextActiveColor: 'accentTextPrimary',
41
- labelTextColor: 'surfaceTextPrimary',
42
- indicatorFill: 'accentPrimary',
43
- shape: 'rounded',
44
41
  },
45
42
  };
46
43
 
47
44
  var segmentedAppearanceDisabled = {
48
45
  disabledPrimary: {
49
- fill: 'surfaceFillDisabled',
50
- borderColor: 'errorBorderQuaternary',
51
- borderHover: 'errorBorderQuaternary',
52
- textColor: 'surfaceTextQuaternary',
53
- iconBeforeFill: 'errorItemQuaternary',
54
- iconClearFill: 'errorItemPrimary',
55
- },
56
- disabledSecondary: {
57
- fill: 'surfaceSecondary',
58
- borderColor: 'surfaceBorderTertiary',
59
- borderHover: 'surfaceBorderQuaternary',
60
- iconBeforeFill: 'surfaceItemQuaternary',
61
- iconClearFill: 'surfaceItemPrimary',
46
+ fill: 'surfaceDisabled',
47
+ fillActive: 'surfaceItemTertiary',
48
+ labelTextActiveColor: 'surfaceTextQuaternary',
49
+ labelTextColor: 'surfaceTextQuaternary',
50
+ borderColor: 'surfaceBorderPrimary',
51
+ iconAfterFill: 'surfaceItemPrimary',
52
+ iconAfterFillActive: 'surfaceItemDisabled',
53
+ iconBeforeFill: 'surfaceItemPrimary',
54
+ iconBeforeFillActive: 'surfaceItemDisabled',
55
+ iconFill: 'surfaceItemPrimary',
56
+ iconFillActive: 'surfaceItemDisabled',
62
57
  },
63
58
  };
64
59
 
65
60
  var segmentedAppearanceError = {
66
- error: {
67
- fill: 'errorPrimary',
68
- fillHover: 'errorPrimaryHover',
69
- labelTextColor: 'errorTextPrimary',
61
+ errorPrimary: {
62
+ fill: 'errorTertiary',
63
+ fillActive: 'errorPrimary',
64
+ fillHover: 'errorItemHover',
65
+ labelTextActiveColor: 'errorTextPrimary',
66
+ labelTextColor: 'errorTextSecondary',
70
67
  labelTextColorHover: 'errorTextPrimary',
68
+ borderColor: 'errorBorderQuaternary',
69
+ iconAfterFill: 'errorItemSecondary',
70
+ iconAfterFillActive: 'errorItemTertiary',
71
+ iconBeforeFill: 'errorItemSecondary',
72
+ iconBeforeFillActive: 'errorItemTertiary',
73
+ iconFill: 'errorItemSecondary',
74
+ iconFillActive: 'errorItemTertiary',
71
75
  },
72
76
  };
73
77
 
74
78
  var segmentedAppearanceSize = {
75
79
  sizeL: {
76
80
  size: 'l',
77
- labelTextSize: 'l',
81
+ labelTextSize: 'm',
82
+ iconSize: '24',
78
83
  },
79
84
  sizeM: {
80
85
  size: 'm',
81
86
  labelTextSize: 'm',
87
+ iconSize: '24',
82
88
  },
83
89
  sizeS: {
84
90
  size: 's',
85
91
  labelTextSize: 's',
92
+ iconSize: '20',
86
93
  },
87
94
  sizeXS: {
88
95
  size: 'xs',
89
96
  labelTextSize: 'xs',
97
+ iconSize: '16',
90
98
  },
91
99
  sizeXSS: {
92
100
  size: 'xxs',
93
101
  labelTextSize: 'xxs',
102
+ iconSize: '14',
94
103
  },
95
104
  };
96
105
 
97
106
  var segmentedAppearanceStyle = {
98
107
  solid: {
99
- borderColor: '0',
108
+ borderColor: 'none',
100
109
  },
101
110
  outlined: {
102
111
  fill: 'none',
112
+ fillActive: 'none',
103
113
  },
104
- full: {
105
- borderColor: '0',
106
- },
114
+ full: {},
107
115
  ghost: {
108
116
  fill: 'none',
109
- borderColor: '0',
117
+ fillActive: 'none',
118
+ borderColor: 'none',
110
119
  },
111
120
  };
112
121
 
113
122
  var segmentedAppearanceSuccess = {
114
123
  successPrimary: {
115
- fill: 'successPrimary',
116
- fillHover: 'successPrimaryHover',
124
+ fill: 'successTertiary',
125
+ fillActive: 'successItemSecondary',
126
+ fillHover: 'successItemSecondary',
127
+ labelTextActiveColor: 'successTextPrimary',
117
128
  labelTextColor: 'successTextSecondary',
118
- labelTextColorHover: 'successTextSecondary',
129
+ labelTextHoverColor: 'successTextPrimary',
130
+ borderColor: 'successBorderSecondary',
131
+ iconAfterFill: 'successItemSecondary',
132
+ iconAfterFillActive: 'successTertiary',
133
+ iconBeforeFill: 'successItemSecondary',
134
+ iconBeforeFillActive: 'successTertiary',
135
+ iconFill: 'successItemSecondary',
136
+ iconFillActive: 'successTertiary',
119
137
  },
120
138
  };
121
139
 
122
140
  var segmentedAppearanceWarning = {
123
- warning: {
124
- fill: 'warningPrimary',
125
- fillHover: 'warningPrimaryHover',
141
+ warningPrimary: {
142
+ fill: 'warningTertiary',
143
+ fillActive: 'warningItemSecondary',
144
+ fillHover: 'warningItemHover',
145
+ labelTextActiveColor: 'warningTextPrimary',
126
146
  labelTextColor: 'warningTextSecondary',
127
147
  labelTextColorHover: 'warningTextSecondary',
148
+ borderColor: 'warningBorderSecondary',
149
+ iconAfterFill: 'warningItemSecondary',
150
+ iconAfterFillActive: 'warningTertiary',
151
+ iconBeforeFill: 'warningItemSecondary',
152
+ iconBeforeFillActive: 'warningTertiary',
153
+ iconFill: 'warningItemSecondary',
154
+ iconFillActive: 'warningTertiary',
128
155
  },
129
156
  };
130
157
 
@@ -164,17 +191,22 @@ var Segmented = React.forwardRef(function (props) {
164
191
  return (__assign(__assign({}, resultConfig), (_a = segmentedConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
165
192
  }, {});
166
193
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
167
- var fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelTextActiveColor = propsGenerator.labelTextActiveColor, labelTextActiveHoverColor = propsGenerator.labelTextActiveHoverColor, labelTextColor = propsGenerator.labelTextColor, labelTextHoverColor = propsGenerator.labelTextHoverColor, labelTextSize = propsGenerator.labelTextSize, labelTextWrap = propsGenerator.labelTextWrap, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, icon = propsGenerator.icon, iconAppearance = propsGenerator.iconAppearance, iconFill = propsGenerator.iconFill, iconFillIcon = propsGenerator.iconFillIcon, iconFillSize = propsGenerator.iconFillSize, iconShape = propsGenerator.iconShape, iconSize = propsGenerator.iconSize, iconSrc = propsGenerator.iconSrc, indicatorFillClass = propsGenerator.indicatorFillClass, inputBorderColorClass = propsGenerator.inputBorderColorClass, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
168
- return (jsx("div", { className: clsx(className, 'segmented', shapeClass && "segmented_shape_".concat(shapeClass), fillClass && "fill_".concat(fillClass), widthClass && "segmented_width_".concat(widthClass), sizeClass && "segmented_size_".concat(sizeClass), inputBorderColorClass && "border-color_".concat(inputBorderColorClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), isSkeleton && "segmented_skeleton"), ref: controlRef, children: jsx("div", { className: "segmented__wrapper", children: jsxs("div", { className: clsx('segmented__wrapper-inner'), children: [segments === null || segments === void 0 ? void 0 : segments.map(function (item) { return (jsxs("div", { className: clsx('segmented__item', item.value === (activeSegment === null || activeSegment === void 0 ? void 0 : activeSegment.value)
169
- ? fillActiveHoverClass &&
170
- "fill_active_hover_".concat(fillActiveHoverClass)
171
- : fillHoverClass && "fill_hover_".concat(fillHoverClass), item.value === (activeSegment === null || activeSegment === void 0 ? void 0 : activeSegment.value)
172
- ? fillActiveClass && "fill_active_".concat(fillActiveClass)
173
- : fillClass && "fill_".concat(fillClass), item.value === (activeSegment === null || activeSegment === void 0 ? void 0 : activeSegment.value) && 'segmented__item_active', onChange && 'cursor_type_pointer', isDisabled && 'cursor_type_default'), ref: segmentsRefs.get(item.value), children: [(icon || iconSrc) && (jsx(Icon, { className: clsx('tile__icon'), appearance: iconAppearance, fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, iconSize: iconSize, imageSrc: iconSrc, shape: iconShape, SvgImage: icon })), jsx("input", { id: item.label, className: "segmented__item-radio", type: "radio", name: name, checked: item.value === (activeSegment === null || activeSegment === void 0 ? void 0 : activeSegment.value), value: item.value, onChange: function () { return onChangeValue(item); } }), jsx("label", { className: clsx('segmented__item-label'), htmlFor: item.label, children: jsx(Text, { className: clsx('segmented__item-label-text', labelTextWrap && "word-wrap_".concat(labelTextWrap)), size: labelTextSize, textColor: item.value === (activeSegment === null || activeSegment === void 0 ? void 0 : activeSegment.value)
174
- ? labelTextActiveColor
175
- : labelTextColor, textColorHover: item.value === (activeSegment === null || activeSegment === void 0 ? void 0 : activeSegment.value)
176
- ? labelTextActiveHoverColor
177
- : labelTextHoverColor, children: item.label }) })] }, item.value)); }), jsx("div", { className: clsx('segmented__indicator', indicatorFillClass && "fill_".concat(indicatorFillClass)) })] }) }) }));
194
+ var fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelTextActiveColor = propsGenerator.labelTextActiveColor, labelTextActiveHoverColor = propsGenerator.labelTextActiveHoverColor, labelTextColor = propsGenerator.labelTextColor, labelTextHoverColor = propsGenerator.labelTextHoverColor, labelTextSize = propsGenerator.labelTextSize, labelTextWrap = propsGenerator.labelTextWrap, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, iconFillDisabled = propsGenerator.iconFillDisabled, iconFill = propsGenerator.iconFill, iconFillActive = propsGenerator.iconFillActive, iconSize = propsGenerator.iconSize, indicatorFillClass = propsGenerator.indicatorFillClass, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
195
+ return (jsx("div", { className: clsx(className, 'segmented', shapeClass && "segmented_shape_".concat(shapeClass), fillClass && "fill_".concat(fillClass), widthClass && "segmented_width_".concat(widthClass), sizeClass && "segmented_size_".concat(sizeClass), borderColorClass && "border-color_".concat(borderColorClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), isSkeleton && "segmented_skeleton"), ref: controlRef, children: jsx("div", { className: "segmented__wrapper", children: jsxs("div", { className: clsx('segmented__wrapper-inner'), children: [segments === null || segments === void 0 ? void 0 : segments.map(function (item) {
196
+ var isActive = String(activeSegment === null || activeSegment === void 0 ? void 0 : activeSegment.value) === String(item.value);
197
+ return (jsx("div", { className: clsx('segmented__item', !item.label && 'segmented__item_icon', sizeClass && "segmented__item_size_".concat(sizeClass), isActive && 'segmented__item_active', !isActive && isDisabled && 'segmented__item_state_disabled', isActive &&
198
+ isDisabled &&
199
+ 'segmented__item_active_state_disabled', !isActive
200
+ ? fillHoverClass && "fill_hover_".concat(fillHoverClass)
201
+ : fillActiveHoverClass &&
202
+ "fill_active_hover_".concat(fillActiveHoverClass), isActive &&
203
+ fillActiveClass &&
204
+ "fill_active_".concat(fillActiveClass)), ref: segmentsRefs.get(item.value), onClick: function () { return !isDisabled && onChangeValue(item); }, children: jsxs("div", { className: clsx('segmented__item-label', sizeClass && "segmented_size_".concat(sizeClass)), children: [item.iconBefore || item.iconBeforeActive ? (jsx(Icon, { className: "segmented__item-icon", iconFillDisabled: iconFillDisabled, isDisabled: isDisabled, iconFill: iconFill, iconFillActive: iconFillActive, iconSize: iconSize, SvgImage: isActive
205
+ ? item.iconBeforeActive || item.iconBefore
206
+ : item.iconBefore, isActive: isActive })) : null, item.label && (jsx(Text, { size: labelTextSize, textColor: labelTextColor, textColorActive: labelTextActiveColor, textColorActiveHover: labelTextActiveHoverColor, textColorHover: labelTextHoverColor, textWrap: labelTextWrap, isActive: isActive, children: item.label })), item.icon || item.iconActive ? (jsx(Icon, { className: "segmented__item-icon", iconFillDisabled: iconFillDisabled, isDisabled: isDisabled, iconFill: iconFill, iconFillActive: iconFillActive, iconSize: iconSize, SvgImage: isActive ? item.iconActive || item.icon : item.icon, isActive: isActive })) : null, item.iconAfter || item.iconAfterActive ? (jsx(Icon, { className: "segmented__item-icon", iconFillDisabled: iconFillDisabled, isDisabled: isDisabled, iconFill: iconFill, iconFillActive: iconFillActive, iconSize: iconSize, SvgImage: isActive
207
+ ? item.iconAfterActive || item.iconAfter
208
+ : item.iconAfter, isActive: isActive })) : null] }) }, "".concat(name, "-").concat(item.value)));
209
+ }), jsx("div", { className: clsx('segmented__indicator', indicatorFillClass && "fill_".concat(indicatorFillClass)) })] }) }) }));
178
210
  });
179
211
 
180
212
  export { Segmented, segmentedAppearance, segmentedConfig };
@@ -1,7 +1,7 @@
1
1
  import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
2
2
  import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import Select, { components } from 'react-select';
4
- import { I as Icon, B as Badge } from '../Tooltip_es_B0nm9irO.js';
4
+ import { I as Icon, B as Badge } from '../Tooltip_es_ltCY-w4M.js';
5
5
  import React, { useRef, useCallback, useEffect, useMemo } from 'react';
6
6
  import clsx from 'clsx';
7
7
  import CreatableSelect from 'react-select/creatable';
@@ -4,7 +4,7 @@ import clsx from 'clsx';
4
4
  import { Swiper as Swiper$1, SwiperSlide } from 'swiper/react';
5
5
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
6
6
  import { useStyles } from '../hooks/useStyles/useStyles.js';
7
- import { b as Title } from '../Tooltip_es_B0nm9irO.js';
7
+ import { b as Title } from '../Tooltip_es_ltCY-w4M.js';
8
8
  import '../tslib.es6_es_Bwu1Cn-t.js';
9
9
  import 'lodash/camelCase';
10
10
  import 'lodash/castArray';
@@ -4,7 +4,7 @@ import React from 'react';
4
4
  import clsx from 'clsx';
5
5
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
6
6
  import { useStyles } from '../hooks/useStyles/useStyles.js';
7
- import { B as Badge, I as Icon } from '../Tooltip_es_B0nm9irO.js';
7
+ import { B as Badge, I as Icon } from '../Tooltip_es_ltCY-w4M.js';
8
8
  import { D as Divider } from '../Divider_es_kY-30pft.js';
9
9
  import { L as Link } from '../Link_es_DxtZLeKY.js';
10
10
  import { T as Text } from '../Text_es_BfLRfj-5.js';
@@ -21,6 +21,7 @@ var textareaAppearanceDefault = {
21
21
  borderHover: 'surfaceBorderQuaternary',
22
22
  iconBeforeFill: 'surfaceItemQuaternary',
23
23
  iconClearFill: 'surfaceItemPrimary',
24
+ placeholderTextColor: 'surfaceTextQuaternary',
24
25
  },
25
26
  defaultSecondary: {
26
27
  fill: 'surfacePrimary',
@@ -28,7 +29,7 @@ var textareaAppearanceDefault = {
28
29
  borderHover: 'surfaceBorderQuaternary',
29
30
  iconBeforeFill: 'surfaceItemQuaternary',
30
31
  iconClearFill: 'surfaceItemPrimary',
31
- placeholderTextColor: 'surfaceTextSecondary',
32
+ placeholderTextColor: 'surfaceTextQuaternary',
32
33
  },
33
34
  defaultTertiaryy: {
34
35
  fill: 'surfacePrimary',
@@ -36,7 +37,7 @@ var textareaAppearanceDefault = {
36
37
  borderHover: 'surfaceBorderQuaternary',
37
38
  iconBeforeFill: 'surfaceItemQuaternary',
38
39
  iconClearFill: 'surfaceItemPrimary',
39
- placeholderTextColor: 'surfaceTextSecondary',
40
+ placeholderTextColor: 'surfaceTextQuaternary',
40
41
  },
41
42
  defaultQuaternary: {
42
43
  fill: 'surfacePrimary',
@@ -44,7 +45,7 @@ var textareaAppearanceDefault = {
44
45
  borderHover: 'surfaceBorderQuaternary',
45
46
  iconBeforeFill: 'surfaceItemQuaternary',
46
47
  iconClearFill: 'surfaceItemPrimary',
47
- placeholderTextColor: 'surfaceTextSecondary',
48
+ placeholderTextColor: 'surfaceTextQuaternary',
48
49
  },
49
50
  };
50
51
 
@@ -140,17 +141,15 @@ var textareaAppearanceSize = {
140
141
  };
141
142
 
142
143
  var textareaAppearanceStyle = {
143
- full: {
144
- /* border / fill */
145
- },
146
- ghost: {
147
- fill: 'none',
144
+ solid: {
148
145
  borderWidth: '0',
149
146
  },
150
147
  outlined: {
151
148
  fill: 'none',
152
149
  },
153
- solid: {
150
+ full: {},
151
+ ghost: {
152
+ fill: 'none',
154
153
  borderWidth: '0',
155
154
  },
156
155
  };
@@ -3,7 +3,7 @@ import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import clsx from 'clsx';
4
4
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
5
5
  import { useStyles } from '../hooks/useStyles/useStyles.js';
6
- import { b as Title, B as Badge, I as Icon } from '../Tooltip_es_B0nm9irO.js';
6
+ import { b as Title, B as Badge, I as Icon } from '../Tooltip_es_ltCY-w4M.js';
7
7
  import { T as Text } from '../Text_es_BfLRfj-5.js';
8
8
  import 'react';
9
9
  import 'lodash/camelCase';
@@ -1,4 +1,4 @@
1
- export { b as Title, d as titleAppearance, c as titleConfig } from '../Tooltip_es_B0nm9irO.js';
1
+ export { b as Title, d as titleAppearance, c as titleConfig } from '../Tooltip_es_ltCY-w4M.js';
2
2
  import '../tslib.es6_es_Bwu1Cn-t.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
@@ -1,4 +1,4 @@
1
- export { T as Tooltip, a as tooltipAppearance, t as tooltipConfig } from '../Tooltip_es_B0nm9irO.js';
1
+ export { T as Tooltip, a as tooltipAppearance, t as tooltipConfig } from '../Tooltip_es_ltCY-w4M.js';
2
2
  import '../tslib.es6_es_Bwu1Cn-t.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
@@ -8,15 +8,48 @@
8
8
  @each $size in xxl, xl, l, m, s, xs, xxs {
9
9
  &_size_$(size) {
10
10
  gap: var(--breadcrumbs-item-$(size)-gap);
11
+ padding: var(--breadcrumbs-item-$(size)-padding);
11
12
  }
12
13
  }
13
14
  }
15
+ .breadcrumbs__item {
16
+ &&_skeleton {
17
+ background-size: 200% !important;
18
+ border: none;
19
+ animation: breadCrumbsItemSkeleton 3s infinite linear !important;
20
+ background-image: linear-gradient(
21
+ 90deg,
22
+ var(--color-surface-fill-secondary),
23
+ var(--color-surface-fill-tertiary),
24
+ var(--color-surface-fill-secondary)
25
+ ) !important;
26
+ & * {
27
+ opacity: 0%;
28
+ }
29
+ }
30
+ }
31
+ @keyframes breadCrumbsItemSkeleton {
32
+ 0% {
33
+ background-position: 200%;
34
+ }
35
+ 100% {
36
+ background-position: -200%;
37
+ }
38
+ }
14
39
  :root {
15
- --breadcrumbs-item-xxl-gap: 12px;
40
+ --breadcrumbs-item-xxl-gap: 8px;
16
41
  --breadcrumbs-item-xl-gap: 8px;
17
- --breadcrumbs-item-l-gap: 8px;
18
- --breadcrumbs-item-m-gap: 8px;
19
- --breadcrumbs-item-s-gap: 8px;
20
- --breadcrumbs-item-xs-gap: 8px;
21
- --breadcrumbs-item-xxs-gap: 8px;
42
+ --breadcrumbs-item-l-gap: 4px;
43
+ --breadcrumbs-item-m-gap: 4px;
44
+ --breadcrumbs-item-s-gap: 4px;
45
+ --breadcrumbs-item-xs-gap: 4px;
46
+ --breadcrumbs-item-xxs-gap: 4px;
47
+
48
+ --breadcrumbs-item-xxl-padding: 12px;
49
+ --breadcrumbs-item-xl-padding: 12px;
50
+ --breadcrumbs-item-l-padding: 10px;
51
+ --breadcrumbs-item-m-padding: 6px;
52
+ --breadcrumbs-item-s-padding: 6px;
53
+ --breadcrumbs-item-xs-padding: 4px;
54
+ --breadcrumbs-item-xxs-padding: 2px;
22
55
  }
@@ -35,55 +35,81 @@
35
35
  }
36
36
  }
37
37
 
38
+ .chips {
39
+ &&_skeleton {
40
+ background-size: 200% !important;
41
+ border: none;
42
+ animation: chipsSkeleton 3s infinite linear !important;
43
+ background-image: linear-gradient(
44
+ 90deg,
45
+ var(--color-surface-fill-secondary),
46
+ var(--color-surface-fill-tertiary),
47
+ var(--color-surface-fill-secondary)
48
+ ) !important;
49
+ & * {
50
+ opacity: 0%;
51
+ }
52
+ }
53
+ }
54
+
55
+ @keyframes chipsSkeleton {
56
+ 0% {
57
+ background-position: 200%;
58
+ }
59
+ 100% {
60
+ background-position: -200%;
61
+ }
62
+ }
63
+
38
64
  :root {
39
65
  /* Default */
40
66
  --chips-shape-rounded-default: 8px;
41
67
 
42
68
  /* Size XXL */
43
- --chips-xxl-gap: 0.5m;
44
- --chips-xxl-padding: 2m 2m;
69
+ --chips-xxl-gap: 4px;
70
+ --chips-xxl-padding: 12px 16px;
45
71
  --chips-xxl-min-width: 48px;
46
72
  --chips-xxl-min-height: 48px;
47
73
  --chips-xxl-shape-rounded: 8px;
48
74
 
49
75
  /* Size XL */
50
- --chips-xl-gap: 0.5m;
51
- --chips-xl-padding: 1m 1m;
76
+ --chips-xl-gap: 4px;
77
+ --chips-xl-padding: 10px 16px;
52
78
  --chips-xl-min-width: 40px;
53
79
  --chips-xl-min-height: 40px;
54
80
  --chips-xl-shape-rounded: 8px;
55
81
 
56
82
  /* Size L */
57
- --chips-l-gap: 0.5m;
58
- --chips-l-padding: 0.5m 12px;
83
+ --chips-l-gap: 4px;
84
+ --chips-l-padding: 6px 12px;
59
85
  --chips-l-min-width: 32px;
60
86
  --chips-l-min-height: 32px;
61
87
  --chips-l-shape-rounded: 8px;
62
88
 
63
89
  /* Size M */
64
- --chips-m-gap: 0.5m;
65
- --chips-m-padding: 0.75m 1.25m;
90
+ --chips-m-gap: 4px;
91
+ --chips-m-padding: 6px 10px;
66
92
  --chips-m-min-width: 28px;
67
93
  --chips-m-min-height: 28px;
68
94
  --chips-m-shape-rounded: 8px;
69
95
 
70
96
  /* Size S */
71
- --chips-s-gap: 0.5m;
72
- --chips-s-padding: 0.25m 0.5m;
97
+ --chips-s-gap: 4px;
98
+ --chips-s-padding: 4px 8px;
73
99
  --chips-s-min-width: 24px;
74
100
  --chips-s-min-height: 24px;
75
101
  --chips-s-shape-rounded: 8px;
76
102
 
77
103
  /* Size XS */
78
- --chips-xs-gap: 0.5m;
79
- --chips-xs-padding: 0.5m 0.5m;
104
+ --chips-xs-gap: 4px;
105
+ --chips-xs-padding: 2px 6px;
80
106
  --chips-xs-min-width: 20px;
81
107
  --chips-xs-min-height: 20px;
82
108
  --chips-xs-shape-rounded: 8px;
83
109
 
84
110
  /* Size XXS */
85
- --chips-xxs-gap: 0.5m;
86
- --chips-xxs-padding: 0.25m 0.25m;
111
+ --chips-xxs-gap: 4px;
112
+ --chips-xxs-padding: 2px 4px;
87
113
  --chips-xxs-min-width: 16px;
88
114
  --chips-xxs-min-height: 16px;
89
115
  --chips-xxs-shape-rounded: 8px;
@@ -302,6 +302,30 @@
302
302
  }
303
303
  }
304
304
  }
305
+ .icon {
306
+ &&_skeleton {
307
+ background-size: 200% !important;
308
+ border: none;
309
+ animation: iconSkeleton 3s infinite linear !important;
310
+ background-image: linear-gradient(
311
+ 90deg,
312
+ var(--color-surface-fill-secondary),
313
+ var(--color-surface-fill-tertiary),
314
+ var(--color-surface-fill-secondary)
315
+ ) !important;
316
+ & * {
317
+ opacity: 0%;
318
+ }
319
+ }
320
+ }
321
+ @keyframes iconSkeleton {
322
+ 0% {
323
+ background-position: 200%;
324
+ }
325
+ 100% {
326
+ background-position: -200%;
327
+ }
328
+ }
305
329
  .icon {
306
330
  &__tooltip {
307
331
  &.tooltip {
@@ -50,6 +50,7 @@
50
50
  ^^&__item {
51
51
  border-radius: 100%;
52
52
  display: inline-block;
53
+ border-radius: 50%;
53
54
  animation: loaderSimple 1.4s infinite ease-in-out both;
54
55
  &:first-child {
55
56
  animation-delay: -0.32s;
@@ -87,25 +88,6 @@
87
88
  }
88
89
  }
89
90
  }
90
- .loader {
91
- &_shape {
92
- &_rounded {
93
- border-radius: var(--loader-shape-rounded-default, 6px);
94
- @each $size in xxl, xl, l, m, s, xs, xxs {
95
- &^^&_size_$(size) {
96
- ^^^&__item {
97
- border-radius: var(--loader-$(size)-shape-rounded, 6px);
98
- }
99
- }
100
- }
101
- }
102
- &_circular {
103
- ^^&__item {
104
- border-radius: 50%;
105
- }
106
- }
107
- }
108
- }
109
91
  :root {
110
92
  --loader-l-min-width: 112px;
111
93
  --loader-l-min-height: 56px;