@itcase/ui 1.4.13 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (465) hide show
  1. package/dist/{Badge-DnWTbwXq.js → Badge-CURAYlMs.js} +28 -28
  2. package/dist/{Badge-BxT2_kz_.js → Badge-LjfcZycz.js} +29 -29
  3. package/dist/{Button-xYLCmT3D.js → Button-CMB-ELfe.js} +15 -15
  4. package/dist/{Button-BiJZz4Bx.js → Button-iPtstCWk.js} +14 -14
  5. package/dist/{Divider-ImOOytuN.js → Divider-D8hUUrwe.js} +1 -1
  6. package/dist/{Divider-BQcBkzt1.js → Divider-DhXzYcNF.js} +2 -2
  7. package/dist/DropdownItem-C8CumsgX.js +117 -0
  8. package/dist/DropdownItem-CBJeJPbP.js +122 -0
  9. package/dist/{Group-qq4Iisll.js → Group-BVlu5z77.js} +7 -3
  10. package/dist/{Group-BICb8bYQ.js → Group-OkygpKiJ.js} +7 -3
  11. package/dist/{Icon-BcBOnVKH.js → Icon-Ch-L2dOj.js} +9 -7
  12. package/dist/Icon-CoBJRPlP.js +63 -0
  13. package/dist/Image-CSzHhlA1.js +17 -0
  14. package/dist/Image-DuIBtUq5.js +19 -0
  15. package/dist/{Input-DHJIVk1z.js → Input-ChiH90mV.js} +33 -30
  16. package/dist/{Input-DiFnIFT7.js → Input-e0kLrbs6.js} +33 -30
  17. package/dist/{Label-D-LcvthP.js → Label-CP8IAPOM.js} +5 -5
  18. package/dist/{Label-y2hx5Q81.js → Label-CfE08vBy.js} +6 -6
  19. package/dist/{Link-BnqN6ysn.js → Link-C04g00r2.js} +18 -11
  20. package/dist/{Link-DaKqf1pb.js → Link-Sr03Kia9.js} +19 -13
  21. package/dist/{Loader-VK3q7PBN.js → Loader-CRN4MAbm.js} +2 -2
  22. package/dist/{Loader-DdKHrLnw.js → Loader-rzo8nnRI.js} +1 -1
  23. package/dist/{Overlay-CZixnXZ6.js → Overlay-CRIofShk.js} +6 -3
  24. package/dist/{Overlay-Myen2mqz.js → Overlay-CZFSerUl.js} +6 -3
  25. package/dist/{Scrollbar-Bo7z7ELm.js → Scrollbar-CThJeCLF.js} +4 -4
  26. package/dist/{Scrollbar-CKbA0jQU.js → Scrollbar-DcKOfcNp.js} +4 -4
  27. package/dist/{Text-C49zj3jO.js → Text-CEcBg-F5.js} +6 -3
  28. package/dist/{Text-C6NSmetx.js → Text-CI2prtf6.js} +6 -3
  29. package/dist/{Title-BLGDdlnX.js → Title-C4xUtigh.js} +12 -2
  30. package/dist/{Title-Byi9vhDt.js → Title-CaXw1KBQ.js} +13 -3
  31. package/dist/{Tooltip-5lQyt5-Y.js → Tooltip-EOu0a93a.js} +9 -9
  32. package/dist/{Tooltip-DRta8lK_.js → Tooltip-Lhx-Fefx.js} +8 -8
  33. package/dist/cjs/components/Accordion.js +17 -9
  34. package/dist/cjs/components/Avatar.js +9 -6
  35. package/dist/cjs/components/Badge.js +9 -6
  36. package/dist/cjs/components/Breadcrumbs.js +11 -8
  37. package/dist/cjs/components/Button.js +10 -7
  38. package/dist/cjs/components/Cell.js +18 -13
  39. package/dist/cjs/components/Checkbox.js +8 -5
  40. package/dist/cjs/components/Checkmark.js +5 -3
  41. package/dist/cjs/components/Chips.js +35 -17
  42. package/dist/cjs/components/Choice.js +23 -17
  43. package/dist/cjs/components/Code.js +9 -4
  44. package/dist/cjs/components/CookiesWarning.js +13 -10
  45. package/dist/cjs/components/DadataHintField.js +9 -4
  46. package/dist/cjs/components/DatePicker.js +24 -42
  47. package/dist/cjs/components/Divider.js +4 -1
  48. package/dist/cjs/components/Dot.js +3 -0
  49. package/dist/cjs/components/Drawer.js +3 -3
  50. package/dist/cjs/components/Dropdown.js +6 -4
  51. package/dist/cjs/components/Flex.js +7 -4
  52. package/dist/cjs/components/Grid.js +12 -9
  53. package/dist/cjs/components/Group.js +5 -2
  54. package/dist/cjs/components/HTMLContent.js +5 -2
  55. package/dist/cjs/components/HeroTitle.js +12 -6
  56. package/dist/cjs/components/Icon.js +8 -5
  57. package/dist/cjs/components/Image.js +4 -1
  58. package/dist/cjs/components/Input.js +5 -2
  59. package/dist/cjs/components/InputMask.js +11 -6
  60. package/dist/cjs/components/InputPassword.js +34 -28
  61. package/dist/cjs/components/Label.js +7 -4
  62. package/dist/cjs/components/Link.js +6 -5
  63. package/dist/cjs/components/List.js +6 -3
  64. package/dist/cjs/components/Loader.js +5 -2
  65. package/dist/cjs/components/Logo.js +7 -4
  66. package/dist/cjs/components/MenuItem.js +15 -13
  67. package/dist/cjs/components/Modal.js +11 -8
  68. package/dist/cjs/components/ModalSheetBottom.js +5 -2
  69. package/dist/cjs/components/Notification.js +15 -14
  70. package/dist/cjs/components/Overlay.js +5 -2
  71. package/dist/cjs/components/Pagination.js +54 -33
  72. package/dist/cjs/components/Panel.js +13 -8
  73. package/dist/cjs/components/Radio.js +15 -11
  74. package/dist/cjs/components/RangeSlider.js +8 -3
  75. package/dist/cjs/components/Response.js +15 -12
  76. package/dist/cjs/components/SVGContent.js +3 -0
  77. package/dist/cjs/components/ScrollOnDrag.js +4 -1
  78. package/dist/cjs/components/ScrollToView.js +7 -2
  79. package/dist/cjs/components/Scrollbar.js +1 -1
  80. package/dist/cjs/components/Search.js +20 -15
  81. package/dist/cjs/components/Segmented.js +20 -20
  82. package/dist/cjs/components/Select.js +28 -21
  83. package/dist/cjs/components/Swiper.js +7 -4
  84. package/dist/cjs/components/Switch.js +25 -6
  85. package/dist/cjs/components/Tab.js +14 -11
  86. package/dist/cjs/components/Text.js +5 -2
  87. package/dist/cjs/components/Textarea.js +26 -20
  88. package/dist/cjs/components/Tile.js +12 -10
  89. package/dist/cjs/components/Title.js +4 -1
  90. package/dist/cjs/components/Tooltip.js +6 -3
  91. package/dist/cjs/components/Video.js +4 -1
  92. package/dist/cjs/context/Notifications.js +2 -2
  93. package/dist/cjs/context/UIContext.js +2 -2
  94. package/dist/cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +3 -0
  95. package/dist/cjs/hooks/useDevicePropsGenerator.js +4 -1
  96. package/dist/cjs/hooks/useStyles/useStyles.js +3 -0
  97. package/dist/cjs/hooks/useStyles.js +4 -1
  98. package/dist/cjs/hooks/useViewportFix.js +1 -1
  99. package/dist/components/Accordion.js +18 -10
  100. package/dist/components/Avatar.js +10 -7
  101. package/dist/components/Badge.js +10 -7
  102. package/dist/components/Breadcrumbs.js +12 -9
  103. package/dist/components/Button.js +11 -8
  104. package/dist/components/Cell.js +18 -13
  105. package/dist/components/Checkbox.js +9 -6
  106. package/dist/components/Checkmark.js +6 -4
  107. package/dist/components/Chips.js +36 -18
  108. package/dist/components/Choice.js +23 -17
  109. package/dist/components/Code.js +10 -5
  110. package/dist/components/CookiesWarning.js +14 -11
  111. package/dist/components/DadataHintField.js +10 -5
  112. package/dist/components/DatePicker.js +25 -43
  113. package/dist/components/Divider.js +5 -2
  114. package/dist/components/Dot.js +4 -1
  115. package/dist/components/Drawer.js +3 -3
  116. package/dist/components/Dropdown.js +7 -5
  117. package/dist/components/Flex.js +8 -5
  118. package/dist/components/Grid.js +13 -10
  119. package/dist/components/Group.js +5 -2
  120. package/dist/components/HTMLContent.js +6 -3
  121. package/dist/components/HeroTitle.js +12 -6
  122. package/dist/components/Icon.js +9 -6
  123. package/dist/components/Image.js +5 -2
  124. package/dist/components/Input.js +5 -2
  125. package/dist/components/InputMask.js +11 -6
  126. package/dist/components/InputPassword.js +34 -28
  127. package/dist/components/Label.js +8 -5
  128. package/dist/components/Link.js +5 -8
  129. package/dist/components/List.js +7 -4
  130. package/dist/components/Loader.js +6 -3
  131. package/dist/components/Logo.js +8 -5
  132. package/dist/components/MenuItem.js +15 -13
  133. package/dist/components/Modal.js +12 -9
  134. package/dist/components/ModalSheetBottom.js +6 -3
  135. package/dist/components/Notification.js +16 -15
  136. package/dist/components/Overlay.js +5 -2
  137. package/dist/components/Pagination.js +54 -33
  138. package/dist/components/Panel.js +13 -8
  139. package/dist/components/Radio.js +15 -11
  140. package/dist/components/RangeSlider.js +9 -4
  141. package/dist/components/Response.js +16 -13
  142. package/dist/components/SVGContent.js +4 -1
  143. package/dist/components/ScrollOnDrag.js +5 -2
  144. package/dist/components/ScrollToView.js +8 -3
  145. package/dist/components/Scrollbar.js +1 -1
  146. package/dist/components/Search.js +20 -15
  147. package/dist/components/Segmented.js +20 -20
  148. package/dist/components/Select.js +29 -22
  149. package/dist/components/Swiper.js +8 -5
  150. package/dist/components/Switch.js +25 -6
  151. package/dist/components/Tab.js +15 -12
  152. package/dist/components/Text.js +5 -2
  153. package/dist/components/Textarea.js +26 -20
  154. package/dist/components/Tile.js +13 -11
  155. package/dist/components/Title.js +5 -2
  156. package/dist/components/Tooltip.js +7 -4
  157. package/dist/components/Video.js +4 -1
  158. package/dist/context/Notifications.js +3 -3
  159. package/dist/context/UIContext.js +3 -3
  160. package/dist/css/components/Accordion/Accordion.css +7 -5
  161. package/dist/css/components/Avatar/Avatar.css +5 -5
  162. package/dist/css/components/Checkbox/Checkbox.css +1 -1
  163. package/dist/css/components/Checkmark/Checkmark.css +24 -1
  164. package/dist/css/components/Chips/Chips.css +2 -2
  165. package/dist/css/components/Choice/Choice.css +3 -3
  166. package/dist/css/components/Code/Code.css +26 -2
  167. package/dist/css/components/DatePicker/DatePicker.css +23 -33
  168. package/dist/css/components/Divider/Divider.css +3 -3
  169. package/dist/css/components/Dot/Dot.css +6 -6
  170. package/dist/css/components/Drawer/Drawer.css +4 -1
  171. package/dist/css/components/Dropdown/Dropdown.css +13 -13
  172. package/dist/css/components/Icon/Icon.css +5 -1
  173. package/dist/css/components/Image/Image.css +6 -3
  174. package/dist/css/components/Input/Input.css +21 -35
  175. package/dist/css/components/InputMask/Input.css +6 -6
  176. package/dist/css/components/InputPassword/InputPassword.css +2 -2
  177. package/dist/css/components/Label/Label.css +3 -3
  178. package/dist/css/components/List/List.css +8 -7
  179. package/dist/css/components/Loader/Loader.css +0 -2
  180. package/dist/css/components/Logo/Logo.css +1 -1
  181. package/dist/css/components/MenuItem/MenuItem.css +24 -6
  182. package/dist/css/components/Modal/Modal.css +2 -2
  183. package/dist/css/components/ModalSheetBottom/ModalSheetBottom.css +1 -1
  184. package/dist/css/components/Notification/Notification.css +22 -10
  185. package/dist/css/components/Notification/css/__item/notification__item_set_float.css +2 -2
  186. package/dist/css/components/Notification/css/__item/notification__item_set_form.css +5 -5
  187. package/dist/css/components/Notification/css/__item/notification__item_set_toast.css +2 -2
  188. package/dist/css/components/Notification/css/__item/notification__item_set_top.css +1 -1
  189. package/dist/css/components/Overlay/Overlay.css +5 -1
  190. package/dist/css/components/Pagination/Pagination.css +16 -8
  191. package/dist/css/components/Pagination/css/__item/pagination__item.css +7 -4
  192. package/dist/css/components/Pagination/css/__item/pagination__item_state_active.css +4 -1
  193. package/dist/css/components/Pagination/css/__item/pagination__item_state_disabled.css +1 -1
  194. package/dist/css/components/Radio/Radio.css +9 -4
  195. package/dist/css/components/RangeSlider/RangeSlider.css +14 -8
  196. package/dist/css/components/ScrollToView/ScrollToView.css +2 -2
  197. package/dist/css/components/Search/Search.css +16 -8
  198. package/dist/css/components/Search/css/search-input/search-input_shape.css +1 -1
  199. package/dist/css/components/Search/css/search-input/search-input_size.css +1 -1
  200. package/dist/css/components/Segmented/Segmented.css +10 -7
  201. package/dist/css/components/Select/Select.css +10 -10
  202. package/dist/css/components/Select/css/__control/select__control_shape.css +1 -1
  203. package/dist/css/components/Select/css/__input-container/select__input-container.css +3 -3
  204. package/dist/css/components/Select/css/__menu/select__menu-list-item_size.css +2 -2
  205. package/dist/css/components/Select/css/__menu/select__menu.css +2 -2
  206. package/dist/css/components/Select/css/__multi-value/select__multi-value.css +2 -2
  207. package/dist/css/components/Switch/Switch.css +19 -1
  208. package/dist/css/components/Tab/Tab.css +2 -2
  209. package/dist/css/components/Text/Text.css +1 -1
  210. package/dist/css/components/Textarea/Textarea.css +2 -2
  211. package/dist/css/components/Tile/Tile.css +16 -7
  212. package/dist/css/components/Tooltip/Tooltip.css +16 -2
  213. package/dist/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js +4 -1
  214. package/dist/hooks/useDevicePropsGenerator.js +5 -2
  215. package/dist/hooks/useDeviceTargetClass.js +1 -1
  216. package/dist/hooks/useStyles/useStyles.js +4 -1
  217. package/dist/hooks/useStyles.js +5 -2
  218. package/dist/hooks/useViewportFix.js +1 -1
  219. package/dist/{tslib.es6-5FtW-kfi.js → tslib.es6-Bwu1Cn-t.js} +1 -1
  220. package/dist/types/components/Accordion/Accordion.appearance.d.ts +3 -3
  221. package/dist/types/components/Accordion/Accordion.d.ts +3 -3
  222. package/dist/types/components/Accordion/Accordion.interface.d.ts +60 -61
  223. package/dist/types/components/Accordion/AccordionItem.d.ts +3 -3
  224. package/dist/types/components/Avatar/Avatar.appearance.d.ts +2 -2
  225. package/dist/types/components/Avatar/Avatar.d.ts +3 -3
  226. package/dist/types/components/Avatar/Avatar.interface.d.ts +24 -25
  227. package/dist/types/components/Badge/Badge.appearance.d.ts +2 -2
  228. package/dist/types/components/Badge/Badge.d.ts +3 -3
  229. package/dist/types/components/Badge/Badge.interface.d.ts +21 -22
  230. package/dist/types/components/Badge/appearance/badgeAccent.d.ts +3 -3
  231. package/dist/types/components/Badge/appearance/badgeDisabled.d.ts +1 -1
  232. package/dist/types/components/Badge/appearance/badgeError.d.ts +1 -1
  233. package/dist/types/components/Badge/appearance/badgeInfo.d.ts +2 -2
  234. package/dist/types/components/Badge/appearance/badgePrimary.d.ts +1 -1
  235. package/dist/types/components/Badge/appearance/badgeSecondary.d.ts +1 -1
  236. package/dist/types/components/Badge/appearance/badgeSize.d.ts +7 -7
  237. package/dist/types/components/Badge/appearance/badgeSuccess.d.ts +1 -1
  238. package/dist/types/components/Badge/appearance/badgeSurface.d.ts +7 -7
  239. package/dist/types/components/Badge/appearance/badgeWarning.d.ts +1 -1
  240. package/dist/types/components/Breadcrumbs/Breadcrumbs.d.ts +2 -2
  241. package/dist/types/components/Breadcrumbs/Breadcrumbs.interface.d.ts +49 -49
  242. package/dist/types/components/Breadcrumbs/BreadcrumbsItem.d.ts +2 -2
  243. package/dist/types/components/Button/Button.appearance.d.ts +2 -2
  244. package/dist/types/components/Button/Button.d.ts +3 -3
  245. package/dist/types/components/Button/Button.interface.d.ts +44 -45
  246. package/dist/types/components/Button/appearance/buttonAccent.d.ts +10 -10
  247. package/dist/types/components/Cell/Cell.appearance.d.ts +2 -2
  248. package/dist/types/components/Cell/Cell.d.ts +3 -3
  249. package/dist/types/components/Cell/Cell.interface.d.ts +40 -41
  250. package/dist/types/components/Checkbox/Checkbox.appearance.d.ts +3 -3
  251. package/dist/types/components/Checkbox/Checkbox.d.ts +3 -3
  252. package/dist/types/components/Checkbox/Checkbox.interface.d.ts +36 -37
  253. package/dist/types/components/Checkmark/Checkmark.appearance.d.ts +2 -2
  254. package/dist/types/components/Checkmark/Checkmark.d.ts +3 -3
  255. package/dist/types/components/Checkmark/Checkmark.interface.d.ts +15 -17
  256. package/dist/types/components/Chips/Chips.appearance.d.ts +2 -2
  257. package/dist/types/components/Chips/Chips.d.ts +3 -3
  258. package/dist/types/components/Chips/Chips.interface.d.ts +30 -31
  259. package/dist/types/components/Chips/appearance/chipsDisabled.d.ts +2 -0
  260. package/dist/types/components/Chips/appearance/chipsSurface.d.ts +4 -0
  261. package/dist/types/components/Choice/Choice.appearance.d.ts +2 -2
  262. package/dist/types/components/Choice/Choice.d.ts +3 -3
  263. package/dist/types/components/Choice/Choice.interface.d.ts +35 -36
  264. package/dist/types/components/Code/Code.appearance.d.ts +2 -2
  265. package/dist/types/components/Code/Code.d.ts +3 -3
  266. package/dist/types/components/Code/Code.interface.d.ts +31 -32
  267. package/dist/types/components/CookiesWarning/CookiesWarning.d.ts +2 -2
  268. package/dist/types/components/CookiesWarning/CookiesWarning.interface.d.ts +10 -10
  269. package/dist/types/components/DadataHintField/DadataHintField.d.ts +2 -2
  270. package/dist/types/components/DadataHintField/DadataHintField.interface.d.ts +3 -3
  271. package/dist/types/components/DatePicker/DatePicker.appearance.d.ts +2 -2
  272. package/dist/types/components/DatePicker/DatePicker.d.ts +3 -3
  273. package/dist/types/components/DatePicker/DatePicker.interface.d.ts +71 -72
  274. package/dist/types/components/Divider/Divider.d.ts +3 -3
  275. package/dist/types/components/Divider/Divider.interface.d.ts +29 -30
  276. package/dist/types/components/Dot/Dot.d.ts +2 -2
  277. package/dist/types/components/Dot/Dot.interface.d.ts +21 -21
  278. package/dist/types/components/Drawer/Drawer.appearance.d.ts +2 -2
  279. package/dist/types/components/Drawer/Drawer.d.ts +3 -3
  280. package/dist/types/components/Drawer/Drawer.interface.d.ts +12 -12
  281. package/dist/types/components/Dropdown/Dropdown.d.ts +2 -2
  282. package/dist/types/components/Dropdown/Dropdown.interface.d.ts +51 -53
  283. package/dist/types/components/Dropdown/DropdownItem.appearance.d.ts +2 -2
  284. package/dist/types/components/Dropdown/DropdownItem.d.ts +3 -3
  285. package/dist/types/components/Dropdown/appearance/dropdownSurface.d.ts +25 -0
  286. package/dist/types/components/Flex/Flex.d.ts +2 -2
  287. package/dist/types/components/Flex/Flex.interface.d.ts +83 -83
  288. package/dist/types/components/Flex/FlexItem.d.ts +2 -2
  289. package/dist/types/components/Grid/Grid.d.ts +2 -2
  290. package/dist/types/components/Grid/Grid.interface.d.ts +47 -47
  291. package/dist/types/components/Grid/GridItem.d.ts +2 -2
  292. package/dist/types/components/Grid/GridRow.d.ts +2 -2
  293. package/dist/types/components/Group/Group.appearance.d.ts +2 -2
  294. package/dist/types/components/Group/Group.d.ts +3 -3
  295. package/dist/types/components/Group/Group.interface.d.ts +28 -29
  296. package/dist/types/components/HTMLContent/HTMLContent.d.ts +2 -2
  297. package/dist/types/components/HTMLContent/HTMLContent.interface.d.ts +20 -20
  298. package/dist/types/components/HeroTitle/HeroTitle.appearance.d.ts +2 -2
  299. package/dist/types/components/HeroTitle/HeroTitle.d.ts +3 -3
  300. package/dist/types/components/HeroTitle/HeroTitle.interface.d.ts +27 -28
  301. package/dist/types/components/Icon/Icon.appearance.d.ts +2 -2
  302. package/dist/types/components/Icon/Icon.d.ts +3 -3
  303. package/dist/types/components/Icon/Icon.interface.d.ts +49 -50
  304. package/dist/types/components/Image/Image.d.ts +2 -2
  305. package/dist/types/components/Image/Image.interface.d.ts +10 -10
  306. package/dist/types/components/Input/Input.appearance.d.ts +3 -3
  307. package/dist/types/components/Input/Input.d.ts +3 -3
  308. package/dist/types/components/Input/Input.interface.d.ts +31 -33
  309. package/dist/types/components/InputMask/Input.d.ts +3 -3
  310. package/dist/types/components/InputMask/Input.interface.d.ts +31 -33
  311. package/dist/types/components/InputPassword/InputPassword.appearance.d.ts +3 -3
  312. package/dist/types/components/InputPassword/InputPassword.d.ts +3 -3
  313. package/dist/types/components/InputPassword/InputPassword.interface.d.ts +31 -33
  314. package/dist/types/components/Label/Label.appearance.d.ts +2 -2
  315. package/dist/types/components/Label/Label.d.ts +3 -3
  316. package/dist/types/components/Label/Label.interface.d.ts +31 -32
  317. package/dist/types/components/Link/Link.appearance.d.ts +2 -2
  318. package/dist/types/components/Link/Link.d.ts +4 -4
  319. package/dist/types/components/Link/Link.interface.d.ts +31 -32
  320. package/dist/types/components/List/List.d.ts +2 -2
  321. package/dist/types/components/List/List.interface.d.ts +13 -13
  322. package/dist/types/components/List/ListItem.d.ts +2 -2
  323. package/dist/types/components/Loader/Loader.d.ts +3 -3
  324. package/dist/types/components/Loader/Loader.interface.d.ts +18 -19
  325. package/dist/types/components/Logo/Logo.d.ts +3 -3
  326. package/dist/types/components/Logo/Logo.interface.d.ts +16 -17
  327. package/dist/types/components/MenuItem/MenuItem.appearance.d.ts +2 -2
  328. package/dist/types/components/MenuItem/MenuItem.d.ts +3 -10
  329. package/dist/types/components/MenuItem/MenuItem.interface.d.ts +41 -42
  330. package/dist/types/components/Modal/Modal.appearance.d.ts +2 -2
  331. package/dist/types/components/Modal/Modal.d.ts +2 -2
  332. package/dist/types/components/Modal/Modal.interface.d.ts +20 -21
  333. package/dist/types/components/Modal/ModalLoader.d.ts +1 -2
  334. package/dist/types/components/ModalSheetBottom/ModalSheetBottom.d.ts +2 -2
  335. package/dist/types/components/ModalSheetBottom/ModalSheetBottom.interface.d.ts +4 -3
  336. package/dist/types/components/Notification/Notification.interface.d.ts +26 -27
  337. package/dist/types/components/Notification/NotificationItem.appearance.d.ts +2 -2
  338. package/dist/types/components/Notification/NotificationItem.d.ts +3 -3
  339. package/dist/types/components/Notification/NotificationList.d.ts +2 -2
  340. package/dist/types/components/Overlay/Overlay.appearance.d.ts +2 -2
  341. package/dist/types/components/Overlay/Overlay.d.ts +3 -3
  342. package/dist/types/components/Overlay/Overlay.interface.d.ts +14 -15
  343. package/dist/types/components/Pagination/Pagination.appearance.d.ts +2 -2
  344. package/dist/types/components/Pagination/Pagination.d.ts +3 -3
  345. package/dist/types/components/Pagination/Pagination.interface.d.ts +37 -38
  346. package/dist/types/components/Panel/Panel.d.ts +3 -3
  347. package/dist/types/components/Panel/Panel.interface.d.ts +33 -34
  348. package/dist/types/components/Radio/Radio.appearance.d.ts +1 -1
  349. package/dist/types/components/Radio/Radio.d.ts +3 -3
  350. package/dist/types/components/Radio/Radio.interface.d.ts +34 -35
  351. package/dist/types/components/RangeSlider/RangeSlider.d.ts +2 -2
  352. package/dist/types/components/RangeSlider/RangeSlider.interface.d.ts +12 -12
  353. package/dist/types/components/Response/Response.d.ts +3 -3
  354. package/dist/types/components/Response/Response.interface.d.ts +41 -42
  355. package/dist/types/components/SVGContent/SVGContent.d.ts +2 -2
  356. package/dist/types/components/SVGContent/SVGContent.interface.d.ts +5 -5
  357. package/dist/types/components/ScrollOnDrag/ScrollOnDrag.d.ts +2 -2
  358. package/dist/types/components/ScrollOnDrag/ScrollOnDrag.interface.d.ts +11 -11
  359. package/dist/types/components/Scrollbar/Scrollbar.d.ts +2 -2
  360. package/dist/types/components/Scrollbar/Scrollbar.interface.d.ts +2 -2
  361. package/dist/types/components/Search/Search.appearance.d.ts +2 -2
  362. package/dist/types/components/Search/Search.interface.d.ts +36 -37
  363. package/dist/types/components/Search/SearchInput.d.ts +3 -3
  364. package/dist/types/components/Segmented/Segmented.appearance.d.ts +2 -2
  365. package/dist/types/components/Segmented/Segmented.d.ts +3 -3
  366. package/dist/types/components/Segmented/Segmented.interface.d.ts +28 -29
  367. package/dist/types/components/Select/Select.appearance.d.ts +2 -2
  368. package/dist/types/components/Select/Select.interface.d.ts +48 -49
  369. package/dist/types/components/Select/SelectContainer.d.ts +3 -3
  370. package/dist/types/components/Swiper/Swiper.d.ts +2 -2
  371. package/dist/types/components/Swiper/Swiper.interface.d.ts +10 -10
  372. package/dist/types/components/Switch/Switch.appearance.d.ts +2 -2
  373. package/dist/types/components/Switch/Switch.d.ts +3 -3
  374. package/dist/types/components/Switch/Switch.interface.d.ts +11 -11
  375. package/dist/types/components/Tab/Tab.appearance.d.ts +2 -2
  376. package/dist/types/components/Tab/Tab.d.ts +3 -3
  377. package/dist/types/components/Tab/Tab.interface.d.ts +55 -56
  378. package/dist/types/components/Tab/TabGroup.d.ts +2 -2
  379. package/dist/types/components/Text/Text.appearance.d.ts +2 -2
  380. package/dist/types/components/Text/Text.d.ts +3 -3
  381. package/dist/types/components/Text/Text.interface.d.ts +33 -34
  382. package/dist/types/components/Textarea/Textarea.appearance.d.ts +3 -3
  383. package/dist/types/components/Textarea/Textarea.d.ts +3 -3
  384. package/dist/types/components/Textarea/Textarea.interface.d.ts +27 -29
  385. package/dist/types/components/Tile/Tile.appearance.d.ts +2 -2
  386. package/dist/types/components/Tile/Tile.d.ts +3 -3
  387. package/dist/types/components/Tile/Tile.interface.d.ts +32 -33
  388. package/dist/types/components/Title/Title.appearance.d.ts +2 -2
  389. package/dist/types/components/Title/Title.d.ts +3 -3
  390. package/dist/types/components/Title/Title.interface.d.ts +27 -28
  391. package/dist/types/components/Tooltip/Tooltip.appearance.d.ts +2 -2
  392. package/dist/types/components/Tooltip/Tooltip.d.ts +3 -3
  393. package/dist/types/components/Tooltip/Tooltip.interface.d.ts +26 -27
  394. package/dist/types/components/Video/Video.d.ts +2 -2
  395. package/dist/types/components/Video/Video.interface.d.ts +2 -2
  396. package/dist/types/context/Notifications.d.ts +4 -5
  397. package/dist/types/context/Notifications.interface.d.ts +14 -14
  398. package/dist/types/hooks/useDevicePropsGenerator/useDevicePropsGenerator.d.ts +2 -2
  399. package/dist/types/hooks/useDevicePropsGenerator/useDevicePropsGenerator.interface.d.ts +7 -7
  400. package/dist/types/hooks/useStyles/styleAttributes.interface.d.ts +80 -80
  401. package/package.json +7 -6
  402. package/dist/DropdownItem-B3E-_Cwp.js +0 -88
  403. package/dist/DropdownItem-Qg-_2YWD.js +0 -93
  404. package/dist/Icon-OJ_3E3eM.js +0 -61
  405. package/dist/Image-BEGwuGBM.js +0 -17
  406. package/dist/Image-DWfyapuD.js +0 -15
  407. package/dist/stories/Dev.mdx +0 -9
  408. package/dist/types/types/componentProps/align.d.ts +0 -2
  409. package/dist/types/types/componentProps/alignDirection.d.ts +0 -3
  410. package/dist/types/types/componentProps/alignment.d.ts +0 -3
  411. package/dist/types/types/componentProps/appearanceKeys.d.ts +0 -1
  412. package/dist/types/types/componentProps/borderColor.d.ts +0 -3
  413. package/dist/types/types/componentProps/borderColorHover.d.ts +0 -3
  414. package/dist/types/types/componentProps/borderType.d.ts +0 -3
  415. package/dist/types/types/componentProps/borderWidth.d.ts +0 -3
  416. package/dist/types/types/componentProps/direction.d.ts +0 -3
  417. package/dist/types/types/componentProps/elevation.d.ts +0 -3
  418. package/dist/types/types/componentProps/fill.d.ts +0 -3
  419. package/dist/types/types/componentProps/fillGradient.d.ts +0 -3
  420. package/dist/types/types/componentProps/fillHover.d.ts +0 -3
  421. package/dist/types/types/componentProps/fillType.d.ts +0 -3
  422. package/dist/types/types/componentProps/flexAlign.d.ts +0 -3
  423. package/dist/types/types/componentProps/flexGrow.d.ts +0 -3
  424. package/dist/types/types/componentProps/flexJustifyContent.d.ts +0 -3
  425. package/dist/types/types/componentProps/flexWrap.d.ts +0 -3
  426. package/dist/types/types/componentProps/gridAlign.d.ts +0 -3
  427. package/dist/types/types/componentProps/gridAlignSelf.d.ts +0 -3
  428. package/dist/types/types/componentProps/gridJustifyItems.d.ts +0 -3
  429. package/dist/types/types/componentProps/gridJustifySelf.d.ts +0 -3
  430. package/dist/types/types/componentProps/height.d.ts +0 -3
  431. package/dist/types/types/componentProps/horizontalContentAlign.d.ts +0 -3
  432. package/dist/types/types/componentProps/horizontalResizeMode.d.ts +0 -3
  433. package/dist/types/types/componentProps/iconFillSize.d.ts +0 -3
  434. package/dist/types/types/componentProps/iconSize.d.ts +0 -3
  435. package/dist/types/types/componentProps/itemColor.d.ts +0 -3
  436. package/dist/types/types/componentProps/justifyContent.d.ts +0 -3
  437. package/dist/types/types/componentProps/overflow.d.ts +0 -3
  438. package/dist/types/types/componentProps/position.d.ts +0 -3
  439. package/dist/types/types/componentProps/resizeMode.d.ts +0 -3
  440. package/dist/types/types/componentProps/shape.d.ts +0 -3
  441. package/dist/types/types/componentProps/size.d.ts +0 -3
  442. package/dist/types/types/componentProps/sizeOption.d.ts +0 -3
  443. package/dist/types/types/componentProps/sizePX.d.ts +0 -3
  444. package/dist/types/types/componentProps/stacking.d.ts +0 -3
  445. package/dist/types/types/componentProps/state.d.ts +0 -3
  446. package/dist/types/types/componentProps/stateKeys.d.ts +0 -1
  447. package/dist/types/types/componentProps/svgFill.d.ts +0 -3
  448. package/dist/types/types/componentProps/textAlign.d.ts +0 -3
  449. package/dist/types/types/componentProps/textColor.d.ts +0 -3
  450. package/dist/types/types/componentProps/textColorActive.d.ts +0 -3
  451. package/dist/types/types/componentProps/textColorHover.d.ts +0 -3
  452. package/dist/types/types/componentProps/textGradient.d.ts +0 -3
  453. package/dist/types/types/componentProps/textSize.d.ts +0 -3
  454. package/dist/types/types/componentProps/textStyle.d.ts +0 -3
  455. package/dist/types/types/componentProps/textTag.d.ts +0 -3
  456. package/dist/types/types/componentProps/textWeight.d.ts +0 -3
  457. package/dist/types/types/componentProps/textWrap.d.ts +0 -3
  458. package/dist/types/types/componentProps/titleSize.d.ts +0 -5
  459. package/dist/types/types/componentProps/type.d.ts +0 -3
  460. package/dist/types/types/componentProps/underline.d.ts +0 -3
  461. package/dist/types/types/componentProps/verticalContentAlign.d.ts +0 -3
  462. package/dist/types/types/componentProps/verticalResizeMode.d.ts +0 -3
  463. package/dist/types/types/componentProps/width.d.ts +0 -3
  464. package/dist/types/types/componentProps/wrap.d.ts +0 -3
  465. package/dist/types/types/index.d.ts +0 -55
@@ -6,8 +6,8 @@ var React = require('react');
6
6
  var clsx = require('clsx');
7
7
  var useDevicePropsGenerator = require('./cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
8
8
  var useStyles = require('./cjs/hooks/useStyles/useStyles.js');
9
- var Text = require('./Text-C49zj3jO.js');
10
- var Tooltip = require('./Tooltip-DRta8lK_.js');
9
+ var Text = require('./Text-CEcBg-F5.js');
10
+ var Tooltip = require('./Tooltip-Lhx-Fefx.js');
11
11
 
12
12
  var labelAppearanceAccent = {
13
13
  accent: {
@@ -211,7 +211,7 @@ var labelConfig = {
211
211
  },
212
212
  };
213
213
  function Label(props) {
214
- var className = props.className, type = props.type, appearance = props.appearance, children = props.children, label = props.label, labelTextWrap = props.labelTextWrap, cursor = props.cursor, dataTour = props.dataTour, mode = props.mode, showTooltip = props.showTooltip, tooltipAlignment = props.tooltipAlignment, tooltipAppearance = props.tooltipAppearance, tooltipArrowPosition = props.tooltipArrowPosition, tooltipContent = props.tooltipContent, tooltipText = props.tooltipText, tooltipTextSize = props.tooltipTextSize, tooltipTitle = props.tooltipTitle, tooltipTitleSize = props.tooltipTitleSize, before = props.before, after = props.after, isSkeleton = props.isSkeleton, onClick = props.onClick;
214
+ var className = props.className, type = props.type, appearance = props.appearance, label = props.label, labelTextWrap = props.labelTextWrap, cursor = props.cursor, dataTour = props.dataTour, mode = props.mode, showTooltip = props.showTooltip, tooltipAlignment = props.tooltipAlignment, tooltipAppearance = props.tooltipAppearance, tooltipArrowPosition = props.tooltipArrowPosition, tooltipContent = props.tooltipContent, tooltipText = props.tooltipText, tooltipTextSize = props.tooltipTextSize, tooltipTitle = props.tooltipTitle, tooltipTitleSize = props.tooltipTitleSize, before = props.before, after = props.after, isSkeleton = props.isSkeleton, onClick = props.onClick, children = props.children;
215
215
  var tooltipRef = React.useRef(null);
216
216
  var onMouseEnterLabel = React.useCallback(function () {
217
217
  var _a;
@@ -226,10 +226,10 @@ function Label(props) {
226
226
  return (tslib_es6.__assign(tslib_es6.__assign({}, resultApperance), (_a = labelConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
227
227
  }, {});
228
228
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
229
- var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, labelTextColor = propsGenerator.labelTextColor, labelTextColorHover = propsGenerator.labelTextColorHover, labelTextSize = propsGenerator.labelTextSize, labelTextWeight = propsGenerator.labelTextWeight, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass, wrapClass = propsGenerator.wrapClass;
229
+ var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelTextColor = propsGenerator.labelTextColor, labelTextColorHover = propsGenerator.labelTextColorHover, labelTextSize = propsGenerator.labelTextSize, labelTextWeight = propsGenerator.labelTextWeight, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass, wrapClass = propsGenerator.wrapClass;
230
230
  // @ts-expect-error
231
231
  var labelStyles = useStyles.useStyles(props).styles;
232
- return (jsxRuntime.jsxs("div", { className: clsx(className, 'label', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), shapeClass && "label_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), sizeClass && "label_size_".concat(sizeClass), wrapClass && "'word-wrap_".concat(wrapClass), widthClass && "label_width_".concat(widthClass), alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(alignClass), type && "label_type_".concat(type), mode && "label_mode_".concat(mode), isSkeleton && "label_skeleton", onClick && (cursor || 'cursor_type_pointer')), "data-tour": dataTour, style: labelStyles, onClick: onClick, onMouseEnter: onMouseEnterLabel, onMouseLeave: onMouseLeaveLabel, children: [before, jsxRuntime.jsxs("div", { className: "label__inner", children: [typeof label === 'string' ? (jsxRuntime.jsx(Text.Text, { className: "label__text", textColor: labelTextColor, textColorHover: labelTextColorHover, textWeight: labelTextWeight, textWrap: labelTextWrap, size: labelTextSize, children: label })) : (jsxRuntime.jsx("div", { className: "label__text", children: label })), children, showTooltip && (jsxRuntime.jsx(Tooltip.Tooltip, { className: "label__tooltip", appearance: tooltipAppearance, alignment: tooltipAlignment, text: tooltipText, textSize: tooltipTextSize, title: tooltipTitle, titleSize: tooltipTitleSize, arrowPosition: tooltipArrowPosition, ref: tooltipRef, children: tooltipContent }))] }), after] }));
232
+ return (jsxRuntime.jsxs("div", { className: clsx(className, 'label', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), shapeClass && "label_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), sizeClass && "label_size_".concat(sizeClass), wrapClass && "'word-wrap_".concat(wrapClass), widthClass && "label_width_".concat(widthClass), alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(alignClass), type && "label_type_".concat(type), mode && "label_mode_".concat(mode), isSkeleton && "label_skeleton", onClick && (cursor || 'cursor_type_pointer')), "data-tour": dataTour, style: labelStyles, onClick: onClick, onMouseEnter: onMouseEnterLabel, onMouseLeave: onMouseLeaveLabel, children: [before, jsxRuntime.jsxs("div", { className: "label__inner", children: [typeof label === 'string' ? (jsxRuntime.jsx(Text.Text, { className: "label__text", size: labelTextSize, textColor: labelTextColor, textColorHover: labelTextColorHover, textWeight: labelTextWeight, textWrap: labelTextWrap, children: label })) : (jsxRuntime.jsx("div", { className: "label__text", children: label })), children, showTooltip && (jsxRuntime.jsx(Tooltip.Tooltip, { className: "label__tooltip", appearance: tooltipAppearance, alignment: tooltipAlignment, title: tooltipTitle, titleSize: tooltipTitleSize, text: tooltipText, textSize: tooltipTextSize, arrowPosition: tooltipArrowPosition, ref: tooltipRef, children: tooltipContent }))] }), after] }));
233
233
  }
234
234
 
235
235
  exports.Label = Label;
@@ -1,11 +1,11 @@
1
- import { _ as __assign } from './tslib.es6-5FtW-kfi.js';
1
+ import { _ as __assign } from './tslib.es6-Bwu1Cn-t.js';
2
2
  import { jsxs, jsx } from 'react/jsx-runtime';
3
3
  import { useRef, useCallback } from 'react';
4
4
  import clsx from 'clsx';
5
5
  import { useDevicePropsGenerator } from './hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
6
6
  import { useStyles } from './hooks/useStyles/useStyles.js';
7
- import { T as Text } from './Text-C6NSmetx.js';
8
- import { T as Tooltip } from './Tooltip-5lQyt5-Y.js';
7
+ import { T as Text } from './Text-CI2prtf6.js';
8
+ import { T as Tooltip } from './Tooltip-EOu0a93a.js';
9
9
 
10
10
  var labelAppearanceAccent = {
11
11
  accent: {
@@ -209,7 +209,7 @@ var labelConfig = {
209
209
  },
210
210
  };
211
211
  function Label(props) {
212
- var className = props.className, type = props.type, appearance = props.appearance, children = props.children, label = props.label, labelTextWrap = props.labelTextWrap, cursor = props.cursor, dataTour = props.dataTour, mode = props.mode, showTooltip = props.showTooltip, tooltipAlignment = props.tooltipAlignment, tooltipAppearance = props.tooltipAppearance, tooltipArrowPosition = props.tooltipArrowPosition, tooltipContent = props.tooltipContent, tooltipText = props.tooltipText, tooltipTextSize = props.tooltipTextSize, tooltipTitle = props.tooltipTitle, tooltipTitleSize = props.tooltipTitleSize, before = props.before, after = props.after, isSkeleton = props.isSkeleton, onClick = props.onClick;
212
+ var className = props.className, type = props.type, appearance = props.appearance, label = props.label, labelTextWrap = props.labelTextWrap, cursor = props.cursor, dataTour = props.dataTour, mode = props.mode, showTooltip = props.showTooltip, tooltipAlignment = props.tooltipAlignment, tooltipAppearance = props.tooltipAppearance, tooltipArrowPosition = props.tooltipArrowPosition, tooltipContent = props.tooltipContent, tooltipText = props.tooltipText, tooltipTextSize = props.tooltipTextSize, tooltipTitle = props.tooltipTitle, tooltipTitleSize = props.tooltipTitleSize, before = props.before, after = props.after, isSkeleton = props.isSkeleton, onClick = props.onClick, children = props.children;
213
213
  var tooltipRef = useRef(null);
214
214
  var onMouseEnterLabel = useCallback(function () {
215
215
  var _a;
@@ -224,10 +224,10 @@ function Label(props) {
224
224
  return (__assign(__assign({}, resultApperance), (_a = labelConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
225
225
  }, {});
226
226
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
227
- var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, labelTextColor = propsGenerator.labelTextColor, labelTextColorHover = propsGenerator.labelTextColorHover, labelTextSize = propsGenerator.labelTextSize, labelTextWeight = propsGenerator.labelTextWeight, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass, wrapClass = propsGenerator.wrapClass;
227
+ var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, labelTextColor = propsGenerator.labelTextColor, labelTextColorHover = propsGenerator.labelTextColorHover, labelTextSize = propsGenerator.labelTextSize, labelTextWeight = propsGenerator.labelTextWeight, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass, wrapClass = propsGenerator.wrapClass;
228
228
  // @ts-expect-error
229
229
  var labelStyles = useStyles(props).styles;
230
- return (jsxs("div", { className: clsx(className, 'label', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), shapeClass && "label_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), sizeClass && "label_size_".concat(sizeClass), wrapClass && "'word-wrap_".concat(wrapClass), widthClass && "label_width_".concat(widthClass), alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(alignClass), type && "label_type_".concat(type), mode && "label_mode_".concat(mode), isSkeleton && "label_skeleton", onClick && (cursor || 'cursor_type_pointer')), "data-tour": dataTour, style: labelStyles, onClick: onClick, onMouseEnter: onMouseEnterLabel, onMouseLeave: onMouseLeaveLabel, children: [before, jsxs("div", { className: "label__inner", children: [typeof label === 'string' ? (jsx(Text, { className: "label__text", textColor: labelTextColor, textColorHover: labelTextColorHover, textWeight: labelTextWeight, textWrap: labelTextWrap, size: labelTextSize, children: label })) : (jsx("div", { className: "label__text", children: label })), children, showTooltip && (jsx(Tooltip, { className: "label__tooltip", appearance: tooltipAppearance, alignment: tooltipAlignment, text: tooltipText, textSize: tooltipTextSize, title: tooltipTitle, titleSize: tooltipTitleSize, arrowPosition: tooltipArrowPosition, ref: tooltipRef, children: tooltipContent }))] }), after] }));
230
+ return (jsxs("div", { className: clsx(className, 'label', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), shapeClass && "label_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), sizeClass && "label_size_".concat(sizeClass), wrapClass && "'word-wrap_".concat(wrapClass), widthClass && "label_width_".concat(widthClass), alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(alignClass), type && "label_type_".concat(type), mode && "label_mode_".concat(mode), isSkeleton && "label_skeleton", onClick && (cursor || 'cursor_type_pointer')), "data-tour": dataTour, style: labelStyles, onClick: onClick, onMouseEnter: onMouseEnterLabel, onMouseLeave: onMouseLeaveLabel, children: [before, jsxs("div", { className: "label__inner", children: [typeof label === 'string' ? (jsx(Text, { className: "label__text", size: labelTextSize, textColor: labelTextColor, textColorHover: labelTextColorHover, textWeight: labelTextWeight, textWrap: labelTextWrap, children: label })) : (jsx("div", { className: "label__text", children: label })), children, showTooltip && (jsx(Tooltip, { className: "label__tooltip", appearance: tooltipAppearance, alignment: tooltipAlignment, title: tooltipTitle, titleSize: tooltipTitleSize, text: tooltipText, textSize: tooltipTextSize, arrowPosition: tooltipArrowPosition, ref: tooltipRef, children: tooltipContent }))] }), after] }));
231
231
  }
232
232
 
233
233
  export { Label as L, labelAppearance as a, labelConfig as l };
@@ -7,22 +7,26 @@ 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
 
10
+ var linkAppearance = {
11
+ dev: {},
12
+ };
13
+
10
14
  var linkConfig = {
15
+ appearance: linkAppearance,
11
16
  LinkComponent: 'a',
17
+ setAppearance: function (appearanceConfig) {
18
+ linkConfig.appearance = appearanceConfig;
19
+ },
12
20
  setLinkComponent: function (newComponent) {
13
21
  linkConfig.LinkComponent = newComponent;
14
22
  },
15
23
  };
16
- // const linkConfig: iLinkConfig = {
17
- // appearance: linkAppearance,
18
- // setAppearance: (appearanceConfig) => {
19
- // linkConfig.appearance = appearanceConfig
20
- // },
21
- // }
22
24
  function Link(props) {
23
- var className = props.className, children = props.children, text = props.text, href = props.href, link = props.link, LinkComponent = props.LinkComponent, rel = props.rel, style = props.style, target = props.target, _a = props.underline, underline = _a === void 0 ? 'underline' : _a, before = props.before, after = props.after, onClick = props.onClick, onMouseDown = props.onMouseDown;
24
- // @ts-expect-error
25
- var appearanceConfig = linkConfig.appearance && linkConfig.appearance[appearance];
25
+ var className = props.className, text = props.text, href = props.href, link = props.link, LinkComponent = props.LinkComponent, rel = props.rel, style = props.style, target = props.target, _a = props.underline, underline = _a === void 0 ? 'underline' : _a, before = props.before, after = props.after, onClick = props.onClick, onMouseDown = props.onMouseDown, children = props.children;
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 = linkConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
29
+ }, {});
26
30
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
27
31
  var directionClass = propsGenerator.directionClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, textColorClass = propsGenerator.textColorClass, textColorHoverClass = propsGenerator.textColorHoverClass, textGradientClass = propsGenerator.textGradientClass, textStyleClass = propsGenerator.textStyleClass, textWeightClass = propsGenerator.textWeightClass, heightClass = propsGenerator.heightClass, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, svgFillClass = propsGenerator.svgFillClass, svgFillHoverClass = propsGenerator.svgFillHoverClass, widthClass = propsGenerator.widthClass;
28
32
  // @ts-expect-error
@@ -36,7 +40,7 @@ function Link(props) {
36
40
  }
37
41
  // Wrapper with "Link" by condition
38
42
  function LinkWrapper(props) {
39
- var children = props.children, Component = props.Component, DefaultComponent = props.DefaultComponent, href = props.href, rel = props.rel, target = props.target, otherProps = tslib_es6.__rest(props, ["children", "Component", "DefaultComponent", "href", "rel", "target"]);
43
+ var Component = props.Component, DefaultComponent = props.DefaultComponent, href = props.href, rel = props.rel, target = props.target, children = props.children, otherProps = tslib_es6.__rest(props, ["Component", "DefaultComponent", "href", "rel", "target", "children"]);
40
44
  if (href) {
41
45
  // If href passed, make link-wrapper
42
46
  var LinkComponent = Component || linkConfig.LinkComponent;
@@ -52,10 +56,13 @@ function LinkWrapper(props) {
52
56
  return React.Children.toArray(children)
53
57
  .filter(Boolean)
54
58
  .map(function (child) {
55
- return React.isValidElement(child) ? React.cloneElement(child, otherProps) : child;
59
+ return React.isValidElement(child)
60
+ ? React.cloneElement(child, otherProps)
61
+ : child;
56
62
  });
57
63
  }
58
64
 
59
65
  exports.Link = Link;
60
66
  exports.LinkWrapper = LinkWrapper;
67
+ exports.linkAppearance = linkAppearance;
61
68
  exports.linkConfig = linkConfig;
@@ -1,26 +1,30 @@
1
- import { a as __rest, _ as __assign } from './tslib.es6-5FtW-kfi.js';
1
+ import { b as __rest, _ as __assign } from './tslib.es6-Bwu1Cn-t.js';
2
2
  import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import React from 'react';
4
4
  import clsx from 'clsx';
5
5
  import { useDevicePropsGenerator } from './hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
6
6
  import { useStyles } from './hooks/useStyles/useStyles.js';
7
7
 
8
+ var linkAppearance = {
9
+ dev: {},
10
+ };
11
+
8
12
  var linkConfig = {
13
+ appearance: linkAppearance,
9
14
  LinkComponent: 'a',
15
+ setAppearance: function (appearanceConfig) {
16
+ linkConfig.appearance = appearanceConfig;
17
+ },
10
18
  setLinkComponent: function (newComponent) {
11
19
  linkConfig.LinkComponent = newComponent;
12
20
  },
13
21
  };
14
- // const linkConfig: iLinkConfig = {
15
- // appearance: linkAppearance,
16
- // setAppearance: (appearanceConfig) => {
17
- // linkConfig.appearance = appearanceConfig
18
- // },
19
- // }
20
22
  function Link(props) {
21
- var className = props.className, children = props.children, text = props.text, href = props.href, link = props.link, LinkComponent = props.LinkComponent, rel = props.rel, style = props.style, target = props.target, _a = props.underline, underline = _a === void 0 ? 'underline' : _a, before = props.before, after = props.after, onClick = props.onClick, onMouseDown = props.onMouseDown;
22
- // @ts-expect-error
23
- var appearanceConfig = linkConfig.appearance && linkConfig.appearance[appearance];
23
+ var className = props.className, text = props.text, href = props.href, link = props.link, LinkComponent = props.LinkComponent, rel = props.rel, style = props.style, target = props.target, _a = props.underline, underline = _a === void 0 ? 'underline' : _a, before = props.before, after = props.after, onClick = props.onClick, onMouseDown = props.onMouseDown, children = props.children;
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 = linkConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
27
+ }, {});
24
28
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
25
29
  var directionClass = propsGenerator.directionClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, textColorClass = propsGenerator.textColorClass, textColorHoverClass = propsGenerator.textColorHoverClass, textGradientClass = propsGenerator.textGradientClass, textStyleClass = propsGenerator.textStyleClass, textWeightClass = propsGenerator.textWeightClass, heightClass = propsGenerator.heightClass, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, svgFillClass = propsGenerator.svgFillClass, svgFillHoverClass = propsGenerator.svgFillHoverClass, widthClass = propsGenerator.widthClass;
26
30
  // @ts-expect-error
@@ -34,7 +38,7 @@ function Link(props) {
34
38
  }
35
39
  // Wrapper with "Link" by condition
36
40
  function LinkWrapper(props) {
37
- var children = props.children, Component = props.Component, DefaultComponent = props.DefaultComponent, href = props.href, rel = props.rel, target = props.target, otherProps = __rest(props, ["children", "Component", "DefaultComponent", "href", "rel", "target"]);
41
+ var Component = props.Component, DefaultComponent = props.DefaultComponent, href = props.href, rel = props.rel, target = props.target, children = props.children, otherProps = __rest(props, ["Component", "DefaultComponent", "href", "rel", "target", "children"]);
38
42
  if (href) {
39
43
  // If href passed, make link-wrapper
40
44
  var LinkComponent = Component || linkConfig.LinkComponent;
@@ -50,8 +54,10 @@ function LinkWrapper(props) {
50
54
  return React.Children.toArray(children)
51
55
  .filter(Boolean)
52
56
  .map(function (child) {
53
- return React.isValidElement(child) ? React.cloneElement(child, otherProps) : child;
57
+ return React.isValidElement(child)
58
+ ? React.cloneElement(child, otherProps)
59
+ : child;
54
60
  });
55
61
  }
56
62
 
57
- export { LinkWrapper as L, Link as a, linkConfig as l };
63
+ export { Link as L, LinkWrapper as a, linkAppearance as b, linkConfig as l };
@@ -1,9 +1,9 @@
1
- import { _ as __assign } from './tslib.es6-5FtW-kfi.js';
1
+ import { _ as __assign } from './tslib.es6-Bwu1Cn-t.js';
2
2
  import { jsxs, jsx } from 'react/jsx-runtime';
3
3
  import clsx from 'clsx';
4
4
  import { useDevicePropsGenerator } from './hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
5
5
  import { useStyles } from './hooks/useStyles/useStyles.js';
6
- import { T as Text } from './Text-C6NSmetx.js';
6
+ import { T as Text } from './Text-CI2prtf6.js';
7
7
 
8
8
  var loaderAppearanceAccent = {
9
9
  accentPrimary: {
@@ -5,7 +5,7 @@ var jsxRuntime = require('react/jsx-runtime');
5
5
  var clsx = require('clsx');
6
6
  var useDevicePropsGenerator = require('./cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
7
7
  var useStyles = require('./cjs/hooks/useStyles/useStyles.js');
8
- var Text = require('./Text-C49zj3jO.js');
8
+ var Text = require('./Text-CEcBg-F5.js');
9
9
 
10
10
  var loaderAppearanceAccent = {
11
11
  accentPrimary: {
@@ -1,3 +1,4 @@
1
+ import { _ as __assign } from './tslib.es6-Bwu1Cn-t.js';
1
2
  import { jsx } from 'react/jsx-runtime';
2
3
  import clsx from 'clsx';
3
4
  import { useDevicePropsGenerator } from './hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
@@ -14,9 +15,11 @@ var overlayConfig = {
14
15
  },
15
16
  };
16
17
  function Overlay(props) {
17
- var isOverlay = props.isOverlay, appearance = props.appearance, className = props.className, type = props.type, onClick = props.onClick, dataTestId = props.dataTestId, dataTour = props.dataTour;
18
- // @ts-expect-error
19
- var appearanceConfig = overlayConfig.appearance && overlayConfig.appearance[appearance];
18
+ var className = props.className, type = props.type, appearance = props.appearance, dataTestId = props.dataTestId, dataTour = props.dataTour, isOverlay = props.isOverlay, onClick = props.onClick;
19
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
20
+ var _a;
21
+ return (__assign(__assign({}, resultAppearance), (_a = overlayConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
22
+ }, {});
20
23
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
21
24
  var fillClass = propsGenerator.fillClass, fillGradientClass = propsGenerator.fillGradientClass, opacityClass = propsGenerator.opacityClass;
22
25
  // @ts-expect-error
@@ -1,5 +1,6 @@
1
1
  'use strict';
2
2
 
3
+ var tslib_es6 = require('./tslib.es6-CCZ3TN_7.js');
3
4
  var jsxRuntime = require('react/jsx-runtime');
4
5
  var clsx = require('clsx');
5
6
  var useDevicePropsGenerator = require('./cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
@@ -16,9 +17,11 @@ var overlayConfig = {
16
17
  },
17
18
  };
18
19
  function Overlay(props) {
19
- var isOverlay = props.isOverlay, appearance = props.appearance, className = props.className, type = props.type, onClick = props.onClick, dataTestId = props.dataTestId, dataTour = props.dataTour;
20
- // @ts-expect-error
21
- var appearanceConfig = overlayConfig.appearance && overlayConfig.appearance[appearance];
20
+ var className = props.className, type = props.type, appearance = props.appearance, dataTestId = props.dataTestId, dataTour = props.dataTour, isOverlay = props.isOverlay, onClick = props.onClick;
21
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
22
+ var _a;
23
+ return (tslib_es6.__assign(tslib_es6.__assign({}, resultAppearance), (_a = overlayConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
24
+ }, {});
22
25
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
23
26
  var fillClass = propsGenerator.fillClass, fillGradientClass = propsGenerator.fillGradientClass, opacityClass = propsGenerator.opacityClass;
24
27
  // @ts-expect-error
@@ -3,12 +3,12 @@ import clsx from 'clsx';
3
3
  import { Scrollbar as Scrollbar$1 } from 'react-scrollbars-custom';
4
4
 
5
5
  function Scrollbar(props) {
6
- var children = props.children, className = props.className, noDefaultStyles = props.noDefaultStyles, scrollbarWidth = props.scrollbarWidth, _a = props.scrollHeight, scrollHeight = _a === void 0 ? '200' : _a, onScroll = props.onScroll;
7
- return (jsx(Scrollbar$1, { className: clsx('scrollbar', className), noDefaultStyles: noDefaultStyles, scrollbarWidth: scrollbarWidth, style: { height: scrollHeight + 'px' }, contentProps: {
6
+ var className = props.className, noDefaultStyles = props.noDefaultStyles, scrollbarWidth = props.scrollbarWidth, _a = props.scrollHeight, scrollHeight = _a === void 0 ? '200' : _a, onScroll = props.onScroll, children = props.children;
7
+ return (jsx(Scrollbar$1, { className: clsx('scrollbar', className), contentProps: {
8
8
  className: 'scrollbar__scroll-content',
9
- }, scrollerProps: {
9
+ }, noDefaultStyles: noDefaultStyles, scrollbarWidth: scrollbarWidth, scrollerProps: {
10
10
  className: 'scrollbar__scroll',
11
- }, thumbXProps: {
11
+ }, style: { height: scrollHeight + 'px' }, thumbXProps: {
12
12
  className: 'scrollbar__track-x-item',
13
13
  }, thumbYProps: {
14
14
  className: 'scrollbar__track-y-item',
@@ -5,12 +5,12 @@ var clsx = require('clsx');
5
5
  var reactScrollbarsCustom = require('react-scrollbars-custom');
6
6
 
7
7
  function Scrollbar(props) {
8
- var children = props.children, className = props.className, noDefaultStyles = props.noDefaultStyles, scrollbarWidth = props.scrollbarWidth, _a = props.scrollHeight, scrollHeight = _a === void 0 ? '200' : _a, onScroll = props.onScroll;
9
- return (jsxRuntime.jsx(reactScrollbarsCustom.Scrollbar, { className: clsx('scrollbar', className), noDefaultStyles: noDefaultStyles, scrollbarWidth: scrollbarWidth, style: { height: scrollHeight + 'px' }, contentProps: {
8
+ var className = props.className, noDefaultStyles = props.noDefaultStyles, scrollbarWidth = props.scrollbarWidth, _a = props.scrollHeight, scrollHeight = _a === void 0 ? '200' : _a, onScroll = props.onScroll, children = props.children;
9
+ return (jsxRuntime.jsx(reactScrollbarsCustom.Scrollbar, { className: clsx('scrollbar', className), contentProps: {
10
10
  className: 'scrollbar__scroll-content',
11
- }, scrollerProps: {
11
+ }, noDefaultStyles: noDefaultStyles, scrollbarWidth: scrollbarWidth, scrollerProps: {
12
12
  className: 'scrollbar__scroll',
13
- }, thumbXProps: {
13
+ }, style: { height: scrollHeight + 'px' }, thumbXProps: {
14
14
  className: 'scrollbar__track-x-item',
15
15
  }, thumbYProps: {
16
16
  className: 'scrollbar__track-y-item',
@@ -1,5 +1,6 @@
1
1
  'use strict';
2
2
 
3
+ var tslib_es6 = require('./tslib.es6-CCZ3TN_7.js');
3
4
  var jsxRuntime = require('react/jsx-runtime');
4
5
  var clsx = require('clsx');
5
6
  var useDevicePropsGenerator = require('./cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
@@ -19,9 +20,11 @@ var textConfig = {
19
20
  },
20
21
  };
21
22
  function Text(props) {
22
- var className = props.className, type = props.type, appearance = props.appearance, children = props.children, cursor = props.cursor, dataTestId = props.dataTestId, dataTour = props.dataTour, htmlFor = props.htmlFor, mode = props.mode, _a = props.tag, Tag = _a === void 0 ? 'span' : _a, before = props.before, after = props.after, onClick = props.onClick, onDoubleClick = props.onDoubleClick;
23
- // @ts-expect-error
24
- var appearanceConfig = textConfig.appearance && textConfig.appearance[appearance];
23
+ var className = props.className, type = props.type, appearance = props.appearance, cursor = props.cursor, dataTestId = props.dataTestId, dataTour = props.dataTour, htmlFor = props.htmlFor, mode = props.mode, _a = props.tag, Tag = _a === void 0 ? 'span' : _a, before = props.before, after = props.after, onClick = props.onClick, onDoubleClick = props.onDoubleClick, children = props.children;
24
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
25
+ var _a;
26
+ return (tslib_es6.__assign(tslib_es6.__assign({}, resultAppearance), (_a = textConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
27
+ }, {});
25
28
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
26
29
  var textAlignClass = propsGenerator.textAlignClass, textColorActiveClass = propsGenerator.textColorActiveClass, textColorClass = propsGenerator.textColorClass, textColorGradientClass = propsGenerator.textColorGradientClass, textColorHoverClass = propsGenerator.textColorHoverClass, textStyleClass = propsGenerator.textStyleClass, textTruncateClass = propsGenerator.textTruncateClass, textWeightClass = propsGenerator.textWeightClass, textWrapClass = propsGenerator.textWrapClass, cursorClass = propsGenerator.cursorClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
27
30
  // @ts-expect-error
@@ -1,3 +1,4 @@
1
+ import { _ as __assign } from './tslib.es6-Bwu1Cn-t.js';
1
2
  import { jsxs } from 'react/jsx-runtime';
2
3
  import clsx from 'clsx';
3
4
  import { useDevicePropsGenerator } from './hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
@@ -17,9 +18,11 @@ var textConfig = {
17
18
  },
18
19
  };
19
20
  function Text(props) {
20
- var className = props.className, type = props.type, appearance = props.appearance, children = props.children, cursor = props.cursor, dataTestId = props.dataTestId, dataTour = props.dataTour, htmlFor = props.htmlFor, mode = props.mode, _a = props.tag, Tag = _a === void 0 ? 'span' : _a, before = props.before, after = props.after, onClick = props.onClick, onDoubleClick = props.onDoubleClick;
21
- // @ts-expect-error
22
- var appearanceConfig = textConfig.appearance && textConfig.appearance[appearance];
21
+ var className = props.className, type = props.type, appearance = props.appearance, cursor = props.cursor, dataTestId = props.dataTestId, dataTour = props.dataTour, htmlFor = props.htmlFor, mode = props.mode, _a = props.tag, Tag = _a === void 0 ? 'span' : _a, before = props.before, after = props.after, onClick = props.onClick, onDoubleClick = props.onDoubleClick, children = props.children;
22
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
23
+ var _a;
24
+ return (__assign(__assign({}, resultAppearance), (_a = textConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
25
+ }, {});
23
26
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
24
27
  var textAlignClass = propsGenerator.textAlignClass, textColorActiveClass = propsGenerator.textColorActiveClass, textColorClass = propsGenerator.textColorClass, textColorGradientClass = propsGenerator.textColorGradientClass, textColorHoverClass = propsGenerator.textColorHoverClass, textStyleClass = propsGenerator.textStyleClass, textTruncateClass = propsGenerator.textTruncateClass, textWeightClass = propsGenerator.textWeightClass, textWrapClass = propsGenerator.textWrapClass, cursorClass = propsGenerator.cursorClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
25
28
  // @ts-expect-error
@@ -4,6 +4,7 @@ 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
+ require('./cjs/context/Notifications.js');
7
8
  var UIContext = require('./cjs/context/UIContext.js');
8
9
  var useDevicePropsGenerator = require('./cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
9
10
  var useStyles = require('./cjs/hooks/useStyles/useStyles.js');
@@ -22,7 +23,7 @@ var titleConfig = {
22
23
  };
23
24
  function Title(props) {
24
25
  var className = props.className, appearance = props.appearance, _a = props.size, size = _a === void 0 ? 'h3' : _a, text = props.text, textWrap = props.textWrap, afterWrapper = props.afterWrapper, beforeWrapper = props.beforeWrapper, dataTour = props.dataTour, sizeDesktop = props.sizeDesktop, sizeMobile = props.sizeMobile, sizeTablet = props.sizeTablet, _b = props.tag, tag = _b === void 0 ? 'span' : _b, before = props.before, after = props.after, isSkeleton = props.isSkeleton, onClick = props.onClick, children = props.children;
25
- var _c = UIContext.useUserDeviceContext(), isDesktop = _c.isDesktop, isMobile = _c.isMobile, isTablet = _c.isTablet;
26
+ var _c = UIContext.useUserDeviceContext(), isMobile = _c.isMobile, isTablet = _c.isTablet, isDesktop = _c.isDesktop;
26
27
  var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
27
28
  var _a;
28
29
  return (tslib_es6.__assign(tslib_es6.__assign({}, resultAppearance), (_a = titleConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
@@ -46,7 +47,16 @@ function Title(props) {
46
47
  return sizeDesktop;
47
48
  }
48
49
  return size ? size : 'span';
49
- }, [isMobile, isTablet, isDesktop]);
50
+ }, [
51
+ tag,
52
+ isMobile,
53
+ sizeMobile,
54
+ isTablet,
55
+ sizeTablet,
56
+ isDesktop,
57
+ sizeDesktop,
58
+ size,
59
+ ]);
50
60
  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
61
  }
52
62
 
@@ -1,7 +1,8 @@
1
- import { _ as __assign } from './tslib.es6-5FtW-kfi.js';
1
+ import { _ as __assign } from './tslib.es6-Bwu1Cn-t.js';
2
2
  import { jsxs } from 'react/jsx-runtime';
3
3
  import { useMemo } from 'react';
4
4
  import clsx from 'clsx';
5
+ import './context/Notifications.js';
5
6
  import { useUserDeviceContext } from './context/UIContext.js';
6
7
  import { useDevicePropsGenerator } from './hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
7
8
  import { useStyles } from './hooks/useStyles/useStyles.js';
@@ -20,7 +21,7 @@ var titleConfig = {
20
21
  };
21
22
  function Title(props) {
22
23
  var className = props.className, appearance = props.appearance, _a = props.size, size = _a === void 0 ? 'h3' : _a, text = props.text, textWrap = props.textWrap, afterWrapper = props.afterWrapper, beforeWrapper = props.beforeWrapper, dataTour = props.dataTour, sizeDesktop = props.sizeDesktop, sizeMobile = props.sizeMobile, sizeTablet = props.sizeTablet, _b = props.tag, tag = _b === void 0 ? 'span' : _b, before = props.before, after = props.after, isSkeleton = props.isSkeleton, onClick = props.onClick, children = props.children;
23
- var _c = useUserDeviceContext(), isDesktop = _c.isDesktop, isMobile = _c.isMobile, isTablet = _c.isTablet;
24
+ var _c = useUserDeviceContext(), isMobile = _c.isMobile, isTablet = _c.isTablet, isDesktop = _c.isDesktop;
24
25
  var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultAppearance, appearance) {
25
26
  var _a;
26
27
  return (__assign(__assign({}, resultAppearance), (_a = titleConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
@@ -44,7 +45,16 @@ function Title(props) {
44
45
  return sizeDesktop;
45
46
  }
46
47
  return size ? size : 'span';
47
- }, [isMobile, isTablet, isDesktop]);
48
+ }, [
49
+ tag,
50
+ isMobile,
51
+ sizeMobile,
52
+ isTablet,
53
+ sizeTablet,
54
+ isDesktop,
55
+ sizeDesktop,
56
+ size,
57
+ ]);
48
58
  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
59
  }
50
60
 
@@ -1,27 +1,27 @@
1
- import { _ as __assign } from './tslib.es6-5FtW-kfi.js';
1
+ import { _ as __assign } from './tslib.es6-Bwu1Cn-t.js';
2
2
  import { jsxs, jsx } from 'react/jsx-runtime';
3
3
  import React, { useRef, useState, useCallback, useImperativeHandle } from 'react';
4
4
  import clsx from 'clsx';
5
5
  import { useDevicePropsGenerator } from './hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
6
6
  import { useStyles } from './hooks/useStyles/useStyles.js';
7
- import { T as Text } from './Text-C6NSmetx.js';
8
- import { T as Title } from './Title-Byi9vhDt.js';
7
+ import { T as Text } from './Text-CI2prtf6.js';
8
+ import { T as Title } from './Title-CaXw1KBQ.js';
9
9
 
10
10
  var tooltipAppearance = {
11
11
  surfacePrimary: {
12
12
  fill: 'surfacePrimary',
13
- textColor: 'surfaceTextPrimary',
14
13
  titleTextColor: 'surfaceTextPrimary',
14
+ textColor: 'surfaceTextPrimary',
15
15
  },
16
16
  surfaceSecondary: {
17
17
  fill: 'surfaceSecondary',
18
- textColor: 'surfaceTextPrimary',
19
18
  titleTextColor: 'surfaceTextPrimary',
19
+ textColor: 'surfaceTextPrimary',
20
20
  },
21
21
  surfaceTertiary: {
22
22
  fill: 'surfaceTertiary',
23
- textColor: 'surfaceTextPrimary',
24
23
  titleTextColor: 'surfaceTextPrimary',
24
+ textColor: 'surfaceTextPrimary',
25
25
  },
26
26
  };
27
27
 
@@ -32,7 +32,7 @@ var tooltipConfig = {
32
32
  },
33
33
  };
34
34
  var Tooltip = React.forwardRef(function Tooltip(props, ref) {
35
- var className = props.className, type = props.type, appearance = props.appearance, alignPosition = props.alignPosition, initialIsVisible = props.initialIsVisible, children = props.children, text = props.text, title = props.title, arrowPosition = props.arrowPosition, before = props.before, after = props.after, _a = props.openTimeoutDelay, openTimeoutDelay = _a === void 0 ? 500 : _a, _b = props.closeTimeoutDelay, closeTimeoutDelay = _b === void 0 ? 250 : _b, set = props.set;
35
+ var className = props.className, type = props.type, appearance = props.appearance, alignPosition = props.alignPosition, initialIsVisible = props.initialIsVisible, title = props.title, text = props.text, arrowPosition = props.arrowPosition, before = props.before, after = props.after, _a = props.openTimeoutDelay, openTimeoutDelay = _a === void 0 ? 500 : _a, _b = props.closeTimeoutDelay, closeTimeoutDelay = _b === void 0 ? 250 : _b, set = props.set, children = props.children;
36
36
  var tooltipElementRef = useRef(null);
37
37
  var tooltipTimeoutHideRef = useRef(null);
38
38
  var tooltipTimeoutShowRef = useRef(null);
@@ -83,11 +83,11 @@ var Tooltip = React.forwardRef(function Tooltip(props, ref) {
83
83
  return (__assign(__assign({}, resultApperance), (_a = tooltipConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
84
84
  }, {});
85
85
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
86
- var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, alignmentClass = propsGenerator.alignmentClass, fillClass = propsGenerator.fillClass, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, textColor = propsGenerator.textColor, textSize = propsGenerator.textSize, titleSize = propsGenerator.titleSize, titleTextColor = propsGenerator.titleTextColor, titleTextWeight = propsGenerator.titleTextWeight, elevationClass = propsGenerator.elevationClass, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
86
+ var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, alignmentClass = propsGenerator.alignmentClass, fillClass = propsGenerator.fillClass, titleSize = propsGenerator.titleSize, titleTextColor = propsGenerator.titleTextColor, titleTextWeight = propsGenerator.titleTextWeight, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, textColor = propsGenerator.textColor, textSize = propsGenerator.textSize, elevationClass = propsGenerator.elevationClass, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
87
87
  // @ts-expect-error
88
88
  var tooltipStyles = useStyles(props).styles;
89
89
  return (jsxs("div", { className: clsx(className, 'tooltip', isTooltipVisible === true && 'tooltip_state_open', isTooltipVisible === false && 'tooltip_state_close', fillClass && "fill_".concat(fillClass), shapeClass && "tooltip_shape_".concat(shapeClass), alignPosition && "tooltip_align-position_".concat(alignPosition), alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(alignClass), alignmentClass && "alignment_".concat(alignmentClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), elevationClass && "elevation_".concat(elevationClass), sizeClass && "tooltip_size_".concat(sizeClass), arrowPosition &&
90
- "tooltip_type_arrow tooltip_arrow_position_".concat(arrowPosition), type && "tooltip_type_".concat(type), set && "tooltip_set_".concat(set), widthClass && "width_".concat(widthClass)), ref: tooltipElementRef, style: tooltipStyles, onAnimationEnd: onAnimationEnd, children: [before, jsxs("div", { className: "tooltip__inner", children: [title && (jsx(Title, { className: "tooltip__title", textColor: titleTextColor, textWeight: titleTextWeight, size: titleSize, children: title })), text && (jsx(Text, { className: "tooltip__text", textColor: textColor, size: textSize, children: text })), children] }), after] }));
90
+ "tooltip_type_arrow tooltip_arrow_position_".concat(arrowPosition), type && "tooltip_type_".concat(type), set && "tooltip_set_".concat(set), widthClass && "width_".concat(widthClass)), ref: tooltipElementRef, style: tooltipStyles, onAnimationEnd: onAnimationEnd, children: [before, jsxs("div", { className: "tooltip__inner", children: [title && (jsx(Title, { className: "tooltip__title", size: titleSize, textColor: titleTextColor, textWeight: titleTextWeight, children: title })), text && (jsx(Text, { className: "tooltip__text", size: textSize, textColor: textColor, children: text })), children] }), after] }));
91
91
  });
92
92
 
93
93
  export { Tooltip as T, tooltipAppearance as a, tooltipConfig as t };
@@ -6,24 +6,24 @@ var React = require('react');
6
6
  var clsx = require('clsx');
7
7
  var useDevicePropsGenerator = require('./cjs/hooks/useDevicePropsGenerator/useDevicePropsGenerator.js');
8
8
  var useStyles = require('./cjs/hooks/useStyles/useStyles.js');
9
- var Text = require('./Text-C49zj3jO.js');
10
- var Title = require('./Title-BLGDdlnX.js');
9
+ var Text = require('./Text-CEcBg-F5.js');
10
+ var Title = require('./Title-C4xUtigh.js');
11
11
 
12
12
  var tooltipAppearance = {
13
13
  surfacePrimary: {
14
14
  fill: 'surfacePrimary',
15
- textColor: 'surfaceTextPrimary',
16
15
  titleTextColor: 'surfaceTextPrimary',
16
+ textColor: 'surfaceTextPrimary',
17
17
  },
18
18
  surfaceSecondary: {
19
19
  fill: 'surfaceSecondary',
20
- textColor: 'surfaceTextPrimary',
21
20
  titleTextColor: 'surfaceTextPrimary',
21
+ textColor: 'surfaceTextPrimary',
22
22
  },
23
23
  surfaceTertiary: {
24
24
  fill: 'surfaceTertiary',
25
- textColor: 'surfaceTextPrimary',
26
25
  titleTextColor: 'surfaceTextPrimary',
26
+ textColor: 'surfaceTextPrimary',
27
27
  },
28
28
  };
29
29
 
@@ -34,7 +34,7 @@ var tooltipConfig = {
34
34
  },
35
35
  };
36
36
  var Tooltip = React.forwardRef(function Tooltip(props, ref) {
37
- var className = props.className, type = props.type, appearance = props.appearance, alignPosition = props.alignPosition, initialIsVisible = props.initialIsVisible, children = props.children, text = props.text, title = props.title, arrowPosition = props.arrowPosition, before = props.before, after = props.after, _a = props.openTimeoutDelay, openTimeoutDelay = _a === void 0 ? 500 : _a, _b = props.closeTimeoutDelay, closeTimeoutDelay = _b === void 0 ? 250 : _b, set = props.set;
37
+ var className = props.className, type = props.type, appearance = props.appearance, alignPosition = props.alignPosition, initialIsVisible = props.initialIsVisible, title = props.title, text = props.text, arrowPosition = props.arrowPosition, before = props.before, after = props.after, _a = props.openTimeoutDelay, openTimeoutDelay = _a === void 0 ? 500 : _a, _b = props.closeTimeoutDelay, closeTimeoutDelay = _b === void 0 ? 250 : _b, set = props.set, children = props.children;
38
38
  var tooltipElementRef = React.useRef(null);
39
39
  var tooltipTimeoutHideRef = React.useRef(null);
40
40
  var tooltipTimeoutShowRef = React.useRef(null);
@@ -85,11 +85,11 @@ var Tooltip = React.forwardRef(function Tooltip(props, ref) {
85
85
  return (tslib_es6.__assign(tslib_es6.__assign({}, resultApperance), (_a = tooltipConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearance]));
86
86
  }, {});
87
87
  var propsGenerator = useDevicePropsGenerator.useDevicePropsGenerator(props, appearanceConfig);
88
- var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, alignmentClass = propsGenerator.alignmentClass, fillClass = propsGenerator.fillClass, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, textColor = propsGenerator.textColor, textSize = propsGenerator.textSize, titleSize = propsGenerator.titleSize, titleTextColor = propsGenerator.titleTextColor, titleTextWeight = propsGenerator.titleTextWeight, elevationClass = propsGenerator.elevationClass, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
88
+ var alignClass = propsGenerator.alignClass, alignDirectionClass = propsGenerator.alignDirectionClass, alignmentClass = propsGenerator.alignmentClass, fillClass = propsGenerator.fillClass, titleSize = propsGenerator.titleSize, titleTextColor = propsGenerator.titleTextColor, titleTextWeight = propsGenerator.titleTextWeight, borderColorClass = propsGenerator.borderColorClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, textColor = propsGenerator.textColor, textSize = propsGenerator.textSize, elevationClass = propsGenerator.elevationClass, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
89
89
  // @ts-expect-error
90
90
  var tooltipStyles = useStyles.useStyles(props).styles;
91
91
  return (jsxRuntime.jsxs("div", { className: clsx(className, 'tooltip', isTooltipVisible === true && 'tooltip_state_open', isTooltipVisible === false && 'tooltip_state_close', fillClass && "fill_".concat(fillClass), shapeClass && "tooltip_shape_".concat(shapeClass), alignPosition && "tooltip_align-position_".concat(alignPosition), alignDirectionClass && "align_".concat(alignDirectionClass), alignClass && "align_".concat(alignClass), alignmentClass && "alignment_".concat(alignmentClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderColorClass && "border-color_".concat(borderColorClass), borderTypeClass && "border_type_".concat(borderTypeClass), elevationClass && "elevation_".concat(elevationClass), sizeClass && "tooltip_size_".concat(sizeClass), arrowPosition &&
92
- "tooltip_type_arrow tooltip_arrow_position_".concat(arrowPosition), type && "tooltip_type_".concat(type), set && "tooltip_set_".concat(set), widthClass && "width_".concat(widthClass)), ref: tooltipElementRef, style: tooltipStyles, onAnimationEnd: onAnimationEnd, children: [before, jsxRuntime.jsxs("div", { className: "tooltip__inner", children: [title && (jsxRuntime.jsx(Title.Title, { className: "tooltip__title", textColor: titleTextColor, textWeight: titleTextWeight, size: titleSize, children: title })), text && (jsxRuntime.jsx(Text.Text, { className: "tooltip__text", textColor: textColor, size: textSize, children: text })), children] }), after] }));
92
+ "tooltip_type_arrow tooltip_arrow_position_".concat(arrowPosition), type && "tooltip_type_".concat(type), set && "tooltip_set_".concat(set), widthClass && "width_".concat(widthClass)), ref: tooltipElementRef, style: tooltipStyles, onAnimationEnd: onAnimationEnd, children: [before, jsxRuntime.jsxs("div", { className: "tooltip__inner", children: [title && (jsxRuntime.jsx(Title.Title, { className: "tooltip__title", size: titleSize, textColor: titleTextColor, textWeight: titleTextWeight, children: title })), text && (jsxRuntime.jsx(Text.Text, { className: "tooltip__text", size: textSize, textColor: textColor, children: text })), children] }), after] }));
93
93
  });
94
94
 
95
95
  exports.Tooltip = Tooltip;