@itcase/ui 1.6.0 → 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 (116) 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-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-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 +3 -3
  34. package/dist/cjs/components/Checkmark.js +2 -2
  35. package/dist/cjs/components/Chips.js +6 -6
  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 -9
  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 +3 -3
  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 +3 -3
  78. package/dist/components/Checkmark.js +2 -2
  79. package/dist/components/Chips.js +6 -6
  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 -9
  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 +3 -3
  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/types/components/Select/index.d.ts +15 -15
  116. package/package.json +1 -1
@@ -3,8 +3,8 @@ 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 { T as Text } from './Text-CI2prtf6.js';
6
+ import { I as Icon } from './Icon-BzIdIgGY.js';
7
+ import { T as Text } from './Text-aaWArShm.js';
8
8
 
9
9
  var defaultAppearance = {
10
10
  accent: {
@@ -219,9 +219,9 @@ var badgeConfig = {
219
219
  };
220
220
  function Badge(props) {
221
221
  var className = props.className, appearance = props.appearance, dot = props.dot, icon = props.icon, iconSrc = props.iconSrc, value = props.value, isSkeleton = props.isSkeleton, children = props.children;
222
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultApperance, appearance) {
222
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
223
223
  var _a;
224
- return (__assign(__assign({}, resultApperance), (_a = badgeConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
224
+ return (__assign(__assign({}, resultConfig), (_a = badgeConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
225
225
  }, {});
226
226
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
227
227
  var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, textColor = propsGenerator.textColor, textSize = propsGenerator.textSize, dotFillClass = propsGenerator.dotFillClass, iconFill = propsGenerator.iconFill, iconShape = propsGenerator.iconShape, iconSize = propsGenerator.iconSize, positionClass = propsGenerator.positionClass, _a = propsGenerator.shapeClass, shapeClass = _a === void 0 ? 'rounded' : _a, _b = propsGenerator.sizeClass, sizeClass = _b === void 0 ? 'm' : _b;
@@ -5,8 +5,8 @@ var jsxRuntime = require('react/jsx-runtime');
5
5
  var clsx = require('clsx');
6
6
  var useDevicePropsGenerator = require('./cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
7
7
  var useStyles = require('./cjs/hooks/useStyles/useStyles.js');
8
- var Icon = require('./Icon-DU2T-nfY.js');
9
- var Text = require('./Text-CEcBg-F5.js');
8
+ var Icon = require('./Icon-dS-it4rs.js');
9
+ var Text = require('./Text-DwIx33-P.js');
10
10
 
11
11
  var defaultAppearance = {
12
12
  accent: {
@@ -221,9 +221,9 @@ var badgeConfig = {
221
221
  };
222
222
  function Badge(props) {
223
223
  var className = props.className, appearance = props.appearance, dot = props.dot, icon = props.icon, iconSrc = props.iconSrc, value = props.value, isSkeleton = props.isSkeleton, children = props.children;
224
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultApperance, appearance) {
224
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
225
225
  var _a;
226
- return (tslib_es6.__assign(tslib_es6.__assign({}, resultApperance), (_a = badgeConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
226
+ return (tslib_es6.__assign(tslib_es6.__assign({}, resultConfig), (_a = badgeConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
227
227
  }, {});
228
228
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
229
229
  var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, textColor = propsGenerator.textColor, textSize = propsGenerator.textSize, dotFillClass = propsGenerator.dotFillClass, iconFill = propsGenerator.iconFill, iconShape = propsGenerator.iconShape, iconSize = propsGenerator.iconSize, positionClass = propsGenerator.positionClass, _a = propsGenerator.shapeClass, shapeClass = _a === void 0 ? 'rounded' : _a, _b = propsGenerator.sizeClass, sizeClass = _b === void 0 ? 'm' : _b;
@@ -4,10 +4,10 @@ var tslib_es6 = require('./tslib.es6-CCZ3TN_7.js');
4
4
  var jsxRuntime = require('react/jsx-runtime');
5
5
  var React = require('react');
6
6
  var clsx = require('clsx');
7
- var Icon = require('./Icon-DU2T-nfY.js');
7
+ var Icon = require('./Icon-dS-it4rs.js');
8
8
  var Link = require('./Link-UmzWKcxT.js');
9
- var Loader = require('./Loader-rzo8nnRI.js');
10
- var Text = require('./Text-CEcBg-F5.js');
9
+ var Loader = require('./Loader-CZVsMYl6.js');
10
+ var Text = require('./Text-DwIx33-P.js');
11
11
  var useDevicePropsGenerator = require('./cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
12
12
  var useStyles = require('./cjs/hooks/useStyles/useStyles.js');
13
13
 
@@ -251,10 +251,10 @@ var buttonConfig = {
251
251
  },
252
252
  };
253
253
  var Button = React.forwardRef(function Button(props, ref) {
254
- var className = props.className, appearance = props.appearance, label = props.label, Badge = props.Badge, dataTestId = props.dataTestId, dataTour = props.dataTour, href = props.href, _a = props.htmlType, htmlType = _a === void 0 ? 'button' : _a, icon = props.icon, iconAfter = props.iconAfter, iconAfterSrc = props.iconAfterSrc, iconBefore = props.iconBefore, iconBeforeSrc = props.iconBeforeSrc, iconSrc = props.iconSrc, link = props.link, _b = props.loadertype, loadertype = _b === void 0 ? 'simple' : _b, loading = props.loading, rel = props.rel, target = props.target, before = props.before, after = props.after, isDisabled = props.isDisabled, _c = props.isLoading, isLoading = _c === void 0 ? false : _c, onClick = props.onClick, onMouseDown = props.onMouseDown, children = props.children;
255
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
254
+ var className = props.className, appearance = props.appearance, label = props.label, isDisabled = props.isDisabled, Badge = props.Badge, dataTestId = props.dataTestId, dataTour = props.dataTour, href = props.href, _a = props.htmlType, htmlType = _a === void 0 ? 'button' : _a, icon = props.icon, iconAfter = props.iconAfter, iconAfterSrc = props.iconAfterSrc, iconBefore = props.iconBefore, iconBeforeSrc = props.iconBeforeSrc, iconSrc = props.iconSrc, link = props.link, _b = props.loadertype, loadertype = _b === void 0 ? 'simple' : _b, loading = props.loading, rel = props.rel, target = props.target, before = props.before, after = props.after, _c = props.isLoading, isLoading = _c === void 0 ? false : _c, onClick = props.onClick, onMouseDown = props.onMouseDown, children = props.children;
255
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
256
256
  var _a;
257
- return (tslib_es6.__assign(tslib_es6.__assign({}, resultAppearance), (_a = buttonConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
257
+ return (tslib_es6.__assign(tslib_es6.__assign({}, resultConfig), (_a = buttonConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
258
258
  }, {});
259
259
  if (loading !== undefined) {
260
260
  console.warn('DEPRECATED: prop Loading is deprecated, use isLoading');
@@ -2,10 +2,10 @@ import { _ as __assign } from './tslib.es6-Bwu1Cn-t.js';
2
2
  import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import React from 'react';
4
4
  import clsx from 'clsx';
5
- import { I as Icon } from './Icon-BOEOspTF.js';
5
+ import { I as Icon } from './Icon-BzIdIgGY.js';
6
6
  import { a as LinkWrapper } from './Link-aBsZ1d0Q.js';
7
- import { L as Loader } from './Loader-CRN4MAbm.js';
8
- import { T as Text } from './Text-CI2prtf6.js';
7
+ import { L as Loader } from './Loader-BnhUh-g6.js';
8
+ import { T as Text } from './Text-aaWArShm.js';
9
9
  import { useDevicePropsGenerator } from './hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
10
10
  import { useStyles } from './hooks/useStyles/useStyles.js';
11
11
 
@@ -249,10 +249,10 @@ var buttonConfig = {
249
249
  },
250
250
  };
251
251
  var Button = React.forwardRef(function Button(props, ref) {
252
- var className = props.className, appearance = props.appearance, label = props.label, Badge = props.Badge, dataTestId = props.dataTestId, dataTour = props.dataTour, href = props.href, _a = props.htmlType, htmlType = _a === void 0 ? 'button' : _a, icon = props.icon, iconAfter = props.iconAfter, iconAfterSrc = props.iconAfterSrc, iconBefore = props.iconBefore, iconBeforeSrc = props.iconBeforeSrc, iconSrc = props.iconSrc, link = props.link, _b = props.loadertype, loadertype = _b === void 0 ? 'simple' : _b, loading = props.loading, rel = props.rel, target = props.target, before = props.before, after = props.after, isDisabled = props.isDisabled, _c = props.isLoading, isLoading = _c === void 0 ? false : _c, onClick = props.onClick, onMouseDown = props.onMouseDown, children = props.children;
253
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
252
+ var className = props.className, appearance = props.appearance, label = props.label, isDisabled = props.isDisabled, Badge = props.Badge, dataTestId = props.dataTestId, dataTour = props.dataTour, href = props.href, _a = props.htmlType, htmlType = _a === void 0 ? 'button' : _a, icon = props.icon, iconAfter = props.iconAfter, iconAfterSrc = props.iconAfterSrc, iconBefore = props.iconBefore, iconBeforeSrc = props.iconBeforeSrc, iconSrc = props.iconSrc, link = props.link, _b = props.loadertype, loadertype = _b === void 0 ? 'simple' : _b, loading = props.loading, rel = props.rel, target = props.target, before = props.before, after = props.after, _c = props.isLoading, isLoading = _c === void 0 ? false : _c, onClick = props.onClick, onMouseDown = props.onMouseDown, children = props.children;
253
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
254
254
  var _a;
255
- return (__assign(__assign({}, resultAppearance), (_a = buttonConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
255
+ return (__assign(__assign({}, resultConfig), (_a = buttonConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
256
256
  }, {});
257
257
  if (loading !== undefined) {
258
258
  console.warn('DEPRECATED: prop Loading is deprecated, use isLoading');
@@ -18,9 +18,9 @@ var dividerConfig = {
18
18
  };
19
19
  function Divider(props) {
20
20
  var className = props.className, appearance = props.appearance;
21
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultApperance, appearance) {
21
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
22
22
  var _a;
23
- return (tslib_es6.__assign(tslib_es6.__assign({}, resultApperance), (_a = dividerConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
23
+ return (tslib_es6.__assign(tslib_es6.__assign({}, resultConfig), (_a = dividerConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
24
24
  }, {});
25
25
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
26
26
  var directionClass = propsGenerator.directionClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillDisabledClass = propsGenerator.fillDisabledClass, fillHoverClass = propsGenerator.fillHoverClass, _a = propsGenerator.sizeClass, sizeClass = _a === void 0 ? 'xs' : _a, widthClass = propsGenerator.widthClass;
@@ -16,9 +16,9 @@ var dividerConfig = {
16
16
  };
17
17
  function Divider(props) {
18
18
  var className = props.className, appearance = props.appearance;
19
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultApperance, appearance) {
19
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
20
20
  var _a;
21
- return (__assign(__assign({}, resultApperance), (_a = dividerConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
21
+ return (__assign(__assign({}, resultConfig), (_a = dividerConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
22
22
  }, {});
23
23
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
24
24
  var directionClass = propsGenerator.directionClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillDisabledClass = propsGenerator.fillDisabledClass, fillHoverClass = propsGenerator.fillHoverClass, _a = propsGenerator.sizeClass, sizeClass = _a === void 0 ? 'xs' : _a, widthClass = propsGenerator.widthClass;
@@ -6,8 +6,8 @@ var clsx = require('clsx');
6
6
  var useDevicePropsGenerator = require('./cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
7
7
  var useStyles = require('./cjs/hooks/useStyles/useStyles.js');
8
8
  var tslib_es6 = require('./tslib.es6-CCZ3TN_7.js');
9
- var Divider = require('./Divider-D8hUUrwe.js');
10
- var Text = require('./Text-CEcBg-F5.js');
9
+ var Divider = require('./Divider-BQIfjvPR.js');
10
+ var Text = require('./Text-DwIx33-P.js');
11
11
 
12
12
  function Dropdown(props) {
13
13
  var className = props.className, _a = props.animationClose, animationClose = _a === void 0 ? 'dropdown_animation_close' : _a, _b = props.animationOpen, animationOpen = _b === void 0 ? 'dropdown_animation_open' : _b, before = props.before, after = props.after, isOpen = props.isOpen, _c = props.set, set = _c === void 0 ? 'normal' : _c, setIsOpen = props.setIsOpen, children = props.children;
@@ -99,9 +99,9 @@ var dropdownItemConfig = {
99
99
  };
100
100
  function DropdownItem(props) {
101
101
  var className = props.className, appearance = props.appearance, label = props.label, desc = props.desc, isDisabled = props.isDisabled, showDivider = props.showDivider, before = props.before, after = props.after, isActive = props.isActive, isHover = props.isHover, set = props.set, onClick = props.onClick, onMouseEnter = props.onMouseEnter, children = props.children;
102
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
102
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
103
103
  var _a;
104
- return (tslib_es6.__assign(tslib_es6.__assign({}, resultAppearance), (_a = dropdownItemConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
104
+ return (tslib_es6.__assign(tslib_es6.__assign({}, resultConfig), (_a = dropdownItemConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
105
105
  }, {});
106
106
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
107
107
  var directionClass = propsGenerator.directionClass, justifyContentClass = propsGenerator.justifyContentClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillDisabledClass = propsGenerator.fillDisabledClass, fillHoverClass = propsGenerator.fillHoverClass, labelTextAlign = propsGenerator.labelTextAlign, labelTextColor = propsGenerator.labelTextColor, labelTextColorActive = propsGenerator.labelTextColorActive, labelTextColorHover = propsGenerator.labelTextColorHover, labelTextGradient = propsGenerator.labelTextGradient, labelTextSize = propsGenerator.labelTextSize, labelTextStyle = propsGenerator.labelTextStyle, labelTextWeight = propsGenerator.labelTextWeight, labelTextWrap = propsGenerator.labelTextWrap, descTextColor = propsGenerator.descTextColor, descTextColorHover = propsGenerator.descTextColorHover, descTextGradient = propsGenerator.descTextGradient, descTextSize = propsGenerator.descTextSize, descTextStyle = propsGenerator.descTextStyle, descTextWeight = propsGenerator.descTextWeight, descTextWrap = propsGenerator.descTextWrap, dividerDirection = propsGenerator.dividerDirection, dividerFill = propsGenerator.dividerFill, dividerSize = propsGenerator.dividerSize, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, typeClass = propsGenerator.typeClass, widthClass = propsGenerator.widthClass;
@@ -4,8 +4,8 @@ import clsx from 'clsx';
4
4
  import { useDevicePropsGenerator } from './hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
5
5
  import { useStyles } from './hooks/useStyles/useStyles.js';
6
6
  import { _ as __assign } from './tslib.es6-Bwu1Cn-t.js';
7
- import { D as Divider } from './Divider-DhXzYcNF.js';
8
- import { T as Text } from './Text-CI2prtf6.js';
7
+ import { D as Divider } from './Divider-CUFKsm-9.js';
8
+ import { T as Text } from './Text-aaWArShm.js';
9
9
 
10
10
  function Dropdown(props) {
11
11
  var className = props.className, _a = props.animationClose, animationClose = _a === void 0 ? 'dropdown_animation_close' : _a, _b = props.animationOpen, animationOpen = _b === void 0 ? 'dropdown_animation_open' : _b, before = props.before, after = props.after, isOpen = props.isOpen, _c = props.set, set = _c === void 0 ? 'normal' : _c, setIsOpen = props.setIsOpen, children = props.children;
@@ -97,9 +97,9 @@ var dropdownItemConfig = {
97
97
  };
98
98
  function DropdownItem(props) {
99
99
  var className = props.className, appearance = props.appearance, label = props.label, desc = props.desc, isDisabled = props.isDisabled, showDivider = props.showDivider, before = props.before, after = props.after, isActive = props.isActive, isHover = props.isHover, set = props.set, onClick = props.onClick, onMouseEnter = props.onMouseEnter, children = props.children;
100
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
100
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
101
101
  var _a;
102
- return (__assign(__assign({}, resultAppearance), (_a = dropdownItemConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
102
+ return (__assign(__assign({}, resultConfig), (_a = dropdownItemConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
103
103
  }, {});
104
104
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
105
105
  var directionClass = propsGenerator.directionClass, justifyContentClass = propsGenerator.justifyContentClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillDisabledClass = propsGenerator.fillDisabledClass, fillHoverClass = propsGenerator.fillHoverClass, labelTextAlign = propsGenerator.labelTextAlign, labelTextColor = propsGenerator.labelTextColor, labelTextColorActive = propsGenerator.labelTextColorActive, labelTextColorHover = propsGenerator.labelTextColorHover, labelTextGradient = propsGenerator.labelTextGradient, labelTextSize = propsGenerator.labelTextSize, labelTextStyle = propsGenerator.labelTextStyle, labelTextWeight = propsGenerator.labelTextWeight, labelTextWrap = propsGenerator.labelTextWrap, descTextColor = propsGenerator.descTextColor, descTextColorHover = propsGenerator.descTextColorHover, descTextGradient = propsGenerator.descTextGradient, descTextSize = propsGenerator.descTextSize, descTextStyle = propsGenerator.descTextStyle, descTextWeight = propsGenerator.descTextWeight, descTextWrap = propsGenerator.descTextWrap, dividerDirection = propsGenerator.dividerDirection, dividerFill = propsGenerator.dividerFill, dividerSize = propsGenerator.dividerSize, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, typeClass = propsGenerator.typeClass, widthClass = propsGenerator.widthClass;
@@ -23,9 +23,9 @@ var groupConfig = {
23
23
  };
24
24
  var Group = React.forwardRef(function Group(props, ref) {
25
25
  var id = props.id, className = props.className, name = props.name, appearance = props.appearance, dataTestId = props.dataTestId, dataTour = props.dataTour, horizontalScroll = props.horizontalScroll, htmlFor = props.htmlFor, style = props.style, _a = props.tag, Tag = _a === void 0 ? 'div' : _a, onClick = props.onClick, children = props.children;
26
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
26
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
27
27
  var _a;
28
- return (__assign(__assign({}, resultAppearance), (_a = groupConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
28
+ return (__assign(__assign({}, resultConfig), (_a = groupConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
29
29
  }, {});
30
30
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
31
31
  var directionClass = propsGenerator.directionClass, flexGrowClass = propsGenerator.flexGrowClass, justifyContentClass = propsGenerator.justifyContentClass, alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, textColorActiveClass = propsGenerator.textColorActiveClass, textColorClass = propsGenerator.textColorClass, textColorHoverClass = propsGenerator.textColorHoverClass, columnsClass = propsGenerator.columnsClass, contentAlignClass = propsGenerator.contentAlignClass, elevationClass = propsGenerator.elevationClass, heightClass = propsGenerator.heightClass, iconFillHoverClass = propsGenerator.iconFillHoverClass, shapeClass = propsGenerator.shapeClass, stackingClass = propsGenerator.stackingClass, widthClass = propsGenerator.widthClass, wrapClass = propsGenerator.wrapClass;
@@ -25,9 +25,9 @@ var groupConfig = {
25
25
  };
26
26
  var Group = React.forwardRef(function Group(props, ref) {
27
27
  var id = props.id, className = props.className, name = props.name, appearance = props.appearance, dataTestId = props.dataTestId, dataTour = props.dataTour, horizontalScroll = props.horizontalScroll, htmlFor = props.htmlFor, style = props.style, _a = props.tag, Tag = _a === void 0 ? 'div' : _a, onClick = props.onClick, children = props.children;
28
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
28
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
29
29
  var _a;
30
- return (tslib_es6.__assign(tslib_es6.__assign({}, resultAppearance), (_a = groupConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
30
+ return (tslib_es6.__assign(tslib_es6.__assign({}, resultConfig), (_a = groupConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
31
31
  }, {});
32
32
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
33
33
  var directionClass = propsGenerator.directionClass, flexGrowClass = propsGenerator.flexGrowClass, justifyContentClass = propsGenerator.justifyContentClass, alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, textColorActiveClass = propsGenerator.textColorActiveClass, textColorClass = propsGenerator.textColorClass, textColorHoverClass = propsGenerator.textColorHoverClass, columnsClass = propsGenerator.columnsClass, contentAlignClass = propsGenerator.contentAlignClass, elevationClass = propsGenerator.elevationClass, heightClass = propsGenerator.heightClass, iconFillHoverClass = propsGenerator.iconFillHoverClass, shapeClass = propsGenerator.shapeClass, stackingClass = propsGenerator.stackingClass, widthClass = propsGenerator.widthClass, wrapClass = propsGenerator.wrapClass;
@@ -6,7 +6,7 @@ import SVG from 'react-inlinesvg';
6
6
  import { useDevicePropsGenerator } from './hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
7
7
  import { useStyles } from './hooks/useStyles/useStyles.js';
8
8
  import { a as LinkWrapper } from './Link-aBsZ1d0Q.js';
9
- import { T as Tooltip } from './Tooltip-EOu0a93a.js';
9
+ import { T as Tooltip } from './Tooltip-DP32J5V6.js';
10
10
 
11
11
  var iconAppearance = {
12
12
  accent: {
@@ -8,7 +8,7 @@ var SVG = require('react-inlinesvg');
8
8
  var useDevicePropsGenerator = require('./cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
9
9
  var useStyles = require('./cjs/hooks/useStyles/useStyles.js');
10
10
  var Link = require('./Link-UmzWKcxT.js');
11
- var Tooltip = require('./Tooltip-Lhx-Fefx.js');
11
+ var Tooltip = require('./Tooltip-hznDyLwa.js');
12
12
 
13
13
  var iconAppearance = {
14
14
  accent: {
@@ -73,9 +73,9 @@ var inputConfig = {
73
73
  };
74
74
  var Input = React.forwardRef(function Input(props, ref) {
75
75
  var id = props.id, className = props.className, _a = props.type, type = _a === void 0 ? 'text' : _a, name = props.name, appearance = props.appearance, isDisabled = props.isDisabled, autocomplete = props.autocomplete, dataTestId = props.dataTestId, index = props.index, placeholder = props.placeholder, value = props.value, onBlur = props.onBlur, onChange = props.onChange, onFocus = props.onFocus, onKeyDown = props.onKeyDown;
76
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
76
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
77
77
  var _a;
78
- return (tslib_es6.__assign(tslib_es6.__assign({}, resultAppearance), (_a = inputConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
78
+ return (tslib_es6.__assign(tslib_es6.__assign({}, resultConfig), (_a = inputConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
79
79
  }, {});
80
80
  // const stateConfig = state && inputConfig.state && inputConfig.state[state]
81
81
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
@@ -71,9 +71,9 @@ var inputConfig = {
71
71
  };
72
72
  var Input = React.forwardRef(function Input(props, ref) {
73
73
  var id = props.id, className = props.className, _a = props.type, type = _a === void 0 ? 'text' : _a, name = props.name, appearance = props.appearance, isDisabled = props.isDisabled, autocomplete = props.autocomplete, dataTestId = props.dataTestId, index = props.index, placeholder = props.placeholder, value = props.value, onBlur = props.onBlur, onChange = props.onChange, onFocus = props.onFocus, onKeyDown = props.onKeyDown;
74
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
74
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
75
75
  var _a;
76
- return (__assign(__assign({}, resultAppearance), (_a = inputConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
76
+ return (__assign(__assign({}, resultConfig), (_a = inputConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
77
77
  }, {});
78
78
  // const stateConfig = state && inputConfig.state && inputConfig.state[state]
79
79
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
@@ -6,8 +6,8 @@ var React = require('react');
6
6
  var clsx = require('clsx');
7
7
  var useDevicePropsGenerator = require('./cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
8
8
  var useStyles = require('./cjs/hooks/useStyles/useStyles.js');
9
- var Text = require('./Text-CEcBg-F5.js');
10
- var Tooltip = require('./Tooltip-Lhx-Fefx.js');
9
+ var Text = require('./Text-DwIx33-P.js');
10
+ var Tooltip = require('./Tooltip-hznDyLwa.js');
11
11
 
12
12
  var labelAppearanceAccent = {
13
13
  accent: {
@@ -221,9 +221,9 @@ function Label(props) {
221
221
  var _a;
222
222
  (_a = tooltipRef.current) === null || _a === void 0 ? void 0 : _a.closeTooltip();
223
223
  }, []);
224
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultApperance, appearance) {
224
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
225
225
  var _a;
226
- return (tslib_es6.__assign(tslib_es6.__assign({}, resultApperance), (_a = labelConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
226
+ return (tslib_es6.__assign(tslib_es6.__assign({}, resultConfig), (_a = labelConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
227
227
  }, {});
228
228
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
229
229
  var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelTextColor = propsGenerator.labelTextColor, labelTextColorHover = propsGenerator.labelTextColorHover, labelTextSize = propsGenerator.labelTextSize, labelTextWeight = propsGenerator.labelTextWeight, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass, wrapClass = propsGenerator.wrapClass;
@@ -4,8 +4,8 @@ import { useRef, 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 { T as Text } from './Text-CI2prtf6.js';
8
- import { T as Tooltip } from './Tooltip-EOu0a93a.js';
7
+ import { T as Text } from './Text-aaWArShm.js';
8
+ import { T as Tooltip } from './Tooltip-DP32J5V6.js';
9
9
 
10
10
  var labelAppearanceAccent = {
11
11
  accent: {
@@ -219,9 +219,9 @@ function Label(props) {
219
219
  var _a;
220
220
  (_a = tooltipRef.current) === null || _a === void 0 ? void 0 : _a.closeTooltip();
221
221
  }, []);
222
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultApperance, appearance) {
222
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
223
223
  var _a;
224
- return (__assign(__assign({}, resultApperance), (_a = labelConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
224
+ return (__assign(__assign({}, resultConfig), (_a = labelConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
225
225
  }, {});
226
226
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
227
227
  var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelTextColor = propsGenerator.labelTextColor, labelTextColorHover = propsGenerator.labelTextColorHover, labelTextSize = propsGenerator.labelTextSize, labelTextWeight = propsGenerator.labelTextWeight, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass, wrapClass = propsGenerator.wrapClass;
@@ -3,7 +3,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
3
3
  import clsx from 'clsx';
4
4
  import { useDevicePropsGenerator } from './hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
5
5
  import { useStyles } from './hooks/useStyles/useStyles.js';
6
- import { T as Text } from './Text-CI2prtf6.js';
6
+ import { T as Text } from './Text-aaWArShm.js';
7
7
 
8
8
  var loaderAppearanceAccent = {
9
9
  accentPrimary: {
@@ -51,9 +51,9 @@ var loaderConfig = {
51
51
  };
52
52
  function Loader(props) {
53
53
  var className = props.className, type = props.type, appearance = props.appearance, text = props.text, isSkeleton = props.isSkeleton, children = props.children;
54
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultApperance, appearance) {
54
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
55
55
  var _a;
56
- return (__assign(__assign({}, resultApperance), (_a = loaderConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
56
+ return (__assign(__assign({}, resultConfig), (_a = loaderConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
57
57
  }, {});
58
58
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
59
59
  var fillClass = propsGenerator.fillClass, textColor = propsGenerator.textColor, textSize = propsGenerator.textSize, heightClass = propsGenerator.heightClass, itemFillClass = propsGenerator.itemFillClass, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
@@ -5,7 +5,7 @@ var jsxRuntime = require('react/jsx-runtime');
5
5
  var clsx = require('clsx');
6
6
  var useDevicePropsGenerator = require('./cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
7
7
  var useStyles = require('./cjs/hooks/useStyles/useStyles.js');
8
- var Text = require('./Text-CEcBg-F5.js');
8
+ var Text = require('./Text-DwIx33-P.js');
9
9
 
10
10
  var loaderAppearanceAccent = {
11
11
  accentPrimary: {
@@ -53,9 +53,9 @@ var loaderConfig = {
53
53
  };
54
54
  function Loader(props) {
55
55
  var className = props.className, type = props.type, appearance = props.appearance, text = props.text, isSkeleton = props.isSkeleton, children = props.children;
56
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultApperance, appearance) {
56
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
57
57
  var _a;
58
- return (tslib_es6.__assign(tslib_es6.__assign({}, resultApperance), (_a = loaderConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
58
+ return (tslib_es6.__assign(tslib_es6.__assign({}, resultConfig), (_a = loaderConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
59
59
  }, {});
60
60
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
61
61
  var fillClass = propsGenerator.fillClass, textColor = propsGenerator.textColor, textSize = propsGenerator.textSize, heightClass = propsGenerator.heightClass, itemFillClass = propsGenerator.itemFillClass, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
@@ -16,9 +16,9 @@ var overlayConfig = {
16
16
  };
17
17
  function Overlay(props) {
18
18
  var className = props.className, type = props.type, appearance = props.appearance, dataTestId = props.dataTestId, dataTour = props.dataTour, isOverlay = props.isOverlay, onClick = props.onClick;
19
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
19
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
20
20
  var _a;
21
- return (__assign(__assign({}, resultAppearance), (_a = overlayConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
21
+ return (__assign(__assign({}, resultConfig), (_a = overlayConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
22
22
  }, {});
23
23
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
24
24
  var fillClass = propsGenerator.fillClass, fillGradientClass = propsGenerator.fillGradientClass, opacityClass = propsGenerator.opacityClass;
@@ -18,9 +18,9 @@ var overlayConfig = {
18
18
  };
19
19
  function Overlay(props) {
20
20
  var className = props.className, type = props.type, appearance = props.appearance, dataTestId = props.dataTestId, dataTour = props.dataTour, isOverlay = props.isOverlay, onClick = props.onClick;
21
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
21
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
22
22
  var _a;
23
- return (tslib_es6.__assign(tslib_es6.__assign({}, resultAppearance), (_a = overlayConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
23
+ return (tslib_es6.__assign(tslib_es6.__assign({}, resultConfig), (_a = overlayConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
24
24
  }, {});
25
25
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
26
26
  var fillClass = propsGenerator.fillClass, fillGradientClass = propsGenerator.fillGradientClass, opacityClass = propsGenerator.opacityClass;
@@ -21,9 +21,9 @@ var textConfig = {
21
21
  };
22
22
  function Text(props) {
23
23
  var className = props.className, type = props.type, appearance = props.appearance, cursor = props.cursor, dataTestId = props.dataTestId, dataTour = props.dataTour, htmlFor = props.htmlFor, mode = props.mode, _a = props.tag, Tag = _a === void 0 ? 'span' : _a, before = props.before, after = props.after, onClick = props.onClick, onDoubleClick = props.onDoubleClick, children = props.children;
24
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
24
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
25
25
  var _a;
26
- return (tslib_es6.__assign(tslib_es6.__assign({}, resultAppearance), (_a = textConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
26
+ return (tslib_es6.__assign(tslib_es6.__assign({}, resultConfig), (_a = textConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
27
27
  }, {});
28
28
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
29
29
  var textAlignClass = propsGenerator.textAlignClass, textColorActiveClass = propsGenerator.textColorActiveClass, textColorClass = propsGenerator.textColorClass, textColorGradientClass = propsGenerator.textColorGradientClass, textColorHoverClass = propsGenerator.textColorHoverClass, textStyleClass = propsGenerator.textStyleClass, textTruncateClass = propsGenerator.textTruncateClass, textWeightClass = propsGenerator.textWeightClass, textWrapClass = propsGenerator.textWrapClass, cursorClass = propsGenerator.cursorClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
@@ -19,9 +19,9 @@ var textConfig = {
19
19
  };
20
20
  function Text(props) {
21
21
  var className = props.className, type = props.type, appearance = props.appearance, cursor = props.cursor, dataTestId = props.dataTestId, dataTour = props.dataTour, htmlFor = props.htmlFor, mode = props.mode, _a = props.tag, Tag = _a === void 0 ? 'span' : _a, before = props.before, after = props.after, onClick = props.onClick, onDoubleClick = props.onDoubleClick, children = props.children;
22
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
22
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
23
23
  var _a;
24
- return (__assign(__assign({}, resultAppearance), (_a = textConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
24
+ return (__assign(__assign({}, resultConfig), (_a = textConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
25
25
  }, {});
26
26
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
27
27
  var textAlignClass = propsGenerator.textAlignClass, textColorActiveClass = propsGenerator.textColorActiveClass, textColorClass = propsGenerator.textColorClass, textColorGradientClass = propsGenerator.textColorGradientClass, textColorHoverClass = propsGenerator.textColorHoverClass, textStyleClass = propsGenerator.textStyleClass, textTruncateClass = propsGenerator.textTruncateClass, textWeightClass = propsGenerator.textWeightClass, textWrapClass = propsGenerator.textWrapClass, cursorClass = propsGenerator.cursorClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
@@ -22,9 +22,9 @@ var titleConfig = {
22
22
  function Title(props) {
23
23
  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, sizeDesktop = props.sizeDesktop, sizeMobile = props.sizeMobile, sizeTablet = props.sizeTablet, _b = props.tag, tag = _b === void 0 ? 'span' : _b, before = props.before, after = props.after, isSkeleton = props.isSkeleton, onClick = props.onClick, children = props.children;
24
24
  var _c = useUserDeviceContext(), isMobile = _c.isMobile, isTablet = _c.isTablet, isDesktop = _c.isDesktop;
25
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
25
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
26
26
  var _a;
27
- return (__assign(__assign({}, resultAppearance), (_a = titleConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
27
+ return (__assign(__assign({}, resultConfig), (_a = titleConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
28
28
  }, {});
29
29
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
30
30
  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, dataTestId = propsGenerator.dataTestId, heightClass = propsGenerator.heightClass, svgFillClass = propsGenerator.svgFillClass, svgFillHoverClass = propsGenerator.svgFillHoverClass, typeClass = propsGenerator.typeClass, widthClass = propsGenerator.widthClass, wrapperDirectionClass = propsGenerator.wrapperDirectionClass;
@@ -24,9 +24,9 @@ var titleConfig = {
24
24
  function Title(props) {
25
25
  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, sizeDesktop = props.sizeDesktop, sizeMobile = props.sizeMobile, sizeTablet = props.sizeTablet, _b = props.tag, tag = _b === void 0 ? 'span' : _b, before = props.before, after = props.after, isSkeleton = props.isSkeleton, onClick = props.onClick, children = props.children;
26
26
  var _c = UIContext.useUserDeviceContext(), isMobile = _c.isMobile, isTablet = _c.isTablet, isDesktop = _c.isDesktop;
27
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
27
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
28
28
  var _a;
29
- return (tslib_es6.__assign(tslib_es6.__assign({}, resultAppearance), (_a = titleConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
29
+ return (tslib_es6.__assign(tslib_es6.__assign({}, resultConfig), (_a = titleConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
30
30
  }, {});
31
31
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
32
32
  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, dataTestId = propsGenerator.dataTestId, heightClass = propsGenerator.heightClass, svgFillClass = propsGenerator.svgFillClass, svgFillHoverClass = propsGenerator.svgFillHoverClass, typeClass = propsGenerator.typeClass, widthClass = propsGenerator.widthClass, wrapperDirectionClass = propsGenerator.wrapperDirectionClass;
@@ -4,8 +4,8 @@ import React, { useRef, useState, useCallback, useImperativeHandle } 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 { T as Text } from './Text-CI2prtf6.js';
8
- import { T as Title } from './Title-CaXw1KBQ.js';
7
+ import { T as Text } from './Text-aaWArShm.js';
8
+ import { T as Title } from './Title--_epIXkC.js';
9
9
 
10
10
  var tooltipAppearance = {
11
11
  surfacePrimary: {
@@ -78,9 +78,9 @@ var Tooltip = React.forwardRef(function Tooltip(props, ref) {
78
78
  closeTooltip: closeTooltip,
79
79
  isTooltipVisible: isTooltipVisible,
80
80
  }); }, [isTooltipVisible, openTooltip, closeTooltip]);
81
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultApperance, appearance) {
81
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
82
82
  var _a;
83
- return (__assign(__assign({}, resultApperance), (_a = tooltipConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
83
+ return (__assign(__assign({}, resultConfig), (_a = tooltipConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
84
84
  }, {});
85
85
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
86
86
  var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, alignmentClass = propsGenerator.alignmentClass, fillClass = propsGenerator.fillClass, titleSize = propsGenerator.titleSize, titleTextColor = propsGenerator.titleTextColor, titleTextWeight = propsGenerator.titleTextWeight, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, textColor = propsGenerator.textColor, textSize = propsGenerator.textSize, elevationClass = propsGenerator.elevationClass, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
@@ -6,8 +6,8 @@ var React = require('react');
6
6
  var clsx = require('clsx');
7
7
  var useDevicePropsGenerator = require('./cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
8
8
  var useStyles = require('./cjs/hooks/useStyles/useStyles.js');
9
- var Text = require('./Text-CEcBg-F5.js');
10
- var Title = require('./Title-C4xUtigh.js');
9
+ var Text = require('./Text-DwIx33-P.js');
10
+ var Title = require('./Title-ByfOyy-n.js');
11
11
 
12
12
  var tooltipAppearance = {
13
13
  surfacePrimary: {
@@ -80,9 +80,9 @@ var Tooltip = React.forwardRef(function Tooltip(props, ref) {
80
80
  closeTooltip: closeTooltip,
81
81
  isTooltipVisible: isTooltipVisible,
82
82
  }); }, [isTooltipVisible, openTooltip, closeTooltip]);
83
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultApperance, appearance) {
83
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
84
84
  var _a;
85
- return (tslib_es6.__assign(tslib_es6.__assign({}, resultApperance), (_a = tooltipConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
85
+ return (tslib_es6.__assign(tslib_es6.__assign({}, resultConfig), (_a = tooltipConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
86
86
  }, {});
87
87
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
88
88
  var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, alignmentClass = propsGenerator.alignmentClass, fillClass = propsGenerator.fillClass, titleSize = propsGenerator.titleSize, titleTextColor = propsGenerator.titleTextColor, titleTextWeight = propsGenerator.titleTextWeight, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, textColor = propsGenerator.textColor, textSize = propsGenerator.textSize, elevationClass = propsGenerator.elevationClass, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
@@ -8,9 +8,9 @@ var castArray = require('lodash/castArray');
8
8
  var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
9
9
  var useStyles = require('../hooks/useStyles/useStyles.js');
10
10
  var _default = require('@itcase/icons/default');
11
- var Divider = require('../../Divider-D8hUUrwe.js');
12
- var Icon = require('../../Icon-DU2T-nfY.js');
13
- var Text = require('../../Text-CEcBg-F5.js');
11
+ var Divider = require('../../Divider-BQIfjvPR.js');
12
+ var Icon = require('../../Icon-dS-it4rs.js');
13
+ var Text = require('../../Text-DwIx33-P.js');
14
14
  require('lodash/camelCase');
15
15
  require('lodash/upperFirst');
16
16
  require('../context/Notifications.js');
@@ -24,8 +24,8 @@ require('lodash/maxBy');
24
24
  require('../hooks/useStyles/styleAttributes.js');
25
25
  require('react-inlinesvg');
26
26
  require('../../Link-UmzWKcxT.js');
27
- require('../../Tooltip-Lhx-Fefx.js');
28
- require('../../Title-C4xUtigh.js');
27
+ require('../../Tooltip-hznDyLwa.js');
28
+ require('../../Title-ByfOyy-n.js');
29
29
 
30
30
  var accordionAppearance = {
31
31
  dev: {},
@@ -52,9 +52,9 @@ function AccordionItem(props) {
52
52
  };
53
53
  onClick && onClick(thisItemData);
54
54
  }, [id, title, content, isExpanded, onClick]);
55
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultApperance, appearance) {
55
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
56
56
  var _a;
57
- return (tslib_es6.__assign(tslib_es6.__assign({}, resultApperance), (_a = accordionItemConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
57
+ return (tslib_es6.__assign(tslib_es6.__assign({}, resultConfig), (_a = accordionItemConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
58
58
  }, {});
59
59
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
60
60
  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;
@@ -118,9 +118,9 @@ function Accordion(props) {
118
118
  }
119
119
  return [];
120
120
  }, [children, items, expandedItems, onClickAccordionItem]);
121
- var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
121
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
122
122
  var _a;
123
- return (tslib_es6.__assign(tslib_es6.__assign({}, resultAppearance), (_a = accordionConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
123
+ return (tslib_es6.__assign(tslib_es6.__assign({}, resultConfig), (_a = accordionConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
124
124
  }, {});
125
125
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
126
126
  var directionClass = propsGenerator.directionClass, fillClass = propsGenerator.fillClass, borderColorClass = propsGenerator.borderColorClass, shapeClass = propsGenerator.shapeClass, widthClass = propsGenerator.widthClass;