@itcase/ui 1.8.25 → 1.8.29

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 (457) hide show
  1. package/dist/{Avatar_cjs_D84VawE9.js → Avatar_cjs_33OrnLtt.js} +36 -99
  2. package/dist/{Avatar_es_CUnfNViT.js → Avatar_es_B3LiV8MM.js} +36 -99
  3. package/dist/{Button_cjs_CYUpbdMO.js → Button_cjs_C05Joa8j.js} +3 -3
  4. package/dist/{Button_es_Dp6yFZgn.js → Button_es_CO_dwo-N.js} +3 -3
  5. package/dist/{ChipsGroup_cjs_Ct-NrPmJ.js → ChipsGroup_cjs_Cm_pVx8z.js} +12 -7
  6. package/dist/{ChipsGroup_es_BNuhlSG6.js → ChipsGroup_es_CLpRB95W.js} +12 -7
  7. package/dist/{DatePicker_cjs_DamcZFbX.js → DatePicker_cjs_0y_2FcnF.js} +15 -23
  8. package/dist/{DatePicker_es_Bm_onmmb.js → DatePicker_es_bY1aXemt.js} +15 -23
  9. package/dist/Divider_cjs_BmCJj3TN.js +99 -0
  10. package/dist/Divider_es_kY-30pft.js +95 -0
  11. package/dist/{DropdownItem_cjs_B_7anyaJ.js → DropdownItem_cjs_DPoFy70W.js} +27 -20
  12. package/dist/{DropdownItem_es_B4EZYdJA.js → DropdownItem_es_CVztMEm0.js} +27 -20
  13. package/dist/{Label_cjs_ByGAWJcj.js → Label_cjs_BefEcq6i.js} +15 -15
  14. package/dist/{Label_es_BtwZ3a2V.js → Label_es_Dl_DrMOh.js} +15 -15
  15. package/dist/{Loader_cjs___VikiqS.js → Loader_cjs_CCrbD8Em.js} +1 -1
  16. package/dist/{Loader_es_DHKB6tTw.js → Loader_es_B2auu_rc.js} +1 -1
  17. package/dist/Overlay_cjs_CFOtnzDU.js +42 -0
  18. package/dist/Overlay_es_DczPjVL9.js +38 -0
  19. package/dist/{Text_cjs_DPhKj3wf.js → Text_cjs_C9fOm0nd.js} +0 -7
  20. package/dist/{Text_es_BRb3qqKM.js → Text_es_BfLRfj-5.js} +0 -7
  21. package/dist/{Tooltip_cjs_CaocDcQ5.js → Tooltip_cjs_pBGCcXLZ.js} +169 -310
  22. package/dist/{Tooltip_es_D1w1s33u.js → Tooltip_es_frBCZDrO.js} +169 -310
  23. package/dist/cjs/components/Accordion.js +43 -73
  24. package/dist/cjs/components/Avatar.js +3 -3
  25. package/dist/cjs/components/AvatarStack/stories/__mock__.js +28 -0
  26. package/dist/cjs/components/AvatarStack.js +41 -9
  27. package/dist/cjs/components/Badge.js +2 -2
  28. package/dist/cjs/components/Breadcrumbs.js +2 -2
  29. package/dist/cjs/components/Button.js +4 -4
  30. package/dist/cjs/components/Cell/stories/__mock__.js +14 -0
  31. package/dist/cjs/components/Cell.js +84 -42
  32. package/dist/cjs/components/Checkbox.js +49 -56
  33. package/dist/cjs/components/Checkmark.js +51 -14
  34. package/dist/cjs/components/Chips.js +3 -3
  35. package/dist/cjs/components/Choice.js +10 -10
  36. package/dist/cjs/components/Code.js +17 -26
  37. package/dist/cjs/components/CookiesWarning.js +34 -16
  38. package/dist/cjs/components/DatePeriod.js +46 -50
  39. package/dist/cjs/components/DatePicker.js +6 -6
  40. package/dist/cjs/components/Divider.js +1 -1
  41. package/dist/cjs/components/Drawer.js +35 -6
  42. package/dist/cjs/components/Dropdown/stories/__mock__.js +24 -0
  43. package/dist/cjs/components/Dropdown.js +4 -4
  44. package/dist/cjs/components/HeroTitle.js +9 -5
  45. package/dist/cjs/components/Icon.js +2 -2
  46. package/dist/cjs/components/InputPassword.js +2 -2
  47. package/dist/cjs/components/Label.js +3 -3
  48. package/dist/cjs/components/Loader.js +2 -2
  49. package/dist/cjs/components/MenuItem.js +10 -10
  50. package/dist/cjs/components/Modal.js +4 -4
  51. package/dist/cjs/components/Notification/stories/__mock__.js +30 -0
  52. package/dist/cjs/components/Notification.js +83 -101
  53. package/dist/cjs/components/Overlay.js +1 -1
  54. package/dist/cjs/components/Pagination.js +4 -4
  55. package/dist/cjs/components/Radio.js +123 -31
  56. package/dist/cjs/components/Response.js +21 -7
  57. package/dist/cjs/components/Search.js +60 -98
  58. package/dist/cjs/components/Segmented.js +6 -6
  59. package/dist/cjs/components/Select.js +3 -3
  60. package/dist/cjs/components/Swiper.js +2 -2
  61. package/dist/cjs/components/Switch.js +68 -195
  62. package/dist/cjs/components/Tab.js +11 -11
  63. package/dist/cjs/components/Text.js +1 -1
  64. package/dist/cjs/components/Tile.js +72 -45
  65. package/dist/cjs/components/Title.js +2 -2
  66. package/dist/cjs/components/Tooltip.js +2 -2
  67. package/dist/cjs/components/Video/stories/__mocks__.js +10 -0
  68. package/dist/cjs/components/Video.js +2 -9
  69. package/dist/cjs/context/Notifications.js +2 -1
  70. package/dist/components/Accordion.js +44 -73
  71. package/dist/components/Avatar.js +3 -3
  72. package/dist/components/AvatarStack/stories/__mock__.js +26 -0
  73. package/dist/components/AvatarStack.js +41 -9
  74. package/dist/components/Badge.js +2 -2
  75. package/dist/components/Breadcrumbs.js +2 -2
  76. package/dist/components/Button.js +4 -4
  77. package/dist/components/Cell/stories/__mock__.js +12 -0
  78. package/dist/components/Cell.js +84 -42
  79. package/dist/components/Checkbox.js +49 -56
  80. package/dist/components/Checkmark.js +51 -14
  81. package/dist/components/Chips.js +3 -3
  82. package/dist/components/Choice.js +10 -10
  83. package/dist/components/Code.js +17 -26
  84. package/dist/components/CookiesWarning.js +34 -17
  85. package/dist/components/DatePeriod.js +46 -49
  86. package/dist/components/DatePicker.js +6 -6
  87. package/dist/components/Divider.js +1 -1
  88. package/dist/components/Drawer.js +35 -6
  89. package/dist/components/Dropdown/stories/__mock__.js +22 -0
  90. package/dist/components/Dropdown.js +4 -4
  91. package/dist/components/HeroTitle.js +10 -6
  92. package/dist/components/Icon.js +2 -2
  93. package/dist/components/InputPassword.js +2 -2
  94. package/dist/components/Label.js +3 -3
  95. package/dist/components/Loader.js +2 -2
  96. package/dist/components/MenuItem.js +10 -10
  97. package/dist/components/Modal.js +4 -4
  98. package/dist/components/Notification/stories/__mock__.js +28 -0
  99. package/dist/components/Notification.js +80 -98
  100. package/dist/components/Overlay.js +1 -1
  101. package/dist/components/Pagination.js +4 -4
  102. package/dist/components/Radio.js +124 -31
  103. package/dist/components/Response.js +21 -7
  104. package/dist/components/Search.js +60 -98
  105. package/dist/components/Segmented.js +6 -6
  106. package/dist/components/Select.js +3 -3
  107. package/dist/components/Swiper.js +2 -2
  108. package/dist/components/Switch.js +68 -195
  109. package/dist/components/Tab.js +11 -11
  110. package/dist/components/Text.js +1 -1
  111. package/dist/components/Tile.js +72 -45
  112. package/dist/components/Title.js +2 -2
  113. package/dist/components/Tooltip.js +2 -2
  114. package/dist/components/Video/stories/__mocks__.js +8 -0
  115. package/dist/components/Video.js +2 -9
  116. package/dist/context/Notifications.js +2 -1
  117. package/dist/css/components/Accordion/Accordion.css +39 -14
  118. package/dist/css/components/Avatar/Avatar.css +44 -16
  119. package/dist/css/components/AvatarStack/AvatarStack.css +38 -3
  120. package/dist/css/components/Button/Button.css +1 -0
  121. package/dist/css/components/Cell/Cell.css +31 -41
  122. package/dist/css/components/Checkbox/Checkbox.css +63 -38
  123. package/dist/css/components/Code/Code.css +36 -6
  124. package/dist/css/components/CookiesWarning/CookiesWarning.css +3 -0
  125. package/dist/css/components/Divider/Divider.css +24 -0
  126. package/dist/css/components/Drawer/Drawer.css +11 -0
  127. package/dist/css/components/Dropdown/Dropdown.css +9 -24
  128. package/dist/css/components/Flex/Flex.css +4 -2
  129. package/dist/css/components/Flex/css/__item/flex__item_shape.css +1 -1
  130. package/dist/css/components/Grid/Grid.css +7 -83
  131. package/dist/css/components/Grid/css/__item/grid__item_column.css +1 -12
  132. package/dist/css/components/Group/Group.css +54 -11
  133. package/dist/css/components/HeroTitle/HeroTitle.css +22 -18
  134. package/dist/css/components/Link/Link.css +0 -1
  135. package/dist/css/components/Notification/Notification.css +69 -78
  136. package/dist/css/components/Notification/css/__item/notification__item.css +22 -0
  137. package/dist/css/components/Notification/css/__item/notification__item_position_float.css +13 -0
  138. package/dist/css/components/Notification/css/__item/notification__item_position_toast.css +17 -0
  139. package/dist/css/components/Notification/css/__item/notification__item_skeleton.css +25 -0
  140. package/dist/css/components/Notification/css/__item/notification__item_status.css +8 -8
  141. package/dist/css/components/Overlay/Overlay.css +0 -5
  142. package/dist/css/components/Radio/Radio.css +6 -63
  143. package/dist/css/components/Response/Response.css +24 -0
  144. package/dist/css/components/Search/Search.css +36 -15
  145. package/dist/css/components/Search/css/search-input/search-input_skeleton.css +25 -0
  146. package/dist/css/components/Switch/Switch.css +10 -17
  147. package/dist/css/components/Tab/Tab.css +45 -12
  148. package/dist/css/components/Text/Text.css +3 -3
  149. package/dist/css/components/Tile/Tile.css +64 -22
  150. package/dist/css/components/Title/Title.css +36 -26
  151. package/dist/css/components/Tooltip/Tooltip.css +95 -42
  152. package/dist/css/components/Video/Video.css +1 -1
  153. package/dist/css/styles/blur/blur.css +9 -0
  154. package/dist/css/styles/border-color/border-color.css +3 -0
  155. package/dist/css/styles/elevation/elevation.css +1 -1
  156. package/dist/css/styles/elevation/elevation_hover.css +1 -1
  157. package/dist/css/styles/opacity/opacity.css +2 -1
  158. package/dist/stories/AccordionOverview.mdx +12 -0
  159. package/dist/stories/AccordionPlayground.mdx +10 -0
  160. package/dist/stories/AvatarOverview.mdx +19 -0
  161. package/dist/stories/AvatarPlayground.mdx +10 -0
  162. package/dist/stories/AvatarStackOverview.mdx +13 -0
  163. package/dist/stories/AvatarStackPlayground.mdx +8 -0
  164. package/dist/stories/BadgeOverview.mdx +13 -0
  165. package/dist/stories/BadgePlayground.mdx +8 -0
  166. package/dist/stories/BreadcrumbsOverview.mdx +14 -0
  167. package/dist/stories/{Plsyground.mdx → BreadcrumbsPlsyground.mdx} +1 -1
  168. package/dist/stories/ButtonOverview.mdx +12 -0
  169. package/dist/stories/ButtonPlayground.mdx +10 -0
  170. package/dist/stories/CellOverview.mdx +21 -0
  171. package/dist/stories/CellPlayground.mdx +10 -0
  172. package/dist/stories/CheckboxOverview.mdx +12 -0
  173. package/dist/stories/CheckboxPlayground.mdx +10 -0
  174. package/dist/stories/CheckmarkOverview.mdx +12 -0
  175. package/dist/stories/CheckmarkPlayground.mdx +10 -0
  176. package/dist/stories/ChipsOverview.mdx +37 -0
  177. package/dist/stories/ChipsPlayground.mdx +10 -0
  178. package/dist/stories/ChoiceOverview.mdx +11 -0
  179. package/dist/stories/ChoicePlayground.mdx +10 -0
  180. package/dist/stories/CodeOverview.mdx +11 -0
  181. package/dist/stories/CodePlayground.mdx +10 -0
  182. package/dist/stories/CookiesWarningOverview.mdx +13 -0
  183. package/dist/stories/CookiesWarningPlayground.mdx +11 -0
  184. package/dist/stories/DadataHintFieldOverview.mdx +11 -0
  185. package/dist/stories/DatePeriodOverview.mdx +9 -0
  186. package/dist/stories/DatePeriodPlayground.mdx +10 -0
  187. package/dist/stories/DatePickerOverview.mdx +12 -0
  188. package/dist/stories/DatePickerPlayground.mdx +10 -0
  189. package/dist/stories/DividerOverview.mdx +11 -0
  190. package/dist/stories/DividerPlayground.mdx +10 -0
  191. package/dist/stories/DotOverview.mdx +11 -0
  192. package/dist/stories/DotPlayground.mdx +10 -0
  193. package/dist/stories/DrawerOverview.mdx +14 -0
  194. package/dist/stories/DrawerPlayground.mdx +10 -0
  195. package/dist/stories/DropdownOverview.mdx +11 -0
  196. package/dist/stories/DropdownPlayground.mdx +10 -0
  197. package/dist/stories/FlexAlignItems.mdx +73 -0
  198. package/dist/stories/FlexAlignSelf.mdx +84 -0
  199. package/dist/stories/FlexDirection.mdx +106 -0
  200. package/dist/stories/FlexJustifyContent.mdx +87 -0
  201. package/dist/stories/FlexOverview.mdx +48 -0
  202. package/dist/stories/FlexPlayground.mdx +10 -0
  203. package/dist/stories/FlexWrap.mdx +60 -0
  204. package/dist/stories/GridOverview.mdx +12 -0
  205. package/dist/stories/GridPlayground.mdx +10 -0
  206. package/dist/stories/GroupOverview.mdx +22 -0
  207. package/dist/stories/GroupPlayground.mdx +10 -0
  208. package/dist/stories/HTMLContentOverview.mdx +11 -0
  209. package/dist/stories/HTMLContentPlayground.mdx +10 -0
  210. package/dist/stories/HeroTitleOverview.mdx +36 -0
  211. package/dist/stories/HeroTitlePlayground.mdx +10 -0
  212. package/dist/stories/IconOverview.mdx +16 -0
  213. package/dist/stories/IconPlayground.mdx +10 -0
  214. package/dist/stories/ImageOverview.mdx +11 -0
  215. package/dist/stories/ImagePlayground.mdx +10 -0
  216. package/dist/stories/InputOverview.mdx +11 -0
  217. package/dist/stories/InputPasswordOverview.mdx +11 -0
  218. package/dist/stories/InputPasswordPlayground.mdx +10 -0
  219. package/dist/stories/InputPlayground.mdx +10 -0
  220. package/dist/stories/LabelOverview.mdx +11 -0
  221. package/dist/stories/LabelPlayground.mdx +10 -0
  222. package/dist/stories/LinkOverview.mdx +20 -0
  223. package/dist/stories/LinkPlayground.mdx +10 -0
  224. package/dist/stories/ListOverview.mdx +14 -0
  225. package/dist/stories/ListPlayground.mdx +10 -0
  226. package/dist/stories/LoaderOverview.mdx +11 -0
  227. package/dist/stories/LoaderPlayground.mdx +10 -0
  228. package/dist/stories/LogoOverview.mdx +24 -0
  229. package/dist/stories/LogoPlayground.mdx +10 -0
  230. package/dist/stories/MenuItemOverview.mdx +11 -0
  231. package/dist/stories/MenuItemPlayground.mdx +10 -0
  232. package/dist/stories/ModalOverview.mdx +15 -0
  233. package/dist/stories/ModalPlayground.mdx +10 -0
  234. package/dist/stories/ModalSheetBottomOverview.mdx +9 -0
  235. package/dist/stories/NotificationOverview.mdx +13 -0
  236. package/dist/stories/NotificationPlayground.mdx +10 -0
  237. package/dist/stories/OverlayOverview.mdx +12 -0
  238. package/dist/stories/OverlayPlayground.mdx +10 -0
  239. package/dist/stories/Overview.mdx +5 -15
  240. package/dist/stories/Playground.mdx +4 -4
  241. package/dist/stories/RadioOverview.mdx +12 -0
  242. package/dist/stories/RadioPlayground.mdx +10 -0
  243. package/dist/stories/ResponseOverview.mdx +11 -0
  244. package/dist/stories/ResponsePlayground.mdx +10 -0
  245. package/dist/stories/SVGContentOverview.mdx +15 -0
  246. package/dist/stories/SVGContentPlayground.mdx +10 -0
  247. package/dist/stories/SearchOverview.mdx +11 -0
  248. package/dist/stories/SearchPlayground.mdx +11 -0
  249. package/dist/stories/SegmentedOverview.mdx +12 -0
  250. package/dist/stories/SegmentedPlayground.mdx +10 -0
  251. package/dist/stories/SwiperOverview.mdx +28 -0
  252. package/dist/stories/SwiperPlayground.mdx +10 -0
  253. package/dist/stories/SwitchOverview.mdx +15 -0
  254. package/dist/stories/SwitchPlayground.mdx +10 -0
  255. package/dist/stories/TabOverview.mdx +25 -0
  256. package/dist/stories/TabPlayground.mdx +10 -0
  257. package/dist/stories/TextOverview.mdx +40 -0
  258. package/dist/stories/TextPlayground.mdx +10 -0
  259. package/dist/stories/TileOverview.mdx +11 -0
  260. package/dist/stories/TilePlayground.mdx +10 -0
  261. package/dist/stories/TitleOverview.mdx +12 -0
  262. package/dist/stories/TitlePlayground.mdx +10 -0
  263. package/dist/stories/TooltipOverview.mdx +11 -0
  264. package/dist/stories/TooltipPlayground.mdx +10 -0
  265. package/dist/stories/VideoOverview.mdx +21 -0
  266. package/dist/stories/VideoPlayground.mdx +10 -0
  267. package/dist/types/components/Accordion/Accordion.d.ts +2 -3
  268. package/dist/types/components/Accordion/appearance/accordionSize.d.ts +20 -35
  269. package/dist/types/components/Accordion/appearance/accordionStyle.d.ts +4 -6
  270. package/dist/types/components/Accordion/appearance/accordionSurface.d.ts +6 -5
  271. package/dist/types/components/Accordion/index.d.ts +2 -2
  272. package/dist/types/components/Avatar/Avatar.interface.d.ts +1 -0
  273. package/dist/types/components/Avatar/appearance/{avatarSurface.d.ts → avatarDefault.d.ts} +6 -5
  274. package/dist/types/components/Avatar/appearance/avatarSize.d.ts +9 -0
  275. package/dist/types/components/Avatar/appearance/avatarStyle.d.ts +5 -5
  276. package/dist/types/components/AvatarStack/AvatarStack.appearance.d.ts +2 -0
  277. package/dist/types/components/AvatarStack/AvatarStack.interface.d.ts +22 -2
  278. package/dist/types/components/AvatarStack/appearance/avatarStackSize.d.ts +21 -0
  279. package/dist/types/components/AvatarStack/stories/__mock__/index.d.ts +12 -0
  280. package/dist/types/components/Cell/appearance/cellSize.d.ts +36 -0
  281. package/dist/types/components/Cell/appearance/cellStyle.d.ts +4 -6
  282. package/dist/types/components/Cell/appearance/cellSurface.d.ts +19 -5
  283. package/dist/types/components/Cell/stories/__mock__/index.d.ts +9 -0
  284. package/dist/types/components/Checkbox/appearance/checkboxDefault.d.ts +9 -19
  285. package/dist/types/components/Checkbox/appearance/checkboxError.d.ts +11 -6
  286. package/dist/types/components/Checkbox/appearance/checkboxSize.d.ts +5 -18
  287. package/dist/types/components/Checkmark/appearance/checkmarkAccent.d.ts +2 -1
  288. package/dist/types/components/Checkmark/appearance/checkmarkDisabled.d.ts +2 -0
  289. package/dist/types/components/Checkmark/appearance/checkmarkSize.d.ts +24 -0
  290. package/dist/types/components/Checkmark/appearance/checkmarkStyle.d.ts +7 -9
  291. package/dist/types/components/Checkmark/appearance/checkmarkSurface.d.ts +2 -1
  292. package/dist/types/components/Chips/appearance/chipsAccent.d.ts +6 -0
  293. package/dist/types/components/Chips/appearance/chipsSize.d.ts +2 -2
  294. package/dist/types/components/Choice/appearance/choiceStyle.d.ts +6 -6
  295. package/dist/types/components/Code/Code.interface.d.ts +1 -0
  296. package/dist/types/components/Code/appearance/codeDefault.d.ts +0 -5
  297. package/dist/types/components/Code/appearance/codeDisabled.d.ts +0 -4
  298. package/dist/types/components/Code/appearance/codeError.d.ts +7 -7
  299. package/dist/types/components/Code/appearance/codeStyle.d.ts +5 -5
  300. package/dist/types/components/CookiesWarning/CookiesWarning.appearance.d.ts +7 -1
  301. package/dist/types/components/CookiesWarning/CookiesWarning.d.ts +2 -1
  302. package/dist/types/components/CookiesWarning/appearance/cookiesWarningDefault.d.ts +12 -0
  303. package/dist/types/components/CookiesWarning/index.d.ts +2 -2
  304. package/dist/types/components/DatePeriod/DatePeriod.interface.d.ts +2 -7
  305. package/dist/types/components/DatePeriod/appearance/datePeriodSize.d.ts +15 -0
  306. package/dist/types/components/DatePeriod/appearance/datePeriodSurface.d.ts +21 -0
  307. package/dist/types/components/DatePeriod/index.d.ts +0 -1
  308. package/dist/types/components/DatePicker/DatePicker.appearance.d.ts +7 -13
  309. package/dist/types/components/DatePicker/appearance/datePickerSize.d.ts +4 -4
  310. package/dist/types/components/DatePicker/appearance/datePickerStyle.d.ts +3 -9
  311. package/dist/types/components/Divider/Divider.interface.d.ts +2 -0
  312. package/dist/types/components/Divider/appearance/dividerAccent.d.ts +0 -15
  313. package/dist/types/components/Divider/appearance/dividerError.d.ts +1 -6
  314. package/dist/types/components/Divider/appearance/dividerPrimary.d.ts +1 -3
  315. package/dist/types/components/Divider/appearance/dividerSecondary.d.ts +1 -3
  316. package/dist/types/components/Divider/appearance/dividerSuccess.d.ts +1 -6
  317. package/dist/types/components/Divider/appearance/dividerSurface.d.ts +3 -13
  318. package/dist/types/components/Divider/appearance/dividerWarning.d.ts +1 -6
  319. package/dist/types/components/Drawer/appearance/drawerSurface.d.ts +7 -1
  320. package/dist/types/components/Dropdown/appearance/dropdownAccent.d.ts +6 -1
  321. package/dist/types/components/Dropdown/appearance/dropdownSize.d.ts +3 -0
  322. package/dist/types/components/Dropdown/appearance/dropdownStyle.d.ts +4 -6
  323. package/dist/types/components/Dropdown/appearance/dropdownSurface.d.ts +6 -5
  324. package/dist/types/components/Dropdown/stories/__mock__/index.d.ts +44 -0
  325. package/dist/types/components/Icon/appearance/iconAccent.d.ts +3 -12
  326. package/dist/types/components/Icon/appearance/iconDanger.d.ts +0 -2
  327. package/dist/types/components/Icon/appearance/iconError.d.ts +0 -2
  328. package/dist/types/components/Icon/appearance/iconInfo.d.ts +0 -4
  329. package/dist/types/components/Icon/appearance/iconSize.d.ts +56 -28
  330. package/dist/types/components/Icon/appearance/iconStyle.d.ts +5 -6
  331. package/dist/types/components/Icon/appearance/iconSuccess.d.ts +6 -2
  332. package/dist/types/components/Icon/appearance/iconSurface.d.ts +8 -3
  333. package/dist/types/components/Icon/appearance/iconWarning.d.ts +0 -2
  334. package/dist/types/components/Label/appearance/labelSurface.d.ts +9 -9
  335. package/dist/types/components/MenuItem/appearance/menuItemStyle.d.ts +5 -5
  336. package/dist/types/components/Notification/Notification.appearance.d.ts +2 -0
  337. package/dist/types/components/Notification/Notification.d.ts +4 -0
  338. package/dist/types/components/Notification/Notification.interface.d.ts +9 -8
  339. package/dist/types/components/Notification/NotificationWrapper.d.ts +3 -0
  340. package/dist/types/components/Notification/appearance/notificationDefault.d.ts +17 -0
  341. package/dist/types/components/Notification/appearance/notificationError.d.ts +17 -0
  342. package/dist/types/components/Notification/appearance/notificationSize.d.ts +2 -0
  343. package/dist/types/components/{Divider/appearance/dividerStyle.d.ts → Notification/appearance/notificationStyle.d.ts} +3 -5
  344. package/dist/types/components/Notification/appearance/notificationSuccess.d.ts +17 -0
  345. package/dist/types/components/Notification/appearance/notificationWarning.d.ts +17 -0
  346. package/dist/types/components/Notification/index.d.ts +4 -4
  347. package/dist/types/components/Notification/stories/__mock__/index.d.ts +7 -0
  348. package/dist/types/components/Overlay/appearance/overlayDefault.d.ts +11 -0
  349. package/dist/types/components/Pagination/appearance/paginationSize.d.ts +9 -28
  350. package/dist/types/components/Radio/Radio.appearance.d.ts +93 -3
  351. package/dist/types/components/Radio/appearance/radioDefault.d.ts +11 -5
  352. package/dist/types/components/Radio/appearance/radioDisabled.d.ts +12 -0
  353. package/dist/types/components/Radio/appearance/radioRequire.d.ts +2 -2
  354. package/dist/types/components/Radio/appearance/radioSize.d.ts +3 -12
  355. package/dist/types/components/Radio/index.d.ts +1 -1
  356. package/dist/types/components/Response/Response.interface.d.ts +1 -0
  357. package/dist/types/components/Response/appearance/responceFail.d.ts +2 -0
  358. package/dist/types/components/Response/appearance/responceNothingFound.d.ts +2 -0
  359. package/dist/types/components/Response/appearance/responceRefresh.d.ts +2 -0
  360. package/dist/types/components/Response/appearance/responseError.d.ts +2 -0
  361. package/dist/types/components/Response/appearance/responseSuccess.d.ts +2 -0
  362. package/dist/types/components/Response/appearance/responseUnableLoadData.d.ts +2 -0
  363. package/dist/types/components/Response/appearance/responseWarning.d.ts +2 -0
  364. package/dist/types/components/Search/Search.interface.d.ts +2 -0
  365. package/dist/types/components/Search/appearance/searchDefault.d.ts +2 -13
  366. package/dist/types/components/Search/appearance/searchDisabled.d.ts +2 -9
  367. package/dist/types/components/Search/appearance/searchError.d.ts +2 -9
  368. package/dist/types/components/Search/appearance/searchRequire.d.ts +2 -9
  369. package/dist/types/components/Search/appearance/searchSize.d.ts +24 -6
  370. package/dist/types/components/Search/appearance/searchStyle.d.ts +3 -1
  371. package/dist/types/components/Search/appearance/searchSuccess.d.ts +1 -8
  372. package/dist/types/components/Segmented/appearance/segmentedStyle.d.ts +5 -5
  373. package/dist/types/components/Switch/appearance/switchDefault.d.ts +11 -0
  374. package/dist/types/components/Switch/appearance/switchDisabled.d.ts +5 -14
  375. package/dist/types/components/Switch/appearance/switchError.d.ts +6 -6
  376. package/dist/types/components/Switch/appearance/switchRequire.d.ts +5 -14
  377. package/dist/types/components/Switch/appearance/switchSize.d.ts +6 -47
  378. package/dist/types/components/Switch/appearance/switchSuccess.d.ts +6 -6
  379. package/dist/types/components/Tab/Tab.interface.d.ts +1 -0
  380. package/dist/types/components/Tab/appearance/tabStyle.d.ts +4 -4
  381. package/dist/types/components/Text/appearance/textSize.d.ts +0 -7
  382. package/dist/types/components/Tile/Tile.interface.d.ts +1 -0
  383. package/dist/types/components/Tile/appearance/tileSize.d.ts +30 -30
  384. package/dist/types/components/{Overlay/appearance/overlayStyle.d.ts → Tile/appearance/tileStyle.d.ts} +2 -2
  385. package/dist/types/components/Tile/appearance/tileSurface.d.ts +19 -8
  386. package/dist/types/components/Tooltip/appearance/tooltipDefault.d.ts +10 -0
  387. package/dist/types/components/Tooltip/appearance/tooltipDisabled.d.ts +2 -13
  388. package/dist/types/components/Tooltip/appearance/tooltipError.d.ts +4 -5
  389. package/dist/types/components/Tooltip/appearance/tooltipRequire.d.ts +2 -12
  390. package/dist/types/components/Tooltip/appearance/tooltipSize.d.ts +6 -47
  391. package/dist/types/components/Tooltip/appearance/tooltipStyle.d.ts +4 -6
  392. package/dist/types/components/Tooltip/appearance/tooltipSuccess.d.ts +4 -5
  393. package/dist/types/components/Video/stories/{mocks/videoSources.d.ts → __mocks__/index.d.ts} +2 -1
  394. package/dist/types/context/Notifications.d.ts +1 -1
  395. package/package.json +10 -10
  396. package/dist/Divider_cjs_DhqcldLH.js +0 -159
  397. package/dist/Divider_es_BEYLRagS.js +0 -155
  398. package/dist/Overlay_cjs_BdAm_zrO.js +0 -229
  399. package/dist/Overlay_es_cI_-_xUO.js +0 -225
  400. package/dist/css/components/Notification/css/__item/notification__item_set_float.css +0 -15
  401. package/dist/css/components/Notification/css/__item/notification__item_set_form.css +0 -19
  402. package/dist/css/components/Notification/css/__item/notification__item_set_toast.css +0 -19
  403. package/dist/css/components/Notification/css/__item/notification__item_set_top.css +0 -15
  404. package/dist/css/components/Notification/css/__item/notification__item_type_close-button.css +0 -17
  405. package/dist/stories/index.stories.js +0 -46
  406. package/dist/types/components/Avatar/appearance/avatarAccent.d.ts +0 -15
  407. package/dist/types/components/Avatar/appearance/avatarDanger.d.ts +0 -6
  408. package/dist/types/components/Avatar/appearance/avatarError.d.ts +0 -9
  409. package/dist/types/components/Avatar/appearance/avatarInfo.d.ts +0 -13
  410. package/dist/types/components/Avatar/appearance/avatarPrimary.d.ts +0 -7
  411. package/dist/types/components/Avatar/appearance/avatarSecondary.d.ts +0 -7
  412. package/dist/types/components/Avatar/appearance/avatarSuccess.d.ts +0 -7
  413. package/dist/types/components/Avatar/appearance/avatarWarning.d.ts +0 -9
  414. package/dist/types/components/DatePeriod/datePeriodIntervals.d.ts +0 -3
  415. package/dist/types/components/Notification/NotificationItem.appearance.d.ts +0 -2
  416. package/dist/types/components/Notification/NotificationItem.d.ts +0 -4
  417. package/dist/types/components/Notification/NotificationList.d.ts +0 -3
  418. package/dist/types/components/Notification/appearance/notificationItemError.d.ts +0 -11
  419. package/dist/types/components/Notification/appearance/notificationItemSize.d.ts +0 -59
  420. package/dist/types/components/Notification/appearance/notificationItemStyle.d.ts +0 -16
  421. package/dist/types/components/Notification/appearance/notificationItemSuccess.d.ts +0 -11
  422. package/dist/types/components/Notification/appearance/notificationItemWarning.d.ts +0 -11
  423. package/dist/types/components/Overlay/appearance/overlayAccent.d.ts +0 -21
  424. package/dist/types/components/Overlay/appearance/overlayDanger.d.ts +0 -7
  425. package/dist/types/components/Overlay/appearance/overlayError.d.ts +0 -11
  426. package/dist/types/components/Overlay/appearance/overlayInfo.d.ts +0 -21
  427. package/dist/types/components/Overlay/appearance/overlayPrimary.d.ts +0 -8
  428. package/dist/types/components/Overlay/appearance/overlaySecondary.d.ts +0 -8
  429. package/dist/types/components/Overlay/appearance/overlaySize.d.ts +0 -59
  430. package/dist/types/components/Overlay/appearance/overlaySuccess.d.ts +0 -11
  431. package/dist/types/components/Overlay/appearance/overlaySurface.d.ts +0 -25
  432. package/dist/types/components/Overlay/appearance/overlayWarning.d.ts +0 -11
  433. package/dist/types/components/Search/appearance/searchSurface.d.ts +0 -18
  434. package/dist/types/components/Switch/appearance/switchAccent.d.ts +0 -20
  435. package/dist/types/components/Switch/appearance/switchDanger.d.ts +0 -7
  436. package/dist/types/components/Switch/appearance/switchInfo.d.ts +0 -21
  437. package/dist/types/components/Switch/appearance/switchPrimary.d.ts +0 -8
  438. package/dist/types/components/Switch/appearance/switchSecondary.d.ts +0 -8
  439. package/dist/types/components/Switch/appearance/switchSurface.d.ts +0 -25
  440. package/dist/types/components/Switch/appearance/switchWarning.d.ts +0 -11
  441. package/dist/types/components/Tooltip/appearance/tooltipAccent.d.ts +0 -20
  442. package/dist/types/components/Tooltip/appearance/tooltipDanger.d.ts +0 -7
  443. package/dist/types/components/Tooltip/appearance/tooltipInfo.d.ts +0 -21
  444. package/dist/types/components/Tooltip/appearance/tooltipPrimary.d.ts +0 -8
  445. package/dist/types/components/Tooltip/appearance/tooltipSecondary.d.ts +0 -8
  446. package/dist/types/components/Tooltip/appearance/tooltipSurface.d.ts +0 -25
  447. package/dist/types/components/Tooltip/appearance/tooltipWarning.d.ts +0 -11
  448. /package/dist/stories/{Playgroynd.mdx → DadataHintFieldPlaygroynd.mdx} +0 -0
  449. /package/dist/stories/{AlignContent.mdx → FlexAlignContent.mdx} +0 -0
  450. /package/dist/stories/{Grow.mdx → FlexGrow.mdx} +0 -0
  451. /package/dist/stories/{Order.mdx → FlexOrder.mdx} +0 -0
  452. /package/dist/stories/{AlignItems.mdx → GroupAlignItems.mdx} +0 -0
  453. /package/dist/stories/{AlignSelf.mdx → GroupAlignSelf.mdx} +0 -0
  454. /package/dist/stories/{Columns.mdx → GroupColumns.mdx} +0 -0
  455. /package/dist/stories/{Direction.mdx → GroupDirection.mdx} +0 -0
  456. /package/dist/stories/{JustifyContent.mdx → GroupJustifyContent.mdx} +0 -0
  457. /package/dist/stories/{Wrap.mdx → GroupWrap.mdx} +0 -0
@@ -3,9 +3,9 @@ import { jsxs, jsx } from 'react/jsx-runtime';
3
3
  import clsx from 'clsx';
4
4
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
5
5
  import { useStyles } from '../hooks/useStyles/useStyles.js';
6
- import { I as Icon } from '../Tooltip_es_D1w1s33u.js';
7
- import { L as Label } from '../Label_es_BtwZ3a2V.js';
8
- import { T as Text } from '../Text_es_BRb3qqKM.js';
6
+ import { I as Icon } from '../Tooltip_es_frBCZDrO.js';
7
+ import { L as Label } from '../Label_es_Dl_DrMOh.js';
8
+ import { T as Text } from '../Text_es_BfLRfj-5.js';
9
9
  import 'react';
10
10
  import 'lodash/camelCase';
11
11
  import 'lodash/castArray';
@@ -25,39 +25,75 @@ import '../Link_es_DxtZLeKY.js';
25
25
  var cellAppearanceSize = {
26
26
  sizeXL: {
27
27
  size: 'xl',
28
- titleTextSize: 'l',
28
+ titleLabelAppearanceSize: 'sizeS',
29
+ titleTextSize: 'xl',
30
+ valueLabelAppearanceSize: 'sizeS',
29
31
  valueTextSize: 's',
30
32
  },
31
33
  sizeL: {
32
34
  size: 'l',
35
+ titleLabelAppearanceSize: 'sizeS',
33
36
  titleTextSize: 'l',
37
+ valueLabelAppearanceSize: 'sizeS',
34
38
  valueTextSize: 's',
35
39
  },
36
40
  sizeM: {
37
41
  size: 'm',
42
+ titleLabelAppearanceSize: 'sizeS',
38
43
  titleTextSize: 'm',
44
+ valueLabelAppearanceSize: 'sizeS',
39
45
  valueTextSize: 's',
40
46
  },
41
47
  sizeS: {
42
48
  size: 's',
49
+ titleLabelAppearanceSize: 'sizeXS',
43
50
  titleTextSize: 's',
51
+ valueLabelAppearanceSize: 'sizeXS',
44
52
  valueTextSize: 'xs',
45
53
  },
54
+ sizeEqualL: {
55
+ size: 'l',
56
+ titleLabelAppearanceSize: 'sizeS',
57
+ titleTextSize: 'l',
58
+ valueLabelAppearanceSize: 'sizeS',
59
+ valueTextSize: 'l',
60
+ },
61
+ sizeEqualM: {
62
+ size: 'm',
63
+ titleLabelAppearanceSize: 'sizeS',
64
+ titleTextSize: 'm',
65
+ valueLabelAppearanceSize: 'sizeS',
66
+ valueTextSize: 'm',
67
+ },
68
+ sizeEqualS: {
69
+ size: 's',
70
+ titleLabelAppearanceSize: 'sizeXS',
71
+ titleTextSize: 's',
72
+ valueLabelAppearanceSize: 'sizeXS',
73
+ valueTextSize: 's',
74
+ },
75
+ sizeEqualXL: {
76
+ size: 'xl',
77
+ titleLabelAppearanceSize: 'sizeS',
78
+ titleTextSize: 'xl',
79
+ valueLabelAppearanceSize: 'sizeS',
80
+ valueTextSize: 'xl',
81
+ },
46
82
  };
47
83
 
48
84
  var cellAppearanceStyle = {
49
- full: {
50
- borderColor: '0',
51
- },
52
- ghost: {
53
- fill: 'none',
54
- borderColor: '0',
85
+ solid: {
86
+ borderColor: 'none',
55
87
  },
56
88
  outlined: {
57
89
  fill: 'none',
58
90
  },
59
- solid: {
60
- borderColor: '0',
91
+ full: {
92
+ //
93
+ },
94
+ ghost: {
95
+ fill: 'none',
96
+ borderColor: 'none',
61
97
  },
62
98
  };
63
99
 
@@ -65,24 +101,38 @@ var cellAppearanceSurface = {
65
101
  surfacePrimary: {
66
102
  fill: 'surfacePrimary',
67
103
  fillHover: 'surfacePrimaryHover',
104
+ titleIconItemFill: 'surfaceItemPrimary',
105
+ titleLabelAppearance: 'accentPrimary',
68
106
  labelTextColor: 'surfaceTextPrimary',
69
- },
70
- surfaceQuaternary: {
71
- fill: 'surfaceQuaternary',
72
- fillHover: 'surfaceQuaternaryHover',
73
- labelTextColor: 'surfaceTextPrimary',
107
+ valueIconItemFill: 'surfaceItemPrimary',
108
+ valueLabelAppearance: 'accentPrimary',
74
109
  },
75
110
  surfaceSecondary: {
76
111
  fill: 'surfaceSecondary',
77
112
  fillHover: 'surfaceSecondaryHover',
113
+ titleIconItemFill: 'surfaceItemPrimary',
114
+ titleLabelAppearance: 'accentPrimary',
78
115
  labelTextColor: 'surfaceTextPrimary',
79
- loaderFill: 'surfaceSecondary',
80
- loaderItemFill: 'surfaceItemPrimary',
116
+ valueIconItemFill: 'surfaceItemPrimary',
117
+ valueLabelAppearance: 'accentPrimary',
81
118
  },
82
119
  surfaceTertiary: {
83
120
  fill: 'surfaceTertiary',
84
121
  fillHover: 'surfaceTertiaryHover',
122
+ titleIconItemFill: 'surfaceItemPrimary',
123
+ titleLabelAppearance: 'accentPrimary',
124
+ labelTextColor: 'surfaceTextPrimary',
125
+ valueIconItemFill: 'surfaceItemPrimary',
126
+ valueLabelAppearance: 'accentPrimary',
127
+ },
128
+ surfaceQuaternary: {
129
+ fill: 'surfaceQuaternary',
130
+ fillHover: 'surfaceQuaternaryHover',
131
+ titleIconItemFill: 'surfaceItemPrimary',
132
+ titleLabelAppearance: 'accentPrimary',
85
133
  labelTextColor: 'surfaceTextPrimary',
134
+ valueIconItemFill: 'surfaceItemPrimary',
135
+ valueLabelAppearance: 'accentPrimary',
86
136
  },
87
137
  };
88
138
 
@@ -95,35 +145,27 @@ var cellConfig = {
95
145
  },
96
146
  };
97
147
  function Cell(props) {
98
- var className = props.className, appearance = props.appearance, title = props.title, titleIcon = props.titleIcon, titleIconFill = props.titleIconFill, titleIconFillHover = props.titleIconFillHover, titleIconFillSize = props.titleIconFillSize, titleIconItemFill = props.titleIconItemFill, titleIconShape = props.titleIconShape, titleIconSrc = props.titleIconSrc, titleLabel = props.titleLabel, titleLabelAppearance = props.titleLabelAppearance, titleLabelShape = props.titleLabelShape, titleLabelSize = props.titleLabelSize,
99
- // titleLabelTextSize,
100
- titleTag = props.titleTag, titleTextColor = props.titleTextColor,
101
- // titleTextSize,
102
- titleTextTruncate = props.titleTextTruncate, titleTextWeight = props.titleTextWeight, titleTextWrap = props.titleTextWrap, _a = props.isDisabled, isDisabled = _a === void 0 ? false : _a, mode = props.mode, reverse = props.reverse, showTitleLabel = props.showTitleLabel, showValueLabel = props.showValueLabel, value = props.value, valueIcon = props.valueIcon, valueIconFill = props.valueIconFill, valueIconFillHover = props.valueIconFillHover, valueIconFillSize = props.valueIconFillSize, valueIconItemFill = props.valueIconItemFill, valueIconShape = props.valueIconShape, valueIconSrc = props.valueIconSrc, valueLabel = props.valueLabel, valueLabelAppearance = props.valueLabelAppearance, valueLabelShape = props.valueLabelShape, valueLabelSize = props.valueLabelSize,
103
- // valueLabelTextSize,
104
- valueTag = props.valueTag, valueTextAlign = props.valueTextAlign, valueTextColor = props.valueTextColor,
105
- // valueTextSize,
106
- valueTextTruncate = props.valueTextTruncate, valueTextWeight = props.valueTextWeight, valueTextWrap = props.valueTextWrap, zeroGap = props.zeroGap, zeroPadding = props.zeroPadding, before = props.before, after = props.after, isActive = props.isActive, isEqual = props.isEqual, set = props.set, onClick = props.onClick, onMouseEnter = props.onMouseEnter;
148
+ var className = props.className, appearance = props.appearance, title = props.title, titleIcon = props.titleIcon, titleLabel = props.titleLabel, titleTag = props.titleTag, showTitleLabel = props.showTitleLabel, showValueLabel = props.showValueLabel, value = props.value, valueIcon = props.valueIcon, valueTag = props.valueTag, before = props.before, after = props.after, isActive = props.isActive, isEqual = props.isEqual, onClick = props.onClick, onMouseEnter = props.onMouseEnter;
107
149
  var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
108
150
  var _a;
109
151
  return (__assign(__assign({}, resultConfig), (_a = cellConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
110
152
  }, {});
111
153
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
112
- /* eslint-disable perfectionist/sort-objects */
113
- // Values for "Desktop*" or "Tablet*" or "Mobile*" device type
114
- var
115
- // Properties for current device media queries
116
- titleLabelTextSize = propsGenerator.titleLabelTextSize, titleTextSize = propsGenerator.titleTextSize, valueLabelTextSize = propsGenerator.valueLabelTextSize, valueTextSize = propsGenerator.valueTextSize,
117
- // Classes for current device media queries
118
- bgFillActiveClass = propsGenerator.bgFillActiveClass, bgFillClass = propsGenerator.bgFillClass, bgFillDisabledClass = propsGenerator.bgFillDisabledClass, bgFillHoverClass = propsGenerator.bgFillHoverClass, bgShapeClass = propsGenerator.bgShapeClass, directionClass = propsGenerator.directionClass, fillActiveClass = propsGenerator.fillActiveClass, fillClass = propsGenerator.fillClass, fillDisabledClass = propsGenerator.fillDisabledClass, fillHoverClass = propsGenerator.fillHoverClass, shapeClass = propsGenerator.shapeClass, widthClass = propsGenerator.widthClass, sizeClass = propsGenerator.sizeClass;
119
- /* eslint-enable perfectionist/sort-objects */
154
+ var directionClass = propsGenerator.directionClass, fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, titleIconFill = propsGenerator.titleIconFill, titleIconFillHover = propsGenerator.titleIconFillHover, titleIconFillSize = propsGenerator.titleIconFillSize, titleIconItemFill = propsGenerator.titleIconItemFill, titleIconShape = propsGenerator.titleIconShape, titleIconSrc = propsGenerator.titleIconSrc, titleLabelAppearance = propsGenerator.titleLabelAppearance, titleLabelAppearanceSize = propsGenerator.titleLabelAppearanceSize, titleLabelShape = propsGenerator.titleLabelShape, titleLabelSize = propsGenerator.titleLabelSize, titleLabelTextSize = propsGenerator.titleLabelTextSize, titleTextColor = propsGenerator.titleTextColor, titleTextSize = propsGenerator.titleTextSize, titleTextTruncate = propsGenerator.titleTextTruncate, titleTextWeight = propsGenerator.titleTextWeight, titleTextWrap = propsGenerator.titleTextWrap, borderColorActiveClass = propsGenerator.borderColorActiveClass, borderColorActiveHoverClass = propsGenerator.borderColorActiveHoverClass, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, valueIconFill = propsGenerator.valueIconFill, valueIconFillHover = propsGenerator.valueIconFillHover, valueIconFillSize = propsGenerator.valueIconFillSize, valueIconItemFill = propsGenerator.valueIconItemFill, valueIconShape = propsGenerator.valueIconShape, valueIconSrc = propsGenerator.valueIconSrc, valueLabel = propsGenerator.valueLabel, valueLabelAppearance = propsGenerator.valueLabelAppearance, valueLabelAppearanceSize = propsGenerator.valueLabelAppearanceSize, valueLabelShape = propsGenerator.valueLabelShape, valueLabelSize = propsGenerator.valueLabelSize, valueLabelTextSize = propsGenerator.valueLabelTextSize, valueTextAlign = propsGenerator.valueTextAlign, valueTextColor = propsGenerator.valueTextColor, valueTextSize = propsGenerator.valueTextSize, valueTextTruncate = propsGenerator.valueTextTruncate, valueTextWeight = propsGenerator.valueTextWeight, valueTextWrap = propsGenerator.valueTextWrap, widthClass = propsGenerator.widthClass, zeroGap = propsGenerator.zeroGap, zeroPadding = propsGenerator.zeroPadding;
120
155
  // @ts-expect-error
121
- var _b = useStyles(props), dataStyles = _b.data, cellStyles = _b.styles;
122
- return (jsxs("div", { className: clsx(className, 'cell', mode && "cell_mode_".concat(mode), sizeClass && "cell_size_".concat(sizeClass), set && "cell_set_".concat(set), bgFillClass && "fill_".concat(bgFillClass), bgFillHoverClass && "fill_hover_".concat(bgFillHoverClass), isActive && bgFillActiveClass && "fill_active_".concat(bgFillActiveClass), isDisabled &&
123
- bgFillDisabledClass &&
124
- "fill_disabled_".concat(bgFillDisabledClass), bgShapeClass && "cell_shape_".concat(bgShapeClass), widthClass && !(cellStyles === null || cellStyles === void 0 ? void 0 : cellStyles.width) && "width_".concat(widthClass), zeroPadding && 'cell_reset-padding', zeroGap && 'cell_reset-gap', reverse && 'cell_reverse'), style: cellStyles, onClick: onClick, onMouseEnter: onMouseEnter, children: [before && jsx("div", { className: "cell__before", children: before }), jsxs("div", { className: clsx('cell__wrapper', directionClass && "cell__wrapper_direction_".concat(directionClass), fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), isActive && fillActiveClass && "fill_active_".concat(fillActiveClass), isDisabled &&
125
- fillDisabledClass &&
126
- "fill_disabled_".concat(fillDisabledClass), shapeClass && "cell__wrapper_shape_".concat(shapeClass), isEqual && 'cell__wrapper-equal'), children: [title && (jsxs("div", { className: "cell__data", style: dataStyles, children: [jsx(Text, { className: "cell__title", size: titleTextSize, textColor: titleTextColor, textTruncate: titleTextTruncate, textWeight: titleTextWeight, textWrap: titleTextWrap, tag: titleTag, children: title }), (titleIcon || titleIconSrc) && (jsx(Icon, { className: "cell__icon", fill: titleIconFill, fillSize: titleIconFillSize, iconFill: titleIconItemFill, iconFillHover: titleIconFillHover, imageSrc: titleIconSrc, shape: titleIconShape, SvgImage: titleIcon })), showTitleLabel && (jsx(Label, { appearance: titleLabelAppearance, size: titleLabelSize, label: titleLabel, labelTextSize: titleLabelTextSize, shape: titleLabelShape }))] })), value && (jsxs("div", { className: "cell__data", style: dataStyles, children: [jsx(Text, { className: "cell__value", size: valueTextSize, textAlign: valueTextAlign, textColor: valueTextColor, textTruncate: valueTextTruncate, textWeight: valueTextWeight, textWrap: valueTextWrap, tag: valueTag, children: value }), (valueIcon || valueIconSrc) && (jsx(Icon, { className: "cell__icon", fill: valueIconFill, fillSize: valueIconFillSize, iconFill: valueIconItemFill, iconFillHover: valueIconFillHover, imageSrc: valueIconSrc, shape: valueIconShape, SvgImage: valueIcon })), showValueLabel && (jsx(Label, { appearance: valueLabelAppearance, size: valueLabelSize, label: valueLabel, labelTextSize: valueLabelTextSize, shape: valueLabelShape }))] }))] }), after && jsx("div", { className: "cell__after", children: after })] }));
156
+ var _a = useStyles(props), dataStyles = _a.data, cellStyles = _a.styles;
157
+ return (jsxs("div", { className: clsx(className, 'cell', sizeClass && "cell_size_".concat(sizeClass), !isActive
158
+ ? fillClass && "fill_".concat(fillClass)
159
+ : fillActiveClass && "fill_active_".concat(fillActiveClass), !isActive
160
+ ? fillHoverClass && "fill_hover_".concat(fillHoverClass)
161
+ : fillActiveHoverClass && "fill_active_hover_".concat(fillActiveHoverClass), !isActive
162
+ ? borderColorClass && "border-color_".concat(borderColorClass)
163
+ : borderColorActiveClass &&
164
+ "border-color_active_".concat(borderColorActiveClass), !isActive
165
+ ? borderColorHoverClass &&
166
+ "border-color_hover_".concat(borderColorHoverClass)
167
+ : borderColorActiveHoverClass &&
168
+ "border-color_active_hover_".concat(borderColorActiveHoverClass), shapeClass && "cell_shape_".concat(shapeClass), widthClass && "width_".concat(widthClass), zeroPadding && 'cell_reset-padding', zeroGap && 'cell_reset-gap'), style: cellStyles, onClick: onClick, onMouseEnter: onMouseEnter, children: [before && jsx("div", { className: "cell__before", children: before }), jsxs("div", { className: clsx('cell__wrapper', directionClass && "cell__wrapper_direction_".concat(directionClass), isEqual && 'cell__wrapper-equal'), children: [title && (jsxs("div", { className: "cell__data", style: dataStyles, children: [jsx(Text, { className: "cell__title", size: titleTextSize, textColor: titleTextColor, textTruncate: titleTextTruncate, textWeight: titleTextWeight, textWrap: titleTextWrap, tag: titleTag, children: title }), (titleIcon || titleIconSrc) && (jsx(Icon, { className: "cell__title-icon", fill: titleIconFill, fillSize: titleIconFillSize, iconFill: titleIconItemFill, iconFillHover: titleIconFillHover, imageSrc: titleIconSrc, shape: titleIconShape, SvgImage: titleIcon })), (showTitleLabel || titleLabel) && (jsx(Label, { className: "cell__title-label", appearance: "".concat(titleLabelAppearance, " ").concat(titleLabelAppearanceSize), size: titleLabelSize, label: titleLabel, labelTextSize: titleLabelTextSize, shape: titleLabelShape }))] })), value && (jsxs("div", { className: "cell__data", style: dataStyles, children: [jsx(Text, { className: "cell__value", size: valueTextSize, textAlign: valueTextAlign, textColor: valueTextColor, textTruncate: valueTextTruncate, textWeight: valueTextWeight, textWrap: valueTextWrap, tag: valueTag, children: value }), (valueIcon || valueIconSrc) && (jsx(Icon, { className: "cell__value-icon", fill: valueIconFill, fillSize: valueIconFillSize, iconFill: valueIconItemFill, iconFillHover: valueIconFillHover, imageSrc: valueIconSrc, shape: valueIconShape, SvgImage: valueIcon })), (showValueLabel || valueLabel) && (jsx(Label, { className: "cell__value-label", appearance: "".concat(valueLabelAppearance, " ").concat(valueLabelAppearanceSize), size: valueLabelSize, label: valueLabel, labelTextSize: valueLabelTextSize, shape: valueLabelShape }))] }))] }), after && jsx("div", { className: "cell__after", children: after })] }));
127
169
  }
128
170
 
129
171
  export { Cell, cellAppearance, cellConfig };
@@ -2,7 +2,7 @@ import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
2
2
  import { jsxs, jsx } from 'react/jsx-runtime';
3
3
  import clsx from 'clsx';
4
4
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
5
- import { T as Text } from '../Text_es_BRb3qqKM.js';
5
+ import { T as Text } from '../Text_es_BfLRfj-5.js';
6
6
  import 'react';
7
7
  import 'lodash/camelCase';
8
8
  import 'lodash/castArray';
@@ -20,27 +20,17 @@ import '../hooks/useStyles/styleAttributes.js';
20
20
 
21
21
  var checkboxAppearanceDefault = {
22
22
  defaultPrimary: {
23
+ fillCheckbox: 'surfacePrimary',
24
+ fillCheckboxActive: 'surfacePrimary',
25
+ fillCheckboxActiveHover: 'surfaceTertiary',
26
+ fillCheckboxHover: 'surfaceTertiary',
27
+ fillCheckmark: 'surfaceBorderPrimary',
23
28
  labelTextColor: 'surfaceTextPrimary',
24
- descTextColor: 'surfaceTextTertiary',
25
- errorStateBorderColor: 'errorBorderSecondary',
26
- stateBorderColorDisabled: 'surfaceBorderTertiary',
27
- stateBorderColorDisabledChecked: 'surfaceBorderTertiary',
28
- stateCheckmarkFillDisabled: 'accentItemPrimary',
29
- stateFillDisabled: 'surfaceTertiary',
30
- stateFillDisabledChecked: 'surfaceTertiary',
31
- requiredStateBorderColor: 'warningBorderPrimary',
32
- stateBorderColor: 'surfaceBorderTertiary',
33
- stateBorderColorChecked: 'surfaceBorderAccent',
34
- stateCheckmarkFill: 'accentItemPrimary',
35
- stateFillChecked: 'accentPrimary',
36
- },
37
- defaultSecondary: {
38
- fill: 'surfacePrimary',
39
- borderColor: 'surfaceBorderTertiary',
40
- borderHover: 'surfaceBorderQuaternary',
41
- iconBeforeFill: 'surfaceItemQuaternary',
42
- iconClearFill: 'surfaceItemPrimary',
43
- placeholderTextColor: 'surfaceTextSecondary',
29
+ descTextColor: 'surfaceTextPrimary',
30
+ borderColorCheckbox: 'surfaceBorderPrimary',
31
+ borderColorCheckboxActive: 'surfaceBorderPrimary',
32
+ borderColorCheckboxActiveHover: 'surfaceBorderPrimary',
33
+ borderColorCheckboxHover: 'surfaceBorderPrimary',
44
34
  },
45
35
  };
46
36
 
@@ -67,12 +57,17 @@ var checkboxAppearanceDisabled = {
67
57
  var checkboxAppearanceError = {
68
58
  errorPrimary: {
69
59
  fill: 'errorTertiary',
70
- borderColor: 'errorBorderQuaternary',
71
- borderHover: 'errorBorderQuaternary',
72
- textColor: 'surfaceTextPrimary',
73
- iconBeforeFill: 'errorItemQuaternary',
74
- iconClearFill: 'errorItemPrimary',
75
- placeholderTextColor: 'surfaceTextQuaternary',
60
+ fillCheckbox: 'errorPrimary',
61
+ fillCheckboxActive: 'errorPrimary',
62
+ fillCheckboxActiveHover: 'errorPrimary',
63
+ fillCheckboxHover: 'surfaceTertiary',
64
+ fillCheckmark: 'errorBorderPrimary',
65
+ labelTextColor: 'surfaceTextPrimary',
66
+ descTextColor: 'surfaceTextPrimary',
67
+ borderColorCheckbox: 'errorBorderPrimary',
68
+ borderColorCheckboxActive: 'errorBorderPrimary',
69
+ borderColorCheckboxActiveHover: 'errorBorderPrimary',
70
+ borderColorCheckboxHover: 'errorBorderPrimary',
76
71
  },
77
72
  errorSecondary: {
78
73
  fill: 'errorSecondary',
@@ -105,33 +100,20 @@ var checkboxAppearanceRequire = {
105
100
  };
106
101
 
107
102
  var checkboxAppearanceSize = {
108
- sizeXXL: {
109
- size: 'xxl',
110
- textSize: 'l',
111
- },
112
- sizeXL: {
113
- size: 'xl',
114
- textSize: 's',
115
- },
116
- sizeL: {
117
- size: 'l',
118
- textSize: 's',
119
- },
120
103
  sizeM: {
104
+ size: 'm',
121
105
  labelTextSize: 'm',
122
- descTextSize: 'xxs',
123
- },
124
- sizeS: {
125
- size: 's',
126
- textSize: 's',
106
+ descTextSize: 'xs',
127
107
  },
128
108
  sizeXS: {
129
109
  size: 'xs',
130
- textSize: 's',
110
+ labelTextSize: 's',
111
+ descTextSize: 'xs',
131
112
  },
132
113
  sizeXXS: {
133
114
  size: 'xxs',
134
- textSize: 's',
115
+ labelTextSize: 's',
116
+ descTextSize: 'xs',
135
117
  },
136
118
  };
137
119
 
@@ -180,21 +162,32 @@ var checkboxConfig = {
180
162
  },
181
163
  };
182
164
  function Checkbox(props) {
183
- var id = props.id, className = props.className, appearance = props.appearance, label = props.label, desc = props.desc, disabled = props.disabled, checked = props.checked, _a = props.Tag, Tag = _a === void 0 ? 'label' : _a, value = props.value, before = props.before, after = props.after, isSkeleton = props.isSkeleton, onBlur = props.onBlur, onChange = props.onChange, onFocus = props.onFocus;
165
+ var id = props.id, className = props.className, appearance = props.appearance, label = props.label, desc = props.desc, disabled = props.disabled, checked = props.checked, indeterminate = props.indeterminate, _a = props.Tag, Tag = _a === void 0 ? 'label' : _a, value = props.value, before = props.before, after = props.after, isSkeleton = props.isSkeleton, onBlur = props.onBlur, onChange = props.onChange, onFocus = props.onFocus;
184
166
  var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
185
167
  var _a;
186
168
  return (__assign(__assign({}, resultConfig), (_a = checkboxConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
187
169
  }, {});
188
170
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
189
- var fillClass = propsGenerator.fillClass, labelTextColor = propsGenerator.labelTextColor, labelTextSize = propsGenerator.labelTextSize, labelTextWeight = propsGenerator.labelTextWeight, descTextColor = propsGenerator.descTextColor, descTextSize = propsGenerator.descTextSize, descTextWeight = propsGenerator.descTextWeight, shapeClass = propsGenerator.shapeClass, stateBorderWidthClass = propsGenerator.stateBorderWidthClass, stateShapeClass = propsGenerator.stateShapeClass, widthClass = propsGenerator.widthClass;
190
- var stateFillClass = propsGenerator.getClassName(checked ? 'stateFillChecked' : 'stateFill', {
191
- prefix: 'fill_',
192
- });
193
- var stateFillDisabledClass = propsGenerator.getClassName(checked ? 'stateFillDisabledChecked' : 'stateFillDisabled', { prefix: 'fill_' });
194
- var stateCheckmarkFillClass = propsGenerator.getClassName(disabled ? 'stateCheckmarkFillDisabled' : 'stateCheckmarkFill', { prefix: 'checkbox_checkmark_fill_' });
195
- var stateBorderColorClass = propsGenerator.getClassName(checked ? 'stateBorderColorChecked' : 'stateBorderColor', { prefix: 'border-color_' });
196
- var stateBorderColorDisabledClass = propsGenerator.getClassName(checked ? 'stateBorderColorDisabledChecked' : 'stateBorderColorDisabled', { prefix: 'border-color_' });
197
- return (jsxs(Tag, { className: clsx(className, 'checkbox', fillClass && "fill_".concat(fillClass), shapeClass && "checkbox_shape_".concat(shapeClass), widthClass && "width_".concat(widthClass), isSkeleton && "checkbox_skeleton"), htmlFor: Tag === 'label' && id, children: [before, jsxs("div", { className: clsx('checkbox__item', stateCheckmarkFillClass), children: [jsx("input", { id: id, className: "checkbox__input", type: "checkbox", disabled: disabled, checked: checked, value: value, onBlur: onBlur, onChange: onChange, onFocus: onFocus }), jsx("div", { className: clsx('checkbox__state', disabled ? stateFillDisabledClass : stateFillClass, disabled ? stateBorderColorDisabledClass : stateBorderColorClass, stateShapeClass && "checkbox__state_shape_".concat(stateShapeClass), stateBorderWidthClass && "border-width_".concat(stateBorderWidthClass)), children: "\u00A0" }), jsx("div", { className: "checkbox__state-checkmark", children: "\u00A0" })] }), label && (jsx(Text, { className: "checkbox__label", size: labelTextSize, textColor: labelTextColor, textWeight: labelTextWeight, children: label })), desc && (jsx(Text, { className: "checkbox__desc", size: descTextSize, textColor: descTextColor, textWeight: descTextWeight, children: desc })), after && jsx("div", { className: "checkbox__after", children: after })] }));
171
+ var fillCheckboxActiveClass = propsGenerator.fillCheckboxActiveClass, fillCheckboxActiveHoverClass = propsGenerator.fillCheckboxActiveHoverClass, fillCheckboxClass = propsGenerator.fillCheckboxClass, fillCheckboxHoverClass = propsGenerator.fillCheckboxHoverClass, fillCheckmarkClass = propsGenerator.fillCheckmarkClass, fillClass = propsGenerator.fillClass, labelTextColor = propsGenerator.labelTextColor, labelTextSize = propsGenerator.labelTextSize, labelTextWeight = propsGenerator.labelTextWeight, descTextColor = propsGenerator.descTextColor, descTextSize = propsGenerator.descTextSize, descTextWeight = propsGenerator.descTextWeight, borderColorCheckboxActiveClass = propsGenerator.borderColorCheckboxActiveClass, borderColorCheckboxActiveHoverClass = propsGenerator.borderColorCheckboxActiveHoverClass, borderColorCheckboxClass = propsGenerator.borderColorCheckboxClass, borderColorCheckboxHoverClass = propsGenerator.borderColorCheckboxHoverClass, checkboxShapeClass = propsGenerator.checkboxShapeClass, shapeClass = propsGenerator.shapeClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass;
172
+ return (jsxs(Tag, { className: clsx(className, 'checkbox', fillClass && "fill_".concat(fillClass), sizeClass && "checkbox_size_".concat(sizeClass), shapeClass && "checkbox_shape_".concat(shapeClass), widthClass && "width_".concat(widthClass), isSkeleton && "checkbox_skeleton"), htmlFor: Tag === 'label' && id, children: [before, jsxs("div", { className: "checkbox__item", children: [jsx("input", { id: id, className: "checkbox__input", type: "checkbox", disabled: disabled, checked: checked, value: value, onBlur: onBlur, onChange: onChange, onFocus: onFocus }), jsx("div", { className: clsx('checkbox__state', !checked
173
+ ? fillCheckboxClass && "fill_".concat(fillCheckboxClass)
174
+ : fillCheckboxActiveClass &&
175
+ "fill_active_".concat(fillCheckboxActiveClass), !checked
176
+ ? fillCheckboxHoverClass && "fill_hover_".concat(fillCheckboxHoverClass)
177
+ : fillCheckboxActiveHoverClass &&
178
+ "fill_active_hover_".concat(fillCheckboxActiveHoverClass), !checked
179
+ ? borderColorCheckboxClass &&
180
+ "border-color_".concat(borderColorCheckboxClass)
181
+ : borderColorCheckboxActiveClass &&
182
+ "border-color_active_".concat(borderColorCheckboxActiveClass), !checked
183
+ ? borderColorCheckboxHoverClass &&
184
+ "border-color_hover_".concat(borderColorCheckboxHoverClass)
185
+ : borderColorCheckboxActiveHoverClass &&
186
+ "border-color_active_hover_".concat(borderColorCheckboxActiveHoverClass), checkboxShapeClass && "checkbox__state_shape_".concat(checkboxShapeClass)), children: "\u00A0" }), jsx("div", { className: clsx(!indeterminate
187
+ ? 'checkbox__state-checkmark'
188
+ : 'checkbox__state-indeterminate', (checked || indeterminate) &&
189
+ fillCheckmarkClass &&
190
+ "border-color_".concat(fillCheckmarkClass)), children: "\u00A0" })] }), label && (jsx(Text, { className: "checkbox__label", size: labelTextSize, textColor: labelTextColor, textWeight: labelTextWeight, children: label })), desc && (jsx(Text, { className: "checkbox__desc", size: descTextSize, textColor: descTextColor, textWeight: descTextWeight, children: desc })), after && jsx("div", { className: "checkbox__after", children: after })] }));
198
191
  }
199
192
 
200
193
  export { Checkbox, checkboxAppearance, checkboxConfig };
@@ -18,8 +18,9 @@ import 'lodash/maxBy';
18
18
  import '../hooks/useStyles/styleAttributes.js';
19
19
 
20
20
  var checkmarkAppearanceAccent = {
21
- accent: {
21
+ accentPrimary: {
22
22
  fill: 'accentPrimary',
23
+ fillActive: 'accentPrimary',
23
24
  borderColor: 'accentBorderPrimary',
24
25
  borderWidth: '2',
25
26
  checkmarkFill: 'accentItemPrimary',
@@ -29,31 +30,56 @@ var checkmarkAppearanceAccent = {
29
30
  var checkmarkAppearanceDisabled = {
30
31
  disabled: {
31
32
  fill: 'surfaceDisabled',
33
+ fillActive: 'surfaceDisabled',
34
+ borderActiveColor: 'surfaceBorderDisabled',
32
35
  borderColor: 'surfaceBorderDisabled',
33
36
  borderWidth: '2',
34
37
  checkmarkFill: 'surfaceItemDisabled',
35
38
  },
36
39
  };
37
40
 
38
- var checkmarkAppearanceStyle = {
39
- full: {
40
- borderColor: null,
41
+ var checkmarkAppearanceSize = {
42
+ sizeXXL: {
43
+ size: 'xxl',
41
44
  },
42
- ghost: {
43
- fill: null,
44
- borderColor: null,
45
+ sizeXL: {
46
+ size: 'xl',
45
47
  },
46
- outlined: {
47
- fill: null,
48
+ sizeL: {
49
+ size: 'l',
50
+ },
51
+ sizeM: {
52
+ size: 'm',
53
+ },
54
+ sizeS: {
55
+ size: 's',
56
+ },
57
+ sizeXS: {
58
+ size: 'xs',
59
+ },
60
+ sizeXXS: {
61
+ size: 'xxs',
48
62
  },
63
+ };
64
+
65
+ var checkmarkAppearanceStyle = {
49
66
  solid: {
50
- borderColor: null,
67
+ borderColor: 'none',
68
+ },
69
+ outlined: {
70
+ fill: 'none',
71
+ },
72
+ full: {},
73
+ ghost: {
74
+ fill: 'none',
75
+ borderColor: 'none',
51
76
  },
52
77
  };
53
78
 
54
79
  var checkmarkAppearanceSurface = {
55
- surface: {
80
+ surfacePrimary: {
56
81
  fill: 'surfacePrimary',
82
+ fillActive: 'surfacePrimary',
57
83
  fillHover: 'surfaceHover',
58
84
  borderColor: 'surfaceBorderTertiary',
59
85
  borderColorHover: 'surfaceBorderPrimary',
@@ -62,7 +88,7 @@ var checkmarkAppearanceSurface = {
62
88
  },
63
89
  };
64
90
 
65
- var checkmarkAppearance = __assign(__assign(__assign(__assign({}, checkmarkAppearanceAccent), checkmarkAppearanceDisabled), checkmarkAppearanceStyle), checkmarkAppearanceSurface);
91
+ var checkmarkAppearance = __assign(__assign(__assign(__assign(__assign({}, checkmarkAppearanceAccent), checkmarkAppearanceDisabled), checkmarkAppearanceStyle), checkmarkAppearanceSurface), checkmarkAppearanceSize);
66
92
 
67
93
  var checkmarkConfig = {
68
94
  appearance: checkmarkAppearance,
@@ -77,10 +103,21 @@ function Checkmark(props) {
77
103
  return (__assign(__assign({}, resultConfig), (_a = checkmarkConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
78
104
  }, {});
79
105
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
80
- var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderWidthClass = propsGenerator.borderWidthClass, checkmarkFillClass = propsGenerator.checkmarkFillClass, sizeClass = propsGenerator.sizeClass;
106
+ var fillActiveClass = propsGenerator.fillActiveClass, fillActiveHoverClass = propsGenerator.fillActiveHoverClass, fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, borderColorActiveClass = propsGenerator.borderColorActiveClass, borderColorActiveHoverClass = propsGenerator.borderColorActiveHoverClass, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderWidthClass = propsGenerator.borderWidthClass, checkmarkFillClass = propsGenerator.checkmarkFillClass, sizeClass = propsGenerator.sizeClass;
81
107
  // @ts-expect-error
82
108
  var checkmarkStyles = useStyles(props).styles;
83
- return (jsx("div", { className: clsx(className, 'checkmark', sizeClass && "checkmark_size_".concat(sizeClass), fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_".concat(fillHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderColorClass && "border-color_".concat(borderColorClass), isDisabled), style: checkmarkStyles, onClick: onClick, children: isChecked && (jsx("div", { className: clsx('checkmark__icon', "svg_fill_".concat(checkmarkFillClass)), children: jsx("svg", { width: "32", height: "24", fill: "none", viewBox: "0 0 32 24", xmlns: "http://www.w3.org/2000/svg", children: jsx("path", { fill: "none", d: "M28.0896 0.706312L11.4967 18.1772L3.9104 10.1895C3.01576 9.24775 1.56549 9.24775 0.670845 10.1895C-0.223615 11.1315 -0.223615 12.6585 0.670845 13.6005L9.87695 23.2936C10.3243 23.7644 10.9105 24 11.4967 24C12.083 24 12.6692 23.7644 13.1165 23.2936L31.3292 4.11744C32.2236 3.17547 32.2236 1.64848 31.3292 0.706504C30.4345 -0.235469 28.9841 -0.235469 28.0896 0.706312Z" }) }) })) }));
109
+ return (jsx("div", { className: clsx(className, 'checkmark', sizeClass && "checkmark_size_".concat(sizeClass), !isChecked
110
+ ? fillClass && "fill_".concat(fillClass)
111
+ : fillActiveClass && "fill_active_".concat(fillActiveClass), !isChecked
112
+ ? fillHoverClass && "fill_hover_".concat(fillHoverClass)
113
+ : fillActiveHoverClass && "fill_active_hover_".concat(fillActiveHoverClass), !isChecked
114
+ ? borderColorClass && "border-color_".concat(borderColorClass)
115
+ : borderColorActiveClass &&
116
+ "border-color_active_".concat(borderColorActiveClass), !isChecked
117
+ ? borderColorHoverClass &&
118
+ "border-color_hover_".concat(borderColorHoverClass)
119
+ : borderColorActiveHoverClass &&
120
+ "border-color_active_hover_".concat(borderColorActiveHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), isDisabled), style: checkmarkStyles, onClick: onClick, children: isChecked && (jsx("div", { className: clsx('checkmark__icon', "svg_path_fill_".concat(checkmarkFillClass)), children: jsx("svg", { width: "32", height: "24", fill: "none", viewBox: "0 0 32 24", xmlns: "http://www.w3.org/2000/svg", children: jsx("path", { fill: checkmarkFillClass, d: "M28.0896 0.706312L11.4967 18.1772L3.9104 10.1895C3.01576 9.24775 1.56549 9.24775 0.670845 10.1895C-0.223615 11.1315 -0.223615 12.6585 0.670845 13.6005L9.87695 23.2936C10.3243 23.7644 10.9105 24 11.4967 24C12.083 24 12.6692 23.7644 13.1165 23.2936L31.3292 4.11744C32.2236 3.17547 32.2236 1.64848 31.3292 0.706504C30.4345 -0.235469 28.9841 -0.235469 28.0896 0.706312Z" }) }) })) }));
84
121
  }
85
122
 
86
123
  export { Checkmark, checkmarkAppearance, checkmarkConfig };
@@ -1,4 +1,4 @@
1
- export { C as Chips, b as ChipsGroup, a as chipsAppearance, c as chipsConfig } from '../ChipsGroup_es_BNuhlSG6.js';
1
+ export { C as Chips, b as ChipsGroup, a as chipsAppearance, c as chipsConfig } from '../ChipsGroup_es_CLpRB95W.js';
2
2
  import '../tslib.es6_es_Bwu1Cn-t.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'react';
@@ -17,7 +17,7 @@ import '../utils/setViewportProperty.js';
17
17
  import '../hooks/useStyles/useStyles.js';
18
18
  import 'lodash/maxBy';
19
19
  import '../hooks/useStyles/styleAttributes.js';
20
- import '../Tooltip_es_D1w1s33u.js';
21
- import '../Text_es_BRb3qqKM.js';
20
+ import '../Tooltip_es_frBCZDrO.js';
21
+ import '../Text_es_BfLRfj-5.js';
22
22
  import 'react-inlinesvg';
23
23
  import '../Link_es_DxtZLeKY.js';
@@ -4,9 +4,9 @@ import React, { useRef, useMemo, createRef, useCallback } from 'react';
4
4
  import clsx from 'clsx';
5
5
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
6
6
  import { useStyles } from '../hooks/useStyles/useStyles.js';
7
- import { I as Icon } from '../Tooltip_es_D1w1s33u.js';
8
- import { L as Loader } from '../Loader_es_DHKB6tTw.js';
9
- import { T as Text } from '../Text_es_BRb3qqKM.js';
7
+ import { I as Icon } from '../Tooltip_es_frBCZDrO.js';
8
+ import { L as Loader } from '../Loader_es_B2auu_rc.js';
9
+ import { T as Text } from '../Text_es_BfLRfj-5.js';
10
10
  import 'lodash/camelCase';
11
11
  import 'lodash/castArray';
12
12
  import 'lodash/upperFirst';
@@ -51,18 +51,18 @@ var choiceAppearanceSize = {
51
51
  };
52
52
 
53
53
  var choiceAppearanceStyle = {
54
+ solid: {
55
+ borderColor: 'none',
56
+ },
57
+ outlined: {
58
+ fill: 'none',
59
+ },
54
60
  full: {
55
61
  /* border / fill */
56
62
  },
57
63
  ghost: {
58
64
  fill: 'none',
59
- borderWidth: '0',
60
- },
61
- outlined: {
62
- fill: 'none',
63
- },
64
- solid: {
65
- borderWidth: '0',
65
+ borderColor: 'none',
66
66
  },
67
67
  };
68
68
 
@@ -20,16 +20,11 @@ var codeAppearanceDefault = {
20
20
  fill: 'surfaceSecondary',
21
21
  borderColor: 'surfaceBorderTertiary',
22
22
  borderHover: 'surfaceBorderQuaternary',
23
- iconBeforeFill: 'surfaceItemQuaternary',
24
- iconClearFill: 'surfaceItemPrimary',
25
23
  },
26
24
  defaultSecondary: {
27
25
  fill: 'surfacePrimary',
28
26
  borderColor: 'surfaceBorderTertiary',
29
27
  borderHover: 'surfaceBorderQuaternary',
30
- iconBeforeFill: 'surfaceItemQuaternary',
31
- iconClearFill: 'surfaceItemPrimary',
32
- placeholderTextColor: 'surfaceTextSecondary',
33
28
  },
34
29
  };
35
30
 
@@ -39,28 +34,24 @@ var codeAppearanceDisabled = {
39
34
  borderColor: 'errorBorderQuaternary',
40
35
  borderHover: 'errorBorderQuaternary',
41
36
  textColor: 'surfaceTextQuaternary',
42
- iconBeforeFill: 'errorItemQuaternary',
43
- iconClearFill: 'errorItemPrimary',
44
37
  placeholderTextColor: 'surfaceTextQuaternary',
45
38
  },
46
39
  disabledSecondary: {
47
40
  fill: 'surfaceSecondary',
48
41
  borderColor: 'surfaceBorderTertiary',
49
42
  borderHover: 'surfaceBorderQuaternary',
50
- iconBeforeFill: 'surfaceItemQuaternary',
51
- iconClearFill: 'surfaceItemPrimary',
52
43
  placeholderTextColor: 'surfaceTextSecondary',
53
44
  },
54
45
  };
55
46
 
56
47
  var codeAppearanceError = {
57
- error: {
58
- fill: 'errorPrimary',
59
- fillHover: 'errorPrimaryHover',
60
- labelTextColor: 'errorTextPrimary',
61
- labelTextColorHover: 'errorTextPrimary',
62
- loaderFill: 'errorPrimary',
63
- loaderItemFill: 'errorItemPrimary',
48
+ errorPrimary: {
49
+ inputBorderColor: 'errorBorderQuaternary',
50
+ inputCaretColor: 'secondaryItemSecondary',
51
+ inputFill: 'errorPrimary',
52
+ inputFillHover: 'errorPrimaryHover',
53
+ inputPlaceholderTextColor: 'surfaceTextQuaternary',
54
+ inputTextColor: 'surfaceTextPrimary',
64
55
  },
65
56
  };
66
57
 
@@ -98,18 +89,18 @@ var codeAppearanceSize = {
98
89
  };
99
90
 
100
91
  var codeAppearanceStyle = {
101
- full: {
102
- borderColor: '0',
103
- },
104
- ghost: {
105
- fill: 'none',
106
- borderColor: '0',
92
+ solid: {
93
+ borderColor: 'none',
107
94
  },
108
95
  outlined: {
109
96
  fill: 'none',
110
97
  },
111
- solid: {
112
- borderColor: '0',
98
+ full: {
99
+ borderColor: 'none',
100
+ },
101
+ ghost: {
102
+ fill: 'none',
103
+ borderColor: 'none',
113
104
  },
114
105
  };
115
106
 
@@ -133,7 +124,7 @@ var codeConfig = {
133
124
  },
134
125
  };
135
126
  function Code(props) {
136
- var className = props.className, appearance = props.appearance, inputAutoFocus = props.inputAutoFocus, _a = props.inputCount, inputCount = _a === void 0 ? 6 : _a, _b = props.inputPlaceholder, inputPlaceholder = _b === void 0 ? '0' : _b, _c = props.inputType, inputType = _c === void 0 ? 'number' : _c, separatorComponent = props.separatorComponent, before = props.before, after = props.after, onBlur = props.onBlur, onChange = props.onChange, onFocus = props.onFocus;
127
+ var className = props.className, appearance = props.appearance, inputAutoFocus = props.inputAutoFocus, _a = props.inputCount, inputCount = _a === void 0 ? 6 : _a, _b = props.inputPlaceholder, inputPlaceholder = _b === void 0 ? '0' : _b, _c = props.inputType, inputType = _c === void 0 ? 'number' : _c, separatorComponent = props.separatorComponent, before = props.before, after = props.after, isSkeleton = props.isSkeleton, onBlur = props.onBlur, onChange = props.onChange, onFocus = props.onFocus;
137
128
  var _d = useState(''), otp = _d[0], setOtp = _d[1];
138
129
  var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
139
130
  var _a;
@@ -146,7 +137,7 @@ function Code(props) {
146
137
  return (jsx("input", __assign({}, otpInputProps, { className: clsx('code__input', inputCaretColorClass && "caret-color_".concat(inputCaretColorClass), inputFillClass && "fill_".concat(inputFillClass), inputFillHoverClass && "fill_hover_".concat(inputFillHoverClass), inputPlaceholderTextColorClass &&
147
138
  "placeholder-text-color_".concat(inputPlaceholderTextColorClass), inputShapeClass && "code__input_shape_".concat(inputShapeClass), inputTextSizeClass && "text_size_".concat(inputTextSizeClass), inputTextColorClass && "text-color_".concat(inputTextColorClass), inputTextWeightClass && "text-weight_".concat(inputTextWeightClass), inputBorderWidthClass && "border-width_".concat(inputBorderWidthClass), inputBorderColorClass && "border-color_".concat(inputBorderColorClass), inputBorderColorHoverClass &&
148
139
  "border-color_hover_".concat(inputBorderColorHoverClass), inputBorderFocusColorClass &&
149
- "border-color_focus_".concat(inputBorderFocusColorClass), inputSizeClass && "code__input_size_".concat(inputSizeClass), widthClass && "width_".concat(widthClass)), name: "code-".concat(index), autoComplete: "one-time-code", onBlur: function (event) {
140
+ "border-color_focus_".concat(inputBorderFocusColorClass), inputSizeClass && "code__input_size_".concat(inputSizeClass), widthClass && "width_".concat(widthClass), isSkeleton && "code__input_skeleton"), name: "code-".concat(index), autoComplete: "one-time-code", onBlur: function (event) {
150
141
  onBlur && onBlur(event);
151
142
  otpInputProps.onBlur(event);
152
143
  }, onFocus: function (event) {