@itcase/ui 1.8.19 → 1.8.22

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 (287) hide show
  1. package/dist/Avatar_cjs_DSXs1Yrg.js +221 -0
  2. package/dist/Avatar_es_DByUaJL6.js +217 -0
  3. package/dist/{Button_cjs_DjCsrrlr.js → Button_cjs_CukkOE-v.js} +15 -6
  4. package/dist/{Button_es_CHDT0-8K.js → Button_es_DXcCJuNX.js} +15 -6
  5. package/dist/{ChipsGroup_cjs_CTpMiyQb.js → ChipsGroup_cjs_9wrMZrzL.js} +2 -2
  6. package/dist/{ChipsGroup_es_CP_xm25C.js → ChipsGroup_es_CjGZ-ulT.js} +2 -2
  7. package/dist/{DatePicker_cjs_DPtOL1eW.js → DatePicker_cjs_BriuTQqj.js} +4 -4
  8. package/dist/{DatePicker_es_DCuzMD0T.js → DatePicker_es_DzY_fVii.js} +4 -4
  9. package/dist/{DropdownItem_cjs_DW0UXopm.js → DropdownItem_cjs_DY61IdLK.js} +15 -15
  10. package/dist/{DropdownItem_es_vuNthDPa.js → DropdownItem_es_D8mY9vFZ.js} +15 -15
  11. package/dist/{Group_cjs_B0oM0pjF.js → Group_cjs_Cwt0gWk4.js} +9 -2
  12. package/dist/{Group_es_B8pQHYsC.js → Group_es_CYW2Hquh.js} +9 -2
  13. package/dist/{Image_cjs_DuIBtUq5.js → Image_cjs_CCWqbNn4.js} +11 -3
  14. package/dist/{Image_es_CSzHhlA1.js → Image_es_DZUVp0FS.js} +11 -3
  15. package/dist/{Label_cjs_mw4pHZR1.js → Label_cjs_CnwET26s.js} +12 -4
  16. package/dist/{Label_es_CiPEDFcR.js → Label_es_Dc18d1gY.js} +12 -4
  17. package/dist/Link_cjs_DbRGq2Yk.js +303 -0
  18. package/dist/Link_es_DxtZLeKY.js +298 -0
  19. package/dist/{Loader_cjs_DZbIy6Ko.js → Loader_cjs_3VRzFLI2.js} +14 -2
  20. package/dist/{Loader_es_SHdP0IkA.js → Loader_es_DEYowVdU.js} +14 -2
  21. package/dist/Text_cjs_DPhKj3wf.js +68 -0
  22. package/dist/{Text_es_D012qJ8s.js → Text_es_BRb3qqKM.js} +8 -3
  23. package/dist/{Tooltip_cjs_BKOjNMkt.js → Tooltip_cjs_PkuRdzzy.js} +480 -17
  24. package/dist/{Tooltip_es_C7zstTA2.js → Tooltip_es_BaGfb-qC.js} +480 -17
  25. package/dist/cjs/components/Accordion.js +3 -3
  26. package/dist/cjs/components/Avatar.js +13 -236
  27. package/dist/cjs/components/AvatarStack.js +35 -0
  28. package/dist/cjs/components/Badge.js +3 -3
  29. package/dist/cjs/components/Breadcrumbs.js +4 -4
  30. package/dist/cjs/components/Button.js +5 -5
  31. package/dist/cjs/components/Cell.js +16 -150
  32. package/dist/cjs/components/Checkbox.js +1 -1
  33. package/dist/cjs/components/Chips.js +4 -4
  34. package/dist/cjs/components/Choice.js +6 -6
  35. package/dist/cjs/components/Code.js +2 -8
  36. package/dist/cjs/components/CookiesWarning.js +13 -6
  37. package/dist/cjs/components/DatePeriod.js +8 -8
  38. package/dist/cjs/components/DatePicker.js +7 -7
  39. package/dist/cjs/components/Drawer.js +26 -2
  40. package/dist/cjs/components/Dropdown.js +5 -2
  41. package/dist/cjs/components/Group.js +1 -1
  42. package/dist/cjs/components/Icon.js +3 -3
  43. package/dist/cjs/components/Image.js +2 -2
  44. package/dist/cjs/components/InputPassword.js +166 -44
  45. package/dist/cjs/components/Label.js +4 -4
  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 +2 -2
  49. package/dist/cjs/components/Logo.js +1 -1
  50. package/dist/cjs/components/MenuItem.js +30 -10
  51. package/dist/cjs/components/Modal.js +4 -4
  52. package/dist/cjs/components/ModalSheetBottom.js +7 -0
  53. package/dist/cjs/components/Notification.js +1 -1
  54. package/dist/cjs/components/Pagination.js +11 -9
  55. package/dist/cjs/components/Radio.js +1 -1
  56. package/dist/cjs/components/Response/img.js +33 -0
  57. package/dist/cjs/components/Response.js +96 -184
  58. package/dist/cjs/components/Search.js +126 -13
  59. package/dist/cjs/components/Segmented.js +1 -1
  60. package/dist/cjs/components/Select.js +4 -4
  61. package/dist/cjs/components/Swiper.js +3 -3
  62. package/dist/cjs/components/Switch.js +238 -3
  63. package/dist/cjs/components/Tab.js +3 -3
  64. package/dist/cjs/components/Text.js +1 -1
  65. package/dist/cjs/components/Tile.js +81 -8
  66. package/dist/cjs/components/Title.js +3 -3
  67. package/dist/cjs/components/Tooltip.js +3 -3
  68. package/dist/components/Accordion.js +3 -3
  69. package/dist/components/Avatar.js +10 -237
  70. package/dist/components/AvatarStack.js +33 -0
  71. package/dist/components/Badge.js +3 -3
  72. package/dist/components/Breadcrumbs.js +4 -4
  73. package/dist/components/Button.js +5 -5
  74. package/dist/components/Cell.js +16 -150
  75. package/dist/components/Checkbox.js +1 -1
  76. package/dist/components/Chips.js +4 -4
  77. package/dist/components/Choice.js +6 -6
  78. package/dist/components/Code.js +2 -8
  79. package/dist/components/CookiesWarning.js +13 -7
  80. package/dist/components/DatePeriod.js +8 -8
  81. package/dist/components/DatePicker.js +7 -7
  82. package/dist/components/Drawer.js +26 -2
  83. package/dist/components/Dropdown.js +5 -2
  84. package/dist/components/Group.js +1 -1
  85. package/dist/components/Icon.js +3 -3
  86. package/dist/components/Image.js +2 -2
  87. package/dist/components/InputPassword.js +166 -43
  88. package/dist/components/Label.js +4 -4
  89. package/dist/components/Link.js +1 -1
  90. package/dist/components/List.js +1 -1
  91. package/dist/components/Loader.js +2 -2
  92. package/dist/components/Logo.js +1 -1
  93. package/dist/components/MenuItem.js +30 -10
  94. package/dist/components/Modal.js +4 -4
  95. package/dist/components/ModalSheetBottom.js +7 -1
  96. package/dist/components/Notification.js +1 -1
  97. package/dist/components/Pagination.js +11 -9
  98. package/dist/components/Radio.js +1 -1
  99. package/dist/components/Response/img.js +31 -0
  100. package/dist/components/Response.js +96 -184
  101. package/dist/components/Search.js +126 -13
  102. package/dist/components/Segmented.js +1 -1
  103. package/dist/components/Select.js +4 -4
  104. package/dist/components/Swiper.js +3 -3
  105. package/dist/components/Switch.js +238 -3
  106. package/dist/components/Tab.js +3 -3
  107. package/dist/components/Text.js +1 -1
  108. package/dist/components/Tile.js +81 -8
  109. package/dist/components/Title.js +3 -3
  110. package/dist/components/Tooltip.js +3 -3
  111. package/dist/css/components/AvatarStack/AvatarStack.css +54 -0
  112. package/dist/css/components/Code/Code.css +3 -6
  113. package/dist/css/components/Icon/Icon.css +128 -4
  114. package/dist/css/components/Label/Label.css +4 -4
  115. package/dist/css/components/MenuItem/MenuItem.css +19 -43
  116. package/dist/css/components/Response/Response.css +6 -3
  117. package/dist/css/components/Tab/Tab.css +14 -31
  118. package/dist/css/components/Text/Text.css +0 -9
  119. package/dist/css/components/Tile/Tile.css +7 -5
  120. package/dist/css/styles/border-color/border-color_hover.css +6 -8
  121. package/dist/css/styles/fill/fill_active.css +19 -9
  122. package/dist/css/styles/fill/fill_active_hover.css +19 -0
  123. package/dist/css/styles/fill/fill_hover.css +19 -0
  124. package/dist/css/styles/svg-color/svg_fill.css +5 -5
  125. package/dist/css/styles/text-color/text-color_active.css +17 -0
  126. package/dist/css/styles/text-color/text-color_active_hover.css +40 -0
  127. package/dist/stories/Plsyground.mdx +0 -1
  128. package/dist/stories/index.stories.js +46 -0
  129. package/dist/stories/useDevicePropsGenerator.mdx +76 -102
  130. package/dist/stories/useMediaQueries.mdx +32 -7
  131. package/dist/stories/useStyles.mdx +50 -2
  132. package/dist/types/components/Avatar/appearance/avatarAccent.d.ts +0 -4
  133. package/dist/types/components/Avatar/appearance/avatarDanger.d.ts +0 -1
  134. package/dist/types/components/Avatar/appearance/avatarInfo.d.ts +0 -4
  135. package/dist/types/components/Avatar/appearance/avatarPrimary.d.ts +0 -1
  136. package/dist/types/components/Avatar/appearance/avatarSecondary.d.ts +0 -1
  137. package/dist/types/components/Avatar/appearance/avatarSuccess.d.ts +1 -3
  138. package/dist/types/components/Avatar/appearance/avatarSurface.d.ts +0 -6
  139. package/dist/types/components/AvatarStack/AvatarStack.d.ts +3 -0
  140. package/dist/types/components/AvatarStack/AvatarStack.interface.d.ts +9 -0
  141. package/dist/types/components/AvatarStack/index.d.ts +2 -0
  142. package/dist/types/components/Button/appearance/buttonAccent.d.ts +1 -0
  143. package/dist/types/components/Button/appearance/buttonDanger.d.ts +8 -0
  144. package/dist/types/components/Cell/appearance/cellSize.d.ts +8 -44
  145. package/dist/types/components/Code/appearance/codeSize.d.ts +2 -8
  146. package/dist/types/components/CookiesWarning/CookiesWarning.appearance.d.ts +5 -0
  147. package/dist/types/components/CookiesWarning/index.d.ts +2 -1
  148. package/dist/types/components/Drawer/appearance/drawerSurface.d.ts +25 -0
  149. package/dist/types/components/Dropdown/appearance/dropdownAccent.d.ts +0 -6
  150. package/dist/types/components/Dropdown/appearance/dropdownSurface.d.ts +5 -0
  151. package/dist/types/components/InputPassword/InputPassword.appearance.d.ts +2 -3
  152. package/dist/types/components/InputPassword/InputPassword.interface.d.ts +4 -11
  153. package/dist/types/components/InputPassword/appearance/inputPasswordDefault.d.ts +24 -0
  154. package/dist/types/components/InputPassword/appearance/inputPasswordDisabled.d.ts +20 -0
  155. package/dist/types/components/InputPassword/appearance/inputPasswordError.d.ts +20 -0
  156. package/dist/types/components/InputPassword/appearance/inputPasswordRequire.d.ts +20 -0
  157. package/dist/types/components/InputPassword/appearance/inputPasswordSize.d.ts +59 -0
  158. package/dist/types/components/InputPassword/appearance/inputPasswordStyle.d.ts +16 -0
  159. package/dist/types/components/InputPassword/appearance/inputPasswordSuccess.d.ts +20 -0
  160. package/dist/types/components/InputPassword/index.d.ts +1 -1
  161. package/dist/types/components/Label/appearance/labelAccent.d.ts +7 -0
  162. package/dist/types/components/Label/appearance/labelSize.d.ts +1 -0
  163. package/dist/types/components/Link/Link.interface.d.ts +1 -1
  164. package/dist/types/components/{Cell/appearance/cellAccent.d.ts → Link/appearance/linkAccent.d.ts} +2 -3
  165. package/dist/types/components/{Cell/appearance/cellDanger.d.ts → Link/appearance/linkDanger.d.ts} +2 -2
  166. package/dist/types/components/Link/appearance/linkDisabled.d.ts +20 -0
  167. package/dist/types/components/{Cell/appearance/cellError.d.ts → Link/appearance/linkError.d.ts} +2 -2
  168. package/dist/types/components/{Cell/appearance/cellInfo.d.ts → Link/appearance/linkInfo.d.ts} +2 -2
  169. package/dist/types/components/{Cell/appearance/cellPrimary.d.ts → Link/appearance/linkPrimary.d.ts} +2 -2
  170. package/dist/types/components/Link/appearance/linkRequire.d.ts +20 -0
  171. package/dist/types/components/{Cell/appearance/cellSecondary.d.ts → Link/appearance/linkSecondary.d.ts} +2 -2
  172. package/dist/types/components/Link/appearance/linkSize.d.ts +59 -0
  173. package/dist/types/components/Link/appearance/linkStyle.d.ts +16 -0
  174. package/dist/types/components/{Cell/appearance/cellSuccess.d.ts → Link/appearance/linkSuccess.d.ts} +2 -2
  175. package/dist/types/components/Link/appearance/linkSurface.d.ts +25 -0
  176. package/dist/types/components/{Cell/appearance/cellWarning.d.ts → Link/appearance/linkWarning.d.ts} +2 -2
  177. package/dist/types/components/Loader/Loader.appearance.d.ts +3 -2
  178. package/dist/types/components/Loader/Loader.interface.d.ts +16 -17
  179. package/dist/types/components/Loader/appearance/loaderSize.d.ts +12 -0
  180. package/dist/types/components/MenuItem/appearance/menuItemSize.d.ts +1 -0
  181. package/dist/types/components/MenuItem/appearance/menuItemSurface.d.ts +4 -2
  182. package/dist/types/components/ModalSheetBottom/ModalSheetBottom.appearance.d.ts +5 -0
  183. package/dist/types/components/ModalSheetBottom/index.d.ts +1 -0
  184. package/dist/types/components/Pagination/appearance/paginationSize.d.ts +8 -0
  185. package/dist/types/components/Pagination/appearance/paginationSurface.d.ts +2 -0
  186. package/dist/types/components/Response/Response.appearance.d.ts +2 -2
  187. package/dist/types/components/Response/appearance/responceConfirm.d.ts +13 -0
  188. package/dist/types/components/Response/appearance/responceFail.d.ts +13 -0
  189. package/dist/types/components/Response/appearance/responceNothingFound.d.ts +13 -0
  190. package/dist/types/components/Response/appearance/responceRefresh.d.ts +13 -0
  191. package/dist/types/components/Response/appearance/responseError.d.ts +13 -0
  192. package/dist/types/components/Response/appearance/responseSuccess.d.ts +13 -0
  193. package/dist/types/components/Response/appearance/responseUnableLoadData.d.ts +13 -0
  194. package/dist/types/components/Response/appearance/responseWarning.d.ts +13 -0
  195. package/dist/types/components/Response/img/index.d.ts +12 -0
  196. package/dist/types/components/Search/appearance/searchDefault.d.ts +24 -0
  197. package/dist/types/components/Search/appearance/searchDisabled.d.ts +20 -0
  198. package/dist/types/components/Search/appearance/searchError.d.ts +20 -0
  199. package/dist/types/components/Search/appearance/searchRequire.d.ts +20 -0
  200. package/dist/types/components/Search/appearance/searchSize.d.ts +18 -8
  201. package/dist/types/components/Search/appearance/searchSuccess.d.ts +20 -0
  202. package/dist/types/components/Switch/Switch.appearance.d.ts +1 -1
  203. package/dist/types/components/Switch/appearance/switchAccent.d.ts +20 -0
  204. package/dist/types/components/Switch/appearance/switchDanger.d.ts +7 -0
  205. package/dist/types/components/Switch/appearance/switchDisabled.d.ts +20 -0
  206. package/dist/types/components/Switch/appearance/switchError.d.ts +11 -0
  207. package/dist/types/components/Switch/appearance/switchInfo.d.ts +21 -0
  208. package/dist/types/components/Switch/appearance/switchPrimary.d.ts +8 -0
  209. package/dist/types/components/Switch/appearance/switchRequire.d.ts +20 -0
  210. package/dist/types/components/Switch/appearance/switchSecondary.d.ts +8 -0
  211. package/dist/types/components/Switch/appearance/switchSize.d.ts +59 -0
  212. package/dist/types/components/Switch/appearance/switchStyle.d.ts +16 -0
  213. package/dist/types/components/Switch/appearance/switchSuccess.d.ts +11 -0
  214. package/dist/types/components/Switch/appearance/switchSurface.d.ts +25 -0
  215. package/dist/types/components/Switch/appearance/switchWarning.d.ts +11 -0
  216. package/dist/types/components/Tile/appearance/tileSize.d.ts +51 -0
  217. package/dist/types/components/Tile/appearance/tileSurface.d.ts +24 -0
  218. package/dist/types/components/Title/Title.appearance.d.ts +2 -2
  219. package/dist/types/components/Title/Title.interface.d.ts +3 -3
  220. package/dist/types/components/Title/appearance/titleAccent.d.ts +20 -0
  221. package/dist/types/components/Title/appearance/titleDanger.d.ts +7 -0
  222. package/dist/types/components/Title/appearance/titleDisabled.d.ts +20 -0
  223. package/dist/types/components/Title/appearance/titleError.d.ts +11 -0
  224. package/dist/types/components/Title/appearance/titleInfo.d.ts +21 -0
  225. package/dist/types/components/Title/appearance/titlePrimary.d.ts +8 -0
  226. package/dist/types/components/Title/appearance/titleRequire.d.ts +20 -0
  227. package/dist/types/components/Title/appearance/titleSecondary.d.ts +8 -0
  228. package/dist/types/components/Title/appearance/titleSize.d.ts +59 -0
  229. package/dist/types/components/Title/appearance/titleStyle.d.ts +16 -0
  230. package/dist/types/components/Title/appearance/titleSuccess.d.ts +11 -0
  231. package/dist/types/components/Title/appearance/titleSurface.d.ts +25 -0
  232. package/dist/types/components/Title/appearance/titleWarning.d.ts +11 -0
  233. package/dist/types/components/Tooltip/Tooltip.appearance.d.ts +1 -1
  234. package/dist/types/components/Tooltip/appearance/tooltipAccent.d.ts +20 -0
  235. package/dist/types/components/Tooltip/appearance/tooltipDanger.d.ts +7 -0
  236. package/dist/types/components/Tooltip/appearance/tooltipDisabled.d.ts +20 -0
  237. package/dist/types/components/Tooltip/appearance/tooltipError.d.ts +11 -0
  238. package/dist/types/components/Tooltip/appearance/tooltipInfo.d.ts +21 -0
  239. package/dist/types/components/Tooltip/appearance/tooltipPrimary.d.ts +8 -0
  240. package/dist/types/components/Tooltip/appearance/tooltipRequire.d.ts +20 -0
  241. package/dist/types/components/Tooltip/appearance/tooltipSecondary.d.ts +8 -0
  242. package/dist/types/components/Tooltip/appearance/tooltipSize.d.ts +59 -0
  243. package/dist/types/components/Tooltip/appearance/tooltipStyle.d.ts +16 -0
  244. package/dist/types/components/Tooltip/appearance/tooltipSuccess.d.ts +11 -0
  245. package/dist/types/components/Tooltip/appearance/tooltipSurface.d.ts +25 -0
  246. package/dist/types/components/Tooltip/appearance/tooltipWarning.d.ts +11 -0
  247. package/package.json +7 -7
  248. package/dist/Link_cjs_yht44xJv.js +0 -68
  249. package/dist/Link_es_DkW06IM-.js +0 -63
  250. package/dist/Text_cjs_iL1l_7V1.js +0 -63
  251. package/dist/cjs/components/InputMask.js +0 -65
  252. package/dist/cjs/components/Panel.js +0 -44
  253. package/dist/components/InputMask.js +0 -62
  254. package/dist/components/Panel.js +0 -41
  255. package/dist/css/components/InputMask/InputMask.css +0 -77
  256. package/dist/css/components/Panel/Panel.css +0 -107
  257. package/dist/stories/Accordion.mdx +0 -11
  258. package/dist/stories/AccordionItem.mdx +0 -15
  259. package/dist/stories/Breadcrumbs.mdx +0 -15
  260. package/dist/stories/BreadcrumbsItem.mdx +0 -17
  261. package/dist/stories/Dot.mdx +0 -19
  262. package/dist/stories/Drawer.mdx +0 -11
  263. package/dist/stories/Dropdown.mdx +0 -12
  264. package/dist/stories/DropdownItem.mdx +0 -19
  265. package/dist/stories/Image.mdx +0 -15
  266. package/dist/stories/Input.mdx +0 -31
  267. package/dist/stories/InputPassword.mdx +0 -15
  268. package/dist/stories/Label.mdx +0 -11
  269. package/dist/stories/ListItem.mdx +0 -11
  270. package/dist/stories/Logo.mdx +0 -24
  271. package/dist/stories/MenuItem.mdx +0 -15
  272. package/dist/stories/Modal.mdx +0 -15
  273. package/dist/stories/Notification.mdx +0 -23
  274. package/dist/stories/Pagination.mdx +0 -11
  275. package/dist/stories/Radio.mdx +0 -28
  276. package/dist/stories/Response.mdx +0 -11
  277. package/dist/stories/SearchInput.mdx +0 -19
  278. package/dist/stories/Switch.mdx +0 -23
  279. package/dist/stories/Tab.mdx +0 -27
  280. package/dist/stories/Text.mdx +0 -35
  281. package/dist/stories/Tile.mdx +0 -11
  282. package/dist/types/components/InputMask/InputMask.d.ts +0 -5
  283. package/dist/types/components/InputMask/InputMask.interface.d.ts +0 -54
  284. package/dist/types/components/InputMask/index.d.ts +0 -1
  285. package/dist/types/components/Panel/Panel.d.ts +0 -5
  286. package/dist/types/components/Panel/Panel.interface.d.ts +0 -58
  287. package/dist/types/components/Panel/index.d.ts +0 -1
@@ -4,9 +4,9 @@ import React, { useMemo, useRef, useState, useCallback, useImperativeHandle } fr
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_es_D012qJ8s.js';
7
+ import { T as Text } from './Text_es_BRb3qqKM.js';
8
8
  import SVG from 'react-inlinesvg';
9
- import { a as LinkWrapper } from './Link_es_DkW06IM-.js';
9
+ import { a as LinkWrapper } from './Link_es_DxtZLeKY.js';
10
10
 
11
11
  var badgeAppearanceAccent = {
12
12
  accent: {
@@ -509,7 +509,7 @@ var iconConfig = {
509
509
  var Icon = React.forwardRef(function Icon(props, ref) {
510
510
  // TODO: Tooltip doesn't work that anymore
511
511
  // const [isTooltipVisible, setIsTooltipVisible] = useState(false)
512
- var id = props.id, className = props.className, appearance = props.appearance, badgeClass = props.badgeClass, width = props.width, height = props.height, dataTour = props.dataTour, href = props.href, imageSrc = props.imageSrc, link = props.link, linkRel = props.linkRel, linkTarget = props.linkTarget, showTooltip = props.showTooltip, SvgImage = props.SvgImage, before = props.before, after = props.after, onClick = props.onClick, onMouseEnter = props.onMouseEnter, onMouseLeave = props.onMouseLeave;
512
+ var id = props.id, className = props.className, appearance = props.appearance, width = props.width, height = props.height, badgeClass = props.badgeClass, dataTour = props.dataTour, href = props.href, imageSrc = props.imageSrc, link = props.link, linkRel = props.linkRel, linkTarget = props.linkTarget, showTooltip = props.showTooltip, SvgImage = props.SvgImage, before = props.before, after = props.after, isActive = props.isActive, onClick = props.onClick, onMouseEnter = props.onMouseEnter, onMouseLeave = props.onMouseLeave;
513
513
  var ImageComponent = useMemo(function () {
514
514
  if (SvgImage) {
515
515
  var sizes = {};
@@ -534,10 +534,19 @@ var Icon = React.forwardRef(function Icon(props, ref) {
534
534
  return (__assign(__assign({}, resultConfig), (_a = iconConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
535
535
  }, {});
536
536
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
537
- var alignmentClass = propsGenerator.alignmentClass, fillClass = propsGenerator.fillClass, fillDisabledClass = propsGenerator.fillDisabledClass, fillHoverClass = propsGenerator.fillHoverClass, fillSizeClass = propsGenerator.fillSizeClass, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, iconFillDisabledClass = propsGenerator.iconFillDisabledClass, badgeAppearance = propsGenerator.badgeAppearance, badgeShape = propsGenerator.badgeShape, badgeSize = propsGenerator.badgeSize, badgeTextColor = propsGenerator.badgeTextColor, badgeTextSize = propsGenerator.badgeTextSize, badgeValue = propsGenerator.badgeValue, cursorClass = propsGenerator.cursorClass, iconFillClass = propsGenerator.iconFillClass, iconFillHoverClass = propsGenerator.iconFillHoverClass, iconSizeClass = propsGenerator.iconSizeClass, shapeClass = propsGenerator.shapeClass, tooltipAppearance = propsGenerator.tooltipAppearance, tooltipText = propsGenerator.tooltipText, tooltipTextSize = propsGenerator.tooltipTextSize, tooltipTitle = propsGenerator.tooltipTitle, tooltipTitleSize = propsGenerator.tooltipTitleSize;
537
+ var alignmentClass = propsGenerator.alignmentClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillDisabledClass = propsGenerator.fillDisabledClass, fillHoverClass = propsGenerator.fillHoverClass, fillSizeClass = propsGenerator.fillSizeClass, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, iconFillDisabledClass = propsGenerator.iconFillDisabledClass, badgeAppearance = propsGenerator.badgeAppearance, badgeShape = propsGenerator.badgeShape, badgeSize = propsGenerator.badgeSize, badgeTextColor = propsGenerator.badgeTextColor, badgeTextSize = propsGenerator.badgeTextSize, badgeValue = propsGenerator.badgeValue, cursorClass = propsGenerator.cursorClass, iconFillActiveClass = propsGenerator.iconFillActiveClass, iconFillActiveHoverClass = propsGenerator.iconFillActiveHoverClass, iconFillClass = propsGenerator.iconFillClass, iconFillHoverClass = propsGenerator.iconFillHoverClass, iconSizeClass = propsGenerator.iconSizeClass, shapeClass = propsGenerator.shapeClass, tooltipAppearance = propsGenerator.tooltipAppearance, tooltipText = propsGenerator.tooltipText, tooltipTextSize = propsGenerator.tooltipTextSize, tooltipTitle = propsGenerator.tooltipTitle, tooltipTitleSize = propsGenerator.tooltipTitleSize;
538
538
  // @ts-expect-error
539
539
  var iconStyles = useStyles(props).styles;
540
- return (jsxs("div", { id: id, className: clsx(className, 'icon', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), fillSizeClass && "icon_fill_size_".concat(fillSizeClass), fillDisabledClass && "fill_disabled_".concat(fillDisabledClass), iconFillClass && "icon_fill_".concat(iconFillClass), iconFillHoverClass && "icon_fill_hover_".concat(iconFillHoverClass), iconFillDisabledClass && "icon_fill_disabled_".concat(iconFillDisabledClass), shapeClass && "icon_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), badgeValue && 'icon_with-badge', onClick && cursorClass && "cursor_".concat(cursorClass)), "data-tour": dataTour, ref: ref, style: iconStyles, onClick: onClick, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, children: [before, jsxs(LinkWrapper, { className: clsx((link || href || onClick) && 'cursor_type_pointer', link || href ? 'icon__link' : 'icon__item', iconSizeClass && "icon_size_".concat(iconSizeClass)), DefaultComponent: "div", href: link || href, rel: linkRel, target: linkTarget, children: [ImageComponent, badgeValue && (jsx(Badge, { className: clsx(badgeClass, 'icon__badge'), appearance: badgeAppearance, size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue })), showTooltip && (jsx(Tooltip, { className: clsx(className, 'icon__tooltip', alignmentClass && "alignment_".concat(alignmentClass)), appearance: tooltipAppearance, title: tooltipTitle, titleSize: tooltipTitleSize, text: tooltipText, textSize: tooltipTextSize }))] }), after] }));
540
+ return (jsxs("div", { id: id, className: clsx(className, 'icon', !isActive
541
+ ? fillClass && "fill_".concat(fillClass)
542
+ : fillActiveClass && "fill_active_".concat(fillActiveClass), !isActive
543
+ ? fillHoverClass && "fill_hover_".concat(fillHoverClass)
544
+ : fillActiveHoverClass && "fill_active_hover_".concat(fillActiveHoverClass), fillSizeClass && "icon_fill_size_".concat(fillSizeClass), fillDisabledClass && "fill_disabled_".concat(fillDisabledClass), !isActive
545
+ ? iconFillClass && "icon_fill_".concat(iconFillClass)
546
+ : iconFillActiveClass && "icon_fill_active_".concat(iconFillActiveClass), !isActive
547
+ ? iconFillHoverClass && "icon_fill_hover_".concat(iconFillHoverClass)
548
+ : iconFillActiveHoverClass &&
549
+ "icon_fill_active_hover_".concat(iconFillActiveHoverClass), iconFillDisabledClass && "icon_fill_disabled_".concat(iconFillDisabledClass), shapeClass && "icon_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), badgeValue && 'icon_with-badge', onClick && cursorClass && "cursor_".concat(cursorClass)), "data-tour": dataTour, ref: ref, style: iconStyles, onClick: onClick, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, children: [before, jsxs(LinkWrapper, { className: clsx((link || href || onClick) && 'cursor_type_pointer', link || href ? 'icon__link' : 'icon__item', iconSizeClass && "icon_size_".concat(iconSizeClass)), href: link || href, LinkComponent: "div", rel: linkRel, target: linkTarget, children: [ImageComponent, badgeValue && (jsx(Badge, { className: clsx(badgeClass, 'icon__badge'), appearance: badgeAppearance, size: badgeSize, textColor: badgeTextColor, textSize: badgeTextSize, shape: badgeShape, value: badgeValue })), showTooltip && (jsx(Tooltip, { className: clsx(className, 'icon__tooltip', alignmentClass && "alignment_".concat(alignmentClass)), appearance: tooltipAppearance, title: tooltipTitle, titleSize: tooltipTitleSize, text: tooltipText, textSize: tooltipTextSize }))] }), after] }));
541
550
  });
542
551
  var removeFillStroke = function (code) {
543
552
  return code
@@ -545,12 +554,245 @@ var removeFillStroke = function (code) {
545
554
  .replace(/stroke=".*?"/g, 'stroke=""');
546
555
  };
547
556
 
548
- var titleAppearance = {
549
- dev: {
557
+ var titleAppearanceAccent = {
558
+ accent: {
559
+ fill: 'accentPrimary',
560
+ fillHover: 'accentPrimaryHover',
561
+ },
562
+ accentPrimary: {
563
+ fill: 'accentPrimary',
564
+ fillHover: 'accentPrimaryHover',
565
+ borderColor: 'accentBorderPrimary',
566
+ },
567
+ accentSecondary: {
568
+ fill: 'accentPrimary',
569
+ fillHover: 'accentPrimaryHover',
570
+ labelTextColor: 'accentTextSecondary',
571
+ labelTextColorHover: 'accentTextSecondary',
572
+ borderColor: 'accentBorderPrimary',
573
+ loaderItemFill: 'accentItemPrimary',
574
+ },
575
+ };
576
+
577
+ var titleAppearanceDanger = {
578
+ danger: {
579
+ fill: 'dangerPrimary',
580
+ fillHover: 'dangerPrimaryHover',
581
+ },
582
+ };
583
+
584
+ var titleAppearanceDisabled = {
585
+ disabledPrimary: {
586
+ fill: 'surfaceFillDisabled',
587
+ borderColor: 'errorBorderQuaternary',
588
+ borderHover: 'errorBorderQuaternary',
589
+ textColor: 'surfaceTextQuaternary',
590
+ iconBeforeFill: 'errorItemQuaternary',
591
+ iconClearFill: 'errorItemPrimary',
592
+ placeholderTextColor: 'surfaceTextQuaternary',
593
+ },
594
+ disabledSecondary: {
595
+ fill: 'surfaceSecondary',
596
+ borderColor: 'surfaceBorderTertiary',
597
+ borderHover: 'surfaceBorderQuaternary',
598
+ iconBeforeFill: 'surfaceItemQuaternary',
599
+ iconClearFill: 'surfaceItemPrimary',
600
+ placeholderTextColor: 'surfaceTextSecondary',
601
+ },
602
+ };
603
+
604
+ var titleAppearanceError = {
605
+ error: {
606
+ fill: 'errorPrimary',
607
+ fillHover: 'errorPrimaryHover',
608
+ labelTextColor: 'errorTextPrimary',
609
+ labelTextColorHover: 'errorTextPrimary',
610
+ loaderFill: 'errorPrimary',
611
+ loaderItemFill: 'errorItemPrimary',
612
+ },
613
+ };
614
+
615
+ var titleAppearanceInfo = {
616
+ info: {
617
+ fill: 'accentPrimary',
618
+ fillHover: 'accentPrimaryHover',
619
+ labelTextColor: 'accentTextPrimary',
620
+ labelTextColorHover: 'accentTextPrimary',
621
+ borderColor: 'accentBorderPrimary',
622
+ loaderFill: 'accentPrimary',
623
+ loaderItemFill: 'accentItemPrimary',
624
+ },
625
+ infoSecondary: {
626
+ fill: 'accentPrimary',
627
+ fillHover: 'accentPrimaryHover',
628
+ labelTextColor: 'accentTextSecondary',
629
+ labelTextColorHover: 'accentTextSecondary',
630
+ borderColor: 'accentBorderPrimary',
631
+ loaderFill: 'accentPrimary',
632
+ loaderItemFill: 'accentItemPrimary',
633
+ },
634
+ };
635
+
636
+ var titleAppearancePrimary = {
637
+ primary: {
638
+ fill: 'primaryPrimary',
639
+ fillHover: 'primaryPrimaryHover',
640
+ labelTextColor: 'primaryTextPrimary',
641
+ },
642
+ };
643
+
644
+ var titleAppearanceRequire = {
645
+ requirePrimary: {
646
+ fill: 'warningTertiary',
647
+ borderColor: 'warningBorderQuaternary',
648
+ borderHover: 'warningBorderQuaternary',
550
649
  textColor: 'surfaceTextPrimary',
650
+ iconBeforeFill: 'warningItemQuaternary',
651
+ iconClearFill: 'warningItemPrimary',
652
+ placeholderTextColor: 'surfaceTextQuaternary',
653
+ },
654
+ requireSecondary: {
655
+ fill: 'surfaceSecondary',
656
+ borderColor: 'surfaceBorderTertiary',
657
+ borderHover: 'surfaceBorderQuaternary',
658
+ iconBeforeFill: 'surfaceItemQuaternary',
659
+ iconClearFill: 'surfaceItemPrimary',
660
+ placeholderTextColor: 'surfaceTextSecondary',
661
+ },
662
+ };
663
+
664
+ var titleAppearanceSecondary = {
665
+ secondary: {
666
+ fill: 'secondaryPrimary',
667
+ fillHover: 'secondaryPrimaryHover',
668
+ labelTextColor: 'secondaryTextPrimary',
669
+ },
670
+ };
671
+
672
+ var titleAppearanceSize = {
673
+ sizeXXL: {
674
+ size: 'xxl',
675
+ labelTextSize: 'xxl',
676
+ iconAfterFillSize: '24',
677
+ iconAfterSize: '24',
678
+ iconBeforeFillSize: '24',
679
+ iconBeforeSize: '24',
680
+ },
681
+ sizeXL: {
682
+ size: 'xl',
683
+ labelTextSize: 'l',
684
+ iconAfterFillSize: '24',
685
+ iconAfterSize: '24',
686
+ iconBeforeFillSize: '24',
687
+ iconBeforeSize: '24',
688
+ },
689
+ sizeL: {
690
+ size: 'l',
691
+ labelTextSize: 'l',
692
+ iconAfterFillSize: '24',
693
+ iconAfterSize: '24',
694
+ iconBeforeFillSize: '24',
695
+ iconBeforeSize: '24',
696
+ },
697
+ sizeM: {
698
+ size: 'm',
699
+ labelTextSize: 'm',
700
+ iconAfterFillSize: '24',
701
+ iconAfterSize: '24',
702
+ iconBeforeFillSize: '24',
703
+ iconBeforeSize: '24',
704
+ },
705
+ sizeS: {
706
+ size: 's',
707
+ labelTextSize: 's',
708
+ iconAfterFillSize: '20',
709
+ iconAfterSize: '20',
710
+ iconBeforeFillSize: '20',
711
+ iconBeforeSize: '20',
712
+ },
713
+ sizeXS: {
714
+ size: 'xs',
715
+ labelTextSize: 'xs',
716
+ iconAfterFillSize: '16',
717
+ iconAfterSize: '16',
718
+ iconBeforeFillSize: '16',
719
+ iconBeforeSize: '16',
720
+ },
721
+ sizeXXS: {
722
+ size: 'xxs',
723
+ labelTextSize: 'xs',
724
+ iconAfterFillSize: '14',
725
+ iconAfterSize: '14',
726
+ iconBeforeFillSize: '14',
727
+ iconBeforeSize: '14',
728
+ },
729
+ };
730
+
731
+ var titleAppearanceStyle = {
732
+ full: {
733
+ borderColor: '0',
734
+ },
735
+ ghost: {
736
+ fill: 'none',
737
+ borderColor: '0',
738
+ },
739
+ outlined: {
740
+ fill: 'none',
741
+ },
742
+ solid: {
743
+ borderColor: '0',
744
+ },
745
+ };
746
+
747
+ var titleAppearanceSuccess = {
748
+ success: {
749
+ fill: 'successPrimary',
750
+ fillHover: 'successPrimaryHover',
751
+ labelTextColor: 'successTextSecondary',
752
+ labelTextColorHover: 'successTextSecondary',
753
+ loaderFill: 'successPrimary',
754
+ loaderItemFill: 'successItemPrimary',
755
+ },
756
+ };
757
+
758
+ var titleAppearanceSurface = {
759
+ surfacePrimary: {
760
+ fill: 'surfacePrimary',
761
+ fillHover: 'surfacePrimaryHover',
762
+ labelTextColor: 'surfaceTextPrimary',
763
+ },
764
+ surfaceQuaternary: {
765
+ fill: 'surfaceQuaternary',
766
+ fillHover: 'surfaceQuaternaryHover',
767
+ labelTextColor: 'surfaceTextPrimary',
768
+ },
769
+ surfaceSecondary: {
770
+ fill: 'surfaceSecondary',
771
+ fillHover: 'surfaceSecondaryHover',
772
+ labelTextColor: 'surfaceTextPrimary',
773
+ loaderFill: 'surfaceSecondary',
774
+ loaderItemFill: 'surfaceItemPrimary',
775
+ },
776
+ surfaceTertiary: {
777
+ fill: 'surfaceTertiary',
778
+ fillHover: 'surfaceTertiaryHover',
779
+ labelTextColor: 'surfaceTextPrimary',
780
+ },
781
+ };
782
+
783
+ var titleAppearanceWarning = {
784
+ warning: {
785
+ fill: 'warningPrimary',
786
+ fillHover: 'warningPrimaryHover',
787
+ labelTextColor: 'warningTextSecondary',
788
+ labelTextColorHover: 'warningTextSecondary',
789
+ loaderFill: 'warningPrimary',
790
+ loaderItemFill: 'warningItemPrimary',
551
791
  },
552
792
  };
553
793
 
794
+ var titleAppearance = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, titleAppearanceSize), titleAppearanceDisabled), titleAppearanceRequire), titleAppearanceStyle), titleAppearanceAccent), titleAppearanceDanger), titleAppearanceError), titleAppearanceInfo), titleAppearancePrimary), titleAppearanceSecondary), titleAppearanceSuccess), titleAppearanceSurface), titleAppearanceWarning);
795
+
554
796
  var titleConfig = {
555
797
  appearance: titleAppearance,
556
798
  setAppearance: function (appearanceConfig) {
@@ -558,13 +800,13 @@ var titleConfig = {
558
800
  },
559
801
  };
560
802
  function Title(props) {
561
- var className = props.className, appearance = props.appearance, text = props.text, afterWrapper = props.afterWrapper; props.badgeClass; var beforeWrapper = props.beforeWrapper, dataTour = props.dataTour, _a = props.tag, tag = _a === void 0 ? 'span' : _a, before = props.before, after = props.after, isSkeleton = props.isSkeleton, onClick = props.onClick, children = props.children;
803
+ var className = props.className, appearance = props.appearance, text = props.text, afterWrapper = props.afterWrapper, beforeWrapper = props.beforeWrapper, dataTour = props.dataTour, _a = props.tag, tag = _a === void 0 ? 'span' : _a, before = props.before, after = props.after, isSkeleton = props.isSkeleton, onClick = props.onClick, children = props.children;
562
804
  var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
563
805
  var _a;
564
806
  return (__assign(__assign({}, resultConfig), (_a = titleConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
565
807
  }, {});
566
808
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
567
- var directionClass = propsGenerator.directionClass, size = propsGenerator.size, 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, textWrap = propsGenerator.textWrap, dataTestId = propsGenerator.dataTestId, heightClass = propsGenerator.heightClass, iconAfter = propsGenerator.iconAfter, iconAfterFill = propsGenerator.iconAfterFill, iconAfterFillIcon = propsGenerator.iconAfterFillIcon, iconAfterFillSize = propsGenerator.iconAfterFillSize, iconAfterShape = propsGenerator.iconAfterShape, iconAfterSize = propsGenerator.iconAfterSize, iconAfterSrc = propsGenerator.iconAfterSrc, iconBefore = propsGenerator.iconBefore, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeFillIcon = propsGenerator.iconBeforeFillIcon, iconBeforeFillSize = propsGenerator.iconBeforeFillSize, iconBeforeShape = propsGenerator.iconBeforeShape, iconBeforeSize = propsGenerator.iconBeforeSize, iconBeforeSrc = propsGenerator.iconBeforeSrc, svgFillClass = propsGenerator.svgFillClass, svgFillHoverClass = propsGenerator.svgFillHoverClass, iconBadgeAppearance = propsGenerator.iconBadgeAppearance, iconBadgeSize = propsGenerator.iconBadgeSize, iconBadgeTextColor = propsGenerator.iconBadgeTextColor, iconBadgeTextSize = propsGenerator.iconBadgeTextSize, iconBadgeShape = propsGenerator.iconBadgeShape, iconBadgeValue = propsGenerator.iconBadgeValue, typeClass = propsGenerator.typeClass, widthClass = propsGenerator.widthClass, wrapperDirectionClass = propsGenerator.wrapperDirectionClass;
809
+ var directionClass = propsGenerator.directionClass, size = propsGenerator.size, 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, textWrap = propsGenerator.textWrap, dataTestId = propsGenerator.dataTestId, heightClass = propsGenerator.heightClass, iconAfter = propsGenerator.iconAfter, iconAfterFill = propsGenerator.iconAfterFill, iconAfterFillIcon = propsGenerator.iconAfterFillIcon, iconAfterFillSize = propsGenerator.iconAfterFillSize, iconAfterShape = propsGenerator.iconAfterShape, iconAfterSize = propsGenerator.iconAfterSize, iconAfterSrc = propsGenerator.iconAfterSrc, iconBadgeAppearance = propsGenerator.iconBadgeAppearance, iconBadgeShape = propsGenerator.iconBadgeShape, iconBadgeSize = propsGenerator.iconBadgeSize, iconBadgeTextColor = propsGenerator.iconBadgeTextColor, iconBadgeTextSize = propsGenerator.iconBadgeTextSize, iconBadgeValue = propsGenerator.iconBadgeValue, iconBefore = propsGenerator.iconBefore, iconBeforeFill = propsGenerator.iconBeforeFill, iconBeforeFillIcon = propsGenerator.iconBeforeFillIcon, iconBeforeFillSize = propsGenerator.iconBeforeFillSize, iconBeforeShape = propsGenerator.iconBeforeShape, iconBeforeSize = propsGenerator.iconBeforeSize, iconBeforeSrc = propsGenerator.iconBeforeSrc, svgFillClass = propsGenerator.svgFillClass, svgFillHoverClass = propsGenerator.svgFillHoverClass, typeClass = propsGenerator.typeClass, widthClass = propsGenerator.widthClass, wrapperDirectionClass = propsGenerator.wrapperDirectionClass;
568
810
  // @ts-expect-error
569
811
  var _b = useStyles(props), titleStyles = _b.styles, titleWrapperStyles = _b.wrapper;
570
812
  // Element type (h1, h2, ..., h6)
@@ -574,27 +816,248 @@ function Title(props) {
574
816
  }
575
817
  return size ? size : 'span';
576
818
  }, [tag, size]);
577
- 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), iconBadgeValue && 'title_badge', 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: [(iconBefore || iconBeforeSrc) && (jsx(Icon, { className: clsx('title__icon_before', iconBadgeValue && 'title__icon_before-badge'), fill: iconBeforeFill, fillSize: iconBeforeFillSize, badgeAppearance: iconBadgeAppearance, badgeClass: 'title__icon_before_badge', badgeShape: iconBadgeShape, badgeSize: iconBadgeSize, badgeTextColor: iconBadgeTextColor, badgeTextSize: iconBadgeTextSize, badgeValue: iconBadgeValue, iconFill: iconBeforeFillIcon, iconSize: iconBeforeSize, imageSrc: iconBeforeSrc, shape: iconBeforeShape, SvgImage: iconBefore })), beforeWrapper, children || text, afterWrapper, (iconAfter || iconAfterSrc) && (jsx(Icon, { className: clsx('title__icon_after', iconBadgeValue && 'title__icon_after-badge'), fill: iconAfterFill, fillSize: iconAfterFillSize, badgeAppearance: iconBadgeAppearance, badgeClass: 'title__icon_after_badge', badgeShape: iconBadgeShape, badgeSize: iconBadgeSize, badgeTextColor: iconBadgeTextColor, badgeTextSize: iconBadgeTextSize, badgeValue: iconBadgeValue, iconFill: iconAfterFillIcon, iconSize: iconAfterSize, imageSrc: iconAfterSrc, shape: iconAfterShape, SvgImage: iconAfter }))] }), after] }));
819
+ 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), 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), iconBadgeValue && 'title_badge', 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: [(iconBefore || iconBeforeSrc) && (jsx(Icon, { className: clsx('title__icon_before', iconBadgeValue && 'title__icon_before-badge'), fill: iconBeforeFill, fillSize: iconBeforeFillSize, badgeAppearance: iconBadgeAppearance, badgeClass: 'title__icon_before_badge', badgeShape: iconBadgeShape, badgeSize: iconBadgeSize, badgeTextColor: iconBadgeTextColor, badgeTextSize: iconBadgeTextSize, badgeValue: iconBadgeValue, iconFill: iconBeforeFillIcon, iconSize: iconBeforeSize, imageSrc: iconBeforeSrc, shape: iconBeforeShape, SvgImage: iconBefore })), beforeWrapper, children || text, afterWrapper, (iconAfter || iconAfterSrc) && (jsx(Icon, { className: clsx('title__icon_after', iconBadgeValue && 'title__icon_after-badge'), fill: iconAfterFill, fillSize: iconAfterFillSize, badgeAppearance: iconBadgeAppearance, badgeClass: 'title__icon_after_badge', badgeShape: iconBadgeShape, badgeSize: iconBadgeSize, badgeTextColor: iconBadgeTextColor, badgeTextSize: iconBadgeTextSize, badgeValue: iconBadgeValue, iconFill: iconAfterFillIcon, iconSize: iconAfterSize, imageSrc: iconAfterSrc, shape: iconAfterShape, SvgImage: iconAfter }))] }), after] }));
578
820
  }
579
821
 
580
- var tooltipAppearance = {
822
+ var tooltipAppearanceAccent = {
823
+ accent: {
824
+ fill: 'accentPrimary',
825
+ fillHover: 'accentPrimaryHover',
826
+ },
827
+ accentPrimary: {
828
+ fill: 'accentPrimary',
829
+ fillHover: 'accentPrimaryHover',
830
+ borderColor: 'accentBorderPrimary',
831
+ },
832
+ accentSecondary: {
833
+ fill: 'accentPrimary',
834
+ fillHover: 'accentPrimaryHover',
835
+ labelTextColor: 'accentTextSecondary',
836
+ labelTextColorHover: 'accentTextSecondary',
837
+ borderColor: 'accentBorderPrimary',
838
+ loaderItemFill: 'accentItemPrimary',
839
+ },
840
+ };
841
+
842
+ var tooltipAppearanceDanger = {
843
+ danger: {
844
+ fill: 'dangerPrimary',
845
+ fillHover: 'dangerPrimaryHover',
846
+ },
847
+ };
848
+
849
+ var tooltipAppearanceDisabled = {
850
+ disabledPrimary: {
851
+ fill: 'surfaceFillDisabled',
852
+ borderColor: 'errorBorderQuaternary',
853
+ borderHover: 'errorBorderQuaternary',
854
+ textColor: 'surfaceTextQuaternary',
855
+ iconBeforeFill: 'errorItemQuaternary',
856
+ iconClearFill: 'errorItemPrimary',
857
+ placeholderTextColor: 'surfaceTextQuaternary',
858
+ },
859
+ disabledSecondary: {
860
+ fill: 'surfaceSecondary',
861
+ borderColor: 'surfaceBorderTertiary',
862
+ borderHover: 'surfaceBorderQuaternary',
863
+ iconBeforeFill: 'surfaceItemQuaternary',
864
+ iconClearFill: 'surfaceItemPrimary',
865
+ placeholderTextColor: 'surfaceTextSecondary',
866
+ },
867
+ };
868
+
869
+ var tooltipAppearanceError = {
870
+ error: {
871
+ fill: 'errorPrimary',
872
+ fillHover: 'errorPrimaryHover',
873
+ labelTextColor: 'errorTextPrimary',
874
+ labelTextColorHover: 'errorTextPrimary',
875
+ loaderFill: 'errorPrimary',
876
+ loaderItemFill: 'errorItemPrimary',
877
+ },
878
+ };
879
+
880
+ var tooltipAppearanceInfo = {
881
+ info: {
882
+ fill: 'accentPrimary',
883
+ fillHover: 'accentPrimaryHover',
884
+ labelTextColor: 'accentTextPrimary',
885
+ labelTextColorHover: 'accentTextPrimary',
886
+ borderColor: 'accentBorderPrimary',
887
+ loaderFill: 'accentPrimary',
888
+ loaderItemFill: 'accentItemPrimary',
889
+ },
890
+ infoSecondary: {
891
+ fill: 'accentPrimary',
892
+ fillHover: 'accentPrimaryHover',
893
+ labelTextColor: 'accentTextSecondary',
894
+ labelTextColorHover: 'accentTextSecondary',
895
+ borderColor: 'accentBorderPrimary',
896
+ loaderFill: 'accentPrimary',
897
+ loaderItemFill: 'accentItemPrimary',
898
+ },
899
+ };
900
+
901
+ var tooltipAppearancePrimary = {
902
+ primary: {
903
+ fill: 'primaryPrimary',
904
+ fillHover: 'primaryPrimaryHover',
905
+ labelTextColor: 'primaryTextPrimary',
906
+ },
907
+ };
908
+
909
+ var tooltipAppearanceRequire = {
910
+ requirePrimary: {
911
+ fill: 'warningTertiary',
912
+ borderColor: 'warningBorderQuaternary',
913
+ borderHover: 'warningBorderQuaternary',
914
+ textColor: 'surfaceTextPrimary',
915
+ iconBeforeFill: 'warningItemQuaternary',
916
+ iconClearFill: 'warningItemPrimary',
917
+ placeholderTextColor: 'surfaceTextQuaternary',
918
+ },
919
+ requireSecondary: {
920
+ fill: 'surfaceSecondary',
921
+ borderColor: 'surfaceBorderTertiary',
922
+ borderHover: 'surfaceBorderQuaternary',
923
+ iconBeforeFill: 'surfaceItemQuaternary',
924
+ iconClearFill: 'surfaceItemPrimary',
925
+ placeholderTextColor: 'surfaceTextSecondary',
926
+ },
927
+ };
928
+
929
+ var tooltipAppearanceSecondary = {
930
+ secondary: {
931
+ fill: 'secondaryPrimary',
932
+ fillHover: 'secondaryPrimaryHover',
933
+ labelTextColor: 'secondaryTextPrimary',
934
+ },
935
+ };
936
+
937
+ var tooltipAppearanceSize = {
938
+ sizeXXL: {
939
+ size: 'xxl',
940
+ labelTextSize: 'xxl',
941
+ iconAfterFillSize: '24',
942
+ iconAfterSize: '24',
943
+ iconBeforeFillSize: '24',
944
+ iconBeforeSize: '24',
945
+ },
946
+ sizeXL: {
947
+ size: 'xl',
948
+ labelTextSize: 'l',
949
+ iconAfterFillSize: '24',
950
+ iconAfterSize: '24',
951
+ iconBeforeFillSize: '24',
952
+ iconBeforeSize: '24',
953
+ },
954
+ sizeL: {
955
+ size: 'l',
956
+ labelTextSize: 'l',
957
+ iconAfterFillSize: '24',
958
+ iconAfterSize: '24',
959
+ iconBeforeFillSize: '24',
960
+ iconBeforeSize: '24',
961
+ },
962
+ sizeM: {
963
+ size: 'm',
964
+ labelTextSize: 'm',
965
+ iconAfterFillSize: '24',
966
+ iconAfterSize: '24',
967
+ iconBeforeFillSize: '24',
968
+ iconBeforeSize: '24',
969
+ },
970
+ sizeS: {
971
+ size: 's',
972
+ labelTextSize: 's',
973
+ iconAfterFillSize: '20',
974
+ iconAfterSize: '20',
975
+ iconBeforeFillSize: '20',
976
+ iconBeforeSize: '20',
977
+ },
978
+ sizeXS: {
979
+ size: 'xs',
980
+ labelTextSize: 'xs',
981
+ iconAfterFillSize: '16',
982
+ iconAfterSize: '16',
983
+ iconBeforeFillSize: '16',
984
+ iconBeforeSize: '16',
985
+ },
986
+ sizeXXS: {
987
+ size: 'xxs',
988
+ labelTextSize: 'xs',
989
+ iconAfterFillSize: '14',
990
+ iconAfterSize: '14',
991
+ iconBeforeFillSize: '14',
992
+ iconBeforeSize: '14',
993
+ },
994
+ };
995
+
996
+ var tooltipAppearanceStyle = {
997
+ full: {
998
+ borderColor: '0',
999
+ },
1000
+ ghost: {
1001
+ fill: 'none',
1002
+ borderColor: '0',
1003
+ },
1004
+ outlined: {
1005
+ fill: 'none',
1006
+ },
1007
+ solid: {
1008
+ borderColor: '0',
1009
+ },
1010
+ };
1011
+
1012
+ var tooltipAppearanceSuccess = {
1013
+ success: {
1014
+ fill: 'successPrimary',
1015
+ fillHover: 'successPrimaryHover',
1016
+ labelTextColor: 'successTextSecondary',
1017
+ labelTextColorHover: 'successTextSecondary',
1018
+ loaderFill: 'successPrimary',
1019
+ loaderItemFill: 'successItemPrimary',
1020
+ },
1021
+ };
1022
+
1023
+ var tooltipAppearanceSurface = {
581
1024
  surfacePrimary: {
582
1025
  fill: 'surfacePrimary',
583
- titleTextColor: 'surfaceTextPrimary',
584
- textColor: 'surfaceTextPrimary',
1026
+ fillHover: 'surfacePrimaryHover',
1027
+ labelTextColor: 'surfaceTextPrimary',
1028
+ },
1029
+ surfaceQuaternary: {
1030
+ fill: 'surfaceQuaternary',
1031
+ fillHover: 'surfaceQuaternaryHover',
1032
+ labelTextColor: 'surfaceTextPrimary',
585
1033
  },
586
1034
  surfaceSecondary: {
587
1035
  fill: 'surfaceSecondary',
588
- titleTextColor: 'surfaceTextPrimary',
589
- textColor: 'surfaceTextPrimary',
1036
+ fillHover: 'surfaceSecondaryHover',
1037
+ labelTextColor: 'surfaceTextPrimary',
1038
+ loaderFill: 'surfaceSecondary',
1039
+ loaderItemFill: 'surfaceItemPrimary',
590
1040
  },
591
1041
  surfaceTertiary: {
592
1042
  fill: 'surfaceTertiary',
593
- titleTextColor: 'surfaceTextPrimary',
594
- textColor: 'surfaceTextPrimary',
1043
+ fillHover: 'surfaceTertiaryHover',
1044
+ labelTextColor: 'surfaceTextPrimary',
595
1045
  },
596
1046
  };
597
1047
 
1048
+ var tooltipAppearanceWarning = {
1049
+ warning: {
1050
+ fill: 'warningPrimary',
1051
+ fillHover: 'warningPrimaryHover',
1052
+ labelTextColor: 'warningTextSecondary',
1053
+ labelTextColorHover: 'warningTextSecondary',
1054
+ loaderFill: 'warningPrimary',
1055
+ loaderItemFill: 'warningItemPrimary',
1056
+ },
1057
+ };
1058
+
1059
+ var tooltipAppearance = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, tooltipAppearanceSize), tooltipAppearanceDisabled), tooltipAppearanceRequire), tooltipAppearanceStyle), tooltipAppearanceAccent), tooltipAppearanceDanger), tooltipAppearanceError), tooltipAppearanceInfo), tooltipAppearancePrimary), tooltipAppearanceSecondary), tooltipAppearanceSuccess), tooltipAppearanceSurface), tooltipAppearanceWarning);
1060
+
598
1061
  var tooltipConfig = {
599
1062
  appearance: tooltipAppearance,
600
1063
  setAppearance: function (appearanceConfig) {
@@ -9,8 +9,8 @@ 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_cjs_DzFVtGkF.js');
12
- var Tooltip = require('../../Tooltip_cjs_BKOjNMkt.js');
13
- var Text = require('../../Text_cjs_iL1l_7V1.js');
12
+ var Tooltip = require('../../Tooltip_cjs_PkuRdzzy.js');
13
+ var Text = require('../../Text_cjs_DPhKj3wf.js');
14
14
  require('lodash/camelCase');
15
15
  require('lodash/upperFirst');
16
16
  require('../context/Notifications.js');
@@ -23,7 +23,7 @@ require('../utils/setViewportProperty.js');
23
23
  require('lodash/maxBy');
24
24
  require('../hooks/useStyles/styleAttributes.js');
25
25
  require('react-inlinesvg');
26
- require('../../Link_cjs_yht44xJv.js');
26
+ require('../../Link_cjs_DbRGq2Yk.js');
27
27
 
28
28
  var accordionAppearanceSize = {
29
29
  sizeXXL: {