@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
@@ -1,9 +1,11 @@
1
+ import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
1
2
  import { jsxs, jsx } from 'react/jsx-runtime';
2
3
  import clsx from 'clsx';
3
4
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
4
5
  import { useStyles } from '../hooks/useStyles/useStyles.js';
5
- import { T as Text } from '../Text_es_BRb3qqKM.js';
6
- import { _ as __assign } from '../tslib.es6_es_Bwu1Cn-t.js';
6
+ import { I as Icon } from '../Tooltip_es_frBCZDrO.js';
7
+ import { T as Text } from '../Text_es_BfLRfj-5.js';
8
+ import { icon20 } from '@itcase/icons/default';
7
9
  import { useNotifications, useNotificationsAPI } from '../context/Notifications.js';
8
10
  import '../context/UIContext.js';
9
11
  import 'react';
@@ -17,139 +19,119 @@ import 'react-responsive';
17
19
  import '../utils/setViewportProperty.js';
18
20
  import 'lodash/maxBy';
19
21
  import '../hooks/useStyles/styleAttributes.js';
22
+ import 'react-inlinesvg';
23
+ import '../Link_es_DxtZLeKY.js';
20
24
 
21
- var notificationItemAppearanceError = {
22
- error: {
23
- fill: 'errorPrimary',
24
- fillHover: 'errorPrimaryHover',
25
- labelTextColor: 'errorTextPrimary',
26
- labelTextColorHover: 'errorTextPrimary',
27
- loaderFill: 'errorPrimary',
28
- loaderItemFill: 'errorItemPrimary',
25
+ var notificationAppearanceDefault = {
26
+ defaultPrimary: {
27
+ fill: 'surfacePrimary',
28
+ fillHover: 'surfacePrimaryHover',
29
+ titleTextColor: 'surfaceTextPrimary',
30
+ titleTextSize: 'xxl',
31
+ descTextColor: 'surfaceTextPrimary',
32
+ descTextSize: 'm',
33
+ borderColor: 'surfaceBorderPrimary',
34
+ elevation: 8,
35
+ textColor: 'surfaceTextPrimary',
36
+ iconSize: 20,
37
+ closeIcon: icon20.Close,
38
+ closeIconFillIcon: 'surfaceItemPrimary',
29
39
  },
30
40
  };
31
41
 
32
- var notificationItemAppearanceSize = {
33
- sizeXXL: {
34
- size: 'xxl',
35
- labelTextSize: 'xxl',
36
- iconAfterFillSize: '24',
37
- iconAfterSize: '24',
38
- iconBeforeFillSize: '24',
39
- iconBeforeSize: '24',
40
- },
41
- sizeXL: {
42
- size: 'xl',
43
- labelTextSize: 'l',
44
- iconAfterFillSize: '24',
45
- iconAfterSize: '24',
46
- iconBeforeFillSize: '24',
47
- iconBeforeSize: '24',
48
- },
49
- sizeL: {
50
- size: 'l',
51
- labelTextSize: 'l',
52
- iconAfterFillSize: '24',
53
- iconAfterSize: '24',
54
- iconBeforeFillSize: '24',
55
- iconBeforeSize: '24',
56
- },
57
- sizeM: {
58
- size: 'm',
59
- labelTextSize: 'm',
60
- iconAfterFillSize: '24',
61
- iconAfterSize: '24',
62
- iconBeforeFillSize: '24',
63
- iconBeforeSize: '24',
64
- },
65
- sizeS: {
66
- size: 's',
67
- labelTextSize: 's',
68
- iconAfterFillSize: '20',
69
- iconAfterSize: '20',
70
- iconBeforeFillSize: '20',
71
- iconBeforeSize: '20',
72
- },
73
- sizeXS: {
74
- size: 'xs',
75
- labelTextSize: 'xs',
76
- iconAfterFillSize: '16',
77
- iconAfterSize: '16',
78
- iconBeforeFillSize: '16',
79
- iconBeforeSize: '16',
80
- },
81
- sizeXXS: {
82
- size: 'xxs',
83
- labelTextSize: 'xs',
84
- iconAfterFillSize: '14',
85
- iconAfterSize: '14',
86
- iconBeforeFillSize: '14',
87
- iconBeforeSize: '14',
42
+ var notificationAppearanceError = {
43
+ errorPrimary: {
44
+ fill: 'errorPrimary',
45
+ fillHover: 'errorPrimaryHover',
46
+ titleTextColor: 'errorTextPrimary',
47
+ titleTextSize: 'xxl',
48
+ descTextColor: 'errorTextPrimary',
49
+ descTextSize: 'm',
50
+ borderColor: 'errorBorderPrimary',
51
+ elevation: 8,
52
+ textColor: 'errorTextPrimary',
53
+ iconSize: 20,
54
+ closeIcon: icon20.Close,
55
+ closeIconFillIcon: 'errorItemPrimary',
88
56
  },
89
57
  };
90
58
 
91
- var notificationItemAppearanceStyle = {
92
- full: {
93
- borderColor: '0',
94
- },
59
+ var notificationAppearanceSize = {};
60
+
61
+ var notificationAppearanceStyle = {
62
+ full: {},
95
63
  ghost: {
96
64
  fill: 'none',
97
- borderColor: '0',
65
+ borderColor: 'none',
98
66
  },
99
67
  outlined: {
100
68
  fill: 'none',
101
69
  },
102
70
  solid: {
103
- borderColor: '0',
71
+ borderColor: 'none',
104
72
  },
105
73
  };
106
74
 
107
- var notificationItemAppearanceSuccess = {
108
- success: {
75
+ var notificationAppearanceSuccess = {
76
+ successPrimary: {
109
77
  fill: 'successPrimary',
110
78
  fillHover: 'successPrimaryHover',
111
- labelTextColor: 'successTextSecondary',
112
- labelTextColorHover: 'successTextSecondary',
113
- loaderFill: 'successPrimary',
114
- loaderItemFill: 'successItemPrimary',
79
+ titleTextColor: 'successTextPrimary',
80
+ titleTextSize: 'xxl',
81
+ descTextColor: 'successTextPrimary',
82
+ descTextSize: 'm',
83
+ borderColor: 'successBorderPrimary',
84
+ elevation: 8,
85
+ textColor: 'successTextPrimary',
86
+ iconSize: 20,
87
+ closeIcon: icon20.Close,
88
+ closeIconFillIcon: 'accentItemPrimary',
115
89
  },
116
90
  };
117
91
 
118
- var notificationItemAppearanceWarning = {
119
- warning: {
92
+ var notificationAppearanceWarning = {
93
+ warningPrimary: {
120
94
  fill: 'warningPrimary',
121
95
  fillHover: 'warningPrimaryHover',
122
- labelTextColor: 'warningTextSecondary',
123
- labelTextColorHover: 'warningTextSecondary',
124
- loaderFill: 'warningPrimary',
125
- loaderItemFill: 'warningItemPrimary',
96
+ titleTextColor: 'warningTextPrimary',
97
+ titleTextSize: 'xxl',
98
+ descTextColor: 'warningTextPrimary',
99
+ descTextSize: 'm',
100
+ borderColor: 'surfaceBorderPrimary',
101
+ elevation: 8,
102
+ textColor: 'warningTextPrimary',
103
+ iconSize: 20,
104
+ closeIcon: icon20.Close,
105
+ closeIconFillIcon: 'warningItemPrimary',
126
106
  },
127
107
  };
128
108
 
129
- var notificationItemAppearance = __assign(__assign(__assign(__assign(__assign({}, notificationItemAppearanceSize), notificationItemAppearanceStyle), notificationItemAppearanceError), notificationItemAppearanceSuccess), notificationItemAppearanceWarning);
109
+ var notificationAppearance = __assign(__assign(__assign(__assign(__assign(__assign({}, notificationAppearanceDefault), notificationAppearanceSize), notificationAppearanceStyle), notificationAppearanceError), notificationAppearanceSuccess), notificationAppearanceWarning);
130
110
 
131
- var notificationItemConfig = {
132
- appearance: notificationItemAppearance,
111
+ var notificationConfig = {
112
+ appearance: notificationAppearance,
133
113
  setAppearance: function (appearanceConfig) {
134
- notificationItemConfig.appearance = appearanceConfig;
114
+ notificationConfig.appearance = appearanceConfig;
135
115
  },
136
116
  };
137
- function NotificationItem(props) {
138
- var id = props.id, className = props.className, appearance = props.appearance, size = props.size, title = props.title, titleTextColor = props.titleTextColor, _a = props.titleTextSize, titleTextSize = _a === void 0 ? 'm' : _a, status = props.status, text = props.text, textColor = props.textColor, _b = props.textSize, textSize = _b === void 0 ? 's' : _b, dataTestId = props.dataTestId, dataTour = props.dataTour, before = props.before, after = props.after, closeButton = props.closeButton, set = props.set, onClickClose = props.onClickClose;
139
- var appearanceConfig = notificationItemConfig.appearance &&
140
- notificationItemConfig.appearance[appearance];
117
+ function Notification(props) {
118
+ var id = props.id, className = props.className, type = props.type, appearance = props.appearance, title = props.title, desc = props.desc, status = props.status, dataTestId = props.dataTestId, dataTour = props.dataTour, before = props.before, after = props.after, close = props.close, isSkeleton = props.isSkeleton, onClickClose = props.onClickClose;
119
+ var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
120
+ var _a;
121
+ return (__assign(__assign({}, resultConfig), (_a = notificationConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
122
+ }, {});
141
123
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
142
- var fillClass = propsGenerator.fillClass, widthClass = propsGenerator.widthClass;
124
+ var fillClass = propsGenerator.fillClass, titleTextColor = propsGenerator.titleTextColor, titleTextSize = propsGenerator.titleTextSize, descTextColor = propsGenerator.descTextColor, descTextSize = propsGenerator.descTextSize, elevationClass = propsGenerator.elevationClass, sizeClass = propsGenerator.sizeClass, widthClass = propsGenerator.widthClass, closeIcon = propsGenerator.closeIcon, closeIconFill = propsGenerator.closeIconFill, closeIconFillIcon = propsGenerator.closeIconFillIcon, closeIconFillSize = propsGenerator.closeIconFillSize, closeIconShape = propsGenerator.closeIconShape, closeIconSize = propsGenerator.closeIconSize, closeIconSrc = propsGenerator.closeIconSrc;
143
125
  // @ts-expect-error
144
126
  var notificationStyles = useStyles(props).styles;
145
- return (jsxs("div", { className: clsx('notification__item', status && "notification__item_status_".concat(status), set && "notification__item_set_".concat(set), size && "notification__item_set_".concat(size), closeButton && 'notification__item_type_close-button', widthClass && "width_".concat(widthClass), fillClass && "fill_".concat(fillClass)), "data-testid": dataTestId, "data-tour": dataTour, style: notificationStyles, children: [before, jsxs("div", { className: clsx(className, 'notification__item-wrapper'), children: [title && (jsx(Text, { className: "notification__item-title", size: titleTextSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextSize), textColor: titleTextColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.titleTextColor), children: title })), text && (jsx(Text, { className: "notification__item-text", size: textSize || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.textSize), textColor: textColor || (appearanceConfig === null || appearanceConfig === void 0 ? void 0 : appearanceConfig.textColor), children: text })), closeButton && (jsx("div", { className: clsx('notification__item-close', onClickClose && 'cursor_type_pointer'), onClick: function () { return onClickClose && onClickClose(id); }, children: closeButton }))] }), after] }));
127
+ return (jsxs("div", { className: clsx('notification__item', status && "notification__item_status_".concat(status), type && "notification__item_set_".concat(type), elevationClass && "elevation_".concat(elevationClass), sizeClass && "notification__item_set_".concat(sizeClass), widthClass && "width_".concat(widthClass), fillClass && "fill_".concat(fillClass), isSkeleton && "notification__item_skeleton"), "data-testid": dataTestId, "data-tour": dataTour, style: notificationStyles, children: [before, jsxs("div", { className: clsx(className, 'notification__item-wrapper'), children: [title && (jsx(Text, { className: "notification__item-title", size: titleTextSize, textColor: titleTextColor, children: title })), desc && (jsx(Text, { className: "notification__item-text", size: descTextSize, textColor: descTextColor, children: desc })), close && (closeIcon || closeIconSrc) && (jsx(Icon, { className: clsx('notification__item-close', 'cursor_type_pointer'), fill: closeIconFill, fillSize: closeIconFillSize, iconFill: closeIconFillIcon, iconSize: closeIconSize, imageSrc: closeIconSrc, shape: closeIconShape, SvgImage: closeIcon, onClick: function () { return onClickClose && onClickClose(id); } }))] }), after] }));
146
128
  }
147
129
 
148
- function NotificationList(props) {
130
+ function NotificationWrapper(props) {
149
131
  var notifications = useNotifications();
150
132
  var hideNotifications = useNotificationsAPI().hideNotifications;
151
- var className = props.className, type = props.type, size = props.size, closeButton = props.closeButton, set = props.set;
152
- return (jsx("div", { className: clsx('notification', className), children: jsx("div", { className: "notification__wrapper", children: notifications.map(function (notification, i) { return (jsx(NotificationItem, { id: notification.id, type: notification.type || type, size: notification.size || size, title: notification.title, status: notification.status, text: notification.text, closeButton: closeButton, set: notification.set || set, onClickClose: hideNotifications }, i)); }) }) }));
133
+ var className = props.className, close = props.close;
134
+ return (jsx("div", { className: clsx('notification', className), children: jsx("div", { className: "notification__wrapper", children: notifications.map(function (notification, i) { return (jsx(Notification, { id: notification.id, appearance: notification.appearance, title: notification.title, status: notification.status, text: notification.text, close: close, onClickClose: hideNotifications }, i)); }) }) }));
153
135
  }
154
136
 
155
- export { NotificationItem, NotificationList, notificationItemAppearance, notificationItemConfig };
137
+ export { Notification, NotificationWrapper, notificationAppearance, notificationConfig };
@@ -1,4 +1,4 @@
1
- export { O as Overlay, a as overlayAppearance, o as overlayConfig } from '../Overlay_es_cI_-_xUO.js';
1
+ export { O as Overlay, a as overlayAppearance, o as overlayConfig } from '../Overlay_es_DczPjVL9.js';
2
2
  import '../tslib.es6_es_Bwu1Cn-t.js';
3
3
  import 'react/jsx-runtime';
4
4
  import 'clsx';
@@ -6,9 +6,9 @@ import ceil from 'lodash/ceil';
6
6
  import ReactPaginate from 'react-paginate';
7
7
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
8
8
  import { useStyles } from '../hooks/useStyles/useStyles.js';
9
- import { D as Dropdown, a as DropdownItem } from '../DropdownItem_es_B4EZYdJA.js';
10
- import { I as Icon } from '../Tooltip_es_D1w1s33u.js';
11
- import { T as Text } from '../Text_es_BRb3qqKM.js';
9
+ import { D as Dropdown, a as DropdownItem } from '../DropdownItem_es_CVztMEm0.js';
10
+ import { I as Icon } from '../Tooltip_es_frBCZDrO.js';
11
+ import { T as Text } from '../Text_es_BfLRfj-5.js';
12
12
  import { icon32, icon24 } from '@itcase/icons/default';
13
13
  import 'lodash/camelCase';
14
14
  import 'lodash/castArray';
@@ -22,7 +22,7 @@ import 'react-responsive';
22
22
  import '../utils/setViewportProperty.js';
23
23
  import 'lodash/maxBy';
24
24
  import '../hooks/useStyles/styleAttributes.js';
25
- import '../Divider_es_BEYLRagS.js';
25
+ import '../Divider_es_kY-30pft.js';
26
26
  import 'react-inlinesvg';
27
27
  import '../Link_es_DxtZLeKY.js';
28
28
 
@@ -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';
@@ -18,54 +18,147 @@ import '../hooks/useStyles/useStyles.js';
18
18
  import 'lodash/maxBy';
19
19
  import '../hooks/useStyles/styleAttributes.js';
20
20
 
21
- var radioAppearance = {
22
- dev: {
21
+ var radioAppearanceDefault = {
22
+ defaultPrimary: {
23
+ fillCheckmark: 'surfacePrimary',
24
+ fillRadio: 'surfaceTertiary',
25
+ fillRadioActive: 'surfaceTertiary',
26
+ fillRadioActiveHover: 'surfaceTertiary',
27
+ fillRadioHover: 'surfaceTertiary',
23
28
  labelTextColor: 'surfaceTextPrimary',
24
- labelTextSize: 'm',
25
29
  descTextColor: 'surfaceTextPrimary',
26
- descTextSize: 's',
27
- stateBorderColor: 'surfaceBorderTertiary',
28
- stateBorderWidth: 1,
29
- stateCheckmarkFill: 'surfaceItemAccent',
30
- stateShape: 'circular',
30
+ borderColorRadio: 'surfaceBorderPrimary',
31
+ borderColorRadioActive: 'surfaceBorderPrimary',
32
+ borderColorRadioActiveHover: 'surfaceBorderPrimary',
33
+ borderColorRadioHover: 'surfaceBorderPrimary',
34
+ },
35
+ defaultSecondary: {
36
+ fill: 'surfacePrimary',
37
+ borderColor: 'surfaceBorderTertiary',
38
+ borderHover: 'surfaceBorderQuaternary',
39
+ iconBeforeFill: 'surfaceItemQuaternary',
40
+ iconClearFill: 'surfaceItemPrimary',
41
+ placeholderTextColor: 'surfaceTextSecondary',
42
+ },
43
+ };
44
+
45
+ var radioAppearanceDisabled = {
46
+ disabledPrimary: {
47
+ fill: 'warningTertiary',
48
+ borderColor: 'warningBorderQuaternary',
49
+ borderHover: 'warningBorderQuaternary',
50
+ textColor: 'surfaceTextPrimary',
51
+ iconBeforeFill: 'warningItemQuaternary',
52
+ iconClearFill: 'warningItemPrimary',
53
+ placeholderTextColor: 'surfaceTextQuaternary',
31
54
  },
32
55
  };
33
- var radioState = {
34
- normal: {
35
- borderColor: 'surfaceBorderQuaternary',
36
- placeholderTextColor: 'secondaryTextSecondary',
56
+
57
+ var radioAppearanceError = {
58
+ error: {
59
+ fill: 'errorPrimary',
60
+ fillHover: 'errorPrimaryHover',
61
+ labelTextColor: 'errorTextPrimary',
62
+ labelTextColorHover: 'errorTextPrimary',
63
+ loaderFill: 'errorPrimary',
64
+ loaderItemFill: 'errorItemPrimary',
37
65
  },
38
66
  };
39
67
 
68
+ var radioAppearanceRequire = {
69
+ requirePrimary: {
70
+ fill: 'warningTertiary',
71
+ borderColor: 'warningBorderQuaternary',
72
+ borderHover: 'warningBorderQuaternary',
73
+ textColor: 'surfaceTextPrimary',
74
+ iconBeforeFill: 'warningItemQuaternary',
75
+ iconClearFill: 'warningItemPrimary',
76
+ placeholderTextColor: 'surfaceTextQuaternary',
77
+ },
78
+ requireSecondary: {
79
+ fill: 'surfaceSecondary',
80
+ borderColor: 'surfaceBorderTertiary',
81
+ borderHover: 'surfaceBorderQuaternary',
82
+ iconBeforeFill: 'surfaceItemQuaternary',
83
+ iconClearFill: 'surfaceItemPrimary',
84
+ placeholderTextColor: 'surfaceTextSecondary',
85
+ },
86
+ };
87
+
88
+ var radioAppearanceSize = {
89
+ sizeM: {
90
+ size: 'm',
91
+ labelTextSize: 'm',
92
+ descTextSize: 'xs',
93
+ },
94
+ sizeXS: {
95
+ size: 'xs',
96
+ labelTextSize: 'm',
97
+ descTextSize: 'xs',
98
+ },
99
+ sizeXXS: {
100
+ size: 'xxs',
101
+ labelTextSize: 'm',
102
+ descTextSize: 'xs',
103
+ },
104
+ };
105
+
106
+ var radioAppearanceStyle = {
107
+ full: {
108
+ borderColor: '0',
109
+ },
110
+ ghost: {
111
+ fill: 'none',
112
+ borderColor: '0',
113
+ },
114
+ outlined: {
115
+ fill: 'none',
116
+ },
117
+ solid: {
118
+ borderColor: '0',
119
+ },
120
+ };
121
+
122
+ var radioAppearanceSuccess = {
123
+ success: {
124
+ fill: 'successPrimary',
125
+ fillHover: 'successPrimaryHover',
126
+ labelTextColor: 'successTextSecondary',
127
+ labelTextColorHover: 'successTextSecondary',
128
+ loaderFill: 'successPrimary',
129
+ loaderItemFill: 'successItemPrimary',
130
+ },
131
+ };
132
+
133
+ var radioAppearance = __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, radioAppearanceDefault), radioAppearanceError), radioAppearanceSuccess), radioAppearanceRequire), radioAppearanceDisabled), radioAppearanceSize), radioAppearanceStyle);
134
+
40
135
  var radioConfig = {
41
136
  appearance: radioAppearance,
42
- state: radioState,
43
137
  setAppearance: function (appearanceConfig) {
44
138
  radioConfig.appearance = appearanceConfig;
45
139
  },
46
- setState: function (newComponent) {
47
- radioConfig.state = newComponent;
48
- },
49
140
  };
50
141
  function Radio(props) {
51
- var id = props.id, className = props.className, appearance = props.appearance, label = props.label, labelTextColor = props.labelTextColor, labelTextSize = props.labelTextSize, labelTextWeight = props.labelTextWeight, desc = props.desc, descTextColor = props.descTextColor, descTextSize = props.descTextSize, descTextWeight = props.descTextWeight, disabled = props.disabled, isDisabled = props.isDisabled, checked = props.checked, _a = props.tag, Tag = _a === void 0 ? 'label' : _a, onChange = props.onChange;
142
+ var id = props.id, className = props.className, appearance = props.appearance, label = props.label, desc = props.desc, isDisabled = props.isDisabled, checked = props.checked, _a = props.tag, Tag = _a === void 0 ? 'label' : _a, onChange = props.onChange;
52
143
  var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
53
144
  var _a;
54
145
  return (__assign(__assign({}, resultConfig), (_a = radioConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
55
146
  }, {});
56
147
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
57
- var fillClass = propsGenerator.fillClass, _b = propsGenerator.shapeClass, shapeClass = _b === void 0 ? 'circular' : _b, stateBorderColorClass = propsGenerator.stateBorderColorClass, stateBorderWidthClass = propsGenerator.stateBorderWidthClass, stateCheckmarkFillClass = propsGenerator.stateCheckmarkFillClass, stateShapeClass = propsGenerator.stateShapeClass;
58
- var stateFillClass = propsGenerator.getClassName(checked ? 'stateFillChecked' : 'stateFill', {
59
- prefix: 'fill_',
60
- });
61
- var stateFillDisabledClass = propsGenerator.getClassName(checked ? 'stateFillDisabledChecked' : 'stateFillDisabled', { prefix: 'fill_' });
62
- var stateBorderColorHoverClass = propsGenerator.getClassName(checked ? 'stateBorderColorHoverChecked' : 'stateBorderColorHover', { prefix: 'border-color_hover_' });
63
- var stateBorderColorDisabledClass = propsGenerator.getClassName(checked ? 'stateBorderColorDisabledChecked' : 'stateBorderColorDisabled', { prefix: 'border-color_' });
64
- return (jsxs(Tag, { className: clsx(className, 'radio', fillClass && "fill_".concat(fillClass), shapeClass && "radio_shape_".concat(shapeClass)), htmlFor: id, children: [jsxs("div", { className: clsx('radio__item', stateCheckmarkFillClass &&
65
- "radio_checkmark_fill_".concat(stateCheckmarkFillClass)), children: [jsx("input", { id: id, className: "radio__input", type: "radio", disabled: isDisabled && 'disabled', checked: checked, onChange: onChange }), jsx("div", { className: clsx('radio__state', disabled ? stateFillDisabledClass : stateFillClass, disabled
66
- ? stateBorderColorDisabledClass
67
- : stateBorderColorClass &&
68
- "border-color_".concat(stateBorderColorClass), stateBorderColorHoverClass, stateShapeClass && "radio__state_shape_".concat(stateShapeClass), stateBorderWidthClass && "border-width_".concat(stateBorderWidthClass)), children: "\u00A0" }), jsx("div", { className: "radio__state-checkmark", children: "\u00A0" })] }), label && (jsx(Text, { className: "radio__label", size: labelTextSize, textColor: labelTextColor, textWeight: labelTextWeight, children: label })), desc && (jsx(Text, { className: "radio__desc", size: descTextSize, textColor: descTextColor, textWeight: descTextWeight, children: desc }))] }));
148
+ var fillCheckmarkClass = propsGenerator.fillCheckmarkClass, fillClass = propsGenerator.fillClass, fillRadioActiveClass = propsGenerator.fillRadioActiveClass, fillRadioActiveHoverClass = propsGenerator.fillRadioActiveHoverClass, fillRadioClass = propsGenerator.fillRadioClass, fillRadioHoverClass = propsGenerator.fillRadioHoverClass, labelTextColor = propsGenerator.labelTextColor, labelTextSize = propsGenerator.labelTextSize, labelTextWeight = propsGenerator.labelTextWeight, descTextColor = propsGenerator.descTextColor, descTextSize = propsGenerator.descTextSize, descTextWeight = propsGenerator.descTextWeight, borderColorRadioActiveClass = propsGenerator.borderColorRadioActiveClass, borderColorRadioActiveHoverClass = propsGenerator.borderColorRadioActiveHoverClass, borderColorRadioClass = propsGenerator.borderColorRadioClass, borderColorRadioHoverClass = propsGenerator.borderColorRadioHoverClass, _b = propsGenerator.shapeClass, shapeClass = _b === void 0 ? 'circular' : _b;
149
+ return (jsxs(Tag, { className: clsx(className, 'radio', fillClass && "fill_".concat(fillClass)), htmlFor: id, children: [jsxs("div", { className: clsx('radio__item'), children: [jsx("input", { id: id, className: "radio__input", type: "radio", disabled: isDisabled && 'disabled', checked: checked, onChange: onChange }), jsx("div", { className: clsx('radio__state', shapeClass && "shape_".concat(shapeClass), !checked
150
+ ? fillRadioClass && "fill_".concat(fillRadioClass)
151
+ : fillRadioActiveClass && "fill_active_".concat(fillRadioActiveClass), !checked
152
+ ? fillRadioHoverClass && "fill_hover_".concat(fillRadioHoverClass)
153
+ : fillRadioActiveHoverClass &&
154
+ "fill_active_hover_".concat(fillRadioActiveHoverClass), !checked
155
+ ? borderColorRadioClass && "border-color_".concat(borderColorRadioClass)
156
+ : borderColorRadioActiveClass &&
157
+ "border-color_active_".concat(borderColorRadioActiveClass), !checked
158
+ ? borderColorRadioHoverClass &&
159
+ "border-color_hover_".concat(borderColorRadioHoverClass)
160
+ : borderColorRadioActiveHoverClass &&
161
+ "border-color_active_hover_".concat(borderColorRadioActiveHoverClass)), children: "\u00A0" }), jsx("div", { className: clsx('radio__state-checkmark', checked && fillCheckmarkClass && "fill_".concat(fillCheckmarkClass)), children: "\u00A0" })] }), label && (jsx(Text, { className: "radio__label", size: labelTextSize, textColor: labelTextColor, textWeight: labelTextWeight, children: label })), desc && (jsx(Text, { className: "radio__desc", size: descTextSize, textColor: descTextColor, textWeight: descTextWeight, children: desc }))] }));
69
162
  }
70
163
 
71
- export { Radio, radioAppearance, radioConfig, radioState };
164
+ export { Radio, radioAppearance, radioConfig };
@@ -5,9 +5,9 @@ import clsx from 'clsx';
5
5
  import SVG from 'react-inlinesvg';
6
6
  import { useDevicePropsGenerator } from '../hooks/useDevicePropsGenerator/useDevicePropsGenerator.js';
7
7
  import { useStyles } from '../hooks/useStyles/useStyles.js';
8
- import { B as Button } from '../Button_es_Dp6yFZgn.js';
8
+ import { B as Button } from '../Button_es_CO_dwo-N.js';
9
9
  import { G as Group } from '../Group_es_CYW2Hquh.js';
10
- import { T as Text } from '../Text_es_BRb3qqKM.js';
10
+ import { T as Text } from '../Text_es_BfLRfj-5.js';
11
11
  import 'lodash/camelCase';
12
12
  import 'lodash/castArray';
13
13
  import 'lodash/upperFirst';
@@ -20,9 +20,9 @@ import 'react-responsive';
20
20
  import '../utils/setViewportProperty.js';
21
21
  import 'lodash/maxBy';
22
22
  import '../hooks/useStyles/styleAttributes.js';
23
- import '../Tooltip_es_D1w1s33u.js';
23
+ import '../Tooltip_es_frBCZDrO.js';
24
24
  import '../Link_es_DxtZLeKY.js';
25
- import '../Loader_es_DHKB6tTw.js';
25
+ import '../Loader_es_B2auu_rc.js';
26
26
 
27
27
  var responseAppearanceConfirm = {
28
28
  confirm: {
@@ -45,6 +45,8 @@ var responseAppearanceFail = {
45
45
  descTextSize: 'm',
46
46
  primaryButtonAppearance: 'accentPrimary sizeXXL',
47
47
  secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
48
+ svgFill: 'surfaceTertiary',
49
+ svgPathFill: 'surfaceItemQuaternary',
48
50
  },
49
51
  };
50
52
 
@@ -57,6 +59,8 @@ var responseAppearanceNothingFound = {
57
59
  descTextSize: 'm',
58
60
  primaryButtonAppearance: 'accentPrimary sizeXXL',
59
61
  secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
62
+ svgFill: 'surfaceTertiary',
63
+ svgPathFill: 'surfaceItemQuaternary',
60
64
  },
61
65
  };
62
66
 
@@ -69,6 +73,8 @@ var responseAppearanceRefresh = {
69
73
  descTextSize: 'm',
70
74
  primaryButtonAppearance: 'accentPrimary sizeXXL',
71
75
  secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
76
+ svgFill: 'surfaceTertiary',
77
+ svgPathFill: 'surfaceItemQuaternary',
72
78
  },
73
79
  };
74
80
 
@@ -81,6 +87,8 @@ var responseAppearanceError = {
81
87
  descTextSize: 'm',
82
88
  primaryButtonAppearance: 'errorPrimary sizeXXL',
83
89
  secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
90
+ svgFill: 'errorPrimary',
91
+ svgPathFill: 'errorItemPrimary',
84
92
  },
85
93
  };
86
94
 
@@ -93,6 +101,8 @@ var responseAppearanceSuccess = {
93
101
  descTextSize: 'm',
94
102
  primaryButtonAppearance: 'accentPrimary sizeXXL',
95
103
  secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
104
+ svgFill: 'surfaceTertiary',
105
+ svgPathFill: 'surfaceItemQuaternary',
96
106
  },
97
107
  };
98
108
 
@@ -105,6 +115,8 @@ var responseAppearanceUnableLoadData = {
105
115
  descTextSize: 'm',
106
116
  primaryButtonAppearance: 'accentPrimary sizeXXL',
107
117
  secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
118
+ svgFill: 'surfaceTertiary',
119
+ svgPathFill: 'surfaceItemQuaternary',
108
120
  },
109
121
  };
110
122
 
@@ -117,6 +129,8 @@ var responseAppearanceWarning = {
117
129
  descTextSize: 'm',
118
130
  primaryButtonAppearance: 'warningPrimary sizeXXL',
119
131
  secondaryButtonAppearance: 'surfaceSecondary sizeXXL',
132
+ svgFill: 'warningPrimary',
133
+ svgPathFill: 'warningItemPrimary',
120
134
  },
121
135
  };
122
136
 
@@ -129,13 +143,13 @@ var responseConfig = {
129
143
  },
130
144
  };
131
145
  function Response(props) {
132
- var className = props.className, appearance = props.appearance, width = props.width, height = props.height, title = props.title, desc = props.desc, primaryButton = props.primaryButton, secondaryButton = props.secondaryButton, onClickSecondaryButton = props.onClickSecondaryButton, before = props.before, after = props.after;
146
+ var className = props.className, appearance = props.appearance, width = props.width, height = props.height, title = props.title, desc = props.desc, primaryButton = props.primaryButton, onClickSecondaryButton = props.onClickSecondaryButton, secondaryButton = props.secondaryButton, before = props.before, after = props.after, isSkeleton = props.isSkeleton;
133
147
  var appearanceConfig = appearance === null || appearance === void 0 ? void 0 : appearance.split(' ').reduce(function (resultConfig, appearanceKey) {
134
148
  var _a;
135
149
  return (__assign(__assign({}, resultConfig), (_a = responseConfig.appearance) === null || _a === void 0 ? void 0 : _a[appearanceKey]));
136
150
  }, {});
137
151
  var propsGenerator = useDevicePropsGenerator(props, appearanceConfig);
138
- var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, titleTextColor = propsGenerator.titleTextColor, titleTextSize = propsGenerator.titleTextSize, titleTextWeight = propsGenerator.titleTextWeight, descTextColor = propsGenerator.descTextColor, descTextSize = propsGenerator.descTextSize, descTextWeight = propsGenerator.descTextWeight, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass; propsGenerator.textAlignClass; var primaryButtonAfter = propsGenerator.primaryButtonAfter, primaryButtonAppearance = propsGenerator.primaryButtonAppearance, primaryButtonBefore = propsGenerator.primaryButtonBefore, primaryButtonFill = propsGenerator.primaryButtonFill, primaryButtonFillHover = propsGenerator.primaryButtonFillHover, primaryButtonLabel = propsGenerator.primaryButtonLabel, primaryButtonLabelTextColor = propsGenerator.primaryButtonLabelTextColor, primaryButtonLabelTextSize = propsGenerator.primaryButtonLabelTextSize, primaryButtonShape = propsGenerator.primaryButtonShape, primaryButtonSize = propsGenerator.primaryButtonSize, primaryButtonWidth = propsGenerator.primaryButtonWidth, secondaryButtonAfter = propsGenerator.secondaryButtonAfter, secondaryButtonAppearance = propsGenerator.secondaryButtonAppearance, secondaryButtonBefore = propsGenerator.secondaryButtonBefore, secondaryButtonFill = propsGenerator.secondaryButtonFill, secondaryButtonFillHover = propsGenerator.secondaryButtonFillHover, secondaryButtonLabel = propsGenerator.secondaryButtonLabel, secondaryButtonLabelTextColor = propsGenerator.secondaryButtonLabelTextColor, secondaryButtonLabelTextSize = propsGenerator.secondaryButtonLabelTextSize, secondaryButtonShape = propsGenerator.secondaryButtonShape, secondaryButtonSize = propsGenerator.secondaryButtonSize, secondaryButtonWidth = propsGenerator.secondaryButtonWidth, onClickPrimaryButton = propsGenerator.onClickPrimaryButton, dataTestId = propsGenerator.dataTestId, dataTour = propsGenerator.dataTour, imageSrc = propsGenerator.imageSrc, shapeClass = propsGenerator.shapeClass, svgFillClass = propsGenerator.svgFillClass, SvgImage = propsGenerator.SvgImage, svgPathFillClass = propsGenerator.svgPathFillClass, svgSrc = propsGenerator.svgSrc;
152
+ var fillClass = propsGenerator.fillClass, fillHoverClass = propsGenerator.fillHoverClass, titleTextColor = propsGenerator.titleTextColor, titleTextSize = propsGenerator.titleTextSize, titleTextWeight = propsGenerator.titleTextWeight, descTextColor = propsGenerator.descTextColor, descTextSize = propsGenerator.descTextSize, descTextWeight = propsGenerator.descTextWeight, borderColorClass = propsGenerator.borderColorClass, borderColorHoverClass = propsGenerator.borderColorHoverClass, borderTypeClass = propsGenerator.borderTypeClass, borderWidthClass = propsGenerator.borderWidthClass, onClickPrimaryButton = propsGenerator.onClickPrimaryButton, primaryButtonAfter = propsGenerator.primaryButtonAfter, primaryButtonAppearance = propsGenerator.primaryButtonAppearance, primaryButtonBefore = propsGenerator.primaryButtonBefore, primaryButtonFill = propsGenerator.primaryButtonFill, primaryButtonFillHover = propsGenerator.primaryButtonFillHover, primaryButtonLabel = propsGenerator.primaryButtonLabel, primaryButtonLabelTextColor = propsGenerator.primaryButtonLabelTextColor, primaryButtonLabelTextSize = propsGenerator.primaryButtonLabelTextSize, primaryButtonShape = propsGenerator.primaryButtonShape, primaryButtonSize = propsGenerator.primaryButtonSize, primaryButtonWidth = propsGenerator.primaryButtonWidth, secondaryButtonAfter = propsGenerator.secondaryButtonAfter, secondaryButtonAppearance = propsGenerator.secondaryButtonAppearance, secondaryButtonBefore = propsGenerator.secondaryButtonBefore, secondaryButtonFill = propsGenerator.secondaryButtonFill, secondaryButtonFillHover = propsGenerator.secondaryButtonFillHover, secondaryButtonLabel = propsGenerator.secondaryButtonLabel, secondaryButtonLabelTextColor = propsGenerator.secondaryButtonLabelTextColor, secondaryButtonLabelTextSize = propsGenerator.secondaryButtonLabelTextSize, secondaryButtonShape = propsGenerator.secondaryButtonShape, secondaryButtonSize = propsGenerator.secondaryButtonSize, secondaryButtonWidth = propsGenerator.secondaryButtonWidth, dataTestId = propsGenerator.dataTestId, dataTour = propsGenerator.dataTour, imageSrc = propsGenerator.imageSrc, shapeClass = propsGenerator.shapeClass, svgFillClass = propsGenerator.svgFillClass, SvgImage = propsGenerator.SvgImage, svgPathFillClass = propsGenerator.svgPathFillClass, svgSrc = propsGenerator.svgSrc;
139
153
  var ImageComponent = useMemo(function () {
140
154
  var src = imageSrc || svgSrc;
141
155
  var Image = SvgImage;
@@ -164,7 +178,7 @@ function Response(props) {
164
178
  }, [imageSrc, svgSrc, SvgImage, width, height, svgFillClass]);
165
179
  // @ts-expect-error
166
180
  var _a = useStyles(props), responseStyles = _a.styles, wrapperStyles = _a.wrapper;
167
- return (jsxs("div", { className: clsx(className, 'response', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), shapeClass && "response_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass)), "data-testid": dataTestId, "data-tour": dataTour, style: responseStyles, children: [before, jsxs("div", { className: "response__wrapper", style: wrapperStyles, children: [jsx("div", { className: clsx('response__image', svgFillClass && "svg_fill_".concat(svgFillClass), svgPathFillClass && "svg_path_fill_".concat(svgPathFillClass)), children: ImageComponent }), jsxs("div", { className: "response__wrapper-inner", children: [title && (jsx(Text, { className: "response__title", size: titleTextSize, textColor: titleTextColor, textWeight: titleTextWeight, children: title })), desc && (jsx(Text, { className: "response__desc", size: descTextSize, textColor: descTextColor, textWeight: descTextWeight, children: desc }))] })] }), (primaryButtonLabel ||
181
+ return (jsxs("div", { className: clsx(className, 'response', fillClass && "fill_".concat(fillClass), fillHoverClass && "fill_hover_".concat(fillHoverClass), shapeClass && "response_shape_".concat(shapeClass), borderColorClass && "border-color_".concat(borderColorClass), borderColorHoverClass && "border-color_hover_".concat(borderColorHoverClass), borderWidthClass && "border-width_".concat(borderWidthClass), borderTypeClass && "border_type_".concat(borderTypeClass), isSkeleton && "response_skeleton"), "data-testid": dataTestId, "data-tour": dataTour, style: responseStyles, children: [before, jsxs("div", { className: "response__wrapper", style: wrapperStyles, children: [jsx("div", { className: clsx('response__image', svgFillClass && "svg_fill_".concat(svgFillClass), svgPathFillClass && "svg_path_fill_".concat(svgPathFillClass)), children: ImageComponent }), jsxs("div", { className: "response__wrapper-inner", children: [title && (jsx(Text, { className: "response__title", size: titleTextSize, textColor: titleTextColor, textWeight: titleTextWeight, children: title })), desc && (jsx(Text, { className: "response__desc", size: descTextSize, textColor: descTextColor, textWeight: descTextWeight, children: desc }))] })] }), (primaryButtonLabel ||
168
182
  primaryButton ||
169
183
  secondaryButtonLabel ||
170
184
  secondaryButton ||