@itcase/ui 1.8.34 → 1.8.36

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 (160) hide show
  1. package/dist/{Avatar_cjs_kADy_b4o.js → Avatar_cjs_DBoMi2WA.js} +1 -1
  2. package/dist/{Avatar_es_DbGpnL99.js → Avatar_es_DHREqfOD.js} +1 -1
  3. package/dist/{Button_cjs_CW6ENTbm.js → Button_cjs_djJUZATX.js} +2 -2
  4. package/dist/{Button_es_DTUagqgU.js → Button_es_X1DzVhok.js} +2 -2
  5. package/dist/ChipsGroup_cjs_5xsEchPo.js +314 -0
  6. package/dist/ChipsGroup_es_4TOkv-fm.js +309 -0
  7. package/dist/{DatePicker_cjs_C-VbK2J4.js → DatePicker_cjs_DffhgUnQ.js} +26 -30
  8. package/dist/{DatePicker_es_CIEHQyHC.js → DatePicker_es_GmkagjKf.js} +27 -31
  9. package/dist/{DropdownItem_cjs_D-zoX7Ik.js → DropdownItem_cjs_DxBpJAi9.js} +5 -3
  10. package/dist/{DropdownItem_es_BMnIhUSe.js → DropdownItem_es_Loneq6M7.js} +5 -3
  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_BWbVsB-u.js → Label_cjs_C88e2CIP.js} +59 -131
  14. package/dist/{Label_es_ouC2i_iI.js → Label_es_Bn2aRjLl.js} +59 -131
  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_oS1iOamX.js} +4 -2
  18. package/dist/{Tooltip_es_B0nm9irO.js → Tooltip_es_LV5ZNg3B.js} +4 -2
  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 +13 -6
  24. package/dist/cjs/components/Breadcrumbs.js +17 -18
  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 +7 -7
  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 +10 -8
  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 +3 -2
  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 +12 -5
  45. package/dist/cjs/components/Modal.js +2 -2
  46. package/dist/cjs/components/Notification.js +1 -1
  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 +24 -9
  52. package/dist/cjs/components/Segmented.js +80 -51
  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 +13 -7
  66. package/dist/components/Breadcrumbs.js +17 -18
  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 +7 -7
  73. package/dist/components/CookiesWarning.js +3 -3
  74. package/dist/components/Dadata.js +1 -1
  75. package/dist/components/DatePeriod.js +10 -8
  76. package/dist/components/DatePicker.js +6 -6
  77. package/dist/components/Drawer.js +1 -1
  78. package/dist/components/Dropdown/stories/__mock__.js +3 -2
  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 +12 -5
  87. package/dist/components/Modal.js +2 -2
  88. package/dist/components/Notification.js +1 -1
  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 +23 -11
  94. package/dist/components/Segmented.js +80 -51
  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 +15 -6
  103. package/dist/css/components/Chips/Chips.css +40 -14
  104. package/dist/css/components/Dropdown/Dropdown.css +7 -14
  105. package/dist/css/components/Loader/Loader.css +1 -19
  106. package/dist/css/components/MenuItem/MenuItem.css +22 -30
  107. package/dist/css/components/ScrollOnDrag/ScrollOnDrag.css +230 -4
  108. package/dist/css/components/Segmented/Segmented.css +53 -6
  109. package/dist/css/components/Segmented/css/__item/segmaented__item.css +31 -0
  110. package/dist/css/styles/centering/centering.css +17 -0
  111. package/dist/css/styles/shape-strength/shape-strength.css +10 -9
  112. package/dist/hooks/useStyles/styleAttributes.js +1 -1
  113. package/dist/stories/ChipsOverview.mdx +26 -14
  114. package/dist/stories/ChipsPlayground.mdx +3 -3
  115. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsStyle.d.ts +5 -5
  116. package/dist/types/components/Breadcrumbs/stories/__mock__/index.d.ts +24 -1
  117. package/dist/types/components/Chips/Chips.interface.d.ts +1 -0
  118. package/dist/types/components/Chips/appearance/chipsAccent.d.ts +9 -1
  119. package/dist/types/components/Chips/appearance/chipsDanger.d.ts +16 -1
  120. package/dist/types/components/Chips/appearance/chipsError.d.ts +16 -1
  121. package/dist/types/components/Chips/appearance/chipsInfo.d.ts +16 -1
  122. package/dist/types/components/Chips/appearance/chipsPrimary.d.ts +11 -2
  123. package/dist/types/components/Chips/appearance/chipsSecondary.d.ts +10 -2
  124. package/dist/types/components/Chips/appearance/chipsSize.d.ts +34 -0
  125. package/dist/types/components/Chips/appearance/chipsStyle.d.ts +9 -9
  126. package/dist/types/components/Chips/appearance/chipsSuccess.d.ts +16 -1
  127. package/dist/types/components/Chips/appearance/chipsSurface.d.ts +11 -1
  128. package/dist/types/components/Chips/appearance/chipsWarning.d.ts +16 -1
  129. package/dist/types/components/Chips/stories/__mock__/index.d.ts +14 -0
  130. package/dist/types/components/Choice/appearance/choiceStyle.d.ts +5 -5
  131. package/dist/types/components/Choice/stories/__mock__/index.d.ts +3 -9
  132. package/dist/types/components/Input/appearance/inputDefault.d.ts +1 -0
  133. package/dist/types/components/Label/appearance/labelAccent.d.ts +0 -8
  134. package/dist/types/components/Label/appearance/labelDanger.d.ts +0 -12
  135. package/dist/types/components/Label/appearance/labelDisable.d.ts +2 -4
  136. package/dist/types/components/Label/appearance/labelError.d.ts +0 -8
  137. package/dist/types/components/Label/appearance/labelInfo.d.ts +0 -5
  138. package/dist/types/components/Label/appearance/labelPrimary.d.ts +0 -10
  139. package/dist/types/components/Label/appearance/labelSecondary.d.ts +0 -10
  140. package/dist/types/components/Label/appearance/labelSize.d.ts +6 -0
  141. package/dist/types/components/Label/appearance/labelStyle.d.ts +4 -4
  142. package/dist/types/components/Label/appearance/labelSuccess.d.ts +0 -8
  143. package/dist/types/components/Label/appearance/labelSurface.d.ts +0 -6
  144. package/dist/types/components/Label/appearance/labelWarning.d.ts +0 -9
  145. package/dist/types/components/MenuItem/appearance/menuItemSurface.d.ts +5 -0
  146. package/dist/types/components/Segmented/Segmented.interface.d.ts +5 -2
  147. package/dist/types/components/Segmented/appearance/segmentedDefault.d.ts +8 -11
  148. package/dist/types/components/Segmented/appearance/segmentedDisabled.d.ts +9 -11
  149. package/dist/types/components/Segmented/appearance/segmentedError.d.ts +9 -2
  150. package/dist/types/components/Segmented/appearance/segmentedSize.d.ts +5 -0
  151. package/dist/types/components/Segmented/appearance/segmentedStyle.d.ts +5 -3
  152. package/dist/types/components/Segmented/appearance/segmentedSuccess.d.ts +8 -0
  153. package/dist/types/components/Segmented/appearance/segmentedWarning.d.ts +9 -1
  154. package/dist/types/components/Segmented/stories/__mock__/index.d.ts +30 -8
  155. package/dist/types/components/Textarea/appearance/textareaDefault.d.ts +1 -0
  156. package/dist/types/components/Textarea/appearance/textareaStyle.d.ts +4 -4
  157. package/dist/types/context/UIContext.d.ts +3 -5
  158. package/package.json +3 -2
  159. package/dist/ChipsGroup_cjs_DdWjvr_S.js +0 -168
  160. package/dist/ChipsGroup_es_CXS0aeon.js +0 -163
@@ -1,8 +1,9 @@
1
1
  import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
2
2
  import { jsx } from 'react/jsx-runtime';
3
- import { useRef } from 'react';
3
+ import React from 'react';
4
4
  import clsx from 'clsx';
5
- import ScrollContainer from 'react-indiana-drag-scroll';
5
+ import ScrollContainer, { useScrollContainer } from 'react-indiana-drag-scroll';
6
+ import SimpleBar from 'simplebar-react';
6
7
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
7
8
  import { useStyles } from '../hooks/useStyles/useStyles.js';
8
9
  import 'lodash/camelCase';
@@ -19,13 +20,14 @@ import 'lodash/maxBy';
19
20
  import '../hooks/useStyles/styleAttributes.js';
20
21
 
21
22
  function ScrollOnDrag(props) {
22
- var className = props.className, scrollContainerProps = props.scrollContainerProps, children = props.children;
23
- var ref = useRef(null);
23
+ var className = props.className, scrollContainerProps = props.scrollContainerProps, children = props.children, isScrollbar = props.isScrollbar;
24
24
  var propsGenerator = useDevicePropsGenerator(props);
25
+ var ref = useScrollContainer().ref;
25
26
  var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, elevationClass = propsGenerator.elevationClass, heightClass = propsGenerator.heightClass, _a = propsGenerator.widthClass, widthClass = _a === void 0 ? 'fill' : _a;
26
27
  // @ts-expect-error
27
28
  var _b = useStyles(props), scrollContainerStyles = _b.scrollContainer, styles = _b.styles;
28
- return (jsx("div", { className: clsx('scroll-on-drag', className, borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), borderWidthClass && "border-width_".concat(borderWidthClass), elevationClass && "elevation_".concat(elevationClass), fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), heightClass && "height_".concat(heightClass), widthClass && "width_".concat(widthClass)), ref: ref, style: styles, children: jsx(ScrollContainer, __assign({ className: "scroll-on-drag__wrapper" }, scrollContainerProps, { style: scrollContainerStyles, children: children })) }));
29
+ var ScrollOnDragWrapper = isScrollbar ? SimpleBar : React.Fragment;
30
+ return (jsx(ScrollOnDragWrapper, { scrollableNodeProps: { ref: ref }, children: jsx("div", { className: clsx('scroll-on-drag', className, borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), borderWidthClass && "border-width_".concat(borderWidthClass), elevationClass && "elevation_".concat(elevationClass), fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), heightClass && "height_".concat(heightClass), widthClass && "width_".concat(widthClass)), style: styles, children: jsx(ScrollContainer, __assign({ className: clsx(!isScrollbar && 'scroll-on-drag__wrapper'), ref: ref }, scrollContainerProps, { style: scrollContainerStyles, children: children })) }) }));
29
31
  }
30
32
 
31
33
  export { ScrollOnDrag };
@@ -5,7 +5,7 @@ import React, { useCallback } from 'react';
5
5
  import clsx from 'clsx';
6
6
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
7
7
  import { useStyles } from '../hooks/useStyles/useStyles.js';
8
- import { I as Icon } from '../Tooltip_es_B0nm9irO.js';
8
+ import { I as Icon } from '../Tooltip_es_LV5ZNg3B.js';
9
9
  import { T as Text } from '../Text_es_BfLRfj-5.js';
10
10
  import { S as Scrollbar } from '../Scrollbar_es_CThJeCLF.js';
11
11
  import 'lodash/camelCase';
@@ -1,4 +1,5 @@
1
- import { icons24 } from '@itcase/icons/default';
1
+ import { _ as __assign } from '../../../tslib.es6_es_Bwu1Cn-t.js';
2
+ import { icons24, icons20, icons16, icons14 } from '@itcase/icons/default';
2
3
 
3
4
  var segmentedArgsMock = {
4
5
  activeSegment: {
@@ -7,30 +8,41 @@ var segmentedArgsMock = {
7
8
  segments: [
8
9
  {
9
10
  label: 'Label 1',
10
- iconAfter: icons24.Placeholder,
11
- iconBefore: icons24.Placeholder,
11
+ iconAfter: icons24.Placeholder.Default,
12
+ iconBefore: icons24.Placeholder.Default,
12
13
  value: 1,
13
14
  },
14
15
  {
15
16
  label: 'Label 2',
16
- iconAfter: icons24.Placeholder,
17
- iconBefore: icons24.Placeholder,
17
+ iconAfter: icons24.Placeholder.Default,
18
+ iconBefore: icons24.Placeholder.Default,
18
19
  value: 2,
19
20
  },
20
21
  {
21
22
  label: 'Label 3',
22
- iconAfter: icons24.Placeholder,
23
- iconBefore: icons24.Placeholder,
23
+ iconAfter: icons24.Placeholder.Default,
24
+ iconBefore: icons24.Placeholder.Default,
24
25
  value: 3,
25
26
  },
26
27
  {
27
28
  label: 'Label 4',
28
- iconAfter: icons24.Placeholder,
29
- iconBefore: icons24.Placeholder,
29
+ iconAfter: icons24.Placeholder.Default,
30
+ iconBefore: icons24.Placeholder.Default,
30
31
  value: 4,
31
32
  },
32
33
  ],
33
- shape: 'rounded',
34
+ };
35
+ var segmentedArgsLabelMock = segmentedArgsMock === null || segmentedArgsMock === void 0 ? void 0 : segmentedArgsMock.segments.map(function (segment) { return ({
36
+ label: segment.label,
37
+ value: segment.value,
38
+ }); });
39
+ var segmentedArgsIconMock = segmentedArgsMock === null || segmentedArgsMock === void 0 ? void 0 : segmentedArgsMock.segments.map(function (segment) { return ({
40
+ iconBefore: segment.iconBefore,
41
+ }); }).slice(3);
42
+ var segmentedArgsMockSize = {
43
+ 14: segmentedArgsMock.segments.map(function (segment) { return (__assign(__assign({}, segment), { iconAfter: icons14.Placeholder.Default, iconBefore: icons14.Placeholder.Default })); }),
44
+ 16: segmentedArgsMock.segments.map(function (segment) { return (__assign(__assign({}, segment), { iconAfter: icons16.Placeholder.Default, iconBefore: icons16.Placeholder.Default })); }),
45
+ 20: segmentedArgsMock.segments.map(function (segment) { return (__assign(__assign({}, segment), { iconAfter: icons20.Placeholder.Default, iconBefore: icons20.Placeholder.Default })); }),
34
46
  };
35
47
 
36
- export { segmentedArgsMock };
48
+ export { segmentedArgsIconMock, segmentedArgsLabelMock, segmentedArgsMock, segmentedArgsMockSize };
@@ -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_LV5ZNg3B.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,128 @@ var segmentedAppearanceDefault = {
28
28
  fillActiveHover: 'accentPrimary',
29
29
  fillHover: 'surfaceSecondary',
30
30
  labelTextActiveColor: 'accentTextPrimary',
31
+ labelTextActiveHoverColor: 'accentTextPrimary',
31
32
  labelTextColor: 'surfaceTextPrimary',
33
+ iconAfterFill: 'surfaceItemQuaternary',
34
+ iconAfterFillActive: 'surfaceItemSecondary',
35
+ iconBeforeFill: 'surfaceItemQuaternary',
36
+ iconBeforeFillActive: 'surfaceItemSecondary',
37
+ iconFill: 'surfaceItemQuaternary',
38
+ iconFillActive: 'surfaceItemSecondary',
32
39
  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',
40
+ inputBorderColor: 'surfaceBorderQuaternary',
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: 'surfaceItemPrimary',
48
+ fillHover: 'surfaceItemHover',
49
+ labelTextColor: 'surfaceTextQuaternary',
50
+ iconAfterFill: 'surfaceItemPrimary',
51
+ iconAfterFillActive: 'surfaceItemDisabled',
52
+ iconBeforeFill: 'surfaceItemPrimary',
53
+ iconBeforeFillActive: 'surfaceItemDisabled',
54
+ iconFill: 'surfaceItemPrimary',
55
+ iconFillActive: 'surfaceItemDisabled',
56
+ inputBorderColor: 'surfaceBorderPrimary',
62
57
  },
63
58
  };
64
59
 
65
60
  var segmentedAppearanceError = {
66
- error: {
67
- fill: 'errorPrimary',
68
- fillHover: 'errorPrimaryHover',
61
+ errorPrimary: {
62
+ fill: 'errorTertiary',
63
+ fillActive: 'errorPrimary',
64
+ fillHover: 'errorItemHover',
69
65
  labelTextColor: 'errorTextPrimary',
70
- labelTextColorHover: 'errorTextPrimary',
66
+ iconAfterFill: 'errorItemSecondary',
67
+ iconAfterFillActive: 'errorItemTertiary',
68
+ iconBeforeFill: 'errorItemSecondary',
69
+ iconBeforeFillActive: 'errorItemTertiary',
70
+ iconFill: 'errorItemSecondary',
71
+ iconFillActive: 'errorItemTertiary',
72
+ inputBorderColor: 'errorBorderQuaternary',
71
73
  },
72
74
  };
73
75
 
74
76
  var segmentedAppearanceSize = {
75
77
  sizeL: {
76
78
  size: 'l',
77
- labelTextSize: 'l',
79
+ labelTextSize: 'm',
80
+ iconSize: '24',
78
81
  },
79
82
  sizeM: {
80
83
  size: 'm',
81
84
  labelTextSize: 'm',
85
+ iconSize: '24',
82
86
  },
83
87
  sizeS: {
84
88
  size: 's',
85
89
  labelTextSize: 's',
90
+ iconSize: '20',
86
91
  },
87
92
  sizeXS: {
88
93
  size: 'xs',
89
94
  labelTextSize: 'xs',
95
+ iconSize: '16',
90
96
  },
91
97
  sizeXSS: {
92
98
  size: 'xxs',
93
99
  labelTextSize: 'xxs',
100
+ iconSize: '14',
94
101
  },
95
102
  };
96
103
 
97
104
  var segmentedAppearanceStyle = {
98
105
  solid: {
99
- borderColor: '0',
106
+ inputBorderColor: '0',
100
107
  },
101
108
  outlined: {
102
109
  fill: 'none',
110
+ fillActive: 'none',
103
111
  },
104
112
  full: {
105
- borderColor: '0',
113
+ inputBorderColor: '0',
106
114
  },
107
115
  ghost: {
108
116
  fill: 'none',
109
- borderColor: '0',
117
+ fillActive: 'none',
118
+ inputBorderColor: '0',
110
119
  },
111
120
  };
112
121
 
113
122
  var segmentedAppearanceSuccess = {
114
123
  successPrimary: {
115
- fill: 'successPrimary',
116
- fillHover: 'successPrimaryHover',
117
- labelTextColor: 'successTextSecondary',
124
+ fill: 'successTertiary',
125
+ fillActive: 'successItemSecondary',
126
+ fillHover: 'accentItemHover',
127
+ labelTextColor: 'surfaceTextPrimary',
118
128
  labelTextColorHover: 'successTextSecondary',
129
+ iconAfterFill: 'successItemSecondary',
130
+ iconAfterFillActive: 'successTertiary',
131
+ iconBeforeFill: 'successItemSecondary',
132
+ iconBeforeFillActive: 'successTertiary',
133
+ iconFill: 'successItemSecondary',
134
+ iconFillActive: 'successTertiary',
135
+ inputBorderColor: 'successBorderSecondary',
119
136
  },
120
137
  };
121
138
 
122
139
  var segmentedAppearanceWarning = {
123
- warning: {
124
- fill: 'warningPrimary',
125
- fillHover: 'warningPrimaryHover',
126
- labelTextColor: 'warningTextSecondary',
140
+ warningPrimary: {
141
+ fill: 'warningTertiary',
142
+ fillActive: 'warningItemSecondary',
143
+ fillHover: 'warningItemHover',
144
+ labelTextColor: 'surfaceTextPrimary',
127
145
  labelTextColorHover: 'warningTextSecondary',
146
+ iconAfterFill: 'warningItemSecondary',
147
+ iconAfterFillActive: 'warningTertiary',
148
+ iconBeforeFill: 'warningItemSecondary',
149
+ iconBeforeFillActive: 'warningTertiary',
150
+ iconFill: 'warningItemSecondary',
151
+ iconFillActive: 'warningTertiary',
152
+ inputBorderColor: 'warningBorderSecondary',
128
153
  },
129
154
  };
130
155
 
@@ -164,17 +189,21 @@ var Segmented = React.forwardRef(function (props) {
164
189
  return (__assign(__assign({}, resultConfig), (_a = segmentedConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
165
190
  }, {});
166
191
  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)) })] }) }) }));
192
+ 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, iconFillDisabled = propsGenerator.iconFillDisabled, iconFill = propsGenerator.iconFill, iconFillActive = propsGenerator.iconFillActive, iconSize = propsGenerator.iconSize, indicatorFillClass = propsGenerator.indicatorFillClass, inputBorderColorClass = propsGenerator.inputBorderColorClass, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
193
+ 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) {
194
+ var isActive = String(activeSegment === null || activeSegment === void 0 ? void 0 : activeSegment.value) === String(item.value);
195
+ return (jsx("div", { className: clsx('segmented__item', sizeClass && "segmented__item_size_".concat(sizeClass), isActive && 'segmented__item_active', !isActive && isDisabled && 'segmented__item_state_disabled', isActive &&
196
+ isDisabled &&
197
+ 'segmented__item_active_state_disabled', fillHoverClass && "fill_hover_".concat(fillHoverClass), isActive &&
198
+ fillActiveClass &&
199
+ "fill_active_".concat(fillActiveClass), isActive &&
200
+ fillActiveHoverClass &&
201
+ "fill_active_hover_".concat(fillActiveHoverClass)), 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
202
+ ? item.iconBeforeActive || item.iconBefore
203
+ : 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
204
+ ? item.iconAfterActive || item.iconAfter
205
+ : item.iconAfter, isActive: isActive })) : null] }) }, "".concat(name, "-").concat(item.value)));
206
+ }), jsx("div", { className: clsx('segmented__indicator', indicatorFillClass && "fill_".concat(indicatorFillClass)) })] }) }) }));
178
207
  });
179
208
 
180
209
  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_LV5ZNg3B.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_LV5ZNg3B.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_LV5ZNg3B.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_LV5ZNg3B.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_LV5ZNg3B.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_LV5ZNg3B.js';
2
2
  import '../tslib.es6_es_Bwu1Cn-t.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
@@ -8,15 +8,24 @@
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
  }
14
15
  :root {
15
- --breadcrumbs-item-xxl-gap: 12px;
16
+ --breadcrumbs-item-xxl-gap: 8px;
16
17
  --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;
18
+ --breadcrumbs-item-l-gap: 4px;
19
+ --breadcrumbs-item-m-gap: 4px;
20
+ --breadcrumbs-item-s-gap: 4px;
21
+ --breadcrumbs-item-xs-gap: 4px;
22
+ --breadcrumbs-item-xxs-gap: 4px;
23
+
24
+ --breadcrumbs-item-xxl-padding: 12px;
25
+ --breadcrumbs-item-xl-padding: 12px;
26
+ --breadcrumbs-item-l-padding: 10px;
27
+ --breadcrumbs-item-m-padding: 6px;
28
+ --breadcrumbs-item-s-padding: 6px;
29
+ --breadcrumbs-item-xs-padding: 4px;
30
+ --breadcrumbs-item-xxs-padding: 2px;
22
31
  }
@@ -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;
@@ -1,5 +1,6 @@
1
1
  .dropdown {
2
2
  position: relative;
3
+ overflow: hidden;
3
4
  display: flex;
4
5
  &__wrapper {
5
6
  width: 100%;
@@ -33,17 +34,6 @@
33
34
  }
34
35
  }
35
36
  }
36
- .dropdown {
37
- &_shape {
38
- &_rounded {
39
- border-radius: var(--dropdown-shape-rounded);
40
- ^^&__wrapper {
41
- border-radius: var(--dropdown-shape-rounded);
42
- overflow: hidden;
43
- }
44
- }
45
- }
46
- }
47
37
  .dropdown {
48
38
  &_state_close {
49
39
  /* visibility: hidden; */
@@ -64,6 +54,7 @@
64
54
  flex-direction: column;
65
55
  justify-content: center;
66
56
  align-items: center;
57
+ transition: var(--dropdown-item-transition);
67
58
  &-link {
68
59
  display: flex;
69
60
  justify-content: space-between;
@@ -119,15 +110,17 @@
119
110
  }
120
111
  }
121
112
  :root {
122
- /* Sizes L */
113
+ --dropdown-item-transition: all 0.2s ease 0s;
114
+
115
+ /* Size L */
123
116
  --dropdown-item-size-l-padding: 8px 12px;
124
117
  --dropdown-item-size-l-gap: 12px;
125
118
 
126
- /* Sizes M */
119
+ /* Size M */
127
120
  --dropdown-item-size-s-padding: 6px 8px;
128
121
  --dropdown-item-size-s-gap: 0px;
129
122
 
130
- /* Sizes XS */
123
+ /* Size XS */
131
124
  --dropdown-item-size-xs-padding: 4px 8px;
132
125
  --dropdown-item-size-xs-gap: 8px;
133
126
  }
@@ -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;