@itcase/ui 1.8.36 → 1.8.38

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 (142) hide show
  1. package/dist/{Avatar_cjs_DBoMi2WA.js → Avatar_cjs_nMPCDjk8.js} +1 -1
  2. package/dist/{Avatar_es_DHREqfOD.js → Avatar_es_B73a6TzA.js} +1 -1
  3. package/dist/{Button_cjs_djJUZATX.js → Button_cjs_plv5-qcj.js} +10 -1
  4. package/dist/{Button_es_X1DzVhok.js → Button_es_BigB2Wz6.js} +10 -1
  5. package/dist/{ChipsGroup_cjs_5xsEchPo.js → ChipsGroup_cjs_DrOhD-Fc.js} +2 -4
  6. package/dist/{ChipsGroup_es_4TOkv-fm.js → ChipsGroup_es_B9m4l0wN.js} +2 -4
  7. package/dist/{DatePicker_cjs_DffhgUnQ.js → DatePicker_cjs_DKoF73mp.js} +17 -17
  8. package/dist/{DatePicker_es_GmkagjKf.js → DatePicker_es_CdEYxtwj.js} +17 -17
  9. package/dist/{DropdownItem_cjs_DxBpJAi9.js → DropdownItem_cjs_DQvByLbN.js} +1 -1
  10. package/dist/{DropdownItem_es_Loneq6M7.js → DropdownItem_es_KppIfto7.js} +1 -1
  11. package/dist/{Label_cjs_C88e2CIP.js → Label_cjs_BGJfyrOL.js} +50 -48
  12. package/dist/{Label_es_Bn2aRjLl.js → Label_es_C4Px7b-N.js} +50 -48
  13. package/dist/{Tooltip_cjs_oS1iOamX.js → Tooltip_cjs_DHduWa-v.js} +72 -68
  14. package/dist/{Tooltip_es_LV5ZNg3B.js → Tooltip_es_ltCY-w4M.js} +72 -68
  15. package/dist/cjs/components/Accordion.js +1 -1
  16. package/dist/cjs/components/Avatar.js +2 -2
  17. package/dist/cjs/components/AvatarStack.js +2 -2
  18. package/dist/cjs/components/Badge.js +1 -1
  19. package/dist/cjs/components/Breadcrumbs/stories/__mock__.js +32 -48
  20. package/dist/cjs/components/Breadcrumbs.js +38 -120
  21. package/dist/cjs/components/Button.js +2 -2
  22. package/dist/cjs/components/Cell.js +2 -2
  23. package/dist/cjs/components/Chips/stories/__mock__.js +2 -2
  24. package/dist/cjs/components/Chips.js +2 -2
  25. package/dist/cjs/components/Choice.js +16 -14
  26. package/dist/cjs/components/CookiesWarning.js +2 -2
  27. package/dist/cjs/components/DatePeriod.js +25 -21
  28. package/dist/cjs/components/DatePicker.js +4 -4
  29. package/dist/cjs/components/Drawer.js +1 -1
  30. package/dist/cjs/components/Dropdown/stories/__mock__.js +103 -33
  31. package/dist/cjs/components/Dropdown.js +2 -2
  32. package/dist/cjs/components/HeroTitle.js +1 -1
  33. package/dist/cjs/components/Icon.js +1 -1
  34. package/dist/cjs/components/InputPassword.js +1 -1
  35. package/dist/cjs/components/Label.js +2 -2
  36. package/dist/cjs/components/MenuItem.js +7 -9
  37. package/dist/cjs/components/Modal.js +1 -1
  38. package/dist/cjs/components/Notification.js +3 -9
  39. package/dist/cjs/components/Pagination.js +2 -2
  40. package/dist/cjs/components/Response.js +2 -2
  41. package/dist/cjs/components/Search.js +1 -1
  42. package/dist/cjs/components/Segmented/stories/__mock__.js +11 -11
  43. package/dist/cjs/components/Segmented.js +28 -25
  44. package/dist/cjs/components/Select.js +1 -1
  45. package/dist/cjs/components/Swiper.js +1 -1
  46. package/dist/cjs/components/Switch.js +0 -1
  47. package/dist/cjs/components/Tab.js +1 -1
  48. package/dist/cjs/components/Tile.js +1 -1
  49. package/dist/cjs/components/Title.js +1 -1
  50. package/dist/cjs/components/Tooltip.js +1 -1
  51. package/dist/components/Accordion.js +1 -1
  52. package/dist/components/Avatar.js +2 -2
  53. package/dist/components/AvatarStack.js +2 -2
  54. package/dist/components/Badge.js +1 -1
  55. package/dist/components/Breadcrumbs/stories/__mock__.js +33 -48
  56. package/dist/components/Breadcrumbs.js +38 -120
  57. package/dist/components/Button.js +2 -2
  58. package/dist/components/Cell.js +2 -2
  59. package/dist/components/Chips/stories/__mock__.js +2 -2
  60. package/dist/components/Chips.js +2 -2
  61. package/dist/components/Choice.js +16 -14
  62. package/dist/components/CookiesWarning.js +2 -2
  63. package/dist/components/DatePeriod.js +25 -21
  64. package/dist/components/DatePicker.js +4 -4
  65. package/dist/components/Drawer.js +1 -1
  66. package/dist/components/Dropdown/stories/__mock__.js +101 -34
  67. package/dist/components/Dropdown.js +2 -2
  68. package/dist/components/HeroTitle.js +1 -1
  69. package/dist/components/Icon.js +1 -1
  70. package/dist/components/InputPassword.js +1 -1
  71. package/dist/components/Label.js +2 -2
  72. package/dist/components/MenuItem.js +7 -9
  73. package/dist/components/Modal.js +1 -1
  74. package/dist/components/Notification.js +3 -9
  75. package/dist/components/Pagination.js +2 -2
  76. package/dist/components/Response.js +2 -2
  77. package/dist/components/Search.js +1 -1
  78. package/dist/components/Segmented/stories/__mock__.js +8 -8
  79. package/dist/components/Segmented.js +28 -25
  80. package/dist/components/Select.js +1 -1
  81. package/dist/components/Swiper.js +1 -1
  82. package/dist/components/Switch.js +0 -1
  83. package/dist/components/Tab.js +1 -1
  84. package/dist/components/Tile.js +1 -1
  85. package/dist/components/Title.js +1 -1
  86. package/dist/components/Tooltip.js +1 -1
  87. package/dist/css/components/Breadcrumbs/Breadcrumbs.css +24 -0
  88. package/dist/css/components/Icon/Icon.css +24 -0
  89. package/dist/css/components/MenuItem/MenuItem.css +31 -0
  90. package/dist/css/components/Notification/Notification.css +0 -48
  91. package/dist/css/components/Segmented/Segmented.css +16 -7
  92. package/dist/css/components/Segmented/css/__item/segmaented__item.css +2 -5
  93. package/dist/stories/BreadcrumbsPlsyground.mdx +1 -1
  94. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsAccent.d.ts +2 -12
  95. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSize.d.ts +7 -14
  96. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsStyle.d.ts +1 -3
  97. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSurface.d.ts +11 -8
  98. package/dist/types/components/Breadcrumbs/stories/__mock__/index.d.ts +6 -32
  99. package/dist/types/components/Button/appearance/buttonSurface.d.ts +9 -0
  100. package/dist/types/components/Chips/appearance/chipsStyle.d.ts +1 -3
  101. package/dist/types/components/Choice/appearance/choiceDefault.d.ts +1 -0
  102. package/dist/types/components/Choice/appearance/choiceDisabled.d.ts +1 -1
  103. package/dist/types/components/Choice/appearance/choiceError.d.ts +1 -0
  104. package/dist/types/components/Choice/appearance/choiceRequire.d.ts +1 -0
  105. package/dist/types/components/Choice/appearance/choiceStyle.d.ts +1 -3
  106. package/dist/types/components/Choice/appearance/choiceSuccess.d.ts +1 -0
  107. package/dist/types/components/Dropdown/stories/__mock__/index.d.ts +87 -44
  108. package/dist/types/components/Icon/appearance/iconAccent.d.ts +2 -4
  109. package/dist/types/components/Icon/appearance/iconDanger.d.ts +2 -4
  110. package/dist/types/components/Icon/appearance/iconDisabled.d.ts +12 -0
  111. package/dist/types/components/Icon/appearance/iconError.d.ts +4 -4
  112. package/dist/types/components/Icon/appearance/iconInfo.d.ts +7 -4
  113. package/dist/types/components/Icon/appearance/iconPrimary.d.ts +4 -2
  114. package/dist/types/components/Icon/appearance/iconSecondary.d.ts +2 -2
  115. package/dist/types/components/Icon/appearance/iconStyle.d.ts +4 -6
  116. package/dist/types/components/Icon/appearance/iconSuccess.d.ts +0 -2
  117. package/dist/types/components/Icon/appearance/iconSurface.d.ts +0 -5
  118. package/dist/types/components/Icon/appearance/iconWarning.d.ts +4 -4
  119. package/dist/types/components/Label/appearance/labelPrimary.d.ts +1 -0
  120. package/dist/types/components/Label/appearance/labelSurface.d.ts +1 -0
  121. package/dist/types/components/MenuItem/appearance/menuItemStyle.d.ts +4 -6
  122. package/dist/types/components/Notification/appearance/notificationDefault.d.ts +0 -1
  123. package/dist/types/components/Notification/appearance/notificationError.d.ts +0 -1
  124. package/dist/types/components/Notification/appearance/notificationInfo.d.ts +0 -1
  125. package/dist/types/components/Notification/appearance/notificationSuccess.d.ts +0 -1
  126. package/dist/types/components/Notification/appearance/notificationWarning.d.ts +0 -1
  127. package/dist/types/components/Segmented/appearance/segmentedDefault.d.ts +1 -1
  128. package/dist/types/components/Segmented/appearance/segmentedDisabled.d.ts +2 -2
  129. package/dist/types/components/Segmented/appearance/segmentedError.d.ts +3 -1
  130. package/dist/types/components/Segmented/appearance/segmentedStyle.d.ts +3 -5
  131. package/dist/types/components/Segmented/appearance/segmentedSuccess.d.ts +3 -2
  132. package/dist/types/components/Segmented/appearance/segmentedWarning.d.ts +2 -1
  133. package/dist/types/components/Segmented/stories/__mock__/index.d.ts +5 -5
  134. package/package.json +7 -7
  135. package/dist/css/components/Notification/css/__item/notification__item_status.css +0 -48
  136. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsDanger.d.ts +0 -7
  137. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsError.d.ts +0 -9
  138. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsInfo.d.ts +0 -17
  139. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsPrimary.d.ts +0 -8
  140. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSecondary.d.ts +0 -8
  141. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsSuccess.d.ts +0 -9
  142. package/dist/types/components/Breadcrumbs/appearance/breadcrumbsWarning.d.ts +0 -9
@@ -2,11 +2,10 @@ import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
2
2
  import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import { useCallback } from 'react';
4
4
  import clsx from 'clsx';
5
- import { DateTime } from 'luxon';
6
5
  import { DATE_PERIOD_INTERVALS } from '@itcase/common';
7
- import { D as DatePickerInput } from '../DatePicker_es_GmkagjKf.js';
6
+ import { D as DatePickerInput } from '../DatePicker_es_CdEYxtwj.js';
8
7
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
9
- import { b as ChipsGroup, C as Chips } from '../ChipsGroup_es_4TOkv-fm.js';
8
+ import { b as ChipsGroup, C as Chips } from '../ChipsGroup_es_B9m4l0wN.js';
10
9
  import 'date-fns/locale';
11
10
  import 'react-datepicker';
12
11
  import '../hooks/useStyles/useStyles.js';
@@ -20,14 +19,14 @@ import '../hooks/useMediaQueries/useMediaQueries.js';
20
19
  import 'react-responsive';
21
20
  import '../utils/setViewportProperty.js';
22
21
  import '../hooks/useStyles/styleAttributes.js';
23
- import '../Button_es_X1DzVhok.js';
24
- import '../Tooltip_es_LV5ZNg3B.js';
22
+ import '../Button_es_BigB2Wz6.js';
23
+ import '../Tooltip_es_ltCY-w4M.js';
25
24
  import '../Text_es_BfLRfj-5.js';
26
25
  import 'react-inlinesvg';
27
26
  import '../Link_es_DxtZLeKY.js';
28
27
  import '../Loader_es_GYOr0UTX.js';
29
28
  import '../Input_es_D9Y1Rj5Y.js';
30
- import '../Label_es_Bn2aRjLl.js';
29
+ import '../Label_es_C4Px7b-N.js';
31
30
  import '@itcase/icons/default';
32
31
  import 'lodash/castArray';
33
32
 
@@ -76,7 +75,7 @@ var datePeriodConfig = {
76
75
  },
77
76
  };
78
77
  function DatePeriod(props) {
79
- var className = props.className, appearance = props.appearance, _a = props.datePeriodIntervalsList, datePeriodIntervalsList = _a === void 0 ? Object.values(DATE_PERIOD_INTERVALS) : _a, datePeriodValueEnd = props.datePeriodValueEnd, datePeriodValueStart = props.datePeriodValueStart, isSkeleton = props.isSkeleton, monthsShown = props.monthsShown, onChangeDatePeriod = props.onChangeDatePeriod, onKeyDown = props.onKeyDown;
78
+ var className = props.className, appearance = props.appearance, _a = props.datePeriodIntervalsList, datePeriodIntervalsList = _a === void 0 ? Object.values(DATE_PERIOD_INTERVALS) : _a, datePeriodValueEnd = props.datePeriodValueEnd, datePeriodValueStart = props.datePeriodValueStart, monthsShown = props.monthsShown, isSkeleton = props.isSkeleton, onChangeDatePeriod = props.onChangeDatePeriod, onKeyDown = props.onKeyDown;
80
79
  var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
81
80
  var _a;
82
81
  return (__assign(__assign({}, resultConfig), (_a = datePeriodConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
@@ -86,18 +85,7 @@ function DatePeriod(props) {
86
85
  var onClickPeriodChips = useCallback(function (selectedPeriodItem) {
87
86
  var dateStartIso = selectedPeriodItem.dateIntervalsList[0];
88
87
  var dateEndIso = selectedPeriodItem.dateIntervalsList[1];
89
- onChangeDatePeriod(dateStartIso, dateEndIso);
90
- }, [onChangeDatePeriod]);
91
- var onChangeDatePicker = useCallback(function (dateStart, dateEnd) {
92
- var dateStartIso = null;
93
- var dateEndIso = null;
94
- if (dateStart) {
95
- dateStartIso = DateTime.fromJSDate(dateStart).toISODate();
96
- }
97
- if (dateEnd) {
98
- dateEndIso = DateTime.fromJSDate(dateEnd).toISODate();
99
- }
100
- onChangeDatePeriod(dateStartIso, dateEndIso);
88
+ onChangeDatePeriod(new Date(dateStartIso), new Date(dateEndIso));
101
89
  }, [onChangeDatePeriod]);
102
90
  var checkIsChipsActive = useCallback(function (targetPeriodItem) {
103
91
  var dateStartIso = targetPeriodItem.dateIntervalsList[0];
@@ -105,14 +93,28 @@ function DatePeriod(props) {
105
93
  return (dateStartIso === datePeriodValueStart &&
106
94
  dateEndIso === datePeriodValueEnd);
107
95
  }, [datePeriodValueEnd, datePeriodValueStart]);
96
+ // const onChangeDatePicker = useCallback(
97
+ // (dateStart: Date | null, dateEnd: Date | null) => {
98
+ // let dateStartIso = null
99
+ // let dateEndIso = null
100
+ // if (dateStart) {
101
+ // dateStartIso = DateTime.fromJSDate(dateStart).toISODate()
102
+ // }
103
+ // if (dateEnd) {
104
+ // dateEndIso = DateTime.fromJSDate(dateEnd).toISODate()
105
+ // }
106
+ // onChangeDatePeriod(dateStartIso, dateEndIso)
107
+ // },
108
+ // [onChangeDatePeriod],
109
+ // )
108
110
  return (jsx("div", { className: clsx(className, 'date-period', shapeClass && "date-period_shape_".concat(shapeClass), sizeClass && "date-period_size_".concat(sizeClass), isSkeleton && "date-period_skeleton", fillClass && "fill_".concat(fillClass), 'cursor_type_pointer'), children: jsxs(ChipsGroup, { direction: "horizontal", children: [datePeriodIntervalsList.map(function (datePeriodItem) { return (jsx(Chips, { appearance: "".concat(chipsAppearance, " ").concat(chipsAppearanceSize), label: datePeriodItem.label, shape: chipsShape, isActive: checkIsChipsActive(datePeriodItem), onClick: function () { return onClickPeriodChips(datePeriodItem); } }, datePeriodItem.value)); }), jsx(DatePickerInput, { datePickerProps: {
109
111
  appearance: "".concat(datePickerAppearance, " ").concat(datePickerAppearanceSize),
110
112
  dateFormat: 'dd/MM/yyyy',
113
+ monthsShown: monthsShown,
111
114
  selectsRange: true,
112
115
  showWeekNumbers: true,
113
116
  isClearable: false,
114
117
  isStartDefaultNull: true,
115
- monthsShown: monthsShown,
116
118
  onKeyDown: onKeyDown,
117
119
  }, endValue: datePeriodValueEnd, inputProps: {
118
120
  className: "date-period__datepicker-input date-period__datepicker-input_size_".concat(datePickerInputSize),
@@ -120,7 +122,9 @@ function DatePeriod(props) {
120
122
  fillHover: datePickerInputFillHover,
121
123
  textSize: datePickerInputTextSize,
122
124
  placeholder: 'Выбрать период',
123
- }, value: datePeriodValueStart, onChange: onChangeDatePicker })] }) }));
125
+ }, value: datePeriodValueStart,
126
+ // onChange={onChangeDatePicker}
127
+ onChange: onChangeDatePeriod })] }) }));
124
128
  }
125
129
 
126
130
  export { DatePeriod, datePeriodAppearance, datePeriodConfig };
@@ -1,4 +1,4 @@
1
- export { D as DatePickerInput, a as datePickerAppearance, d as datePickerConfig } from '../DatePicker_es_GmkagjKf.js';
1
+ export { D as DatePickerInput, a as datePickerAppearance, d as datePickerConfig } from '../DatePicker_es_CdEYxtwj.js';
2
2
  import '../tslib.es6_es_Bwu1Cn-t.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
@@ -19,12 +19,12 @@ import '../utils/setViewportProperty.js';
19
19
  import '../hooks/useStyles/useStyles.js';
20
20
  import 'lodash/maxBy';
21
21
  import '../hooks/useStyles/styleAttributes.js';
22
- import '../Button_es_X1DzVhok.js';
23
- import '../Tooltip_es_LV5ZNg3B.js';
22
+ import '../Button_es_BigB2Wz6.js';
23
+ import '../Tooltip_es_ltCY-w4M.js';
24
24
  import '../Text_es_BfLRfj-5.js';
25
25
  import 'react-inlinesvg';
26
26
  import '../Link_es_DxtZLeKY.js';
27
27
  import '../Loader_es_GYOr0UTX.js';
28
28
  import '../Input_es_D9Y1Rj5Y.js';
29
- import '../Label_es_Bn2aRjLl.js';
29
+ import '../Label_es_C4Px7b-N.js';
30
30
  import '@itcase/icons/default';
@@ -3,7 +3,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
3
3
  import { useRef, useEffect } from 'react';
4
4
  import clsx from 'clsx';
5
5
  import ReactDrawer from 'react-modern-drawer';
6
- import { I as Icon, b as Title } from '../Tooltip_es_LV5ZNg3B.js';
6
+ import { I as Icon, b as Title } from '../Tooltip_es_ltCY-w4M.js';
7
7
  import { T as Text } from '../Text_es_BfLRfj-5.js';
8
8
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
9
9
  import { icons24 } from '@itcase/icons/default';
@@ -1,38 +1,105 @@
1
1
  import { icon24 } from '@itcase/icons/am';
2
2
  import { icons24 } from '@itcase/icons/default';
3
3
 
4
- var dropdownListMock = {
5
- dropdownList: [
6
- { key: 1, label: 'Item 1', isActive: true },
7
- { key: 2, label: 'Item 2', isActive: false },
8
- { key: 3, label: 'Item 3', badgeValue: 3, isActive: false },
9
- {
10
- key: 4,
11
- label: 'Item 4',
12
- iconBefore: icons24.Placeholder.Default,
13
- isActive: false,
14
- },
15
- {
16
- key: 5,
17
- label: 'Item 5',
18
- iconAfter: icons24.Placeholder.Default,
19
- isActive: false,
20
- },
21
- {
22
- key: 6,
23
- label: 'Item 6',
24
- iconBefore: icon24.Check,
25
- isActive: false,
26
- },
27
- {
28
- key: 7,
29
- label: 'Item 7',
30
- iconAfter: icon24.Check,
31
- isActive: false,
32
- },
33
- { key: 8, label: 'Item 8', showDivider: true, isActive: false },
34
- { key: 9, label: 'Item 9', isActive: false },
35
- ],
36
- };
4
+ var dropdownListMock = [
5
+ { key: 1, label: 'Item 1', isActive: true },
6
+ { key: 2, label: 'Item 2', isActive: false },
7
+ { key: 3, label: 'Item 3', badgeValue: 3, isActive: false },
8
+ {
9
+ key: 4,
10
+ label: 'Item 4',
11
+ iconBefore: icons24.Placeholder.Default,
12
+ isActive: false,
13
+ },
14
+ {
15
+ key: 5,
16
+ label: 'Item 5',
17
+ iconAfter: icons24.Placeholder.Default,
18
+ isActive: false,
19
+ },
20
+ {
21
+ key: 6,
22
+ label: 'Item 6',
23
+ iconBefore: icon24.Check,
24
+ isActive: false,
25
+ },
26
+ {
27
+ key: 7,
28
+ label: 'Item 7',
29
+ iconAfter: icon24.Check,
30
+ isActive: false,
31
+ },
32
+ { key: 8, label: 'Item 8', showDivider: true, isActive: false },
33
+ { key: 9, label: 'Item 9', isActive: false },
34
+ ];
35
+ var dropdownListSimpleMock = [
36
+ { key: 1, label: 'Item 1', isActive: true },
37
+ { key: 2, label: 'Item 2', isActive: false },
38
+ { key: 3, label: 'Item 3', badgeValue: 3, isActive: false },
39
+ {
40
+ key: 4,
41
+ label: 'Item 4',
42
+ isActive: false,
43
+ },
44
+ {
45
+ key: 5,
46
+ label: 'Item 5',
47
+ isActive: false,
48
+ },
49
+ {
50
+ key: 6,
51
+ label: 'Item 6',
52
+ isActive: false,
53
+ },
54
+ {
55
+ key: 7,
56
+ label: 'Item 7',
57
+ isActive: false,
58
+ },
59
+ { key: 8, label: 'Item 8', showDivider: true, isActive: false },
60
+ { key: 9, label: 'Item 9', isActive: false },
61
+ ];
62
+ var dropdownListBeforeMock = [
63
+ {
64
+ key: 1,
65
+ label: 'Item 1',
66
+ iconBefore: icons24.Placeholder.Default,
67
+ isActive: true,
68
+ },
69
+ {
70
+ key: 2,
71
+ label: 'Item 2',
72
+ iconBefore: icons24.Placeholder.Default,
73
+ isActive: false,
74
+ },
75
+ {
76
+ key: 3,
77
+ label: 'Item 3',
78
+ badgeValue: 3,
79
+ iconBefore: icons24.Placeholder.Default,
80
+ isActive: false,
81
+ },
82
+ ];
83
+ var dropdownListAfterMock = [
84
+ {
85
+ key: 1,
86
+ label: 'Item 1',
87
+ iconAfter: icons24.Placeholder.Default,
88
+ isActive: true,
89
+ },
90
+ {
91
+ key: 2,
92
+ label: 'Item 2',
93
+ iconAfter: icons24.Placeholder.Default,
94
+ isActive: false,
95
+ },
96
+ {
97
+ key: 3,
98
+ label: 'Item 3',
99
+ badgeValue: 3,
100
+ iconAfter: icons24.Placeholder.Default,
101
+ isActive: false,
102
+ },
103
+ ];
37
104
 
38
- export { dropdownListMock };
105
+ export { dropdownListAfterMock, dropdownListBeforeMock, dropdownListMock, dropdownListSimpleMock };
@@ -1,4 +1,4 @@
1
- export { D as Dropdown, a as DropdownItem, d as dropdownItemAppearance, b as dropdownItemConfig } from '../DropdownItem_es_Loneq6M7.js';
1
+ export { D as Dropdown, a as DropdownItem, d as dropdownItemAppearance, b as dropdownItemConfig } from '../DropdownItem_es_KppIfto7.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import 'clsx';
@@ -18,7 +18,7 @@ import '../hooks/useStyles/useStyles.js';
18
18
  import 'lodash/maxBy';
19
19
  import '../hooks/useStyles/styleAttributes.js';
20
20
  import '../Divider_es_kY-30pft.js';
21
- import '../Tooltip_es_LV5ZNg3B.js';
21
+ import '../Tooltip_es_ltCY-w4M.js';
22
22
  import '../Text_es_BfLRfj-5.js';
23
23
  import 'react-inlinesvg';
24
24
  import '../Link_es_DxtZLeKY.js';
@@ -4,7 +4,7 @@ import { useMemo } 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 { I as Icon } from '../Tooltip_es_LV5ZNg3B.js';
7
+ import { I as Icon } from '../Tooltip_es_ltCY-w4M.js';
8
8
  import 'lodash/camelCase';
9
9
  import 'lodash/castArray';
10
10
  import 'lodash/upperFirst';
@@ -1,4 +1,4 @@
1
- export { I as Icon, e as iconAppearance, i as iconConfig } from '../Tooltip_es_LV5ZNg3B.js';
1
+ export { I as Icon, e as iconAppearance, i as iconConfig } 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';
@@ -3,7 +3,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
3
3
  import { useState, useMemo, useCallback } from 'react';
4
4
  import clsx from 'clsx';
5
5
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
6
- import { I as Icon } from '../Tooltip_es_LV5ZNg3B.js';
6
+ import { I as Icon } from '../Tooltip_es_ltCY-w4M.js';
7
7
  import 'lodash/camelCase';
8
8
  import 'lodash/castArray';
9
9
  import 'lodash/upperFirst';
@@ -1,4 +1,4 @@
1
- export { L as Label, a as labelAppearance, l as labelConfig } from '../Label_es_Bn2aRjLl.js';
1
+ export { L as Label, a as labelAppearance, l as labelConfig } from '../Label_es_C4Px7b-N.js';
2
2
  import '../tslib.es6_es_Bwu1Cn-t.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
@@ -17,7 +17,7 @@ import '../utils/setViewportProperty.js';
17
17
  import '../hooks/useStyles/useStyles.js';
18
18
  import 'lodash/maxBy';
19
19
  import '../hooks/useStyles/styleAttributes.js';
20
- import '../Tooltip_es_LV5ZNg3B.js';
20
+ import '../Tooltip_es_ltCY-w4M.js';
21
21
  import '../Text_es_BfLRfj-5.js';
22
22
  import 'react-inlinesvg';
23
23
  import '../Link_es_DxtZLeKY.js';
@@ -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 { I as Icon } from '../Tooltip_es_LV5ZNg3B.js';
7
+ import { I as Icon, T as Tooltip } from '../Tooltip_es_ltCY-w4M.js';
8
8
  import { L as Link } from '../Link_es_DxtZLeKY.js';
9
9
  import { T as Text } from '../Text_es_BfLRfj-5.js';
10
10
  import 'lodash/camelCase';
@@ -98,17 +98,15 @@ var menuItemAppearanceSize = {
98
98
  };
99
99
 
100
100
  var menuItemAppearanceStyle = {
101
- full: {
102
- borderColor: 'none',
103
- },
104
- ghost: {
105
- fill: 'none',
101
+ solid: {
106
102
  borderColor: 'none',
107
103
  },
108
104
  outlined: {
109
105
  fill: 'none',
110
106
  },
111
- solid: {
107
+ full: {},
108
+ ghost: {
109
+ fill: 'none',
112
110
  borderColor: 'none',
113
111
  },
114
112
  };
@@ -161,7 +159,7 @@ function MenuItem(props) {
161
159
  return (__assign(__assign({}, resultConfig), (_a = menuItemConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
162
160
  }, {});
163
161
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
164
- var directionClass = propsGenerator.directionClass, justifyContentClass = propsGenerator.justifyContentClass, alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelStyle = propsGenerator.labelStyle, labelTextActiveColor = propsGenerator.labelTextActiveColor, labelTextActiveColorDisabled = propsGenerator.labelTextActiveColorDisabled, labelTextActiveHoverColor = propsGenerator.labelTextActiveHoverColor, labelTextActiveHoverColorDisabled = propsGenerator.labelTextActiveHoverColorDisabled, labelTextColor = propsGenerator.labelTextColor, labelTextColorDisabled = propsGenerator.labelTextColorDisabled, labelTextHoverColor = propsGenerator.labelTextHoverColor, labelTextHoverColorDisabled = propsGenerator.labelTextHoverColorDisabled, labelTextSize = propsGenerator.labelTextSize, labelWeight = propsGenerator.labelWeight, labelWrap = propsGenerator.labelWrap, borderColorClass = propsGenerator.borderColorClass, iconAfter = propsGenerator.iconAfter, iconAfterFill = propsGenerator.iconAfterFill, iconAfterFillIcon = propsGenerator.iconAfterFillIcon, iconAfterFillSize = propsGenerator.iconAfterFillSize, iconAfterShape = propsGenerator.iconAfterShape, iconAfterSize = propsGenerator.iconAfterSize, iconAfterSrc = propsGenerator.iconAfterSrc, iconBadgeAppearance = propsGenerator.iconBadgeAppearance, iconBadgeShape = propsGenerator.iconBadgeShape, iconBadgeSize = propsGenerator.iconBadgeSize, iconBadgeTextColor = propsGenerator.iconBadgeTextColor, iconBadgeTextSize = propsGenerator.iconBadgeTextSize, iconBadgeValue = propsGenerator.iconBadgeValue, shapeStrengthClass = propsGenerator.shapeStrengthClass; propsGenerator.centering; var 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, typeClass = propsGenerator.typeClass, widthClass = propsGenerator.widthClass, isSkeleton = propsGenerator.isSkeleton;
162
+ var directionClass = propsGenerator.directionClass, justifyContentClass = propsGenerator.justifyContentClass, alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelStyle = propsGenerator.labelStyle, labelTextActiveColor = propsGenerator.labelTextActiveColor, labelTextActiveColorDisabled = propsGenerator.labelTextActiveColorDisabled, labelTextActiveHoverColor = propsGenerator.labelTextActiveHoverColor, labelTextActiveHoverColorDisabled = propsGenerator.labelTextActiveHoverColorDisabled, labelTextColor = propsGenerator.labelTextColor, labelTextColorDisabled = propsGenerator.labelTextColorDisabled, labelTextHoverColor = propsGenerator.labelTextHoverColor, labelTextHoverColorDisabled = propsGenerator.labelTextHoverColorDisabled, labelTextSize = propsGenerator.labelTextSize, labelWeight = propsGenerator.labelWeight, labelWrap = propsGenerator.labelWrap, borderColorClass = propsGenerator.borderColorClass, iconAfter = propsGenerator.iconAfter, iconAfterFill = propsGenerator.iconAfterFill, iconAfterFillIcon = propsGenerator.iconAfterFillIcon, iconAfterFillSize = propsGenerator.iconAfterFillSize, iconAfterShape = propsGenerator.iconAfterShape, iconAfterSize = propsGenerator.iconAfterSize, iconAfterSrc = propsGenerator.iconAfterSrc, iconBadgeAppearance = propsGenerator.iconBadgeAppearance, iconBadgeShape = propsGenerator.iconBadgeShape, iconBadgeSize = propsGenerator.iconBadgeSize, iconBadgeTextColor = propsGenerator.iconBadgeTextColor, iconBadgeTextSize = propsGenerator.iconBadgeTextSize, iconBadgeValue = propsGenerator.iconBadgeValue, iconBefore = propsGenerator.iconBefore, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeFillIcon = propsGenerator.iconBeforeFillIcon, iconBeforeFillSize = propsGenerator.iconBeforeFillSize, iconBeforeShape = propsGenerator.iconBeforeShape, iconBeforeSize = propsGenerator.iconBeforeSize, iconBeforeSrc = propsGenerator.iconBeforeSrc, shapeClass = propsGenerator.shapeClass, shapeStrengthClass = propsGenerator.shapeStrengthClass, sizeClass = propsGenerator.sizeClass, tooltipAppearance = propsGenerator.tooltipAppearance, tooltipFill = propsGenerator.tooltipFill, tooltipShapeStrength = propsGenerator.tooltipShapeStrength, tooltipText = propsGenerator.tooltipText, tooltipTextColor = propsGenerator.tooltipTextColor, tooltipTitleTextColor = propsGenerator.tooltipTitleTextColor, typeClass = propsGenerator.typeClass, widthClass = propsGenerator.widthClass, isSkeleton = propsGenerator.isSkeleton;
165
163
  // @ts-expect-error
166
164
  var menuItem = useStyles(props).styles;
167
165
  return (jsx("div", { className: clsx('menu-item', isActive && 'menu-item_state_active', isDisabled && "menu-item_state_disabled", directionClass && "menu-item_direction_".concat(directionClass), className, sizeClass && "menu-item_size_".concat(sizeClass), borderColorClass && "border-color_".concat(borderColorClass), !isActive
@@ -183,7 +181,7 @@ function MenuItem(props) {
183
181
  : labelTextActiveHoverColorDisabled
184
182
  : !isDisabled
185
183
  ? labelTextHoverColor
186
- : labelTextHoverColorDisabled, textStyle: labelStyle, textWeight: labelWeight, textWrap: labelWrap, children: label })), (iconAfter || iconAfterSrc) && (jsx(Icon, { className: clsx('menu-item__icon_after', iconBadgeValue && 'menu-item__icon_after-badge'), fill: iconAfterFill, fillSize: iconAfterFillSize, badgeAppearance: iconBadgeAppearance, badgeClass: 'menu-item__icon_after_badge', badgeShape: iconBadgeShape, badgeSize: iconBadgeSize, badgeTextColor: iconBadgeTextColor, badgeTextSize: iconBadgeTextSize, badgeValue: iconBadgeValue, iconFill: iconAfterFillIcon, iconSize: iconAfterSize, imageSrc: iconAfterSrc, shape: iconAfterShape, SvgImage: iconAfter }))] })), after] }) }));
184
+ : labelTextHoverColorDisabled, textStyle: labelStyle, textWeight: labelWeight, textWrap: labelWrap, children: label })), (iconAfter || iconAfterSrc) && (jsx(Icon, { className: clsx('menu-item__icon_after', iconBadgeValue && 'menu-item__icon_after-badge'), fill: iconAfterFill, fillSize: iconAfterFillSize, badgeAppearance: iconBadgeAppearance, badgeClass: 'menu-item__icon_after_badge', badgeShape: iconBadgeShape, badgeSize: iconBadgeSize, badgeTextColor: iconBadgeTextColor, badgeTextSize: iconBadgeTextSize, badgeValue: iconBadgeValue, iconFill: iconAfterFillIcon, iconSize: iconAfterSize, imageSrc: iconAfterSrc, shape: iconAfterShape, SvgImage: iconAfter }))] })), after, jsx(Tooltip, { className: "menu-item__tooltip", appearance: tooltipAppearance, minWidth: "auto", fill: tooltipFill, left: "100%", zIndex: "100", titleTextColor: tooltipTitleTextColor, text: tooltipText, textColor: tooltipTextColor, centering: "vertical", shapeStrength: tooltipShapeStrength })] }) }));
187
185
  }
188
186
 
189
187
  export { MenuItem, menuItemAppearance, menuItemConfig };
@@ -6,7 +6,7 @@ import ReactDOM from 'react-dom';
6
6
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
7
7
  import { useStyles } from '../hooks/useStyles/useStyles.js';
8
8
  import { O as Overlay } from '../Overlay_es_DczPjVL9.js';
9
- import { b as Title } from '../Tooltip_es_LV5ZNg3B.js';
9
+ import { b as Title } from '../Tooltip_es_ltCY-w4M.js';
10
10
  import { L as Loader } from '../Loader_es_GYOr0UTX.js';
11
11
  import 'lodash/camelCase';
12
12
  import 'lodash/castArray';
@@ -3,7 +3,7 @@ import { jsxs, jsx } 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 { I as Icon } from '../Tooltip_es_LV5ZNg3B.js';
6
+ import { I as Icon } from '../Tooltip_es_ltCY-w4M.js';
7
7
  import { T as Text } from '../Text_es_BfLRfj-5.js';
8
8
  import { icons20 } from '@itcase/icons/default';
9
9
  import { useNotifications, useNotificationsAPI } from '../context/Notifications.js';
@@ -31,7 +31,6 @@ var notificationAppearanceDefault = {
31
31
  descTextColor: 'surfaceTextPrimary',
32
32
  descTextSize: 'm',
33
33
  borderColor: 'surfaceBorderPrimary',
34
- elevation: 8,
35
34
  textColor: 'surfaceTextPrimary',
36
35
  iconSize: 20,
37
36
  closeIcon: icons20.Action.Close,
@@ -48,7 +47,6 @@ var notificationAppearanceError = {
48
47
  descTextColor: 'errorTextPrimary',
49
48
  descTextSize: 'm',
50
49
  borderColor: 'errorBorderPrimary',
51
- elevation: 8,
52
50
  textColor: 'errorTextPrimary',
53
51
  iconSize: 20,
54
52
  closeIcon: icons20.Action.Close,
@@ -65,7 +63,6 @@ var notificationAppearanceInfo = {
65
63
  descTextColor: 'infoTextPrimary',
66
64
  descTextSize: 'm',
67
65
  borderColor: 'infoBorderPrimary',
68
- elevation: 8,
69
66
  textColor: 'infoTextPrimary',
70
67
  iconSize: 20,
71
68
  closeIcon: icons20.Action.Close,
@@ -98,7 +95,6 @@ var notificationAppearanceSuccess = {
98
95
  descTextColor: 'successTextPrimary',
99
96
  descTextSize: 'm',
100
97
  borderColor: 'successBorderPrimary',
101
- elevation: 8,
102
98
  textColor: 'successTextPrimary',
103
99
  iconSize: 20,
104
100
  closeIcon: icons20.Action.Close,
@@ -115,7 +111,6 @@ var notificationAppearanceWarning = {
115
111
  descTextColor: 'warningTextPrimary',
116
112
  descTextSize: 'm',
117
113
  borderColor: 'surfaceBorderPrimary',
118
- elevation: 8,
119
114
  textColor: 'warningTextPrimary',
120
115
  iconSize: 20,
121
116
  closeIcon: icons20.Action.Close,
@@ -132,7 +127,7 @@ var notificationConfig = {
132
127
  },
133
128
  };
134
129
  function Notification(props) {
135
- var id = props.id, className = props.className, type = props.type, appearance = props.appearance, title = props.title, desc = props.desc, status = props.status, dataTestId = props.dataTestId, dataTour = props.dataTour, before = props.before, after = props.after, close = props.close, isSkeleton = props.isSkeleton, onClickClose = props.onClickClose;
130
+ var id = props.id, className = props.className, appearance = props.appearance, title = props.title, desc = props.desc, dataTestId = props.dataTestId, dataTour = props.dataTour, before = props.before, after = props.after, close = props.close, isSkeleton = props.isSkeleton, onClickClose = props.onClickClose;
136
131
  var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
137
132
  var _a;
138
133
  return (__assign(__assign({}, resultConfig), (_a = notificationConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
@@ -141,14 +136,13 @@ function Notification(props) {
141
136
  var fillClass = propsGenerator.fillClass, titleTextColor = propsGenerator.titleTextColor, titleTextSize = propsGenerator.titleTextSize, descTextColor = propsGenerator.descTextColor, descTextSize = propsGenerator.descTextSize, elevationClass = propsGenerator.elevationClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass, closeIcon = propsGenerator.closeIcon, closeIconFill = propsGenerator.closeIconFill, closeIconFillIcon = propsGenerator.closeIconFillIcon, closeIconFillSize = propsGenerator.closeIconFillSize, closeIconShape = propsGenerator.closeIconShape, closeIconSize = propsGenerator.closeIconSize, closeIconSrc = propsGenerator.closeIconSrc;
142
137
  // @ts-expect-error
143
138
  var notificationStyles = useStyles(props).styles;
144
- return (jsxs("div", { className: clsx('notification__item', status && "notification__item_status_".concat(status), type && "notification__item_set_".concat(type), elevationClass && "elevation_".concat(elevationClass), sizeClass && "notification__item_set_".concat(sizeClass), widthClass && "width_".concat(widthClass), fillClass && "fill_".concat(fillClass), isSkeleton && "notification__item_skeleton"), "data-testid": dataTestId, "data-tour": dataTour, style: notificationStyles, children: [before, jsxs("div", { className: clsx(className, 'notification__item-wrapper'), children: [title && (jsx(Text, { className: "notification__item-title", size: titleTextSize, textColor: titleTextColor, children: title })), desc && (jsx(Text, { className: "notification__item-text", size: descTextSize, textColor: descTextColor, children: desc })), close && (closeIcon || closeIconSrc) && (jsx(Icon, { className: clsx('notification__item-close', 'cursor_type_pointer'), fill: closeIconFill, fillSize: closeIconFillSize, iconFill: closeIconFillIcon, iconSize: closeIconSize, imageSrc: closeIconSrc, shape: closeIconShape, SvgImage: closeIcon, onClick: function () { return onClickClose && onClickClose(id); } }))] }), after] }));
139
+ return (jsxs("div", { className: clsx('notification__item', elevationClass && "elevation_".concat(elevationClass), sizeClass && "notification__item_set_".concat(sizeClass), widthClass && "width_".concat(widthClass), fillClass && "fill_".concat(fillClass), isSkeleton && "notification__item_skeleton"), "data-testid": dataTestId, "data-tour": dataTour, style: notificationStyles, children: [before, jsxs("div", { className: clsx(className, 'notification__item-wrapper'), children: [title && (jsx(Text, { className: "notification__item-title", size: titleTextSize, textColor: titleTextColor, children: title })), desc && (jsx(Text, { className: "notification__item-text", size: descTextSize, textColor: descTextColor, children: desc })), close && (closeIcon || closeIconSrc) && (jsx(Icon, { className: clsx('notification__item-close', 'cursor_type_pointer'), fill: closeIconFill, fillSize: closeIconFillSize, iconFill: closeIconFillIcon, iconSize: closeIconSize, imageSrc: closeIconSrc, shape: closeIconShape, SvgImage: closeIcon, onClick: function () { return onClickClose && onClickClose(id); } }))] }), after] }));
145
140
  }
146
141
 
147
142
  function NotificationWrapper(props) {
148
143
  var notifications = useNotifications();
149
144
  var hideNotifications = useNotificationsAPI().hideNotifications;
150
145
  var className = props.className, close = props.close;
151
- console.log(notifications);
152
146
  return (jsx("div", { className: clsx('notification', className), children: jsx("div", { className: "notification__wrapper", children: notifications.map(function (notification, i) { return (jsx(Notification, { id: notification.id, appearance: notification.appearance, title: notification.title, status: notification.status, text: notification.text, close: close, onClickClose: hideNotifications }, i)); }) }) }));
153
147
  }
154
148
 
@@ -6,8 +6,8 @@ import ceil from 'lodash/ceil';
6
6
  import ReactPaginate from 'react-paginate';
7
7
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
8
8
  import { useStyles } from '../hooks/useStyles/useStyles.js';
9
- import { D as Dropdown, a as DropdownItem } from '../DropdownItem_es_Loneq6M7.js';
10
- import { I as Icon } from '../Tooltip_es_LV5ZNg3B.js';
9
+ import { D as Dropdown, a as DropdownItem } from '../DropdownItem_es_KppIfto7.js';
10
+ import { I as Icon } from '../Tooltip_es_ltCY-w4M.js';
11
11
  import { T as Text } from '../Text_es_BfLRfj-5.js';
12
12
  import { icons32, icons14 } from '@itcase/icons/default';
13
13
  import 'lodash/camelCase';
@@ -5,7 +5,7 @@ import clsx from 'clsx';
5
5
  import SVG from 'react-inlinesvg';
6
6
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
7
7
  import { useStyles } from '../hooks/useStyles/useStyles.js';
8
- import { B as Button } from '../Button_es_X1DzVhok.js';
8
+ import { B as Button } from '../Button_es_BigB2Wz6.js';
9
9
  import { G as Group } from '../Group_es_CYW2Hquh.js';
10
10
  import { T as Text } from '../Text_es_BfLRfj-5.js';
11
11
  import 'lodash/camelCase';
@@ -20,7 +20,7 @@ import 'react-responsive';
20
20
  import '../utils/setViewportProperty.js';
21
21
  import 'lodash/maxBy';
22
22
  import '../hooks/useStyles/styleAttributes.js';
23
- import '../Tooltip_es_LV5ZNg3B.js';
23
+ import '../Tooltip_es_ltCY-w4M.js';
24
24
  import '../Link_es_DxtZLeKY.js';
25
25
  import '../Loader_es_GYOr0UTX.js';
26
26
 
@@ -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_LV5ZNg3B.js';
8
+ import { I as Icon } from '../Tooltip_es_ltCY-w4M.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,7 +1,7 @@
1
1
  import { _ as __assign } from '../../../tslib.es6_es_Bwu1Cn-t.js';
2
2
  import { icons24, icons20, icons16, icons14 } from '@itcase/icons/default';
3
3
 
4
- var segmentedArgsMock = {
4
+ var segmentedMock = {
5
5
  activeSegment: {
6
6
  value: 1,
7
7
  },
@@ -32,17 +32,17 @@ var segmentedArgsMock = {
32
32
  },
33
33
  ],
34
34
  };
35
- var segmentedArgsLabelMock = segmentedArgsMock === null || segmentedArgsMock === void 0 ? void 0 : segmentedArgsMock.segments.map(function (segment) { return ({
35
+ var segmentedLabelMock = segmentedMock === null || segmentedMock === void 0 ? void 0 : segmentedMock.segments.map(function (segment) { return ({
36
36
  label: segment.label,
37
37
  value: segment.value,
38
38
  }); });
39
- var segmentedArgsIconMock = segmentedArgsMock === null || segmentedArgsMock === void 0 ? void 0 : segmentedArgsMock.segments.map(function (segment) { return ({
39
+ var segmentedIconMock = segmentedMock === null || segmentedMock === void 0 ? void 0 : segmentedMock.segments.map(function (segment) { return ({
40
40
  iconBefore: segment.iconBefore,
41
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 })); }),
42
+ var segmentedMockSize = {
43
+ 14: segmentedMock.segments.map(function (segment) { return (__assign(__assign({}, segment), { iconAfter: icons14.Placeholder.Default, iconBefore: icons14.Placeholder.Default })); }),
44
+ 16: segmentedMock.segments.map(function (segment) { return (__assign(__assign({}, segment), { iconAfter: icons16.Placeholder.Default, iconBefore: icons16.Placeholder.Default })); }),
45
+ 20: segmentedMock.segments.map(function (segment) { return (__assign(__assign({}, segment), { iconAfter: icons20.Placeholder.Default, iconBefore: icons20.Placeholder.Default })); }),
46
46
  };
47
47
 
48
- export { segmentedArgsIconMock, segmentedArgsLabelMock, segmentedArgsMock, segmentedArgsMockSize };
48
+ export { segmentedIconMock, segmentedLabelMock, segmentedMock, segmentedMockSize };