@itcase/ui 1.6.0 → 1.8.0

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 (128) hide show
  1. package/dist/{Badge-ydSHGXSG.js → Badge-BY030Mwm.js} +4 -4
  2. package/dist/{Badge-JXM0G_0I.js → Badge-Df7Zxjnk.js} +4 -4
  3. package/dist/{Button-BmSyIDb_.js → Button-DJxd2_t4.js} +7 -7
  4. package/dist/{Button-DCtRrkgc.js → Button-K5n8BI_w.js} +7 -7
  5. package/dist/{Divider-D8hUUrwe.js → Divider-BQIfjvPR.js} +2 -2
  6. package/dist/{Divider-DhXzYcNF.js → Divider-CUFKsm-9.js} +2 -2
  7. package/dist/{DropdownItem-B2yfeMxS.js → DropdownItem-CdAS1E-G.js} +4 -4
  8. package/dist/{DropdownItem-Cr7XLcHZ.js → DropdownItem-f29l8dds.js} +4 -4
  9. package/dist/{Group-OkygpKiJ.js → Group-C8NUU6k5.js} +4 -4
  10. package/dist/{Group-BVlu5z77.js → Group-utjnjUDZ.js} +4 -4
  11. package/dist/{Icon-BOEOspTF.js → Icon-BF7i3XdQ.js} +2 -2
  12. package/dist/{Icon-DU2T-nfY.js → Icon-D_BDlSSb.js} +2 -2
  13. package/dist/{Input-e0kLrbs6.js → Input-C_HeI9UK.js} +2 -2
  14. package/dist/{Input-ChiH90mV.js → Input-v52BiIsb.js} +2 -2
  15. package/dist/{Label-CP8IAPOM.js → Label-DsNZ-asS.js} +4 -4
  16. package/dist/{Label-CfE08vBy.js → Label-brG78nLi.js} +4 -4
  17. package/dist/{Link-UmzWKcxT.js → Link-CZ8o5lGW.js} +1 -1
  18. package/dist/{Link-aBsZ1d0Q.js → Link-Cn7hiWmM.js} +1 -1
  19. package/dist/{Loader-CRN4MAbm.js → Loader-BnhUh-g6.js} +3 -3
  20. package/dist/{Loader-rzo8nnRI.js → Loader-CZVsMYl6.js} +3 -3
  21. package/dist/{Overlay-CRIofShk.js → Overlay-Be9UCtR9.js} +2 -2
  22. package/dist/{Overlay-CZFSerUl.js → Overlay-BoIJ-g58.js} +2 -2
  23. package/dist/{Text-CEcBg-F5.js → Text-DwIx33-P.js} +2 -2
  24. package/dist/{Text-CI2prtf6.js → Text-aaWArShm.js} +2 -2
  25. package/dist/{Title-CaXw1KBQ.js → Title--_epIXkC.js} +2 -2
  26. package/dist/{Title-C4xUtigh.js → Title-ByfOyy-n.js} +2 -2
  27. package/dist/{Tooltip-EOu0a93a.js → Tooltip-DP32J5V6.js} +4 -4
  28. package/dist/{Tooltip-Lhx-Fefx.js → Tooltip-hznDyLwa.js} +4 -4
  29. package/dist/cjs/components/Accordion.js +10 -10
  30. package/dist/cjs/components/Avatar.js +7 -7
  31. package/dist/cjs/components/Badge.js +6 -6
  32. package/dist/cjs/components/Breadcrumbs.js +5 -5
  33. package/dist/cjs/components/Button.js +7 -7
  34. package/dist/cjs/components/Cell.js +8 -8
  35. package/dist/cjs/components/Checkbox.js +3 -3
  36. package/dist/cjs/components/Checkmark.js +2 -2
  37. package/dist/cjs/components/Chips.js +8 -8
  38. package/dist/cjs/components/Choice.js +9 -9
  39. package/dist/cjs/components/Code.js +2 -2
  40. package/dist/cjs/components/CookiesWarning.js +8 -8
  41. package/dist/cjs/components/DadataHintField.js +1 -1
  42. package/dist/cjs/components/DatePicker.js +11 -11
  43. package/dist/cjs/components/Divider.js +1 -1
  44. package/dist/cjs/components/Drawer.js +3 -1
  45. package/dist/cjs/components/Dropdown.js +3 -3
  46. package/dist/cjs/components/Group.js +1 -1
  47. package/dist/cjs/components/HeroTitle.js +2 -2
  48. package/dist/cjs/components/Icon.js +5 -5
  49. package/dist/cjs/components/Input.js +1 -1
  50. package/dist/cjs/components/InputMask.js +3 -3
  51. package/dist/cjs/components/InputPassword.js +7 -7
  52. package/dist/cjs/components/Label.js +4 -4
  53. package/dist/cjs/components/Link.js +1 -1
  54. package/dist/cjs/components/List.js +1 -1
  55. package/dist/cjs/components/Loader.js +2 -2
  56. package/dist/cjs/components/Logo.js +3 -3
  57. package/dist/cjs/components/MenuItem.js +4 -4
  58. package/dist/cjs/components/Modal.js +6 -6
  59. package/dist/cjs/components/Notification.js +1 -1
  60. package/dist/cjs/components/Overlay.js +1 -1
  61. package/dist/cjs/components/Pagination.js +9 -9
  62. package/dist/cjs/components/Panel.js +4 -4
  63. package/dist/cjs/components/Radio.js +3 -3
  64. package/dist/cjs/components/Response.js +10 -10
  65. package/dist/cjs/components/Search.js +7 -7
  66. package/dist/cjs/components/Segmented.js +3 -3
  67. package/dist/cjs/components/Select.js +18 -13
  68. package/dist/cjs/components/Swiper.js +1 -1
  69. package/dist/cjs/components/Switch.js +3 -3
  70. package/dist/cjs/components/Tab.js +11 -11
  71. package/dist/cjs/components/Text.js +1 -1
  72. package/dist/cjs/components/Textarea.js +2 -2
  73. package/dist/cjs/components/Tile.js +8 -8
  74. package/dist/cjs/components/Title.js +1 -1
  75. package/dist/cjs/components/Tooltip.js +3 -3
  76. package/dist/components/Accordion.js +10 -10
  77. package/dist/components/Avatar.js +7 -7
  78. package/dist/components/Badge.js +6 -6
  79. package/dist/components/Breadcrumbs.js +5 -5
  80. package/dist/components/Button.js +7 -7
  81. package/dist/components/Cell.js +8 -8
  82. package/dist/components/Checkbox.js +3 -3
  83. package/dist/components/Checkmark.js +2 -2
  84. package/dist/components/Chips.js +8 -8
  85. package/dist/components/Choice.js +9 -9
  86. package/dist/components/Code.js +2 -2
  87. package/dist/components/CookiesWarning.js +8 -8
  88. package/dist/components/DadataHintField.js +1 -1
  89. package/dist/components/DatePicker.js +11 -11
  90. package/dist/components/Divider.js +1 -1
  91. package/dist/components/Drawer.js +3 -1
  92. package/dist/components/Dropdown.js +3 -3
  93. package/dist/components/Group.js +1 -1
  94. package/dist/components/HeroTitle.js +2 -2
  95. package/dist/components/Icon.js +5 -5
  96. package/dist/components/Input.js +1 -1
  97. package/dist/components/InputMask.js +3 -3
  98. package/dist/components/InputPassword.js +7 -7
  99. package/dist/components/Label.js +4 -4
  100. package/dist/components/Link.js +1 -1
  101. package/dist/components/List.js +1 -1
  102. package/dist/components/Loader.js +2 -2
  103. package/dist/components/Logo.js +3 -3
  104. package/dist/components/MenuItem.js +4 -4
  105. package/dist/components/Modal.js +6 -6
  106. package/dist/components/Notification.js +1 -1
  107. package/dist/components/Overlay.js +1 -1
  108. package/dist/components/Pagination.js +9 -9
  109. package/dist/components/Panel.js +4 -4
  110. package/dist/components/Radio.js +3 -3
  111. package/dist/components/Response.js +10 -10
  112. package/dist/components/Search.js +7 -7
  113. package/dist/components/Segmented.js +3 -3
  114. package/dist/components/Select.js +18 -13
  115. package/dist/components/Swiper.js +1 -1
  116. package/dist/components/Switch.js +3 -3
  117. package/dist/components/Tab.js +11 -11
  118. package/dist/components/Text.js +1 -1
  119. package/dist/components/Textarea.js +2 -2
  120. package/dist/components/Tile.js +8 -8
  121. package/dist/components/Title.js +1 -1
  122. package/dist/components/Tooltip.js +3 -3
  123. package/dist/css/components/Divider/Divider.css +10 -13
  124. package/dist/css/components/Group/Group.css +13 -4
  125. package/dist/css/components/Link/Link.css +17 -0
  126. package/dist/types/components/Select/index.d.ts +15 -15
  127. package/dist/types/components/Tab/Tab.interface.d.ts +1 -2
  128. package/package.json +1 -1
@@ -5,9 +5,9 @@ var jsxRuntime = require('react/jsx-runtime');
5
5
  var clsx = require('clsx');
6
6
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
7
7
  var useStyles = require('../hooks/useStyles/useStyles.js');
8
- var Badge = require('../../Badge-JXM0G_0I.js');
9
- var Text = require('../../Text-CEcBg-F5.js');
10
- var Title = require('../../Title-C4xUtigh.js');
8
+ var Badge = require('../../Badge-Df7Zxjnk.js');
9
+ var Text = require('../../Text-DwIx33-P.js');
10
+ var Title = require('../../Title-ByfOyy-n.js');
11
11
  require('react');
12
12
  require('lodash/camelCase');
13
13
  require('lodash/castArray');
@@ -21,10 +21,10 @@ require('react-responsive');
21
21
  require('../utils/setViewportProperty.js');
22
22
  require('lodash/maxBy');
23
23
  require('../hooks/useStyles/styleAttributes.js');
24
- require('../../Icon-DU2T-nfY.js');
24
+ require('../../Icon-D_BDlSSb.js');
25
25
  require('react-inlinesvg');
26
- require('../../Link-UmzWKcxT.js');
27
- require('../../Tooltip-Lhx-Fefx.js');
26
+ require('../../Link-CZ8o5lGW.js');
27
+ require('../../Tooltip-hznDyLwa.js');
28
28
 
29
29
  var tileAppearance = {
30
30
  dev: {},
@@ -38,9 +38,9 @@ var tileConfig = {
38
38
  };
39
39
  function Tile(props) {
40
40
  var className = props.className, type = props.type, appearance = props.appearance, direction = props.direction, size = props.size, title = props.title, text = props.text, badge = props.badge, badgeAppearance = props.badgeAppearance, reverse = props.reverse, before = props.before, after = props.after, onClick = props.onClick, children = props.children;
41
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultApperance, appearance) {
41
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
42
42
  var _a;
43
- return (tslib_es6.__assign(tslib_es6.__assign({}, resultApperance), (_a = tileConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
43
+ return (tslib_es6.__assign(tslib_es6.__assign({}, resultConfig), (_a = tileConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
44
44
  }, {});
45
45
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
46
46
  var alignClass = propsGenerator.alignClass, _a = propsGenerator.alignDirectionClass, alignDirectionClass = _a === void 0 ? 'vertical' : _a, fillClass = propsGenerator.fillClass, titleTextAlign = propsGenerator.titleTextAlign, titleTextColor = propsGenerator.titleTextColor, titleTextSize = propsGenerator.titleTextSize, titleTextWeight = propsGenerator.titleTextWeight, titleTextWrap = propsGenerator.titleTextWrap, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, textColor = propsGenerator.textColor, textSize = propsGenerator.textSize, textWrap = propsGenerator.textWrap, badgeSize = propsGenerator.badgeSize, badgeTextColor = propsGenerator.badgeTextColor, badgeTextSize = propsGenerator.badgeTextSize, dataTestId = propsGenerator.dataTestId, dataTour = propsGenerator.dataTour, shapeClass = propsGenerator.shapeClass;
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var Title = require('../../Title-C4xUtigh.js');
3
+ var Title = require('../../Title-ByfOyy-n.js');
4
4
  require('../../tslib.es6-CCZ3TN_7.js');
5
5
  require('react/jsx-runtime');
6
6
  require('react');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var Tooltip = require('../../Tooltip-Lhx-Fefx.js');
3
+ var Tooltip = require('../../Tooltip-hznDyLwa.js');
4
4
  require('../../tslib.es6-CCZ3TN_7.js');
5
5
  require('react/jsx-runtime');
6
6
  require('react');
@@ -19,8 +19,8 @@ require('../utils/setViewportProperty.js');
19
19
  require('../hooks/useStyles/useStyles.js');
20
20
  require('lodash/maxBy');
21
21
  require('../hooks/useStyles/styleAttributes.js');
22
- require('../../Text-CEcBg-F5.js');
23
- require('../../Title-C4xUtigh.js');
22
+ require('../../Text-DwIx33-P.js');
23
+ require('../../Title-ByfOyy-n.js');
24
24
 
25
25
 
26
26
 
@@ -6,9 +6,9 @@ import castArray from 'lodash/castArray';
6
6
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
7
7
  import { useStyles } from '../hooks/useStyles/useStyles.js';
8
8
  import { icon16 } from '@itcase/icons/default';
9
- import { D as Divider } from '../Divider-DhXzYcNF.js';
10
- import { I as Icon } from '../Icon-BOEOspTF.js';
11
- import { T as Text } from '../Text-CI2prtf6.js';
9
+ import { D as Divider } from '../Divider-CUFKsm-9.js';
10
+ import { I as Icon } from '../Icon-BF7i3XdQ.js';
11
+ import { T as Text } from '../Text-aaWArShm.js';
12
12
  import 'lodash/camelCase';
13
13
  import 'lodash/upperFirst';
14
14
  import '../context/Notifications.js';
@@ -21,9 +21,9 @@ import '../utils/setViewportProperty.js';
21
21
  import 'lodash/maxBy';
22
22
  import '../hooks/useStyles/styleAttributes.js';
23
23
  import 'react-inlinesvg';
24
- import '../Link-aBsZ1d0Q.js';
25
- import '../Tooltip-EOu0a93a.js';
26
- import '../Title-CaXw1KBQ.js';
24
+ import '../Link-Cn7hiWmM.js';
25
+ import '../Tooltip-DP32J5V6.js';
26
+ import '../Title--_epIXkC.js';
27
27
 
28
28
  var accordionAppearance = {
29
29
  dev: {},
@@ -50,9 +50,9 @@ function AccordionItem(props) {
50
50
  };
51
51
  onClick && onClick(thisItemData);
52
52
  }, [id, title, content, isExpanded, onClick]);
53
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultApperance, appearance) {
53
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
54
54
  var _a;
55
- return (__assign(__assign({}, resultApperance), (_a = accordionItemConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
55
+ return (__assign(__assign({}, resultConfig), (_a = accordionItemConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
56
56
  }, {});
57
57
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
58
58
  var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, titleBorderColorClass = propsGenerator.titleBorderColorClass, titleFillClass = propsGenerator.titleFillClass, titleFillHoverClass = propsGenerator.titleFillHoverClass, borderColorClass = propsGenerator.borderColorClass, contentBorderColorClass = propsGenerator.contentBorderColorClass, contentFillClass = propsGenerator.contentFillClass, contentFillHoverClass = propsGenerator.contentFillHoverClass, shapeClass = propsGenerator.shapeClass;
@@ -116,9 +116,9 @@ function Accordion(props) {
116
116
  }
117
117
  return [];
118
118
  }, [children, items, expandedItems, onClickAccordionItem]);
119
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
119
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
120
120
  var _a;
121
- return (__assign(__assign({}, resultAppearance), (_a = accordionConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
121
+ return (__assign(__assign({}, resultConfig), (_a = accordionConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
122
122
  }, {});
123
123
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
124
124
  var directionClass = propsGenerator.directionClass, fillClass = propsGenerator.fillClass, borderColorClass = propsGenerator.borderColorClass, shapeClass = propsGenerator.shapeClass, widthClass = propsGenerator.widthClass;
@@ -3,9 +3,9 @@ import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import { useMemo } from 'react';
4
4
  import clsx from 'clsx';
5
5
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
6
- import { I as Icon } from '../Icon-BOEOspTF.js';
6
+ import { I as Icon } from '../Icon-BF7i3XdQ.js';
7
7
  import { I as Image } from '../Image-CSzHhlA1.js';
8
- import { T as Text } from '../Text-CI2prtf6.js';
8
+ import { T as Text } from '../Text-aaWArShm.js';
9
9
  import 'lodash/camelCase';
10
10
  import 'lodash/castArray';
11
11
  import 'lodash/upperFirst';
@@ -20,9 +20,9 @@ import 'react-inlinesvg';
20
20
  import '../hooks/useStyles/useStyles.js';
21
21
  import 'lodash/maxBy';
22
22
  import '../hooks/useStyles/styleAttributes.js';
23
- import '../Link-aBsZ1d0Q.js';
24
- import '../Tooltip-EOu0a93a.js';
25
- import '../Title-CaXw1KBQ.js';
23
+ import '../Link-Cn7hiWmM.js';
24
+ import '../Tooltip-DP32J5V6.js';
25
+ import '../Title--_epIXkC.js';
26
26
 
27
27
  var avatarAppearance = {
28
28
  dev: {},
@@ -41,9 +41,9 @@ function Avatar(props) {
41
41
  var secondChar = ((secondName === null || secondName === void 0 ? void 0 : secondName[0]) || '').toUpperCase();
42
42
  return "".concat(firstChar).concat(secondChar);
43
43
  }, [firstName, secondName]);
44
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultApperance, appearance) {
44
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
45
45
  var _a;
46
- return (__assign(__assign({}, resultApperance), (_a = avatarConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
46
+ return (__assign(__assign({}, resultConfig), (_a = avatarConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
47
47
  }, {});
48
48
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
49
49
  var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, _d = propsGenerator.textColor, textColor = _d === void 0 ? 'surfaceTextTertiary' : _d, _e = propsGenerator.textSize, textSize = _e === void 0 ? 'l' : _e, _f = propsGenerator.textWeight, textWeight = _f === void 0 ? '600' : _f, iconFill = propsGenerator.iconFill, iconFillHover = propsGenerator.iconFillHover, iconFillSize = propsGenerator.iconFillSize, iconItemFill = propsGenerator.iconItemFill, iconShape = propsGenerator.iconShape, iconSize = propsGenerator.iconSize, iconSrc = propsGenerator.iconSrc, shapeClass = propsGenerator.shapeClass;
@@ -1,4 +1,4 @@
1
- export { B as Badge, b as badgeAppearance, a as badgeConfig } from '../Badge-ydSHGXSG.js';
1
+ export { B as Badge, b as badgeAppearance, a as badgeConfig } from '../Badge-BY030Mwm.js';
2
2
  import '../tslib.es6-Bwu1Cn-t.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'clsx';
@@ -17,9 +17,9 @@ 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 '../Icon-BOEOspTF.js';
20
+ import '../Icon-BF7i3XdQ.js';
21
21
  import 'react-inlinesvg';
22
- import '../Link-aBsZ1d0Q.js';
23
- import '../Tooltip-EOu0a93a.js';
24
- import '../Text-CI2prtf6.js';
25
- import '../Title-CaXw1KBQ.js';
22
+ import '../Link-Cn7hiWmM.js';
23
+ import '../Tooltip-DP32J5V6.js';
24
+ import '../Text-aaWArShm.js';
25
+ import '../Title--_epIXkC.js';
@@ -5,9 +5,9 @@ import clsx from 'clsx';
5
5
  import camelCase from 'lodash/camelCase';
6
6
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
7
7
  import { useStyles } from '../hooks/useStyles/useStyles.js';
8
- import { I as Icon } from '../Icon-BOEOspTF.js';
9
- import { a as LinkWrapper } from '../Link-aBsZ1d0Q.js';
10
- import { T as Text } from '../Text-CI2prtf6.js';
8
+ import { I as Icon } from '../Icon-BF7i3XdQ.js';
9
+ import { a as LinkWrapper } from '../Link-Cn7hiWmM.js';
10
+ import { T as Text } from '../Text-aaWArShm.js';
11
11
  import 'lodash/castArray';
12
12
  import 'lodash/upperFirst';
13
13
  import '../context/Notifications.js';
@@ -20,8 +20,8 @@ import '../utils/setViewportProperty.js';
20
20
  import 'lodash/maxBy';
21
21
  import '../hooks/useStyles/styleAttributes.js';
22
22
  import 'react-inlinesvg';
23
- import '../Tooltip-EOu0a93a.js';
24
- import '../Title-CaXw1KBQ.js';
23
+ import '../Tooltip-DP32J5V6.js';
24
+ import '../Title--_epIXkC.js';
25
25
 
26
26
  function BreadcrumbsItem(props) {
27
27
  var className = props.className, text = props.text, textColor = props.textColor, textColorHover = props.textColorHover, textSize = props.textSize, cursor = props.cursor, href = props.href, iconAfter = props.iconAfter, iconAfterBgFill = props.iconAfterBgFill, iconAfterFill = props.iconAfterFill, iconAfterSize = props.iconAfterSize, _a = props.set, set = _a === void 0 ? 'default' : _a, onClick = props.onClick, children = props.children;
@@ -1,9 +1,9 @@
1
- export { B as Button, a as buttonAppearance, b as buttonConfig } from '../Button-DCtRrkgc.js';
1
+ export { B as Button, a as buttonAppearance, b as buttonConfig } from '../Button-K5n8BI_w.js';
2
2
  import '../tslib.es6-Bwu1Cn-t.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
5
5
  import 'clsx';
6
- import '../Icon-BOEOspTF.js';
6
+ import '../Icon-BF7i3XdQ.js';
7
7
  import 'react-inlinesvg';
8
8
  import '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
9
9
  import 'lodash/camelCase';
@@ -19,8 +19,8 @@ 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 '../Link-aBsZ1d0Q.js';
23
- import '../Tooltip-EOu0a93a.js';
24
- import '../Text-CI2prtf6.js';
25
- import '../Title-CaXw1KBQ.js';
26
- import '../Loader-CRN4MAbm.js';
22
+ import '../Link-Cn7hiWmM.js';
23
+ import '../Tooltip-DP32J5V6.js';
24
+ import '../Text-aaWArShm.js';
25
+ import '../Title--_epIXkC.js';
26
+ import '../Loader-BnhUh-g6.js';
@@ -3,9 +3,9 @@ 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 '../Icon-BOEOspTF.js';
7
- import { L as Label } from '../Label-CfE08vBy.js';
8
- import { T as Text } from '../Text-CI2prtf6.js';
6
+ import { I as Icon } from '../Icon-BF7i3XdQ.js';
7
+ import { L as Label } from '../Label-brG78nLi.js';
8
+ import { T as Text } from '../Text-aaWArShm.js';
9
9
  import 'react';
10
10
  import 'lodash/camelCase';
11
11
  import 'lodash/castArray';
@@ -20,9 +20,9 @@ import '../utils/setViewportProperty.js';
20
20
  import 'lodash/maxBy';
21
21
  import '../hooks/useStyles/styleAttributes.js';
22
22
  import 'react-inlinesvg';
23
- import '../Link-aBsZ1d0Q.js';
24
- import '../Tooltip-EOu0a93a.js';
25
- import '../Title-CaXw1KBQ.js';
23
+ import '../Link-Cn7hiWmM.js';
24
+ import '../Tooltip-DP32J5V6.js';
25
+ import '../Title--_epIXkC.js';
26
26
 
27
27
  var cellAppearance = {
28
28
  dev: {},
@@ -44,9 +44,9 @@ function Cell(props) {
44
44
  valueTag = props.valueTag, valueTextAlign = props.valueTextAlign, valueTextColor = props.valueTextColor,
45
45
  // valueTextSize,
46
46
  valueTextTruncate = props.valueTextTruncate, valueTextWeight = props.valueTextWeight, valueTextWrap = props.valueTextWrap, zeroGap = props.zeroGap, zeroPadding = props.zeroPadding, before = props.before, after = props.after, isActive = props.isActive, isEqual = props.isEqual, set = props.set, onClick = props.onClick, onMouseEnter = props.onMouseEnter;
47
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
47
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
48
48
  var _a;
49
- return (__assign(__assign({}, resultAppearance), (_a = cellConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
49
+ return (__assign(__assign({}, resultConfig), (_a = cellConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
50
50
  }, {});
51
51
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
52
52
  /* eslint-disable perfectionist/sort-objects */
@@ -2,7 +2,7 @@ import { _ as __assign } from '../tslib.es6-Bwu1Cn-t.js';
2
2
  import { jsxs, jsx } from 'react/jsx-runtime';
3
3
  import clsx from 'clsx';
4
4
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
5
- import { T as Text } from '../Text-CI2prtf6.js';
5
+ import { T as Text } from '../Text-aaWArShm.js';
6
6
  import 'react';
7
7
  import 'lodash/camelCase';
8
8
  import 'lodash/castArray';
@@ -50,9 +50,9 @@ var checkboxConfig = {
50
50
  };
51
51
  function Checkbox(props) {
52
52
  var id = props.id, className = props.className, appearance = props.appearance, label = props.label, labelTextColor = props.labelTextColor, labelTextSize = props.labelTextSize, labelTextWeight = props.labelTextWeight, desc = props.desc, descTextColor = props.descTextColor, descTextSize = props.descTextSize, descTextWeight = props.descTextWeight, disabled = props.disabled, checked = props.checked, _a = props.Tag, Tag = _a === void 0 ? 'label' : _a, value = props.value, before = props.before, after = props.after, isSkeleton = props.isSkeleton, onBlur = props.onBlur, onChange = props.onChange, onFocus = props.onFocus;
53
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
53
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
54
54
  var _a;
55
- return (__assign(__assign({}, resultAppearance), (_a = checkboxConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
55
+ return (__assign(__assign({}, resultConfig), (_a = checkboxConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
56
56
  }, {});
57
57
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
58
58
  var fillClass = propsGenerator.fillClass, shapeClass = propsGenerator.shapeClass, stateBorderWidthClass = propsGenerator.stateBorderWidthClass, stateShapeClass = propsGenerator.stateShapeClass, widthClass = propsGenerator.widthClass;
@@ -72,9 +72,9 @@ var checkmarkConfig = {
72
72
  };
73
73
  function Checkmark(props) {
74
74
  var className = props.className, appearance = props.appearance, _a = props.isDisabled, isDisabled = _a === void 0 ? false : _a, isChecked = props.isChecked, onClick = props.onClick;
75
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultApperance, appearance) {
75
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
76
76
  var _a;
77
- return (__assign(__assign({}, resultApperance), (_a = checkmarkConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
77
+ return (__assign(__assign({}, resultConfig), (_a = checkmarkConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
78
78
  }, {});
79
79
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
80
80
  var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderWidthClass = propsGenerator.borderWidthClass, checkmarkFillClass = propsGenerator.checkmarkFillClass, sizeClass = propsGenerator.sizeClass;
@@ -4,8 +4,8 @@ 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 '../Icon-BOEOspTF.js';
8
- import { T as Text } from '../Text-CI2prtf6.js';
7
+ import { I as Icon } from '../Icon-BF7i3XdQ.js';
8
+ import { T as Text } from '../Text-aaWArShm.js';
9
9
  import 'lodash/camelCase';
10
10
  import 'lodash/castArray';
11
11
  import 'lodash/upperFirst';
@@ -19,9 +19,9 @@ import '../utils/setViewportProperty.js';
19
19
  import 'lodash/maxBy';
20
20
  import '../hooks/useStyles/styleAttributes.js';
21
21
  import 'react-inlinesvg';
22
- import '../Link-aBsZ1d0Q.js';
23
- import '../Tooltip-EOu0a93a.js';
24
- import '../Title-CaXw1KBQ.js';
22
+ import '../Link-Cn7hiWmM.js';
23
+ import '../Tooltip-DP32J5V6.js';
24
+ import '../Title--_epIXkC.js';
25
25
 
26
26
  var chipsAppearanceAccent = {
27
27
  accent: {
@@ -111,9 +111,9 @@ function Chips(props) {
111
111
  var className = props.className, appearance = props.appearance, _a = props.label, label = _a === void 0 ? '' : _a, isDisabled = props.isDisabled, dataTestId = props.dataTestId, dataTour = props.dataTour, iconAfter = props.iconAfter, iconAfterSrc = props.iconAfterSrc, iconBefore = props.iconBefore, iconBeforeSrc = props.iconBeforeSrc, isActive = props.isActive, onClick = props.onClick, children = props.children;
112
112
  var appearanceConfig = useMemo(function () {
113
113
  if (appearance) {
114
- var appearanceProps = appearance.split(' ').reduce(function (resultApperance, appearance) {
114
+ var appearanceProps = appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
115
115
  var _a;
116
- return (__assign(__assign({}, resultApperance), (_a = chipsConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
116
+ return (__assign(__assign({}, resultConfig), (_a = chipsConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
117
117
  }, {});
118
118
  if (isDisabled && chipsConfig.appearance.disabled) {
119
119
  Object.assign(appearanceProps, chipsConfig.appearance.disabled);
@@ -133,7 +133,7 @@ function Chips(props) {
133
133
  ? "fill_".concat(fillClass)
134
134
  : "fill_active_".concat(fillActiveClass), !isActive
135
135
  ? fillHoverClass && "fill_hover_".concat(fillHoverClass)
136
- : fillActiveHoverClass && "fill_active_hover_".concat(fillActiveHoverClass), shapeClass && "chips_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), sizeClass && "chips_size_".concat(sizeClass), alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(alignClass), isDisabled && "chips_state_disabled", cursorClass && "cursor_".concat(cursorClass), onClick && 'cursor_type_pointer'), "data-testid": dataTestId && "".concat(dataTestId, "Button"), "data-tour": dataTour, style: chipsStyles, onClick: !isDisabled ? onClick : undefined, children: jsxs("div", { className: "chips__inner", children: [(iconBefore || iconBeforeSrc) && (jsx(Icon, { className: "chips__icon_before", size: iconBeforeSize, fill: iconBeforeFill, fillSize: iconBeforeFillSize, iconFill: iconBeforeFillIcon, imageSrc: iconBeforeSrc, shape: iconBeforeShape, SvgImage: iconBefore })), typeof label === 'string' ? (jsx(Text, { className: "chips__label", size: labelTextSize, textColor: labelTextColor, textColor: labelTextColor, textColorActive: isActive && labelTextActiveColor, textColorHover: !isDisabled && !isActive
136
+ : fillActiveHoverClass && "fill_active_hover_".concat(fillActiveHoverClass), shapeClass && "chips_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), sizeClass && "chips_size_".concat(sizeClass), alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(alignClass), isDisabled && "chips_state_disabled", cursorClass && "cursor_".concat(cursorClass), onClick && 'cursor_type_pointer'), "data-testid": dataTestId && "".concat(dataTestId, "Chips"), "data-tour": dataTour, style: chipsStyles, onClick: !isDisabled ? onClick : undefined, children: jsxs("div", { className: "chips__inner", children: [(iconBefore || iconBeforeSrc) && (jsx(Icon, { className: "chips__icon_before", size: iconBeforeSize, fill: iconBeforeFill, fillSize: iconBeforeFillSize, iconFill: iconBeforeFillIcon, imageSrc: iconBeforeSrc, shape: iconBeforeShape, SvgImage: iconBefore })), typeof label === 'string' ? (jsx(Text, { className: "chips__label", size: labelTextSize, textColor: labelTextColor, textColor: labelTextColor, textColorActive: isActive && labelTextActiveColor, textColorHover: !isDisabled && !isActive
137
137
  ? labelTextHoverColor
138
138
  : labelTextActiveHoverColor, textWeight: labelTextWeight, textWrap: labelTextWrap, children: label })) : (jsx("div", { className: "chips__label", children: label })), children, (iconAfter || iconAfterSrc) && (jsx(Icon, { className: "chips__icon_after", size: iconAfterSize, fill: iconAfterFill, fillSize: iconAfterFillSize, iconFill: iconAfterFillIcon, imageSrc: iconAfterSrc, shape: iconAfterShape, SvgImage: iconAfter }))] }) }));
139
139
  }
@@ -4,9 +4,9 @@ import React, { useRef, useMemo, createRef, useCallback } 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 '../Icon-BOEOspTF.js';
8
- import { L as Loader } from '../Loader-CRN4MAbm.js';
9
- import { T as Text } from '../Text-CI2prtf6.js';
7
+ import { I as Icon } from '../Icon-BF7i3XdQ.js';
8
+ import { L as Loader } from '../Loader-BnhUh-g6.js';
9
+ import { T as Text } from '../Text-aaWArShm.js';
10
10
  import 'lodash/camelCase';
11
11
  import 'lodash/castArray';
12
12
  import 'lodash/upperFirst';
@@ -20,9 +20,9 @@ import '../utils/setViewportProperty.js';
20
20
  import 'lodash/maxBy';
21
21
  import '../hooks/useStyles/styleAttributes.js';
22
22
  import 'react-inlinesvg';
23
- import '../Link-aBsZ1d0Q.js';
24
- import '../Tooltip-EOu0a93a.js';
25
- import '../Title-CaXw1KBQ.js';
23
+ import '../Link-Cn7hiWmM.js';
24
+ import '../Tooltip-DP32J5V6.js';
25
+ import '../Title--_epIXkC.js';
26
26
 
27
27
  var choiceAppearance = {
28
28
  accent: {
@@ -64,15 +64,15 @@ function Choice(props) {
64
64
  var isChecked = isCheckbox ? event.target.checked : true;
65
65
  setActiveSegment && setActiveSegment(item, isChecked);
66
66
  }, [isCheckbox, setActiveSegment]);
67
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
67
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
68
68
  var _a;
69
- return (__assign(__assign({}, resultAppearance), (_a = choiceConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
69
+ return (__assign(__assign({}, resultConfig), (_a = choiceConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
70
70
  }, {});
71
71
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
72
72
  var fillActiveClass = propsGenerator.fillActiveClass, fillActiveDisabledClass = propsGenerator.fillActiveDisabledClass, fillClass = propsGenerator.fillClass, fillDisabledClass = propsGenerator.fillDisabledClass, fillHoverClass = propsGenerator.fillHoverClass, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, shapeClass = propsGenerator.shapeClass, wrapClass = propsGenerator.wrapClass;
73
73
  // @ts-expect-error
74
74
  var styles = useStyles(props).styles;
75
- return (jsx("div", { id: id, className: clsx(className, 'choice', shapeClass && "choice_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), set && "choice_set_".concat(set), size && "choice_size_".concat(size), type && "choice_type_".concat(type), wrapClass && "choice_wrap_".concat(wrapClass)), "data-testid": dataTestId && "".concat(dataTestId, "Button"), "data-tour": dataTour, ref: controlRef, style: styles, children: isLoading ? (jsx(Loader, { width: "fill", height: "fill", fill: "surfacePrimary", itemFill: "surfaceItemAccent", set: "simple" })) : (jsx(React.Fragment, { children: options.map(function (item) {
75
+ return (jsx("div", { id: id, className: clsx(className, 'choice', shapeClass && "choice_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), set && "choice_set_".concat(set), size && "choice_size_".concat(size), type && "choice_type_".concat(type), wrapClass && "choice_wrap_".concat(wrapClass)), "data-testid": dataTestId && "".concat(dataTestId, "Choice"), "data-tour": dataTour, ref: controlRef, style: styles, children: isLoading ? (jsx(Loader, { width: "fill", height: "fill", fill: "surfacePrimary", itemFill: "surfaceItemAccent", set: "simple" })) : (jsx(React.Fragment, { children: options.map(function (item) {
76
76
  // prettier-ignore
77
77
  var isActive = typeof active === 'object'
78
78
  ? String(item.value) === String(active.value)
@@ -28,9 +28,9 @@ var codeConfig = {
28
28
  function Code(props) {
29
29
  var className = props.className, appearance = props.appearance, inputAutoFocus = props.inputAutoFocus, _a = props.inputCount, inputCount = _a === void 0 ? 6 : _a, _b = props.inputPlaceholder, inputPlaceholder = _b === void 0 ? 0 : _b, _c = props.inputType, inputType = _c === void 0 ? 'number' : _c, separatorComponent = props.separatorComponent, before = props.before, after = props.after, onBlur = props.onBlur, onChange = props.onChange, onFocus = props.onFocus;
30
30
  var _d = useState(''), otp = _d[0], setOtp = _d[1];
31
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
31
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
32
32
  var _a;
33
- return (__assign(__assign({}, resultAppearance), (_a = codeConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
33
+ return (__assign(__assign({}, resultConfig), (_a = codeConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
34
34
  }, {});
35
35
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
36
36
  var inputBorderColorClass = propsGenerator.inputBorderColorClass, inputBorderColorHoverClass = propsGenerator.inputBorderColorHoverClass, inputBorderFocusColorClass = propsGenerator.inputBorderFocusColorClass, inputBorderWidthClass = propsGenerator.inputBorderWidthClass, inputCaretColorClass = propsGenerator.inputCaretColorClass, inputFillClass = propsGenerator.inputFillClass, inputFillHoverClass = propsGenerator.inputFillHoverClass, inputPlaceholderTextColorClass = propsGenerator.inputPlaceholderTextColorClass, inputShapeClass = propsGenerator.inputShapeClass, inputSizeClass = propsGenerator.inputSizeClass, inputTextColorClass = propsGenerator.inputTextColorClass, inputTextSizeClass = propsGenerator.inputTextSizeClass, inputTextWeightClass = propsGenerator.inputTextWeightClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
@@ -3,9 +3,9 @@ import { useRef, useMemo, useCallback, useEffect } from 'react';
3
3
  import clsx from 'clsx';
4
4
  import Cookies from 'js-cookie';
5
5
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
6
- import { B as Button } from '../Button-DCtRrkgc.js';
7
- import { G as Group } from '../Group-OkygpKiJ.js';
8
- import { T as Text } from '../Text-CI2prtf6.js';
6
+ import { B as Button } from '../Button-K5n8BI_w.js';
7
+ import { G as Group } from '../Group-C8NUU6k5.js';
8
+ import { T as Text } from '../Text-aaWArShm.js';
9
9
  import '../tslib.es6-Bwu1Cn-t.js';
10
10
  import 'lodash/camelCase';
11
11
  import 'lodash/castArray';
@@ -17,15 +17,15 @@ import '../context/UIContext.js';
17
17
  import '../hooks/useMediaQueries/useMediaQueries.js';
18
18
  import 'react-responsive';
19
19
  import '../utils/setViewportProperty.js';
20
- import '../Icon-BOEOspTF.js';
20
+ import '../Icon-BF7i3XdQ.js';
21
21
  import 'react-inlinesvg';
22
22
  import '../hooks/useStyles/useStyles.js';
23
23
  import 'lodash/maxBy';
24
24
  import '../hooks/useStyles/styleAttributes.js';
25
- import '../Link-aBsZ1d0Q.js';
26
- import '../Tooltip-EOu0a93a.js';
27
- import '../Title-CaXw1KBQ.js';
28
- import '../Loader-CRN4MAbm.js';
25
+ import '../Link-Cn7hiWmM.js';
26
+ import '../Tooltip-DP32J5V6.js';
27
+ import '../Title--_epIXkC.js';
28
+ import '../Loader-BnhUh-g6.js';
29
29
 
30
30
  function CookiesWarning(props) {
31
31
  var className = props.className, _a = props.message, message = _a === void 0 ? 'The site uses cookies to collect technical information, to optimize the design and improvement of the website, and to provide certain functions. By using the website, you agree to the use of «cookies».' : _a, textColor = props.textColor, textSize = props.textSize, buttonFill = props.buttonFill, buttonFillHover = props.buttonFillHover, _b = props.buttonLabel, buttonLabel = _b === void 0 ? 'I agree' : _b, buttonLabelSize = props.buttonLabelSize, buttonLabelTextColor = props.buttonLabelTextColor, buttonShape = props.buttonShape, buttonSize = props.buttonSize, buttonWidth = props.buttonWidth, _c = props.isHideOnScroll, isHideOnScroll = _c === void 0 ? false : _c;
@@ -3,7 +3,7 @@ import { jsx } from 'react/jsx-runtime';
3
3
  import { useMemo } from 'react';
4
4
  import clsx from 'clsx';
5
5
  import { PartySuggestions } from 'react-dadata';
6
- import { I as Input } from '../Input-ChiH90mV.js';
6
+ import { I as Input } from '../Input-v52BiIsb.js';
7
7
  import '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
8
8
  import 'lodash/camelCase';
9
9
  import 'lodash/castArray';
@@ -6,11 +6,11 @@ import { ru } from 'date-fns/locale';
6
6
  import DatePicker from 'react-datepicker';
7
7
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
8
8
  import { useStyles } from '../hooks/useStyles/useStyles.js';
9
- import { B as Button } from '../Button-DCtRrkgc.js';
10
- import { I as Icon } from '../Icon-BOEOspTF.js';
11
- import { I as Input } from '../Input-ChiH90mV.js';
12
- import { L as Label } from '../Label-CfE08vBy.js';
13
- import { T as Text } from '../Text-CI2prtf6.js';
9
+ import { B as Button } from '../Button-K5n8BI_w.js';
10
+ import { I as Icon } from '../Icon-BF7i3XdQ.js';
11
+ import { I as Input } from '../Input-v52BiIsb.js';
12
+ import { L as Label } from '../Label-brG78nLi.js';
13
+ import { T as Text } from '../Text-aaWArShm.js';
14
14
  import 'lodash/camelCase';
15
15
  import 'lodash/castArray';
16
16
  import 'lodash/upperFirst';
@@ -23,11 +23,11 @@ import 'react-responsive';
23
23
  import '../utils/setViewportProperty.js';
24
24
  import 'lodash/maxBy';
25
25
  import '../hooks/useStyles/styleAttributes.js';
26
- import '../Link-aBsZ1d0Q.js';
27
- import '../Loader-CRN4MAbm.js';
26
+ import '../Link-Cn7hiWmM.js';
27
+ import '../Loader-BnhUh-g6.js';
28
28
  import 'react-inlinesvg';
29
- import '../Tooltip-EOu0a93a.js';
30
- import '../Title-CaXw1KBQ.js';
29
+ import '../Tooltip-DP32J5V6.js';
30
+ import '../Title--_epIXkC.js';
31
31
 
32
32
  var datePickerAppearance = {
33
33
  default: {
@@ -129,9 +129,9 @@ function DatePickerInput(props) {
129
129
  useEffect(function () {
130
130
  setEndDate(end);
131
131
  }, [end]);
132
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
132
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
133
133
  var _a;
134
- return (__assign(__assign({}, resultAppearance), (_a = datePickerConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
134
+ return (__assign(__assign({}, resultConfig), (_a = datePickerConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
135
135
  }, {});
136
136
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
137
137
  var widthClass = propsGenerator.widthClass;
@@ -1,4 +1,4 @@
1
- export { D as Divider, a as dividerAppearance, d as dividerConfig } from '../Divider-DhXzYcNF.js';
1
+ export { D as Divider, a as dividerAppearance, d as dividerConfig } from '../Divider-CUFKsm-9.js';
2
2
  import '../tslib.es6-Bwu1Cn-t.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'clsx';
@@ -22,7 +22,9 @@ function Drawer(props) {
22
22
  }
23
23
  prevIsOpenModalRef.current = Boolean(isOpenModal);
24
24
  }, [isOpenModal, onClose]);
25
- return (jsxs(ReactDrawer, { className: clsx('drawer', type && "drawer_type_".concat(type), className, dataTour && "data-tour-".concat(dataTour)), direction: direction || 'right', size: size || 600, "data-testid": dataTestId, "data-tour": dataTour, enableOverlay: enableOverlay, lockBackgroundScroll: false, overlayClassName: "drawer__overlay",
25
+ return (jsxs(ReactDrawer, { className: clsx('drawer', type && "drawer_type_".concat(type), className, dataTour && "data-tour-".concat(dataTour)), direction: direction || 'right', size: size || 600,
26
+ // Drawer set prefix "EZDrawer" for any id
27
+ customIdSuffix: dataTestId ? "_".concat(dataTestId) : undefined, "data-tour": dataTour, enableOverlay: enableOverlay, lockBackgroundScroll: false, overlayClassName: "drawer__overlay",
26
28
  // @ts-expect-error
27
29
  open: isOpenModal, onClose: onClickClose, children: [before && jsx("div", { className: "drawer__before", children: before }), children && jsx("div", { className: "drawer__wrapper", children: children }), after && jsx("div", { className: "drawer__after", children: after })] }));
28
30
  }
@@ -1,4 +1,4 @@
1
- export { D as Dropdown, a as DropdownItem, d as dropdownItemAppearance, b as dropdownItemConfig } from '../DropdownItem-Cr7XLcHZ.js';
1
+ export { D as Dropdown, a as DropdownItem, d as dropdownItemAppearance, b as dropdownItemConfig } from '../DropdownItem-f29l8dds.js';
2
2
  import 'react/jsx-runtime';
3
3
  import 'react';
4
4
  import 'clsx';
@@ -17,5 +17,5 @@ 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 '../Divider-DhXzYcNF.js';
21
- import '../Text-CI2prtf6.js';
20
+ import '../Divider-CUFKsm-9.js';
21
+ import '../Text-aaWArShm.js';
@@ -1,4 +1,4 @@
1
- export { G as Group, a as groupAppearance, g as groupConfig } from '../Group-OkygpKiJ.js';
1
+ export { G as Group, a as groupAppearance, g as groupConfig } from '../Group-C8NUU6k5.js';
2
2
  import '../tslib.es6-Bwu1Cn-t.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
@@ -32,9 +32,9 @@ var heroTitleConfig = {
32
32
  function HeroTitle(props) {
33
33
  var className = props.className, appearance = props.appearance, _a = props.size, size = _a === void 0 ? 'h3' : _a, text = props.text, textWrap = props.textWrap, afterWrapper = props.afterWrapper, beforeWrapper = props.beforeWrapper, dataTour = props.dataTour, mode = props.mode, sizeDesktop = props.sizeDesktop, sizeMobile = props.sizeMobile, sizeTablet = props.sizeTablet, _b = props.tag, tag = _b === void 0 ? 'span' : _b, before = props.before, after = props.after, onClick = props.onClick, children = props.children;
34
34
  var _c = useUserDeviceContext(), isMobile = _c.isMobile, isTablet = _c.isTablet, isDesktop = _c.isDesktop;
35
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
35
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
36
36
  var _a;
37
- return (__assign(__assign({}, resultAppearance), (_a = heroTitleConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
37
+ return (__assign(__assign({}, resultConfig), (_a = heroTitleConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
38
38
  }, {});
39
39
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
40
40
  var directionClass = propsGenerator.directionClass, fillClass = propsGenerator.fillClass, textAlignClass = propsGenerator.textAlignClass, textColorActiveClass = propsGenerator.textColorActiveClass, textColorClass = propsGenerator.textColorClass, textColorGradientClass = propsGenerator.textColorGradientClass, textColorHoverClass = propsGenerator.textColorHoverClass, textStyleClass = propsGenerator.textStyleClass, textTruncateClass = propsGenerator.textTruncateClass, textWeightClass = propsGenerator.textWeightClass, heightClass = propsGenerator.heightClass, svgFillClass = propsGenerator.svgFillClass, svgFillHoverClass = propsGenerator.svgFillHoverClass, typeClass = propsGenerator.typeClass, widthClass = propsGenerator.widthClass, wrapperDirectionClass = propsGenerator.wrapperDirectionClass;
@@ -1,4 +1,4 @@
1
- export { I as Icon, a as iconAppearance, i as iconConfig } from '../Icon-BOEOspTF.js';
1
+ export { I as Icon, a as iconAppearance, i as iconConfig } from '../Icon-BF7i3XdQ.js';
2
2
  import '../tslib.es6-Bwu1Cn-t.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
@@ -18,7 +18,7 @@ import '../utils/setViewportProperty.js';
18
18
  import '../hooks/useStyles/useStyles.js';
19
19
  import 'lodash/maxBy';
20
20
  import '../hooks/useStyles/styleAttributes.js';
21
- import '../Link-aBsZ1d0Q.js';
22
- import '../Tooltip-EOu0a93a.js';
23
- import '../Text-CI2prtf6.js';
24
- import '../Title-CaXw1KBQ.js';
21
+ import '../Link-Cn7hiWmM.js';
22
+ import '../Tooltip-DP32J5V6.js';
23
+ import '../Text-aaWArShm.js';
24
+ import '../Title--_epIXkC.js';
@@ -1,4 +1,4 @@
1
- export { I as Input, a as inputAppearance, i as inputConfig, b as inputState } from '../Input-ChiH90mV.js';
1
+ export { I as Input, a as inputAppearance, i as inputConfig, b as inputState } from '../Input-v52BiIsb.js';
2
2
  import '../tslib.es6-Bwu1Cn-t.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';