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