@salutejs/plasma-new-hope 0.133.2-canary.1396.10611246152.0 → 0.134.0-canary.1352.10609199302.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (729) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +11 -9
  2. package/cjs/components/DatePicker/RangeDate/RangeDate.css +11 -9
  3. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +11 -9
  4. package/cjs/components/DatePicker/SingleDate/SingleDate.css +11 -9
  5. package/cjs/components/Range/Range.css +11 -9
  6. package/cjs/components/Slider/Slider.css +11 -9
  7. package/cjs/components/Slider/components/Double/Double.css +11 -9
  8. package/cjs/components/TextArea/TextArea.js +28 -7
  9. package/cjs/components/TextArea/TextArea.js.map +1 -1
  10. package/cjs/components/TextArea/TextArea.styles.js +47 -35
  11. package/cjs/components/TextArea/TextArea.styles.js.map +1 -1
  12. package/cjs/components/TextArea/TextArea.styles_av6xxy.css +11 -0
  13. package/cjs/components/TextArea/TextArea.tokens.js +8 -1
  14. package/cjs/components/TextArea/TextArea.tokens.js.map +1 -1
  15. package/cjs/components/TextArea/variations/_required/base.js +9 -0
  16. package/cjs/components/TextArea/variations/_required/base.js.map +1 -0
  17. package/cjs/components/TextArea/variations/_required/base_x642ct.css +1 -0
  18. package/cjs/components/TextField/TextField.js +32 -9
  19. package/cjs/components/TextField/TextField.js.map +1 -1
  20. package/cjs/components/TextField/TextField.styles.js +13 -1
  21. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  22. package/{es/components/TextField/TextField.styles_9fkr1l.css → cjs/components/TextField/TextField.styles_1lfge6n.css} +3 -1
  23. package/cjs/components/TextField/TextField.tokens.js +8 -1
  24. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  25. package/cjs/components/TextField/TextField_1lzb2r1.css +1 -0
  26. package/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  27. package/cjs/components/TextField/variations/_label-placement/base.js.map +1 -1
  28. package/cjs/components/TextField/variations/_label-placement/base_1yaoy2k.css +1 -0
  29. package/cjs/components/TextField/variations/_required/base.js +9 -0
  30. package/cjs/components/TextField/variations/_required/base.js.map +1 -0
  31. package/cjs/components/TextField/variations/_required/base_x642ct.css +1 -0
  32. package/cjs/index.css +22 -18
  33. package/emotion/cjs/components/TextArea/TextArea.js +29 -8
  34. package/emotion/cjs/components/TextArea/TextArea.styles.js +27 -19
  35. package/emotion/cjs/components/TextArea/TextArea.template-doc.mdx +29 -3
  36. package/emotion/cjs/components/TextArea/TextArea.tokens.js +8 -1
  37. package/emotion/cjs/components/TextArea/variations/_required/base.js +8 -0
  38. package/emotion/cjs/components/TextArea/variations/_required/tokens.json +1 -0
  39. package/emotion/cjs/components/TextArea/variations/_size/tokens.json +7 -1
  40. package/emotion/cjs/components/TextField/TextField.js +36 -13
  41. package/emotion/cjs/components/TextField/TextField.styles.js +37 -21
  42. package/emotion/cjs/components/TextField/TextField.template-doc.mdx +27 -1
  43. package/emotion/cjs/components/TextField/TextField.tokens.js +8 -1
  44. package/emotion/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  45. package/emotion/cjs/components/TextField/variations/_required/base.js +8 -0
  46. package/emotion/cjs/components/TextField/variations/_required/tokens.json +1 -0
  47. package/emotion/cjs/components/TextField/variations/_size/tokens.json +6 -0
  48. package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.config.js +12 -9
  49. package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +9 -0
  50. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +15 -12
  51. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +9 -1
  52. package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.config.js +12 -9
  53. package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +10 -0
  54. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.config.js +15 -12
  55. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +10 -0
  56. package/emotion/cjs/examples/sds_engineer/components/Avatar/Avatar.config.js +29 -0
  57. package/emotion/cjs/examples/sds_engineer/components/Avatar/Avatar.js +11 -0
  58. package/emotion/cjs/examples/sds_engineer/components/Avatar/Avatar.stories.tsx +65 -0
  59. package/emotion/cjs/examples/sds_engineer/components/AvatarGroup/AvatarGroup.js +10 -0
  60. package/emotion/cjs/examples/sds_engineer/components/AvatarGroup/AvatarGroup.stories.tsx +73 -0
  61. package/emotion/cjs/examples/sds_engineer/components/Badge/Badge.config.js +36 -0
  62. package/emotion/cjs/examples/sds_engineer/components/Badge/Badge.js +11 -0
  63. package/emotion/cjs/examples/sds_engineer/components/Badge/Badge.stories.tsx +56 -0
  64. package/emotion/cjs/examples/sds_engineer/components/Button/Button.config.js +51 -0
  65. package/emotion/cjs/examples/sds_engineer/components/Button/Button.js +11 -0
  66. package/emotion/cjs/examples/sds_engineer/components/Button/Button.stories.tsx +117 -0
  67. package/emotion/cjs/examples/sds_engineer/components/ButtonGroup/ButtonGroup.config.js +56 -0
  68. package/emotion/cjs/examples/sds_engineer/components/ButtonGroup/ButtonGroup.js +11 -0
  69. package/emotion/cjs/examples/sds_engineer/components/ButtonGroup/ButtonGroup.stories.tsx +118 -0
  70. package/emotion/cjs/examples/sds_engineer/components/Calendar/Calendar.js +23 -0
  71. package/emotion/cjs/examples/sds_engineer/components/Calendar/Calendar.stories.tsx +283 -0
  72. package/emotion/cjs/examples/sds_engineer/components/Calendar/CalendarBase.config.js +25 -0
  73. package/emotion/cjs/examples/sds_engineer/components/Calendar/CalendarDouble.config.js +25 -0
  74. package/emotion/cjs/examples/sds_engineer/components/Checkbox/Checkbox.config.js +41 -0
  75. package/emotion/cjs/examples/sds_engineer/components/Checkbox/Checkbox.js +11 -0
  76. package/emotion/cjs/examples/sds_engineer/components/Checkbox/Checkbox.stories.tsx +167 -0
  77. package/emotion/cjs/examples/sds_engineer/components/Chip/Chip.config.js +28 -0
  78. package/emotion/cjs/examples/sds_engineer/components/Chip/Chip.js +11 -0
  79. package/emotion/cjs/examples/sds_engineer/components/Chip/Chip.stories.tsx +37 -0
  80. package/emotion/cjs/examples/sds_engineer/components/Counter/Counter.config.js +29 -0
  81. package/emotion/cjs/examples/sds_engineer/components/Counter/Counter.js +11 -0
  82. package/emotion/cjs/examples/sds_engineer/components/Counter/Counter.stories.tsx +41 -0
  83. package/emotion/cjs/examples/sds_engineer/components/Divider/Divider.config.js +31 -0
  84. package/emotion/cjs/examples/sds_engineer/components/Divider/Divider.js +11 -0
  85. package/emotion/cjs/examples/sds_engineer/components/Divider/Divider.stories.tsx +61 -0
  86. package/emotion/cjs/examples/sds_engineer/components/Drawer/Drawer.config.js +26 -0
  87. package/emotion/cjs/examples/sds_engineer/components/Drawer/Drawer.js +18 -0
  88. package/emotion/cjs/examples/sds_engineer/components/Drawer/Drawer.stories.tsx +218 -0
  89. package/emotion/cjs/examples/sds_engineer/components/Grid/Grid.config.js +22 -0
  90. package/emotion/cjs/examples/sds_engineer/components/Grid/Grid.js +23 -0
  91. package/emotion/cjs/examples/sds_engineer/components/Grid/Grid.stories.tsx +122 -0
  92. package/emotion/cjs/examples/sds_engineer/components/Image/Image.js +10 -0
  93. package/emotion/cjs/examples/sds_engineer/components/Image/Image.stories.tsx +48 -0
  94. package/emotion/cjs/examples/sds_engineer/components/Link/Link.config.js +121 -0
  95. package/emotion/cjs/examples/sds_engineer/components/Link/Link.js +11 -0
  96. package/emotion/cjs/examples/sds_engineer/components/Link/Link.stories.tsx +30 -0
  97. package/emotion/cjs/examples/sds_engineer/components/Modal/Modal.config.js +18 -0
  98. package/emotion/cjs/examples/sds_engineer/components/Modal/Modal.js +17 -0
  99. package/emotion/cjs/examples/sds_engineer/components/Modal/Modal.stories.tsx +208 -0
  100. package/emotion/cjs/examples/sds_engineer/components/Notification/Notification.config.js +25 -0
  101. package/emotion/cjs/examples/sds_engineer/components/Notification/Notification.js +29 -0
  102. package/emotion/cjs/examples/sds_engineer/components/Notification/Notification.stories.tsx +159 -0
  103. package/emotion/cjs/examples/sds_engineer/components/Overlay/Overlay.stories.tsx +79 -0
  104. package/emotion/cjs/examples/sds_engineer/components/Panel/Panel.config.js +27 -0
  105. package/emotion/cjs/examples/sds_engineer/components/Panel/Panel.js +18 -0
  106. package/emotion/cjs/examples/sds_engineer/components/Panel/Panel.stories.tsx +148 -0
  107. package/emotion/cjs/examples/sds_engineer/components/Popover/Popover.config.js +18 -0
  108. package/emotion/cjs/examples/sds_engineer/components/Popover/Popover.js +11 -0
  109. package/emotion/cjs/examples/sds_engineer/components/Popover/Popover.stories.tsx +117 -0
  110. package/emotion/cjs/examples/sds_engineer/components/Popup/Popup.js +28 -0
  111. package/emotion/cjs/examples/sds_engineer/components/Popup/Popup.stories.tsx +179 -0
  112. package/emotion/cjs/examples/sds_engineer/components/Progress/Progress.config.js +28 -0
  113. package/emotion/cjs/examples/sds_engineer/components/Progress/Progress.js +11 -0
  114. package/emotion/cjs/examples/sds_engineer/components/Progress/Progress.stories.tsx +33 -0
  115. package/emotion/cjs/examples/sds_engineer/components/Radiobox/Radiobox.config.js +42 -0
  116. package/emotion/cjs/examples/sds_engineer/components/Radiobox/Radiobox.js +11 -0
  117. package/emotion/cjs/examples/sds_engineer/components/Radiobox/Radiobox.stories.tsx +134 -0
  118. package/emotion/cjs/examples/sds_engineer/components/Segment/Segment.js +14 -0
  119. package/emotion/cjs/examples/sds_engineer/components/Segment/Segment.stories.tsx +95 -0
  120. package/emotion/cjs/examples/sds_engineer/components/Segment/SegmentGroup.config.js +35 -0
  121. package/emotion/cjs/examples/sds_engineer/components/Segment/SegmentItem.config.js +33 -0
  122. package/emotion/cjs/examples/sds_engineer/components/Skeleton/LineSkeleton.config.js +34 -0
  123. package/emotion/cjs/examples/sds_engineer/components/Skeleton/Skeleton.js +25 -0
  124. package/emotion/cjs/examples/sds_engineer/components/Skeleton/Skeleton.stories.tsx +90 -0
  125. package/emotion/cjs/examples/sds_engineer/components/Spinner/Spinner.config.js +31 -0
  126. package/emotion/cjs/examples/sds_engineer/components/Spinner/Spinner.js +11 -0
  127. package/emotion/cjs/examples/sds_engineer/components/Spinner/Spinner.stories.tsx +53 -0
  128. package/emotion/cjs/examples/sds_engineer/components/Switch/Switch.config.js +36 -0
  129. package/emotion/cjs/examples/sds_engineer/components/Switch/Switch.js +11 -0
  130. package/emotion/cjs/examples/sds_engineer/components/Switch/Switch.stories.tsx +61 -0
  131. package/emotion/cjs/examples/sds_engineer/components/Tabs/TabItem.config.js +39 -0
  132. package/emotion/cjs/examples/sds_engineer/components/Tabs/TabItem.js +11 -0
  133. package/emotion/cjs/examples/sds_engineer/components/Tabs/Tabs.config.js +42 -0
  134. package/emotion/cjs/examples/sds_engineer/components/Tabs/Tabs.js +11 -0
  135. package/emotion/cjs/examples/sds_engineer/components/Tabs/Tabs.stories.tsx +262 -0
  136. package/emotion/cjs/examples/sds_engineer/components/Tabs/TabsController.js +10 -0
  137. package/emotion/cjs/examples/sds_engineer/components/TextArea/TextArea.config.js +28 -0
  138. package/emotion/cjs/examples/sds_engineer/components/TextArea/TextArea.js +11 -0
  139. package/emotion/cjs/examples/sds_engineer/components/TextArea/TextArea.stories.tsx +66 -0
  140. package/emotion/cjs/examples/sds_engineer/components/TextField/TextField.config.js +39 -0
  141. package/emotion/cjs/examples/sds_engineer/components/TextField/TextField.js +11 -0
  142. package/emotion/cjs/examples/sds_engineer/components/TextField/TextField.stories.tsx +171 -0
  143. package/emotion/cjs/examples/sds_engineer/components/Toast/Toast.config.js +27 -0
  144. package/emotion/cjs/examples/sds_engineer/components/Toast/Toast.js +19 -0
  145. package/emotion/cjs/examples/sds_engineer/components/Toast/Toast.stories.tsx +223 -0
  146. package/emotion/cjs/examples/sds_engineer/components/Toolbar/Toolbar.config.js +25 -0
  147. package/emotion/cjs/examples/sds_engineer/components/Toolbar/Toolbar.js +17 -0
  148. package/emotion/cjs/examples/sds_engineer/components/Toolbar/Toolbar.stories.tsx +64 -0
  149. package/emotion/cjs/examples/sds_engineer/components/Tooltip/Tooltip.config.js +22 -0
  150. package/emotion/cjs/examples/sds_engineer/components/Tooltip/Tooltip.js +11 -0
  151. package/emotion/cjs/examples/sds_engineer/components/Tooltip/Tooltip.stories.tsx +205 -0
  152. package/emotion/cjs/examples/themes/index.js +3 -1
  153. package/emotion/cjs/examples/themes/sds_engineer.module.css +373 -0
  154. package/emotion/es/components/TextArea/TextArea.js +30 -9
  155. package/emotion/es/components/TextArea/TextArea.styles.js +26 -18
  156. package/emotion/es/components/TextArea/TextArea.template-doc.mdx +29 -3
  157. package/emotion/es/components/TextArea/TextArea.tokens.js +8 -1
  158. package/emotion/es/components/TextArea/variations/_required/base.js +2 -0
  159. package/emotion/es/components/TextArea/variations/_required/tokens.json +1 -0
  160. package/emotion/es/components/TextArea/variations/_size/tokens.json +7 -1
  161. package/emotion/es/components/TextField/TextField.js +35 -12
  162. package/emotion/es/components/TextField/TextField.styles.js +36 -20
  163. package/emotion/es/components/TextField/TextField.template-doc.mdx +27 -1
  164. package/emotion/es/components/TextField/TextField.tokens.js +8 -1
  165. package/emotion/es/components/TextField/variations/_label-placement/base.js +1 -1
  166. package/emotion/es/components/TextField/variations/_required/base.js +2 -0
  167. package/emotion/es/components/TextField/variations/_required/tokens.json +1 -0
  168. package/emotion/es/components/TextField/variations/_size/tokens.json +6 -0
  169. package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.config.js +12 -9
  170. package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +9 -0
  171. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.config.js +15 -12
  172. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +9 -1
  173. package/emotion/es/examples/plasma_web/components/TextArea/TextArea.config.js +12 -9
  174. package/emotion/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +10 -0
  175. package/emotion/es/examples/plasma_web/components/TextField/TextField.config.js +15 -12
  176. package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +10 -0
  177. package/emotion/es/examples/sds_engineer/components/Avatar/Avatar.config.js +23 -0
  178. package/emotion/es/examples/sds_engineer/components/Avatar/Avatar.js +5 -0
  179. package/emotion/es/examples/sds_engineer/components/Avatar/Avatar.stories.tsx +65 -0
  180. package/emotion/es/examples/sds_engineer/components/AvatarGroup/AvatarGroup.js +4 -0
  181. package/emotion/es/examples/sds_engineer/components/AvatarGroup/AvatarGroup.stories.tsx +73 -0
  182. package/emotion/es/examples/sds_engineer/components/Badge/Badge.config.js +30 -0
  183. package/emotion/es/examples/sds_engineer/components/Badge/Badge.js +5 -0
  184. package/emotion/es/examples/sds_engineer/components/Badge/Badge.stories.tsx +56 -0
  185. package/emotion/es/examples/sds_engineer/components/Button/Button.config.js +45 -0
  186. package/emotion/es/examples/sds_engineer/components/Button/Button.js +5 -0
  187. package/emotion/es/examples/sds_engineer/components/Button/Button.stories.tsx +117 -0
  188. package/emotion/es/examples/sds_engineer/components/ButtonGroup/ButtonGroup.config.js +50 -0
  189. package/emotion/es/examples/sds_engineer/components/ButtonGroup/ButtonGroup.js +5 -0
  190. package/emotion/es/examples/sds_engineer/components/ButtonGroup/ButtonGroup.stories.tsx +118 -0
  191. package/emotion/es/examples/sds_engineer/components/Calendar/Calendar.js +17 -0
  192. package/emotion/es/examples/sds_engineer/components/Calendar/Calendar.stories.tsx +283 -0
  193. package/emotion/es/examples/sds_engineer/components/Calendar/CalendarBase.config.js +19 -0
  194. package/emotion/es/examples/sds_engineer/components/Calendar/CalendarDouble.config.js +19 -0
  195. package/emotion/es/examples/sds_engineer/components/Checkbox/Checkbox.config.js +35 -0
  196. package/emotion/es/examples/sds_engineer/components/Checkbox/Checkbox.js +5 -0
  197. package/emotion/es/examples/sds_engineer/components/Checkbox/Checkbox.stories.tsx +167 -0
  198. package/emotion/es/examples/sds_engineer/components/Chip/Chip.config.js +22 -0
  199. package/emotion/es/examples/sds_engineer/components/Chip/Chip.js +5 -0
  200. package/emotion/es/examples/sds_engineer/components/Chip/Chip.stories.tsx +37 -0
  201. package/emotion/es/examples/sds_engineer/components/Counter/Counter.config.js +23 -0
  202. package/emotion/es/examples/sds_engineer/components/Counter/Counter.js +5 -0
  203. package/emotion/es/examples/sds_engineer/components/Counter/Counter.stories.tsx +41 -0
  204. package/emotion/es/examples/sds_engineer/components/Divider/Divider.config.js +25 -0
  205. package/emotion/es/examples/sds_engineer/components/Divider/Divider.js +5 -0
  206. package/emotion/es/examples/sds_engineer/components/Divider/Divider.stories.tsx +61 -0
  207. package/emotion/es/examples/sds_engineer/components/Drawer/Drawer.config.js +20 -0
  208. package/emotion/es/examples/sds_engineer/components/Drawer/Drawer.js +12 -0
  209. package/emotion/es/examples/sds_engineer/components/Drawer/Drawer.stories.tsx +218 -0
  210. package/emotion/es/examples/sds_engineer/components/Grid/Grid.config.js +16 -0
  211. package/emotion/es/examples/sds_engineer/components/Grid/Grid.js +6 -0
  212. package/emotion/es/examples/sds_engineer/components/Grid/Grid.stories.tsx +122 -0
  213. package/emotion/es/examples/sds_engineer/components/Image/Image.js +4 -0
  214. package/emotion/es/examples/sds_engineer/components/Image/Image.stories.tsx +48 -0
  215. package/emotion/es/examples/sds_engineer/components/Link/Link.config.js +115 -0
  216. package/emotion/es/examples/sds_engineer/components/Link/Link.js +5 -0
  217. package/emotion/es/examples/sds_engineer/components/Link/Link.stories.tsx +30 -0
  218. package/emotion/es/examples/sds_engineer/components/Modal/Modal.config.js +12 -0
  219. package/emotion/es/examples/sds_engineer/components/Modal/Modal.js +6 -0
  220. package/emotion/es/examples/sds_engineer/components/Modal/Modal.stories.tsx +208 -0
  221. package/emotion/es/examples/sds_engineer/components/Notification/Notification.config.js +19 -0
  222. package/emotion/es/examples/sds_engineer/components/Notification/Notification.js +16 -0
  223. package/emotion/es/examples/sds_engineer/components/Notification/Notification.stories.tsx +159 -0
  224. package/emotion/es/examples/sds_engineer/components/Overlay/Overlay.stories.tsx +79 -0
  225. package/emotion/es/examples/sds_engineer/components/Panel/Panel.config.js +21 -0
  226. package/emotion/es/examples/sds_engineer/components/Panel/Panel.js +12 -0
  227. package/emotion/es/examples/sds_engineer/components/Panel/Panel.stories.tsx +148 -0
  228. package/emotion/es/examples/sds_engineer/components/Popover/Popover.config.js +12 -0
  229. package/emotion/es/examples/sds_engineer/components/Popover/Popover.js +5 -0
  230. package/emotion/es/examples/sds_engineer/components/Popover/Popover.stories.tsx +117 -0
  231. package/emotion/es/examples/sds_engineer/components/Popup/Popup.js +5 -0
  232. package/emotion/es/examples/sds_engineer/components/Popup/Popup.stories.tsx +179 -0
  233. package/emotion/es/examples/sds_engineer/components/Progress/Progress.config.js +22 -0
  234. package/emotion/es/examples/sds_engineer/components/Progress/Progress.js +5 -0
  235. package/emotion/es/examples/sds_engineer/components/Progress/Progress.stories.tsx +33 -0
  236. package/emotion/es/examples/sds_engineer/components/Radiobox/Radiobox.config.js +36 -0
  237. package/emotion/es/examples/sds_engineer/components/Radiobox/Radiobox.js +5 -0
  238. package/emotion/es/examples/sds_engineer/components/Radiobox/Radiobox.stories.tsx +134 -0
  239. package/emotion/es/examples/sds_engineer/components/Segment/Segment.js +8 -0
  240. package/emotion/es/examples/sds_engineer/components/Segment/Segment.stories.tsx +95 -0
  241. package/emotion/es/examples/sds_engineer/components/Segment/SegmentGroup.config.js +29 -0
  242. package/emotion/es/examples/sds_engineer/components/Segment/SegmentItem.config.js +27 -0
  243. package/emotion/es/examples/sds_engineer/components/Skeleton/LineSkeleton.config.js +28 -0
  244. package/emotion/es/examples/sds_engineer/components/Skeleton/Skeleton.js +7 -0
  245. package/emotion/es/examples/sds_engineer/components/Skeleton/Skeleton.stories.tsx +90 -0
  246. package/emotion/es/examples/sds_engineer/components/Spinner/Spinner.config.js +25 -0
  247. package/emotion/es/examples/sds_engineer/components/Spinner/Spinner.js +5 -0
  248. package/emotion/es/examples/sds_engineer/components/Spinner/Spinner.stories.tsx +53 -0
  249. package/emotion/es/examples/sds_engineer/components/Switch/Switch.config.js +30 -0
  250. package/emotion/es/examples/sds_engineer/components/Switch/Switch.js +5 -0
  251. package/emotion/es/examples/sds_engineer/components/Switch/Switch.stories.tsx +61 -0
  252. package/emotion/es/examples/sds_engineer/components/Tabs/TabItem.config.js +33 -0
  253. package/emotion/es/examples/sds_engineer/components/Tabs/TabItem.js +5 -0
  254. package/emotion/es/examples/sds_engineer/components/Tabs/Tabs.config.js +36 -0
  255. package/emotion/es/examples/sds_engineer/components/Tabs/Tabs.js +5 -0
  256. package/emotion/es/examples/sds_engineer/components/Tabs/Tabs.stories.tsx +262 -0
  257. package/emotion/es/examples/sds_engineer/components/Tabs/TabsController.js +4 -0
  258. package/emotion/es/examples/sds_engineer/components/TextArea/TextArea.config.js +22 -0
  259. package/emotion/es/examples/sds_engineer/components/TextArea/TextArea.js +5 -0
  260. package/emotion/es/examples/sds_engineer/components/TextArea/TextArea.stories.tsx +66 -0
  261. package/emotion/es/examples/sds_engineer/components/TextField/TextField.config.js +33 -0
  262. package/emotion/es/examples/sds_engineer/components/TextField/TextField.js +5 -0
  263. package/emotion/es/examples/sds_engineer/components/TextField/TextField.stories.tsx +171 -0
  264. package/emotion/es/examples/sds_engineer/components/Toast/Toast.config.js +21 -0
  265. package/emotion/es/examples/sds_engineer/components/Toast/Toast.js +8 -0
  266. package/emotion/es/examples/sds_engineer/components/Toast/Toast.stories.tsx +223 -0
  267. package/emotion/es/examples/sds_engineer/components/Toolbar/Toolbar.config.js +19 -0
  268. package/emotion/es/examples/sds_engineer/components/Toolbar/Toolbar.js +11 -0
  269. package/emotion/es/examples/sds_engineer/components/Toolbar/Toolbar.stories.tsx +64 -0
  270. package/emotion/es/examples/sds_engineer/components/Tooltip/Tooltip.config.js +16 -0
  271. package/emotion/es/examples/sds_engineer/components/Tooltip/Tooltip.js +5 -0
  272. package/emotion/es/examples/sds_engineer/components/Tooltip/Tooltip.stories.tsx +205 -0
  273. package/emotion/es/examples/themes/index.js +3 -1
  274. package/emotion/es/examples/themes/sds_engineer.module.css +373 -0
  275. package/es/components/Autocomplete/Autocomplete.css +11 -9
  276. package/es/components/DatePicker/RangeDate/RangeDate.css +11 -9
  277. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +11 -9
  278. package/es/components/DatePicker/SingleDate/SingleDate.css +11 -9
  279. package/es/components/Range/Range.css +11 -9
  280. package/es/components/Slider/Slider.css +11 -9
  281. package/es/components/Slider/components/Double/Double.css +11 -9
  282. package/es/components/TextArea/TextArea.js +29 -8
  283. package/es/components/TextArea/TextArea.js.map +1 -1
  284. package/es/components/TextArea/TextArea.styles.js +46 -36
  285. package/es/components/TextArea/TextArea.styles.js.map +1 -1
  286. package/es/components/TextArea/TextArea.styles_av6xxy.css +11 -0
  287. package/es/components/TextArea/TextArea.tokens.js +8 -1
  288. package/es/components/TextArea/TextArea.tokens.js.map +1 -1
  289. package/es/components/TextArea/variations/_required/base.js +5 -0
  290. package/es/components/TextArea/variations/_required/base.js.map +1 -0
  291. package/es/components/TextArea/variations/_required/base_x642ct.css +1 -0
  292. package/es/components/TextField/TextField.js +33 -10
  293. package/es/components/TextField/TextField.js.map +1 -1
  294. package/es/components/TextField/TextField.styles.js +12 -2
  295. package/es/components/TextField/TextField.styles.js.map +1 -1
  296. package/{cjs/components/TextField/TextField.styles_9fkr1l.css → es/components/TextField/TextField.styles_1lfge6n.css} +3 -1
  297. package/es/components/TextField/TextField.tokens.js +8 -1
  298. package/es/components/TextField/TextField.tokens.js.map +1 -1
  299. package/es/components/TextField/TextField_1lzb2r1.css +1 -0
  300. package/es/components/TextField/variations/_label-placement/base.js +1 -1
  301. package/es/components/TextField/variations/_label-placement/base.js.map +1 -1
  302. package/es/components/TextField/variations/_label-placement/base_1yaoy2k.css +1 -0
  303. package/es/components/TextField/variations/_required/base.js +5 -0
  304. package/es/components/TextField/variations/_required/base.js.map +1 -0
  305. package/es/components/TextField/variations/_required/base_x642ct.css +1 -0
  306. package/es/index.css +22 -18
  307. package/package.json +2 -2
  308. package/styled-components/cjs/components/TextArea/TextArea.js +28 -7
  309. package/styled-components/cjs/components/TextArea/TextArea.styles.js +17 -11
  310. package/styled-components/cjs/components/TextArea/TextArea.template-doc.mdx +29 -3
  311. package/styled-components/cjs/components/TextArea/TextArea.tokens.js +8 -1
  312. package/styled-components/cjs/components/TextArea/variations/_required/base.js +8 -0
  313. package/styled-components/cjs/components/TextArea/variations/_required/tokens.json +1 -0
  314. package/styled-components/cjs/components/TextArea/variations/_size/tokens.json +7 -1
  315. package/styled-components/cjs/components/TextField/TextField.js +32 -9
  316. package/styled-components/cjs/components/TextField/TextField.styles.js +9 -3
  317. package/styled-components/cjs/components/TextField/TextField.template-doc.mdx +27 -1
  318. package/styled-components/cjs/components/TextField/TextField.tokens.js +8 -1
  319. package/styled-components/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  320. package/styled-components/cjs/components/TextField/variations/_required/base.js +8 -0
  321. package/styled-components/cjs/components/TextField/variations/_required/tokens.json +1 -0
  322. package/styled-components/cjs/components/TextField/variations/_size/tokens.json +6 -0
  323. package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.config.js +7 -4
  324. package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +9 -0
  325. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +7 -4
  326. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +9 -1
  327. package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.config.js +7 -4
  328. package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +10 -0
  329. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.config.js +7 -4
  330. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +10 -0
  331. package/styled-components/cjs/examples/sds_engineer/components/Avatar/Avatar.config.js +29 -0
  332. package/styled-components/cjs/examples/sds_engineer/components/Avatar/Avatar.js +11 -0
  333. package/styled-components/cjs/examples/sds_engineer/components/Avatar/Avatar.stories.tsx +65 -0
  334. package/styled-components/cjs/examples/sds_engineer/components/AvatarGroup/AvatarGroup.js +10 -0
  335. package/styled-components/cjs/examples/sds_engineer/components/AvatarGroup/AvatarGroup.stories.tsx +73 -0
  336. package/styled-components/cjs/examples/sds_engineer/components/Badge/Badge.config.js +36 -0
  337. package/styled-components/cjs/examples/sds_engineer/components/Badge/Badge.js +11 -0
  338. package/styled-components/cjs/examples/sds_engineer/components/Badge/Badge.stories.tsx +56 -0
  339. package/styled-components/cjs/examples/sds_engineer/components/Button/Button.config.js +51 -0
  340. package/styled-components/cjs/examples/sds_engineer/components/Button/Button.js +11 -0
  341. package/styled-components/cjs/examples/sds_engineer/components/Button/Button.stories.tsx +117 -0
  342. package/styled-components/cjs/examples/sds_engineer/components/ButtonGroup/ButtonGroup.config.js +56 -0
  343. package/styled-components/cjs/examples/sds_engineer/components/ButtonGroup/ButtonGroup.js +11 -0
  344. package/styled-components/cjs/examples/sds_engineer/components/ButtonGroup/ButtonGroup.stories.tsx +118 -0
  345. package/styled-components/cjs/examples/sds_engineer/components/Calendar/Calendar.js +23 -0
  346. package/styled-components/cjs/examples/sds_engineer/components/Calendar/Calendar.stories.tsx +283 -0
  347. package/styled-components/cjs/examples/sds_engineer/components/Calendar/CalendarBase.config.js +25 -0
  348. package/styled-components/cjs/examples/sds_engineer/components/Calendar/CalendarDouble.config.js +25 -0
  349. package/styled-components/cjs/examples/sds_engineer/components/Checkbox/Checkbox.config.js +41 -0
  350. package/styled-components/cjs/examples/sds_engineer/components/Checkbox/Checkbox.js +11 -0
  351. package/styled-components/cjs/examples/sds_engineer/components/Checkbox/Checkbox.stories.tsx +167 -0
  352. package/styled-components/cjs/examples/sds_engineer/components/Chip/Chip.config.js +28 -0
  353. package/styled-components/cjs/examples/sds_engineer/components/Chip/Chip.js +11 -0
  354. package/styled-components/cjs/examples/sds_engineer/components/Chip/Chip.stories.tsx +37 -0
  355. package/styled-components/cjs/examples/sds_engineer/components/Counter/Counter.config.js +29 -0
  356. package/styled-components/cjs/examples/sds_engineer/components/Counter/Counter.js +11 -0
  357. package/styled-components/cjs/examples/sds_engineer/components/Counter/Counter.stories.tsx +41 -0
  358. package/styled-components/cjs/examples/sds_engineer/components/Divider/Divider.config.js +31 -0
  359. package/styled-components/cjs/examples/sds_engineer/components/Divider/Divider.js +11 -0
  360. package/styled-components/cjs/examples/sds_engineer/components/Divider/Divider.stories.tsx +61 -0
  361. package/styled-components/cjs/examples/sds_engineer/components/Drawer/Drawer.config.js +26 -0
  362. package/styled-components/cjs/examples/sds_engineer/components/Drawer/Drawer.js +18 -0
  363. package/styled-components/cjs/examples/sds_engineer/components/Drawer/Drawer.stories.tsx +218 -0
  364. package/styled-components/cjs/examples/sds_engineer/components/Grid/Grid.config.js +22 -0
  365. package/styled-components/cjs/examples/sds_engineer/components/Grid/Grid.js +23 -0
  366. package/styled-components/cjs/examples/sds_engineer/components/Grid/Grid.stories.tsx +122 -0
  367. package/styled-components/cjs/examples/sds_engineer/components/Image/Image.js +10 -0
  368. package/styled-components/cjs/examples/sds_engineer/components/Image/Image.stories.tsx +48 -0
  369. package/styled-components/cjs/examples/sds_engineer/components/Link/Link.config.js +32 -0
  370. package/styled-components/cjs/examples/sds_engineer/components/Link/Link.js +11 -0
  371. package/styled-components/cjs/examples/sds_engineer/components/Link/Link.stories.tsx +30 -0
  372. package/styled-components/cjs/examples/sds_engineer/components/Modal/Modal.config.js +18 -0
  373. package/styled-components/cjs/examples/sds_engineer/components/Modal/Modal.js +17 -0
  374. package/styled-components/cjs/examples/sds_engineer/components/Modal/Modal.stories.tsx +208 -0
  375. package/styled-components/cjs/examples/sds_engineer/components/Notification/Notification.config.js +25 -0
  376. package/styled-components/cjs/examples/sds_engineer/components/Notification/Notification.js +29 -0
  377. package/styled-components/cjs/examples/sds_engineer/components/Notification/Notification.stories.tsx +159 -0
  378. package/styled-components/cjs/examples/sds_engineer/components/Overlay/Overlay.stories.tsx +79 -0
  379. package/styled-components/cjs/examples/sds_engineer/components/Panel/Panel.config.js +27 -0
  380. package/styled-components/cjs/examples/sds_engineer/components/Panel/Panel.js +18 -0
  381. package/styled-components/cjs/examples/sds_engineer/components/Panel/Panel.stories.tsx +148 -0
  382. package/styled-components/cjs/examples/sds_engineer/components/Popover/Popover.config.js +18 -0
  383. package/styled-components/cjs/examples/sds_engineer/components/Popover/Popover.js +11 -0
  384. package/styled-components/cjs/examples/sds_engineer/components/Popover/Popover.stories.tsx +117 -0
  385. package/styled-components/cjs/examples/sds_engineer/components/Popup/Popup.js +28 -0
  386. package/styled-components/cjs/examples/sds_engineer/components/Popup/Popup.stories.tsx +179 -0
  387. package/styled-components/cjs/examples/sds_engineer/components/Progress/Progress.config.js +28 -0
  388. package/styled-components/cjs/examples/sds_engineer/components/Progress/Progress.js +11 -0
  389. package/styled-components/cjs/examples/sds_engineer/components/Progress/Progress.stories.tsx +33 -0
  390. package/styled-components/cjs/examples/sds_engineer/components/Radiobox/Radiobox.config.js +42 -0
  391. package/styled-components/cjs/examples/sds_engineer/components/Radiobox/Radiobox.js +11 -0
  392. package/styled-components/cjs/examples/sds_engineer/components/Radiobox/Radiobox.stories.tsx +134 -0
  393. package/styled-components/cjs/examples/sds_engineer/components/Segment/Segment.js +14 -0
  394. package/styled-components/cjs/examples/sds_engineer/components/Segment/Segment.stories.tsx +95 -0
  395. package/styled-components/cjs/examples/sds_engineer/components/Segment/SegmentGroup.config.js +35 -0
  396. package/styled-components/cjs/examples/sds_engineer/components/Segment/SegmentItem.config.js +33 -0
  397. package/styled-components/cjs/examples/sds_engineer/components/Skeleton/LineSkeleton.config.js +34 -0
  398. package/styled-components/cjs/examples/sds_engineer/components/Skeleton/Skeleton.js +25 -0
  399. package/styled-components/cjs/examples/sds_engineer/components/Skeleton/Skeleton.stories.tsx +90 -0
  400. package/styled-components/cjs/examples/sds_engineer/components/Spinner/Spinner.config.js +31 -0
  401. package/styled-components/cjs/examples/sds_engineer/components/Spinner/Spinner.js +11 -0
  402. package/styled-components/cjs/examples/sds_engineer/components/Spinner/Spinner.stories.tsx +53 -0
  403. package/styled-components/cjs/examples/sds_engineer/components/Switch/Switch.config.js +36 -0
  404. package/styled-components/cjs/examples/sds_engineer/components/Switch/Switch.js +11 -0
  405. package/styled-components/cjs/examples/sds_engineer/components/Switch/Switch.stories.tsx +61 -0
  406. package/styled-components/cjs/examples/sds_engineer/components/Tabs/TabItem.config.js +39 -0
  407. package/styled-components/cjs/examples/sds_engineer/components/Tabs/TabItem.js +11 -0
  408. package/styled-components/cjs/examples/sds_engineer/components/Tabs/Tabs.config.js +42 -0
  409. package/styled-components/cjs/examples/sds_engineer/components/Tabs/Tabs.js +11 -0
  410. package/styled-components/cjs/examples/sds_engineer/components/Tabs/Tabs.stories.tsx +262 -0
  411. package/styled-components/cjs/examples/sds_engineer/components/Tabs/TabsController.js +10 -0
  412. package/styled-components/cjs/examples/sds_engineer/components/TextArea/TextArea.config.js +28 -0
  413. package/styled-components/cjs/examples/sds_engineer/components/TextArea/TextArea.js +11 -0
  414. package/styled-components/cjs/examples/sds_engineer/components/TextArea/TextArea.stories.tsx +66 -0
  415. package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.config.js +39 -0
  416. package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.js +11 -0
  417. package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.stories.tsx +171 -0
  418. package/styled-components/cjs/examples/sds_engineer/components/Toast/Toast.config.js +27 -0
  419. package/styled-components/cjs/examples/sds_engineer/components/Toast/Toast.js +19 -0
  420. package/styled-components/cjs/examples/sds_engineer/components/Toast/Toast.stories.tsx +223 -0
  421. package/styled-components/cjs/examples/sds_engineer/components/Toolbar/Toolbar.config.js +25 -0
  422. package/styled-components/cjs/examples/sds_engineer/components/Toolbar/Toolbar.js +17 -0
  423. package/styled-components/cjs/examples/sds_engineer/components/Toolbar/Toolbar.stories.tsx +64 -0
  424. package/styled-components/cjs/examples/sds_engineer/components/Tooltip/Tooltip.config.js +22 -0
  425. package/styled-components/cjs/examples/sds_engineer/components/Tooltip/Tooltip.js +11 -0
  426. package/styled-components/cjs/examples/sds_engineer/components/Tooltip/Tooltip.stories.tsx +205 -0
  427. package/styled-components/cjs/examples/themes/index.js +3 -1
  428. package/styled-components/cjs/examples/themes/sds_engineer.module.css +373 -0
  429. package/styled-components/es/components/TextArea/TextArea.js +29 -8
  430. package/styled-components/es/components/TextArea/TextArea.styles.js +16 -10
  431. package/styled-components/es/components/TextArea/TextArea.template-doc.mdx +29 -3
  432. package/styled-components/es/components/TextArea/TextArea.tokens.js +8 -1
  433. package/styled-components/es/components/TextArea/variations/_required/base.js +2 -0
  434. package/styled-components/es/components/TextArea/variations/_required/tokens.json +1 -0
  435. package/styled-components/es/components/TextArea/variations/_size/tokens.json +7 -1
  436. package/styled-components/es/components/TextField/TextField.js +31 -8
  437. package/styled-components/es/components/TextField/TextField.styles.js +8 -2
  438. package/styled-components/es/components/TextField/TextField.template-doc.mdx +27 -1
  439. package/styled-components/es/components/TextField/TextField.tokens.js +8 -1
  440. package/styled-components/es/components/TextField/variations/_label-placement/base.js +1 -1
  441. package/styled-components/es/components/TextField/variations/_required/base.js +2 -0
  442. package/styled-components/es/components/TextField/variations/_required/tokens.json +1 -0
  443. package/styled-components/es/components/TextField/variations/_size/tokens.json +6 -0
  444. package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.config.js +7 -4
  445. package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +9 -0
  446. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +7 -4
  447. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +9 -1
  448. package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.config.js +7 -4
  449. package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +10 -0
  450. package/styled-components/es/examples/plasma_web/components/TextField/TextField.config.js +7 -4
  451. package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +10 -0
  452. package/styled-components/es/examples/sds_engineer/components/Avatar/Avatar.config.js +23 -0
  453. package/styled-components/es/examples/sds_engineer/components/Avatar/Avatar.js +5 -0
  454. package/styled-components/es/examples/sds_engineer/components/Avatar/Avatar.stories.tsx +65 -0
  455. package/styled-components/es/examples/sds_engineer/components/AvatarGroup/AvatarGroup.js +4 -0
  456. package/styled-components/es/examples/sds_engineer/components/AvatarGroup/AvatarGroup.stories.tsx +73 -0
  457. package/styled-components/es/examples/sds_engineer/components/Badge/Badge.config.js +30 -0
  458. package/styled-components/es/examples/sds_engineer/components/Badge/Badge.js +5 -0
  459. package/styled-components/es/examples/sds_engineer/components/Badge/Badge.stories.tsx +56 -0
  460. package/styled-components/es/examples/sds_engineer/components/Button/Button.config.js +45 -0
  461. package/styled-components/es/examples/sds_engineer/components/Button/Button.js +5 -0
  462. package/styled-components/es/examples/sds_engineer/components/Button/Button.stories.tsx +117 -0
  463. package/styled-components/es/examples/sds_engineer/components/ButtonGroup/ButtonGroup.config.js +50 -0
  464. package/styled-components/es/examples/sds_engineer/components/ButtonGroup/ButtonGroup.js +5 -0
  465. package/styled-components/es/examples/sds_engineer/components/ButtonGroup/ButtonGroup.stories.tsx +118 -0
  466. package/styled-components/es/examples/sds_engineer/components/Calendar/Calendar.js +17 -0
  467. package/styled-components/es/examples/sds_engineer/components/Calendar/Calendar.stories.tsx +283 -0
  468. package/styled-components/es/examples/sds_engineer/components/Calendar/CalendarBase.config.js +19 -0
  469. package/styled-components/es/examples/sds_engineer/components/Calendar/CalendarDouble.config.js +19 -0
  470. package/styled-components/es/examples/sds_engineer/components/Checkbox/Checkbox.config.js +35 -0
  471. package/styled-components/es/examples/sds_engineer/components/Checkbox/Checkbox.js +5 -0
  472. package/styled-components/es/examples/sds_engineer/components/Checkbox/Checkbox.stories.tsx +167 -0
  473. package/styled-components/es/examples/sds_engineer/components/Chip/Chip.config.js +22 -0
  474. package/styled-components/es/examples/sds_engineer/components/Chip/Chip.js +5 -0
  475. package/styled-components/es/examples/sds_engineer/components/Chip/Chip.stories.tsx +37 -0
  476. package/styled-components/es/examples/sds_engineer/components/Counter/Counter.config.js +23 -0
  477. package/styled-components/es/examples/sds_engineer/components/Counter/Counter.js +5 -0
  478. package/styled-components/es/examples/sds_engineer/components/Counter/Counter.stories.tsx +41 -0
  479. package/styled-components/es/examples/sds_engineer/components/Divider/Divider.config.js +25 -0
  480. package/styled-components/es/examples/sds_engineer/components/Divider/Divider.js +5 -0
  481. package/styled-components/es/examples/sds_engineer/components/Divider/Divider.stories.tsx +61 -0
  482. package/styled-components/es/examples/sds_engineer/components/Drawer/Drawer.config.js +20 -0
  483. package/styled-components/es/examples/sds_engineer/components/Drawer/Drawer.js +12 -0
  484. package/styled-components/es/examples/sds_engineer/components/Drawer/Drawer.stories.tsx +218 -0
  485. package/styled-components/es/examples/sds_engineer/components/Grid/Grid.config.js +16 -0
  486. package/styled-components/es/examples/sds_engineer/components/Grid/Grid.js +6 -0
  487. package/styled-components/es/examples/sds_engineer/components/Grid/Grid.stories.tsx +122 -0
  488. package/styled-components/es/examples/sds_engineer/components/Image/Image.js +4 -0
  489. package/styled-components/es/examples/sds_engineer/components/Image/Image.stories.tsx +48 -0
  490. package/styled-components/es/examples/sds_engineer/components/Link/Link.config.js +26 -0
  491. package/styled-components/es/examples/sds_engineer/components/Link/Link.js +5 -0
  492. package/styled-components/es/examples/sds_engineer/components/Link/Link.stories.tsx +30 -0
  493. package/styled-components/es/examples/sds_engineer/components/Modal/Modal.config.js +12 -0
  494. package/styled-components/es/examples/sds_engineer/components/Modal/Modal.js +6 -0
  495. package/styled-components/es/examples/sds_engineer/components/Modal/Modal.stories.tsx +208 -0
  496. package/styled-components/es/examples/sds_engineer/components/Notification/Notification.config.js +19 -0
  497. package/styled-components/es/examples/sds_engineer/components/Notification/Notification.js +16 -0
  498. package/styled-components/es/examples/sds_engineer/components/Notification/Notification.stories.tsx +159 -0
  499. package/styled-components/es/examples/sds_engineer/components/Overlay/Overlay.stories.tsx +79 -0
  500. package/styled-components/es/examples/sds_engineer/components/Panel/Panel.config.js +21 -0
  501. package/styled-components/es/examples/sds_engineer/components/Panel/Panel.js +12 -0
  502. package/styled-components/es/examples/sds_engineer/components/Panel/Panel.stories.tsx +148 -0
  503. package/styled-components/es/examples/sds_engineer/components/Popover/Popover.config.js +12 -0
  504. package/styled-components/es/examples/sds_engineer/components/Popover/Popover.js +5 -0
  505. package/styled-components/es/examples/sds_engineer/components/Popover/Popover.stories.tsx +117 -0
  506. package/styled-components/es/examples/sds_engineer/components/Popup/Popup.js +5 -0
  507. package/styled-components/es/examples/sds_engineer/components/Popup/Popup.stories.tsx +179 -0
  508. package/styled-components/es/examples/sds_engineer/components/Progress/Progress.config.js +22 -0
  509. package/styled-components/es/examples/sds_engineer/components/Progress/Progress.js +5 -0
  510. package/styled-components/es/examples/sds_engineer/components/Progress/Progress.stories.tsx +33 -0
  511. package/styled-components/es/examples/sds_engineer/components/Radiobox/Radiobox.config.js +36 -0
  512. package/styled-components/es/examples/sds_engineer/components/Radiobox/Radiobox.js +5 -0
  513. package/styled-components/es/examples/sds_engineer/components/Radiobox/Radiobox.stories.tsx +134 -0
  514. package/styled-components/es/examples/sds_engineer/components/Segment/Segment.js +8 -0
  515. package/styled-components/es/examples/sds_engineer/components/Segment/Segment.stories.tsx +95 -0
  516. package/styled-components/es/examples/sds_engineer/components/Segment/SegmentGroup.config.js +29 -0
  517. package/styled-components/es/examples/sds_engineer/components/Segment/SegmentItem.config.js +27 -0
  518. package/styled-components/es/examples/sds_engineer/components/Skeleton/LineSkeleton.config.js +28 -0
  519. package/styled-components/es/examples/sds_engineer/components/Skeleton/Skeleton.js +7 -0
  520. package/styled-components/es/examples/sds_engineer/components/Skeleton/Skeleton.stories.tsx +90 -0
  521. package/styled-components/es/examples/sds_engineer/components/Spinner/Spinner.config.js +25 -0
  522. package/styled-components/es/examples/sds_engineer/components/Spinner/Spinner.js +5 -0
  523. package/styled-components/es/examples/sds_engineer/components/Spinner/Spinner.stories.tsx +53 -0
  524. package/styled-components/es/examples/sds_engineer/components/Switch/Switch.config.js +30 -0
  525. package/styled-components/es/examples/sds_engineer/components/Switch/Switch.js +5 -0
  526. package/styled-components/es/examples/sds_engineer/components/Switch/Switch.stories.tsx +61 -0
  527. package/styled-components/es/examples/sds_engineer/components/Tabs/TabItem.config.js +33 -0
  528. package/styled-components/es/examples/sds_engineer/components/Tabs/TabItem.js +5 -0
  529. package/styled-components/es/examples/sds_engineer/components/Tabs/Tabs.config.js +36 -0
  530. package/styled-components/es/examples/sds_engineer/components/Tabs/Tabs.js +5 -0
  531. package/styled-components/es/examples/sds_engineer/components/Tabs/Tabs.stories.tsx +262 -0
  532. package/styled-components/es/examples/sds_engineer/components/Tabs/TabsController.js +4 -0
  533. package/styled-components/es/examples/sds_engineer/components/TextArea/TextArea.config.js +22 -0
  534. package/styled-components/es/examples/sds_engineer/components/TextArea/TextArea.js +5 -0
  535. package/styled-components/es/examples/sds_engineer/components/TextArea/TextArea.stories.tsx +66 -0
  536. package/styled-components/es/examples/sds_engineer/components/TextField/TextField.config.js +33 -0
  537. package/styled-components/es/examples/sds_engineer/components/TextField/TextField.js +5 -0
  538. package/styled-components/es/examples/sds_engineer/components/TextField/TextField.stories.tsx +171 -0
  539. package/styled-components/es/examples/sds_engineer/components/Toast/Toast.config.js +21 -0
  540. package/styled-components/es/examples/sds_engineer/components/Toast/Toast.js +8 -0
  541. package/styled-components/es/examples/sds_engineer/components/Toast/Toast.stories.tsx +223 -0
  542. package/styled-components/es/examples/sds_engineer/components/Toolbar/Toolbar.config.js +19 -0
  543. package/styled-components/es/examples/sds_engineer/components/Toolbar/Toolbar.js +11 -0
  544. package/styled-components/es/examples/sds_engineer/components/Toolbar/Toolbar.stories.tsx +64 -0
  545. package/styled-components/es/examples/sds_engineer/components/Tooltip/Tooltip.config.js +16 -0
  546. package/styled-components/es/examples/sds_engineer/components/Tooltip/Tooltip.js +5 -0
  547. package/styled-components/es/examples/sds_engineer/components/Tooltip/Tooltip.stories.tsx +205 -0
  548. package/styled-components/es/examples/themes/index.js +3 -1
  549. package/styled-components/es/examples/themes/sds_engineer.module.css +373 -0
  550. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +6 -0
  551. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  552. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +6 -0
  553. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  554. package/types/components/Range/Range.styles.d.ts +6 -0
  555. package/types/components/Range/Range.styles.d.ts.map +1 -1
  556. package/types/components/Slider/components/Double/Double.styles.d.ts +6 -0
  557. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
  558. package/types/components/TextArea/TextArea.d.ts +4 -0
  559. package/types/components/TextArea/TextArea.d.ts.map +1 -1
  560. package/types/components/TextArea/TextArea.styles.d.ts +2 -0
  561. package/types/components/TextArea/TextArea.styles.d.ts.map +1 -1
  562. package/types/components/TextArea/TextArea.tokens.d.ts +7 -0
  563. package/types/components/TextArea/TextArea.tokens.d.ts.map +1 -1
  564. package/types/components/TextArea/TextArea.types.d.ts +13 -0
  565. package/types/components/TextArea/TextArea.types.d.ts.map +1 -1
  566. package/types/components/TextArea/variations/_required/base.d.ts +2 -0
  567. package/types/components/TextArea/variations/_required/base.d.ts.map +1 -0
  568. package/types/components/TextField/TextField.d.ts +4 -0
  569. package/types/components/TextField/TextField.d.ts.map +1 -1
  570. package/types/components/TextField/TextField.styles.d.ts +2 -0
  571. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  572. package/types/components/TextField/TextField.tokens.d.ts +7 -0
  573. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  574. package/types/components/TextField/TextField.types.d.ts +13 -0
  575. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  576. package/types/components/TextField/variations/_label-placement/base.d.ts.map +1 -1
  577. package/types/components/TextField/variations/_required/base.d.ts +2 -0
  578. package/types/components/TextField/variations/_required/base.d.ts.map +1 -0
  579. package/types/examples/plasma_b2c/components/TextArea/TextArea.config.d.ts +3 -0
  580. package/types/examples/plasma_b2c/components/TextArea/TextArea.config.d.ts.map +1 -1
  581. package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts +3 -0
  582. package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts.map +1 -1
  583. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts +3 -0
  584. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -1
  585. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +9 -0
  586. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
  587. package/types/examples/plasma_web/components/TextArea/TextArea.config.d.ts +3 -0
  588. package/types/examples/plasma_web/components/TextArea/TextArea.config.d.ts.map +1 -1
  589. package/types/examples/plasma_web/components/TextArea/TextArea.d.ts +3 -0
  590. package/types/examples/plasma_web/components/TextArea/TextArea.d.ts.map +1 -1
  591. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts +3 -0
  592. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts.map +1 -1
  593. package/types/examples/plasma_web/components/TextField/TextField.d.ts +9 -0
  594. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
  595. package/types/examples/sds_engineer/components/Avatar/Avatar.config.d.ts +22 -0
  596. package/types/examples/sds_engineer/components/Avatar/Avatar.config.d.ts.map +1 -0
  597. package/types/examples/sds_engineer/components/Avatar/Avatar.d.ts +26 -0
  598. package/types/examples/sds_engineer/components/Avatar/Avatar.d.ts.map +1 -0
  599. package/types/examples/sds_engineer/components/AvatarGroup/AvatarGroup.d.ts +5 -0
  600. package/types/examples/sds_engineer/components/AvatarGroup/AvatarGroup.d.ts.map +1 -0
  601. package/types/examples/sds_engineer/components/Badge/Badge.config.d.ts +29 -0
  602. package/types/examples/sds_engineer/components/Badge/Badge.config.d.ts.map +1 -0
  603. package/types/examples/sds_engineer/components/Badge/Badge.d.ts +34 -0
  604. package/types/examples/sds_engineer/components/Badge/Badge.d.ts.map +1 -0
  605. package/types/examples/sds_engineer/components/Button/Button.config.d.ts +44 -0
  606. package/types/examples/sds_engineer/components/Button/Button.config.d.ts.map +1 -0
  607. package/types/examples/sds_engineer/components/Button/Button.d.ts +80 -0
  608. package/types/examples/sds_engineer/components/Button/Button.d.ts.map +1 -0
  609. package/types/examples/sds_engineer/components/ButtonGroup/ButtonGroup.config.d.ts +49 -0
  610. package/types/examples/sds_engineer/components/ButtonGroup/ButtonGroup.config.d.ts.map +1 -0
  611. package/types/examples/sds_engineer/components/ButtonGroup/ButtonGroup.d.ts +44 -0
  612. package/types/examples/sds_engineer/components/ButtonGroup/ButtonGroup.d.ts.map +1 -0
  613. package/types/examples/sds_engineer/components/Calendar/Calendar.d.ts +28 -0
  614. package/types/examples/sds_engineer/components/Calendar/Calendar.d.ts.map +1 -0
  615. package/types/examples/sds_engineer/components/Calendar/CalendarBase.config.d.ts +18 -0
  616. package/types/examples/sds_engineer/components/Calendar/CalendarBase.config.d.ts.map +1 -0
  617. package/types/examples/sds_engineer/components/Calendar/CalendarDouble.config.d.ts +18 -0
  618. package/types/examples/sds_engineer/components/Calendar/CalendarDouble.config.d.ts.map +1 -0
  619. package/types/examples/sds_engineer/components/Checkbox/Checkbox.config.d.ts +34 -0
  620. package/types/examples/sds_engineer/components/Checkbox/Checkbox.config.d.ts.map +1 -0
  621. package/types/examples/sds_engineer/components/Checkbox/Checkbox.d.ts +24 -0
  622. package/types/examples/sds_engineer/components/Checkbox/Checkbox.d.ts.map +1 -0
  623. package/types/examples/sds_engineer/components/Chip/Chip.config.d.ts +21 -0
  624. package/types/examples/sds_engineer/components/Chip/Chip.config.d.ts.map +1 -0
  625. package/types/examples/sds_engineer/components/Chip/Chip.d.ts +16 -0
  626. package/types/examples/sds_engineer/components/Chip/Chip.d.ts.map +1 -0
  627. package/types/examples/sds_engineer/components/Counter/Counter.config.d.ts +22 -0
  628. package/types/examples/sds_engineer/components/Counter/Counter.config.d.ts.map +1 -0
  629. package/types/examples/sds_engineer/components/Counter/Counter.d.ts +22 -0
  630. package/types/examples/sds_engineer/components/Counter/Counter.d.ts.map +1 -0
  631. package/types/examples/sds_engineer/components/Divider/Divider.config.d.ts +23 -0
  632. package/types/examples/sds_engineer/components/Divider/Divider.config.d.ts.map +1 -0
  633. package/types/examples/sds_engineer/components/Divider/Divider.d.ts +17 -0
  634. package/types/examples/sds_engineer/components/Divider/Divider.d.ts.map +1 -0
  635. package/types/examples/sds_engineer/components/Drawer/Drawer.config.d.ts +19 -0
  636. package/types/examples/sds_engineer/components/Drawer/Drawer.config.d.ts.map +1 -0
  637. package/types/examples/sds_engineer/components/Drawer/Drawer.d.ts +38 -0
  638. package/types/examples/sds_engineer/components/Drawer/Drawer.d.ts.map +1 -0
  639. package/types/examples/sds_engineer/components/Grid/Grid.config.d.ts +11 -0
  640. package/types/examples/sds_engineer/components/Grid/Grid.config.d.ts.map +1 -0
  641. package/types/examples/sds_engineer/components/Grid/Grid.d.ts +8 -0
  642. package/types/examples/sds_engineer/components/Grid/Grid.d.ts.map +1 -0
  643. package/types/examples/sds_engineer/components/Image/Image.d.ts +8 -0
  644. package/types/examples/sds_engineer/components/Image/Image.d.ts.map +1 -0
  645. package/types/examples/sds_engineer/components/Link/Link.config.d.ts +26 -0
  646. package/types/examples/sds_engineer/components/Link/Link.config.d.ts.map +1 -0
  647. package/types/examples/sds_engineer/components/Link/Link.d.ts +21 -0
  648. package/types/examples/sds_engineer/components/Link/Link.d.ts.map +1 -0
  649. package/types/examples/sds_engineer/components/Modal/Modal.config.d.ts +11 -0
  650. package/types/examples/sds_engineer/components/Modal/Modal.config.d.ts.map +1 -0
  651. package/types/examples/sds_engineer/components/Modal/Modal.d.ts +8 -0
  652. package/types/examples/sds_engineer/components/Modal/Modal.d.ts.map +1 -0
  653. package/types/examples/sds_engineer/components/Notification/Notification.config.d.ts +18 -0
  654. package/types/examples/sds_engineer/components/Notification/Notification.config.d.ts.map +1 -0
  655. package/types/examples/sds_engineer/components/Notification/Notification.d.ts +19 -0
  656. package/types/examples/sds_engineer/components/Notification/Notification.d.ts.map +1 -0
  657. package/types/examples/sds_engineer/components/Panel/Panel.config.d.ts +20 -0
  658. package/types/examples/sds_engineer/components/Panel/Panel.config.d.ts.map +1 -0
  659. package/types/examples/sds_engineer/components/Panel/Panel.d.ts +27 -0
  660. package/types/examples/sds_engineer/components/Panel/Panel.d.ts.map +1 -0
  661. package/types/examples/sds_engineer/components/Popover/Popover.config.d.ts +11 -0
  662. package/types/examples/sds_engineer/components/Popover/Popover.config.d.ts.map +1 -0
  663. package/types/examples/sds_engineer/components/Popover/Popover.d.ts +8 -0
  664. package/types/examples/sds_engineer/components/Popover/Popover.d.ts.map +1 -0
  665. package/types/examples/sds_engineer/components/Popup/Popup.d.ts +4 -0
  666. package/types/examples/sds_engineer/components/Popup/Popup.d.ts.map +1 -0
  667. package/types/examples/sds_engineer/components/Progress/Progress.config.d.ts +21 -0
  668. package/types/examples/sds_engineer/components/Progress/Progress.config.d.ts.map +1 -0
  669. package/types/examples/sds_engineer/components/Progress/Progress.d.ts +16 -0
  670. package/types/examples/sds_engineer/components/Progress/Progress.d.ts.map +1 -0
  671. package/types/examples/sds_engineer/components/Radiobox/Radiobox.config.d.ts +35 -0
  672. package/types/examples/sds_engineer/components/Radiobox/Radiobox.config.d.ts.map +1 -0
  673. package/types/examples/sds_engineer/components/Radiobox/Radiobox.d.ts +24 -0
  674. package/types/examples/sds_engineer/components/Radiobox/Radiobox.d.ts.map +1 -0
  675. package/types/examples/sds_engineer/components/Segment/Segment.d.ts +58 -0
  676. package/types/examples/sds_engineer/components/Segment/Segment.d.ts.map +1 -0
  677. package/types/examples/sds_engineer/components/Segment/SegmentGroup.config.d.ts +28 -0
  678. package/types/examples/sds_engineer/components/Segment/SegmentGroup.config.d.ts.map +1 -0
  679. package/types/examples/sds_engineer/components/Segment/SegmentItem.config.d.ts +26 -0
  680. package/types/examples/sds_engineer/components/Segment/SegmentItem.config.d.ts.map +1 -0
  681. package/types/examples/sds_engineer/components/Skeleton/LineSkeleton.config.d.ts +27 -0
  682. package/types/examples/sds_engineer/components/Skeleton/LineSkeleton.config.d.ts.map +1 -0
  683. package/types/examples/sds_engineer/components/Skeleton/Skeleton.d.ts +51 -0
  684. package/types/examples/sds_engineer/components/Skeleton/Skeleton.d.ts.map +1 -0
  685. package/types/examples/sds_engineer/components/Spinner/Spinner.config.d.ts +24 -0
  686. package/types/examples/sds_engineer/components/Spinner/Spinner.config.d.ts.map +1 -0
  687. package/types/examples/sds_engineer/components/Spinner/Spinner.d.ts +34 -0
  688. package/types/examples/sds_engineer/components/Spinner/Spinner.d.ts.map +1 -0
  689. package/types/examples/sds_engineer/components/Switch/Switch.config.d.ts +28 -0
  690. package/types/examples/sds_engineer/components/Switch/Switch.config.d.ts.map +1 -0
  691. package/types/examples/sds_engineer/components/Switch/Switch.d.ts +21 -0
  692. package/types/examples/sds_engineer/components/Switch/Switch.d.ts.map +1 -0
  693. package/types/examples/sds_engineer/components/Tabs/TabItem.config.d.ts +32 -0
  694. package/types/examples/sds_engineer/components/Tabs/TabItem.config.d.ts.map +1 -0
  695. package/types/examples/sds_engineer/components/Tabs/TabItem.d.ts +3 -0
  696. package/types/examples/sds_engineer/components/Tabs/TabItem.d.ts.map +1 -0
  697. package/types/examples/sds_engineer/components/Tabs/Tabs.config.d.ts +35 -0
  698. package/types/examples/sds_engineer/components/Tabs/Tabs.config.d.ts.map +1 -0
  699. package/types/examples/sds_engineer/components/Tabs/Tabs.d.ts +3 -0
  700. package/types/examples/sds_engineer/components/Tabs/Tabs.d.ts.map +1 -0
  701. package/types/examples/sds_engineer/components/Tabs/TabsController.d.ts +3 -0
  702. package/types/examples/sds_engineer/components/Tabs/TabsController.d.ts.map +1 -0
  703. package/types/examples/sds_engineer/components/TextArea/TextArea.config.d.ts +21 -0
  704. package/types/examples/sds_engineer/components/TextArea/TextArea.config.d.ts.map +1 -0
  705. package/types/examples/sds_engineer/components/TextArea/TextArea.d.ts +46 -0
  706. package/types/examples/sds_engineer/components/TextArea/TextArea.d.ts.map +1 -0
  707. package/types/examples/sds_engineer/components/TextField/TextField.config.d.ts +32 -0
  708. package/types/examples/sds_engineer/components/TextField/TextField.config.d.ts.map +1 -0
  709. package/types/examples/sds_engineer/components/TextField/TextField.d.ts +70 -0
  710. package/types/examples/sds_engineer/components/TextField/TextField.d.ts.map +1 -0
  711. package/types/examples/sds_engineer/components/Toast/Toast.config.d.ts +20 -0
  712. package/types/examples/sds_engineer/components/Toast/Toast.config.d.ts.map +1 -0
  713. package/types/examples/sds_engineer/components/Toast/Toast.d.ts +20 -0
  714. package/types/examples/sds_engineer/components/Toast/Toast.d.ts.map +1 -0
  715. package/types/examples/sds_engineer/components/Toolbar/Toolbar.config.d.ts +18 -0
  716. package/types/examples/sds_engineer/components/Toolbar/Toolbar.config.d.ts.map +1 -0
  717. package/types/examples/sds_engineer/components/Toolbar/Toolbar.d.ts +23 -0
  718. package/types/examples/sds_engineer/components/Toolbar/Toolbar.d.ts.map +1 -0
  719. package/types/examples/sds_engineer/components/Tooltip/Tooltip.config.d.ts +15 -0
  720. package/types/examples/sds_engineer/components/Tooltip/Tooltip.config.d.ts.map +1 -0
  721. package/types/examples/sds_engineer/components/Tooltip/Tooltip.d.ts +5 -0
  722. package/types/examples/sds_engineer/components/Tooltip/Tooltip.d.ts.map +1 -0
  723. package/types/examples/themes/index.d.ts.map +1 -1
  724. package/cjs/components/TextArea/TextArea.styles_1bv40vw.css +0 -9
  725. package/cjs/components/TextField/TextField_wctd2m.css +0 -1
  726. package/cjs/components/TextField/variations/_label-placement/base_170eaex.css +0 -1
  727. package/es/components/TextArea/TextArea.styles_1bv40vw.css +0 -9
  728. package/es/components/TextField/TextField_wctd2m.css +0 -1
  729. package/es/components/TextField/variations/_label-placement/base_170eaex.css +0 -1
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.config = void 0;
7
+ var _react = /*#__PURE__*/require("@emotion/react");
8
+ var _Notification = /*#__PURE__*/require("../../../../components/Notification");
9
+ var config = exports.config = {
10
+ defaults: {
11
+ view: 'default'
12
+ },
13
+ variations: {
14
+ view: {
15
+ "default": /*#__PURE__*/(0, _react.css)(_Notification.notificationTokens.contentColor, ":var(--text-secondary);", _Notification.notificationTokens.background, ":var(--surface-transparent-card);", _Notification.notificationTokens.borderRadius, ":0.75rem;", _Notification.notificationTokens.padding, ":0.375rem;", _Notification.notificationTokens.contentPaddingTop, ":0.125rem;", _Notification.notificationTokens.contentPaddingRight, ":0.25rem;", _Notification.notificationTokens.contentPaddingBottom, ":0rem;", _Notification.notificationTokens.contentPaddingLeft, ":0.25rem;", _Notification.notificationTokens.contentPaddingTopWithoutIcon, ":0.25rem;", _Notification.notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon, ":1rem;", _Notification.notificationTokens.textboxPaddingTop, ":0.1875rem;", _Notification.notificationTokens.textboxPaddingRight, ":0.125rem;", _Notification.notificationTokens.textboxPaddingBottom, ":0.375rem;", _Notification.notificationTokens.textboxPaddingLeft, ":0.125rem;", _Notification.notificationTokens.textboxPaddingRightWithCloseIcon, ":1.625rem;", _Notification.notificationTokens.textboxGap, ":0.25rem;", _Notification.notificationTokens.closeIconTop, ":0.5rem;", _Notification.notificationTokens.closeIconRight, ":0.5rem;", _Notification.notificationTokens.buttonsMarginTop, ":0.375rem;", _Notification.notificationTokens.contentLeftIconSize, ":1.5rem;", _Notification.notificationTokens.contentLeftIconMargin, ":0.375rem;", _Notification.notificationTokens.contentTopIconMargin, ":0.5rem;", _Notification.notificationTokens.contentFontFamily, ":var(--plasma-typo-body-s-font-family);", _Notification.notificationTokens.contentFontSize, ":var(--plasma-typo-body-s-font-size);", _Notification.notificationTokens.contentFontStyle, ":var(--plasma-typo-body-s-font-style);", _Notification.notificationTokens.contentFontWeight, ":var(--plasma-typo-body-s-font-weight);", _Notification.notificationTokens.contentFontLetterSpacing, ":var(--plasma-typo-body-s-letter-spacing);", _Notification.notificationTokens.contentFontLineHeight, ":var(--plasma-typo-body-s-line-height);", _Notification.notificationTokens.titleFontFamily, ":var(--plasma-typo-body-s-font-family);", _Notification.notificationTokens.titleFontSize, ":var(--plasma-typo-body-s-font-size);", _Notification.notificationTokens.titleFontStyle, ":var(--plasma-typo-body-s-font-style);", _Notification.notificationTokens.titleFontWeight, ":var(--plasma-typo-body-s-bold-font-weight);", _Notification.notificationTokens.titleFontLetterSpacing, ":var(--plasma-typo-body-s-letter-spacing);", _Notification.notificationTokens.titleFontLineHeight, ":var(--plasma-typo-body-s-line-height);", _Notification.notificationTokens.closeIconColor, ":var(--text-tertiary);", _Notification.notificationTokens.closeIconColorOnHover, ":var(--text-primary);", _Notification.notificationTokens.horizontalLayoutGap, ":0.375rem;", _Notification.notificationTokens.horizontalLayoutLeftIconMargin, ":0.75rem;", _Notification.notificationTokens.paddingOneLineTextbox, ":0.8125rem 0.5rem 0.8125rem 0.875rem;;label:plasma-new-hope__default;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3Nkc19lbmdpbmVlci9jb21wb25lbnRzL05vdGlmaWNhdGlvbi9Ob3RpZmljYXRpb24uY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVV3QiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9leGFtcGxlcy9zZHNfZW5naW5lZXIvY29tcG9uZW50cy9Ob3RpZmljYXRpb24vTm90aWZpY2F0aW9uLmNvbmZpZy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgbm90aWZpY2F0aW9uVG9rZW5zIH0gZnJvbSAnLi4vLi4vLi4vLi4vY29tcG9uZW50cy9Ob3RpZmljYXRpb24nO1xuXG5leHBvcnQgY29uc3QgY29uZmlnID0ge1xuICAgIGRlZmF1bHRzOiB7XG4gICAgICAgIHZpZXc6ICdkZWZhdWx0JyxcbiAgICB9LFxuICAgIHZhcmlhdGlvbnM6IHtcbiAgICAgICAgdmlldzoge1xuICAgICAgICAgICAgZGVmYXVsdDogY3NzYFxuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRDb2xvcn06IHZhcigtLXRleHQtc2Vjb25kYXJ5KTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5iYWNrZ3JvdW5kfTogdmFyKC0tc3VyZmFjZS10cmFuc3BhcmVudC1jYXJkKTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5ib3JkZXJSYWRpdXN9OiAwLjc1cmVtO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLnBhZGRpbmd9OiAwLjM3NXJlbTtcblxuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRQYWRkaW5nVG9wfTogMC4xMjVyZW07XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuY29udGVudFBhZGRpbmdSaWdodH06IDAuMjVyZW07XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuY29udGVudFBhZGRpbmdCb3R0b219OiAwcmVtO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRQYWRkaW5nTGVmdH06IDAuMjVyZW07XG5cbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50UGFkZGluZ1RvcFdpdGhvdXRJY29ufTogMC4yNXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5ob3Jpem9udGFsTGF5b3V0UmlnaHRQYWRkaW5nV2l0aG91dENsb3NlSWNvbn06IDFyZW07XG5cbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy50ZXh0Ym94UGFkZGluZ1RvcH06IDAuMTg3NXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy50ZXh0Ym94UGFkZGluZ1JpZ2h0fTogMC4xMjVyZW07XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMudGV4dGJveFBhZGRpbmdCb3R0b219OiAwLjM3NXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy50ZXh0Ym94UGFkZGluZ0xlZnR9OiAwLjEyNXJlbTtcblxuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLnRleHRib3hQYWRkaW5nUmlnaHRXaXRoQ2xvc2VJY29ufTogMS42MjVyZW07XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMudGV4dGJveEdhcH06IDAuMjVyZW07XG5cbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jbG9zZUljb25Ub3B9OiAwLjVyZW07XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuY2xvc2VJY29uUmlnaHR9OiAwLjVyZW07XG5cbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5idXR0b25zTWFyZ2luVG9wfTogMC4zNzVyZW07XG5cbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50TGVmdEljb25TaXplfTogMS41cmVtO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRMZWZ0SWNvbk1hcmdpbn06IDAuMzc1cmVtO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRUb3BJY29uTWFyZ2lufTogMC41cmVtO1xuXG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuY29udGVudEZvbnRGYW1pbHl9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtZm9udC1mYW1pbHkpO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRGb250U2l6ZX06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktcy1mb250LXNpemUpO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRGb250U3R5bGV9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtZm9udC1zdHlsZSk7XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuY29udGVudEZvbnRXZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtZm9udC13ZWlnaHQpO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRGb250TGV0dGVyU3BhY2luZ306IHZhcigtLXBsYXNtYS10eXBvLWJvZHktcy1sZXR0ZXItc3BhY2luZyk7XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuY29udGVudEZvbnRMaW5lSGVpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1zLWxpbmUtaGVpZ2h0KTtcblxuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLnRpdGxlRm9udEZhbWlseX06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktcy1mb250LWZhbWlseSk7XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMudGl0bGVGb250U2l6ZX06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktcy1mb250LXNpemUpO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLnRpdGxlRm9udFN0eWxlfTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1zLWZvbnQtc3R5bGUpO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLnRpdGxlRm9udFdlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktcy1ib2xkLWZvbnQtd2VpZ2h0KTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy50aXRsZUZvbnRMZXR0ZXJTcGFjaW5nfTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1zLWxldHRlci1zcGFjaW5nKTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy50aXRsZUZvbnRMaW5lSGVpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1zLWxpbmUtaGVpZ2h0KTtcblxuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNsb3NlSWNvbkNvbG9yfTogdmFyKC0tdGV4dC10ZXJ0aWFyeSk7XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuY2xvc2VJY29uQ29sb3JPbkhvdmVyfTogdmFyKC0tdGV4dC1wcmltYXJ5KTtcblxuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmhvcml6b250YWxMYXlvdXRHYXB9OiAwLjM3NXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5ob3Jpem9udGFsTGF5b3V0TGVmdEljb25NYXJnaW59OiAwLjc1cmVtO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLnBhZGRpbmdPbmVMaW5lVGV4dGJveH06IDAuODEyNXJlbSAwLjVyZW0gMC44MTI1cmVtIDAuODc1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICAgICAgbGF5b3V0OiB7XG4gICAgICAgICAgICBob3Jpem9udGFsOiBjc3NgXG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMud2lkdGh9OiAyNXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5ob3Jpem9udGFsTGF5b3V0UGFkZGluZ306IDFyZW0gMC41cmVtIDFyZW0gMC44NzVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICAgICAgdmVydGljYWw6IGNzc2BcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy53aWR0aH06IDE1cmVtO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLnBhZGRpbmd9OiAwLjM3NXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgICAgIHNpemU6IHtcbiAgICAgICAgICAgIHhzOiBjc3NgXG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuY2xvc2VJY29uVG9wfTogMC41cmVtO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNsb3NlSWNvblJpZ2h0fTogMC41cmVtO1xuXG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMucGFkZGluZ306IDAuMzc1cmVtO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLnRleHRib3hQYWRkaW5nVG9wV2l0aFRvcEljb259OiAwcmVtO1xuXG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuY29udGVudFBhZGRpbmdUb3B9OiAwLjEyNXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50UGFkZGluZ1JpZ2h0fTogMC4yNXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50UGFkZGluZ0JvdHRvbX06IDByZW07XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuY29udGVudFBhZGRpbmdMZWZ0fTogMC4yNXJlbTtcblxuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmJ1dHRvbnNNYXJnaW5MZWZ0fTogMHJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgfSxcbn07XG4iXX0= */"))
16
+ },
17
+ layout: {
18
+ horizontal: /*#__PURE__*/(0, _react.css)(_Notification.notificationTokens.width, ":25rem;", _Notification.notificationTokens.horizontalLayoutPadding, ":1rem 0.5rem 1rem 0.875rem;;label:plasma-new-hope__horizontal;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3Nkc19lbmdpbmVlci9jb21wb25lbnRzL05vdGlmaWNhdGlvbi9Ob3RpZmljYXRpb24uY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWdFMkIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vZXhhbXBsZXMvc2RzX2VuZ2luZWVyL2NvbXBvbmVudHMvTm90aWZpY2F0aW9uL05vdGlmaWNhdGlvbi5jb25maWcudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IG5vdGlmaWNhdGlvblRva2VucyB9IGZyb20gJy4uLy4uLy4uLy4uL2NvbXBvbmVudHMvTm90aWZpY2F0aW9uJztcblxuZXhwb3J0IGNvbnN0IGNvbmZpZyA9IHtcbiAgICBkZWZhdWx0czoge1xuICAgICAgICB2aWV3OiAnZGVmYXVsdCcsXG4gICAgfSxcbiAgICB2YXJpYXRpb25zOiB7XG4gICAgICAgIHZpZXc6IHtcbiAgICAgICAgICAgIGRlZmF1bHQ6IGNzc2BcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50Q29sb3J9OiB2YXIoLS10ZXh0LXNlY29uZGFyeSk7XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuYmFja2dyb3VuZH06IHZhcigtLXN1cmZhY2UtdHJhbnNwYXJlbnQtY2FyZCk7XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuYm9yZGVyUmFkaXVzfTogMC43NXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5wYWRkaW5nfTogMC4zNzVyZW07XG5cbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50UGFkZGluZ1RvcH06IDAuMTI1cmVtO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRQYWRkaW5nUmlnaHR9OiAwLjI1cmVtO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRQYWRkaW5nQm90dG9tfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50UGFkZGluZ0xlZnR9OiAwLjI1cmVtO1xuXG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuY29udGVudFBhZGRpbmdUb3BXaXRob3V0SWNvbn06IDAuMjVyZW07XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuaG9yaXpvbnRhbExheW91dFJpZ2h0UGFkZGluZ1dpdGhvdXRDbG9zZUljb259OiAxcmVtO1xuXG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMudGV4dGJveFBhZGRpbmdUb3B9OiAwLjE4NzVyZW07XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMudGV4dGJveFBhZGRpbmdSaWdodH06IDAuMTI1cmVtO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLnRleHRib3hQYWRkaW5nQm90dG9tfTogMC4zNzVyZW07XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMudGV4dGJveFBhZGRpbmdMZWZ0fTogMC4xMjVyZW07XG5cbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy50ZXh0Ym94UGFkZGluZ1JpZ2h0V2l0aENsb3NlSWNvbn06IDEuNjI1cmVtO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLnRleHRib3hHYXB9OiAwLjI1cmVtO1xuXG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuY2xvc2VJY29uVG9wfTogMC41cmVtO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNsb3NlSWNvblJpZ2h0fTogMC41cmVtO1xuXG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuYnV0dG9uc01hcmdpblRvcH06IDAuMzc1cmVtO1xuXG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuY29udGVudExlZnRJY29uU2l6ZX06IDEuNXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50TGVmdEljb25NYXJnaW59OiAwLjM3NXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50VG9wSWNvbk1hcmdpbn06IDAuNXJlbTtcblxuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRGb250RmFtaWx5fTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1zLWZvbnQtZmFtaWx5KTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50Rm9udFNpemV9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50Rm9udFN0eWxlfTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1zLWZvbnQtc3R5bGUpO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRGb250V2VpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1zLWZvbnQtd2VpZ2h0KTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50Rm9udExldHRlclNwYWNpbmd9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtbGV0dGVyLXNwYWNpbmcpO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRGb250TGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktcy1saW5lLWhlaWdodCk7XG5cbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy50aXRsZUZvbnRGYW1pbHl9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtZm9udC1mYW1pbHkpO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLnRpdGxlRm9udFNpemV9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy50aXRsZUZvbnRTdHlsZX06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktcy1mb250LXN0eWxlKTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy50aXRsZUZvbnRXZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtYm9sZC1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMudGl0bGVGb250TGV0dGVyU3BhY2luZ306IHZhcigtLXBsYXNtYS10eXBvLWJvZHktcy1sZXR0ZXItc3BhY2luZyk7XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMudGl0bGVGb250TGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktcy1saW5lLWhlaWdodCk7XG5cbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jbG9zZUljb25Db2xvcn06IHZhcigtLXRleHQtdGVydGlhcnkpO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNsb3NlSWNvbkNvbG9yT25Ib3Zlcn06IHZhcigtLXRleHQtcHJpbWFyeSk7XG5cbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5ob3Jpem9udGFsTGF5b3V0R2FwfTogMC4zNzVyZW07XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuaG9yaXpvbnRhbExheW91dExlZnRJY29uTWFyZ2lufTogMC43NXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5wYWRkaW5nT25lTGluZVRleHRib3h9OiAwLjgxMjVyZW0gMC41cmVtIDAuODEyNXJlbSAwLjg3NXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgICAgIGxheW91dDoge1xuICAgICAgICAgICAgaG9yaXpvbnRhbDogY3NzYFxuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLndpZHRofTogMjVyZW07XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuaG9yaXpvbnRhbExheW91dFBhZGRpbmd9OiAxcmVtIDAuNXJlbSAxcmVtIDAuODc1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIHZlcnRpY2FsOiBjc3NgXG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMud2lkdGh9OiAxNXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5wYWRkaW5nfTogMC4zNzVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICBzaXplOiB7XG4gICAgICAgICAgICB4czogY3NzYFxuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNsb3NlSWNvblRvcH06IDAuNXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jbG9zZUljb25SaWdodH06IDAuNXJlbTtcblxuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLnBhZGRpbmd9OiAwLjM3NXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy50ZXh0Ym94UGFkZGluZ1RvcFdpdGhUb3BJY29ufTogMHJlbTtcblxuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRQYWRkaW5nVG9wfTogMC4xMjVyZW07XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuY29udGVudFBhZGRpbmdSaWdodH06IDAuMjVyZW07XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuY29udGVudFBhZGRpbmdCb3R0b219OiAwcmVtO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRQYWRkaW5nTGVmdH06IDAuMjVyZW07XG5cbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5idXR0b25zTWFyZ2luTGVmdH06IDByZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgIH0sXG59O1xuIl19 */")),
19
+ vertical: /*#__PURE__*/(0, _react.css)(_Notification.notificationTokens.width, ":15rem;", _Notification.notificationTokens.padding, ":0.375rem;;label:plasma-new-hope__vertical;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3Nkc19lbmdpbmVlci9jb21wb25lbnRzL05vdGlmaWNhdGlvbi9Ob3RpZmljYXRpb24uY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9FeUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vZXhhbXBsZXMvc2RzX2VuZ2luZWVyL2NvbXBvbmVudHMvTm90aWZpY2F0aW9uL05vdGlmaWNhdGlvbi5jb25maWcudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IG5vdGlmaWNhdGlvblRva2VucyB9IGZyb20gJy4uLy4uLy4uLy4uL2NvbXBvbmVudHMvTm90aWZpY2F0aW9uJztcblxuZXhwb3J0IGNvbnN0IGNvbmZpZyA9IHtcbiAgICBkZWZhdWx0czoge1xuICAgICAgICB2aWV3OiAnZGVmYXVsdCcsXG4gICAgfSxcbiAgICB2YXJpYXRpb25zOiB7XG4gICAgICAgIHZpZXc6IHtcbiAgICAgICAgICAgIGRlZmF1bHQ6IGNzc2BcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50Q29sb3J9OiB2YXIoLS10ZXh0LXNlY29uZGFyeSk7XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuYmFja2dyb3VuZH06IHZhcigtLXN1cmZhY2UtdHJhbnNwYXJlbnQtY2FyZCk7XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuYm9yZGVyUmFkaXVzfTogMC43NXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5wYWRkaW5nfTogMC4zNzVyZW07XG5cbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50UGFkZGluZ1RvcH06IDAuMTI1cmVtO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRQYWRkaW5nUmlnaHR9OiAwLjI1cmVtO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRQYWRkaW5nQm90dG9tfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50UGFkZGluZ0xlZnR9OiAwLjI1cmVtO1xuXG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuY29udGVudFBhZGRpbmdUb3BXaXRob3V0SWNvbn06IDAuMjVyZW07XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuaG9yaXpvbnRhbExheW91dFJpZ2h0UGFkZGluZ1dpdGhvdXRDbG9zZUljb259OiAxcmVtO1xuXG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMudGV4dGJveFBhZGRpbmdUb3B9OiAwLjE4NzVyZW07XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMudGV4dGJveFBhZGRpbmdSaWdodH06IDAuMTI1cmVtO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLnRleHRib3hQYWRkaW5nQm90dG9tfTogMC4zNzVyZW07XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMudGV4dGJveFBhZGRpbmdMZWZ0fTogMC4xMjVyZW07XG5cbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy50ZXh0Ym94UGFkZGluZ1JpZ2h0V2l0aENsb3NlSWNvbn06IDEuNjI1cmVtO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLnRleHRib3hHYXB9OiAwLjI1cmVtO1xuXG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuY2xvc2VJY29uVG9wfTogMC41cmVtO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNsb3NlSWNvblJpZ2h0fTogMC41cmVtO1xuXG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuYnV0dG9uc01hcmdpblRvcH06IDAuMzc1cmVtO1xuXG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuY29udGVudExlZnRJY29uU2l6ZX06IDEuNXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50TGVmdEljb25NYXJnaW59OiAwLjM3NXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50VG9wSWNvbk1hcmdpbn06IDAuNXJlbTtcblxuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRGb250RmFtaWx5fTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1zLWZvbnQtZmFtaWx5KTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50Rm9udFNpemV9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50Rm9udFN0eWxlfTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1zLWZvbnQtc3R5bGUpO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRGb250V2VpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1zLWZvbnQtd2VpZ2h0KTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50Rm9udExldHRlclNwYWNpbmd9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtbGV0dGVyLXNwYWNpbmcpO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRGb250TGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktcy1saW5lLWhlaWdodCk7XG5cbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy50aXRsZUZvbnRGYW1pbHl9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtZm9udC1mYW1pbHkpO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLnRpdGxlRm9udFNpemV9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy50aXRsZUZvbnRTdHlsZX06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktcy1mb250LXN0eWxlKTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy50aXRsZUZvbnRXZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtYm9sZC1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMudGl0bGVGb250TGV0dGVyU3BhY2luZ306IHZhcigtLXBsYXNtYS10eXBvLWJvZHktcy1sZXR0ZXItc3BhY2luZyk7XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMudGl0bGVGb250TGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktcy1saW5lLWhlaWdodCk7XG5cbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jbG9zZUljb25Db2xvcn06IHZhcigtLXRleHQtdGVydGlhcnkpO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNsb3NlSWNvbkNvbG9yT25Ib3Zlcn06IHZhcigtLXRleHQtcHJpbWFyeSk7XG5cbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5ob3Jpem9udGFsTGF5b3V0R2FwfTogMC4zNzVyZW07XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuaG9yaXpvbnRhbExheW91dExlZnRJY29uTWFyZ2lufTogMC43NXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5wYWRkaW5nT25lTGluZVRleHRib3h9OiAwLjgxMjVyZW0gMC41cmVtIDAuODEyNXJlbSAwLjg3NXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgICAgIGxheW91dDoge1xuICAgICAgICAgICAgaG9yaXpvbnRhbDogY3NzYFxuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLndpZHRofTogMjVyZW07XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuaG9yaXpvbnRhbExheW91dFBhZGRpbmd9OiAxcmVtIDAuNXJlbSAxcmVtIDAuODc1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIHZlcnRpY2FsOiBjc3NgXG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMud2lkdGh9OiAxNXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5wYWRkaW5nfTogMC4zNzVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICBzaXplOiB7XG4gICAgICAgICAgICB4czogY3NzYFxuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNsb3NlSWNvblRvcH06IDAuNXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jbG9zZUljb25SaWdodH06IDAuNXJlbTtcblxuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLnBhZGRpbmd9OiAwLjM3NXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy50ZXh0Ym94UGFkZGluZ1RvcFdpdGhUb3BJY29ufTogMHJlbTtcblxuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRQYWRkaW5nVG9wfTogMC4xMjVyZW07XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuY29udGVudFBhZGRpbmdSaWdodH06IDAuMjVyZW07XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuY29udGVudFBhZGRpbmdCb3R0b219OiAwcmVtO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRQYWRkaW5nTGVmdH06IDAuMjVyZW07XG5cbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5idXR0b25zTWFyZ2luTGVmdH06IDByZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgIH0sXG59O1xuIl19 */"))
20
+ },
21
+ size: {
22
+ xs: /*#__PURE__*/(0, _react.css)(_Notification.notificationTokens.closeIconTop, ":0.5rem;", _Notification.notificationTokens.closeIconRight, ":0.5rem;", _Notification.notificationTokens.padding, ":0.375rem;", _Notification.notificationTokens.textboxPaddingTopWithTopIcon, ":0rem;", _Notification.notificationTokens.contentPaddingTop, ":0.125rem;", _Notification.notificationTokens.contentPaddingRight, ":0.25rem;", _Notification.notificationTokens.contentPaddingBottom, ":0rem;", _Notification.notificationTokens.contentPaddingLeft, ":0.25rem;", _Notification.notificationTokens.buttonsMarginLeft, ":0rem;;label:plasma-new-hope__xs;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3Nkc19lbmdpbmVlci9jb21wb25lbnRzL05vdGlmaWNhdGlvbi9Ob3RpZmljYXRpb24uY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTBFbUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vZXhhbXBsZXMvc2RzX2VuZ2luZWVyL2NvbXBvbmVudHMvTm90aWZpY2F0aW9uL05vdGlmaWNhdGlvbi5jb25maWcudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IG5vdGlmaWNhdGlvblRva2VucyB9IGZyb20gJy4uLy4uLy4uLy4uL2NvbXBvbmVudHMvTm90aWZpY2F0aW9uJztcblxuZXhwb3J0IGNvbnN0IGNvbmZpZyA9IHtcbiAgICBkZWZhdWx0czoge1xuICAgICAgICB2aWV3OiAnZGVmYXVsdCcsXG4gICAgfSxcbiAgICB2YXJpYXRpb25zOiB7XG4gICAgICAgIHZpZXc6IHtcbiAgICAgICAgICAgIGRlZmF1bHQ6IGNzc2BcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50Q29sb3J9OiB2YXIoLS10ZXh0LXNlY29uZGFyeSk7XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuYmFja2dyb3VuZH06IHZhcigtLXN1cmZhY2UtdHJhbnNwYXJlbnQtY2FyZCk7XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuYm9yZGVyUmFkaXVzfTogMC43NXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5wYWRkaW5nfTogMC4zNzVyZW07XG5cbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50UGFkZGluZ1RvcH06IDAuMTI1cmVtO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRQYWRkaW5nUmlnaHR9OiAwLjI1cmVtO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRQYWRkaW5nQm90dG9tfTogMHJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50UGFkZGluZ0xlZnR9OiAwLjI1cmVtO1xuXG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuY29udGVudFBhZGRpbmdUb3BXaXRob3V0SWNvbn06IDAuMjVyZW07XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuaG9yaXpvbnRhbExheW91dFJpZ2h0UGFkZGluZ1dpdGhvdXRDbG9zZUljb259OiAxcmVtO1xuXG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMudGV4dGJveFBhZGRpbmdUb3B9OiAwLjE4NzVyZW07XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMudGV4dGJveFBhZGRpbmdSaWdodH06IDAuMTI1cmVtO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLnRleHRib3hQYWRkaW5nQm90dG9tfTogMC4zNzVyZW07XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMudGV4dGJveFBhZGRpbmdMZWZ0fTogMC4xMjVyZW07XG5cbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy50ZXh0Ym94UGFkZGluZ1JpZ2h0V2l0aENsb3NlSWNvbn06IDEuNjI1cmVtO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLnRleHRib3hHYXB9OiAwLjI1cmVtO1xuXG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuY2xvc2VJY29uVG9wfTogMC41cmVtO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNsb3NlSWNvblJpZ2h0fTogMC41cmVtO1xuXG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuYnV0dG9uc01hcmdpblRvcH06IDAuMzc1cmVtO1xuXG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuY29udGVudExlZnRJY29uU2l6ZX06IDEuNXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50TGVmdEljb25NYXJnaW59OiAwLjM3NXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50VG9wSWNvbk1hcmdpbn06IDAuNXJlbTtcblxuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRGb250RmFtaWx5fTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1zLWZvbnQtZmFtaWx5KTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50Rm9udFNpemV9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50Rm9udFN0eWxlfTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1zLWZvbnQtc3R5bGUpO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRGb250V2VpZ2h0fTogdmFyKC0tcGxhc21hLXR5cG8tYm9keS1zLWZvbnQtd2VpZ2h0KTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jb250ZW50Rm9udExldHRlclNwYWNpbmd9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtbGV0dGVyLXNwYWNpbmcpO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRGb250TGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktcy1saW5lLWhlaWdodCk7XG5cbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy50aXRsZUZvbnRGYW1pbHl9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtZm9udC1mYW1pbHkpO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLnRpdGxlRm9udFNpemV9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtZm9udC1zaXplKTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy50aXRsZUZvbnRTdHlsZX06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktcy1mb250LXN0eWxlKTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy50aXRsZUZvbnRXZWlnaHR9OiB2YXIoLS1wbGFzbWEtdHlwby1ib2R5LXMtYm9sZC1mb250LXdlaWdodCk7XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMudGl0bGVGb250TGV0dGVyU3BhY2luZ306IHZhcigtLXBsYXNtYS10eXBvLWJvZHktcy1sZXR0ZXItc3BhY2luZyk7XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMudGl0bGVGb250TGluZUhlaWdodH06IHZhcigtLXBsYXNtYS10eXBvLWJvZHktcy1saW5lLWhlaWdodCk7XG5cbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jbG9zZUljb25Db2xvcn06IHZhcigtLXRleHQtdGVydGlhcnkpO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNsb3NlSWNvbkNvbG9yT25Ib3Zlcn06IHZhcigtLXRleHQtcHJpbWFyeSk7XG5cbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5ob3Jpem9udGFsTGF5b3V0R2FwfTogMC4zNzVyZW07XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuaG9yaXpvbnRhbExheW91dExlZnRJY29uTWFyZ2lufTogMC43NXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5wYWRkaW5nT25lTGluZVRleHRib3h9OiAwLjgxMjVyZW0gMC41cmVtIDAuODEyNXJlbSAwLjg3NXJlbTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgICAgIGxheW91dDoge1xuICAgICAgICAgICAgaG9yaXpvbnRhbDogY3NzYFxuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLndpZHRofTogMjVyZW07XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuaG9yaXpvbnRhbExheW91dFBhZGRpbmd9OiAxcmVtIDAuNXJlbSAxcmVtIDAuODc1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIHZlcnRpY2FsOiBjc3NgXG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMud2lkdGh9OiAxNXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5wYWRkaW5nfTogMC4zNzVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICBzaXplOiB7XG4gICAgICAgICAgICB4czogY3NzYFxuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNsb3NlSWNvblRvcH06IDAuNXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5jbG9zZUljb25SaWdodH06IDAuNXJlbTtcblxuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLnBhZGRpbmd9OiAwLjM3NXJlbTtcbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy50ZXh0Ym94UGFkZGluZ1RvcFdpdGhUb3BJY29ufTogMHJlbTtcblxuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRQYWRkaW5nVG9wfTogMC4xMjVyZW07XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuY29udGVudFBhZGRpbmdSaWdodH06IDAuMjVyZW07XG4gICAgICAgICAgICAgICAgJHtub3RpZmljYXRpb25Ub2tlbnMuY29udGVudFBhZGRpbmdCb3R0b219OiAwcmVtO1xuICAgICAgICAgICAgICAgICR7bm90aWZpY2F0aW9uVG9rZW5zLmNvbnRlbnRQYWRkaW5nTGVmdH06IDAuMjVyZW07XG5cbiAgICAgICAgICAgICAgICAke25vdGlmaWNhdGlvblRva2Vucy5idXR0b25zTWFyZ2luTGVmdH06IDByZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgIH0sXG59O1xuIl19 */"))
23
+ }
24
+ }
25
+ };
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.NotificationsProvider = exports.Notification = void 0;
7
+ Object.defineProperty(exports, "modalClasses", {
8
+ enumerable: true,
9
+ get: function get() {
10
+ return _Modal.modalClasses;
11
+ }
12
+ });
13
+ var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
14
+ var _Notification = /*#__PURE__*/require("../../../../components/Notification");
15
+ var _engines = /*#__PURE__*/require("../../../../engines");
16
+ var _Notification2 = /*#__PURE__*/require("./Notification.config");
17
+ var _Modal = /*#__PURE__*/require("../../../../components/Modal");
18
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
+ var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Notification.noticationConfig, _Notification2.config);
20
+ var Notification = exports.Notification = /*#__PURE__*/(0, _engines.component)(mergedConfig);
21
+ var NotificationsProvider = exports.NotificationsProvider = function NotificationsProvider(_ref) {
22
+ var children = _ref.children,
23
+ _ref$frame = _ref.frame,
24
+ frame = _ref$frame === void 0 ? 'theme-root' : _ref$frame;
25
+ return /*#__PURE__*/_react["default"].createElement(_Notification.NotificationsProvider, {
26
+ config: mergedConfig,
27
+ frame: frame
28
+ }, children);
29
+ };
@@ -0,0 +1,159 @@
1
+ import React, { useCallback, useRef, useState } from 'react';
2
+ import type { ComponentProps } from 'react';
3
+ import type { StoryObj, Meta } from '@storybook/react';
4
+
5
+ import { Button } from '../Button/Button';
6
+ import { Modal } from '../Modal/Modal';
7
+ import {
8
+ NotificationIconPlacement,
9
+ NotificationLayout,
10
+ addNotification,
11
+ } from '../../../../../src/components/Notification';
12
+ import { WithTheme } from '../../../_helpers';
13
+ import { PopupProvider } from '../Popup/Popup';
14
+ import { NotificationProps } from '../../../../components/Notification';
15
+ import { IconDisclosureRight } from '../../../../components/_Icon';
16
+
17
+ import { Notification, NotificationsProvider } from './Notification';
18
+
19
+ const titles = ['Выполнено', 'Внимание', 'Ошибка'];
20
+ const texts = ['SSH ключ успешно скопирован', 'Нельзя скопировать SSH ключ', 'Не удалось скопировать SSH ключ'];
21
+ const iconPlacement = ['top', 'left'];
22
+
23
+ const longText = `JavaScript frameworks are an essential part of modern front-end web development,
24
+ providing developers with proven tools for building scalable, interactive web applications.
25
+ `;
26
+
27
+ const getNotificationProps = (i: number) => ({
28
+ title: titles[i % 3],
29
+ children: texts[i % 3],
30
+ iconPlacement: iconPlacement[i % 2] as NotificationIconPlacement,
31
+ });
32
+
33
+ const placements = ['top', 'left'];
34
+
35
+ const meta: Meta<NotificationProps> = {
36
+ title: 'sds_engineer/Notification',
37
+ decorators: [WithTheme],
38
+ };
39
+
40
+ export default meta;
41
+
42
+ interface StoryDefaultProps {
43
+ title: string;
44
+ children: string;
45
+ showCloseIcon: boolean;
46
+ showLeftIcon: boolean;
47
+ layout: NotificationLayout;
48
+ iconPlacement: NotificationIconPlacement;
49
+ }
50
+
51
+ const StoryDefault = ({ title, children, iconPlacement, layout, showLeftIcon, ...rest }: StoryDefaultProps) => {
52
+ return (
53
+ <Notification
54
+ title={title}
55
+ icon={showLeftIcon ? <IconDisclosureRight /> : ''}
56
+ iconPlacement={iconPlacement}
57
+ actions={<Button text="text" size="xs" stretch={layout === 'vertical'} />}
58
+ layout={layout}
59
+ {...rest}
60
+ >
61
+ {children}
62
+ </Notification>
63
+ );
64
+ };
65
+
66
+ export const Default: StoryObj<StoryDefaultProps> = {
67
+ argTypes: {
68
+ iconPlacement: {
69
+ options: placements,
70
+ control: {
71
+ type: 'select',
72
+ },
73
+ },
74
+ layout: {
75
+ options: ['vertical', 'horizontal'],
76
+ control: {
77
+ type: 'select',
78
+ },
79
+ },
80
+ },
81
+ args: {
82
+ title: 'Title',
83
+ children: longText,
84
+ showCloseIcon: true,
85
+ showLeftIcon: true,
86
+ iconPlacement: 'top',
87
+ layout: 'vertical',
88
+ },
89
+ render: (args) => <StoryDefault {...args} />,
90
+ };
91
+
92
+ type StoryLiveDemoProps = ComponentProps<typeof Notification> & {
93
+ timeout: number;
94
+ layout: NotificationLayout;
95
+ iconPlacement: NotificationIconPlacement;
96
+ };
97
+
98
+ const StoryLiveDemo = ({ timeout, ...rest }: StoryLiveDemoProps) => {
99
+ const count = useRef(0);
100
+ const handleClick = useCallback(() => {
101
+ addNotification({ icon: <IconDisclosureRight />, ...rest, ...getNotificationProps(count.current) }, timeout);
102
+ count.current++;
103
+ }, [count, rest]);
104
+
105
+ return (
106
+ <NotificationsProvider>
107
+ <Button text="Добавить уведомление" onClick={handleClick} />
108
+ </NotificationsProvider>
109
+ );
110
+ };
111
+
112
+ export const LiveDemo: StoryObj<StoryLiveDemoProps> = {
113
+ argTypes: {
114
+ layout: {
115
+ options: ['vertical', 'horizontal'],
116
+ control: {
117
+ type: 'select',
118
+ },
119
+ },
120
+ },
121
+ args: {
122
+ timeout: 3000,
123
+ role: 'alert',
124
+ layout: 'vertical',
125
+ },
126
+ render: (args) => <StoryLiveDemo {...args} />,
127
+ };
128
+
129
+ type StoryWithModalProps = ComponentProps<typeof Notification> & {
130
+ timeout: number;
131
+ };
132
+
133
+ const StoryWithModal = ({ timeout }: StoryWithModalProps) => {
134
+ const [isModalOpen, setIsModalOpen] = useState(false);
135
+ const count = useRef(0);
136
+ const handleClick = useCallback(() => {
137
+ addNotification(getNotificationProps(count.current), timeout);
138
+ count.current++;
139
+ }, [count]);
140
+
141
+ return (
142
+ <NotificationsProvider>
143
+ <PopupProvider>
144
+ <Button text="Open modal" onClick={() => setIsModalOpen(true)} />
145
+ <Modal frame="theme-root" opened={isModalOpen} onClose={() => setIsModalOpen(false)}>
146
+ <div>Hello!</div>
147
+ <Button view="primary" text="Add notification" onClick={handleClick} />
148
+ </Modal>
149
+ </PopupProvider>
150
+ </NotificationsProvider>
151
+ );
152
+ };
153
+
154
+ export const WithModal: StoryObj<StoryLiveDemoProps> = {
155
+ args: {
156
+ timeout: 3500,
157
+ },
158
+ render: (args) => <StoryWithModal {...args} />,
159
+ };
@@ -0,0 +1,79 @@
1
+ import React, { useState } from 'react';
2
+ import styled from 'styled-components';
3
+ import type { ComponentProps } from 'react';
4
+ import type { StoryObj, Meta } from '@storybook/react';
5
+ import { action } from '@storybook/addon-actions';
6
+ import { disableProps } from '@salutejs/plasma-sb-utils';
7
+
8
+ import { Button } from '../Button/Button';
9
+ import { WithTheme } from '../../../_helpers';
10
+ import { Overlay } from '../../../../components/Overlay';
11
+
12
+ const onOverlayClick = action('onOverlayClick');
13
+
14
+ type StoryOverlayProps = ComponentProps<typeof Overlay>;
15
+
16
+ const meta: Meta<StoryOverlayProps> = {
17
+ title: 'sds_engineer/Overlay',
18
+ decorators: [WithTheme],
19
+ argTypes: {
20
+ isClickable: {
21
+ control: {
22
+ type: 'boolean',
23
+ },
24
+ table: { defaultValue: { summary: true } },
25
+ },
26
+ withBlur: {
27
+ control: {
28
+ type: 'boolean',
29
+ },
30
+ table: { defaultValue: { summary: false } },
31
+ },
32
+ ...disableProps(['onOverlayClick', 'zIndex']),
33
+ },
34
+ component: Overlay,
35
+ };
36
+
37
+ export default meta;
38
+
39
+ const StyledButton = styled(Button)`
40
+ margin: 1rem;
41
+ width: 15rem;
42
+ `;
43
+
44
+ const StyledCloseButton = styled(Button)`
45
+ position: fixed;
46
+ top: 50%;
47
+ left: 50%;
48
+ z-index: 101;
49
+ transform: translate(-50%, -50%);
50
+ width: 15rem;
51
+ `;
52
+
53
+ const StoryDefault = (props: StoryOverlayProps) => {
54
+ const [isVisible, setIsVisible] = useState(false);
55
+
56
+ return (
57
+ <>
58
+ <StyledButton text="Показать overlay" onClick={() => setIsVisible(true)} />
59
+ {isVisible && (
60
+ <>
61
+ <Overlay {...props} />
62
+ <StyledCloseButton text=" Скрыть overlay" onClick={() => setIsVisible(false)} />
63
+ </>
64
+ )}
65
+ </>
66
+ );
67
+ };
68
+
69
+ export const Default: StoryObj<StoryOverlayProps> = {
70
+ args: {
71
+ zIndex: '100',
72
+ backgroundColorProperty: 'var(--overlay-soft)',
73
+ withBlur: false,
74
+ transparent: false,
75
+ isClickable: true,
76
+ onOverlayClick,
77
+ },
78
+ render: (args) => <StoryDefault {...args} />,
79
+ };
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.config = void 0;
7
+ var _react = /*#__PURE__*/require("@emotion/react");
8
+ var _Panel = /*#__PURE__*/require("../../../../components/Panel");
9
+ var config = exports.config = {
10
+ defaults: {
11
+ view: 'default',
12
+ size: 'm',
13
+ borderRadius: 'none'
14
+ },
15
+ variations: {
16
+ view: {
17
+ "default": /*#__PURE__*/(0, _react.css)(_Panel.panelTokens.background, ":var(--surface-solid-card);", _Panel.panelTokens.shadow, ":0 3.75rem 7rem -0.5rem rgba(0, 0, 0, 0.08);", _Panel.panelTokens.contentBackgroundColor, ":var(--surface-transparent-primary);;label:plasma-new-hope__default;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3Nkc19lbmdpbmVlci9jb21wb25lbnRzL1BhbmVsL1BhbmVsLmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFZd0IiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vZXhhbXBsZXMvc2RzX2VuZ2luZWVyL2NvbXBvbmVudHMvUGFuZWwvUGFuZWwuY29uZmlnLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyBwYW5lbFRva2VucyB9IGZyb20gJy4uLy4uLy4uLy4uL2NvbXBvbmVudHMvUGFuZWwnO1xuXG5leHBvcnQgY29uc3QgY29uZmlnID0ge1xuICAgIGRlZmF1bHRzOiB7XG4gICAgICAgIHZpZXc6ICdkZWZhdWx0JyxcbiAgICAgICAgc2l6ZTogJ20nLFxuICAgICAgICBib3JkZXJSYWRpdXM6ICdub25lJyxcbiAgICB9LFxuICAgIHZhcmlhdGlvbnM6IHtcbiAgICAgICAgdmlldzoge1xuICAgICAgICAgICAgZGVmYXVsdDogY3NzYFxuICAgICAgICAgICAgICAgICR7cGFuZWxUb2tlbnMuYmFja2dyb3VuZH06IHZhcigtLXN1cmZhY2Utc29saWQtY2FyZCk7XG4gICAgICAgICAgICAgICAgJHtwYW5lbFRva2Vucy5zaGFkb3d9OiAwIDMuNzVyZW0gN3JlbSAtMC41cmVtIHJnYmEoMCwgMCwgMCwgMC4wOCk7XG4gICAgICAgICAgICAgICAgJHtwYW5lbFRva2Vucy5jb250ZW50QmFja2dyb3VuZENvbG9yfTogdmFyKC0tc3VyZmFjZS10cmFuc3BhcmVudC1wcmltYXJ5KTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgICAgIHNpemU6IHtcbiAgICAgICAgICAgIG06IGNzc2BcbiAgICAgICAgICAgICAgICAke3BhbmVsVG9rZW5zLnBhZGRpbmd9OiAxLjVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICBib3JkZXJSYWRpdXM6IHtcbiAgICAgICAgICAgIG5vbmU6IGNzc2BcbiAgICAgICAgICAgICAgICAke3BhbmVsVG9rZW5zLmJvcmRlclJhZGl1c306IDA7XG4gICAgICAgICAgICBgLFxuICAgICAgICAgICAgZGVmYXVsdDogY3NzYFxuICAgICAgICAgICAgICAgICR7cGFuZWxUb2tlbnMuYm9yZGVyUmFkaXVzfTogMC42MjVyZW07XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgIH0sXG59O1xuIl19 */"))
18
+ },
19
+ size: {
20
+ m: /*#__PURE__*/(0, _react.css)(_Panel.panelTokens.padding, ":1.5rem;;label:plasma-new-hope__m;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3Nkc19lbmdpbmVlci9jb21wb25lbnRzL1BhbmVsL1BhbmVsLmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFtQmtCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3Nkc19lbmdpbmVlci9jb21wb25lbnRzL1BhbmVsL1BhbmVsLmNvbmZpZy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgcGFuZWxUb2tlbnMgfSBmcm9tICcuLi8uLi8uLi8uLi9jb21wb25lbnRzL1BhbmVsJztcblxuZXhwb3J0IGNvbnN0IGNvbmZpZyA9IHtcbiAgICBkZWZhdWx0czoge1xuICAgICAgICB2aWV3OiAnZGVmYXVsdCcsXG4gICAgICAgIHNpemU6ICdtJyxcbiAgICAgICAgYm9yZGVyUmFkaXVzOiAnbm9uZScsXG4gICAgfSxcbiAgICB2YXJpYXRpb25zOiB7XG4gICAgICAgIHZpZXc6IHtcbiAgICAgICAgICAgIGRlZmF1bHQ6IGNzc2BcbiAgICAgICAgICAgICAgICAke3BhbmVsVG9rZW5zLmJhY2tncm91bmR9OiB2YXIoLS1zdXJmYWNlLXNvbGlkLWNhcmQpO1xuICAgICAgICAgICAgICAgICR7cGFuZWxUb2tlbnMuc2hhZG93fTogMCAzLjc1cmVtIDdyZW0gLTAuNXJlbSByZ2JhKDAsIDAsIDAsIDAuMDgpO1xuICAgICAgICAgICAgICAgICR7cGFuZWxUb2tlbnMuY29udGVudEJhY2tncm91bmRDb2xvcn06IHZhcigtLXN1cmZhY2UtdHJhbnNwYXJlbnQtcHJpbWFyeSk7XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICBzaXplOiB7XG4gICAgICAgICAgICBtOiBjc3NgXG4gICAgICAgICAgICAgICAgJHtwYW5lbFRva2Vucy5wYWRkaW5nfTogMS41cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICAgICAgYm9yZGVyUmFkaXVzOiB7XG4gICAgICAgICAgICBub25lOiBjc3NgXG4gICAgICAgICAgICAgICAgJHtwYW5lbFRva2Vucy5ib3JkZXJSYWRpdXN9OiAwO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIGRlZmF1bHQ6IGNzc2BcbiAgICAgICAgICAgICAgICAke3BhbmVsVG9rZW5zLmJvcmRlclJhZGl1c306IDAuNjI1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICB9LFxufTtcbiJdfQ== */"))
21
+ },
22
+ borderRadius: {
23
+ none: /*#__PURE__*/(0, _react.css)(_Panel.panelTokens.borderRadius, ":0;;label:plasma-new-hope__none;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3Nkc19lbmdpbmVlci9jb21wb25lbnRzL1BhbmVsL1BhbmVsLmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUF3QnFCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3Nkc19lbmdpbmVlci9jb21wb25lbnRzL1BhbmVsL1BhbmVsLmNvbmZpZy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgcGFuZWxUb2tlbnMgfSBmcm9tICcuLi8uLi8uLi8uLi9jb21wb25lbnRzL1BhbmVsJztcblxuZXhwb3J0IGNvbnN0IGNvbmZpZyA9IHtcbiAgICBkZWZhdWx0czoge1xuICAgICAgICB2aWV3OiAnZGVmYXVsdCcsXG4gICAgICAgIHNpemU6ICdtJyxcbiAgICAgICAgYm9yZGVyUmFkaXVzOiAnbm9uZScsXG4gICAgfSxcbiAgICB2YXJpYXRpb25zOiB7XG4gICAgICAgIHZpZXc6IHtcbiAgICAgICAgICAgIGRlZmF1bHQ6IGNzc2BcbiAgICAgICAgICAgICAgICAke3BhbmVsVG9rZW5zLmJhY2tncm91bmR9OiB2YXIoLS1zdXJmYWNlLXNvbGlkLWNhcmQpO1xuICAgICAgICAgICAgICAgICR7cGFuZWxUb2tlbnMuc2hhZG93fTogMCAzLjc1cmVtIDdyZW0gLTAuNXJlbSByZ2JhKDAsIDAsIDAsIDAuMDgpO1xuICAgICAgICAgICAgICAgICR7cGFuZWxUb2tlbnMuY29udGVudEJhY2tncm91bmRDb2xvcn06IHZhcigtLXN1cmZhY2UtdHJhbnNwYXJlbnQtcHJpbWFyeSk7XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICBzaXplOiB7XG4gICAgICAgICAgICBtOiBjc3NgXG4gICAgICAgICAgICAgICAgJHtwYW5lbFRva2Vucy5wYWRkaW5nfTogMS41cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICAgICAgYm9yZGVyUmFkaXVzOiB7XG4gICAgICAgICAgICBub25lOiBjc3NgXG4gICAgICAgICAgICAgICAgJHtwYW5lbFRva2Vucy5ib3JkZXJSYWRpdXN9OiAwO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIGRlZmF1bHQ6IGNzc2BcbiAgICAgICAgICAgICAgICAke3BhbmVsVG9rZW5zLmJvcmRlclJhZGl1c306IDAuNjI1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICB9LFxufTtcbiJdfQ== */")),
24
+ "default": /*#__PURE__*/(0, _react.css)(_Panel.panelTokens.borderRadius, ":0.625rem;;label:plasma-new-hope__default;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3Nkc19lbmdpbmVlci9jb21wb25lbnRzL1BhbmVsL1BhbmVsLmNvbmZpZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEyQndCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3Nkc19lbmdpbmVlci9jb21wb25lbnRzL1BhbmVsL1BhbmVsLmNvbmZpZy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgcGFuZWxUb2tlbnMgfSBmcm9tICcuLi8uLi8uLi8uLi9jb21wb25lbnRzL1BhbmVsJztcblxuZXhwb3J0IGNvbnN0IGNvbmZpZyA9IHtcbiAgICBkZWZhdWx0czoge1xuICAgICAgICB2aWV3OiAnZGVmYXVsdCcsXG4gICAgICAgIHNpemU6ICdtJyxcbiAgICAgICAgYm9yZGVyUmFkaXVzOiAnbm9uZScsXG4gICAgfSxcbiAgICB2YXJpYXRpb25zOiB7XG4gICAgICAgIHZpZXc6IHtcbiAgICAgICAgICAgIGRlZmF1bHQ6IGNzc2BcbiAgICAgICAgICAgICAgICAke3BhbmVsVG9rZW5zLmJhY2tncm91bmR9OiB2YXIoLS1zdXJmYWNlLXNvbGlkLWNhcmQpO1xuICAgICAgICAgICAgICAgICR7cGFuZWxUb2tlbnMuc2hhZG93fTogMCAzLjc1cmVtIDdyZW0gLTAuNXJlbSByZ2JhKDAsIDAsIDAsIDAuMDgpO1xuICAgICAgICAgICAgICAgICR7cGFuZWxUb2tlbnMuY29udGVudEJhY2tncm91bmRDb2xvcn06IHZhcigtLXN1cmZhY2UtdHJhbnNwYXJlbnQtcHJpbWFyeSk7XG4gICAgICAgICAgICBgLFxuICAgICAgICB9LFxuICAgICAgICBzaXplOiB7XG4gICAgICAgICAgICBtOiBjc3NgXG4gICAgICAgICAgICAgICAgJHtwYW5lbFRva2Vucy5wYWRkaW5nfTogMS41cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICAgICAgYm9yZGVyUmFkaXVzOiB7XG4gICAgICAgICAgICBub25lOiBjc3NgXG4gICAgICAgICAgICAgICAgJHtwYW5lbFRva2Vucy5ib3JkZXJSYWRpdXN9OiAwO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgICAgIGRlZmF1bHQ6IGNzc2BcbiAgICAgICAgICAgICAgICAke3BhbmVsVG9rZW5zLmJvcmRlclJhZGl1c306IDAuNjI1cmVtO1xuICAgICAgICAgICAgYCxcbiAgICAgICAgfSxcbiAgICB9LFxufTtcbiJdfQ== */"))
25
+ }
26
+ }
27
+ };
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.PanelHeader = exports.PanelFooter = exports.PanelContent = exports.Panel = void 0;
7
+ var _Panel = /*#__PURE__*/require("../../../../components/Panel");
8
+ var _Panel2 = /*#__PURE__*/require("../../../../components/Panel/Panel");
9
+ var _engines = /*#__PURE__*/require("../../../../engines");
10
+ var _Panel3 = /*#__PURE__*/require("./Panel.config");
11
+ var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Panel2.panelConfig, _Panel3.config);
12
+ var Panel = exports.Panel = /*#__PURE__*/(0, _engines.component)(mergedConfig);
13
+ var mergedContentConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Panel.panelContentConfig);
14
+ var PanelContent = exports.PanelContent = /*#__PURE__*/(0, _engines.component)(mergedContentConfig);
15
+ var mergedHeaderConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Panel.panelHeaderConfig);
16
+ var PanelHeader = exports.PanelHeader = /*#__PURE__*/(0, _engines.component)(mergedHeaderConfig);
17
+ var mergedFooterConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Panel.panelFooterConfig);
18
+ var PanelFooter = exports.PanelFooter = /*#__PURE__*/(0, _engines.component)(mergedFooterConfig);
@@ -0,0 +1,148 @@
1
+ import React, { useState } from 'react';
2
+ import styled from '@emotion/styled';
3
+ import type { ComponentProps } from 'react';
4
+ import type { StoryObj, Meta } from '@storybook/react';
5
+
6
+ import { Button } from '../Button/Button';
7
+ import { WithTheme } from '../../../_helpers';
8
+ import { Heading } from '../../../typograpy/components/Heading/Heading';
9
+ import { IconDone } from '../../../../components/_Icon';
10
+ import { ClosePlacementType } from '../../../../components/Panel';
11
+ import { SSRProvider } from '../../../../components/SSRProvider';
12
+
13
+ import { Panel, PanelContent, PanelFooter, PanelHeader } from './Panel';
14
+
15
+ export default {
16
+ title: 'sds_engineer/Panel',
17
+ decorators: [WithTheme],
18
+ argTypes: {
19
+ borderRadius: {
20
+ options: ['none', 'default'],
21
+ control: {
22
+ type: 'select',
23
+ },
24
+ },
25
+ showHeader: {
26
+ control: {
27
+ type: 'boolean',
28
+ },
29
+ table: { defaultValue: { summary: true } },
30
+ },
31
+ showFooter: {
32
+ control: {
33
+ type: 'boolean',
34
+ },
35
+ table: { defaultValue: { summary: true } },
36
+ },
37
+ showActions: {
38
+ control: {
39
+ type: 'boolean',
40
+ },
41
+ table: { defaultValue: { summary: true } },
42
+ },
43
+ closePlacement: {
44
+ options: ['right', 'left'],
45
+ control: {
46
+ type: 'select',
47
+ },
48
+ table: { defaultValue: { summary: 'right' } },
49
+ },
50
+ },
51
+ } as Meta;
52
+
53
+ type StoryPanelProps = ComponentProps<typeof Panel> & {
54
+ showHeader: boolean;
55
+ showFooter: boolean;
56
+ showActions: boolean;
57
+ closePlacement: string;
58
+ hasCloseArrow: boolean;
59
+ };
60
+
61
+ const StyledWrapper = styled.div`
62
+ height: 100%;
63
+ width: 100%;
64
+ display: flex;
65
+ flex-direction: column;
66
+ `;
67
+
68
+ const StyledContentWrapper = styled.div`
69
+ height: 80%;
70
+ display: flex;
71
+ flex-grow: 1;
72
+ `;
73
+
74
+ const StyledContent = styled.div`
75
+ background: #f5f5dc;
76
+ flex-grow: 1;
77
+ height: 100%;
78
+ `;
79
+
80
+ const StyledSection = styled.div`
81
+ background: #808080;
82
+ min-height: 20%;
83
+ `;
84
+
85
+ const StyledIconButton = styled(Button)`
86
+ position: relative;
87
+ width: 1.5rem;
88
+ height: 1.5rem;
89
+ `;
90
+
91
+ const StoryPanelDemo = ({ showHeader, showFooter, showActions, closePlacement, ...rest }: StoryPanelProps) => {
92
+ const [isOpen, setIsOpen] = useState(false);
93
+
94
+ return (
95
+ <SSRProvider>
96
+ <StyledWrapper>
97
+ <StyledSection>
98
+ <Button text="Открыть панель" onClick={() => setIsOpen(true)} />
99
+ </StyledSection>
100
+ <StyledContentWrapper>
101
+ {isOpen && (
102
+ <Panel {...rest}>
103
+ <PanelHeader
104
+ closePlacement={closePlacement as ClosePlacementType}
105
+ actions={
106
+ showActions && (
107
+ <StyledIconButton size="s" view="clear">
108
+ <IconDone size="s" />
109
+ </StyledIconButton>
110
+ )
111
+ }
112
+ onClose={() => setIsOpen(false)}
113
+ >
114
+ {showHeader && <Heading size="h3">Header</Heading>}
115
+ </PanelHeader>
116
+ <PanelContent>Content</PanelContent>
117
+ {showFooter && (
118
+ <PanelFooter>
119
+ <Heading size="h3">Footer</Heading>
120
+ </PanelFooter>
121
+ )}
122
+ </Panel>
123
+ )}
124
+ <StyledContent>
125
+ <Heading style={{ margin: '2rem' }} size="h2">
126
+ Some basic content
127
+ </Heading>
128
+ </StyledContent>
129
+ </StyledContentWrapper>
130
+ <StyledSection />
131
+ </StyledWrapper>
132
+ </SSRProvider>
133
+ );
134
+ };
135
+
136
+ export const PanelDemo: StoryObj<StoryPanelProps> = {
137
+ args: {
138
+ showHeader: true,
139
+ showFooter: true,
140
+ showActions: true,
141
+ hasCloseArrow: true,
142
+ borderRadius: 'none',
143
+ closePlacement: 'right',
144
+ width: '30%',
145
+ height: '100%',
146
+ },
147
+ render: (args) => <StoryPanelDemo {...args} />,
148
+ };
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.config = void 0;
7
+ var _react = /*#__PURE__*/require("@emotion/react");
8
+ var _Popover = /*#__PURE__*/require("../../../../components/Popover");
9
+ var config = exports.config = {
10
+ defaults: {
11
+ view: 'default'
12
+ },
13
+ variations: {
14
+ view: {
15
+ "default": /*#__PURE__*/(0, _react.css)(_Popover.popoverTokens.arrowMaskWidth, ":1rem;", _Popover.popoverTokens.arrowMaskHeight, ":1rem;", _Popover.popoverTokens.arrowMaskImage, ":url(\"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggY2xpcC1ydWxlPSJldmVub2RkIiBkPSJtMCw5Ljg1bDE2LDBjLTQuNDEsMCAtOCwyLjY5IC04LDZjMCwtMy4zMSAtMy41OSwtNiAtOCwtNnoiIGZpbGw9IiMxNzE3MTciIGZpbGwtcnVsZT0iZXZlbm9kZCIgaWQ9IlRhaWwiLz4KPC9zdmc+\");", _Popover.popoverTokens.arrowHeight, ":0.375rem;", _Popover.popoverTokens.arrowEdgeMargin, ":0.5625rem;", _Popover.popoverTokens.arrowBackground, ":var(--plasma-colors-surface-solid03);;label:plasma-new-hope__default;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3Nkc19lbmdpbmVlci9jb21wb25lbnRzL1BvcG92ZXIvUG9wb3Zlci5jb25maWcudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBVXdCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2V4YW1wbGVzL3Nkc19lbmdpbmVlci9jb21wb25lbnRzL1BvcG92ZXIvUG9wb3Zlci5jb25maWcudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IHBvcG92ZXJUb2tlbnMgfSBmcm9tICcuLi8uLi8uLi8uLi9jb21wb25lbnRzL1BvcG92ZXInO1xuXG5leHBvcnQgY29uc3QgY29uZmlnID0ge1xuICAgIGRlZmF1bHRzOiB7XG4gICAgICAgIHZpZXc6ICdkZWZhdWx0JyxcbiAgICB9LFxuICAgIHZhcmlhdGlvbnM6IHtcbiAgICAgICAgdmlldzoge1xuICAgICAgICAgICAgZGVmYXVsdDogY3NzYFxuICAgICAgICAgICAgICAgICR7cG9wb3ZlclRva2Vucy5hcnJvd01hc2tXaWR0aH06IDFyZW07XG4gICAgICAgICAgICAgICAgJHtwb3BvdmVyVG9rZW5zLmFycm93TWFza0hlaWdodH06IDFyZW07XG4gICAgICAgICAgICAgICAgJHtwb3BvdmVyVG9rZW5zLmFycm93TWFza0ltYWdlfTogdXJsKFwiZGF0YTppbWFnZS9zdmcreG1sO2Jhc2U2NCxQSE4yWnlCM2FXUjBhRDBpTVRZaUlHaGxhV2RvZEQwaU1UWWlJSGh0Ykc1elBTSm9kSFJ3T2k4dmQzZDNMbmN6TG05eVp5OHlNREF3TDNOMlp5SWdlRzFzYm5NNmMzWm5QU0pvZEhSd09pOHZkM2QzTG5jekxtOXlaeTh5TURBd0wzTjJaeUkrQ2lBZ1BIQmhkR2dnWTJ4cGNDMXlkV3hsUFNKbGRtVnViMlJrSWlCa1BTSnRNQ3c1TGpnMWJERTJMREJqTFRRdU5ERXNNQ0F0T0N3eUxqWTVJQzA0TERaak1Dd3RNeTR6TVNBdE15NDFPU3d0TmlBdE9Dd3RObm9pSUdacGJHdzlJaU14TnpFM01UY2lJR1pwYkd3dGNuVnNaVDBpWlhabGJtOWtaQ0lnYVdROUlsUmhhV3dpTHo0S1BDOXpkbWMrXCIpO1xuICAgICAgICAgICAgICAgICR7cG9wb3ZlclRva2Vucy5hcnJvd0hlaWdodH06IDAuMzc1cmVtO1xuICAgICAgICAgICAgICAgICR7cG9wb3ZlclRva2Vucy5hcnJvd0VkZ2VNYXJnaW59OiAwLjU2MjVyZW07XG4gICAgICAgICAgICAgICAgJHtwb3BvdmVyVG9rZW5zLmFycm93QmFja2dyb3VuZH06IHZhcigtLXBsYXNtYS1jb2xvcnMtc3VyZmFjZS1zb2xpZDAzKTtcbiAgICAgICAgICAgIGAsXG4gICAgICAgIH0sXG4gICAgfSxcbn07XG4iXX0= */"))
16
+ }
17
+ }
18
+ };
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Popover = void 0;
7
+ var _Popover = /*#__PURE__*/require("../../../../components/Popover");
8
+ var _engines = /*#__PURE__*/require("../../../../engines");
9
+ var _Popover2 = /*#__PURE__*/require("./Popover.config");
10
+ var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Popover.popoverConfig, _Popover2.config);
11
+ var Popover = exports.Popover = /*#__PURE__*/(0, _engines.component)(mergedConfig);