@salutejs/plasma-new-hope 0.182.0-canary.1500.11610401138.0 → 0.182.0-canary.1506.11620814697.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (683) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +1 -1
  2. package/cjs/components/Autocomplete/Autocomplete.tokens.js +1 -0
  3. package/cjs/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
  4. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  5. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  6. package/cjs/components/Autocomplete/ui/TextField/{TextField.styles_1csckkd.css → TextField.styles_kcgaix.css} +1 -1
  7. package/cjs/components/Badge/Badge.css +0 -2
  8. package/cjs/components/Badge/Badge.js +4 -17
  9. package/cjs/components/Badge/Badge.js.map +1 -1
  10. package/cjs/components/Badge/Badge.tokens.js +1 -2
  11. package/cjs/components/Badge/Badge.tokens.js.map +1 -1
  12. package/cjs/components/Calendar/Calendar.tokens.js +4 -0
  13. package/cjs/components/Calendar/Calendar.tokens.js.map +1 -1
  14. package/cjs/components/Calendar/CalendarBase/CalendarBase.css +16 -15
  15. package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  16. package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  17. package/cjs/components/Calendar/CalendarBase/{CalendarBase.styles_1m6uih1.css → CalendarBase.styles_zk3a46.css} +1 -1
  18. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +16 -15
  19. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.css +4 -4
  20. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.css +9 -8
  21. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -4
  22. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  23. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +11 -1
  24. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  25. package/cjs/components/Calendar/ui/CalendarHeader/{CalendarHeader.styles_1jfelqf.css → CalendarHeader.styles_zgya4j.css} +1 -0
  26. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
  27. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.css +4 -4
  28. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
  29. package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.css +4 -4
  30. package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +1 -1
  31. package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js.map +1 -1
  32. package/cjs/components/Calendar/ui/DateStructureItem/{DateStructureItem.styles_1nxxafr.css → DateStructureItem.styles_uzh6dj.css} +1 -1
  33. package/cjs/components/Combobox/ComboboxNew/Combobox.css +12 -12
  34. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  35. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  36. package/cjs/components/Combobox/ComboboxNew/{Combobox.styles_1s09ifw.css → Combobox.styles_18a8p75.css} +1 -1
  37. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +4 -26
  38. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  39. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +12 -12
  40. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +12 -12
  41. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +1 -1
  42. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  43. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/{Item.styles_y71664.css → Item.styles_1kzr84z.css} +2 -2
  44. package/cjs/components/Combobox/ComboboxOld/Combobox.css +5 -5
  45. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +5 -5
  46. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +5 -5
  47. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +5 -5
  48. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +5 -5
  49. package/cjs/components/DatePicker/DatePicker.tokens.js +7 -0
  50. package/cjs/components/DatePicker/DatePicker.tokens.js.map +1 -1
  51. package/cjs/components/DatePicker/DatePickerBase.styles.js +1 -1
  52. package/cjs/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  53. package/cjs/components/DatePicker/DatePickerBase.styles_1vzl5em.css +2 -0
  54. package/cjs/components/DatePicker/RangeDate/RangeDate.css +20 -19
  55. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +18 -17
  56. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +1 -1
  57. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_k7d8e5.css +2 -0
  58. package/cjs/components/DatePicker/SingleDate/SingleDate.css +20 -19
  59. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  60. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  61. package/cjs/components/DatePicker/SingleDate/{SingleDate.styles_1rrq00l.css → SingleDate.styles_e72b5o.css} +1 -1
  62. package/cjs/components/Dropdown/Dropdown.css +5 -5
  63. package/cjs/components/Dropdown/Dropdown.styles.js +1 -1
  64. package/cjs/components/Dropdown/Dropdown.styles.js.map +1 -1
  65. package/cjs/components/Dropdown/{Dropdown.styles_1ix6io8.css → Dropdown.styles_dh7ns1.css} +1 -1
  66. package/cjs/components/Dropdown/Dropdown.tokens.js +2 -0
  67. package/cjs/components/Dropdown/Dropdown.tokens.js.map +1 -1
  68. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.css +5 -5
  69. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +1 -1
  70. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  71. package/cjs/components/Dropdown/ui/DropdownItem/{DropdownItem.styles_17va0nk.css → DropdownItem.styles_1b439rx.css} +1 -1
  72. package/cjs/components/Notification/Notification.css +11 -11
  73. package/cjs/components/Notification/Notification.js +17 -5
  74. package/cjs/components/Notification/Notification.js.map +1 -1
  75. package/cjs/components/Notification/Notification.styles.js +17 -17
  76. package/cjs/components/Notification/Notification.styles.js.map +1 -1
  77. package/cjs/components/Notification/{Notification.styles_e6274r.css → Notification.styles_ob8hsa.css} +2 -2
  78. package/cjs/components/Notification/Notification.tokens.js +5 -1
  79. package/cjs/components/Notification/Notification.tokens.js.map +1 -1
  80. package/cjs/components/Notification/Notification.types.js.map +1 -1
  81. package/cjs/components/Notification/NotificationsProvider.css +11 -11
  82. package/cjs/components/{Badge/variations/_truncate → Notification/variations/_closeIconType}/base.js +2 -2
  83. package/cjs/components/Notification/variations/_closeIconType/base.js.map +1 -0
  84. package/cjs/components/Notification/variations/_closeIconType/base_x642ct.css +1 -0
  85. package/cjs/components/Pagination/Pagination.css +10 -10
  86. package/cjs/components/Pagination/Pagination.js +5 -5
  87. package/cjs/components/Pagination/Pagination.js.map +1 -1
  88. package/cjs/components/Pagination/Pagination.styles.js +3 -3
  89. package/cjs/components/Pagination/Pagination.styles.js.map +1 -1
  90. package/cjs/components/Pagination/{Pagination.styles_y6gcva.css → Pagination.styles_1w5oej6.css} +1 -1
  91. package/cjs/components/Pagination/Pagination.tokens.js +4 -1
  92. package/cjs/components/Pagination/Pagination.tokens.js.map +1 -1
  93. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +3 -3
  94. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  95. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  96. package/cjs/components/Pagination/ui/PaginationSelectPerPage/{PaginationSelectPerPage.styles_187mk6b.css → PaginationSelectPerPage.styles_1fesyfv.css} +1 -1
  97. package/cjs/components/Tabs/tokens.js +8 -3
  98. package/cjs/components/Tabs/tokens.js.map +1 -1
  99. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +5 -7
  100. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -14
  101. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  102. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  103. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  104. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_uaaqqg.css +5 -0
  105. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -7
  106. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +3 -14
  107. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js.map +1 -1
  108. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  109. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  110. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_1g7zipg.css +5 -0
  111. package/cjs/components/Toast/Toast.css +5 -5
  112. package/cjs/components/Toast/Toast.js +17 -5
  113. package/cjs/components/Toast/Toast.js.map +1 -1
  114. package/cjs/components/Toast/Toast.styles.js +3 -3
  115. package/cjs/components/Toast/Toast.styles.js.map +1 -1
  116. package/{es/components/Toast/Toast.styles_1v9oj7f.css → cjs/components/Toast/Toast.styles_1nei944.css} +1 -1
  117. package/cjs/components/Toast/Toast.tokens.js +3 -1
  118. package/cjs/components/Toast/Toast.tokens.js.map +1 -1
  119. package/cjs/components/Toast/ToastController.css +5 -5
  120. package/cjs/components/{Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate → Toast/variations/_closeIconType}/base.js +2 -2
  121. package/cjs/components/Toast/variations/_closeIconType/base.js.map +1 -0
  122. package/cjs/components/Toast/variations/_closeIconType/base_x642ct.css +1 -0
  123. package/cjs/components/_Icon/Icon.assets/CrossThin.js +22 -0
  124. package/cjs/components/_Icon/Icon.assets/CrossThin.js.map +1 -0
  125. package/cjs/components/_Icon/Icons/IconCrossThin.js +25 -0
  126. package/cjs/components/_Icon/Icons/IconCrossThin.js.map +1 -0
  127. package/cjs/index.css +76 -81
  128. package/emotion/cjs/components/Autocomplete/Autocomplete.tokens.js +1 -0
  129. package/emotion/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  130. package/emotion/cjs/components/Badge/Badge.js +4 -22
  131. package/emotion/cjs/components/Badge/Badge.tokens.js +1 -2
  132. package/emotion/cjs/components/Calendar/Calendar.tokens.js +4 -0
  133. package/emotion/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -2
  134. package/emotion/cjs/components/Calendar/mixins/selected.js +3 -2
  135. package/emotion/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -3
  136. package/emotion/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +22 -17
  137. package/emotion/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +5 -4
  138. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +7 -7
  139. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +4 -4
  140. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +12 -12
  141. package/emotion/cjs/components/DatePicker/DatePicker.tokens.js +7 -0
  142. package/emotion/cjs/components/DatePicker/DatePickerBase.styles.js +3 -3
  143. package/emotion/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +5 -5
  144. package/emotion/cjs/components/Dropdown/Dropdown.styles.js +2 -2
  145. package/emotion/cjs/components/Dropdown/Dropdown.tokens.js +2 -1
  146. package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +6 -6
  147. package/emotion/cjs/components/Notification/Notification.js +18 -6
  148. package/emotion/cjs/components/Notification/Notification.styles.js +11 -11
  149. package/emotion/cjs/components/Notification/Notification.tokens.js +5 -1
  150. package/emotion/cjs/components/Notification/variations/_closeIconType/base.js +8 -0
  151. package/emotion/cjs/components/Notification/variations/_closeIconType/tokens.json +1 -0
  152. package/emotion/cjs/components/Pagination/Pagination.js +5 -5
  153. package/emotion/cjs/components/Pagination/Pagination.styles.js +8 -8
  154. package/emotion/cjs/components/Pagination/Pagination.tokens.js +4 -1
  155. package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  156. package/emotion/cjs/components/Tabs/tokens.js +8 -3
  157. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -19
  158. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +6 -6
  159. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +3 -19
  160. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +6 -6
  161. package/emotion/cjs/components/Toast/Toast.js +18 -6
  162. package/emotion/cjs/components/Toast/Toast.styles.js +6 -6
  163. package/emotion/cjs/components/Toast/Toast.tokens.js +3 -1
  164. package/emotion/cjs/components/Toast/variations/_closeIconType/base.js +8 -0
  165. package/emotion/cjs/components/Toast/variations/_closeIconType/tokens.json +1 -0
  166. package/emotion/cjs/components/_Icon/Icon.assets/CrossThin.js +21 -0
  167. package/emotion/cjs/components/_Icon/Icons/IconCrossThin.js +24 -0
  168. package/emotion/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +12 -12
  169. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +14 -17
  170. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -5
  171. package/emotion/cjs/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -5
  172. package/emotion/cjs/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -5
  173. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  174. package/emotion/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +7 -7
  175. package/emotion/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +5 -5
  176. package/emotion/cjs/examples/plasma_b2c/components/Notification/Notification.config.js +11 -6
  177. package/emotion/cjs/examples/plasma_b2c/components/Notification/Notification.stories.tsx +8 -0
  178. package/emotion/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +19 -51
  179. package/emotion/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -18
  180. package/emotion/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +6 -9
  181. package/emotion/cjs/examples/plasma_b2c/components/Toast/Toast.config.js +11 -6
  182. package/emotion/cjs/examples/plasma_b2c/components/Toast/Toast.stories.tsx +9 -0
  183. package/emotion/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +12 -12
  184. package/emotion/cjs/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -5
  185. package/emotion/cjs/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -5
  186. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
  187. package/emotion/cjs/examples/plasma_web/components/DatePicker/DatePicker.config.js +7 -7
  188. package/emotion/cjs/examples/plasma_web/components/Dropdown/Dropdown.config.js +5 -5
  189. package/emotion/cjs/examples/plasma_web/components/Notification/Notification.config.js +11 -6
  190. package/emotion/cjs/examples/plasma_web/components/Notification/Notification.stories.tsx +8 -0
  191. package/emotion/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +19 -51
  192. package/emotion/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -18
  193. package/emotion/cjs/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.js +6 -9
  194. package/emotion/cjs/examples/plasma_web/components/Toast/Toast.config.js +11 -6
  195. package/emotion/cjs/examples/plasma_web/components/Toast/Toast.stories.tsx +9 -0
  196. package/emotion/es/components/Autocomplete/Autocomplete.tokens.js +1 -0
  197. package/emotion/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  198. package/emotion/es/components/Badge/Badge.js +4 -23
  199. package/emotion/es/components/Badge/Badge.tokens.js +1 -2
  200. package/emotion/es/components/Calendar/Calendar.tokens.js +4 -0
  201. package/emotion/es/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -2
  202. package/emotion/es/components/Calendar/mixins/selected.js +3 -2
  203. package/emotion/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -5
  204. package/emotion/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +21 -16
  205. package/emotion/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +5 -4
  206. package/emotion/es/components/Combobox/ComboboxNew/Combobox.styles.js +7 -7
  207. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +4 -4
  208. package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +12 -12
  209. package/emotion/es/components/DatePicker/DatePicker.tokens.js +7 -0
  210. package/emotion/es/components/DatePicker/DatePickerBase.styles.js +3 -3
  211. package/emotion/es/components/DatePicker/SingleDate/SingleDate.styles.js +5 -5
  212. package/emotion/es/components/Dropdown/Dropdown.styles.js +2 -2
  213. package/emotion/es/components/Dropdown/Dropdown.tokens.js +2 -1
  214. package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +6 -6
  215. package/emotion/es/components/Notification/Notification.js +18 -6
  216. package/emotion/es/components/Notification/Notification.styles.js +11 -11
  217. package/emotion/es/components/Notification/Notification.tokens.js +5 -1
  218. package/emotion/es/components/Notification/variations/_closeIconType/base.js +2 -0
  219. package/emotion/es/components/Notification/variations/_closeIconType/tokens.json +1 -0
  220. package/emotion/es/components/Pagination/Pagination.js +5 -5
  221. package/emotion/es/components/Pagination/Pagination.styles.js +8 -8
  222. package/emotion/es/components/Pagination/Pagination.tokens.js +4 -1
  223. package/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  224. package/emotion/es/components/Tabs/tokens.js +8 -3
  225. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -20
  226. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +6 -6
  227. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +3 -20
  228. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +6 -6
  229. package/emotion/es/components/Toast/Toast.js +18 -6
  230. package/emotion/es/components/Toast/Toast.styles.js +6 -6
  231. package/emotion/es/components/Toast/Toast.tokens.js +3 -1
  232. package/emotion/es/components/Toast/variations/_closeIconType/base.js +2 -0
  233. package/emotion/es/components/Toast/variations/_closeIconType/tokens.json +1 -0
  234. package/emotion/es/components/_Icon/Icon.assets/CrossThin.js +14 -0
  235. package/emotion/es/components/_Icon/Icons/IconCrossThin.js +17 -0
  236. package/emotion/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +12 -12
  237. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.config.js +14 -17
  238. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -5
  239. package/emotion/es/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -5
  240. package/emotion/es/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -5
  241. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  242. package/emotion/es/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +7 -7
  243. package/emotion/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +5 -5
  244. package/emotion/es/examples/plasma_b2c/components/Notification/Notification.config.js +11 -6
  245. package/emotion/es/examples/plasma_b2c/components/Notification/Notification.stories.tsx +8 -0
  246. package/emotion/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +19 -51
  247. package/emotion/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -18
  248. package/emotion/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +6 -9
  249. package/emotion/es/examples/plasma_b2c/components/Toast/Toast.config.js +11 -6
  250. package/emotion/es/examples/plasma_b2c/components/Toast/Toast.stories.tsx +9 -0
  251. package/emotion/es/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +12 -12
  252. package/emotion/es/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -5
  253. package/emotion/es/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -5
  254. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
  255. package/emotion/es/examples/plasma_web/components/DatePicker/DatePicker.config.js +7 -7
  256. package/emotion/es/examples/plasma_web/components/Dropdown/Dropdown.config.js +5 -5
  257. package/emotion/es/examples/plasma_web/components/Notification/Notification.config.js +11 -6
  258. package/emotion/es/examples/plasma_web/components/Notification/Notification.stories.tsx +8 -0
  259. package/emotion/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +19 -51
  260. package/emotion/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -18
  261. package/emotion/es/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.js +6 -9
  262. package/emotion/es/examples/plasma_web/components/Toast/Toast.config.js +11 -6
  263. package/emotion/es/examples/plasma_web/components/Toast/Toast.stories.tsx +9 -0
  264. package/es/components/Autocomplete/Autocomplete.css +1 -1
  265. package/es/components/Autocomplete/Autocomplete.tokens.js +1 -0
  266. package/es/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
  267. package/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  268. package/es/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  269. package/es/components/Autocomplete/ui/TextField/{TextField.styles_1csckkd.css → TextField.styles_kcgaix.css} +1 -1
  270. package/es/components/Badge/Badge.css +0 -2
  271. package/es/components/Badge/Badge.js +5 -18
  272. package/es/components/Badge/Badge.js.map +1 -1
  273. package/es/components/Badge/Badge.tokens.js +1 -2
  274. package/es/components/Badge/Badge.tokens.js.map +1 -1
  275. package/es/components/Calendar/Calendar.tokens.js +4 -0
  276. package/es/components/Calendar/Calendar.tokens.js.map +1 -1
  277. package/es/components/Calendar/CalendarBase/CalendarBase.css +16 -15
  278. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  279. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  280. package/es/components/Calendar/CalendarBase/{CalendarBase.styles_1m6uih1.css → CalendarBase.styles_zk3a46.css} +1 -1
  281. package/es/components/Calendar/CalendarDouble/CalendarDouble.css +16 -15
  282. package/es/components/Calendar/ui/CalendarDays/CalendarDays.css +4 -4
  283. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.css +9 -8
  284. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +4 -5
  285. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  286. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +11 -2
  287. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  288. package/es/components/Calendar/ui/CalendarHeader/{CalendarHeader.styles_1jfelqf.css → CalendarHeader.styles_zgya4j.css} +1 -0
  289. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
  290. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.css +4 -4
  291. package/es/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
  292. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.css +4 -4
  293. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +1 -1
  294. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js.map +1 -1
  295. package/es/components/Calendar/ui/DateStructureItem/{DateStructureItem.styles_1nxxafr.css → DateStructureItem.styles_uzh6dj.css} +1 -1
  296. package/es/components/Combobox/ComboboxNew/Combobox.css +12 -12
  297. package/es/components/Combobox/ComboboxNew/Combobox.styles.js +3 -3
  298. package/es/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  299. package/es/components/Combobox/ComboboxNew/{Combobox.styles_1s09ifw.css → Combobox.styles_18a8p75.css} +1 -1
  300. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -26
  301. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  302. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +12 -12
  303. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +12 -12
  304. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +1 -1
  305. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  306. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/{Item.styles_y71664.css → Item.styles_1kzr84z.css} +2 -2
  307. package/es/components/Combobox/ComboboxOld/Combobox.css +5 -5
  308. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +5 -5
  309. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +5 -5
  310. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +5 -5
  311. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +5 -5
  312. package/es/components/DatePicker/DatePicker.tokens.js +7 -0
  313. package/es/components/DatePicker/DatePicker.tokens.js.map +1 -1
  314. package/es/components/DatePicker/DatePickerBase.styles.js +1 -1
  315. package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  316. package/es/components/DatePicker/DatePickerBase.styles_1vzl5em.css +2 -0
  317. package/es/components/DatePicker/RangeDate/RangeDate.css +20 -19
  318. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +18 -17
  319. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +1 -1
  320. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_k7d8e5.css +2 -0
  321. package/es/components/DatePicker/SingleDate/SingleDate.css +20 -19
  322. package/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  323. package/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  324. package/es/components/DatePicker/SingleDate/{SingleDate.styles_1rrq00l.css → SingleDate.styles_e72b5o.css} +1 -1
  325. package/es/components/Dropdown/Dropdown.css +5 -5
  326. package/es/components/Dropdown/Dropdown.styles.js +1 -1
  327. package/es/components/Dropdown/Dropdown.styles.js.map +1 -1
  328. package/es/components/Dropdown/{Dropdown.styles_1ix6io8.css → Dropdown.styles_dh7ns1.css} +1 -1
  329. package/es/components/Dropdown/Dropdown.tokens.js +2 -0
  330. package/es/components/Dropdown/Dropdown.tokens.js.map +1 -1
  331. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.css +5 -5
  332. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +1 -1
  333. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  334. package/es/components/Dropdown/ui/DropdownItem/{DropdownItem.styles_17va0nk.css → DropdownItem.styles_1b439rx.css} +1 -1
  335. package/es/components/Notification/Notification.css +11 -11
  336. package/es/components/Notification/Notification.js +18 -6
  337. package/es/components/Notification/Notification.js.map +1 -1
  338. package/es/components/Notification/Notification.styles.js +17 -17
  339. package/es/components/Notification/Notification.styles.js.map +1 -1
  340. package/es/components/Notification/{Notification.styles_e6274r.css → Notification.styles_ob8hsa.css} +2 -2
  341. package/es/components/Notification/Notification.tokens.js +5 -1
  342. package/es/components/Notification/Notification.tokens.js.map +1 -1
  343. package/es/components/Notification/Notification.types.js.map +1 -1
  344. package/es/components/Notification/NotificationsProvider.css +11 -11
  345. package/es/components/{Badge/variations/_truncate → Notification/variations/_closeIconType}/base.js +2 -2
  346. package/es/components/Notification/variations/_closeIconType/base.js.map +1 -0
  347. package/es/components/Notification/variations/_closeIconType/base_x642ct.css +1 -0
  348. package/es/components/Pagination/Pagination.css +10 -10
  349. package/es/components/Pagination/Pagination.js +5 -5
  350. package/es/components/Pagination/Pagination.js.map +1 -1
  351. package/es/components/Pagination/Pagination.styles.js +3 -3
  352. package/es/components/Pagination/Pagination.styles.js.map +1 -1
  353. package/es/components/Pagination/{Pagination.styles_y6gcva.css → Pagination.styles_1w5oej6.css} +1 -1
  354. package/es/components/Pagination/Pagination.tokens.js +4 -1
  355. package/es/components/Pagination/Pagination.tokens.js.map +1 -1
  356. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +3 -3
  357. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  358. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  359. package/es/components/Pagination/ui/PaginationSelectPerPage/{PaginationSelectPerPage.styles_187mk6b.css → PaginationSelectPerPage.styles_1fesyfv.css} +1 -1
  360. package/es/components/Tabs/tokens.js +8 -3
  361. package/es/components/Tabs/tokens.js.map +1 -1
  362. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +5 -7
  363. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +4 -15
  364. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  365. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  366. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  367. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_uaaqqg.css +5 -0
  368. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -7
  369. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +4 -15
  370. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js.map +1 -1
  371. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  372. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  373. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_1g7zipg.css +5 -0
  374. package/es/components/Toast/Toast.css +5 -5
  375. package/es/components/Toast/Toast.js +18 -6
  376. package/es/components/Toast/Toast.js.map +1 -1
  377. package/es/components/Toast/Toast.styles.js +3 -3
  378. package/es/components/Toast/Toast.styles.js.map +1 -1
  379. package/{cjs/components/Toast/Toast.styles_1v9oj7f.css → es/components/Toast/Toast.styles_1nei944.css} +1 -1
  380. package/es/components/Toast/Toast.tokens.js +3 -1
  381. package/es/components/Toast/Toast.tokens.js.map +1 -1
  382. package/es/components/Toast/ToastController.css +5 -5
  383. package/es/components/Toast/variations/_closeIconType/base.js +5 -0
  384. package/es/components/Toast/variations/_closeIconType/base.js.map +1 -0
  385. package/es/components/Toast/variations/_closeIconType/base_x642ct.css +1 -0
  386. package/es/components/_Icon/Icon.assets/CrossThin.js +18 -0
  387. package/es/components/_Icon/Icon.assets/CrossThin.js.map +1 -0
  388. package/es/components/_Icon/Icons/IconCrossThin.js +21 -0
  389. package/es/components/_Icon/Icons/IconCrossThin.js.map +1 -0
  390. package/es/index.css +76 -81
  391. package/package.json +2 -2
  392. package/styled-components/cjs/components/Autocomplete/Autocomplete.tokens.js +1 -0
  393. package/styled-components/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  394. package/styled-components/cjs/components/Badge/Badge.js +4 -22
  395. package/styled-components/cjs/components/Badge/Badge.tokens.js +1 -2
  396. package/styled-components/cjs/components/Calendar/Calendar.tokens.js +4 -0
  397. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  398. package/styled-components/cjs/components/Calendar/mixins/selected.js +3 -2
  399. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -3
  400. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +6 -2
  401. package/styled-components/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +1 -0
  402. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  403. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +4 -4
  404. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +2 -2
  405. package/styled-components/cjs/components/DatePicker/DatePicker.tokens.js +7 -0
  406. package/styled-components/cjs/components/DatePicker/DatePickerBase.styles.js +1 -1
  407. package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  408. package/styled-components/cjs/components/Dropdown/Dropdown.styles.js +2 -2
  409. package/styled-components/cjs/components/Dropdown/Dropdown.tokens.js +2 -1
  410. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +1 -1
  411. package/styled-components/cjs/components/Notification/Notification.js +18 -6
  412. package/styled-components/cjs/components/Notification/Notification.styles.js +2 -2
  413. package/styled-components/cjs/components/Notification/Notification.tokens.js +5 -1
  414. package/styled-components/cjs/components/Notification/variations/_closeIconType/base.js +8 -0
  415. package/styled-components/cjs/components/Notification/variations/_closeIconType/tokens.json +1 -0
  416. package/styled-components/cjs/components/Pagination/Pagination.js +5 -5
  417. package/styled-components/cjs/components/Pagination/Pagination.styles.js +1 -1
  418. package/styled-components/cjs/components/Pagination/Pagination.tokens.js +4 -1
  419. package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  420. package/styled-components/cjs/components/Tabs/tokens.js +8 -3
  421. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -19
  422. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +2 -2
  423. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +3 -19
  424. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +2 -2
  425. package/styled-components/cjs/components/Toast/Toast.js +18 -6
  426. package/styled-components/cjs/components/Toast/Toast.styles.js +1 -1
  427. package/styled-components/cjs/components/Toast/Toast.tokens.js +3 -1
  428. package/styled-components/cjs/components/Toast/variations/_closeIconType/base.js +8 -0
  429. package/styled-components/cjs/components/Toast/variations/_closeIconType/tokens.json +1 -0
  430. package/styled-components/cjs/components/_Icon/Icon.assets/CrossThin.js +21 -0
  431. package/styled-components/cjs/components/_Icon/Icons/IconCrossThin.js +24 -0
  432. package/styled-components/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +4 -4
  433. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +0 -3
  434. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -5
  435. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -5
  436. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -5
  437. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
  438. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +5 -5
  439. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +1 -1
  440. package/styled-components/cjs/examples/plasma_b2c/components/Notification/Notification.config.js +6 -1
  441. package/styled-components/cjs/examples/plasma_b2c/components/Notification/Notification.stories.tsx +8 -0
  442. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +19 -51
  443. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -3
  444. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +0 -3
  445. package/styled-components/cjs/examples/plasma_b2c/components/Toast/Toast.config.js +6 -1
  446. package/styled-components/cjs/examples/plasma_b2c/components/Toast/Toast.stories.tsx +9 -0
  447. package/styled-components/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +4 -4
  448. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -5
  449. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -5
  450. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
  451. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.config.js +5 -5
  452. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Dropdown.config.js +1 -1
  453. package/styled-components/cjs/examples/plasma_web/components/Notification/Notification.config.js +6 -1
  454. package/styled-components/cjs/examples/plasma_web/components/Notification/Notification.stories.tsx +8 -0
  455. package/styled-components/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +19 -51
  456. package/styled-components/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -3
  457. package/styled-components/cjs/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.js +0 -3
  458. package/styled-components/cjs/examples/plasma_web/components/Toast/Toast.config.js +6 -1
  459. package/styled-components/cjs/examples/plasma_web/components/Toast/Toast.stories.tsx +9 -0
  460. package/styled-components/es/components/Autocomplete/Autocomplete.tokens.js +1 -0
  461. package/styled-components/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  462. package/styled-components/es/components/Badge/Badge.js +4 -23
  463. package/styled-components/es/components/Badge/Badge.tokens.js +1 -2
  464. package/styled-components/es/components/Calendar/Calendar.tokens.js +4 -0
  465. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  466. package/styled-components/es/components/Calendar/mixins/selected.js +3 -2
  467. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -5
  468. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +5 -1
  469. package/styled-components/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +1 -0
  470. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  471. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +4 -4
  472. package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +2 -2
  473. package/styled-components/es/components/DatePicker/DatePicker.tokens.js +7 -0
  474. package/styled-components/es/components/DatePicker/DatePickerBase.styles.js +1 -1
  475. package/styled-components/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  476. package/styled-components/es/components/Dropdown/Dropdown.styles.js +2 -2
  477. package/styled-components/es/components/Dropdown/Dropdown.tokens.js +2 -1
  478. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +1 -1
  479. package/styled-components/es/components/Notification/Notification.js +18 -6
  480. package/styled-components/es/components/Notification/Notification.styles.js +2 -2
  481. package/styled-components/es/components/Notification/Notification.tokens.js +5 -1
  482. package/styled-components/es/components/Notification/variations/_closeIconType/base.js +2 -0
  483. package/styled-components/es/components/Notification/variations/_closeIconType/tokens.json +1 -0
  484. package/styled-components/es/components/Pagination/Pagination.js +5 -5
  485. package/styled-components/es/components/Pagination/Pagination.styles.js +1 -1
  486. package/styled-components/es/components/Pagination/Pagination.tokens.js +4 -1
  487. package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  488. package/styled-components/es/components/Tabs/tokens.js +8 -3
  489. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -20
  490. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +2 -2
  491. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +3 -20
  492. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +2 -2
  493. package/styled-components/es/components/Toast/Toast.js +18 -6
  494. package/styled-components/es/components/Toast/Toast.styles.js +1 -1
  495. package/styled-components/es/components/Toast/Toast.tokens.js +3 -1
  496. package/styled-components/es/components/Toast/variations/_closeIconType/base.js +2 -0
  497. package/styled-components/es/components/Toast/variations/_closeIconType/tokens.json +1 -0
  498. package/styled-components/es/components/_Icon/Icon.assets/CrossThin.js +14 -0
  499. package/styled-components/es/components/_Icon/Icons/IconCrossThin.js +17 -0
  500. package/styled-components/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +4 -4
  501. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.config.js +0 -3
  502. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -5
  503. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -5
  504. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -5
  505. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
  506. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +5 -5
  507. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +1 -1
  508. package/styled-components/es/examples/plasma_b2c/components/Notification/Notification.config.js +6 -1
  509. package/styled-components/es/examples/plasma_b2c/components/Notification/Notification.stories.tsx +8 -0
  510. package/styled-components/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +19 -51
  511. package/styled-components/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -3
  512. package/styled-components/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +0 -3
  513. package/styled-components/es/examples/plasma_b2c/components/Toast/Toast.config.js +6 -1
  514. package/styled-components/es/examples/plasma_b2c/components/Toast/Toast.stories.tsx +9 -0
  515. package/styled-components/es/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +4 -4
  516. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -5
  517. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -5
  518. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
  519. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.config.js +5 -5
  520. package/styled-components/es/examples/plasma_web/components/Dropdown/Dropdown.config.js +1 -1
  521. package/styled-components/es/examples/plasma_web/components/Notification/Notification.config.js +6 -1
  522. package/styled-components/es/examples/plasma_web/components/Notification/Notification.stories.tsx +8 -0
  523. package/styled-components/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +19 -51
  524. package/styled-components/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -3
  525. package/styled-components/es/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.js +0 -3
  526. package/styled-components/es/examples/plasma_web/components/Toast/Toast.config.js +6 -1
  527. package/styled-components/es/examples/plasma_web/components/Toast/Toast.stories.tsx +9 -0
  528. package/types/components/Autocomplete/Autocomplete.tokens.d.ts +1 -0
  529. package/types/components/Autocomplete/Autocomplete.tokens.d.ts.map +1 -1
  530. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  531. package/types/components/Badge/Badge.d.ts +2 -10
  532. package/types/components/Badge/Badge.d.ts.map +1 -1
  533. package/types/components/Badge/Badge.tokens.d.ts +0 -1
  534. package/types/components/Badge/Badge.tokens.d.ts.map +1 -1
  535. package/types/components/Badge/Badge.types.d.ts +0 -5
  536. package/types/components/Badge/Badge.types.d.ts.map +1 -1
  537. package/types/components/Calendar/Calendar.tokens.d.ts +4 -0
  538. package/types/components/Calendar/Calendar.tokens.d.ts.map +1 -1
  539. package/types/components/Calendar/CalendarBase/CalendarBase.styles.d.ts.map +1 -1
  540. package/types/components/Calendar/mixins/selected.d.ts +4 -0
  541. package/types/components/Calendar/mixins/selected.d.ts.map +1 -1
  542. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.d.ts.map +1 -1
  543. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts +1 -0
  544. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts.map +1 -1
  545. package/types/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.d.ts.map +1 -1
  546. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +3 -3
  547. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  548. package/types/components/DatePicker/DatePicker.tokens.d.ts +7 -0
  549. package/types/components/DatePicker/DatePicker.tokens.d.ts.map +1 -1
  550. package/types/components/DatePicker/DatePickerBase.styles.d.ts.map +1 -1
  551. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  552. package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
  553. package/types/components/Dropdown/Dropdown.tokens.d.ts +2 -1
  554. package/types/components/Dropdown/Dropdown.tokens.d.ts.map +1 -1
  555. package/types/components/Notification/Notification.d.ts +4 -0
  556. package/types/components/Notification/Notification.d.ts.map +1 -1
  557. package/types/components/Notification/Notification.styles.d.ts.map +1 -1
  558. package/types/components/Notification/Notification.tokens.d.ts +4 -0
  559. package/types/components/Notification/Notification.tokens.d.ts.map +1 -1
  560. package/types/components/Notification/Notification.types.d.ts +4 -0
  561. package/types/components/Notification/Notification.types.d.ts.map +1 -1
  562. package/types/components/Notification/variations/_closeIconType/base.d.ts.map +1 -0
  563. package/types/components/Pagination/Pagination.d.ts.map +1 -1
  564. package/types/components/Pagination/Pagination.styles.d.ts.map +1 -1
  565. package/types/components/Pagination/Pagination.tokens.d.ts +3 -0
  566. package/types/components/Pagination/Pagination.tokens.d.ts.map +1 -1
  567. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  568. package/types/components/Tabs/TabItem.types.d.ts +0 -5
  569. package/types/components/Tabs/TabItem.types.d.ts.map +1 -1
  570. package/types/components/Tabs/tokens.d.ts +6 -1
  571. package/types/components/Tabs/tokens.d.ts.map +1 -1
  572. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.d.ts +2 -9
  573. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.d.ts.map +1 -1
  574. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.d.ts.map +1 -1
  575. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.d.ts +2 -9
  576. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.d.ts.map +1 -1
  577. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.d.ts.map +1 -1
  578. package/types/components/Toast/Toast.d.ts +4 -0
  579. package/types/components/Toast/Toast.d.ts.map +1 -1
  580. package/types/components/Toast/Toast.tokens.d.ts +2 -0
  581. package/types/components/Toast/Toast.tokens.d.ts.map +1 -1
  582. package/types/components/Toast/Toast.types.d.ts +8 -0
  583. package/types/components/Toast/Toast.types.d.ts.map +1 -1
  584. package/types/components/Toast/variations/_closeIconType/base.d.ts.map +1 -0
  585. package/types/components/_Icon/Icon.assets/CrossThin.d.ts +4 -0
  586. package/types/components/_Icon/Icon.assets/CrossThin.d.ts.map +1 -0
  587. package/types/components/_Icon/Icons/IconCrossThin.d.ts +4 -0
  588. package/types/components/_Icon/Icons/IconCrossThin.d.ts.map +1 -0
  589. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.d.ts.map +1 -1
  590. package/types/examples/plasma_b2c/components/Badge/Badge.config.d.ts +0 -3
  591. package/types/examples/plasma_b2c/components/Badge/Badge.config.d.ts.map +1 -1
  592. package/types/examples/plasma_b2c/components/Badge/Badge.d.ts +0 -6
  593. package/types/examples/plasma_b2c/components/Badge/Badge.d.ts.map +1 -1
  594. package/types/examples/plasma_b2c/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  595. package/types/examples/plasma_b2c/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  596. package/types/examples/plasma_b2c/components/Combobox/Combobox.config.d.ts.map +1 -1
  597. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.config.d.ts.map +1 -1
  598. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.config.d.ts.map +1 -1
  599. package/types/examples/plasma_b2c/components/Notification/Notification.config.d.ts +5 -0
  600. package/types/examples/plasma_b2c/components/Notification/Notification.config.d.ts.map +1 -1
  601. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts +0 -6
  602. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts.map +1 -1
  603. package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.d.ts +0 -3
  604. package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.d.ts.map +1 -1
  605. package/types/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.d.ts +0 -3
  606. package/types/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.d.ts.map +1 -1
  607. package/types/examples/plasma_b2c/components/Toast/Toast.config.d.ts +5 -0
  608. package/types/examples/plasma_b2c/components/Toast/Toast.config.d.ts.map +1 -1
  609. package/types/examples/plasma_b2c/components/Toast/Toast.d.ts +4 -0
  610. package/types/examples/plasma_b2c/components/Toast/Toast.d.ts.map +1 -1
  611. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.config.d.ts.map +1 -1
  612. package/types/examples/plasma_web/components/Badge/Badge.d.ts +0 -3
  613. package/types/examples/plasma_web/components/Badge/Badge.d.ts.map +1 -1
  614. package/types/examples/plasma_web/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  615. package/types/examples/plasma_web/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  616. package/types/examples/plasma_web/components/Combobox/Combobox.config.d.ts.map +1 -1
  617. package/types/examples/plasma_web/components/DatePicker/DatePicker.config.d.ts.map +1 -1
  618. package/types/examples/plasma_web/components/Dropdown/Dropdown.config.d.ts.map +1 -1
  619. package/types/examples/plasma_web/components/Notification/Notification.config.d.ts +5 -0
  620. package/types/examples/plasma_web/components/Notification/Notification.config.d.ts.map +1 -1
  621. package/types/examples/plasma_web/components/Tabs/TabItem.d.ts +0 -6
  622. package/types/examples/plasma_web/components/Tabs/TabItem.d.ts.map +1 -1
  623. package/types/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.d.ts +0 -3
  624. package/types/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.d.ts.map +1 -1
  625. package/types/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.d.ts +0 -3
  626. package/types/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.d.ts.map +1 -1
  627. package/types/examples/plasma_web/components/Toast/Toast.config.d.ts +5 -0
  628. package/types/examples/plasma_web/components/Toast/Toast.config.d.ts.map +1 -1
  629. package/types/examples/plasma_web/components/Toast/Toast.d.ts +4 -0
  630. package/types/examples/plasma_web/components/Toast/Toast.d.ts.map +1 -1
  631. package/cjs/components/Badge/variations/_truncate/base.js.map +0 -1
  632. package/cjs/components/Badge/variations/_truncate/base_nf9u2h.css +0 -1
  633. package/cjs/components/DatePicker/DatePickerBase.styles_mjc9xz.css +0 -2
  634. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1gljtdv.css +0 -2
  635. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_1vj7dbl.css +0 -5
  636. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js.map +0 -1
  637. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base_1b34xv3.css +0 -1
  638. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_hh65kv.css +0 -5
  639. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -9
  640. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js.map +0 -1
  641. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base_1nwonlh.css +0 -1
  642. package/emotion/cjs/components/Badge/variations/_truncate/base.js +0 -10
  643. package/emotion/cjs/components/Badge/variations/_truncate/tokens.json +0 -1
  644. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -10
  645. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +0 -1
  646. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -10
  647. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +0 -1
  648. package/emotion/es/components/Badge/variations/_truncate/base.js +0 -4
  649. package/emotion/es/components/Badge/variations/_truncate/tokens.json +0 -1
  650. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -4
  651. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +0 -1
  652. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -4
  653. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +0 -1
  654. package/es/components/Badge/variations/_truncate/base.js.map +0 -1
  655. package/es/components/Badge/variations/_truncate/base_nf9u2h.css +0 -1
  656. package/es/components/DatePicker/DatePickerBase.styles_mjc9xz.css +0 -2
  657. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1gljtdv.css +0 -2
  658. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_1vj7dbl.css +0 -5
  659. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -5
  660. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js.map +0 -1
  661. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base_1b34xv3.css +0 -1
  662. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_hh65kv.css +0 -5
  663. package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -5
  664. package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js.map +0 -1
  665. package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base_1nwonlh.css +0 -1
  666. package/styled-components/cjs/components/Badge/variations/_truncate/base.js +0 -10
  667. package/styled-components/cjs/components/Badge/variations/_truncate/tokens.json +0 -1
  668. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -10
  669. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +0 -1
  670. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -10
  671. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +0 -1
  672. package/styled-components/es/components/Badge/variations/_truncate/base.js +0 -4
  673. package/styled-components/es/components/Badge/variations/_truncate/tokens.json +0 -1
  674. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -4
  675. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +0 -1
  676. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -4
  677. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +0 -1
  678. package/types/components/Badge/variations/_truncate/base.d.ts.map +0 -1
  679. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.d.ts.map +0 -1
  680. package/types/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.d.ts +0 -2
  681. package/types/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.d.ts.map +0 -1
  682. /package/types/components/{Badge/variations/_truncate → Notification/variations/_closeIconType}/base.d.ts +0 -0
  683. /package/types/components/{Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate → Toast/variations/_closeIconType}/base.d.ts +0 -0
@@ -30,14 +30,14 @@
30
30
  .Button_styles_1sopr3d_s1rjh7ra__8219590b{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:var(--plasma-button-right-content-margin);-webkit-align-self:var(--plasma-button-right-content-align-self);-ms-flex-item-align:var(--plasma-button-right-content-align);align-self:var(--plasma-button-right-content-align-self);}
31
31
  .Button_styles_1sopr3d_b9ga1dj__8219590b{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);--plasma_private-btn-br:var(--plasma_computed-btn-br);border-radius:var(--plasma_private-btn-br);}a.Button_styles_1sopr3d_b9ga1dj__8219590b{-webkit-text-decoration:none;text-decoration:none;}.Button_styles_1sopr3d_b9ga1dj__8219590b.Button_styles_1sopr3d_b9ga1dj__8219590b.Button_styles_1sopr3d_buttonSquare__8219590b{width:var(--plasma-button-height);padding:0;}
32
32
 
33
- .Notification_styles_e6274r_sb12p__56467d3e{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;}
34
- .Notification_styles_e6274r_crvd7hm__56467d3e{position:absolute;width:1.5rem;height:1.5rem;color:var(--plasma-notification-close-icon-color);}.Notification_styles_e6274r_crvd7hm__56467d3e:hover{color:var(--plasma-notification-close-icon-color-on-hover);}.Notification_styles_e6274r_crvd7hm__56467d3e.Notification_styles_e6274r_notificationLayoutHorizontal__56467d3e{position:relative;}
35
- .Notification_styles_e6274r_wg1ga5v__56467d3e{position:relative;box-sizing:border-box;background:var(--plasma-notification-backgorund);border-radius:var(--plasma-notification-border-radius);}.Notification_styles_e6274r_wg1ga5v__56467d3e.Notification_styles_e6274r_notificationLayoutHorizontal__56467d3e{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:var(--plasma-notification-horizontal-layout-gap);}
36
- .Notification_styles_e6274r_b1amsn8a__56467d3e{margin-top:var(--plasma-notification-buttons-margin-top);margin-left:var(--b1amsn8a-0);}.Notification_styles_e6274r_b1amsn8a__56467d3e.Notification_styles_e6274r_notificationLayoutHorizontal__56467d3e{margin-top:unset;margin-left:unset;}
37
- .Notification_styles_e6274r_i14raqr9__56467d3e{width:var(--plasma-notification-content-left-icon-size);height:var(--plasma-notification-content-left-icon-size);margin-right:var(--i14raqr9-0);margin-bottom:var(--i14raqr9-1);}.Notification_styles_e6274r_i14raqr9__56467d3e.Notification_styles_e6274r_notificationLayoutHorizontal__56467d3e{margin-right:var(--plasma-notification-horizontal-layout-left-icon-margin);margin-bottom:unset;}
38
- .Notification_styles_e6274r_c157peez__56467d3e{display:var(--c157peez-0);padding-top:var(--c157peez-1);}.Notification_styles_e6274r_c157peez__56467d3e.Notification_styles_e6274r_notificationLayoutHorizontal__56467d3e{padding:unset;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}
39
- .Notification_styles_e6274r_t1vmb0f2__56467d3e{padding:var(--plasma-notification-textbox-padding-top) var(--plasma-notification-textbox-padding-right) var(--plasma-notification-textbox-padding-bottom) var(--plasma-notification-textbox-padding-left);padding-top:var(--t1vmb0f2-0);padding-right:var(--t1vmb0f2-1);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;row-gap:var(--plasma-notification-textbox-gap);word-break:break-word;}.Notification_styles_e6274r_t1vmb0f2__56467d3e.Notification_styles_e6274r_notificationLayoutHorizontal__56467d3e{padding:unset;}
40
- .Notification_styles_e6274r_s1k4e58v__56467d3e{font-family:var(--plasma-notification-title-font-family);font-size:var(--plasma-notification-title-font-size);font-style:var(--plasma-notification-title-font-style);font-weight:var(--plasma-notification-title-font-weight);-webkit-letter-spacing:var(--plasma-notification-title-font-letter-spacing);-moz-letter-spacing:var(--plasma-notification-title-font-letter-spacing);-ms-letter-spacing:var(--plasma-notification-title-font-letter-spacing);letter-spacing:var(--plasma-notification-title-font-letter-spacing);line-height:var(--plasma-notification-title-font-line-height);overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
41
- .Notification_styles_e6274r_s92kmpm__56467d3e{font-family:var(--plasma-notification-content-font-family);font-size:var(--plasma-notification-content-font-size);font-style:var(--plasma-notification-content-font-style);font-weight:var(--plasma-notification-content-font-weight);-webkit-letter-spacing:var(--plasma-notification-content-font-letter-spacing);-moz-letter-spacing:var(--plasma-notification-content-font-letter-spacing);-ms-letter-spacing:var(--plasma-notification-content-font-letter-spacing);letter-spacing:var(--plasma-notification-content-font-letter-spacing);line-height:var(--plasma-notification-content-font-line-height);overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;color:var(--plasma-notification-content-color);}
42
- .Notification_styles_e6274r_s18m0x6v__56467d3e{margin-top:1rem;opacity:1;}.Notification_styles_e6274r_s18m0x6v__56467d3e.Notification_styles_e6274r_s18m0x6v__56467d3e.Notification_styles_e6274r_notificationItemOpened__56467d3e{-webkit-animation:0.4s Notification_styles_e6274r_showAnimationS18m0x6v__56467d3e ease-out;animation:0.4s Notification_styles_e6274r_showAnimationS18m0x6v__56467d3e ease-out;}.Notification_styles_e6274r_s18m0x6v__56467d3e.Notification_styles_e6274r_s18m0x6v__56467d3e.Notification_styles_e6274r_notificationItemOpened__56467d3e.Notification_styles_e6274r_notificationLeftToRightAnimation__56467d3e{-webkit-animation:0.4s Notification_styles_e6274r_showLeftToRightAnimationS18m0x6v__56467d3e ease-out;animation:0.4s Notification_styles_e6274r_showLeftToRightAnimationS18m0x6v__56467d3e ease-out;}.Notification_styles_e6274r_s18m0x6v__56467d3e.Notification_styles_e6274r_s18m0x6v__56467d3e.Notification_styles_e6274r_notificationItemHidden__56467d3e{-webkit-animation:0.4s Notification_styles_e6274r_hideAnimationS18m0x6v__56467d3e ease-out;animation:0.4s Notification_styles_e6274r_hideAnimationS18m0x6v__56467d3e ease-out;}.Notification_styles_e6274r_s18m0x6v__56467d3e.Notification_styles_e6274r_s18m0x6v__56467d3e.Notification_styles_e6274r_notificationItemHidden__56467d3e.Notification_styles_e6274r_notificationLeftToRightAnimation__56467d3e{-webkit-animation:0.4s Notification_styles_e6274r_hideLeftToRightAnimationS18m0x6v__56467d3e ease-out;animation:0.4s Notification_styles_e6274r_hideLeftToRightAnimationS18m0x6v__56467d3e ease-out;}@-webkit-keyframes Notification_styles_e6274r_showLeftToRightAnimationS18m0x6v__56467d3e{0%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);opacity:0;}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}}@keyframes Notification_styles_e6274r_showLeftToRightAnimationS18m0x6v__56467d3e{0%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);opacity:0;}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}}@-webkit-keyframes Notification_styles_e6274r_hideLeftToRightAnimationS18m0x6v__56467d3e{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}100%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);opacity:0;}}@keyframes Notification_styles_e6274r_hideLeftToRightAnimationS18m0x6v__56467d3e{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}100%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);opacity:0;}}@-webkit-keyframes Notification_styles_e6274r_showAnimationS18m0x6v__56467d3e{0%{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);opacity:0;}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}}@keyframes Notification_styles_e6274r_showAnimationS18m0x6v__56467d3e{0%{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);opacity:0;}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}}@-webkit-keyframes Notification_styles_e6274r_hideAnimationS18m0x6v__56467d3e{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}100%{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);opacity:0;}}@keyframes Notification_styles_e6274r_hideAnimationS18m0x6v__56467d3e{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}100%{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);opacity:0;}}
43
- .Notification_styles_e6274r_sfe5ql2__56467d3e{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;box-sizing:border-box;padding:0 1.5rem 1.5rem;max-height:100%;-webkit-align-items:var(--sfe5ql2-0);-webkit-box-align:var(--sfe5ql2-0);-ms-flex-align:var(--sfe5ql2-0);align-items:var(--sfe5ql2-0);}
33
+ .Notification_styles_ob8hsa_sb12p__cd062abd{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;}
34
+ .Notification_styles_ob8hsa_crvd7hm__cd062abd{position:absolute;width:var(--plasma-notification-close-icon-button-size);height:var(--plasma-notification-close-icon-button-size);color:var(--plasma-notification-close-icon-color);}.Notification_styles_ob8hsa_crvd7hm__cd062abd:hover{color:var(--plasma-notification-close-icon-color-on-hover);}.Notification_styles_ob8hsa_crvd7hm__cd062abd.Notification_styles_ob8hsa_notificationLayoutHorizontal__cd062abd{position:relative;}
35
+ .Notification_styles_ob8hsa_wg1ga5v__cd062abd{position:relative;box-sizing:border-box;background:var(--plasma-notification-backgorund);border-radius:var(--plasma-notification-border-radius);border:var(--plasma-notification-border-width) solid var(--plasma-notification-border-color);}.Notification_styles_ob8hsa_wg1ga5v__cd062abd.Notification_styles_ob8hsa_notificationLayoutHorizontal__cd062abd{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:var(--plasma-notification-horizontal-layout-gap);}
36
+ .Notification_styles_ob8hsa_b1amsn8a__cd062abd{margin-top:var(--plasma-notification-buttons-margin-top);margin-left:var(--b1amsn8a-0);}.Notification_styles_ob8hsa_b1amsn8a__cd062abd.Notification_styles_ob8hsa_notificationLayoutHorizontal__cd062abd{margin-top:unset;margin-left:unset;}
37
+ .Notification_styles_ob8hsa_i14raqr9__cd062abd{width:var(--plasma-notification-content-left-icon-size);height:var(--plasma-notification-content-left-icon-size);margin-right:var(--i14raqr9-0);margin-bottom:var(--i14raqr9-1);}.Notification_styles_ob8hsa_i14raqr9__cd062abd.Notification_styles_ob8hsa_notificationLayoutHorizontal__cd062abd{margin-right:var(--plasma-notification-horizontal-layout-left-icon-margin);margin-bottom:unset;}
38
+ .Notification_styles_ob8hsa_c157peez__cd062abd{display:var(--c157peez-0);padding-top:var(--c157peez-1);}.Notification_styles_ob8hsa_c157peez__cd062abd.Notification_styles_ob8hsa_notificationLayoutHorizontal__cd062abd{padding:unset;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}
39
+ .Notification_styles_ob8hsa_t1vmb0f2__cd062abd{padding:var(--plasma-notification-textbox-padding-top) var(--plasma-notification-textbox-padding-right) var(--plasma-notification-textbox-padding-bottom) var(--plasma-notification-textbox-padding-left);padding-top:var(--t1vmb0f2-0);padding-right:var(--t1vmb0f2-1);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;row-gap:var(--plasma-notification-textbox-gap);word-break:break-word;}.Notification_styles_ob8hsa_t1vmb0f2__cd062abd.Notification_styles_ob8hsa_notificationLayoutHorizontal__cd062abd{padding:unset;}
40
+ .Notification_styles_ob8hsa_s1k4e58v__cd062abd{font-family:var(--plasma-notification-title-font-family);font-size:var(--plasma-notification-title-font-size);font-style:var(--plasma-notification-title-font-style);font-weight:var(--plasma-notification-title-font-weight);-webkit-letter-spacing:var(--plasma-notification-title-font-letter-spacing);-moz-letter-spacing:var(--plasma-notification-title-font-letter-spacing);-ms-letter-spacing:var(--plasma-notification-title-font-letter-spacing);letter-spacing:var(--plasma-notification-title-font-letter-spacing);line-height:var(--plasma-notification-title-font-line-height);overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
41
+ .Notification_styles_ob8hsa_s92kmpm__cd062abd{font-family:var(--plasma-notification-content-font-family);font-size:var(--plasma-notification-content-font-size);font-style:var(--plasma-notification-content-font-style);font-weight:var(--plasma-notification-content-font-weight);-webkit-letter-spacing:var(--plasma-notification-content-font-letter-spacing);-moz-letter-spacing:var(--plasma-notification-content-font-letter-spacing);-ms-letter-spacing:var(--plasma-notification-content-font-letter-spacing);letter-spacing:var(--plasma-notification-content-font-letter-spacing);line-height:var(--plasma-notification-content-font-line-height);overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;color:var(--plasma-notification-content-color);}
42
+ .Notification_styles_ob8hsa_s18m0x6v__cd062abd{margin-top:1rem;opacity:1;}.Notification_styles_ob8hsa_s18m0x6v__cd062abd.Notification_styles_ob8hsa_s18m0x6v__cd062abd.Notification_styles_ob8hsa_notificationItemOpened__cd062abd{-webkit-animation:0.4s Notification_styles_ob8hsa_showAnimationS18m0x6v__cd062abd ease-out;animation:0.4s Notification_styles_ob8hsa_showAnimationS18m0x6v__cd062abd ease-out;}.Notification_styles_ob8hsa_s18m0x6v__cd062abd.Notification_styles_ob8hsa_s18m0x6v__cd062abd.Notification_styles_ob8hsa_notificationItemOpened__cd062abd.Notification_styles_ob8hsa_notificationLeftToRightAnimation__cd062abd{-webkit-animation:0.4s Notification_styles_ob8hsa_showLeftToRightAnimationS18m0x6v__cd062abd ease-out;animation:0.4s Notification_styles_ob8hsa_showLeftToRightAnimationS18m0x6v__cd062abd ease-out;}.Notification_styles_ob8hsa_s18m0x6v__cd062abd.Notification_styles_ob8hsa_s18m0x6v__cd062abd.Notification_styles_ob8hsa_notificationItemHidden__cd062abd{-webkit-animation:0.4s Notification_styles_ob8hsa_hideAnimationS18m0x6v__cd062abd ease-out;animation:0.4s Notification_styles_ob8hsa_hideAnimationS18m0x6v__cd062abd ease-out;}.Notification_styles_ob8hsa_s18m0x6v__cd062abd.Notification_styles_ob8hsa_s18m0x6v__cd062abd.Notification_styles_ob8hsa_notificationItemHidden__cd062abd.Notification_styles_ob8hsa_notificationLeftToRightAnimation__cd062abd{-webkit-animation:0.4s Notification_styles_ob8hsa_hideLeftToRightAnimationS18m0x6v__cd062abd ease-out;animation:0.4s Notification_styles_ob8hsa_hideLeftToRightAnimationS18m0x6v__cd062abd ease-out;}@-webkit-keyframes Notification_styles_ob8hsa_showLeftToRightAnimationS18m0x6v__cd062abd{0%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);opacity:0;}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}}@keyframes Notification_styles_ob8hsa_showLeftToRightAnimationS18m0x6v__cd062abd{0%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);opacity:0;}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}}@-webkit-keyframes Notification_styles_ob8hsa_hideLeftToRightAnimationS18m0x6v__cd062abd{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}100%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);opacity:0;}}@keyframes Notification_styles_ob8hsa_hideLeftToRightAnimationS18m0x6v__cd062abd{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}100%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);opacity:0;}}@-webkit-keyframes Notification_styles_ob8hsa_showAnimationS18m0x6v__cd062abd{0%{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);opacity:0;}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}}@keyframes Notification_styles_ob8hsa_showAnimationS18m0x6v__cd062abd{0%{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);opacity:0;}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}}@-webkit-keyframes Notification_styles_ob8hsa_hideAnimationS18m0x6v__cd062abd{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}100%{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);opacity:0;}}@keyframes Notification_styles_ob8hsa_hideAnimationS18m0x6v__cd062abd{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}100%{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);opacity:0;}}
43
+ .Notification_styles_ob8hsa_sfe5ql2__cd062abd{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;box-sizing:border-box;padding:0 1.5rem 1.5rem;max-height:100%;-webkit-align-items:var(--sfe5ql2-0);-webkit-box-align:var(--sfe5ql2-0);-ms-flex-align:var(--sfe5ql2-0);align-items:var(--sfe5ql2-0);}
@@ -2,16 +2,17 @@ import { objectWithoutProperties as _objectWithoutProperties, extends as _extend
2
2
  import React, { forwardRef, useMemo } from 'react';
3
3
  import { cx } from '../../utils/index.js';
4
4
  import { IconCross } from '../_Icon/Icons/IconCross.js';
5
- import { classes } from './Notification.tokens.js';
5
+ import { IconCrossThin } from '../_Icon/Icons/IconCrossThin.js';
6
+ import { classes, tokens } from './Notification.tokens.js';
6
7
  import { base as base$1 } from './variations/_view/base.js';
7
8
  import { base } from './variations/_layout/base.js';
8
9
  import { base as base$2 } from './variations/_size/base.js';
10
+ import { base as base$3 } from './variations/_closeIconType/base.js';
9
11
  import { layouts } from './Notification.types.js';
10
12
  import { Wrapper, ContentBox, IconWrapper, TextBox, StyledTitle, StyledContent, ButtonsWrapper, CloseIconWrapper, StyledNotification } from './Notification.styles.js';
11
13
  import { getLayoutClass } from './utils/index.js';
12
14
 
13
- var _IconCross;
14
- var _excluded = ["role", "title", "children", "actions", "view", "size", "iconPlacement", "showCloseIcon", "layout", "icon", "onCloseButtonClick"];
15
+ var _excluded = ["role", "title", "children", "actions", "view", "size", "iconPlacement", "showCloseIcon", "layout", "icon", "closeIconType", "onCloseButtonClick"];
15
16
 
16
17
  /**
17
18
  * Компонент для небольших уведомлений пользователя
@@ -31,6 +32,7 @@ var notificationRoot = function notificationRoot(Root) {
31
32
  _props$layout = props.layout,
32
33
  layout = _props$layout === void 0 ? layouts.vertical : _props$layout,
33
34
  icon = props.icon,
35
+ closeIconType = props.closeIconType,
34
36
  onCloseButtonClick = props.onCloseButtonClick,
35
37
  rest = _objectWithoutProperties(props, _excluded);
36
38
  var ariaLive = 'polite';
@@ -51,6 +53,7 @@ var notificationRoot = function notificationRoot(Root) {
51
53
  view: view,
52
54
  size: size,
53
55
  layout: layout,
56
+ closeIconType: closeIconType,
54
57
  ref: ref,
55
58
  role: role,
56
59
  "aria-live": ariaLive,
@@ -79,10 +82,15 @@ var notificationRoot = function notificationRoot(Root) {
79
82
  size: "s",
80
83
  onClick: onCloseButtonClick,
81
84
  className: cx(classes.closeIcon, getLayoutClass(layout))
82
- }, _IconCross || (_IconCross = /*#__PURE__*/React.createElement(IconCross, {
85
+ }, closeIconType === 'default' ? /*#__PURE__*/React.createElement(IconCross, {
83
86
  size: "s",
87
+ sizeCustomProperty: tokens.closeIconSize,
84
88
  color: "inherit"
85
- })))));
89
+ }) : /*#__PURE__*/React.createElement(IconCrossThin, {
90
+ size: "s",
91
+ sizeCustomProperty: tokens.closeIconSize,
92
+ color: "inherit"
93
+ }))));
86
94
  });
87
95
  };
88
96
  var notificationConfig = {
@@ -99,12 +107,16 @@ var notificationConfig = {
99
107
  },
100
108
  size: {
101
109
  css: base$2
110
+ },
111
+ closeIconType: {
112
+ css: base$3
102
113
  }
103
114
  },
104
115
  defaults: {
105
116
  view: 'default',
106
117
  layout: layouts.vertical,
107
- size: 'xs'
118
+ size: 'xs',
119
+ closeIconType: 'default'
108
120
  }
109
121
  };
110
122
 
@@ -1 +1 @@
1
- {"version":3,"file":"Notification.js","sources":["../../../src/components/Notification/Notification.tsx"],"sourcesContent":["import React, { forwardRef, useMemo } from 'react';\n\nimport { RootProps } from '../../engines';\nimport { cx } from '../../utils';\nimport { IconCross } from '../_Icon/Icons/IconCross';\n\nimport { classes } from './Notification.tokens';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as layoutCSS } from './variations/_layout/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { NotificationLayout, NotificationProps, layouts } from './Notification.types';\nimport {\n ButtonsWrapper,\n CloseIconWrapper,\n ContentBox,\n IconWrapper,\n StyledContent,\n StyledNotification,\n StyledTitle,\n TextBox,\n Wrapper,\n} from './Notification.styles';\nimport { getLayoutClass } from './utils';\n\n/**\n * Компонент для небольших уведомлений пользователя\n */\nexport const notificationRoot = (Root: RootProps<HTMLDivElement, Omit<NotificationProps, 'title'>>) =>\n forwardRef<HTMLDivElement, NotificationProps>((props, ref) => {\n const {\n role = 'status',\n title,\n children: content,\n actions,\n view,\n size,\n iconPlacement,\n showCloseIcon = true,\n layout = layouts.vertical as NotificationLayout,\n icon,\n onCloseButtonClick,\n ...rest\n } = props;\n\n let ariaLive: 'assertive' | 'polite' = 'polite';\n let ariaAtomic = false;\n\n if (role === 'alert') {\n ariaLive = 'assertive';\n } else if (role === 'status') {\n ariaAtomic = true;\n }\n\n const isOneLine = !content || !title;\n const oneLineClass = isOneLine ? classes.oneLine : undefined;\n const withoutIconClass = icon ? undefined : classes.withoutIcon;\n const withoutCloseIconClass = showCloseIcon ? undefined : classes.withoutCloseIcon;\n\n const IconPlacementInternal = useMemo(() => (icon ? iconPlacement : undefined), [icon, iconPlacement]);\n\n return (\n <Root\n view={view}\n size={size}\n layout={layout}\n ref={ref}\n role={role}\n aria-live={ariaLive}\n aria-atomic={ariaAtomic}\n {...rest}\n >\n <Wrapper className={cx(classes.wrapper, getLayoutClass(layout), oneLineClass, withoutCloseIconClass)}>\n <ContentBox\n iconPlacement={IconPlacementInternal}\n className={cx(classes.contentBox, getLayoutClass(layout), withoutIconClass)}\n >\n {icon && (\n <IconWrapper\n iconPlacement={IconPlacementInternal}\n className={cx(classes.icon, getLayoutClass(layout))}\n >\n {icon}\n </IconWrapper>\n )}\n <TextBox\n iconPlacement={IconPlacementInternal}\n showCloseIcon={showCloseIcon}\n className={cx(classes.textbox, getLayoutClass(layout))}\n >\n {title && <StyledTitle className={classes.title}>{title}</StyledTitle>}\n {content && <StyledContent className={classes.text}>{content}</StyledContent>}\n </TextBox>\n </ContentBox>\n {actions && (\n <ButtonsWrapper\n iconPlacement={IconPlacementInternal}\n className={cx(classes.buttonsWrapper, getLayoutClass(layout))}\n >\n {actions}\n </ButtonsWrapper>\n )}\n\n {showCloseIcon && (\n <CloseIconWrapper\n view=\"clear\"\n size=\"s\"\n onClick={onCloseButtonClick}\n className={cx(classes.closeIcon, getLayoutClass(layout))}\n >\n <IconCross size=\"s\" color=\"inherit\" />\n </CloseIconWrapper>\n )}\n </Wrapper>\n </Root>\n );\n });\n\nexport const notificationConfig = {\n name: 'Notification',\n tag: 'div',\n layout: notificationRoot,\n base: StyledNotification,\n variations: {\n layout: {\n css: layoutCSS,\n },\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n view: 'default',\n layout: layouts.vertical,\n size: 'xs',\n },\n};\n"],"names":["notificationRoot","Root","forwardRef","props","ref","_props$role","role","title","content","children","actions","view","size","iconPlacement","_props$showCloseIcon","showCloseIcon","_props$layout","layout","layouts","vertical","icon","onCloseButtonClick","rest","_objectWithoutProperties","_excluded","ariaLive","ariaAtomic","isOneLine","oneLineClass","classes","oneLine","undefined","withoutIconClass","withoutIcon","withoutCloseIconClass","withoutCloseIcon","IconPlacementInternal","useMemo","React","createElement","_extends","Wrapper","className","cx","wrapper","getLayoutClass","ContentBox","contentBox","IconWrapper","TextBox","textbox","StyledTitle","StyledContent","text","ButtonsWrapper","buttonsWrapper","CloseIconWrapper","onClick","closeIcon","_IconCross","IconCross","color","notificationConfig","name","tag","base","StyledNotification","variations","css","layoutCSS","viewCSS","sizeCSS","defaults"],"mappings":";;;;;;;;;;;;;;;AAwBA;AACA;AACA;IACaA,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAIC,IAAiE,EAAA;AAAA,EAAA,oBAC9FC,UAAU,CAAoC,UAACC,KAAK,EAAEC,GAAG,EAAK;AAC1D,IAAA,IAAAC,WAAA,GAaIF,KAAK,CAZLG,IAAI;AAAJA,MAAAA,IAAI,GAAAD,WAAA,KAAG,KAAA,CAAA,GAAA,QAAQ,GAAAA,WAAA;MACfE,KAAK,GAWLJ,KAAK,CAXLI,KAAK;MACKC,OAAO,GAUjBL,KAAK,CAVLM,QAAQ;MACRC,OAAO,GASPP,KAAK,CATLO,OAAO;MACPC,IAAI,GAQJR,KAAK,CARLQ,IAAI;MACJC,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ACD1D,IAAAA,IAAI,EAAE;AACFwD,MAAAA,GAAG,EAAEG,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACN7D,IAAAA,IAAI,EAAE,SAAS;IACfM,MAAM,EAAEC,OAAO,CAACC,QAAQ;AACxBP,IAAAA,IAAI,EAAE,IAAA;AACV,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"Notification.js","sources":["../../../src/components/Notification/Notification.tsx"],"sourcesContent":["import React, { forwardRef, useMemo } from 'react';\n\nimport { RootProps } from '../../engines';\nimport { cx } from '../../utils';\nimport { IconCross } from '../_Icon/Icons/IconCross';\nimport { IconCrossThin } from '../_Icon/Icons/IconCrossThin';\n\nimport { classes, tokens } from './Notification.tokens';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as layoutCSS } from './variations/_layout/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as closeIconTypeCSS } from './variations/_closeIconType/base';\nimport { NotificationLayout, NotificationProps, layouts } from './Notification.types';\nimport {\n ButtonsWrapper,\n CloseIconWrapper,\n ContentBox,\n IconWrapper,\n StyledContent,\n StyledNotification,\n StyledTitle,\n TextBox,\n Wrapper,\n} from './Notification.styles';\nimport { getLayoutClass } from './utils';\n\n/**\n * Компонент для небольших уведомлений пользователя\n */\nexport const notificationRoot = (Root: RootProps<HTMLDivElement, Omit<NotificationProps, 'title'>>) =>\n forwardRef<HTMLDivElement, NotificationProps>((props, ref) => {\n const {\n role = 'status',\n title,\n children: content,\n actions,\n view,\n size,\n iconPlacement,\n showCloseIcon = true,\n layout = layouts.vertical as NotificationLayout,\n icon,\n closeIconType,\n onCloseButtonClick,\n ...rest\n } = props;\n\n let ariaLive: 'assertive' | 'polite' = 'polite';\n let ariaAtomic = false;\n\n if (role === 'alert') {\n ariaLive = 'assertive';\n } else if (role === 'status') {\n ariaAtomic = true;\n }\n\n const isOneLine = !content || !title;\n const oneLineClass = isOneLine ? classes.oneLine : undefined;\n const withoutIconClass = icon ? undefined : classes.withoutIcon;\n const withoutCloseIconClass = showCloseIcon ? undefined : classes.withoutCloseIcon;\n\n const IconPlacementInternal = useMemo(() => (icon ? iconPlacement : undefined), [icon, iconPlacement]);\n\n return (\n <Root\n view={view}\n size={size}\n layout={layout}\n closeIconType={closeIconType}\n ref={ref}\n role={role}\n aria-live={ariaLive}\n aria-atomic={ariaAtomic}\n {...rest}\n >\n <Wrapper className={cx(classes.wrapper, getLayoutClass(layout), oneLineClass, withoutCloseIconClass)}>\n <ContentBox\n iconPlacement={IconPlacementInternal}\n className={cx(classes.contentBox, getLayoutClass(layout), withoutIconClass)}\n >\n {icon && (\n <IconWrapper\n iconPlacement={IconPlacementInternal}\n className={cx(classes.icon, getLayoutClass(layout))}\n >\n {icon}\n </IconWrapper>\n )}\n <TextBox\n iconPlacement={IconPlacementInternal}\n showCloseIcon={showCloseIcon}\n className={cx(classes.textbox, getLayoutClass(layout))}\n >\n {title && <StyledTitle className={classes.title}>{title}</StyledTitle>}\n {content && <StyledContent className={classes.text}>{content}</StyledContent>}\n </TextBox>\n </ContentBox>\n {actions && (\n <ButtonsWrapper\n iconPlacement={IconPlacementInternal}\n className={cx(classes.buttonsWrapper, getLayoutClass(layout))}\n >\n {actions}\n </ButtonsWrapper>\n )}\n\n {showCloseIcon && (\n <CloseIconWrapper\n view=\"clear\"\n size=\"s\"\n onClick={onCloseButtonClick}\n className={cx(classes.closeIcon, getLayoutClass(layout))}\n >\n {closeIconType === 'default' ? (\n <IconCross size=\"s\" sizeCustomProperty={tokens.closeIconSize} color=\"inherit\" />\n ) : (\n <IconCrossThin size=\"s\" sizeCustomProperty={tokens.closeIconSize} color=\"inherit\" />\n )}\n </CloseIconWrapper>\n )}\n </Wrapper>\n </Root>\n );\n });\n\nexport const notificationConfig = {\n name: 'Notification',\n tag: 'div',\n layout: notificationRoot,\n base: StyledNotification,\n variations: {\n layout: {\n css: layoutCSS,\n },\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n closeIconType: {\n css: closeIconTypeCSS,\n },\n },\n defaults: {\n view: 'default',\n layout: layouts.vertical,\n size: 'xs',\n closeIconType: 'default',\n },\n};\n"],"names":["notificationRoot","Root","forwardRef","props","ref","_props$role","role","title","content","children","actions","view","size","iconPlacement","_props$showCloseIcon","showCloseIcon","_props$layout","layout","layouts","vertical","icon","closeIconType","onCloseButtonClick","rest","_objectWithoutProperties","_excluded","ariaLive","ariaAtomic","isOneLine","oneLineClass","classes","oneLine","undefined","withoutIconClass","withoutIcon","withoutCloseIconClass","withoutCloseIcon","IconPlacementInternal","useMemo","React","createElement","_extends","Wrapper","className","cx","wrapper","getLayoutClass","ContentBox","contentBox","IconWrapper","TextBox","textbox","StyledTitle","StyledContent","text","ButtonsWrapper","buttonsWrapper","CloseIconWrapper","onClick","closeIcon","IconCross","sizeCustomProperty","tokens","closeIconSize","color","IconCrossThin","notificationConfig","name","tag","base","StyledNotification","variations","css","layoutCSS","viewCSS","sizeCSS","closeIconTypeCSS","defaults"],"mappings":";;;;;;;;;;;;;;;;AA0BA;AACA;AACA;IACaA,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAIC,IAAiE,EAAA;AAAA,EAAA,oBAC9FC,UAAU,CAAoC,UAACC,KAAK,EAAEC,GAAG,EAAK;AAC1D,IAAA,IAAAC,WAAA,GAcIF,KAAK,CAbLG,IAAI;AAAJA,MAAAA,IAAI,GAAAD,WAAA,KAAG,KAAA,CAAA,GAAA,QAAQ,GAAAA,WAAA;MACfE,KAAK,GAYLJ,KAAK,CAZLI,KAAK;MACKC,OAAO,GAWjBL,KAAK,CAXLM,QAAQ;MACRC,OAAO,GAUPP,KAAK,CAVLO,OAAO;MACPC,IAAI,GASJR,KAAK,CATLQ,IAAI;MACJC,IAAI,GAQJT,KAAK,CARLS,IAAI;MACJC,aAAa,GAObV,KAAK,CAPLU,aAAa;MAAAC,oBAAA,GAObX,KAAK,CANLY,aAAa;AAAbA,MAAAA,aAAa,GAAAD,oBAAA,KAAG,KAAA,CAAA,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AAE;AACJuD,MAAAA,GAAG,EAAEC,IAAAA;KACR;AACD9D,IAAAA,IAAI,EAAE;AACF6D,MAAAA,GAAG,EAAEE,MAAAA;KACR;AACD9D,IAAAA,IAAI,EAAE;AACF4D,MAAAA,GAAG,EAAEG,MAAAA;KACR;AACDtD,IAAAA,aAAa,EAAE;AACXmD,MAAAA,GAAG,EAAEI,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNlE,IAAAA,IAAI,EAAE,SAAS;IACfM,MAAM,EAAEC,OAAO,CAACC,QAAQ;AACxBP,IAAAA,IAAI,EAAE,IAAI;AACVS,IAAAA,aAAa,EAAE,SAAA;AACnB,GAAA;AACJ;;;;"}
@@ -1,4 +1,4 @@
1
- import './Notification.styles_e6274r.css';
1
+ import './Notification.styles_ob8hsa.css';
2
2
  import { styled } from '@linaria/react';
3
3
  import { tokens } from './Notification.tokens.js';
4
4
  import { placements } from './Notification.types.js';
@@ -21,7 +21,7 @@ var Wrapper = /*#__PURE__*/styled('div')({
21
21
  "class": "wg1ga5v",
22
22
  propsAsIs: false
23
23
  });
24
- var _exp10 = function _exp10() {
24
+ var _exp14 = function _exp14() {
25
25
  return function (_ref) {
26
26
  var iconPlacement = _ref.iconPlacement;
27
27
  return iconPlacement === placements.left ? "var(".concat(tokens.buttonsMarginLeft, ")") : 'unset';
@@ -32,16 +32,16 @@ var ButtonsWrapper = /*#__PURE__*/styled('div')({
32
32
  "class": "b1amsn8a",
33
33
  propsAsIs: false,
34
34
  vars: {
35
- "b1amsn8a-0": [/*#__PURE__*/_exp10()]
35
+ "b1amsn8a-0": [/*#__PURE__*/_exp14()]
36
36
  }
37
37
  });
38
- var _exp14 = function _exp14() {
38
+ var _exp18 = function _exp18() {
39
39
  return function (_ref2) {
40
40
  var iconPlacement = _ref2.iconPlacement;
41
41
  return iconPlacement === placements.left ? "var(".concat(tokens.contentLeftIconMargin, ")") : 'unset';
42
42
  };
43
43
  };
44
- var _exp15 = function _exp15() {
44
+ var _exp19 = function _exp19() {
45
45
  return function (_ref3) {
46
46
  var iconPlacement = _ref3.iconPlacement;
47
47
  return iconPlacement === placements.top ? "var(".concat(tokens.contentTopIconMargin, ")") : 'unset';
@@ -52,17 +52,17 @@ var IconWrapper = /*#__PURE__*/styled('div')({
52
52
  "class": "i14raqr9",
53
53
  propsAsIs: false,
54
54
  vars: {
55
- "i14raqr9-0": [/*#__PURE__*/_exp14()],
56
- "i14raqr9-1": [/*#__PURE__*/_exp15()]
55
+ "i14raqr9-0": [/*#__PURE__*/_exp18()],
56
+ "i14raqr9-1": [/*#__PURE__*/_exp19()]
57
57
  }
58
58
  });
59
- var _exp18 = function _exp18() {
59
+ var _exp22 = function _exp22() {
60
60
  return function (_ref4) {
61
61
  var iconPlacement = _ref4.iconPlacement;
62
62
  return iconPlacement === placements.left ? 'flex' : 'block';
63
63
  };
64
64
  };
65
- var _exp19 = function _exp19() {
65
+ var _exp23 = function _exp23() {
66
66
  return function (_ref5) {
67
67
  var iconPlacement = _ref5.iconPlacement;
68
68
  return iconPlacement ? "var(".concat(tokens.contentPaddingTop, ")") : "var(".concat(tokens.contentPaddingTopWithoutIcon, ")");
@@ -73,17 +73,17 @@ var ContentBox = /*#__PURE__*/styled('div')({
73
73
  "class": "c157peez",
74
74
  propsAsIs: false,
75
75
  vars: {
76
- "c157peez-0": [/*#__PURE__*/_exp18()],
77
- "c157peez-1": [/*#__PURE__*/_exp19()]
76
+ "c157peez-0": [/*#__PURE__*/_exp22()],
77
+ "c157peez-1": [/*#__PURE__*/_exp23()]
78
78
  }
79
79
  });
80
- var _exp25 = function _exp25() {
80
+ var _exp29 = function _exp29() {
81
81
  return function (_ref6) {
82
82
  var iconPlacement = _ref6.iconPlacement;
83
83
  return !iconPlacement || iconPlacement === placements.top ? "var(".concat(tokens.textboxPaddingTopWithTopIcon, ")") : "var(".concat(tokens.textboxPaddingTop, ")");
84
84
  };
85
85
  };
86
- var _exp26 = function _exp26() {
86
+ var _exp30 = function _exp30() {
87
87
  return function (_ref7) {
88
88
  var showCloseIcon = _ref7.showCloseIcon,
89
89
  iconPlacement = _ref7.iconPlacement;
@@ -95,8 +95,8 @@ var TextBox = /*#__PURE__*/styled('div')({
95
95
  "class": "t1vmb0f2",
96
96
  propsAsIs: false,
97
97
  vars: {
98
- "t1vmb0f2-0": [/*#__PURE__*/_exp25()],
99
- "t1vmb0f2-1": [/*#__PURE__*/_exp26()]
98
+ "t1vmb0f2-0": [/*#__PURE__*/_exp29()],
99
+ "t1vmb0f2-1": [/*#__PURE__*/_exp30()]
100
100
  }
101
101
  });
102
102
  var StyledTitle = /*#__PURE__*/styled('div')({
@@ -114,7 +114,7 @@ var StyledItemWrapper = /*#__PURE__*/styled('div')({
114
114
  "class": "s18m0x6v",
115
115
  propsAsIs: false
116
116
  });
117
- var _exp48 = function _exp48() {
117
+ var _exp52 = function _exp52() {
118
118
  return function (_ref8) {
119
119
  var placement = _ref8.placement;
120
120
  return placement === 'bottom-left' ? 'flex-start' : 'flex-end';
@@ -125,7 +125,7 @@ var StyledRoot = /*#__PURE__*/styled('div')({
125
125
  "class": "sfe5ql2",
126
126
  propsAsIs: false,
127
127
  vars: {
128
- "sfe5ql2-0": [/*#__PURE__*/_exp48()]
128
+ "sfe5ql2-0": [/*#__PURE__*/_exp52()]
129
129
  }
130
130
  });
131
131
 
@@ -1 +1 @@
1
- {"version":3,"file":"Notification.styles.js","sources":["../../../src/components/Notification/Notification.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\nimport { styled } from '@linaria/react';\n\nimport { applyHyphens } from '../../mixins';\nimport { buttonConfig } from '../Button';\nimport { component, mergeConfig } from '../../engines';\n\nimport { classes, tokens } from './Notification.tokens';\nimport { CloseIconType, IconPlacementType, NotificationPlacement, placements } from './Notification.types';\n\nexport const StyledNotification = css`\n width: fit-content;\n`;\n\nconst mergedButtonConfig = mergeConfig(buttonConfig);\nconst Button = component(mergedButtonConfig);\n\nexport const CloseIconWrapper = styled(Button)`\n position: absolute;\n width: 1.5rem;\n height: 1.5rem;\n\n color: var(${tokens.closeIconColor});\n\n :hover {\n color: var(${tokens.closeIconColorOnHover});\n }\n\n &.${classes.horizontal} {\n position: relative;\n }\n`;\n\nexport const Wrapper = styled.div`\n position: relative;\n box-sizing: border-box;\n\n background: var(${tokens.background});\n border-radius: var(${tokens.borderRadius});\n\n &.${classes.horizontal} {\n display: flex;\n align-items: center;\n gap: var(${tokens.horizontalLayoutGap});\n }\n`;\n\nexport const ButtonsWrapper = styled.div<IconPlacementType>`\n margin-top: var(${tokens.buttonsMarginTop});\n margin-left: ${({ iconPlacement }) =>\n iconPlacement === placements.left ? `var(${tokens.buttonsMarginLeft})` : 'unset'};\n\n &.${classes.horizontal} {\n margin-top: unset;\n margin-left: unset;\n }\n`;\n\nexport const IconWrapper = styled.div<IconPlacementType>`\n width: var(${tokens.contentLeftIconSize});\n height: var(${tokens.contentLeftIconSize});\n\n margin-right: ${({ iconPlacement }) =>\n iconPlacement === placements.left ? `var(${tokens.contentLeftIconMargin})` : 'unset'};\n margin-bottom: ${({ iconPlacement }) =>\n iconPlacement === placements.top ? `var(${tokens.contentTopIconMargin})` : 'unset'};\n\n &.${classes.horizontal} {\n margin-right: var(${tokens.horizontalLayoutLeftIconMargin});\n margin-bottom: unset;\n }\n`;\n\nexport const ContentBox = styled.div<IconPlacementType>`\n // TODO: переделать, когда научимся работать с токенами при пересечнии свойств\n // issue #909\n display: ${({ iconPlacement }) => (iconPlacement === placements.left ? 'flex' : 'block')};\n\n padding-top: ${({ iconPlacement }) =>\n iconPlacement ? `var(${tokens.contentPaddingTop})` : `var(${tokens.contentPaddingTopWithoutIcon})`};\n\n &.${classes.horizontal} {\n padding: unset;\n display: flex;\n align-items: center;\n flex-grow: 1;\n }\n`;\n\nexport const TextBox = styled.div<CloseIconType & IconPlacementType>`\n padding: var(${tokens.textboxPaddingTop}) var(${tokens.textboxPaddingRight}) var(${tokens.textboxPaddingBottom})\n var(${tokens.textboxPaddingLeft});\n\n padding-top: ${({ iconPlacement }) =>\n !iconPlacement || iconPlacement === placements.top\n ? `var(${tokens.textboxPaddingTopWithTopIcon})`\n : `var(${tokens.textboxPaddingTop})`};\n padding-right: ${({ showCloseIcon, iconPlacement }) =>\n showCloseIcon && iconPlacement !== placements.top\n ? `var(${tokens.textboxPaddingRightWithCloseIcon})`\n : `var(${tokens.textboxPaddingRight})`};\n\n display: flex;\n flex-direction: column;\n row-gap: var(${tokens.textboxGap});\n word-break: break-word;\n\n &.${classes.horizontal} {\n padding: unset;\n }\n`;\n\nexport const StyledTitle = styled.div`\n font-family: var(${tokens.titleFontFamily});\n font-size: var(${tokens.titleFontSize});\n font-style: var(${tokens.titleFontStyle});\n font-weight: var(${tokens.titleFontWeight});\n letter-spacing: var(${tokens.titleFontLetterSpacing});\n line-height: var(${tokens.titleFontLineHeight});\n ${String(applyHyphens)};\n`;\n\nexport const StyledContent = styled.div`\n font-family: var(${tokens.contentFontFamily});\n font-size: var(${tokens.contentFontSize});\n font-style: var(${tokens.contentFontStyle});\n font-weight: var(${tokens.contentFontWeight});\n letter-spacing: var(${tokens.contentFontLetterSpacing});\n line-height: var(${tokens.contentFontLineHeight});\n ${String(applyHyphens)};\n\n color: var(${tokens.contentColor});\n`;\n\nexport const StyledItemWrapper = styled.div<{ isHidden: boolean }>`\n margin-top: 1rem;\n opacity: 1;\n\n &&.${classes.notificationItemOpened} {\n animation: 0.4s showAnimation ease-out;\n\n &.${classes.notificationLeftToRightAnimation} {\n animation: 0.4s showLeftToRightAnimation ease-out;\n }\n }\n\n &&.${classes.notificationItemHidden} {\n animation: 0.4s hideAnimation ease-out;\n\n &.${classes.notificationLeftToRightAnimation} {\n animation: 0.4s hideLeftToRightAnimation ease-out;\n }\n }\n\n @keyframes showLeftToRightAnimation {\n 0% {\n transform: translateX(-100%);\n opacity: 0;\n }\n\n 100% {\n transform: translateX(0);\n opacity: 1;\n }\n }\n\n @keyframes hideLeftToRightAnimation {\n 0% {\n transform: translateX(0);\n opacity: 1;\n }\n\n 100% {\n transform: translateX(-100%);\n opacity: 0;\n }\n }\n\n @keyframes showAnimation {\n 0% {\n transform: translateX(100%);\n opacity: 0;\n }\n\n 100% {\n transform: translateX(0);\n opacity: 1;\n }\n }\n\n @keyframes hideAnimation {\n 0% {\n transform: translateX(0);\n opacity: 1;\n }\n\n 100% {\n transform: translateX(100%);\n opacity: 0;\n }\n }\n`;\n\nexport const StyledRoot = styled.div<{ placement?: NotificationPlacement }>`\n display: flex;\n flex-direction: column-reverse;\n box-sizing: border-box;\n padding: 0 1.5rem 1.5rem;\n max-height: 100%;\n align-items: ${({ placement }) => (placement === 'bottom-left' ? 'flex-start' : 'flex-end')};\n`;\n"],"names":["StyledNotification","mergedButtonConfig","mergeConfig","buttonConfig","Button","component","_exp","CloseIconWrapper","styled","name","class","propsAsIs","Wrapper","_exp10","_ref","iconPlacement","placements","left","concat","tokens","buttonsMarginLeft","ButtonsWrapper","vars","_exp14","_ref2","contentLeftIconMargin","_exp15","_ref3","top","contentTopIconMargin","IconWrapper","_exp18","_ref4","_exp19","_ref5","contentPaddingTop","contentPaddingTopWithoutIcon","ContentBox","_exp25","_ref6","textboxPaddingTopWithTopIcon","textboxPaddingTop","_exp26","_ref7","showCloseIcon","textboxPaddingRightWithCloseIcon","textboxPaddingRight","TextBox","StyledTitle","StyledContent","StyledItemWrapper","_exp48","_ref8","placement","StyledRoot"],"mappings":";;;;;;AAUO,IAAMA,kBAAkB,GAE9B,QAAA;AAED,IAAMC,kBAAkB,gBAAGC,WAAW,CAACC,YAAY,CAAC,CAAA;AACpD,IAAMC,MAAM,gBAAGC,SAAS,CAACJ,kBAAkB,CAAC,CAAA;AAAC,IAAAK,IAAA,GAd3BA,SAc2BA,IAAAA,GAAA;AAAA,EAAA,OAENF,MAAM,CAAA;AAAA,CAAA,CAAA;AAAtC,IAAMG,gBAAgB,gBAAGC,MAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,kBAAA;AAAAC,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AAA;AAAAW,EAAAA,IAAA,EAAA;AAAA,IAAA,WAAA,EAAA,cAMb6B,MAA4E,EAAA,CAAA;AAAA,GAAA;AAAA,CAC9F;;;;"}
1
+ {"version":3,"file":"Notification.styles.js","sources":["../../../src/components/Notification/Notification.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\nimport { styled } from '@linaria/react';\n\nimport { applyHyphens } from '../../mixins';\nimport { buttonConfig } from '../Button';\nimport { component, mergeConfig } from '../../engines';\n\nimport { classes, tokens } from './Notification.tokens';\nimport { CloseIconType, IconPlacementType, NotificationPlacement, placements } from './Notification.types';\n\nexport const StyledNotification = css`\n width: fit-content;\n`;\n\nconst mergedButtonConfig = mergeConfig(buttonConfig);\nconst Button = component(mergedButtonConfig);\n\nexport const CloseIconWrapper = styled(Button)`\n position: absolute;\n width: var(${tokens.closeIconButtonSize});\n height: var(${tokens.closeIconButtonSize});\n\n color: var(${tokens.closeIconColor});\n\n :hover {\n color: var(${tokens.closeIconColorOnHover});\n }\n\n &.${classes.horizontal} {\n position: relative;\n }\n`;\n\nexport const Wrapper = styled.div`\n position: relative;\n box-sizing: border-box;\n\n background: var(${tokens.background});\n border-radius: var(${tokens.borderRadius});\n border: var(${tokens.borderWidth}) solid var(${tokens.borderColor});\n\n &.${classes.horizontal} {\n display: flex;\n align-items: center;\n gap: var(${tokens.horizontalLayoutGap});\n }\n`;\n\nexport const ButtonsWrapper = styled.div<IconPlacementType>`\n margin-top: var(${tokens.buttonsMarginTop});\n margin-left: ${({ iconPlacement }) =>\n iconPlacement === placements.left ? `var(${tokens.buttonsMarginLeft})` : 'unset'};\n\n &.${classes.horizontal} {\n margin-top: unset;\n margin-left: unset;\n }\n`;\n\nexport const IconWrapper = styled.div<IconPlacementType>`\n width: var(${tokens.contentLeftIconSize});\n height: var(${tokens.contentLeftIconSize});\n\n margin-right: ${({ iconPlacement }) =>\n iconPlacement === placements.left ? `var(${tokens.contentLeftIconMargin})` : 'unset'};\n margin-bottom: ${({ iconPlacement }) =>\n iconPlacement === placements.top ? `var(${tokens.contentTopIconMargin})` : 'unset'};\n\n &.${classes.horizontal} {\n margin-right: var(${tokens.horizontalLayoutLeftIconMargin});\n margin-bottom: unset;\n }\n`;\n\nexport const ContentBox = styled.div<IconPlacementType>`\n // TODO: переделать, когда научимся работать с токенами при пересечнии свойств\n // issue #909\n display: ${({ iconPlacement }) => (iconPlacement === placements.left ? 'flex' : 'block')};\n\n padding-top: ${({ iconPlacement }) =>\n iconPlacement ? `var(${tokens.contentPaddingTop})` : `var(${tokens.contentPaddingTopWithoutIcon})`};\n\n &.${classes.horizontal} {\n padding: unset;\n display: flex;\n align-items: center;\n flex-grow: 1;\n }\n`;\n\nexport const TextBox = styled.div<CloseIconType & IconPlacementType>`\n padding: var(${tokens.textboxPaddingTop}) var(${tokens.textboxPaddingRight}) var(${tokens.textboxPaddingBottom})\n var(${tokens.textboxPaddingLeft});\n\n padding-top: ${({ iconPlacement }) =>\n !iconPlacement || iconPlacement === placements.top\n ? `var(${tokens.textboxPaddingTopWithTopIcon})`\n : `var(${tokens.textboxPaddingTop})`};\n padding-right: ${({ showCloseIcon, iconPlacement }) =>\n showCloseIcon && iconPlacement !== placements.top\n ? `var(${tokens.textboxPaddingRightWithCloseIcon})`\n : `var(${tokens.textboxPaddingRight})`};\n\n display: flex;\n flex-direction: column;\n row-gap: var(${tokens.textboxGap});\n word-break: break-word;\n\n &.${classes.horizontal} {\n padding: unset;\n }\n`;\n\nexport const StyledTitle = styled.div`\n font-family: var(${tokens.titleFontFamily});\n font-size: var(${tokens.titleFontSize});\n font-style: var(${tokens.titleFontStyle});\n font-weight: var(${tokens.titleFontWeight});\n letter-spacing: var(${tokens.titleFontLetterSpacing});\n line-height: var(${tokens.titleFontLineHeight});\n ${String(applyHyphens)};\n`;\n\nexport const StyledContent = styled.div`\n font-family: var(${tokens.contentFontFamily});\n font-size: var(${tokens.contentFontSize});\n font-style: var(${tokens.contentFontStyle});\n font-weight: var(${tokens.contentFontWeight});\n letter-spacing: var(${tokens.contentFontLetterSpacing});\n line-height: var(${tokens.contentFontLineHeight});\n ${String(applyHyphens)};\n\n color: var(${tokens.contentColor});\n`;\n\nexport const StyledItemWrapper = styled.div<{ isHidden: boolean }>`\n margin-top: 1rem;\n opacity: 1;\n\n &&.${classes.notificationItemOpened} {\n animation: 0.4s showAnimation ease-out;\n\n &.${classes.notificationLeftToRightAnimation} {\n animation: 0.4s showLeftToRightAnimation ease-out;\n }\n }\n\n &&.${classes.notificationItemHidden} {\n animation: 0.4s hideAnimation ease-out;\n\n &.${classes.notificationLeftToRightAnimation} {\n animation: 0.4s hideLeftToRightAnimation ease-out;\n }\n }\n\n @keyframes showLeftToRightAnimation {\n 0% {\n transform: translateX(-100%);\n opacity: 0;\n }\n\n 100% {\n transform: translateX(0);\n opacity: 1;\n }\n }\n\n @keyframes hideLeftToRightAnimation {\n 0% {\n transform: translateX(0);\n opacity: 1;\n }\n\n 100% {\n transform: translateX(-100%);\n opacity: 0;\n }\n }\n\n @keyframes showAnimation {\n 0% {\n transform: translateX(100%);\n opacity: 0;\n }\n\n 100% {\n transform: translateX(0);\n opacity: 1;\n }\n }\n\n @keyframes hideAnimation {\n 0% {\n transform: translateX(0);\n opacity: 1;\n }\n\n 100% {\n transform: translateX(100%);\n opacity: 0;\n }\n }\n`;\n\nexport const StyledRoot = styled.div<{ placement?: NotificationPlacement }>`\n display: flex;\n flex-direction: column-reverse;\n box-sizing: border-box;\n padding: 0 1.5rem 1.5rem;\n max-height: 100%;\n align-items: ${({ placement }) => (placement === 'bottom-left' ? 'flex-start' : 'flex-end')};\n`;\n"],"names":["StyledNotification","mergedButtonConfig","mergeConfig","buttonConfig","Button","component","_exp","CloseIconWrapper","styled","name","class","propsAsIs","Wrapper","_exp14","_ref","iconPlacement","placements","left","concat","tokens","buttonsMarginLeft","ButtonsWrapper","vars","_exp18","_ref2","contentLeftIconMargin","_exp19","_ref3","top","contentTopIconMargin","IconWrapper","_exp22","_ref4","_exp23","_ref5","contentPaddingTop","contentPaddingTopWithoutIcon","ContentBox","_exp29","_ref6","textboxPaddingTopWithTopIcon","textboxPaddingTop","_exp30","_ref7","showCloseIcon","textboxPaddingRightWithCloseIcon","textboxPaddingRight","TextBox","StyledTitle","StyledContent","StyledItemWrapper","_exp52","_ref8","placement","StyledRoot"],"mappings":";;;;;;AAUO,IAAMA,kBAAkB,GAE9B,QAAA;AAED,IAAMC,kBAAkB,gBAAGC,WAAW,CAACC,YAAY,CAAC,CAAA;AACpD,IAAMC,MAAM,gBAAGC,SAAS,CAACJ,kBAAkB,CAAC,CAAA;AAAC,IAAAK,IAAA,GAd3BA,SAc2BA,IAAAA,GAAA;AAAA,EAAA,OAENF,MAAM,CAAA;AAAA,CAAA,CAAA;AAAtC,IAAMG,gBAAgB,gBAAGC,MAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,kBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAcrC,EAAA;AAEM,IAAMC,OAAO,gBAAGJ,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,SAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAa5B,EAAA;AAAC,IAAAE,MAAA,GA7CgBA,SA6ChBA,MAAAA,GAAA;AAAA,EAAA,OAIiB,UAAAC,IAAA,EAAA;AAAA,IAAA,IAAGC,aAAAA,GAAAA,IAAAA,CAAAA,aAAAA,CAAAA;AAAAA,IAAAA,OACdA,aAAa,KAAKC,UAAU,CAACC,IAAI,GAAA,MAAA,CAAAC,MAAA,CAAUC,MAAM,CAACC,iBAAkB,EAAA,GAAA,CAAA,GAAK,OAAO,CAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA;AAHjF,IAAMC,cAAc,gBAAGb,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA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G1C,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,mBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAmEtC,EAAA;AAAC,IAAAwC,MAAA,GAzMgBA,SAyMhBA,MAAAA,GAAA;AAAA,EAAA,OAQiB,UAAAC,KAAA,EAAA;AAAA,IAAA,IAAGC,SAAAA,GAAAA,KAAAA,CAAAA,SAAAA,CAAAA;AAAAA,IAAAA,OAAiBA,SAAS,KAAK,aAAa,GAAG,YAAY,GAAG,UAAW,CAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA;AANxF,IAAMC,UAAU,gBAAG9C,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAAW,EAAAA,IAAA,EAAA;AAAA,IAAA,WAAA,EAAA,cAMb6B,MAA4E,EAAA,CAAA;AAAA,GAAA;AAAA,CAC9F;;;;"}
@@ -1,6 +1,6 @@
1
1
  .sb12p{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;}
2
- .crvd7hm{position:absolute;width:1.5rem;height:1.5rem;color:var(--plasma-notification-close-icon-color);}.crvd7hm:hover{color:var(--plasma-notification-close-icon-color-on-hover);}.crvd7hm.notification-layout-horizontal{position:relative;}
3
- .wg1ga5v{position:relative;box-sizing:border-box;background:var(--plasma-notification-backgorund);border-radius:var(--plasma-notification-border-radius);}.wg1ga5v.notification-layout-horizontal{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:var(--plasma-notification-horizontal-layout-gap);}
2
+ .crvd7hm{position:absolute;width:var(--plasma-notification-close-icon-button-size);height:var(--plasma-notification-close-icon-button-size);color:var(--plasma-notification-close-icon-color);}.crvd7hm:hover{color:var(--plasma-notification-close-icon-color-on-hover);}.crvd7hm.notification-layout-horizontal{position:relative;}
3
+ .wg1ga5v{position:relative;box-sizing:border-box;background:var(--plasma-notification-backgorund);border-radius:var(--plasma-notification-border-radius);border:var(--plasma-notification-border-width) solid var(--plasma-notification-border-color);}.wg1ga5v.notification-layout-horizontal{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:var(--plasma-notification-horizontal-layout-gap);}
4
4
  .b1amsn8a{margin-top:var(--plasma-notification-buttons-margin-top);margin-left:var(--b1amsn8a-0);}.b1amsn8a.notification-layout-horizontal{margin-top:unset;margin-left:unset;}
5
5
  .i14raqr9{width:var(--plasma-notification-content-left-icon-size);height:var(--plasma-notification-content-left-icon-size);margin-right:var(--i14raqr9-0);margin-bottom:var(--i14raqr9-1);}.i14raqr9.notification-layout-horizontal{margin-right:var(--plasma-notification-horizontal-layout-left-icon-margin);margin-bottom:unset;}
6
6
  .c157peez{display:var(--c157peez-0);padding-top:var(--c157peez-1);}.c157peez.notification-layout-horizontal{padding:unset;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}
@@ -22,6 +22,8 @@ var tokens = {
22
22
  horizontalLayoutPadding: '--plasma-notification-horizontal-layout-padding',
23
23
  width: '--plasma-notification-width',
24
24
  borderRadius: '--plasma-notification-border-radius',
25
+ borderWidth: '--plasma-notification-border-width',
26
+ borderColor: '--plasma-notification-border-color',
25
27
  paddingOneLineTextbox: '--plasma-notification-padding-one-line-textbox',
26
28
  horizontalLayoutGap: '--plasma-notification-horizontal-layout-gap',
27
29
  horizontalLayoutLeftIconMargin: '--plasma-notification-horizontal-layout-left-icon-margin',
@@ -62,7 +64,9 @@ var tokens = {
62
64
  closeIconTop: '--plasma-notification-close-icon-top',
63
65
  closeIconRight: '--plasma-notification-close-icon-right',
64
66
  closeIconColor: '--plasma-notification-close-icon-color',
65
- closeIconColorOnHover: '--plasma-notification-close-icon-color-on-hover'
67
+ closeIconColorOnHover: '--plasma-notification-close-icon-color-on-hover',
68
+ closeIconSize: '--plasma-notification-close-icon-size',
69
+ closeIconButtonSize: '--plasma-notification-close-icon-button-size'
66
70
  };
67
71
 
68
72
  export { classes, tokens };
@@ -1 +1 @@
1
- {"version":3,"file":"Notification.tokens.js","sources":["../../../src/components/Notification/Notification.tokens.ts"],"sourcesContent":["export const classes = {\n textbox: 'notificaiton-textbox',\n contentBox: 'notificaiton-content-box',\n title: 'notification-title',\n text: 'notification-text',\n wrapper: 'notification-wrapper',\n icon: 'notification-icon',\n closeIcon: 'notification-close-icon',\n buttonsWrapper: 'notification-buttons-wrapper',\n\n horizontal: 'notification-layout-horizontal',\n vertical: 'notification-layout-vertical',\n oneLine: 'notification-one-line-textbox',\n withoutIcon: 'notification-without-icon',\n withoutCloseIcon: 'notification-without-close-icon',\n\n notificationItemOpened: 'notification-item-opened',\n notificationItemHidden: 'notification-item-hidden',\n notificationLeftToRightAnimation: 'notification-left-to-right-animation',\n};\n\nexport const tokens = {\n background: '--plasma-notification-backgorund',\n padding: '--plasma-notification-padding',\n horizontalLayoutPadding: '--plasma-notification-horizontal-layout-padding',\n width: '--plasma-notification-width',\n borderRadius: '--plasma-notification-border-radius',\n\n paddingOneLineTextbox: '--plasma-notification-padding-one-line-textbox',\n horizontalLayoutGap: '--plasma-notification-horizontal-layout-gap',\n horizontalLayoutLeftIconMargin: '--plasma-notification-horizontal-layout-left-icon-margin',\n horizontalLayoutRightPaddingWithoutCloseIcon:\n '--plasma-notification-horizontal-layout-right-padding-without-close-icon',\n\n contentPaddingTop: '--plasma-notification-content-padding-top',\n contentPaddingRight: '--plasma-notification-content-padding-right',\n contentPaddingBottom: '--plasma-notification-content-padding-bottom',\n contentPaddingLeft: '--plasma-notification-content-padding-left',\n\n contentPaddingTopWithoutIcon: '--plasma-notification-content-padding-top-without-icon',\n\n textboxPaddingTop: '--plasma-notification-textbox-padding-top',\n textboxPaddingRight: '--plasma-notification-textbox-padding-right',\n textboxPaddingBottom: '--plasma-notification-textbox-padding-bottom',\n textboxPaddingLeft: '--plasma-notification-textbox-padding-left',\n\n textboxPaddingTopWithTopIcon: '--plasma-notification-textbox-padding-top-with-top-icon',\n textboxPaddingRightWithCloseIcon: '--plasma-notification-textbox-padding-right-with-close-icon',\n textboxGap: '--plasma-notification-textbox-gap',\n\n buttonsMarginTop: '--plasma-notification-buttons-margin-top',\n buttonsMarginLeft: '--plasma-notification-buttons-margin-left',\n\n contentLeftIconSize: '--plasma-notification-content-left-icon-size',\n contentLeftIconMargin: '--plasma-notification-content-left-icon-margin',\n contentTopIconMargin: '--plasma-notification-content-top-icon-margin',\n\n contentColor: '--plasma-notification-content-color',\n contentFontFamily: '--plasma-notification-content-font-family',\n contentFontSize: '--plasma-notification-content-font-size',\n contentFontStyle: '--plasma-notification-content-font-style',\n contentFontWeight: '--plasma-notification-content-font-weight',\n contentFontWeightBold: '--plasma-notification-content-font-weight-bold',\n contentFontLetterSpacing: '--plasma-notification-content-font-letter-spacing',\n contentFontLineHeight: '--plasma-notification-content-font-line-height',\n\n titleColor: '--plasma-notification-title-color',\n titleFontFamily: '--plasma-notification-title-font-family',\n titleFontSize: '--plasma-notification-title-font-size',\n titleFontStyle: '--plasma-notification-title-font-style',\n titleFontWeight: '--plasma-notification-title-font-weight',\n titleFontWeightBold: '--plasma-notification-title-font-weight-bold',\n titleFontLetterSpacing: '--plasma-notification-title-font-letter-spacing',\n titleFontLineHeight: '--plasma-notification-title-font-line-height',\n\n closeIconTop: '--plasma-notification-close-icon-top',\n closeIconRight: '--plasma-notification-close-icon-right',\n closeIconColor: '--plasma-notification-close-icon-color',\n closeIconColorOnHover: '--plasma-notification-close-icon-color-on-hover',\n};\n"],"names":["classes","textbox","contentBox","title","text","wrapper","icon","closeIcon","buttonsWrapper","horizontal","vertical","oneLine","withoutIcon","withoutCloseIcon","notificationItemOpened","notificationItemHidden","notificationLeftToRightAnimation","tokens","background","padding","horizontalLayoutPadding","width","borderRadius","paddingOneLineTextbox","horizontalLayoutGap","horizontalLayoutLeftIconMargin","horizontalLayoutRightPaddingWithoutCloseIcon","contentPaddingTop","contentPaddingRight","contentPaddingBottom","contentPaddingLeft","contentPaddingTopWithoutIcon","textboxPaddingTop","textboxPaddingRight","textboxPaddingBottom","textboxPaddingLeft","textboxPaddingTopWithTopIcon","textboxPaddingRightWithCloseIcon","textboxGap","buttonsMarginTop","buttonsMarginLeft","contentLeftIconSize","contentLeftIconMargin","contentTopIconMargin","contentColor","contentFontFamily","contentFontSize","contentFontStyle","contentFontWeight","contentFontWeightBold","contentFontLetterSpacing","contentFontLineHeight","titleColor","titleFontFamily","titleFontSize","titleFontStyle","titleFontWeight","titleFontWeightBold","titleFontLetterSpacing","titleFontLineHeight","closeIconTop","closeIconRight","closeIconColor","closeIconColorOnHover"],"mappings":"AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,OAAO,EAAE,sBAAsB;AAC/BC,EAAAA,UAAU,EAAE,0BAA0B;AACtCC,EAAAA,KAAK,EAAE,oBAAoB;AAC3BC,EAAAA,IAAI,EAAE,mBAAmB;AACzBC,EAAAA,OAAO,EAAE,sBAAsB;AAC/BC,EAAAA,IAAI,EAAE,mBAAmB;AACzBC,EAAAA,SAAS,EAAE,yBAAyB;AACpCC,EAAAA,cAAc,EAAE,8BAA8B;AAE9CC,EAAAA,UAAU,EAAE,gCAAgC;AAC5CC,EAAAA,QAAQ,EAAE,8BAA8B;AACxCC,EAAAA,OAAO,EAAE,+BAA+B;AACxCC,EAAAA,WAAW,EAAE,2BAA2B;AACxCC,EAAAA,gBAAgB,EAAE,iCAAiC;AAEnDC,EAAAA,sBAAsB,EAAE,0BAA0B;AAClDC,EAAAA,sBAAsB,EAAE,0BAA0B;AAClDC,EAAAA,gCAAgC,EAAE,sCAAA;AACtC,E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EC,EAAAA,wBAAwB,EAAE,mDAAmD;AAC7EC,EAAAA,qBAAqB,EAAE,gDAAgD;AAEvEC,EAAAA,UAAU,EAAE,mCAAmC;AAC/CC,EAAAA,eAAe,EAAE,yCAAyC;AAC1DC,EAAAA,aAAa,EAAE,uCAAuC;AACtDC,EAAAA,cAAc,EAAE,wCAAwC;AACxDC,EAAAA,eAAe,EAAE,yCAAyC;AAC1DC,EAAAA,mBAAmB,EAAE,8CAA8C;AACnEC,EAAAA,sBAAsB,EAAE,iDAAiD;AACzEC,EAAAA,mBAAmB,EAAE,8CAA8C;AAEnEC,EAAAA,YAAY,EAAE,sCAAsC;AACpDC,EAAAA,cAAc,EAAE,wCAAwC;AACxDC,EAAAA,cAAc,EAAE,wCAAwC;AACxDC,EAAAA,qBAAqB,EAAE,iDAAA;AAC3B;;;;"}
1
+ {"version":3,"file":"Notification.tokens.js","sources":["../../../src/components/Notification/Notification.tokens.ts"],"sourcesContent":["export const classes = {\n textbox: 'notificaiton-textbox',\n contentBox: 'notificaiton-content-box',\n title: 'notification-title',\n text: 'notification-text',\n wrapper: 'notification-wrapper',\n icon: 'notification-icon',\n closeIcon: 'notification-close-icon',\n buttonsWrapper: 'notification-buttons-wrapper',\n\n horizontal: 'notification-layout-horizontal',\n vertical: 'notification-layout-vertical',\n oneLine: 'notification-one-line-textbox',\n withoutIcon: 'notification-without-icon',\n withoutCloseIcon: 'notification-without-close-icon',\n\n notificationItemOpened: 'notification-item-opened',\n notificationItemHidden: 'notification-item-hidden',\n notificationLeftToRightAnimation: 'notification-left-to-right-animation',\n};\n\nexport const tokens = {\n background: '--plasma-notification-backgorund',\n padding: '--plasma-notification-padding',\n horizontalLayoutPadding: '--plasma-notification-horizontal-layout-padding',\n width: '--plasma-notification-width',\n borderRadius: '--plasma-notification-border-radius',\n borderWidth: '--plasma-notification-border-width',\n borderColor: '--plasma-notification-border-color',\n\n paddingOneLineTextbox: '--plasma-notification-padding-one-line-textbox',\n horizontalLayoutGap: '--plasma-notification-horizontal-layout-gap',\n horizontalLayoutLeftIconMargin: '--plasma-notification-horizontal-layout-left-icon-margin',\n horizontalLayoutRightPaddingWithoutCloseIcon:\n '--plasma-notification-horizontal-layout-right-padding-without-close-icon',\n\n contentPaddingTop: '--plasma-notification-content-padding-top',\n contentPaddingRight: '--plasma-notification-content-padding-right',\n contentPaddingBottom: '--plasma-notification-content-padding-bottom',\n contentPaddingLeft: '--plasma-notification-content-padding-left',\n\n contentPaddingTopWithoutIcon: '--plasma-notification-content-padding-top-without-icon',\n\n textboxPaddingTop: '--plasma-notification-textbox-padding-top',\n textboxPaddingRight: '--plasma-notification-textbox-padding-right',\n textboxPaddingBottom: '--plasma-notification-textbox-padding-bottom',\n textboxPaddingLeft: '--plasma-notification-textbox-padding-left',\n\n textboxPaddingTopWithTopIcon: '--plasma-notification-textbox-padding-top-with-top-icon',\n textboxPaddingRightWithCloseIcon: '--plasma-notification-textbox-padding-right-with-close-icon',\n textboxGap: '--plasma-notification-textbox-gap',\n\n buttonsMarginTop: '--plasma-notification-buttons-margin-top',\n buttonsMarginLeft: '--plasma-notification-buttons-margin-left',\n\n contentLeftIconSize: '--plasma-notification-content-left-icon-size',\n contentLeftIconMargin: '--plasma-notification-content-left-icon-margin',\n contentTopIconMargin: '--plasma-notification-content-top-icon-margin',\n\n contentColor: '--plasma-notification-content-color',\n contentFontFamily: '--plasma-notification-content-font-family',\n contentFontSize: '--plasma-notification-content-font-size',\n contentFontStyle: '--plasma-notification-content-font-style',\n contentFontWeight: '--plasma-notification-content-font-weight',\n contentFontWeightBold: '--plasma-notification-content-font-weight-bold',\n contentFontLetterSpacing: '--plasma-notification-content-font-letter-spacing',\n contentFontLineHeight: '--plasma-notification-content-font-line-height',\n\n titleColor: '--plasma-notification-title-color',\n titleFontFamily: '--plasma-notification-title-font-family',\n titleFontSize: '--plasma-notification-title-font-size',\n titleFontStyle: '--plasma-notification-title-font-style',\n titleFontWeight: '--plasma-notification-title-font-weight',\n titleFontWeightBold: '--plasma-notification-title-font-weight-bold',\n titleFontLetterSpacing: '--plasma-notification-title-font-letter-spacing',\n titleFontLineHeight: '--plasma-notification-title-font-line-height',\n\n closeIconTop: '--plasma-notification-close-icon-top',\n closeIconRight: '--plasma-notification-close-icon-right',\n closeIconColor: '--plasma-notification-close-icon-color',\n closeIconColorOnHover: '--plasma-notification-close-icon-color-on-hover',\n closeIconSize: '--plasma-notification-close-icon-size',\n closeIconButtonSize: '--plasma-notification-close-icon-button-size',\n};\n"],"names":["classes","textbox","contentBox","title","text","wrapper","icon","closeIcon","buttonsWrapper","horizontal","vertical","oneLine","withoutIcon","withoutCloseIcon","notificationItemOpened","notificationItemHidden","notificationLeftToRightAnimation","tokens","background","padding","horizontalLayoutPadding","width","borderRadius","borderWidth","borderColor","paddingOneLineTextbox","horizontalLayoutGap","horizontalLayoutLeftIconMargin","horizontalLayoutRightPaddingWithoutCloseIcon","contentPaddingTop","contentPaddingRight","contentPaddingBottom","contentPaddingLeft","contentPaddingTopWithoutIcon","textboxPaddingTop","textboxPaddingRight","textboxPaddingBottom","textboxPaddingLeft","textboxPaddingTopWithTopIcon","textboxPaddingRightWithCloseIcon","textboxGap","buttonsMarginTop","buttonsMarginLeft","contentLeftIconSize","contentLeftIconMargin","contentTopIconMargin","contentColor","contentFontFamily","contentFontSize","contentFontStyle","contentFontWeight","contentFontWeightBold","contentFontLetterSpacing","contentFontLineHeight","titleColor","titleFontFamily","titleFontSize","titleFontStyle","titleFontWeight","titleFontWeightBold","titleFontLetterSpacing","titleFontLineHeight","closeIconTop","closeIconRight","closeIconColor","closeIconColorOnHover","closeIconSize","closeIconButtonSize"],"mappings":"AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,OAAO,EAAE,sBAAsB;AAC/BC,EAAAA,UAAU,EAAE,0BAA0B;AACtCC,EAAAA,KAAK,EAAE,oBAAoB;AAC3BC,EAAAA,IAAI,EAAE,mBAAmB;AACzBC,EAAAA,OAAO,EAAE,sBAAsB;AAC/BC,EAAAA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DAA6D;AAC/FC,EAAAA,UAAU,EAAE,mCAAmC;AAE/CC,EAAAA,gBAAgB,EAAE,0CAA0C;AAC5DC,EAAAA,iBAAiB,EAAE,2CAA2C;AAE9DC,EAAAA,mBAAmB,EAAE,8CAA8C;AACnEC,EAAAA,qBAAqB,EAAE,gDAAgD;AACvEC,EAAAA,oBAAoB,EAAE,+CAA+C;AAErEC,EAAAA,YAAY,EAAE,qCAAqC;AACnDC,EAAAA,iBAAiB,EAAE,2CAA2C;AAC9DC,EAAAA,eAAe,EAAE,yCAAyC;AAC1DC,EAAAA,gBAAgB,EAAE,0CAA0C;AAC5DC,EAAAA,iBAAiB,EAAE,2CAA2C;AAC9DC,EAAAA,qBAAqB,EAAE,gDAAgD;AACvEC,EAAAA,wBAAwB,EAAE,mDAAmD;AAC7EC,EAAAA,qBAAqB,EAAE,gDAAgD;AAEvEC,EAAAA,UAAU,EAAE,mCAAmC;AAC/CC,EAAAA,eAAe,EAAE,yCAAyC;AAC1DC,EAAAA,aAAa,EAAE,uCAAuC;AACtDC,EAAAA,cAAc,EAAE,wCAAwC;AACxDC,EAAAA,eAAe,EAAE,yCAAyC;AAC1DC,EAAAA,mBAAmB,EAAE,8CAA8C;AACnEC,EAAAA,sBAAsB,EAAE,iDAAiD;AACzEC,EAAAA,mBAAmB,EAAE,8CAA8C;AAEnEC,EAAAA,YAAY,EAAE,sCAAsC;AACpDC,EAAAA,cAAc,EAAE,wCAAwC;AACxDC,EAAAA,cAAc,EAAE,wCAAwC;AACxDC,EAAAA,qBAAqB,EAAE,iDAAiD;AACxEC,EAAAA,aAAa,EAAE,uCAAuC;AACtDC,EAAAA,mBAAmB,EAAE,8CAAA;AACzB;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Notification.types.js","sources":["../../../src/components/Notification/Notification.types.ts"],"sourcesContent":["import type { AsProps } from '@salutejs/plasma-core';\nimport { HTMLAttributes, ReactNode } from 'react';\n\nimport { ComponentConfig, PropsType, Variants } from '../../engines/types';\n\nexport const layouts = {\n horizontal: 'horizontal',\n vertical: 'vertical',\n};\n\nexport type NotificationLayout = keyof typeof layouts;\n\nexport const placements = {\n top: 'top',\n left: 'left',\n};\n\nexport type NotificationIconPlacement = keyof typeof placements;\nexport type NotificationPlacement = 'bottom-right' | 'bottom-left';\n\nexport type LayoutType = {\n layout?: NotificationLayout;\n};\n\nexport type IconPlacementType = {\n iconPlacement?: NotificationIconPlacement;\n};\n\nexport type CloseIconType = {\n showCloseIcon?: boolean;\n};\n\nexport interface NotificationProps extends AsProps, Omit<HTMLAttributes<HTMLDivElement>, 'title'> {\n /**\n * Заголовок.\n */\n title?: ReactNode;\n /**\n * Контент под заголовком.\n */\n children?: ReactNode;\n /**\n * Кнопки снизу/справа для необходимых действий.\n */\n actions?: ReactNode;\n /**\n * Cхема расположение блоков Notification.\n */\n layout?: NotificationLayout;\n /**\n * Иконка слева.\n */\n icon?: ReactNode;\n /**\n * Расположение иконки слева внутри Textbox.\n */\n iconPlacement?: NotificationIconPlacement;\n /**\n * Показывать ли иконку закрытия справа.\n * @default\n * true\n */\n showCloseIcon?: boolean;\n /**\n * Колбек при нажатии на кнопку закрытия.\n */\n onCloseButtonClick?: () => void;\n /**\n * @deprecated\n * Не влияет на отображение компонента.\n * Статус компонента Notification.\n */\n status?: string;\n\n /**\n * Вид Notification.\n */\n view?: string;\n /**\n * Размер Notification (необходимо связать с размером используемых Button).\n */\n size?: string;\n}\n\nexport interface NotificationPortalProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {\n /**\n * Конфиг компонента Notification.\n */\n config: ComponentConfig<string, Variants, PropsType<Variants>, NotificationProps & HTMLAttributes<HTMLDivElement>>;\n /**\n * В каком контейнере позиционируется(по умолчанию document), можно также указать id элемента или ref для него.\n */\n frame?: string;\n /**\n * Расположение компонента Notification во frame\n * @default bottom-right\n */\n placement?: NotificationPlacement;\n}\n"],"names":["layouts","horizontal","vertical","placements","top","left"],"mappings":"AAKO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,UAAU,EAAE,YAAY;AACxBC,EAAAA,QAAQ,EAAE,UAAA;AACd,EAAC;AAIM,IAAMC,UAAU,GAAG;AACtBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,IAAI,EAAE,MAAA;AACV;;;;"}
1
+ {"version":3,"file":"Notification.types.js","sources":["../../../src/components/Notification/Notification.types.ts"],"sourcesContent":["import type { AsProps } from '@salutejs/plasma-core';\nimport { HTMLAttributes, ReactNode } from 'react';\n\nimport { ComponentConfig, PropsType, Variants } from '../../engines/types';\n\nexport const layouts = {\n horizontal: 'horizontal',\n vertical: 'vertical',\n};\n\nexport type NotificationLayout = keyof typeof layouts;\n\nexport const placements = {\n top: 'top',\n left: 'left',\n};\n\nexport type NotificationIconPlacement = keyof typeof placements;\nexport type NotificationPlacement = 'bottom-right' | 'bottom-left';\n\nexport type LayoutType = {\n layout?: NotificationLayout;\n};\n\nexport type IconPlacementType = {\n iconPlacement?: NotificationIconPlacement;\n};\n\nexport type CloseIconType = {\n showCloseIcon?: boolean;\n};\n\nexport interface NotificationProps extends AsProps, Omit<HTMLAttributes<HTMLDivElement>, 'title'> {\n /**\n * Заголовок.\n */\n title?: ReactNode;\n /**\n * Контент под заголовком.\n */\n children?: ReactNode;\n /**\n * Кнопки снизу/справа для необходимых действий.\n */\n actions?: ReactNode;\n /**\n * Cхема расположение блоков Notification.\n */\n layout?: NotificationLayout;\n /**\n * Иконка слева.\n */\n icon?: ReactNode;\n /**\n * Расположение иконки слева внутри Textbox.\n */\n iconPlacement?: NotificationIconPlacement;\n /**\n * Показывать ли иконку закрытия справа.\n * @default\n * true\n */\n showCloseIcon?: boolean;\n /**\n * Колбек при нажатии на кнопку закрытия.\n */\n onCloseButtonClick?: () => void;\n /**\n * @deprecated\n * Не влияет на отображение компонента.\n * Статус компонента Notification.\n */\n status?: string;\n\n /**\n * Вид Notification.\n */\n view?: string;\n /**\n * Размер Notification (необходимо связать с размером используемых Button).\n */\n size?: string;\n /**\n * Вид закрывающей иконки в Notification.\n */\n closeIconType?: 'default' | 'thin';\n}\n\nexport interface NotificationPortalProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {\n /**\n * Конфиг компонента Notification.\n */\n config: ComponentConfig<string, Variants, PropsType<Variants>, NotificationProps & HTMLAttributes<HTMLDivElement>>;\n /**\n * В каком контейнере позиционируется(по умолчанию document), можно также указать id элемента или ref для него.\n */\n frame?: string;\n /**\n * Расположение компонента Notification во frame\n * @default bottom-right\n */\n placement?: NotificationPlacement;\n}\n"],"names":["layouts","horizontal","vertical","placements","top","left"],"mappings":"AAKO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,UAAU,EAAE,YAAY;AACxBC,EAAAA,QAAQ,EAAE,UAAA;AACd,EAAC;AAIM,IAAMC,UAAU,GAAG;AACtBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,IAAI,EAAE,MAAA;AACV;;;;"}
@@ -29,16 +29,16 @@
29
29
  .Button_styles_1sopr3d_s1rjh7ra__8219590b{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin:var(--plasma-button-right-content-margin);-webkit-align-self:var(--plasma-button-right-content-align-self);-ms-flex-item-align:var(--plasma-button-right-content-align);align-self:var(--plasma-button-right-content-align-self);}
30
30
  .Button_styles_1sopr3d_b9ga1dj__8219590b{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);--plasma_private-btn-br:var(--plasma_computed-btn-br);border-radius:var(--plasma_private-btn-br);}a.Button_styles_1sopr3d_b9ga1dj__8219590b{-webkit-text-decoration:none;text-decoration:none;}.Button_styles_1sopr3d_b9ga1dj__8219590b.Button_styles_1sopr3d_b9ga1dj__8219590b.Button_styles_1sopr3d_buttonSquare__8219590b{width:var(--plasma-button-height);padding:0;}
31
31
 
32
- .Notification_styles_e6274r_sb12p__56467d3e{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;}
33
- .Notification_styles_e6274r_crvd7hm__56467d3e{position:absolute;width:1.5rem;height:1.5rem;color:var(--plasma-notification-close-icon-color);}.Notification_styles_e6274r_crvd7hm__56467d3e:hover{color:var(--plasma-notification-close-icon-color-on-hover);}.Notification_styles_e6274r_crvd7hm__56467d3e.Notification_styles_e6274r_notificationLayoutHorizontal__56467d3e{position:relative;}
34
- .Notification_styles_e6274r_wg1ga5v__56467d3e{position:relative;box-sizing:border-box;background:var(--plasma-notification-backgorund);border-radius:var(--plasma-notification-border-radius);}.Notification_styles_e6274r_wg1ga5v__56467d3e.Notification_styles_e6274r_notificationLayoutHorizontal__56467d3e{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:var(--plasma-notification-horizontal-layout-gap);}
35
- .Notification_styles_e6274r_b1amsn8a__56467d3e{margin-top:var(--plasma-notification-buttons-margin-top);margin-left:var(--b1amsn8a-0);}.Notification_styles_e6274r_b1amsn8a__56467d3e.Notification_styles_e6274r_notificationLayoutHorizontal__56467d3e{margin-top:unset;margin-left:unset;}
36
- .Notification_styles_e6274r_i14raqr9__56467d3e{width:var(--plasma-notification-content-left-icon-size);height:var(--plasma-notification-content-left-icon-size);margin-right:var(--i14raqr9-0);margin-bottom:var(--i14raqr9-1);}.Notification_styles_e6274r_i14raqr9__56467d3e.Notification_styles_e6274r_notificationLayoutHorizontal__56467d3e{margin-right:var(--plasma-notification-horizontal-layout-left-icon-margin);margin-bottom:unset;}
37
- .Notification_styles_e6274r_c157peez__56467d3e{display:var(--c157peez-0);padding-top:var(--c157peez-1);}.Notification_styles_e6274r_c157peez__56467d3e.Notification_styles_e6274r_notificationLayoutHorizontal__56467d3e{padding:unset;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}
38
- .Notification_styles_e6274r_t1vmb0f2__56467d3e{padding:var(--plasma-notification-textbox-padding-top) var(--plasma-notification-textbox-padding-right) var(--plasma-notification-textbox-padding-bottom) var(--plasma-notification-textbox-padding-left);padding-top:var(--t1vmb0f2-0);padding-right:var(--t1vmb0f2-1);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;row-gap:var(--plasma-notification-textbox-gap);word-break:break-word;}.Notification_styles_e6274r_t1vmb0f2__56467d3e.Notification_styles_e6274r_notificationLayoutHorizontal__56467d3e{padding:unset;}
39
- .Notification_styles_e6274r_s1k4e58v__56467d3e{font-family:var(--plasma-notification-title-font-family);font-size:var(--plasma-notification-title-font-size);font-style:var(--plasma-notification-title-font-style);font-weight:var(--plasma-notification-title-font-weight);-webkit-letter-spacing:var(--plasma-notification-title-font-letter-spacing);-moz-letter-spacing:var(--plasma-notification-title-font-letter-spacing);-ms-letter-spacing:var(--plasma-notification-title-font-letter-spacing);letter-spacing:var(--plasma-notification-title-font-letter-spacing);line-height:var(--plasma-notification-title-font-line-height);overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
40
- .Notification_styles_e6274r_s92kmpm__56467d3e{font-family:var(--plasma-notification-content-font-family);font-size:var(--plasma-notification-content-font-size);font-style:var(--plasma-notification-content-font-style);font-weight:var(--plasma-notification-content-font-weight);-webkit-letter-spacing:var(--plasma-notification-content-font-letter-spacing);-moz-letter-spacing:var(--plasma-notification-content-font-letter-spacing);-ms-letter-spacing:var(--plasma-notification-content-font-letter-spacing);letter-spacing:var(--plasma-notification-content-font-letter-spacing);line-height:var(--plasma-notification-content-font-line-height);overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;color:var(--plasma-notification-content-color);}
41
- .Notification_styles_e6274r_s18m0x6v__56467d3e{margin-top:1rem;opacity:1;}.Notification_styles_e6274r_s18m0x6v__56467d3e.Notification_styles_e6274r_s18m0x6v__56467d3e.Notification_styles_e6274r_notificationItemOpened__56467d3e{-webkit-animation:0.4s Notification_styles_e6274r_showAnimationS18m0x6v__56467d3e ease-out;animation:0.4s Notification_styles_e6274r_showAnimationS18m0x6v__56467d3e ease-out;}.Notification_styles_e6274r_s18m0x6v__56467d3e.Notification_styles_e6274r_s18m0x6v__56467d3e.Notification_styles_e6274r_notificationItemOpened__56467d3e.Notification_styles_e6274r_notificationLeftToRightAnimation__56467d3e{-webkit-animation:0.4s Notification_styles_e6274r_showLeftToRightAnimationS18m0x6v__56467d3e ease-out;animation:0.4s Notification_styles_e6274r_showLeftToRightAnimationS18m0x6v__56467d3e ease-out;}.Notification_styles_e6274r_s18m0x6v__56467d3e.Notification_styles_e6274r_s18m0x6v__56467d3e.Notification_styles_e6274r_notificationItemHidden__56467d3e{-webkit-animation:0.4s Notification_styles_e6274r_hideAnimationS18m0x6v__56467d3e ease-out;animation:0.4s Notification_styles_e6274r_hideAnimationS18m0x6v__56467d3e ease-out;}.Notification_styles_e6274r_s18m0x6v__56467d3e.Notification_styles_e6274r_s18m0x6v__56467d3e.Notification_styles_e6274r_notificationItemHidden__56467d3e.Notification_styles_e6274r_notificationLeftToRightAnimation__56467d3e{-webkit-animation:0.4s Notification_styles_e6274r_hideLeftToRightAnimationS18m0x6v__56467d3e ease-out;animation:0.4s Notification_styles_e6274r_hideLeftToRightAnimationS18m0x6v__56467d3e ease-out;}@-webkit-keyframes Notification_styles_e6274r_showLeftToRightAnimationS18m0x6v__56467d3e{0%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);opacity:0;}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}}@keyframes Notification_styles_e6274r_showLeftToRightAnimationS18m0x6v__56467d3e{0%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);opacity:0;}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}}@-webkit-keyframes Notification_styles_e6274r_hideLeftToRightAnimationS18m0x6v__56467d3e{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}100%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);opacity:0;}}@keyframes Notification_styles_e6274r_hideLeftToRightAnimationS18m0x6v__56467d3e{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}100%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);opacity:0;}}@-webkit-keyframes Notification_styles_e6274r_showAnimationS18m0x6v__56467d3e{0%{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);opacity:0;}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}}@keyframes Notification_styles_e6274r_showAnimationS18m0x6v__56467d3e{0%{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);opacity:0;}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}}@-webkit-keyframes Notification_styles_e6274r_hideAnimationS18m0x6v__56467d3e{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}100%{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);opacity:0;}}@keyframes Notification_styles_e6274r_hideAnimationS18m0x6v__56467d3e{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}100%{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);opacity:0;}}
42
- .Notification_styles_e6274r_sfe5ql2__56467d3e{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;box-sizing:border-box;padding:0 1.5rem 1.5rem;max-height:100%;-webkit-align-items:var(--sfe5ql2-0);-webkit-box-align:var(--sfe5ql2-0);-ms-flex-align:var(--sfe5ql2-0);align-items:var(--sfe5ql2-0);}
32
+ .Notification_styles_ob8hsa_sb12p__cd062abd{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;}
33
+ .Notification_styles_ob8hsa_crvd7hm__cd062abd{position:absolute;width:var(--plasma-notification-close-icon-button-size);height:var(--plasma-notification-close-icon-button-size);color:var(--plasma-notification-close-icon-color);}.Notification_styles_ob8hsa_crvd7hm__cd062abd:hover{color:var(--plasma-notification-close-icon-color-on-hover);}.Notification_styles_ob8hsa_crvd7hm__cd062abd.Notification_styles_ob8hsa_notificationLayoutHorizontal__cd062abd{position:relative;}
34
+ .Notification_styles_ob8hsa_wg1ga5v__cd062abd{position:relative;box-sizing:border-box;background:var(--plasma-notification-backgorund);border-radius:var(--plasma-notification-border-radius);border:var(--plasma-notification-border-width) solid var(--plasma-notification-border-color);}.Notification_styles_ob8hsa_wg1ga5v__cd062abd.Notification_styles_ob8hsa_notificationLayoutHorizontal__cd062abd{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:var(--plasma-notification-horizontal-layout-gap);}
35
+ .Notification_styles_ob8hsa_b1amsn8a__cd062abd{margin-top:var(--plasma-notification-buttons-margin-top);margin-left:var(--b1amsn8a-0);}.Notification_styles_ob8hsa_b1amsn8a__cd062abd.Notification_styles_ob8hsa_notificationLayoutHorizontal__cd062abd{margin-top:unset;margin-left:unset;}
36
+ .Notification_styles_ob8hsa_i14raqr9__cd062abd{width:var(--plasma-notification-content-left-icon-size);height:var(--plasma-notification-content-left-icon-size);margin-right:var(--i14raqr9-0);margin-bottom:var(--i14raqr9-1);}.Notification_styles_ob8hsa_i14raqr9__cd062abd.Notification_styles_ob8hsa_notificationLayoutHorizontal__cd062abd{margin-right:var(--plasma-notification-horizontal-layout-left-icon-margin);margin-bottom:unset;}
37
+ .Notification_styles_ob8hsa_c157peez__cd062abd{display:var(--c157peez-0);padding-top:var(--c157peez-1);}.Notification_styles_ob8hsa_c157peez__cd062abd.Notification_styles_ob8hsa_notificationLayoutHorizontal__cd062abd{padding:unset;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;}
38
+ .Notification_styles_ob8hsa_t1vmb0f2__cd062abd{padding:var(--plasma-notification-textbox-padding-top) var(--plasma-notification-textbox-padding-right) var(--plasma-notification-textbox-padding-bottom) var(--plasma-notification-textbox-padding-left);padding-top:var(--t1vmb0f2-0);padding-right:var(--t1vmb0f2-1);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;row-gap:var(--plasma-notification-textbox-gap);word-break:break-word;}.Notification_styles_ob8hsa_t1vmb0f2__cd062abd.Notification_styles_ob8hsa_notificationLayoutHorizontal__cd062abd{padding:unset;}
39
+ .Notification_styles_ob8hsa_s1k4e58v__cd062abd{font-family:var(--plasma-notification-title-font-family);font-size:var(--plasma-notification-title-font-size);font-style:var(--plasma-notification-title-font-style);font-weight:var(--plasma-notification-title-font-weight);-webkit-letter-spacing:var(--plasma-notification-title-font-letter-spacing);-moz-letter-spacing:var(--plasma-notification-title-font-letter-spacing);-ms-letter-spacing:var(--plasma-notification-title-font-letter-spacing);letter-spacing:var(--plasma-notification-title-font-letter-spacing);line-height:var(--plasma-notification-title-font-line-height);overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;}
40
+ .Notification_styles_ob8hsa_s92kmpm__cd062abd{font-family:var(--plasma-notification-content-font-family);font-size:var(--plasma-notification-content-font-size);font-style:var(--plasma-notification-content-font-style);font-weight:var(--plasma-notification-content-font-weight);-webkit-letter-spacing:var(--plasma-notification-content-font-letter-spacing);-moz-letter-spacing:var(--plasma-notification-content-font-letter-spacing);-ms-letter-spacing:var(--plasma-notification-content-font-letter-spacing);letter-spacing:var(--plasma-notification-content-font-letter-spacing);line-height:var(--plasma-notification-content-font-line-height);overflow-wrap:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto;color:var(--plasma-notification-content-color);}
41
+ .Notification_styles_ob8hsa_s18m0x6v__cd062abd{margin-top:1rem;opacity:1;}.Notification_styles_ob8hsa_s18m0x6v__cd062abd.Notification_styles_ob8hsa_s18m0x6v__cd062abd.Notification_styles_ob8hsa_notificationItemOpened__cd062abd{-webkit-animation:0.4s Notification_styles_ob8hsa_showAnimationS18m0x6v__cd062abd ease-out;animation:0.4s Notification_styles_ob8hsa_showAnimationS18m0x6v__cd062abd ease-out;}.Notification_styles_ob8hsa_s18m0x6v__cd062abd.Notification_styles_ob8hsa_s18m0x6v__cd062abd.Notification_styles_ob8hsa_notificationItemOpened__cd062abd.Notification_styles_ob8hsa_notificationLeftToRightAnimation__cd062abd{-webkit-animation:0.4s Notification_styles_ob8hsa_showLeftToRightAnimationS18m0x6v__cd062abd ease-out;animation:0.4s Notification_styles_ob8hsa_showLeftToRightAnimationS18m0x6v__cd062abd ease-out;}.Notification_styles_ob8hsa_s18m0x6v__cd062abd.Notification_styles_ob8hsa_s18m0x6v__cd062abd.Notification_styles_ob8hsa_notificationItemHidden__cd062abd{-webkit-animation:0.4s Notification_styles_ob8hsa_hideAnimationS18m0x6v__cd062abd ease-out;animation:0.4s Notification_styles_ob8hsa_hideAnimationS18m0x6v__cd062abd ease-out;}.Notification_styles_ob8hsa_s18m0x6v__cd062abd.Notification_styles_ob8hsa_s18m0x6v__cd062abd.Notification_styles_ob8hsa_notificationItemHidden__cd062abd.Notification_styles_ob8hsa_notificationLeftToRightAnimation__cd062abd{-webkit-animation:0.4s Notification_styles_ob8hsa_hideLeftToRightAnimationS18m0x6v__cd062abd ease-out;animation:0.4s Notification_styles_ob8hsa_hideLeftToRightAnimationS18m0x6v__cd062abd ease-out;}@-webkit-keyframes Notification_styles_ob8hsa_showLeftToRightAnimationS18m0x6v__cd062abd{0%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);opacity:0;}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}}@keyframes Notification_styles_ob8hsa_showLeftToRightAnimationS18m0x6v__cd062abd{0%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);opacity:0;}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}}@-webkit-keyframes Notification_styles_ob8hsa_hideLeftToRightAnimationS18m0x6v__cd062abd{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}100%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);opacity:0;}}@keyframes Notification_styles_ob8hsa_hideLeftToRightAnimationS18m0x6v__cd062abd{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}100%{-webkit-transform:translateX(-100%);-ms-transform:translateX(-100%);transform:translateX(-100%);opacity:0;}}@-webkit-keyframes Notification_styles_ob8hsa_showAnimationS18m0x6v__cd062abd{0%{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);opacity:0;}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}}@keyframes Notification_styles_ob8hsa_showAnimationS18m0x6v__cd062abd{0%{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);opacity:0;}100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}}@-webkit-keyframes Notification_styles_ob8hsa_hideAnimationS18m0x6v__cd062abd{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}100%{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);opacity:0;}}@keyframes Notification_styles_ob8hsa_hideAnimationS18m0x6v__cd062abd{0%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0);opacity:1;}100%{-webkit-transform:translateX(100%);-ms-transform:translateX(100%);transform:translateX(100%);opacity:0;}}
42
+ .Notification_styles_ob8hsa_sfe5ql2__cd062abd{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;box-sizing:border-box;padding:0 1.5rem 1.5rem;max-height:100%;-webkit-align-items:var(--sfe5ql2-0);-webkit-box-align:var(--sfe5ql2-0);-ms-flex-align:var(--sfe5ql2-0);align-items:var(--sfe5ql2-0);}
43
43
 
44
44
  .NotificationsPortal_6417q6_s19gbs9t__4166aeb6 > .NotificationsPortal_6417q6_popupBaseRoot__4166aeb6{overflow:hidden;}
@@ -1,5 +1,5 @@
1
- import './base_nf9u2h.css';
2
- var base = "b1t6qghe";
1
+ import './base_x642ct.css';
2
+ var base = "byaqp79";
3
3
 
4
4
  export { base };
5
5
  //# sourceMappingURL=base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.js","sources":["../../../../../src/components/Notification/variations/_closeIconType/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nexport const base = css``;\n"],"names":["base"],"mappings":"AAEO,IAAMA,IAAI,GAAQ;;;;"}