@itcase/ui 1.5.1 → 1.7.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 (117) hide show
  1. package/dist/{Badge-ydSHGXSG.js → Badge-BE28NFES.js} +4 -4
  2. package/dist/{Badge-JXM0G_0I.js → Badge-C_6Iofu7.js} +4 -4
  3. package/dist/{Button-BmSyIDb_.js → Button-Df425Vot.js} +6 -6
  4. package/dist/{Button-DCtRrkgc.js → Button-sYpJIJPv.js} +6 -6
  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-CBJeJPbP.js → DropdownItem-CdAS1E-G.js} +4 -5
  8. package/dist/{DropdownItem-C8CumsgX.js → DropdownItem-f29l8dds.js} +4 -5
  9. package/dist/{Group-OkygpKiJ.js → Group-D5nvxHx0.js} +2 -2
  10. package/dist/{Group-BVlu5z77.js → Group-NYDjw1CD.js} +2 -2
  11. package/dist/{Icon-BOEOspTF.js → Icon-BzIdIgGY.js} +1 -1
  12. package/dist/{Icon-DU2T-nfY.js → Icon-dS-it4rs.js} +1 -1
  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/{Loader-CRN4MAbm.js → Loader-BnhUh-g6.js} +3 -3
  18. package/dist/{Loader-rzo8nnRI.js → Loader-CZVsMYl6.js} +3 -3
  19. package/dist/{Overlay-CRIofShk.js → Overlay-Be9UCtR9.js} +2 -2
  20. package/dist/{Overlay-CZFSerUl.js → Overlay-BoIJ-g58.js} +2 -2
  21. package/dist/{Text-CEcBg-F5.js → Text-DwIx33-P.js} +2 -2
  22. package/dist/{Text-CI2prtf6.js → Text-aaWArShm.js} +2 -2
  23. package/dist/{Title-CaXw1KBQ.js → Title--_epIXkC.js} +2 -2
  24. package/dist/{Title-C4xUtigh.js → Title-ByfOyy-n.js} +2 -2
  25. package/dist/{Tooltip-EOu0a93a.js → Tooltip-DP32J5V6.js} +4 -4
  26. package/dist/{Tooltip-Lhx-Fefx.js → Tooltip-hznDyLwa.js} +4 -4
  27. package/dist/cjs/components/Accordion.js +9 -9
  28. package/dist/cjs/components/Avatar.js +6 -6
  29. package/dist/cjs/components/Badge.js +5 -5
  30. package/dist/cjs/components/Breadcrumbs.js +4 -4
  31. package/dist/cjs/components/Button.js +6 -6
  32. package/dist/cjs/components/Cell.js +7 -7
  33. package/dist/cjs/components/Checkbox.js +4 -4
  34. package/dist/cjs/components/Checkmark.js +2 -2
  35. package/dist/cjs/components/Chips.js +6 -7
  36. package/dist/cjs/components/Choice.js +7 -7
  37. package/dist/cjs/components/Code.js +2 -2
  38. package/dist/cjs/components/CookiesWarning.js +7 -7
  39. package/dist/cjs/components/DadataHintField.js +1 -1
  40. package/dist/cjs/components/DatePicker.js +10 -10
  41. package/dist/cjs/components/Divider.js +1 -1
  42. package/dist/cjs/components/Dropdown.js +3 -3
  43. package/dist/cjs/components/Group.js +1 -1
  44. package/dist/cjs/components/HeroTitle.js +2 -2
  45. package/dist/cjs/components/Icon.js +4 -4
  46. package/dist/cjs/components/Input.js +1 -1
  47. package/dist/cjs/components/InputMask.js +2 -2
  48. package/dist/cjs/components/InputPassword.js +6 -6
  49. package/dist/cjs/components/Label.js +4 -4
  50. package/dist/cjs/components/Loader.js +2 -2
  51. package/dist/cjs/components/Logo.js +2 -2
  52. package/dist/cjs/components/MenuItem.js +3 -3
  53. package/dist/cjs/components/Modal.js +6 -6
  54. package/dist/cjs/components/Notification.js +1 -1
  55. package/dist/cjs/components/Overlay.js +1 -1
  56. package/dist/cjs/components/Pagination.js +8 -8
  57. package/dist/cjs/components/Panel.js +4 -4
  58. package/dist/cjs/components/Radio.js +3 -3
  59. package/dist/cjs/components/Response.js +9 -10
  60. package/dist/cjs/components/Search.js +6 -6
  61. package/dist/cjs/components/Segmented.js +3 -3
  62. package/dist/cjs/components/Select.js +17 -12
  63. package/dist/cjs/components/Swiper.js +1 -1
  64. package/dist/cjs/components/Switch.js +8 -8
  65. package/dist/cjs/components/Tab.js +8 -8
  66. package/dist/cjs/components/Text.js +1 -1
  67. package/dist/cjs/components/Textarea.js +2 -2
  68. package/dist/cjs/components/Tile.js +7 -7
  69. package/dist/cjs/components/Title.js +1 -1
  70. package/dist/cjs/components/Tooltip.js +3 -3
  71. package/dist/components/Accordion.js +9 -9
  72. package/dist/components/Avatar.js +6 -6
  73. package/dist/components/Badge.js +5 -5
  74. package/dist/components/Breadcrumbs.js +4 -4
  75. package/dist/components/Button.js +6 -6
  76. package/dist/components/Cell.js +7 -7
  77. package/dist/components/Checkbox.js +4 -4
  78. package/dist/components/Checkmark.js +2 -2
  79. package/dist/components/Chips.js +6 -7
  80. package/dist/components/Choice.js +7 -7
  81. package/dist/components/Code.js +2 -2
  82. package/dist/components/CookiesWarning.js +7 -7
  83. package/dist/components/DadataHintField.js +1 -1
  84. package/dist/components/DatePicker.js +10 -10
  85. package/dist/components/Divider.js +1 -1
  86. package/dist/components/Dropdown.js +3 -3
  87. package/dist/components/Group.js +1 -1
  88. package/dist/components/HeroTitle.js +2 -2
  89. package/dist/components/Icon.js +4 -4
  90. package/dist/components/Input.js +1 -1
  91. package/dist/components/InputMask.js +2 -2
  92. package/dist/components/InputPassword.js +6 -6
  93. package/dist/components/Label.js +4 -4
  94. package/dist/components/Loader.js +2 -2
  95. package/dist/components/Logo.js +2 -2
  96. package/dist/components/MenuItem.js +3 -3
  97. package/dist/components/Modal.js +6 -6
  98. package/dist/components/Notification.js +1 -1
  99. package/dist/components/Overlay.js +1 -1
  100. package/dist/components/Pagination.js +8 -8
  101. package/dist/components/Panel.js +4 -4
  102. package/dist/components/Radio.js +3 -3
  103. package/dist/components/Response.js +9 -10
  104. package/dist/components/Search.js +6 -6
  105. package/dist/components/Segmented.js +3 -3
  106. package/dist/components/Select.js +17 -12
  107. package/dist/components/Swiper.js +1 -1
  108. package/dist/components/Switch.js +8 -8
  109. package/dist/components/Tab.js +8 -8
  110. package/dist/components/Text.js +1 -1
  111. package/dist/components/Textarea.js +2 -2
  112. package/dist/components/Tile.js +7 -7
  113. package/dist/components/Title.js +1 -1
  114. package/dist/components/Tooltip.js +3 -3
  115. package/dist/css/components/Switch/Switch.css +65 -25
  116. package/dist/types/components/Select/index.d.ts +15 -15
  117. package/package.json +1 -1
@@ -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-BE28NFES.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-BzIdIgGY.js';
21
21
  import 'react-inlinesvg';
22
22
  import '../Link-aBsZ1d0Q.js';
23
- import '../Tooltip-EOu0a93a.js';
24
- import '../Text-CI2prtf6.js';
25
- import '../Title-CaXw1KBQ.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';
8
+ import { I as Icon } from '../Icon-BzIdIgGY.js';
9
9
  import { a as LinkWrapper } from '../Link-aBsZ1d0Q.js';
10
- import { T as Text } from '../Text-CI2prtf6.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-sYpJIJPv.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-BzIdIgGY.js';
7
7
  import 'react-inlinesvg';
8
8
  import '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
9
9
  import 'lodash/camelCase';
@@ -20,7 +20,7 @@ import '../hooks/useStyles/useStyles.js';
20
20
  import 'lodash/maxBy';
21
21
  import '../hooks/useStyles/styleAttributes.js';
22
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';
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-BzIdIgGY.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';
@@ -21,8 +21,8 @@ import 'lodash/maxBy';
21
21
  import '../hooks/useStyles/styleAttributes.js';
22
22
  import 'react-inlinesvg';
23
23
  import '../Link-aBsZ1d0Q.js';
24
- import '../Tooltip-EOu0a93a.js';
25
- import '../Title-CaXw1KBQ.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;
@@ -65,7 +65,7 @@ function Checkbox(props) {
65
65
  var stateBorderColorDisabledClass = propsGenerator.getClassName(checked ? 'stateBorderColorDisabledChecked' : 'stateBorderColorDisabled', { prefix: 'border-color_' });
66
66
  return (jsxs(Tag, { className: clsx(className, 'checkbox', fillClass && "fill_".concat(fillClass), shapeClass && "checkbox_shape_".concat(shapeClass), widthClass && "width_".concat(widthClass), isSkeleton && "checkbox_skeleton"), htmlFor: Tag === 'label' && id, children: [before, jsxs("div", { className: clsx('checkbox__item', stateCheckmarkFillClass), children: [jsx("input", {
67
67
  // @ts-expect-error
68
- id: id, className: "checkbox__input", type: "checkbox", disabled: disabled, checked: checked, value: value, onBlur: onBlur, onChange: onChange, onFocus: onFocus }), jsx("div", { className: clsx('checkbox__state', disabled ? stateFillDisabledClass : stateFillClass, disabled ? stateBorderColorDisabledClass : stateBorderColorClass, stateShapeClass && "checkbox__state_shape_".concat(stateShapeClass), stateBorderWidthClass && "border-width_".concat(stateBorderWidthClass)), children: "\u00A0" }), jsx("div", { className: "checkbox__state-checkmark", children: "\u00A0" })] }), label && (jsx(Text, { className: "checkbox__label", size: labelTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextSize), textColor: labelTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.labelTextColor), textWeight: labelTextWeight, children: label })), desc && (jsx(Text, { className: "checkbox__desc", size: descTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.descTextSize), textColor: descTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.descTextColor), textWeight: descTextWeight, children: desc })), after && jsx("div", { className: "checkbox__after", children: after })] }));
68
+ id: id, className: "checkbox__input", type: "checkbox", disabled: disabled, checked: checked, value: value, onBlur: onBlur, onChange: onChange, onFocus: onFocus }), jsx("div", { className: clsx('checkbox__state', disabled ? stateFillDisabledClass : stateFillClass, disabled ? stateBorderColorDisabledClass : stateBorderColorClass, stateShapeClass && "checkbox__state_shape_".concat(stateShapeClass), stateBorderWidthClass && "border-width_".concat(stateBorderWidthClass)), children: "\u00A0" }), jsx("div", { className: "checkbox__state-checkmark", children: "\u00A0" })] }), label && (jsx(Text, { className: "checkbox__label", size: labelTextSize, textColor: labelTextColor, textWeight: labelTextWeight, children: label })), desc && (jsx(Text, { className: "checkbox__desc", size: descTextSize, textColor: descTextColor, textWeight: descTextWeight, children: desc })), after && jsx("div", { className: "checkbox__after", children: after })] }));
69
69
  }
70
70
 
71
71
  export { Checkbox, checkboxAppearance, checkboxConfig, checkboxState };
@@ -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-BzIdIgGY.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,8 +20,8 @@ import 'lodash/maxBy';
20
20
  import '../hooks/useStyles/styleAttributes.js';
21
21
  import 'react-inlinesvg';
22
22
  import '../Link-aBsZ1d0Q.js';
23
- import '../Tooltip-EOu0a93a.js';
24
- import '../Title-CaXw1KBQ.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);
@@ -129,7 +129,6 @@ function Chips(props) {
129
129
  var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelTextActiveColor = propsGenerator.labelTextActiveColor, labelTextActiveHoverColor = propsGenerator.labelTextActiveHoverColor, labelTextColor = propsGenerator.labelTextColor, labelTextHoverColor = propsGenerator.labelTextHoverColor, labelTextSize = propsGenerator.labelTextSize, labelTextWeight = propsGenerator.labelTextWeight, labelTextWrap = propsGenerator.labelTextWrap, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, cursorClass = propsGenerator.cursorClass, iconAfterFill = propsGenerator.iconAfterFill, iconAfterFillIcon = propsGenerator.iconAfterFillIcon, iconAfterFillSize = propsGenerator.iconAfterFillSize, iconAfterShape = propsGenerator.iconAfterShape, iconAfterSize = propsGenerator.iconAfterSize, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeFillIcon = propsGenerator.iconBeforeFillIcon, iconBeforeFillSize = propsGenerator.iconBeforeFillSize, iconBeforeShape = propsGenerator.iconBeforeShape, iconBeforeSize = propsGenerator.iconBeforeSize, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass;
130
130
  // @ts-expect-error
131
131
  var chipsStyles = useStyles(props).styles;
132
- console.log(fillClass);
133
132
  return (jsx("div", { className: clsx(className, 'chips', isActive && 'chips_state_active', fillClass && !isActive
134
133
  ? "fill_".concat(fillClass)
135
134
  : "fill_active_".concat(fillActiveClass), !isActive
@@ -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-BzIdIgGY.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';
@@ -21,8 +21,8 @@ import 'lodash/maxBy';
21
21
  import '../hooks/useStyles/styleAttributes.js';
22
22
  import 'react-inlinesvg';
23
23
  import '../Link-aBsZ1d0Q.js';
24
- import '../Tooltip-EOu0a93a.js';
25
- import '../Title-CaXw1KBQ.js';
24
+ import '../Tooltip-DP32J5V6.js';
25
+ import '../Title--_epIXkC.js';
26
26
 
27
27
  var choiceAppearance = {
28
28
  accent: {
@@ -64,9 +64,9 @@ 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;
@@ -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-sYpJIJPv.js';
7
+ import { G as Group } from '../Group-D5nvxHx0.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-BzIdIgGY.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
25
  import '../Link-aBsZ1d0Q.js';
26
- import '../Tooltip-EOu0a93a.js';
27
- import '../Title-CaXw1KBQ.js';
28
- import '../Loader-CRN4MAbm.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-sYpJIJPv.js';
10
+ import { I as Icon } from '../Icon-BzIdIgGY.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';
@@ -24,10 +24,10 @@ import '../utils/setViewportProperty.js';
24
24
  import 'lodash/maxBy';
25
25
  import '../hooks/useStyles/styleAttributes.js';
26
26
  import '../Link-aBsZ1d0Q.js';
27
- import '../Loader-CRN4MAbm.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';
@@ -1,4 +1,4 @@
1
- export { D as Dropdown, a as DropdownItem, d as dropdownItemAppearance, b as dropdownItemConfig } from '../DropdownItem-C8CumsgX.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-D5nvxHx0.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-BzIdIgGY.js';
2
2
  import '../tslib.es6-Bwu1Cn-t.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
@@ -19,6 +19,6 @@ import '../hooks/useStyles/useStyles.js';
19
19
  import 'lodash/maxBy';
20
20
  import '../hooks/useStyles/styleAttributes.js';
21
21
  import '../Link-aBsZ1d0Q.js';
22
- import '../Tooltip-EOu0a93a.js';
23
- import '../Text-CI2prtf6.js';
24
- import '../Title-CaXw1KBQ.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';
@@ -30,9 +30,9 @@ var Input = React.forwardRef(function Input(props, ref) {
30
30
  _a = props.type,
31
31
  // state,
32
32
  type = _a === void 0 ? 'text' : _a, name = props.name, appearance = props.appearance, isDisabled = props.isDisabled, dataTestId = props.dataTestId, index = props.index, placeholder = props.placeholder, value = props.value, onBlur = props.onBlur, onChange = props.onChange, onFocus = props.onFocus, onKeyDown = props.onKeyDown;
33
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
33
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
34
34
  var _a;
35
- return (__assign(__assign({}, resultAppearance), (_a = inputMaskConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
35
+ return (__assign(__assign({}, resultConfig), (_a = inputMaskConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
36
36
  }, {});
37
37
  // const stateConfig = useMemo(
38
38
  // () => state && inputMaskConfig.state && inputMaskConfig.state[state],
@@ -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 '../Icon-BOEOspTF.js';
6
+ import { I as Icon } from '../Icon-BzIdIgGY.js';
7
7
  import 'lodash/camelCase';
8
8
  import 'lodash/castArray';
9
9
  import 'lodash/upperFirst';
@@ -19,9 +19,9 @@ import '../hooks/useStyles/useStyles.js';
19
19
  import 'lodash/maxBy';
20
20
  import '../hooks/useStyles/styleAttributes.js';
21
21
  import '../Link-aBsZ1d0Q.js';
22
- import '../Tooltip-EOu0a93a.js';
23
- import '../Text-CI2prtf6.js';
24
- import '../Title-CaXw1KBQ.js';
22
+ import '../Tooltip-DP32J5V6.js';
23
+ import '../Text-aaWArShm.js';
24
+ import '../Title--_epIXkC.js';
25
25
 
26
26
  var InputPasswordAppearance = {
27
27
  dev: {
@@ -103,9 +103,9 @@ function InputPassword(props) {
103
103
  // () => state && inputPasswordConfig.state && inputPasswordConfig.state[state],
104
104
  // [state, inputPasswordConfig],
105
105
  // )
106
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
106
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
107
107
  var _a;
108
- return (__assign(__assign({}, resultAppearance), (_a = inputPasswordConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
108
+ return (__assign(__assign({}, resultConfig), (_a = inputPasswordConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
109
109
  }, {});
110
110
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
111
111
  var fillClass = propsGenerator.fillClass, borderColorClass = propsGenerator.borderColorClass, borderWidthClass = propsGenerator.borderWidthClass, textColorClass = propsGenerator.textColorClass, textSizeClass = propsGenerator.textSizeClass, textWeightClass = propsGenerator.textWeightClass, caretClass = propsGenerator.caretClass, placeholderTextColorClass = propsGenerator.placeholderTextColorClass, shapeClass = propsGenerator.shapeClass, _b = propsGenerator.sizeClass, sizeClass = _b === void 0 ? 'm' : _b, widthClass = propsGenerator.widthClass;
@@ -1,4 +1,4 @@
1
- export { L as Label, a as labelAppearance, l as labelConfig } from '../Label-CfE08vBy.js';
1
+ export { L as Label, a as labelAppearance, l as labelConfig } from '../Label-brG78nLi.js';
2
2
  import '../tslib.es6-Bwu1Cn-t.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
@@ -17,6 +17,6 @@ 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 '../Text-CI2prtf6.js';
21
- import '../Tooltip-EOu0a93a.js';
22
- import '../Title-CaXw1KBQ.js';
20
+ import '../Text-aaWArShm.js';
21
+ import '../Tooltip-DP32J5V6.js';
22
+ import '../Title--_epIXkC.js';
@@ -1,4 +1,4 @@
1
- export { L as Loader, a as loaderAppearance, l as loaderConfig } from '../Loader-CRN4MAbm.js';
1
+ export { L as Loader, a as loaderAppearance, l as loaderConfig } from '../Loader-BnhUh-g6.js';
2
2
  import '../tslib.es6-Bwu1Cn-t.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'clsx';
@@ -17,4 +17,4 @@ 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 '../Text-CI2prtf6.js';
20
+ import '../Text-aaWArShm.js';
@@ -26,9 +26,9 @@ var logoConfig = {
26
26
  };
27
27
  function Logo(props) {
28
28
  var className = props.className, appearance = props.appearance, size = props.size, href = props.href, link = props.link, mode = props.mode;
29
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultApperance, appearance) {
29
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
30
30
  var _a;
31
- return (__assign(__assign({}, resultApperance), (_a = logoConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
31
+ return (__assign(__assign({}, resultConfig), (_a = logoConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
32
32
  }, {});
33
33
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
34
34
  var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, alignItemsClass = propsGenerator.alignItemsClass, src = propsGenerator.src, title = propsGenerator.title, alt = propsGenerator.alt, source = propsGenerator.source, widthClass = propsGenerator.widthClass;
@@ -5,7 +5,7 @@ import clsx from 'clsx';
5
5
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
6
6
  import { useStyles } from '../hooks/useStyles/useStyles.js';
7
7
  import { L as Link } from '../Link-aBsZ1d0Q.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';
@@ -36,9 +36,9 @@ var menuItemConfig = {
36
36
  };
37
37
  function MenuItem(props) {
38
38
  var className = props.className, appearance = props.appearance, label = props.label, desc = props.desc, descTextColor = props.descTextColor, descTextColorHover = props.descTextColorHover, descTextGradient = props.descTextGradient, descTextSize = props.descTextSize, descTextStyle = props.descTextStyle, descTextWeight = props.descTextWeight, descTextWrap = props.descTextWrap, textColor = props.textColor, textColorActive = props.textColorActive, textColorHover = props.textColorHover, textGradient = props.textGradient, textSize = props.textSize, textStyle = props.textStyle, textWeight = props.textWeight, textWrap = props.textWrap, href = props.href, link = props.link, linkFill = props.linkFill, rel = props.rel, target = props.target, underline = props.underline, before = props.before, after = props.after, isActive = props.isActive, isHover = props.isHover, set = props.set, onClick = props.onClick, onMouseEnter = props.onMouseEnter, children = props.children;
39
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
39
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
40
40
  var _a;
41
- return (__assign(__assign({}, resultAppearance), (_a = menuItemConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
41
+ return (__assign(__assign({}, resultConfig), (_a = menuItemConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
42
42
  }, {});
43
43
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
44
44
  var directionClass = propsGenerator.directionClass, justifyContentClass = propsGenerator.justifyContentClass, alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillDisabledClass = propsGenerator.fillDisabledClass, fillHoverClass = propsGenerator.fillHoverClass, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, typeClass = propsGenerator.typeClass, widthClass = propsGenerator.widthClass;
@@ -5,9 +5,9 @@ import clsx from 'clsx';
5
5
  import ReactDOM from 'react-dom';
6
6
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
7
7
  import { useStyles } from '../hooks/useStyles/useStyles.js';
8
- import { O as Overlay } from '../Overlay-CRIofShk.js';
9
- import { T as Title } from '../Title-CaXw1KBQ.js';
10
- import { L as Loader } from '../Loader-CRN4MAbm.js';
8
+ import { O as Overlay } from '../Overlay-Be9UCtR9.js';
9
+ import { T as Title } from '../Title--_epIXkC.js';
10
+ import { L as Loader } from '../Loader-BnhUh-g6.js';
11
11
  import 'lodash/camelCase';
12
12
  import 'lodash/castArray';
13
13
  import 'lodash/upperFirst';
@@ -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 '../Text-CI2prtf6.js';
23
+ import '../Text-aaWArShm.js';
24
24
 
25
25
  var modalAppearanceSurface = {
26
26
  surfacePrimary: {
@@ -141,9 +141,9 @@ var Modal = React.forwardRef(function Modal(props, ref) {
141
141
  }, [addModalProps, className, modalQuerySelector]);
142
142
  // Save ref things
143
143
  useImperativeHandle(ref, function () { return ({ modalElement: modalElement, openModal: openModal, closeModal: closeModal, isOpen: isOpen }); }, [isOpen, openModal, closeModal, modalElement]);
144
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
144
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
145
145
  var _a;
146
- return (__assign(__assign({}, resultAppearance), (_a = modalConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
146
+ return (__assign(__assign({}, resultConfig), (_a = modalConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
147
147
  }, {});
148
148
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
149
149
  var fillClass = propsGenerator.fillClass, titleTextColor = propsGenerator.titleTextColor, titleTextColorHover = propsGenerator.titleTextColorHover, titleTextSize = propsGenerator.titleTextSize, titleTextTruncate = propsGenerator.titleTextTruncate, titleTextWeight = propsGenerator.titleTextWeight, titleTextWidth = propsGenerator.titleTextWidth, titleTextWrap = propsGenerator.titleTextWrap, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, elevationClass = propsGenerator.elevationClass, overlayFill = propsGenerator.overlayFill, overlayFillGradient = propsGenerator.overlayFillGradient, overlayOpacity = propsGenerator.overlayOpacity, shapeClass = propsGenerator.shapeClass;
@@ -2,7 +2,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import clsx from 'clsx';
3
3
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
4
4
  import { useStyles } from '../hooks/useStyles/useStyles.js';
5
- import { T as Text } from '../Text-CI2prtf6.js';
5
+ import { T as Text } from '../Text-aaWArShm.js';
6
6
  import { useNotifications, useNotificationsAPI } from '../context/Notifications.js';
7
7
  import '../context/UIContext.js';
8
8
  import '../tslib.es6-Bwu1Cn-t.js';
@@ -1,4 +1,4 @@
1
- export { O as Overlay, a as overlayAppearance, o as overlayConfig } from '../Overlay-CRIofShk.js';
1
+ export { O as Overlay, a as overlayAppearance, o as overlayConfig } from '../Overlay-Be9UCtR9.js';
2
2
  import '../tslib.es6-Bwu1Cn-t.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'clsx';