@itcase/ui 1.4.6 → 1.4.7

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 (249) hide show
  1. package/dist/{Badge-C68XnlcL.js → Badge-BxT2_kz_.js} +1 -1
  2. package/dist/{Badge-C6SNRExV.js → Badge-DnWTbwXq.js} +1 -1
  3. package/dist/{Button-WZZpsxTk.js → Button-BiJZz4Bx.js} +9 -9
  4. package/dist/{Button-Bsrw4D7p.js → Button-xYLCmT3D.js} +9 -9
  5. package/dist/{DropdownItem-BiiEhR49.js → DropdownItem-NllzSt5M.js} +3 -3
  6. package/dist/{DropdownItem-g5jWbyJy.js → DropdownItem-mr__S8vt.js} +3 -3
  7. package/dist/{Group-Dz8xytje.js → Group-BICb8bYQ.js} +2 -2
  8. package/dist/{Group-Cq4AQPqb.js → Group-qq4Iisll.js} +2 -2
  9. package/dist/{Icon-GVGrUu_Z.js → Icon-BcBOnVKH.js} +4 -4
  10. package/dist/{Icon-htF_V35Y.js → Icon-OJ_3E3eM.js} +4 -4
  11. package/dist/{Input-COFdaiTe.js → Input-DHJIVk1z.js} +2 -2
  12. package/dist/{Input-Dwvk-poq.js → Input-DiFnIFT7.js} +2 -2
  13. package/dist/{Label-DF2a2Mlx.js → Label-D-LcvthP.js} +1 -1
  14. package/dist/{Label-I9WNpCXa.js → Label-y2hx5Q81.js} +1 -1
  15. package/dist/{Link-B38Hn4G2.js → Link-BnqN6ysn.js} +2 -2
  16. package/dist/{Link-BhJ5BdyS.js → Link-DaKqf1pb.js} +2 -2
  17. package/dist/{Loader-DpYaDhe9.js → Loader-DdKHrLnw.js} +3 -3
  18. package/dist/{Loader-D4_r7LML.js → Loader-VK3q7PBN.js} +3 -3
  19. package/dist/{Overlay-BKh07Vb2.js → Overlay-CZixnXZ6.js} +2 -2
  20. package/dist/{Overlay-DiCjwUv4.js → Overlay-Myen2mqz.js} +2 -2
  21. package/dist/Title-BLGDdlnX.js +55 -0
  22. package/dist/Title-Byi9vhDt.js +51 -0
  23. package/dist/{Tooltip-BYgzNVYI.js → Tooltip-5lQyt5-Y.js} +1 -1
  24. package/dist/{Tooltip-DpBQQoNo.js → Tooltip-DRta8lK_.js} +1 -1
  25. package/dist/cjs/components/Accordion.js +8 -8
  26. package/dist/cjs/components/Avatar.js +4 -4
  27. package/dist/cjs/components/Badge.js +5 -5
  28. package/dist/cjs/components/Breadcrumbs.js +4 -4
  29. package/dist/cjs/components/Button.js +7 -7
  30. package/dist/cjs/components/Cell.js +5 -5
  31. package/dist/cjs/components/Chips.js +60 -19
  32. package/dist/cjs/components/Choice.js +7 -7
  33. package/dist/cjs/components/Code.js +2 -2
  34. package/dist/cjs/components/CookiesWarning.js +8 -8
  35. package/dist/cjs/components/DadataHintField.js +1 -1
  36. package/dist/cjs/components/DatePicker.js +36 -11
  37. package/dist/cjs/components/Drawer.js +2 -2
  38. package/dist/cjs/components/Dropdown.js +2 -2
  39. package/dist/cjs/components/Group.js +1 -1
  40. package/dist/cjs/components/HeroTitle.js +2 -2
  41. package/dist/cjs/components/Icon.js +4 -4
  42. package/dist/cjs/components/Input.js +1 -1
  43. package/dist/cjs/components/InputMask.js +2 -2
  44. package/dist/cjs/components/InputPassword.js +6 -6
  45. package/dist/cjs/components/Label.js +3 -3
  46. package/dist/cjs/components/Link.js +1 -1
  47. package/dist/cjs/components/List.js +1 -1
  48. package/dist/cjs/components/Loader.js +1 -1
  49. package/dist/cjs/components/Logo.js +1 -1
  50. package/dist/cjs/components/MenuItem.js +3 -3
  51. package/dist/cjs/components/Modal.js +3 -3
  52. package/dist/cjs/components/Notification.js +2 -2
  53. package/dist/cjs/components/Overlay.js +1 -1
  54. package/dist/cjs/components/Pagination.js +7 -7
  55. package/dist/cjs/components/Panel.js +3 -3
  56. package/dist/cjs/components/Radio.js +2 -2
  57. package/dist/cjs/components/Response.js +7 -7
  58. package/dist/cjs/components/Search.js +6 -6
  59. package/dist/cjs/components/Segmented.js +13 -3
  60. package/dist/cjs/components/Select.js +8 -8
  61. package/dist/cjs/components/Swiper.js +1 -1
  62. package/dist/cjs/components/Switch.js +2 -2
  63. package/dist/cjs/components/Tab.js +5 -5
  64. package/dist/cjs/components/Textarea.js +2 -2
  65. package/dist/cjs/components/Tile.js +5 -5
  66. package/dist/cjs/components/Title.js +2 -2
  67. package/dist/cjs/components/Tooltip.js +2 -2
  68. package/dist/cjs/components/Video.js +5 -5
  69. package/dist/components/Accordion.js +8 -8
  70. package/dist/components/Avatar.js +4 -4
  71. package/dist/components/Badge.js +5 -5
  72. package/dist/components/Breadcrumbs.js +4 -4
  73. package/dist/components/Button.js +7 -7
  74. package/dist/components/Cell.js +5 -5
  75. package/dist/components/Chips.js +60 -19
  76. package/dist/components/Choice.js +7 -7
  77. package/dist/components/Code.js +2 -2
  78. package/dist/components/CookiesWarning.js +8 -8
  79. package/dist/components/DadataHintField.js +1 -1
  80. package/dist/components/DatePicker.js +36 -11
  81. package/dist/components/Drawer.js +2 -2
  82. package/dist/components/Dropdown.js +2 -2
  83. package/dist/components/Group.js +1 -1
  84. package/dist/components/HeroTitle.js +2 -2
  85. package/dist/components/Icon.js +4 -4
  86. package/dist/components/Input.js +1 -1
  87. package/dist/components/InputMask.js +2 -2
  88. package/dist/components/InputPassword.js +6 -6
  89. package/dist/components/Label.js +3 -3
  90. package/dist/components/Link.js +1 -1
  91. package/dist/components/List.js +1 -1
  92. package/dist/components/Loader.js +1 -1
  93. package/dist/components/Logo.js +1 -1
  94. package/dist/components/MenuItem.js +3 -3
  95. package/dist/components/Modal.js +3 -3
  96. package/dist/components/Notification.js +2 -2
  97. package/dist/components/Overlay.js +1 -1
  98. package/dist/components/Pagination.js +7 -7
  99. package/dist/components/Panel.js +3 -3
  100. package/dist/components/Radio.js +2 -2
  101. package/dist/components/Response.js +7 -7
  102. package/dist/components/Search.js +6 -6
  103. package/dist/components/Segmented.js +13 -3
  104. package/dist/components/Select.js +8 -8
  105. package/dist/components/Swiper.js +1 -1
  106. package/dist/components/Switch.js +2 -2
  107. package/dist/components/Tab.js +5 -5
  108. package/dist/components/Textarea.js +2 -2
  109. package/dist/components/Tile.js +5 -5
  110. package/dist/components/Title.js +2 -2
  111. package/dist/components/Tooltip.js +2 -2
  112. package/dist/components/Video.js +5 -5
  113. package/dist/css/components/Cell/Cell.css +14 -34
  114. package/dist/css/components/HeroTitle/HeroTitle.css +11 -13
  115. package/dist/css/components/Image/Image.css +11 -13
  116. package/dist/css/components/Loader/Loader.css +19 -0
  117. package/dist/css/components/Title/Title.css +11 -13
  118. package/dist/css/components/Tooltip/Tooltip.css +4 -4
  119. package/dist/css/styles/fill/fill.css +6 -6
  120. package/dist/css/styles/fill/fill_active.css +1 -1
  121. package/dist/css/styles/fill/fill_active_hover.css +4 -4
  122. package/dist/css/styles/fill/fill_disabled.css +8 -0
  123. package/dist/css/styles/text-color/text-color.css +4 -4
  124. package/dist/css/styles/text-color/text-color_disabled.css +13 -0
  125. package/dist/stories/Accordion.mdx +1 -1
  126. package/dist/stories/AccordionItem.mdx +1 -1
  127. package/dist/stories/Avatar.mdx +1 -1
  128. package/dist/stories/Badge.mdx +13 -0
  129. package/dist/stories/Button.mdx +12 -0
  130. package/dist/stories/Checkbox.mdx +12 -0
  131. package/dist/stories/Checkmark.mdx +10 -0
  132. package/dist/stories/Chips.mdx +37 -0
  133. package/dist/stories/Dev.mdx +3 -3
  134. package/dist/stories/Elevation.mdx +3 -3
  135. package/dist/stories/Label.mdx +11 -0
  136. package/dist/stories/Loader.mdx +11 -0
  137. package/dist/stories/Logo.mdx +10 -5
  138. package/dist/stories/Modal.mdx +15 -0
  139. package/dist/stories/Response.mdx +11 -0
  140. package/dist/stories/Tab.mdx +27 -0
  141. package/dist/stories/Tile.mdx +11 -0
  142. package/dist/stories/Title.mdx +1 -1
  143. package/dist/types/appearance/default/defaultAccent.d.ts +33 -0
  144. package/dist/types/appearance/default/defaultDanger.d.ts +33 -0
  145. package/dist/types/appearance/default/defaultDisabled.d.ts +33 -0
  146. package/dist/types/appearance/default/defaultError.d.ts +33 -0
  147. package/dist/types/appearance/default/defaultInfo.d.ts +33 -0
  148. package/dist/types/appearance/default/defaultPrimary.d.ts +33 -0
  149. package/dist/types/appearance/default/defaultSecondary.d.ts +33 -0
  150. package/dist/types/appearance/default/defaultSuccess.d.ts +33 -0
  151. package/dist/types/appearance/default/defaultSurface.d.ts +33 -0
  152. package/dist/types/appearance/default/defaultWarning.d.ts +33 -0
  153. package/dist/types/appearance/index.d.ts +11 -2
  154. package/dist/types/components/Avatar/Avatar.interface.d.ts +1 -1
  155. package/dist/types/components/Button/appearance/buttonInfo.d.ts +2 -2
  156. package/dist/types/components/Chips/appearance/chipsAccent.d.ts +9 -0
  157. package/dist/types/components/Chips/appearance/chipsDanger.d.ts +2 -0
  158. package/dist/types/components/Chips/appearance/chipsDisabled.d.ts +9 -0
  159. package/dist/types/components/Chips/appearance/chipsError.d.ts +2 -0
  160. package/dist/types/components/Chips/appearance/chipsInfo.d.ts +2 -0
  161. package/dist/types/components/Chips/appearance/chipsPrimary.d.ts +8 -0
  162. package/dist/types/components/Chips/appearance/chipsSecondary.d.ts +9 -0
  163. package/dist/types/components/Chips/appearance/chipsSize.d.ts +2 -0
  164. package/dist/types/components/Chips/appearance/chipsStyle.d.ts +2 -0
  165. package/dist/types/components/Chips/appearance/chipsSuccess.d.ts +2 -0
  166. package/dist/types/components/Chips/appearance/chipsSurface.d.ts +21 -0
  167. package/dist/types/components/Chips/appearance/chipsWarning.d.ts +2 -0
  168. package/dist/types/components/Grid/stories/args.d.ts +5 -5
  169. package/dist/types/components/Group/stories/args.d.ts +5 -5
  170. package/dist/types/components/Tab/stories/args.d.ts +17 -17
  171. package/dist/types/types/componentProps/align.d.ts +1 -1
  172. package/dist/types/types/componentProps/alignDirection.d.ts +1 -1
  173. package/dist/types/types/componentProps/alignment.d.ts +1 -1
  174. package/dist/types/types/componentProps/borderColor.d.ts +1 -1
  175. package/dist/types/types/componentProps/borderColorHover.d.ts +1 -1
  176. package/dist/types/types/componentProps/borderType.d.ts +1 -1
  177. package/dist/types/types/componentProps/borderWidth.d.ts +1 -1
  178. package/dist/types/types/componentProps/direction.d.ts +1 -1
  179. package/dist/types/types/componentProps/elevation.d.ts +1 -1
  180. package/dist/types/types/componentProps/fill.d.ts +1 -1
  181. package/dist/types/types/componentProps/fillGradient.d.ts +1 -1
  182. package/dist/types/types/componentProps/fillHover.d.ts +1 -1
  183. package/dist/types/types/componentProps/fillType.d.ts +1 -1
  184. package/dist/types/types/componentProps/flexAlign.d.ts +1 -1
  185. package/dist/types/types/componentProps/flexGrow.d.ts +1 -1
  186. package/dist/types/types/componentProps/flexJustifyContent.d.ts +1 -1
  187. package/dist/types/types/componentProps/flexWrap.d.ts +1 -1
  188. package/dist/types/types/componentProps/gridAlign.d.ts +1 -1
  189. package/dist/types/types/componentProps/gridAlignSelf.d.ts +1 -1
  190. package/dist/types/types/componentProps/gridJustifyItems.d.ts +1 -1
  191. package/dist/types/types/componentProps/gridJustifySelf.d.ts +1 -1
  192. package/dist/types/types/componentProps/height.d.ts +1 -1
  193. package/dist/types/types/componentProps/horizontalResizeMode.d.ts +1 -1
  194. package/dist/types/types/componentProps/iconFillSize.d.ts +1 -1
  195. package/dist/types/types/componentProps/iconSize.d.ts +1 -1
  196. package/dist/types/types/componentProps/itemColor.d.ts +1 -1
  197. package/dist/types/types/componentProps/justifyContent.d.ts +1 -1
  198. package/dist/types/types/componentProps/overflow.d.ts +1 -1
  199. package/dist/types/types/componentProps/position.d.ts +1 -1
  200. package/dist/types/types/componentProps/resizeMode.d.ts +1 -1
  201. package/dist/types/types/componentProps/shape.d.ts +1 -1
  202. package/dist/types/types/componentProps/size.d.ts +1 -1
  203. package/dist/types/types/componentProps/sizeOption.d.ts +1 -1
  204. package/dist/types/types/componentProps/sizePX.d.ts +1 -1
  205. package/dist/types/types/componentProps/state.d.ts +1 -1
  206. package/dist/types/types/componentProps/svgFill.d.ts +1 -1
  207. package/dist/types/types/componentProps/textAlign.d.ts +1 -1
  208. package/dist/types/types/componentProps/textColor.d.ts +1 -1
  209. package/dist/types/types/componentProps/textColorActive.d.ts +1 -1
  210. package/dist/types/types/componentProps/textColorHover.d.ts +1 -1
  211. package/dist/types/types/componentProps/textGradient.d.ts +1 -1
  212. package/dist/types/types/componentProps/textSize.d.ts +1 -1
  213. package/dist/types/types/componentProps/textStyle.d.ts +1 -1
  214. package/dist/types/types/componentProps/textTag.d.ts +1 -1
  215. package/dist/types/types/componentProps/textWeight.d.ts +1 -1
  216. package/dist/types/types/componentProps/textWrap.d.ts +1 -1
  217. package/dist/types/types/componentProps/titleSize.d.ts +2 -2
  218. package/dist/types/types/componentProps/type.d.ts +1 -1
  219. package/dist/types/types/componentProps/underline.d.ts +1 -1
  220. package/dist/types/types/componentProps/verticalContentAlign.d.ts +1 -1
  221. package/dist/types/types/componentProps/verticalResizeMode.d.ts +1 -1
  222. package/dist/types/types/componentProps/width.d.ts +1 -1
  223. package/dist/types/types/componentProps/wrap.d.ts +1 -1
  224. package/package.json +17 -12
  225. package/dist/Title-BWWyRwLY.js +0 -52
  226. package/dist/Title-Dck3eHNM.js +0 -48
  227. package/dist/cjs/components/Card.js +0 -28
  228. package/dist/components/Card.js +0 -26
  229. package/dist/css/components/Card/Card.css +0 -18
  230. package/dist/css/tokens/colors.css +0 -126
  231. package/dist/css/tokens/elevation.css +0 -10
  232. package/dist/css/tokens/settings.css +0 -31
  233. package/dist/css/tokens/typography.css +0 -130
  234. package/dist/stories/Appearance.mdx +0 -35
  235. package/dist/stories/Group.mdx +0 -9
  236. package/dist/stories/Size.mdx +0 -35
  237. package/dist/stories/Skeleton.mdx +0 -9
  238. package/dist/stories/State.mdx +0 -19
  239. package/dist/types/components/Card/Card.d.ts +0 -3
  240. package/dist/types/components/Card/Card.interface.d.ts +0 -30
  241. package/dist/types/components/Card/index.d.ts +0 -1
  242. package/dist/types/components/Flex/stories/args.d.ts +0 -80
  243. /package/dist/stories/{mixin_animation.mdx → MixinAnimation.mdx} +0 -0
  244. /package/dist/stories/{mixin_dark-light.mdx → MixinDarkLight.mdx} +0 -0
  245. /package/dist/stories/{mixin_elevation.mdx → MixinElevation.mdx} +0 -0
  246. /package/dist/stories/{mixin_fill-gradient.mdx → MixinFillGradient.mdx} +0 -0
  247. /package/dist/stories/{mixin_typography.mdx → MixinTypography.mdx} +0 -0
  248. /package/dist/stories/{mixin_utils.mdx → MixinUtils.mdx} +0 -0
  249. /package/dist/types/appearance/{defaultAppearance.d.ts → default/defaultAppearance.d.ts} +0 -0
@@ -3,7 +3,7 @@ import { jsxs, jsx } from 'react/jsx-runtime';
3
3
  import clsx from 'clsx';
4
4
  import { useDevicePropsGenerator } from './hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
5
5
  import { useStyles } from './hooks/useStyles/useStyles.js';
6
- import { I as Icon } from './Icon-htF_V35Y.js';
6
+ import { I as Icon } from './Icon-OJ_3E3eM.js';
7
7
  import { T as Text } from './Text-C6NSmetx.js';
8
8
 
9
9
  var defaultAppearance = {
@@ -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 Icon = require('./Icon-GVGrUu_Z.js');
8
+ var Icon = require('./Icon-BcBOnVKH.js');
9
9
  var Text = require('./Text-C49zj3jO.js');
10
10
 
11
11
  var defaultAppearance = {
@@ -4,12 +4,12 @@ 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-BcBOnVKH.js');
8
+ var Link = require('./Link-BnqN6ysn.js');
9
+ var Loader = require('./Loader-DdKHrLnw.js');
10
+ var Text = require('./Text-C49zj3jO.js');
7
11
  var useDevicePropsGenerator = require('./cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
8
12
  var useStyles = require('./cjs/hooks/useStyles/useStyles.js');
9
- var Icon = require('./Icon-GVGrUu_Z.js');
10
- var Link = require('./Link-B38Hn4G2.js');
11
- var Loader = require('./Loader-DpYaDhe9.js');
12
- var Text = require('./Text-C49zj3jO.js');
13
13
 
14
14
  var buttonAppearanceAccent = {
15
15
  accent: {
@@ -87,18 +87,18 @@ var buttonAppearanceInfo = {
87
87
  info: {
88
88
  fill: 'accentPrimary',
89
89
  fillHover: 'accentPrimaryHover',
90
- borderColor: 'accentBorderPrimary',
91
90
  labelTextColor: 'accentTextPrimary',
92
91
  labelTextColorHover: 'accentTextPrimary',
92
+ borderColor: 'accentBorderPrimary',
93
93
  loaderFill: 'accentPrimary',
94
94
  loaderItemFill: 'accentItemPrimary',
95
95
  },
96
96
  infoSecondary: {
97
97
  fill: 'accentPrimary',
98
98
  fillHover: 'accentPrimaryHover',
99
- borderColor: 'accentBorderPrimary',
100
99
  labelTextColor: 'accentTextSecondary',
101
100
  labelTextColorHover: 'accentTextSecondary',
101
+ borderColor: 'accentBorderPrimary',
102
102
  loaderFill: 'accentPrimary',
103
103
  loaderItemFill: 'accentItemPrimary',
104
104
  },
@@ -251,7 +251,7 @@ var buttonConfig = {
251
251
  },
252
252
  };
253
253
  var Button = React.forwardRef(function Button(props, ref) {
254
- var className = props.className, appearance = props.appearance, children = props.children, 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;
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
255
  var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
256
256
  var _a;
257
257
  return (tslib_es6.__assign(tslib_es6.__assign({}, resultAppearance), (_a = buttonConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
@@ -261,7 +261,7 @@ var Button = React.forwardRef(function Button(props, ref) {
261
261
  }
262
262
  var _isLoading = isLoading !== null && isLoading !== void 0 ? isLoading : loading;
263
263
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
264
- var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, labelTextColor = propsGenerator.labelTextColor, labelTextColorHover = propsGenerator.labelTextColorHover, labelTextSize = propsGenerator.labelTextSize, labelTextSizeMobile = propsGenerator.labelTextSizeMobile, labelTextTruncate = propsGenerator.labelTextTruncate, labelTextWeight = propsGenerator.labelTextWeight, labelTextWidth = propsGenerator.labelTextWidth, labelTextWrap = propsGenerator.labelTextWrap, elevationClass = propsGenerator.elevationClass, 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, iconFill = propsGenerator.iconFill, iconFillIcon = propsGenerator.iconFillIcon, iconFillSize = propsGenerator.iconFillSize, iconShape = propsGenerator.iconShape, iconSize = propsGenerator.iconSize, loaderFill = propsGenerator.loaderFill, loaderItemFill = propsGenerator.loaderItemFill, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass, isSkeleton = propsGenerator.isSkeleton;
264
+ var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelTextColor = propsGenerator.labelTextColor, labelTextColorHover = propsGenerator.labelTextColorHover, labelTextSize = propsGenerator.labelTextSize, labelTextSizeMobile = propsGenerator.labelTextSizeMobile, labelTextTruncate = propsGenerator.labelTextTruncate, labelTextWeight = propsGenerator.labelTextWeight, labelTextWidth = propsGenerator.labelTextWidth, labelTextWrap = propsGenerator.labelTextWrap, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, elevationClass = propsGenerator.elevationClass, 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, iconFill = propsGenerator.iconFill, iconFillIcon = propsGenerator.iconFillIcon, iconFillSize = propsGenerator.iconFillSize, iconShape = propsGenerator.iconShape, iconSize = propsGenerator.iconSize, loaderFill = propsGenerator.loaderFill, loaderItemFill = propsGenerator.loaderItemFill, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass, isSkeleton = propsGenerator.isSkeleton;
265
265
  var shapeStrengthClass = propsGenerator.getClassName('shapeStrength', {
266
266
  replace: [/\./, '-'],
267
267
  });
@@ -283,7 +283,7 @@ var Button = React.forwardRef(function Button(props, ref) {
283
283
  ? 'button_type_icon'
284
284
  : '', borderWidthClass && "border-width_".concat(borderWidthClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), shapeClass && "shape_".concat(shapeClass), shapeStrengthClass
285
285
  ? "shape-strength_".concat(shapeStrengthClass)
286
- : shapeClass === 'rounded' && 'shape-strength_default', sizeClass && "button_size_".concat(sizeClass), widthClass && "button_width_".concat(widthClass), elevationClass && "elevation_".concat(elevationClass), onClick && 'cursor_type_pointer', isDisabled && 'cursor_type_default', Badge && 'button_type_badge', _isLoading && 'button_state_loading', isSkeleton && "button_skeleton"), type: htmlType, disabled: isDisabled, "data-testid": dataTestId && "".concat(dataTestId, "Button"), "data-tour": dataTour, DefaultComponent: "button", href: link || href, rel: rel, style: buttonStyles, target: target, onClick: onClick, onMouseDown: onMouseDown, children: jsxRuntime.jsxs("div", { className: "button__wrapper", ref: ref, children: [_isLoading && (jsxRuntime.jsx(Loader.Loader, { className: clsx(className, 'button__loader', shapeClass), type: loadertype, fill: loaderFill, itemFill: loaderItemFill })), before, (iconBefore || iconBeforeSrc) && (jsxRuntime.jsx(Icon.Icon, { className: "button__icon_before", fill: iconBeforeFill, fillSize: iconBeforeFillSize, iconFill: iconBeforeFillIcon, imageSrc: iconBeforeSrc, shape: iconBeforeShape, size: iconBeforeSize, SvgImage: iconBefore })), (icon || iconSrc) && (jsxRuntime.jsx(Icon.Icon, { className: "button__icon", fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, imageSrc: iconSrc, shape: iconShape, size: iconSize, SvgImage: icon })), (children || label || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.label)) && (jsxRuntime.jsx(Text.Text, { className: "button__label", width: labelTextWidth, textColor: labelTextColor, textColorHover: labelTextColorHover, textTruncate: labelTextTruncate, textWeight: labelTextWeight, textWrap: labelTextWrap, size: labelTextSize, sizeMobile: labelTextSizeMobile, style: labelStyles, children: children || label })), (iconAfter || iconAfterSrc) && (jsxRuntime.jsx(Icon.Icon, { className: "button__icon_after", fill: iconAfterFill, fillSize: iconAfterFillSize, iconFill: iconAfterFillIcon, imageSrc: iconAfterSrc, shape: iconAfterShape, size: iconAfterSize, SvgImage: iconAfter })), Badge, after] }) }));
286
+ : shapeClass === 'rounded' && 'shape-strength_default', sizeClass && "button_size_".concat(sizeClass), widthClass && "button_width_".concat(widthClass), elevationClass && "elevation_".concat(elevationClass), onClick && 'cursor_type_pointer', isDisabled && 'cursor_type_default', Badge && 'button_type_badge', _isLoading && 'button_state_loading', isSkeleton && "button_skeleton"), type: htmlType, disabled: isDisabled, "data-testid": dataTestId && "".concat(dataTestId, "Button"), "data-tour": dataTour, DefaultComponent: "button", href: link || href, rel: rel, style: buttonStyles, target: target, onClick: onClick, onMouseDown: onMouseDown, children: jsxRuntime.jsxs("div", { className: "button__wrapper", ref: ref, children: [_isLoading && (jsxRuntime.jsx(Loader.Loader, { className: clsx(className, 'button__loader', shapeClass), type: loadertype, fill: loaderFill, itemFill: loaderItemFill })), before, (iconBefore || iconBeforeSrc) && (jsxRuntime.jsx(Icon.Icon, { className: "button__icon_before", size: iconBeforeSize, fill: iconBeforeFill, fillSize: iconBeforeFillSize, iconFill: iconBeforeFillIcon, imageSrc: iconBeforeSrc, shape: iconBeforeShape, SvgImage: iconBefore })), (icon || iconSrc) && (jsxRuntime.jsx(Icon.Icon, { className: "button__icon", size: iconSize, fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, imageSrc: iconSrc, shape: iconShape, SvgImage: icon })), (children || label || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.label)) && (jsxRuntime.jsx(Text.Text, { className: "button__label", width: labelTextWidth, size: labelTextSize, textColor: labelTextColor, textColorHover: labelTextColorHover, textTruncate: labelTextTruncate, textWeight: labelTextWeight, textWrap: labelTextWrap, sizeMobile: labelTextSizeMobile, style: labelStyles, children: children || label })), (iconAfter || iconAfterSrc) && (jsxRuntime.jsx(Icon.Icon, { className: "button__icon_after", size: iconAfterSize, fill: iconAfterFill, fillSize: iconAfterFillSize, iconFill: iconAfterFillIcon, imageSrc: iconAfterSrc, shape: iconAfterShape, SvgImage: iconAfter })), Badge, after] }) }));
287
287
  });
288
288
 
289
289
  exports.Button = Button;
@@ -2,12 +2,12 @@ import { _ as __assign } from './tslib.es6-5FtW-kfi.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-OJ_3E3eM.js';
6
+ import { L as LinkWrapper } from './Link-DaKqf1pb.js';
7
+ import { L as Loader } from './Loader-VK3q7PBN.js';
8
+ import { T as Text } from './Text-C6NSmetx.js';
5
9
  import { useDevicePropsGenerator } from './hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
6
10
  import { useStyles } from './hooks/useStyles/useStyles.js';
7
- import { I as Icon } from './Icon-htF_V35Y.js';
8
- import { L as LinkWrapper } from './Link-BhJ5BdyS.js';
9
- import { L as Loader } from './Loader-D4_r7LML.js';
10
- import { T as Text } from './Text-C6NSmetx.js';
11
11
 
12
12
  var buttonAppearanceAccent = {
13
13
  accent: {
@@ -85,18 +85,18 @@ var buttonAppearanceInfo = {
85
85
  info: {
86
86
  fill: 'accentPrimary',
87
87
  fillHover: 'accentPrimaryHover',
88
- borderColor: 'accentBorderPrimary',
89
88
  labelTextColor: 'accentTextPrimary',
90
89
  labelTextColorHover: 'accentTextPrimary',
90
+ borderColor: 'accentBorderPrimary',
91
91
  loaderFill: 'accentPrimary',
92
92
  loaderItemFill: 'accentItemPrimary',
93
93
  },
94
94
  infoSecondary: {
95
95
  fill: 'accentPrimary',
96
96
  fillHover: 'accentPrimaryHover',
97
- borderColor: 'accentBorderPrimary',
98
97
  labelTextColor: 'accentTextSecondary',
99
98
  labelTextColorHover: 'accentTextSecondary',
99
+ borderColor: 'accentBorderPrimary',
100
100
  loaderFill: 'accentPrimary',
101
101
  loaderItemFill: 'accentItemPrimary',
102
102
  },
@@ -249,7 +249,7 @@ var buttonConfig = {
249
249
  },
250
250
  };
251
251
  var Button = React.forwardRef(function Button(props, ref) {
252
- var className = props.className, appearance = props.appearance, children = props.children, 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;
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
253
  var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
254
254
  var _a;
255
255
  return (__assign(__assign({}, resultAppearance), (_a = buttonConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
@@ -259,7 +259,7 @@ var Button = React.forwardRef(function Button(props, ref) {
259
259
  }
260
260
  var _isLoading = isLoading !== null && isLoading !== void 0 ? isLoading : loading;
261
261
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
262
- var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, labelTextColor = propsGenerator.labelTextColor, labelTextColorHover = propsGenerator.labelTextColorHover, labelTextSize = propsGenerator.labelTextSize, labelTextSizeMobile = propsGenerator.labelTextSizeMobile, labelTextTruncate = propsGenerator.labelTextTruncate, labelTextWeight = propsGenerator.labelTextWeight, labelTextWidth = propsGenerator.labelTextWidth, labelTextWrap = propsGenerator.labelTextWrap, elevationClass = propsGenerator.elevationClass, 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, iconFill = propsGenerator.iconFill, iconFillIcon = propsGenerator.iconFillIcon, iconFillSize = propsGenerator.iconFillSize, iconShape = propsGenerator.iconShape, iconSize = propsGenerator.iconSize, loaderFill = propsGenerator.loaderFill, loaderItemFill = propsGenerator.loaderItemFill, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass, isSkeleton = propsGenerator.isSkeleton;
262
+ var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelTextColor = propsGenerator.labelTextColor, labelTextColorHover = propsGenerator.labelTextColorHover, labelTextSize = propsGenerator.labelTextSize, labelTextSizeMobile = propsGenerator.labelTextSizeMobile, labelTextTruncate = propsGenerator.labelTextTruncate, labelTextWeight = propsGenerator.labelTextWeight, labelTextWidth = propsGenerator.labelTextWidth, labelTextWrap = propsGenerator.labelTextWrap, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, elevationClass = propsGenerator.elevationClass, 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, iconFill = propsGenerator.iconFill, iconFillIcon = propsGenerator.iconFillIcon, iconFillSize = propsGenerator.iconFillSize, iconShape = propsGenerator.iconShape, iconSize = propsGenerator.iconSize, loaderFill = propsGenerator.loaderFill, loaderItemFill = propsGenerator.loaderItemFill, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass, isSkeleton = propsGenerator.isSkeleton;
263
263
  var shapeStrengthClass = propsGenerator.getClassName('shapeStrength', {
264
264
  replace: [/\./, '-'],
265
265
  });
@@ -281,7 +281,7 @@ var Button = React.forwardRef(function Button(props, ref) {
281
281
  ? 'button_type_icon'
282
282
  : '', borderWidthClass && "border-width_".concat(borderWidthClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), shapeClass && "shape_".concat(shapeClass), shapeStrengthClass
283
283
  ? "shape-strength_".concat(shapeStrengthClass)
284
- : shapeClass === 'rounded' && 'shape-strength_default', sizeClass && "button_size_".concat(sizeClass), widthClass && "button_width_".concat(widthClass), elevationClass && "elevation_".concat(elevationClass), onClick && 'cursor_type_pointer', isDisabled && 'cursor_type_default', Badge && 'button_type_badge', _isLoading && 'button_state_loading', isSkeleton && "button_skeleton"), type: htmlType, disabled: isDisabled, "data-testid": dataTestId && "".concat(dataTestId, "Button"), "data-tour": dataTour, DefaultComponent: "button", href: link || href, rel: rel, style: buttonStyles, target: target, onClick: onClick, onMouseDown: onMouseDown, children: jsxs("div", { className: "button__wrapper", ref: ref, children: [_isLoading && (jsx(Loader, { className: clsx(className, 'button__loader', shapeClass), type: loadertype, fill: loaderFill, itemFill: loaderItemFill })), before, (iconBefore || iconBeforeSrc) && (jsx(Icon, { className: "button__icon_before", fill: iconBeforeFill, fillSize: iconBeforeFillSize, iconFill: iconBeforeFillIcon, imageSrc: iconBeforeSrc, shape: iconBeforeShape, size: iconBeforeSize, SvgImage: iconBefore })), (icon || iconSrc) && (jsx(Icon, { className: "button__icon", fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, imageSrc: iconSrc, shape: iconShape, size: iconSize, SvgImage: icon })), (children || label || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.label)) && (jsx(Text, { className: "button__label", width: labelTextWidth, textColor: labelTextColor, textColorHover: labelTextColorHover, textTruncate: labelTextTruncate, textWeight: labelTextWeight, textWrap: labelTextWrap, size: labelTextSize, sizeMobile: labelTextSizeMobile, style: labelStyles, children: children || label })), (iconAfter || iconAfterSrc) && (jsx(Icon, { className: "button__icon_after", fill: iconAfterFill, fillSize: iconAfterFillSize, iconFill: iconAfterFillIcon, imageSrc: iconAfterSrc, shape: iconAfterShape, size: iconAfterSize, SvgImage: iconAfter })), Badge, after] }) }));
284
+ : shapeClass === 'rounded' && 'shape-strength_default', sizeClass && "button_size_".concat(sizeClass), widthClass && "button_width_".concat(widthClass), elevationClass && "elevation_".concat(elevationClass), onClick && 'cursor_type_pointer', isDisabled && 'cursor_type_default', Badge && 'button_type_badge', _isLoading && 'button_state_loading', isSkeleton && "button_skeleton"), type: htmlType, disabled: isDisabled, "data-testid": dataTestId && "".concat(dataTestId, "Button"), "data-tour": dataTour, DefaultComponent: "button", href: link || href, rel: rel, style: buttonStyles, target: target, onClick: onClick, onMouseDown: onMouseDown, children: jsxs("div", { className: "button__wrapper", ref: ref, children: [_isLoading && (jsx(Loader, { className: clsx(className, 'button__loader', shapeClass), type: loadertype, fill: loaderFill, itemFill: loaderItemFill })), before, (iconBefore || iconBeforeSrc) && (jsx(Icon, { className: "button__icon_before", size: iconBeforeSize, fill: iconBeforeFill, fillSize: iconBeforeFillSize, iconFill: iconBeforeFillIcon, imageSrc: iconBeforeSrc, shape: iconBeforeShape, SvgImage: iconBefore })), (icon || iconSrc) && (jsx(Icon, { className: "button__icon", size: iconSize, fill: iconFill, fillSize: iconFillSize, iconFill: iconFillIcon, imageSrc: iconSrc, shape: iconShape, SvgImage: icon })), (children || label || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.label)) && (jsx(Text, { className: "button__label", width: labelTextWidth, size: labelTextSize, textColor: labelTextColor, textColorHover: labelTextColorHover, textTruncate: labelTextTruncate, textWeight: labelTextWeight, textWrap: labelTextWrap, sizeMobile: labelTextSizeMobile, style: labelStyles, children: children || label })), (iconAfter || iconAfterSrc) && (jsx(Icon, { className: "button__icon_after", size: iconAfterSize, fill: iconAfterFill, fillSize: iconAfterFillSize, iconFill: iconAfterFillIcon, imageSrc: iconAfterSrc, shape: iconAfterShape, SvgImage: iconAfter })), Badge, after] }) }));
285
285
  });
286
286
 
287
287
  export { Button as B, buttonAppearance as a, buttonConfig as b };
@@ -6,7 +6,7 @@ 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 Divider = require('./Divider-ImOOytuN.js');
9
- var Link = require('./Link-B38Hn4G2.js');
9
+ var Link = require('./Link-BnqN6ysn.js');
10
10
  var Text = require('./Text-C49zj3jO.js');
11
11
 
12
12
  function Dropdown(props) {
@@ -71,8 +71,8 @@ var dropdownItemAppearance = {
71
71
 
72
72
  var dropdownItemConfig = {
73
73
  appearance: dropdownItemAppearance,
74
- setAppearance: function (newComponent) {
75
- dropdownItemConfig.appearance = newComponent;
74
+ setAppearance: function (appearanceConfig) {
75
+ dropdownItemConfig.appearance = appearanceConfig;
76
76
  },
77
77
  };
78
78
  function DropdownItem(props) {
@@ -4,7 +4,7 @@ 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 { D as Divider } from './Divider-BQcBkzt1.js';
7
- import { a as Link } from './Link-BhJ5BdyS.js';
7
+ import { a as Link } from './Link-DaKqf1pb.js';
8
8
  import { T as Text } from './Text-C6NSmetx.js';
9
9
 
10
10
  function Dropdown(props) {
@@ -69,8 +69,8 @@ var dropdownItemAppearance = {
69
69
 
70
70
  var dropdownItemConfig = {
71
71
  appearance: dropdownItemAppearance,
72
- setAppearance: function (newComponent) {
73
- dropdownItemConfig.appearance = newComponent;
72
+ setAppearance: function (appearanceConfig) {
73
+ dropdownItemConfig.appearance = appearanceConfig;
74
74
  },
75
75
  };
76
76
  function DropdownItem(props) {
@@ -16,8 +16,8 @@ var groupAppearance = {
16
16
 
17
17
  var groupConfig = {
18
18
  appearance: groupAppearance,
19
- setAppearance: function (newComponent) {
20
- groupConfig.appearance = newComponent;
19
+ setAppearance: function (appearanceConfig) {
20
+ groupConfig.appearance = appearanceConfig;
21
21
  },
22
22
  };
23
23
  var Group = React.forwardRef(function Group(props, ref) {
@@ -18,8 +18,8 @@ var groupAppearance = {
18
18
 
19
19
  var groupConfig = {
20
20
  appearance: groupAppearance,
21
- setAppearance: function (newComponent) {
22
- groupConfig.appearance = newComponent;
21
+ setAppearance: function (appearanceConfig) {
22
+ groupConfig.appearance = appearanceConfig;
23
23
  },
24
24
  };
25
25
  var Group = React.forwardRef(function Group(props, ref) {
@@ -7,8 +7,8 @@ var clsx = require('clsx');
7
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
- var Link = require('./Link-B38Hn4G2.js');
11
- var Tooltip = require('./Tooltip-DpBQQoNo.js');
10
+ var Link = require('./Link-BnqN6ysn.js');
11
+ var Tooltip = require('./Tooltip-DRta8lK_.js');
12
12
 
13
13
  var iconAppearance = {
14
14
  accent: {
@@ -23,8 +23,8 @@ var iconAppearance = {
23
23
 
24
24
  var iconConfig = {
25
25
  appearance: iconAppearance,
26
- setAppearance: function (newComponent) {
27
- iconConfig.appearance = newComponent;
26
+ setAppearance: function (appearanceConfig) {
27
+ iconConfig.appearance = appearanceConfig;
28
28
  },
29
29
  };
30
30
  var Icon = React.forwardRef(function Icon(props, ref) {
@@ -5,8 +5,8 @@ import clsx from 'clsx';
5
5
  import SVG from 'react-inlinesvg';
6
6
  import { useDevicePropsGenerator } from './hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
7
7
  import { useStyles } from './hooks/useStyles/useStyles.js';
8
- import { L as LinkWrapper } from './Link-BhJ5BdyS.js';
9
- import { T as Tooltip } from './Tooltip-BYgzNVYI.js';
8
+ import { L as LinkWrapper } from './Link-DaKqf1pb.js';
9
+ import { T as Tooltip } from './Tooltip-5lQyt5-Y.js';
10
10
 
11
11
  var iconAppearance = {
12
12
  accent: {
@@ -21,8 +21,8 @@ var iconAppearance = {
21
21
 
22
22
  var iconConfig = {
23
23
  appearance: iconAppearance,
24
- setAppearance: function (newComponent) {
25
- iconConfig.appearance = newComponent;
24
+ setAppearance: function (appearanceConfig) {
25
+ iconConfig.appearance = appearanceConfig;
26
26
  },
27
27
  };
28
28
  var Icon = React.forwardRef(function Icon(props, ref) {
@@ -60,8 +60,8 @@ var inputState = {
60
60
 
61
61
  var inputConfig = {
62
62
  appearance: inputAppearance,
63
- setAppearance: function (newComponent) {
64
- inputConfig.appearance = newComponent;
63
+ setAppearance: function (appearanceConfig) {
64
+ inputConfig.appearance = appearanceConfig;
65
65
  },
66
66
  state: inputState,
67
67
  // eslint-disable-next-line perfectionist/sort-objects
@@ -62,8 +62,8 @@ var inputState = {
62
62
 
63
63
  var inputConfig = {
64
64
  appearance: inputAppearance,
65
- setAppearance: function (newComponent) {
66
- inputConfig.appearance = newComponent;
65
+ setAppearance: function (appearanceConfig) {
66
+ inputConfig.appearance = appearanceConfig;
67
67
  },
68
68
  state: inputState,
69
69
  // eslint-disable-next-line perfectionist/sort-objects
@@ -7,7 +7,7 @@ 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
9
  var Text = require('./Text-C49zj3jO.js');
10
- var Tooltip = require('./Tooltip-DpBQQoNo.js');
10
+ var Tooltip = require('./Tooltip-DRta8lK_.js');
11
11
 
12
12
  var labelAppearanceAccent = {
13
13
  accent: {
@@ -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 { T as Text } from './Text-C6NSmetx.js';
8
- import { T as Tooltip } from './Tooltip-BYgzNVYI.js';
8
+ import { T as Tooltip } from './Tooltip-5lQyt5-Y.js';
9
9
 
10
10
  var labelAppearanceAccent = {
11
11
  accent: {
@@ -15,8 +15,8 @@ var linkConfig = {
15
15
  };
16
16
  // const linkConfig: iLinkConfig = {
17
17
  // appearance: linkAppearance,
18
- // setAppearance: (newComponent) => {
19
- // linkConfig.appearance = newComponent
18
+ // setAppearance: (appearanceConfig) => {
19
+ // linkConfig.appearance = appearanceConfig
20
20
  // },
21
21
  // }
22
22
  function Link(props) {
@@ -13,8 +13,8 @@ var linkConfig = {
13
13
  };
14
14
  // const linkConfig: iLinkConfig = {
15
15
  // appearance: linkAppearance,
16
- // setAppearance: (newComponent) => {
17
- // linkConfig.appearance = newComponent
16
+ // setAppearance: (appearanceConfig) => {
17
+ // linkConfig.appearance = appearanceConfig
18
18
  // },
19
19
  // }
20
20
  function Link(props) {
@@ -52,16 +52,16 @@ var loaderConfig = {
52
52
  },
53
53
  };
54
54
  function Loader(props) {
55
- var className = props.className, type = props.type, appearance = props.appearance, children = props.children, text = props.text, isSkeleton = props.isSkeleton;
55
+ var className = props.className, type = props.type, appearance = props.appearance, text = props.text, isSkeleton = props.isSkeleton, children = props.children;
56
56
  var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultApperance, appearance) {
57
57
  var _a;
58
58
  return (tslib_es6.__assign(tslib_es6.__assign({}, resultApperance), (_a = loaderConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
59
59
  }, {});
60
60
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
61
- var fillClass = propsGenerator.fillClass, textColor = propsGenerator.textColor, textSize = propsGenerator.textSize, heightClass = propsGenerator.heightClass, itemFillClass = propsGenerator.itemFillClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
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;
62
62
  // @ts-expect-error
63
63
  var loader = useStyles.useStyles(props).styles;
64
- return (jsxRuntime.jsxs("div", { className: clsx('loader', className, widthClass && "width_".concat(widthClass), heightClass && "height_".concat(heightClass), fillClass && "fill_".concat(fillClass), sizeClass && "loader_size_".concat(sizeClass), isSkeleton && "loader_skeleton", type && "loader_type_".concat(type)), style: loader, children: [children || (jsxRuntime.jsxs("div", { className: "loader__inner", children: [jsxRuntime.jsx("span", { className: clsx('loader__item', itemFillClass && "fill_".concat(itemFillClass)) }), jsxRuntime.jsx("span", { className: clsx('loader__item', itemFillClass && "fill_".concat(itemFillClass)) }), jsxRuntime.jsx("span", { className: clsx('loader__item', itemFillClass && "fill_".concat(itemFillClass)) })] })), text && (jsxRuntime.jsx(Text.Text, { className: "loader__text", textColor: textColor, size: textSize, children: text }))] }));
64
+ return (jsxRuntime.jsxs("div", { className: clsx('loader', className, widthClass && "width_".concat(widthClass), heightClass && "height_".concat(heightClass), fillClass && "fill_".concat(fillClass), sizeClass && "loader_size_".concat(sizeClass), isSkeleton && "loader_skeleton", type && "loader_type_".concat(type), shapeClass && "loader_shape_".concat(shapeClass)), style: loader, children: [children || (jsxRuntime.jsxs("div", { className: "loader__inner", children: [jsxRuntime.jsx("span", { className: clsx('loader__item', itemFillClass && "fill_".concat(itemFillClass)) }), jsxRuntime.jsx("span", { className: clsx('loader__item', itemFillClass && "fill_".concat(itemFillClass)) }), jsxRuntime.jsx("span", { className: clsx('loader__item', itemFillClass && "fill_".concat(itemFillClass)) })] })), text && (jsxRuntime.jsx(Text.Text, { className: "loader__text", size: textSize, textColor: textColor, children: text }))] }));
65
65
  }
66
66
 
67
67
  exports.Loader = Loader;
@@ -50,16 +50,16 @@ var loaderConfig = {
50
50
  },
51
51
  };
52
52
  function Loader(props) {
53
- var className = props.className, type = props.type, appearance = props.appearance, children = props.children, text = props.text, isSkeleton = props.isSkeleton;
53
+ var className = props.className, type = props.type, appearance = props.appearance, text = props.text, isSkeleton = props.isSkeleton, children = props.children;
54
54
  var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultApperance, appearance) {
55
55
  var _a;
56
56
  return (__assign(__assign({}, resultApperance), (_a = loaderConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
57
57
  }, {});
58
58
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
59
- var fillClass = propsGenerator.fillClass, textColor = propsGenerator.textColor, textSize = propsGenerator.textSize, heightClass = propsGenerator.heightClass, itemFillClass = propsGenerator.itemFillClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
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;
60
60
  // @ts-expect-error
61
61
  var loader = useStyles(props).styles;
62
- return (jsxs("div", { className: clsx('loader', className, widthClass && "width_".concat(widthClass), heightClass && "height_".concat(heightClass), fillClass && "fill_".concat(fillClass), sizeClass && "loader_size_".concat(sizeClass), isSkeleton && "loader_skeleton", type && "loader_type_".concat(type)), style: loader, children: [children || (jsxs("div", { className: "loader__inner", children: [jsx("span", { className: clsx('loader__item', itemFillClass && "fill_".concat(itemFillClass)) }), jsx("span", { className: clsx('loader__item', itemFillClass && "fill_".concat(itemFillClass)) }), jsx("span", { className: clsx('loader__item', itemFillClass && "fill_".concat(itemFillClass)) })] })), text && (jsx(Text, { className: "loader__text", textColor: textColor, size: textSize, children: text }))] }));
62
+ return (jsxs("div", { className: clsx('loader', className, widthClass && "width_".concat(widthClass), heightClass && "height_".concat(heightClass), fillClass && "fill_".concat(fillClass), sizeClass && "loader_size_".concat(sizeClass), isSkeleton && "loader_skeleton", type && "loader_type_".concat(type), shapeClass && "loader_shape_".concat(shapeClass)), style: loader, children: [children || (jsxs("div", { className: "loader__inner", children: [jsx("span", { className: clsx('loader__item', itemFillClass && "fill_".concat(itemFillClass)) }), jsx("span", { className: clsx('loader__item', itemFillClass && "fill_".concat(itemFillClass)) }), jsx("span", { className: clsx('loader__item', itemFillClass && "fill_".concat(itemFillClass)) })] })), text && (jsx(Text, { className: "loader__text", size: textSize, textColor: textColor, children: text }))] }));
63
63
  }
64
64
 
65
65
  export { Loader as L, loaderAppearance as a, loaderConfig as l };
@@ -9,8 +9,8 @@ var overlayAppearance = {
9
9
 
10
10
  var overlayConfig = {
11
11
  appearance: overlayAppearance,
12
- setAppearance: function (newComponent) {
13
- overlayConfig.appearance = newComponent;
12
+ setAppearance: function (appearanceConfig) {
13
+ overlayConfig.appearance = appearanceConfig;
14
14
  },
15
15
  };
16
16
  function Overlay(props) {
@@ -11,8 +11,8 @@ var overlayAppearance = {
11
11
 
12
12
  var overlayConfig = {
13
13
  appearance: overlayAppearance,
14
- setAppearance: function (newComponent) {
15
- overlayConfig.appearance = newComponent;
14
+ setAppearance: function (appearanceConfig) {
15
+ overlayConfig.appearance = appearanceConfig;
16
16
  },
17
17
  };
18
18
  function Overlay(props) {
@@ -0,0 +1,55 @@
1
+ 'use strict';
2
+
3
+ var tslib_es6 = require('./tslib.es6-CCZ3TN_7.js');
4
+ var jsxRuntime = require('react/jsx-runtime');
5
+ var React = require('react');
6
+ var clsx = require('clsx');
7
+ var UIContext = require('./cjs/context/UIContext.js');
8
+ var useDevicePropsGenerator = require('./cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
9
+ var useStyles = require('./cjs/hooks/useStyles/useStyles.js');
10
+
11
+ var titleAppearance = {
12
+ dev: {
13
+ textColor: 'surfaceTextPrimary',
14
+ },
15
+ };
16
+
17
+ var titleConfig = {
18
+ appearance: titleAppearance,
19
+ setAppearance: function (appearanceConfig) {
20
+ titleConfig.appearance = appearanceConfig;
21
+ },
22
+ };
23
+ function Title(props) {
24
+ 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;
25
+ var _c = UIContext.useUserDeviceContext(), isDesktop = _c.isDesktop, isMobile = _c.isMobile, isTablet = _c.isTablet;
26
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
27
+ var _a;
28
+ return (tslib_es6.__assign(tslib_es6.__assign({}, resultAppearance), (_a = titleConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
29
+ }, {});
30
+ var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
31
+ 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;
32
+ // @ts-expect-error
33
+ var _d = useStyles.useStyles(props), titleStyles = _d.styles, titleWrapperStyles = _d.wrapper;
34
+ // Element type (h1, h2, ..., h6)
35
+ var Tag = React.useMemo(function () {
36
+ if (tag) {
37
+ return tag;
38
+ }
39
+ if (isMobile && sizeMobile) {
40
+ return sizeMobile;
41
+ }
42
+ if (isTablet && sizeTablet) {
43
+ return sizeTablet;
44
+ }
45
+ if (isDesktop && sizeDesktop) {
46
+ return sizeDesktop;
47
+ }
48
+ return size ? size : 'span';
49
+ }, [isMobile, isTablet, isDesktop]);
50
+ return (jsxRuntime.jsxs(Tag, { className: clsx(className, 'title', fillClass && "fill_".concat(fillClass), svgFillClass && "svg_fill_".concat(svgFillClass), svgFillHoverClass && "svg_fill_hover_".concat(svgFillHoverClass), widthClass && "width_".concat(widthClass), heightClass && "height_".concat(heightClass), size && "title_size_".concat(size), directionClass && "title_direction_".concat(directionClass), 'text', textColorClass && "text-color_".concat(textColorClass), textColorActiveClass && "text-color_active_".concat(textColorActiveClass), textColorHoverClass && "text-color_hover_".concat(textColorHoverClass), typeClass && "title_type_".concat(typeClass), textColorGradientClass && "text-gradient_".concat(textColorGradientClass), textStyleClass && "text-style_".concat(textStyleClass), textWeightClass && "text-weight_".concat(textWeightClass), textWrap && "word-wrap_".concat(textWrap), isSkeleton && 'title_skeleton'), "data-testid": dataTestId, "data-tour": dataTour, style: titleStyles, onClick: onClick, children: [before, jsxRuntime.jsxs("span", { className: clsx(textAlignClass && "text-align_".concat(textAlignClass), wrapperDirectionClass && "title-direction_".concat(wrapperDirectionClass), 'title__wrapper', textTruncateClass && "text-truncate_".concat(textTruncateClass)), style: titleWrapperStyles, children: [beforeWrapper, children || text, afterWrapper] }), after] }));
51
+ }
52
+
53
+ exports.Title = Title;
54
+ exports.titleAppearance = titleAppearance;
55
+ exports.titleConfig = titleConfig;
@@ -0,0 +1,51 @@
1
+ import { _ as __assign } from './tslib.es6-5FtW-kfi.js';
2
+ import { jsxs } from 'react/jsx-runtime';
3
+ import { useMemo } from 'react';
4
+ import clsx from 'clsx';
5
+ import { useUserDeviceContext } from './context/UIContext.js';
6
+ import { useDevicePropsGenerator } from './hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
7
+ import { useStyles } from './hooks/useStyles/useStyles.js';
8
+
9
+ var titleAppearance = {
10
+ dev: {
11
+ textColor: 'surfaceTextPrimary',
12
+ },
13
+ };
14
+
15
+ var titleConfig = {
16
+ appearance: titleAppearance,
17
+ setAppearance: function (appearanceConfig) {
18
+ titleConfig.appearance = appearanceConfig;
19
+ },
20
+ };
21
+ function Title(props) {
22
+ 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;
23
+ var _c = useUserDeviceContext(), isDesktop = _c.isDesktop, isMobile = _c.isMobile, isTablet = _c.isTablet;
24
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
25
+ var _a;
26
+ return (__assign(__assign({}, resultAppearance), (_a = titleConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
27
+ }, {});
28
+ var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
29
+ 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;
30
+ // @ts-expect-error
31
+ var _d = useStyles(props), titleStyles = _d.styles, titleWrapperStyles = _d.wrapper;
32
+ // Element type (h1, h2, ..., h6)
33
+ var Tag = useMemo(function () {
34
+ if (tag) {
35
+ return tag;
36
+ }
37
+ if (isMobile && sizeMobile) {
38
+ return sizeMobile;
39
+ }
40
+ if (isTablet && sizeTablet) {
41
+ return sizeTablet;
42
+ }
43
+ if (isDesktop && sizeDesktop) {
44
+ return sizeDesktop;
45
+ }
46
+ return size ? size : 'span';
47
+ }, [isMobile, isTablet, isDesktop]);
48
+ return (jsxs(Tag, { className: clsx(className, 'title', fillClass && "fill_".concat(fillClass), svgFillClass && "svg_fill_".concat(svgFillClass), svgFillHoverClass && "svg_fill_hover_".concat(svgFillHoverClass), widthClass && "width_".concat(widthClass), heightClass && "height_".concat(heightClass), size && "title_size_".concat(size), directionClass && "title_direction_".concat(directionClass), 'text', textColorClass && "text-color_".concat(textColorClass), textColorActiveClass && "text-color_active_".concat(textColorActiveClass), textColorHoverClass && "text-color_hover_".concat(textColorHoverClass), typeClass && "title_type_".concat(typeClass), textColorGradientClass && "text-gradient_".concat(textColorGradientClass), textStyleClass && "text-style_".concat(textStyleClass), textWeightClass && "text-weight_".concat(textWeightClass), textWrap && "word-wrap_".concat(textWrap), isSkeleton && 'title_skeleton'), "data-testid": dataTestId, "data-tour": dataTour, style: titleStyles, onClick: onClick, children: [before, jsxs("span", { className: clsx(textAlignClass && "text-align_".concat(textAlignClass), wrapperDirectionClass && "title-direction_".concat(wrapperDirectionClass), 'title__wrapper', textTruncateClass && "text-truncate_".concat(textTruncateClass)), style: titleWrapperStyles, children: [beforeWrapper, children || text, afterWrapper] }), after] }));
49
+ }
50
+
51
+ export { Title as T, titleAppearance as a, titleConfig as t };
@@ -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 { T as Text } from './Text-C6NSmetx.js';
8
- import { T as Title } from './Title-Dck3eHNM.js';
8
+ import { T as Title } from './Title-Byi9vhDt.js';
9
9
 
10
10
  var tooltipAppearance = {
11
11
  surfacePrimary: {
@@ -7,7 +7,7 @@ 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
9
  var Text = require('./Text-C49zj3jO.js');
10
- var Title = require('./Title-BWWyRwLY.js');
10
+ var Title = require('./Title-BLGDdlnX.js');
11
11
 
12
12
  var tooltipAppearance = {
13
13
  surfacePrimary: {
@@ -9,7 +9,7 @@ var useDevicePropsGenerator = require('../hooks/useDevicePropsGenerator/useDevic
9
9
  var useStyles = require('../hooks/useStyles/useStyles.js');
10
10
  var _default = require('@itcase/icons/default');
11
11
  var Divider = require('../../Divider-ImOOytuN.js');
12
- var Icon = require('../../Icon-GVGrUu_Z.js');
12
+ var Icon = require('../../Icon-BcBOnVKH.js');
13
13
  var Text = require('../../Text-C49zj3jO.js');
14
14
  require('lodash/camelCase');
15
15
  require('lodash/upperFirst');
@@ -20,9 +20,9 @@ require('../utils/setViewportProperty.js');
20
20
  require('lodash/maxBy');
21
21
  require('../hooks/useStyles/styleAttributes.js');
22
22
  require('react-inlinesvg');
23
- require('../../Link-B38Hn4G2.js');
24
- require('../../Tooltip-DpBQQoNo.js');
25
- require('../../Title-BWWyRwLY.js');
23
+ require('../../Link-BnqN6ysn.js');
24
+ require('../../Tooltip-DRta8lK_.js');
25
+ require('../../Title-BLGDdlnX.js');
26
26
 
27
27
  var accordionAppearance = {
28
28
  dev: {},
@@ -33,8 +33,8 @@ var accordionItemAppearance = {
33
33
 
34
34
  var accordionItemConfig = {
35
35
  appearance: accordionItemAppearance,
36
- setAppearance: function (newComponent) {
37
- accordionItemConfig.appearance = newComponent;
36
+ setAppearance: function (appearanceConfig) {
37
+ accordionItemConfig.appearance = appearanceConfig;
38
38
  },
39
39
  };
40
40
  function AccordionItem(props) {
@@ -63,8 +63,8 @@ function AccordionItem(props) {
63
63
 
64
64
  var accordionConfig = {
65
65
  appearance: accordionAppearance,
66
- setAppearance: function (newComponent) {
67
- accordionConfig.appearance = newComponent;
66
+ setAppearance: function (appearanceConfig) {
67
+ accordionConfig.appearance = appearanceConfig;
68
68
  },
69
69
  };
70
70
  function Accordion(props) {