@salutejs/plasma-new-hope 0.182.0-canary.1526.11627044134.0 → 0.182.0-dev.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (602) hide show
  1. package/cjs/components/Attach/Attach.css +3 -3
  2. package/cjs/components/Attach/components/AttachButton/AttachButton.css +3 -3
  3. package/cjs/components/Autocomplete/Autocomplete.css +1 -1
  4. package/cjs/components/Autocomplete/Autocomplete.tokens.js +1 -0
  5. package/cjs/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
  6. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  7. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  8. package/cjs/components/Autocomplete/ui/TextField/{TextField.styles_1csckkd.css → TextField.styles_kcgaix.css} +1 -1
  9. package/cjs/components/Button/Button.css +2 -2
  10. package/cjs/components/Button/Button.styles.js.map +1 -1
  11. package/cjs/components/Button/variations/_disabled/base.js +1 -1
  12. package/cjs/components/Button/variations/_disabled/base.js.map +1 -1
  13. package/{es/components/Button/variations/_disabled/base_do83p2.css → cjs/components/Button/variations/_disabled/base_1t3ywu.css} +1 -1
  14. package/cjs/components/Button/variations/_view/base.js +1 -1
  15. package/cjs/components/Button/variations/_view/base.js.map +1 -1
  16. package/cjs/components/Button/variations/_view/base_1x0spnh.css +1 -0
  17. package/cjs/components/Calendar/Calendar.tokens.js +4 -0
  18. package/cjs/components/Calendar/Calendar.tokens.js.map +1 -1
  19. package/cjs/components/Calendar/CalendarBase/CalendarBase.css +18 -17
  20. package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  21. package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  22. package/{es/components/Calendar/CalendarBase/CalendarBase.styles_1m6uih1.css → cjs/components/Calendar/CalendarBase/CalendarBase.styles_zk3a46.css} +1 -1
  23. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +18 -17
  24. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.css +4 -4
  25. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.css +13 -12
  26. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -4
  27. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  28. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +11 -1
  29. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  30. package/cjs/components/Calendar/ui/CalendarHeader/{CalendarHeader.styles_1jfelqf.css → CalendarHeader.styles_zgya4j.css} +1 -0
  31. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
  32. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.css +4 -4
  33. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
  34. package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.css +4 -4
  35. package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +1 -1
  36. package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js.map +1 -1
  37. package/cjs/components/Calendar/ui/DateStructureItem/{DateStructureItem.styles_1nxxafr.css → DateStructureItem.styles_uzh6dj.css} +1 -1
  38. package/cjs/components/Combobox/ComboboxNew/Combobox.css +14 -14
  39. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  40. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  41. package/cjs/components/Combobox/ComboboxNew/{Combobox.styles_1s09ifw.css → Combobox.styles_18a8p75.css} +1 -1
  42. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +4 -26
  43. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  44. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +14 -14
  45. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +14 -14
  46. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +1 -1
  47. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  48. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/{Item.styles_y71664.css → Item.styles_1kzr84z.css} +2 -2
  49. package/cjs/components/Combobox/ComboboxOld/Combobox.css +5 -5
  50. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +5 -5
  51. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +5 -5
  52. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +5 -5
  53. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +5 -5
  54. package/cjs/components/DatePicker/DatePicker.tokens.js +7 -0
  55. package/cjs/components/DatePicker/DatePicker.tokens.js.map +1 -1
  56. package/cjs/components/DatePicker/DatePickerBase.styles.js +1 -1
  57. package/cjs/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  58. package/cjs/components/DatePicker/DatePickerBase.styles_1vzl5em.css +2 -0
  59. package/cjs/components/DatePicker/RangeDate/RangeDate.css +22 -21
  60. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +20 -19
  61. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +1 -1
  62. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_k7d8e5.css +2 -0
  63. package/cjs/components/DatePicker/SingleDate/SingleDate.css +22 -21
  64. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  65. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  66. package/cjs/components/DatePicker/SingleDate/{SingleDate.styles_1rrq00l.css → SingleDate.styles_e72b5o.css} +1 -1
  67. package/cjs/components/Drawer/Drawer.css +2 -2
  68. package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.css +2 -2
  69. package/cjs/components/Dropdown/Dropdown.css +5 -5
  70. package/cjs/components/Dropdown/Dropdown.styles.js +1 -1
  71. package/cjs/components/Dropdown/Dropdown.styles.js.map +1 -1
  72. package/cjs/components/Dropdown/{Dropdown.styles_1ix6io8.css → Dropdown.styles_dh7ns1.css} +1 -1
  73. package/cjs/components/Dropdown/Dropdown.tokens.js +2 -0
  74. package/cjs/components/Dropdown/Dropdown.tokens.js.map +1 -1
  75. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.css +5 -5
  76. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +1 -1
  77. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  78. package/cjs/components/Dropdown/ui/DropdownItem/{DropdownItem.styles_17va0nk.css → DropdownItem.styles_1b439rx.css} +1 -1
  79. package/cjs/components/EmptyState/EmptyState.css +2 -2
  80. package/cjs/components/IconButton/IconButton.css +3 -3
  81. package/cjs/components/IconButton/IconButton.styles.js +1 -1
  82. package/cjs/components/IconButton/IconButton.styles_sttslf.css +1 -0
  83. package/cjs/components/Notification/Notification.css +13 -13
  84. package/cjs/components/Notification/Notification.js +17 -5
  85. package/cjs/components/Notification/Notification.js.map +1 -1
  86. package/cjs/components/Notification/Notification.styles.js +17 -17
  87. package/cjs/components/Notification/Notification.styles.js.map +1 -1
  88. package/cjs/components/Notification/{Notification.styles_e6274r.css → Notification.styles_ob8hsa.css} +2 -2
  89. package/cjs/components/Notification/Notification.tokens.js +5 -1
  90. package/cjs/components/Notification/Notification.tokens.js.map +1 -1
  91. package/cjs/components/Notification/Notification.types.js.map +1 -1
  92. package/cjs/components/Notification/NotificationsProvider.css +13 -13
  93. package/cjs/components/Notification/variations/_closeIconType/base.js +9 -0
  94. package/cjs/components/Notification/variations/_closeIconType/base.js.map +1 -0
  95. package/cjs/components/Notification/variations/_closeIconType/base_x642ct.css +1 -0
  96. package/cjs/components/Pagination/Pagination.css +12 -12
  97. package/cjs/components/Pagination/Pagination.js +5 -5
  98. package/cjs/components/Pagination/Pagination.js.map +1 -1
  99. package/cjs/components/Pagination/Pagination.styles.js +3 -3
  100. package/cjs/components/Pagination/Pagination.styles.js.map +1 -1
  101. package/cjs/components/Pagination/{Pagination.styles_y6gcva.css → Pagination.styles_1w5oej6.css} +1 -1
  102. package/cjs/components/Pagination/Pagination.tokens.js +4 -1
  103. package/cjs/components/Pagination/Pagination.tokens.js.map +1 -1
  104. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +5 -5
  105. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  106. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  107. package/cjs/components/Pagination/ui/PaginationSelectPerPage/{PaginationSelectPerPage.styles_187mk6b.css → PaginationSelectPerPage.styles_1fesyfv.css} +1 -1
  108. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.css +2 -2
  109. package/cjs/components/Select/Select.css +2 -2
  110. package/cjs/components/Select/ui/Inner/Inner.css +2 -2
  111. package/cjs/components/Select/ui/Inner/ui/Item/Item.css +2 -2
  112. package/cjs/components/Select/ui/Target/Target.css +2 -2
  113. package/cjs/components/Select/ui/Target/ui/Button/Button.css +2 -2
  114. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +2 -2
  115. package/cjs/components/Tabs/tokens.js +7 -1
  116. package/cjs/components/Tabs/tokens.js.map +1 -1
  117. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +5 -5
  118. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  119. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  120. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/{HorizontalTabItem.styles_hfqv5b.css → HorizontalTabItem.styles_uaaqqg.css} +1 -1
  121. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -5
  122. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  123. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  124. package/{es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_16d3lah.css → cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_1g7zipg.css} +1 -1
  125. package/cjs/components/Toast/Toast.css +7 -7
  126. package/cjs/components/Toast/Toast.js +17 -5
  127. package/cjs/components/Toast/Toast.js.map +1 -1
  128. package/cjs/components/Toast/Toast.styles.js +3 -3
  129. package/cjs/components/Toast/Toast.styles.js.map +1 -1
  130. package/{es/components/Toast/Toast.styles_1v9oj7f.css → cjs/components/Toast/Toast.styles_1nei944.css} +1 -1
  131. package/cjs/components/Toast/Toast.tokens.js +3 -1
  132. package/cjs/components/Toast/Toast.tokens.js.map +1 -1
  133. package/cjs/components/Toast/ToastController.css +7 -7
  134. package/cjs/components/Toast/variations/_closeIconType/base.js +9 -0
  135. package/cjs/components/Toast/variations/_closeIconType/base.js.map +1 -0
  136. package/cjs/components/Toast/variations/_closeIconType/base_x642ct.css +1 -0
  137. package/cjs/components/_Icon/Icon.assets/CrossThin.js +22 -0
  138. package/cjs/components/_Icon/Icon.assets/CrossThin.js.map +1 -0
  139. package/cjs/components/_Icon/Icons/IconCrossThin.js +25 -0
  140. package/cjs/components/_Icon/Icons/IconCrossThin.js.map +1 -0
  141. package/cjs/index.css +79 -78
  142. package/emotion/cjs/components/Autocomplete/Autocomplete.tokens.js +1 -0
  143. package/emotion/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  144. package/emotion/cjs/components/Button/Button.styles.js +10 -10
  145. package/emotion/cjs/components/Button/variations/_disabled/base.js +1 -1
  146. package/emotion/cjs/components/Button/variations/_view/base.js +1 -1
  147. package/emotion/cjs/components/Calendar/Calendar.tokens.js +4 -0
  148. package/emotion/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -2
  149. package/emotion/cjs/components/Calendar/mixins/selected.js +3 -2
  150. package/emotion/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -3
  151. package/emotion/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +22 -17
  152. package/emotion/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +5 -4
  153. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +7 -7
  154. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +4 -4
  155. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +12 -12
  156. package/emotion/cjs/components/DatePicker/DatePicker.tokens.js +7 -0
  157. package/emotion/cjs/components/DatePicker/DatePickerBase.styles.js +3 -3
  158. package/emotion/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +5 -5
  159. package/emotion/cjs/components/Dropdown/Dropdown.styles.js +2 -2
  160. package/emotion/cjs/components/Dropdown/Dropdown.tokens.js +2 -1
  161. package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +6 -6
  162. package/emotion/cjs/components/Notification/Notification.js +18 -6
  163. package/emotion/cjs/components/Notification/Notification.styles.js +11 -11
  164. package/emotion/cjs/components/Notification/Notification.tokens.js +5 -1
  165. package/emotion/cjs/components/Notification/variations/_closeIconType/base.js +8 -0
  166. package/emotion/cjs/components/Notification/variations/_closeIconType/tokens.json +1 -0
  167. package/emotion/cjs/components/Pagination/Pagination.js +5 -5
  168. package/emotion/cjs/components/Pagination/Pagination.styles.js +8 -8
  169. package/emotion/cjs/components/Pagination/Pagination.tokens.js +4 -1
  170. package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  171. package/emotion/cjs/components/Tabs/tokens.js +7 -1
  172. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +5 -5
  173. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +5 -5
  174. package/emotion/cjs/components/Toast/Toast.js +18 -6
  175. package/emotion/cjs/components/Toast/Toast.styles.js +6 -6
  176. package/emotion/cjs/components/Toast/Toast.tokens.js +3 -1
  177. package/emotion/cjs/components/Toast/variations/_closeIconType/base.js +8 -0
  178. package/emotion/cjs/components/Toast/variations/_closeIconType/tokens.json +1 -0
  179. package/emotion/cjs/components/_Icon/Icon.assets/CrossThin.js +21 -0
  180. package/emotion/cjs/components/_Icon/Icons/IconCrossThin.js +24 -0
  181. package/emotion/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +12 -12
  182. package/emotion/cjs/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -5
  183. package/emotion/cjs/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -5
  184. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  185. package/emotion/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +7 -7
  186. package/emotion/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +5 -5
  187. package/emotion/cjs/examples/plasma_b2c/components/Notification/Notification.config.js +11 -6
  188. package/emotion/cjs/examples/plasma_b2c/components/Notification/Notification.stories.tsx +8 -0
  189. package/emotion/cjs/examples/plasma_b2c/components/Toast/Toast.config.js +11 -6
  190. package/emotion/cjs/examples/plasma_b2c/components/Toast/Toast.stories.tsx +9 -0
  191. package/emotion/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +12 -12
  192. package/emotion/cjs/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -5
  193. package/emotion/cjs/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -5
  194. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
  195. package/emotion/cjs/examples/plasma_web/components/DatePicker/DatePicker.config.js +7 -7
  196. package/emotion/cjs/examples/plasma_web/components/Dropdown/Dropdown.config.js +5 -5
  197. package/emotion/cjs/examples/plasma_web/components/Notification/Notification.config.js +11 -6
  198. package/emotion/cjs/examples/plasma_web/components/Notification/Notification.stories.tsx +8 -0
  199. package/emotion/cjs/examples/plasma_web/components/Toast/Toast.config.js +11 -6
  200. package/emotion/cjs/examples/plasma_web/components/Toast/Toast.stories.tsx +9 -0
  201. package/emotion/es/components/Autocomplete/Autocomplete.tokens.js +1 -0
  202. package/emotion/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  203. package/emotion/es/components/Button/Button.styles.js +10 -10
  204. package/emotion/es/components/Button/variations/_disabled/base.js +1 -1
  205. package/emotion/es/components/Button/variations/_view/base.js +1 -1
  206. package/emotion/es/components/Calendar/Calendar.tokens.js +4 -0
  207. package/emotion/es/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -2
  208. package/emotion/es/components/Calendar/mixins/selected.js +3 -2
  209. package/emotion/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -5
  210. package/emotion/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +21 -16
  211. package/emotion/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +5 -4
  212. package/emotion/es/components/Combobox/ComboboxNew/Combobox.styles.js +7 -7
  213. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +4 -4
  214. package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +12 -12
  215. package/emotion/es/components/DatePicker/DatePicker.tokens.js +7 -0
  216. package/emotion/es/components/DatePicker/DatePickerBase.styles.js +3 -3
  217. package/emotion/es/components/DatePicker/SingleDate/SingleDate.styles.js +5 -5
  218. package/emotion/es/components/Dropdown/Dropdown.styles.js +2 -2
  219. package/emotion/es/components/Dropdown/Dropdown.tokens.js +2 -1
  220. package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +6 -6
  221. package/emotion/es/components/Notification/Notification.js +18 -6
  222. package/emotion/es/components/Notification/Notification.styles.js +11 -11
  223. package/emotion/es/components/Notification/Notification.tokens.js +5 -1
  224. package/emotion/es/components/Notification/variations/_closeIconType/base.js +2 -0
  225. package/emotion/es/components/Notification/variations/_closeIconType/tokens.json +1 -0
  226. package/emotion/es/components/Pagination/Pagination.js +5 -5
  227. package/emotion/es/components/Pagination/Pagination.styles.js +8 -8
  228. package/emotion/es/components/Pagination/Pagination.tokens.js +4 -1
  229. package/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  230. package/emotion/es/components/Tabs/tokens.js +7 -1
  231. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +5 -5
  232. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +5 -5
  233. package/emotion/es/components/Toast/Toast.js +18 -6
  234. package/emotion/es/components/Toast/Toast.styles.js +6 -6
  235. package/emotion/es/components/Toast/Toast.tokens.js +3 -1
  236. package/emotion/es/components/Toast/variations/_closeIconType/base.js +2 -0
  237. package/emotion/es/components/Toast/variations/_closeIconType/tokens.json +1 -0
  238. package/emotion/es/components/_Icon/Icon.assets/CrossThin.js +14 -0
  239. package/emotion/es/components/_Icon/Icons/IconCrossThin.js +17 -0
  240. package/emotion/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +12 -12
  241. package/emotion/es/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -5
  242. package/emotion/es/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -5
  243. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  244. package/emotion/es/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +7 -7
  245. package/emotion/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +5 -5
  246. package/emotion/es/examples/plasma_b2c/components/Notification/Notification.config.js +11 -6
  247. package/emotion/es/examples/plasma_b2c/components/Notification/Notification.stories.tsx +8 -0
  248. package/emotion/es/examples/plasma_b2c/components/Toast/Toast.config.js +11 -6
  249. package/emotion/es/examples/plasma_b2c/components/Toast/Toast.stories.tsx +9 -0
  250. package/emotion/es/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +12 -12
  251. package/emotion/es/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -5
  252. package/emotion/es/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -5
  253. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
  254. package/emotion/es/examples/plasma_web/components/DatePicker/DatePicker.config.js +7 -7
  255. package/emotion/es/examples/plasma_web/components/Dropdown/Dropdown.config.js +5 -5
  256. package/emotion/es/examples/plasma_web/components/Notification/Notification.config.js +11 -6
  257. package/emotion/es/examples/plasma_web/components/Notification/Notification.stories.tsx +8 -0
  258. package/emotion/es/examples/plasma_web/components/Toast/Toast.config.js +11 -6
  259. package/emotion/es/examples/plasma_web/components/Toast/Toast.stories.tsx +9 -0
  260. package/es/components/Attach/Attach.css +3 -3
  261. package/es/components/Attach/components/AttachButton/AttachButton.css +3 -3
  262. package/es/components/Autocomplete/Autocomplete.css +1 -1
  263. package/es/components/Autocomplete/Autocomplete.tokens.js +1 -0
  264. package/es/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
  265. package/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  266. package/es/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  267. package/es/components/Autocomplete/ui/TextField/{TextField.styles_1csckkd.css → TextField.styles_kcgaix.css} +1 -1
  268. package/es/components/Button/Button.css +2 -2
  269. package/es/components/Button/Button.styles.js.map +1 -1
  270. package/es/components/Button/variations/_disabled/base.js +1 -1
  271. package/es/components/Button/variations/_disabled/base.js.map +1 -1
  272. package/{cjs/components/Button/variations/_disabled/base_do83p2.css → es/components/Button/variations/_disabled/base_1t3ywu.css} +1 -1
  273. package/es/components/Button/variations/_view/base.js +1 -1
  274. package/es/components/Button/variations/_view/base.js.map +1 -1
  275. package/es/components/Button/variations/_view/base_1x0spnh.css +1 -0
  276. package/es/components/Calendar/Calendar.tokens.js +4 -0
  277. package/es/components/Calendar/Calendar.tokens.js.map +1 -1
  278. package/es/components/Calendar/CalendarBase/CalendarBase.css +18 -17
  279. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  280. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  281. package/{cjs/components/Calendar/CalendarBase/CalendarBase.styles_1m6uih1.css → es/components/Calendar/CalendarBase/CalendarBase.styles_zk3a46.css} +1 -1
  282. package/es/components/Calendar/CalendarDouble/CalendarDouble.css +18 -17
  283. package/es/components/Calendar/ui/CalendarDays/CalendarDays.css +4 -4
  284. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.css +13 -12
  285. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +4 -5
  286. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  287. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +11 -2
  288. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  289. package/es/components/Calendar/ui/CalendarHeader/{CalendarHeader.styles_1jfelqf.css → CalendarHeader.styles_zgya4j.css} +1 -0
  290. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
  291. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.css +4 -4
  292. package/es/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
  293. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.css +4 -4
  294. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +1 -1
  295. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js.map +1 -1
  296. package/es/components/Calendar/ui/DateStructureItem/{DateStructureItem.styles_1nxxafr.css → DateStructureItem.styles_uzh6dj.css} +1 -1
  297. package/es/components/Combobox/ComboboxNew/Combobox.css +14 -14
  298. package/es/components/Combobox/ComboboxNew/Combobox.styles.js +3 -3
  299. package/es/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  300. package/es/components/Combobox/ComboboxNew/{Combobox.styles_1s09ifw.css → Combobox.styles_18a8p75.css} +1 -1
  301. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -26
  302. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  303. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +14 -14
  304. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +14 -14
  305. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +1 -1
  306. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  307. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/{Item.styles_y71664.css → Item.styles_1kzr84z.css} +2 -2
  308. package/es/components/Combobox/ComboboxOld/Combobox.css +5 -5
  309. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +5 -5
  310. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +5 -5
  311. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +5 -5
  312. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +5 -5
  313. package/es/components/DatePicker/DatePicker.tokens.js +7 -0
  314. package/es/components/DatePicker/DatePicker.tokens.js.map +1 -1
  315. package/es/components/DatePicker/DatePickerBase.styles.js +1 -1
  316. package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  317. package/es/components/DatePicker/DatePickerBase.styles_1vzl5em.css +2 -0
  318. package/es/components/DatePicker/RangeDate/RangeDate.css +22 -21
  319. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +20 -19
  320. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +1 -1
  321. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_k7d8e5.css +2 -0
  322. package/es/components/DatePicker/SingleDate/SingleDate.css +22 -21
  323. package/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  324. package/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  325. package/es/components/DatePicker/SingleDate/{SingleDate.styles_1rrq00l.css → SingleDate.styles_e72b5o.css} +1 -1
  326. package/es/components/Drawer/Drawer.css +2 -2
  327. package/es/components/Drawer/ui/DrawerContent/DrawerContent.css +2 -2
  328. package/es/components/Dropdown/Dropdown.css +5 -5
  329. package/es/components/Dropdown/Dropdown.styles.js +1 -1
  330. package/es/components/Dropdown/Dropdown.styles.js.map +1 -1
  331. package/es/components/Dropdown/{Dropdown.styles_1ix6io8.css → Dropdown.styles_dh7ns1.css} +1 -1
  332. package/es/components/Dropdown/Dropdown.tokens.js +2 -0
  333. package/es/components/Dropdown/Dropdown.tokens.js.map +1 -1
  334. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.css +5 -5
  335. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +1 -1
  336. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  337. package/es/components/Dropdown/ui/DropdownItem/{DropdownItem.styles_17va0nk.css → DropdownItem.styles_1b439rx.css} +1 -1
  338. package/es/components/EmptyState/EmptyState.css +2 -2
  339. package/es/components/IconButton/IconButton.css +3 -3
  340. package/es/components/IconButton/IconButton.styles.js +1 -1
  341. package/es/components/IconButton/IconButton.styles_sttslf.css +1 -0
  342. package/es/components/Notification/Notification.css +13 -13
  343. package/es/components/Notification/Notification.js +18 -6
  344. package/es/components/Notification/Notification.js.map +1 -1
  345. package/es/components/Notification/Notification.styles.js +17 -17
  346. package/es/components/Notification/Notification.styles.js.map +1 -1
  347. package/es/components/Notification/{Notification.styles_e6274r.css → Notification.styles_ob8hsa.css} +2 -2
  348. package/es/components/Notification/Notification.tokens.js +5 -1
  349. package/es/components/Notification/Notification.tokens.js.map +1 -1
  350. package/es/components/Notification/Notification.types.js.map +1 -1
  351. package/es/components/Notification/NotificationsProvider.css +13 -13
  352. package/es/components/Notification/variations/_closeIconType/base.js +5 -0
  353. package/es/components/Notification/variations/_closeIconType/base.js.map +1 -0
  354. package/es/components/Notification/variations/_closeIconType/base_x642ct.css +1 -0
  355. package/es/components/Pagination/Pagination.css +12 -12
  356. package/es/components/Pagination/Pagination.js +5 -5
  357. package/es/components/Pagination/Pagination.js.map +1 -1
  358. package/es/components/Pagination/Pagination.styles.js +3 -3
  359. package/es/components/Pagination/Pagination.styles.js.map +1 -1
  360. package/es/components/Pagination/{Pagination.styles_y6gcva.css → Pagination.styles_1w5oej6.css} +1 -1
  361. package/es/components/Pagination/Pagination.tokens.js +4 -1
  362. package/es/components/Pagination/Pagination.tokens.js.map +1 -1
  363. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +5 -5
  364. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  365. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  366. package/es/components/Pagination/ui/PaginationSelectPerPage/{PaginationSelectPerPage.styles_187mk6b.css → PaginationSelectPerPage.styles_1fesyfv.css} +1 -1
  367. package/es/components/Panel/ui/PanelHeader/PanelHeader.css +2 -2
  368. package/es/components/Select/Select.css +2 -2
  369. package/es/components/Select/ui/Inner/Inner.css +2 -2
  370. package/es/components/Select/ui/Inner/ui/Item/Item.css +2 -2
  371. package/es/components/Select/ui/Target/Target.css +2 -2
  372. package/es/components/Select/ui/Target/ui/Button/Button.css +2 -2
  373. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +2 -2
  374. package/es/components/Tabs/tokens.js +7 -1
  375. package/es/components/Tabs/tokens.js.map +1 -1
  376. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +5 -5
  377. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  378. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  379. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/{HorizontalTabItem.styles_hfqv5b.css → HorizontalTabItem.styles_uaaqqg.css} +1 -1
  380. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -5
  381. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  382. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  383. package/{cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_16d3lah.css → es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_1g7zipg.css} +1 -1
  384. package/es/components/Toast/Toast.css +7 -7
  385. package/es/components/Toast/Toast.js +18 -6
  386. package/es/components/Toast/Toast.js.map +1 -1
  387. package/es/components/Toast/Toast.styles.js +3 -3
  388. package/es/components/Toast/Toast.styles.js.map +1 -1
  389. package/{cjs/components/Toast/Toast.styles_1v9oj7f.css → es/components/Toast/Toast.styles_1nei944.css} +1 -1
  390. package/es/components/Toast/Toast.tokens.js +3 -1
  391. package/es/components/Toast/Toast.tokens.js.map +1 -1
  392. package/es/components/Toast/ToastController.css +7 -7
  393. package/es/components/Toast/variations/_closeIconType/base.js +5 -0
  394. package/es/components/Toast/variations/_closeIconType/base.js.map +1 -0
  395. package/es/components/Toast/variations/_closeIconType/base_x642ct.css +1 -0
  396. package/es/components/_Icon/Icon.assets/CrossThin.js +18 -0
  397. package/es/components/_Icon/Icon.assets/CrossThin.js.map +1 -0
  398. package/es/components/_Icon/Icons/IconCrossThin.js +21 -0
  399. package/es/components/_Icon/Icons/IconCrossThin.js.map +1 -0
  400. package/es/index.css +79 -78
  401. package/package.json +4 -4
  402. package/styled-components/cjs/components/Autocomplete/Autocomplete.tokens.js +1 -0
  403. package/styled-components/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  404. package/styled-components/cjs/components/Button/Button.styles.js +2 -2
  405. package/styled-components/cjs/components/Button/variations/_disabled/base.js +1 -1
  406. package/styled-components/cjs/components/Button/variations/_view/base.js +1 -1
  407. package/styled-components/cjs/components/Calendar/Calendar.tokens.js +4 -0
  408. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  409. package/styled-components/cjs/components/Calendar/mixins/selected.js +3 -2
  410. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -3
  411. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +6 -2
  412. package/styled-components/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +1 -0
  413. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  414. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +4 -4
  415. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +2 -2
  416. package/styled-components/cjs/components/DatePicker/DatePicker.tokens.js +7 -0
  417. package/styled-components/cjs/components/DatePicker/DatePickerBase.styles.js +1 -1
  418. package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  419. package/styled-components/cjs/components/Dropdown/Dropdown.styles.js +2 -2
  420. package/styled-components/cjs/components/Dropdown/Dropdown.tokens.js +2 -1
  421. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +1 -1
  422. package/styled-components/cjs/components/Notification/Notification.js +18 -6
  423. package/styled-components/cjs/components/Notification/Notification.styles.js +2 -2
  424. package/styled-components/cjs/components/Notification/Notification.tokens.js +5 -1
  425. package/styled-components/cjs/components/Notification/variations/_closeIconType/base.js +8 -0
  426. package/styled-components/cjs/components/Notification/variations/_closeIconType/tokens.json +1 -0
  427. package/styled-components/cjs/components/Pagination/Pagination.js +5 -5
  428. package/styled-components/cjs/components/Pagination/Pagination.styles.js +1 -1
  429. package/styled-components/cjs/components/Pagination/Pagination.tokens.js +4 -1
  430. package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  431. package/styled-components/cjs/components/Tabs/tokens.js +7 -1
  432. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  433. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  434. package/styled-components/cjs/components/Toast/Toast.js +18 -6
  435. package/styled-components/cjs/components/Toast/Toast.styles.js +1 -1
  436. package/styled-components/cjs/components/Toast/Toast.tokens.js +3 -1
  437. package/styled-components/cjs/components/Toast/variations/_closeIconType/base.js +8 -0
  438. package/styled-components/cjs/components/Toast/variations/_closeIconType/tokens.json +1 -0
  439. package/styled-components/cjs/components/_Icon/Icon.assets/CrossThin.js +21 -0
  440. package/styled-components/cjs/components/_Icon/Icons/IconCrossThin.js +24 -0
  441. package/styled-components/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +4 -4
  442. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -5
  443. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -5
  444. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
  445. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +5 -5
  446. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +1 -1
  447. package/styled-components/cjs/examples/plasma_b2c/components/Notification/Notification.config.js +6 -1
  448. package/styled-components/cjs/examples/plasma_b2c/components/Notification/Notification.stories.tsx +8 -0
  449. package/styled-components/cjs/examples/plasma_b2c/components/Toast/Toast.config.js +6 -1
  450. package/styled-components/cjs/examples/plasma_b2c/components/Toast/Toast.stories.tsx +9 -0
  451. package/styled-components/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +4 -4
  452. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -5
  453. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -5
  454. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
  455. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.config.js +5 -5
  456. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Dropdown.config.js +1 -1
  457. package/styled-components/cjs/examples/plasma_web/components/Notification/Notification.config.js +6 -1
  458. package/styled-components/cjs/examples/plasma_web/components/Notification/Notification.stories.tsx +8 -0
  459. package/styled-components/cjs/examples/plasma_web/components/Toast/Toast.config.js +6 -1
  460. package/styled-components/cjs/examples/plasma_web/components/Toast/Toast.stories.tsx +9 -0
  461. package/styled-components/es/components/Autocomplete/Autocomplete.tokens.js +1 -0
  462. package/styled-components/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  463. package/styled-components/es/components/Button/Button.styles.js +2 -2
  464. package/styled-components/es/components/Button/variations/_disabled/base.js +1 -1
  465. package/styled-components/es/components/Button/variations/_view/base.js +1 -1
  466. package/styled-components/es/components/Calendar/Calendar.tokens.js +4 -0
  467. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  468. package/styled-components/es/components/Calendar/mixins/selected.js +3 -2
  469. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -5
  470. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +5 -1
  471. package/styled-components/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +1 -0
  472. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  473. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +4 -4
  474. package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +2 -2
  475. package/styled-components/es/components/DatePicker/DatePicker.tokens.js +7 -0
  476. package/styled-components/es/components/DatePicker/DatePickerBase.styles.js +1 -1
  477. package/styled-components/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  478. package/styled-components/es/components/Dropdown/Dropdown.styles.js +2 -2
  479. package/styled-components/es/components/Dropdown/Dropdown.tokens.js +2 -1
  480. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +1 -1
  481. package/styled-components/es/components/Notification/Notification.js +18 -6
  482. package/styled-components/es/components/Notification/Notification.styles.js +2 -2
  483. package/styled-components/es/components/Notification/Notification.tokens.js +5 -1
  484. package/styled-components/es/components/Notification/variations/_closeIconType/base.js +2 -0
  485. package/styled-components/es/components/Notification/variations/_closeIconType/tokens.json +1 -0
  486. package/styled-components/es/components/Pagination/Pagination.js +5 -5
  487. package/styled-components/es/components/Pagination/Pagination.styles.js +1 -1
  488. package/styled-components/es/components/Pagination/Pagination.tokens.js +4 -1
  489. package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  490. package/styled-components/es/components/Tabs/tokens.js +7 -1
  491. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  492. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  493. package/styled-components/es/components/Toast/Toast.js +18 -6
  494. package/styled-components/es/components/Toast/Toast.styles.js +1 -1
  495. package/styled-components/es/components/Toast/Toast.tokens.js +3 -1
  496. package/styled-components/es/components/Toast/variations/_closeIconType/base.js +2 -0
  497. package/styled-components/es/components/Toast/variations/_closeIconType/tokens.json +1 -0
  498. package/styled-components/es/components/_Icon/Icon.assets/CrossThin.js +14 -0
  499. package/styled-components/es/components/_Icon/Icons/IconCrossThin.js +17 -0
  500. package/styled-components/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +4 -4
  501. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -5
  502. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -5
  503. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
  504. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +5 -5
  505. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +1 -1
  506. package/styled-components/es/examples/plasma_b2c/components/Notification/Notification.config.js +6 -1
  507. package/styled-components/es/examples/plasma_b2c/components/Notification/Notification.stories.tsx +8 -0
  508. package/styled-components/es/examples/plasma_b2c/components/Toast/Toast.config.js +6 -1
  509. package/styled-components/es/examples/plasma_b2c/components/Toast/Toast.stories.tsx +9 -0
  510. package/styled-components/es/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +4 -4
  511. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -5
  512. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -5
  513. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
  514. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.config.js +5 -5
  515. package/styled-components/es/examples/plasma_web/components/Dropdown/Dropdown.config.js +1 -1
  516. package/styled-components/es/examples/plasma_web/components/Notification/Notification.config.js +6 -1
  517. package/styled-components/es/examples/plasma_web/components/Notification/Notification.stories.tsx +8 -0
  518. package/styled-components/es/examples/plasma_web/components/Toast/Toast.config.js +6 -1
  519. package/styled-components/es/examples/plasma_web/components/Toast/Toast.stories.tsx +9 -0
  520. package/types/components/Autocomplete/Autocomplete.tokens.d.ts +1 -0
  521. package/types/components/Autocomplete/Autocomplete.tokens.d.ts.map +1 -1
  522. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  523. package/types/components/Calendar/Calendar.tokens.d.ts +4 -0
  524. package/types/components/Calendar/Calendar.tokens.d.ts.map +1 -1
  525. package/types/components/Calendar/CalendarBase/CalendarBase.styles.d.ts.map +1 -1
  526. package/types/components/Calendar/mixins/selected.d.ts +4 -0
  527. package/types/components/Calendar/mixins/selected.d.ts.map +1 -1
  528. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.d.ts.map +1 -1
  529. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts +1 -0
  530. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts.map +1 -1
  531. package/types/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.d.ts.map +1 -1
  532. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +3 -3
  533. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  534. package/types/components/DatePicker/DatePicker.tokens.d.ts +7 -0
  535. package/types/components/DatePicker/DatePicker.tokens.d.ts.map +1 -1
  536. package/types/components/DatePicker/DatePickerBase.styles.d.ts.map +1 -1
  537. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  538. package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
  539. package/types/components/Dropdown/Dropdown.tokens.d.ts +2 -1
  540. package/types/components/Dropdown/Dropdown.tokens.d.ts.map +1 -1
  541. package/types/components/Notification/Notification.d.ts +4 -0
  542. package/types/components/Notification/Notification.d.ts.map +1 -1
  543. package/types/components/Notification/Notification.styles.d.ts.map +1 -1
  544. package/types/components/Notification/Notification.tokens.d.ts +4 -0
  545. package/types/components/Notification/Notification.tokens.d.ts.map +1 -1
  546. package/types/components/Notification/Notification.types.d.ts +4 -0
  547. package/types/components/Notification/Notification.types.d.ts.map +1 -1
  548. package/types/components/Notification/variations/_closeIconType/base.d.ts +2 -0
  549. package/types/components/Notification/variations/_closeIconType/base.d.ts.map +1 -0
  550. package/types/components/Pagination/Pagination.d.ts.map +1 -1
  551. package/types/components/Pagination/Pagination.styles.d.ts.map +1 -1
  552. package/types/components/Pagination/Pagination.tokens.d.ts +3 -0
  553. package/types/components/Pagination/Pagination.tokens.d.ts.map +1 -1
  554. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  555. package/types/components/Tabs/tokens.d.ts +6 -0
  556. package/types/components/Tabs/tokens.d.ts.map +1 -1
  557. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.d.ts.map +1 -1
  558. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.d.ts.map +1 -1
  559. package/types/components/Toast/Toast.d.ts +4 -0
  560. package/types/components/Toast/Toast.d.ts.map +1 -1
  561. package/types/components/Toast/Toast.tokens.d.ts +2 -0
  562. package/types/components/Toast/Toast.tokens.d.ts.map +1 -1
  563. package/types/components/Toast/Toast.types.d.ts +8 -0
  564. package/types/components/Toast/Toast.types.d.ts.map +1 -1
  565. package/types/components/Toast/variations/_closeIconType/base.d.ts +2 -0
  566. package/types/components/Toast/variations/_closeIconType/base.d.ts.map +1 -0
  567. package/types/components/_Icon/Icon.assets/CrossThin.d.ts +4 -0
  568. package/types/components/_Icon/Icon.assets/CrossThin.d.ts.map +1 -0
  569. package/types/components/_Icon/Icons/IconCrossThin.d.ts +4 -0
  570. package/types/components/_Icon/Icons/IconCrossThin.d.ts.map +1 -0
  571. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.d.ts.map +1 -1
  572. package/types/examples/plasma_b2c/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  573. package/types/examples/plasma_b2c/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  574. package/types/examples/plasma_b2c/components/Combobox/Combobox.config.d.ts.map +1 -1
  575. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.config.d.ts.map +1 -1
  576. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.config.d.ts.map +1 -1
  577. package/types/examples/plasma_b2c/components/Notification/Notification.config.d.ts +5 -0
  578. package/types/examples/plasma_b2c/components/Notification/Notification.config.d.ts.map +1 -1
  579. package/types/examples/plasma_b2c/components/Toast/Toast.config.d.ts +5 -0
  580. package/types/examples/plasma_b2c/components/Toast/Toast.config.d.ts.map +1 -1
  581. package/types/examples/plasma_b2c/components/Toast/Toast.d.ts +4 -0
  582. package/types/examples/plasma_b2c/components/Toast/Toast.d.ts.map +1 -1
  583. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.config.d.ts.map +1 -1
  584. package/types/examples/plasma_web/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  585. package/types/examples/plasma_web/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  586. package/types/examples/plasma_web/components/Combobox/Combobox.config.d.ts.map +1 -1
  587. package/types/examples/plasma_web/components/DatePicker/DatePicker.config.d.ts.map +1 -1
  588. package/types/examples/plasma_web/components/Dropdown/Dropdown.config.d.ts.map +1 -1
  589. package/types/examples/plasma_web/components/Notification/Notification.config.d.ts +5 -0
  590. package/types/examples/plasma_web/components/Notification/Notification.config.d.ts.map +1 -1
  591. package/types/examples/plasma_web/components/Toast/Toast.config.d.ts +5 -0
  592. package/types/examples/plasma_web/components/Toast/Toast.config.d.ts.map +1 -1
  593. package/types/examples/plasma_web/components/Toast/Toast.d.ts +4 -0
  594. package/types/examples/plasma_web/components/Toast/Toast.d.ts.map +1 -1
  595. package/cjs/components/Button/variations/_view/base_jfbpjg.css +0 -1
  596. package/cjs/components/DatePicker/DatePickerBase.styles_mjc9xz.css +0 -2
  597. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1gljtdv.css +0 -2
  598. package/cjs/components/IconButton/IconButton.styles_403on7.css +0 -1
  599. package/es/components/Button/variations/_view/base_jfbpjg.css +0 -1
  600. package/es/components/DatePicker/DatePickerBase.styles_mjc9xz.css +0 -2
  601. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1gljtdv.css +0 -2
  602. package/es/components/IconButton/IconButton.styles_403on7.css +0 -1
@@ -50,6 +50,7 @@ interface StoryDefaultProps {
50
50
  showLeftIcon: boolean;
51
51
  layout: NotificationLayout;
52
52
  size: 'xs' | 'xxs';
53
+ closeIconType?: 'default' | 'thin';
53
54
  iconPlacement: NotificationIconPlacement;
54
55
  placement?: NotificationPlacement;
55
56
  }
@@ -90,6 +91,12 @@ export const Default: StoryObj<StoryDefaultProps> = {
90
91
  type: 'select',
91
92
  },
92
93
  },
94
+ closeIconType: {
95
+ options: ['default', 'thin'],
96
+ control: {
97
+ type: 'select',
98
+ },
99
+ },
93
100
  layout: {
94
101
  options: ['vertical', 'horizontal'],
95
102
  control: {
@@ -104,6 +111,7 @@ export const Default: StoryObj<StoryDefaultProps> = {
104
111
  showLeftIcon: true,
105
112
  iconPlacement: 'top',
106
113
  layout: 'vertical',
114
+ closeIconType: 'default',
107
115
  size: 'xs',
108
116
  },
109
117
  render: (args) => <StoryDefault {...args} />,
@@ -9,7 +9,8 @@ var _Toast = /*#__PURE__*/require("../../../../components/Toast");
9
9
  var config = exports.config = {
10
10
  defaults: {
11
11
  view: 'default',
12
- size: 'm'
12
+ size: 'm',
13
+ closeIconType: 'default'
13
14
  },
14
15
  variations: {
15
16
  view: {
@@ -22,6 +23,10 @@ var config = exports.config = {
22
23
  },
23
24
  pilled: {
24
25
  "true": /*#__PURE__*/(0, _styledComponents.css)(["", ":1.5rem;", ":-0.0625rem 0.375rem -0.0625rem -0.25rem;", ":-0.0625rem -0.25rem -0.0625rem 0.375rem;"], _Toast.toastTokens.pilledBorderRadius, _Toast.toastTokens.leftContentMargin, _Toast.toastTokens.closeIconMargin)
26
+ },
27
+ closeIconType: {
28
+ "default": /*#__PURE__*/(0, _styledComponents.css)(["", ":1rem;", ":1.5rem;"], _Toast.toastTokens.closeIconButtonSize, _Toast.toastTokens.closeIconSize),
29
+ thin: /*#__PURE__*/(0, _styledComponents.css)(["", ":1rem;", ":1rem;"], _Toast.toastTokens.closeIconButtonSize, _Toast.toastTokens.closeIconSize)
25
30
  }
26
31
  }
27
32
  };
@@ -58,11 +58,20 @@ export const ToastComponent: StoryComponent = {
58
58
  args: {
59
59
  text: 'Текст всплывающего уведомления',
60
60
  view: 'default',
61
+ closeIconType: 'default',
61
62
  size: 'm',
62
63
  hasClose: true,
63
64
  enableContentLeft: true,
64
65
  pilled: false,
65
66
  },
67
+ argTypes: {
68
+ closeIconType: {
69
+ options: ['default', 'thin'],
70
+ control: {
71
+ type: 'select',
72
+ },
73
+ },
74
+ },
66
75
  render: ({ enableContentLeft, ...args }) => (
67
76
  <ToastContainer>
68
77
  <Toast contentLeft={enableContentLeft && <BellIcon width="1rem" height="1rem" />} {...args} />
@@ -62,6 +62,7 @@ export var tokens = {
62
62
  textFieldDisabledOpacity: '--plasma-autocomplete-textfield-disabled-opacity',
63
63
  textFieldFocusColor: '--plasma-autocomplete-textfield-focus-color',
64
64
  textFieldContentSlotColor: '--plasma-autocomplete-content-color',
65
+ textFieldContentSlotRightColor: '--plasma-autocomplete-content-right-color',
65
66
  // Токены для дропдауна
66
67
  background: '--plasma-autocomplete-background',
67
68
  boxShadow: '--plasma-autocomplete-box-shadow',
@@ -6,4 +6,4 @@ var mergedConfig = /*#__PURE__*/mergeConfig(textFieldConfig);
6
6
  var TextField = /*#__PURE__*/component(mergedConfig);
7
7
  export var StyledTextField = /*#__PURE__*/styled(TextField).withConfig({
8
8
  componentId: "plasma-new-hope__sc-1rp2ggs-0"
9
- })(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ",var(", "));"], textFieldTokens.color, autocompleteTokens.textFieldColor, textFieldTokens.placeholderColorFocus, autocompleteTokens.textFieldPlaceholderColorFocus, textFieldTokens.backgroundColor, autocompleteTokens.textFieldBackgroundColor, textFieldTokens.backgroundColorHover, autocompleteTokens.textFieldBackgroundColorHover, textFieldTokens.backgroundColorFocus, autocompleteTokens.textFieldBackgroundColorFocus, textFieldTokens.borderColor, autocompleteTokens.textFieldBorderColor, textFieldTokens.borderColorHover, autocompleteTokens.textFieldBorderColorHover, textFieldTokens.borderColorFocus, autocompleteTokens.textFieldBorderColorFocus, textFieldTokens.colorReadOnly, autocompleteTokens.textFieldColorReadOnly, textFieldTokens.backgroundColorReadOnly, autocompleteTokens.textFieldBackgroundColorReadOnly, textFieldTokens.borderColorReadOnly, autocompleteTokens.textFieldBorderColorReadOnly, textFieldTokens.placeholderColorReadOnly, autocompleteTokens.textFieldPlaceholderColorReadOnly, textFieldTokens.caretColor, autocompleteTokens.textFieldCaretColor, textFieldTokens.placeholderColor, autocompleteTokens.textFieldPlaceholderColor, textFieldTokens.height, autocompleteTokens.textFieldHeight, textFieldTokens.borderWidth, autocompleteTokens.textFieldBorderWidth, textFieldTokens.borderRadius, autocompleteTokens.textFieldBorderRadius, textFieldTokens.padding, autocompleteTokens.textFieldPadding, textFieldTokens.leftContentMargin, autocompleteTokens.textFieldLeftContentMargin, textFieldTokens.rightContentMargin, autocompleteTokens.textFieldRightContentMargin, textFieldTokens.fontFamily, autocompleteTokens.textFieldFontFamily, textFieldTokens.fontStyle, autocompleteTokens.textFieldFontStyle, textFieldTokens.fontSize, autocompleteTokens.textFieldFontSize, textFieldTokens.fontWeight, autocompleteTokens.textFieldFontWeight, textFieldTokens.letterSpacing, autocompleteTokens.textFieldLetterSpacing, textFieldTokens.lineHeight, autocompleteTokens.textFieldLineHeight, textFieldTokens.labelColor, autocompleteTokens.textFieldLabelColor, textFieldTokens.labelColorReadOnly, autocompleteTokens.textFieldLabelColorReadOnly, textFieldTokens.labelOffset, autocompleteTokens.textFieldLabelOffset, textFieldTokens.labelFontFamily, autocompleteTokens.textFieldLabelFontFamily, textFieldTokens.labelFontStyle, autocompleteTokens.textFieldLabelFontStyle, textFieldTokens.labelFontSize, autocompleteTokens.textFieldLabelFontSize, textFieldTokens.labelFontWeight, autocompleteTokens.textFieldLabelFontWeight, textFieldTokens.labelLetterSpacing, autocompleteTokens.textFieldLabelLetterSpacing, textFieldTokens.labelLineHeight, autocompleteTokens.textFieldLabelLineHeight, textFieldTokens.labelInnerFontFamily, autocompleteTokens.textFieldLabelInnerFontFamily, textFieldTokens.labelInnerFontStyle, autocompleteTokens.textFieldLabelInnerFontStyle, textFieldTokens.labelInnerFontSize, autocompleteTokens.textFieldLabelInnerFontSize, textFieldTokens.labelInnerFontWeight, autocompleteTokens.textFieldLabelInnerFontWeight, textFieldTokens.labelInnerLetterSpacing, autocompleteTokens.textFieldLabelInnerLetterSpacing, textFieldTokens.labelInnerLineHeight, autocompleteTokens.textFieldLabelInnerLineHeight, textFieldTokens.labelInnerPadding, autocompleteTokens.textFieldLabelInnerPadding, textFieldTokens.contentLabelInnerPadding, autocompleteTokens.textFieldContentLabelInnerPadding, textFieldTokens.leftHelperColor, autocompleteTokens.textFieldLeftHelperColor, textFieldTokens.leftHelperColorReadOnly, autocompleteTokens.textFieldLeftHelperColorReadOnly, textFieldTokens.leftHelperOffset, autocompleteTokens.textFieldLeftHelperOffset, textFieldTokens.leftHelperFontFamily, autocompleteTokens.textFieldLeftHelperFontFamily, textFieldTokens.leftHelperFontStyle, autocompleteTokens.textFieldLeftHelperFontStyle, textFieldTokens.leftHelperFontSize, autocompleteTokens.textFieldLeftHelperFontSize, textFieldTokens.leftHelperFontWeight, autocompleteTokens.textFieldLeftHelperFontWeight, textFieldTokens.leftHelperLetterSpacing, autocompleteTokens.textFieldLeftHelperLetterSpacing, textFieldTokens.leftHelperLineHeight, autocompleteTokens.textFieldLeftHelperLineHeight, textFieldTokens.textBeforeColor, autocompleteTokens.textFieldTextBeforeColor, textFieldTokens.textAfterColor, autocompleteTokens.textFieldTextAfterColor, textFieldTokens.textBeforeMargin, autocompleteTokens.textFieldTextBeforeMargin, textFieldTokens.textAfterMargin, autocompleteTokens.textFieldTextAfterMargin, textFieldTokens.disabledOpacity, autocompleteTokens.textFieldDisabledOpacity, textFieldTokens.focusColor, autocompleteTokens.textFieldFocusColor, textFieldTokens.contentSlotColor, autocompleteTokens.textFieldContentSlotColor, autocompleteTokens.textFieldColor);
9
+ })(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");"], textFieldTokens.color, autocompleteTokens.textFieldColor, textFieldTokens.placeholderColorFocus, autocompleteTokens.textFieldPlaceholderColorFocus, textFieldTokens.backgroundColor, autocompleteTokens.textFieldBackgroundColor, textFieldTokens.backgroundColorHover, autocompleteTokens.textFieldBackgroundColorHover, textFieldTokens.backgroundColorFocus, autocompleteTokens.textFieldBackgroundColorFocus, textFieldTokens.borderColor, autocompleteTokens.textFieldBorderColor, textFieldTokens.borderColorHover, autocompleteTokens.textFieldBorderColorHover, textFieldTokens.borderColorFocus, autocompleteTokens.textFieldBorderColorFocus, textFieldTokens.colorReadOnly, autocompleteTokens.textFieldColorReadOnly, textFieldTokens.backgroundColorReadOnly, autocompleteTokens.textFieldBackgroundColorReadOnly, textFieldTokens.borderColorReadOnly, autocompleteTokens.textFieldBorderColorReadOnly, textFieldTokens.placeholderColorReadOnly, autocompleteTokens.textFieldPlaceholderColorReadOnly, textFieldTokens.caretColor, autocompleteTokens.textFieldCaretColor, textFieldTokens.placeholderColor, autocompleteTokens.textFieldPlaceholderColor, textFieldTokens.height, autocompleteTokens.textFieldHeight, textFieldTokens.borderWidth, autocompleteTokens.textFieldBorderWidth, textFieldTokens.borderRadius, autocompleteTokens.textFieldBorderRadius, textFieldTokens.padding, autocompleteTokens.textFieldPadding, textFieldTokens.leftContentMargin, autocompleteTokens.textFieldLeftContentMargin, textFieldTokens.rightContentMargin, autocompleteTokens.textFieldRightContentMargin, textFieldTokens.fontFamily, autocompleteTokens.textFieldFontFamily, textFieldTokens.fontStyle, autocompleteTokens.textFieldFontStyle, textFieldTokens.fontSize, autocompleteTokens.textFieldFontSize, textFieldTokens.fontWeight, autocompleteTokens.textFieldFontWeight, textFieldTokens.letterSpacing, autocompleteTokens.textFieldLetterSpacing, textFieldTokens.lineHeight, autocompleteTokens.textFieldLineHeight, textFieldTokens.labelColor, autocompleteTokens.textFieldLabelColor, textFieldTokens.labelColorReadOnly, autocompleteTokens.textFieldLabelColorReadOnly, textFieldTokens.labelOffset, autocompleteTokens.textFieldLabelOffset, textFieldTokens.labelFontFamily, autocompleteTokens.textFieldLabelFontFamily, textFieldTokens.labelFontStyle, autocompleteTokens.textFieldLabelFontStyle, textFieldTokens.labelFontSize, autocompleteTokens.textFieldLabelFontSize, textFieldTokens.labelFontWeight, autocompleteTokens.textFieldLabelFontWeight, textFieldTokens.labelLetterSpacing, autocompleteTokens.textFieldLabelLetterSpacing, textFieldTokens.labelLineHeight, autocompleteTokens.textFieldLabelLineHeight, textFieldTokens.labelInnerFontFamily, autocompleteTokens.textFieldLabelInnerFontFamily, textFieldTokens.labelInnerFontStyle, autocompleteTokens.textFieldLabelInnerFontStyle, textFieldTokens.labelInnerFontSize, autocompleteTokens.textFieldLabelInnerFontSize, textFieldTokens.labelInnerFontWeight, autocompleteTokens.textFieldLabelInnerFontWeight, textFieldTokens.labelInnerLetterSpacing, autocompleteTokens.textFieldLabelInnerLetterSpacing, textFieldTokens.labelInnerLineHeight, autocompleteTokens.textFieldLabelInnerLineHeight, textFieldTokens.labelInnerPadding, autocompleteTokens.textFieldLabelInnerPadding, textFieldTokens.contentLabelInnerPadding, autocompleteTokens.textFieldContentLabelInnerPadding, textFieldTokens.leftHelperColor, autocompleteTokens.textFieldLeftHelperColor, textFieldTokens.leftHelperColorReadOnly, autocompleteTokens.textFieldLeftHelperColorReadOnly, textFieldTokens.leftHelperOffset, autocompleteTokens.textFieldLeftHelperOffset, textFieldTokens.leftHelperFontFamily, autocompleteTokens.textFieldLeftHelperFontFamily, textFieldTokens.leftHelperFontStyle, autocompleteTokens.textFieldLeftHelperFontStyle, textFieldTokens.leftHelperFontSize, autocompleteTokens.textFieldLeftHelperFontSize, textFieldTokens.leftHelperFontWeight, autocompleteTokens.textFieldLeftHelperFontWeight, textFieldTokens.leftHelperLetterSpacing, autocompleteTokens.textFieldLeftHelperLetterSpacing, textFieldTokens.leftHelperLineHeight, autocompleteTokens.textFieldLeftHelperLineHeight, textFieldTokens.textBeforeColor, autocompleteTokens.textFieldTextBeforeColor, textFieldTokens.textAfterColor, autocompleteTokens.textFieldTextAfterColor, textFieldTokens.textBeforeMargin, autocompleteTokens.textFieldTextBeforeMargin, textFieldTokens.textAfterMargin, autocompleteTokens.textFieldTextAfterMargin, textFieldTokens.disabledOpacity, autocompleteTokens.textFieldDisabledOpacity, textFieldTokens.focusColor, autocompleteTokens.textFieldFocusColor, textFieldTokens.contentSlotColor, autocompleteTokens.textFieldContentSlotColor, textFieldTokens.contentSlotRightColor, autocompleteTokens.textFieldContentSlotRightColor);
@@ -42,9 +42,9 @@ export var StyledContentRight = /*#__PURE__*/styled.div.withConfig({
42
42
  export var base = /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n position: relative;\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n justify-content: center;\n\n appearance: none;\n border: none;\n cursor: pointer;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n a& {\n text-decoration: none;\n }\n\n /* NOTE:\n --plasma_computed-btn-br-radius is defined in Button.tsx\n */\n --plasma_private-btn-br: var(--plasma_computed-btn-br);\n border-radius: var(--plasma_private-btn-br);\n\n &&.", " {\n width: var(", ");\n padding: 0;\n }\n"])), /*#__PURE__*/String(classes.buttonSquare), tokens.buttonHeight);
43
43
 
44
44
  // INFO: Для возможности переиспользования стилей в других компонентах
45
- export var baseContent = /*#__PURE__*/"\n position: relative;\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n justify-content: center;\n\n appearance: none;\n border: none;\n cursor: pointer;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n a& {\n text-decoration: none;\n }\n\n /* NOTE:\n --plasma_computed-btn-br-radius is defined in Button.tsx\n */\n --plasma_private-btn-br: var(--plasma_computed-btn-br);\n border-radius: var(--plasma_private-btn-br);\n\n &&.".concat(String(classes.buttonSquare), " {\n width: var(").concat(tokens.buttonHeight, ");\n padding: 0;\n }\n\n color: var(").concat(tokens.buttonColor, ");\n background: var(").concat(tokens.buttonBackgroundColor, ");\n\n :hover {\n color: var(").concat(tokens.buttonColorHover, ", var(").concat(tokens.buttonColor, "));\n background: var(").concat(tokens.buttonBackgroundColorHover, ", var(").concat(tokens.buttonBackgroundColor, "));\n\n scale: var(").concat(tokens.buttonScaleHover, ");\n }\n\n :active {\n color: var(").concat(tokens.buttonColorActive, ", var(").concat(tokens.buttonColor, "));\n background: var(").concat(tokens.buttonBackgroundColorActive, ", var(").concat(tokens.buttonBackgroundColor, "));\n\n scale: var(").concat(tokens.buttonScaleActive, ");\n }\n\n height: var(").concat(tokens.buttonHeight, ");\n width: var(").concat(tokens.buttonWidth, ");\n\n /* TODO: #714 move these calc's to plasma-mapping | ds-generator and add Math.round() */\n padding: 0 var(").concat(tokens.buttonPadding, ", calc(var(").concat(tokens.buttonHeight, ") * 1.618 / 4));\n\n font-family: var(").concat(tokens.buttonFontFamily, ");\n font-size: var(").concat(tokens.buttonFontSize, ");\n font-style: var(").concat(tokens.buttonFontStyle, ");\n font-weight: var(").concat(tokens.buttonFontWeight, ");\n letter-spacing: var(").concat(tokens.buttonLetterSpacing, ");\n line-height: var(").concat(tokens.buttonLineHeight, ");\n\n /* TODO: #710 make it token API ? */\n --plasma_private-btn-outline-size: var(--plasma-button-outline-size, 0.0625rem);\n\n :focus {\n outline: none;\n }\n\n ").concat(addFocus({
45
+ export var baseContent = /*#__PURE__*/"\n position: relative;\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n justify-content: center;\n\n appearance: none;\n border: none;\n cursor: pointer;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n a& {\n text-decoration: none;\n }\n\n /* NOTE:\n --plasma_computed-btn-br-radius is defined in Button.tsx\n */\n --plasma_private-btn-br: var(--plasma_computed-btn-br);\n border-radius: var(--plasma_private-btn-br);\n\n &&.".concat(String(classes.buttonSquare), " {\n width: var(").concat(tokens.buttonHeight, ");\n padding: 0;\n }\n\n color: var(").concat(tokens.buttonColor, ");\n background-color: var(").concat(tokens.buttonBackgroundColor, ");\n\n :hover {\n color: var(").concat(tokens.buttonColorHover, ", var(").concat(tokens.buttonColor, "));\n background-color: var(").concat(tokens.buttonBackgroundColorHover, ", var(").concat(tokens.buttonBackgroundColor, "));\n\n scale: var(").concat(tokens.buttonScaleHover, ");\n }\n\n :active {\n color: var(").concat(tokens.buttonColorActive, ", var(").concat(tokens.buttonColor, "));\n background-color: var(").concat(tokens.buttonBackgroundColorActive, ", var(").concat(tokens.buttonBackgroundColor, "));\n\n scale: var(").concat(tokens.buttonScaleActive, ");\n }\n\n height: var(").concat(tokens.buttonHeight, ");\n width: var(").concat(tokens.buttonWidth, ");\n\n /* TODO: #714 move these calc's to plasma-mapping | ds-generator and add Math.round() */\n padding: 0 var(").concat(tokens.buttonPadding, ", calc(var(").concat(tokens.buttonHeight, ") * 1.618 / 4));\n\n font-family: var(").concat(tokens.buttonFontFamily, ");\n font-size: var(").concat(tokens.buttonFontSize, ");\n font-style: var(").concat(tokens.buttonFontStyle, ");\n font-weight: var(").concat(tokens.buttonFontWeight, ");\n letter-spacing: var(").concat(tokens.buttonLetterSpacing, ");\n line-height: var(").concat(tokens.buttonLineHeight, ");\n\n /* TODO: #710 make it token API ? */\n --plasma_private-btn-outline-size: var(--plasma-button-outline-size, 0.0625rem);\n\n :focus {\n outline: none;\n }\n\n ").concat(addFocus({
46
46
  outlineOffset: '-0.125rem',
47
47
  outlineSize: 'var(--plasma_private-btn-outline-size)',
48
48
  outlineRadius: 'calc(0.125rem + var(--plasma_private-btn-br))',
49
49
  outlineColor: "var(".concat(tokens.buttonFocusColor, ")")
50
- }), "\n\n &[disabled] {\n opacity: var(").concat(tokens.buttonDisabledOpacity, ");\n cursor: not-allowed;\n\n :hover,\n :active {\n scale: none;\n\n color: var(").concat(tokens.buttonColor, ");\n background: var(").concat(tokens.buttonBackgroundColor, ");\n }\n }\n\n &.").concat(classes.fixedStretching, " {\n width: var(").concat(tokens.buttonWidth, ");\n }\n &.").concat(classes.filledStretching, " {\n width: 100%;\n }\n &.").concat(classes.autoStretching, " {\n width: fit-content;\n }\n");
50
+ }), "\n\n &[disabled] {\n opacity: var(").concat(tokens.buttonDisabledOpacity, ");\n cursor: not-allowed;\n\n :hover,\n :active {\n scale: none;\n\n color: var(").concat(tokens.buttonColor, ");\n background-color: var(").concat(tokens.buttonBackgroundColor, ");\n }\n }\n\n &.").concat(classes.fixedStretching, " {\n width: var(").concat(tokens.buttonWidth, ");\n }\n &.").concat(classes.filledStretching, " {\n width: 100%;\n }\n &.").concat(classes.autoStretching, " {\n width: fit-content;\n }\n");
@@ -7,4 +7,4 @@ import { tokens } from '../../Button.tokens';
7
7
  /* because some projects don't need disabled */
8
8
  /* so we don't want to keep `:not(:disabled)` inside _view */
9
9
 
10
- export var base = /*#__PURE__*/css(["&[disabled]{opacity:var(", ");cursor:not-allowed;:hover,:active{scale:none;color:var(", ");background:var(", ");}}"], tokens.buttonDisabledOpacity, tokens.buttonColor, tokens.buttonBackgroundColor);
10
+ export var base = /*#__PURE__*/css(["&[disabled]{opacity:var(", ");cursor:not-allowed;:hover,:active{scale:none;color:var(", ");background-color:var(", ");}}"], tokens.buttonDisabledOpacity, tokens.buttonColor, tokens.buttonBackgroundColor);
@@ -1,6 +1,6 @@
1
1
  import { css } from 'styled-components';
2
2
  import { tokens, classes } from '../../Button.tokens';
3
- export var base = /*#__PURE__*/css(["color:var(", ");background:var(", ");&.", "{background:var(", ");}:hover{color:var(", ",var(", "));background:var(", ",var(", "));scale:var(", ");}:active{color:var(", ",var(", "));background:var(", ",var(", "));scale:var(", ");}"], tokens.buttonColor, tokens.buttonBackgroundColor, classes.buttonLoading, tokens.buttonLoadingBackgroundColor, tokens.buttonColorHover, tokens.buttonColor, tokens.buttonBackgroundColorHover, tokens.buttonBackgroundColor, tokens.buttonScaleHover, tokens.buttonColorActive, tokens.buttonColor, tokens.buttonBackgroundColorActive, tokens.buttonBackgroundColor, tokens.buttonScaleActive);
3
+ export var base = /*#__PURE__*/css(["color:var(", ");background-color:var(", ");&.", "{background-color:var(", ");}:hover{color:var(", ",var(", "));background-color:var(", ",var(", "));scale:var(", ");}:active{color:var(", ",var(", "));background-color:var(", ",var(", "));scale:var(", ");}"], tokens.buttonColor, tokens.buttonBackgroundColor, classes.buttonLoading, tokens.buttonLoadingBackgroundColor, tokens.buttonColorHover, tokens.buttonColor, tokens.buttonBackgroundColorHover, tokens.buttonBackgroundColor, tokens.buttonScaleHover, tokens.buttonColorActive, tokens.buttonColor, tokens.buttonBackgroundColorActive, tokens.buttonBackgroundColor, tokens.buttonScaleActive);
4
4
 
5
5
  // TODO: #715 background-image: gradients
6
6
 
@@ -29,6 +29,8 @@ export var innerTokens = {
29
29
  export var tokens = {
30
30
  calendarWidth: '--plasma-calendar-width',
31
31
  calendarHeight: '--plasma-calendar-height',
32
+ calendarBorderWidth: '--plasma-calendar-border-width',
33
+ calendarBorderColor: '--plasma-calendar-border-color',
32
34
  /* Токены размера сетки лет */
33
35
  calendarYearsPadding: '--plasma-calendar-years-padding',
34
36
  calendarYearItemBorderRadius: '--plasma-calendar-year-item-border-radius',
@@ -91,6 +93,7 @@ export var tokens = {
91
93
  calendarHeaderFontLineHeight: '--plasma-calendar-header-line-height',
92
94
  calendarHeaderFontWeight: '--plasma-calendar-header-font-weight',
93
95
  calendarHeaderFontWeightBold: '--plasma-calendar-header-font-weight-bold',
96
+ calendarHeaderArrowColor: '--plasma-calendar-header-arrow-color',
94
97
  /* Токены стрелок навигации календаря */
95
98
  iconButtonColor: '--plasma-calendar-icon-button-color',
96
99
  iconButtonBackgroundColor: '--plasma-calendar-icon-button-background',
@@ -108,6 +111,7 @@ export var tokens = {
108
111
  calendarSelectedItemColor: '--plasma-calendar-selected-item-color',
109
112
  calendarSelectableItemBackgroundHover: '--plasma-calendar-selectable-item-bg-hover',
110
113
  calendarCurrentItemBorderColor: '--plasma-calendar-current-item-border-color',
114
+ calendarCurrentItemBorderWidth: '--plasma-calendar-current-item-border-width',
111
115
  calendarCurrentItemBackgroundHover: '--plasma-calendar-current-item-bg-hover',
112
116
  calendarCurrentItemColorHover: '--plasma-calendar-current-item-color-hover',
113
117
  calendarCurrentItemChildBackgroundHover: '--plasma-calendar-current-item-child-bg-hover',
@@ -3,7 +3,7 @@ function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(
3
3
  import { css } from 'styled-components';
4
4
  import styled from 'styled-components';
5
5
  import { tokens } from '../Calendar.tokens';
6
- export var StyledCalendar = /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n position: relative;\n user-select: none;\n z-index: 1;\n\n width: var(", ");\n height: var(", ");\n"])), tokens.calendarWidth, tokens.calendarHeight);
6
+ export var StyledCalendar = /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n position: relative;\n user-select: none;\n z-index: 1;\n\n width: var(", ");\n height: var(", ");\n border: var(", ") solid var(", ");\n box-sizing: border-box;\n"])), tokens.calendarWidth, tokens.calendarHeight, tokens.calendarBorderWidth, tokens.calendarBorderColor);
7
7
  export var IsOutOfRange = /*#__PURE__*/styled.div.withConfig({
8
8
  componentId: "plasma-new-hope__sc-1xkgu4c-0"
9
9
  })(["position:absolute;padding:0;margin:0;height:0;width:0;border:0;overflow:hidden;clip:rect(0 0 0 0);"]);
@@ -6,6 +6,7 @@ export var addSelected = function addSelected(args) {
6
6
  selectedBackground = args.selectedBackground,
7
7
  selectedColor = args.selectedColor,
8
8
  selectableBackgroundHover = args.selectableBackgroundHover,
9
- currentBorderColor = args.currentBorderColor;
10
- return "\n outline: none;\n cursor: pointer;\n\n &:hover {\n background-color: ".concat(selectableBackgroundHover, ";\n };\n \n\n &.").concat(classes.hoveredItem, ", &.").concat(classes.hoveredItem, ":hover {\n background-color: ").concat(selectedBackground, ";\n color: ").concat(selectedColor, ";\n cursor: pointer;\n font-weight: ").concat(selectedFontWeight, ";\n }\n\n &.").concat(classes.selectedItem, ":not(.").concat(classes.currentItem, ") {\n border: 0;\n background-color: ").concat(selectedBackground, ";\n color: ").concat(selectedColor, ";\n cursor: default;\n font-weight: ").concat(selectedFontWeight, ";\n };\n\n &.").concat(classes.currentItem, " {\n border: 0.063rem solid ").concat(currentBorderColor, ";\n\n &.").concat(classes.selectedItem, " {\n background-color: initial;\n color: ").concat(selectedColor, ";\n font-weight: ").concat(selectedFontWeight, ";\n\n & > div:first-of-type {\n background-color: ").concat(selectedBackground, ";\n min-width: ").concat(minWidth, ";\n min-height: ").concat(minHeight, ";\n }\n }\n };\n ");
9
+ currentBorderColor = args.currentBorderColor,
10
+ currentBorderWidth = args.currentBorderWidth;
11
+ return "\n outline: none;\n cursor: pointer;\n\n &:hover {\n background-color: ".concat(selectableBackgroundHover, ";\n };\n \n\n &.").concat(classes.hoveredItem, ", &.").concat(classes.hoveredItem, ":hover {\n background-color: ").concat(selectedBackground, ";\n color: ").concat(selectedColor, ";\n cursor: pointer;\n font-weight: ").concat(selectedFontWeight, ";\n }\n\n &.").concat(classes.selectedItem, ":not(.").concat(classes.currentItem, ") {\n border: 0;\n background-color: ").concat(selectedBackground, ";\n color: ").concat(selectedColor, ";\n cursor: default;\n font-weight: ").concat(selectedFontWeight, ";\n };\n\n &.").concat(classes.currentItem, " {\n border: ").concat(currentBorderWidth, " solid ").concat(currentBorderColor, ";\n\n &.").concat(classes.selectedItem, " {\n background-color: initial;\n color: ").concat(selectedColor, ";\n font-weight: ").concat(selectedFontWeight, ";\n\n & > div:first-of-type {\n background-color: ").concat(selectedBackground, ";\n min-width: ").concat(minWidth, ";\n min-height: ").concat(minHeight, ";\n }\n }\n };\n ");
11
12
  };
@@ -1,10 +1,10 @@
1
1
  import React, { useCallback, useMemo } from 'react';
2
- import { IconDisclosureDownFill, IconDisclosureLeft, IconDisclosureRight } from '../../../_Icon';
2
+ import { IconDisclosureLeft, IconDisclosureRight } from '../../../_Icon';
3
3
  import { CalendarState } from '../../store/types';
4
4
  import { getCalendarType, MONTH_NAMES, YEAR_RENDER_COUNT } from '../../utils';
5
5
  import { classes } from '../../Calendar.tokens';
6
6
  import { sizeMap } from '../../store/reducer';
7
- import { StyledArrow, StyledArrows, StyledCalendarHeader, StyledDoubleHeaderWrapper, StyledHeader, StyledHeaderDate, StyledHeaderDouble, StyledNavigation } from './CalendarHeader.styles';
7
+ import { StyledArrow, StyledArrows, StyledCalendarHeader, StyledDoubleHeaderWrapper, StyledHeader, StyledHeaderDate, StyledHeaderDouble, StyledNavigation, StyledHeaderArrow } from './CalendarHeader.styles';
8
8
 
9
9
  /**
10
10
  * Компонент шапки календаря.
@@ -36,20 +36,20 @@ export var CalendarHeader = function CalendarHeader(_ref) {
36
36
  return '';
37
37
  }
38
38
  if (type === CalendarState.Days) {
39
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(StyledHeaderDate, null, MONTH_NAMES[locale][date.monthIndex]), /*#__PURE__*/React.createElement(StyledHeaderDate, null, date.year, /*#__PURE__*/React.createElement(IconDisclosureDownFill, {
39
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(StyledHeaderDate, null, MONTH_NAMES[locale][date.monthIndex]), /*#__PURE__*/React.createElement(StyledHeaderDate, null, date.year, /*#__PURE__*/React.createElement(StyledHeaderArrow, {
40
40
  color: "inherit",
41
41
  size: size === 'xs' ? 'xs' : 's'
42
42
  })));
43
43
  }
44
44
  if (type === CalendarState.Months || type === CalendarState.Quarters) {
45
- return /*#__PURE__*/React.createElement(StyledHeaderDate, null, date.year, /*#__PURE__*/React.createElement(IconDisclosureDownFill, {
45
+ return /*#__PURE__*/React.createElement(StyledHeaderDate, null, date.year, /*#__PURE__*/React.createElement(StyledHeaderArrow, {
46
46
  color: "inherit",
47
47
  size: size === 'xs' ? 'xs' : 's'
48
48
  }));
49
49
  }
50
50
  if (type === CalendarState.Years) {
51
51
  var yearValue = secondPart ? startYear + 12 : startYear;
52
- return /*#__PURE__*/React.createElement(StyledHeaderDate, null, yearValue, "\u2014", yearValue + YEAR_RENDER_COUNT - 1, /*#__PURE__*/React.createElement(IconDisclosureDownFill, {
52
+ return /*#__PURE__*/React.createElement(StyledHeaderDate, null, yearValue, "\u2014", yearValue + YEAR_RENDER_COUNT - 1, /*#__PURE__*/React.createElement(StyledHeaderArrow, {
53
53
  color: "inherit",
54
54
  size: size === 'xs' ? 'xs' : 's'
55
55
  }));
@@ -4,6 +4,7 @@ import { component, mergeConfig } from '../../../../engines';
4
4
  import { iconButtonConfig, iconButtonTokens } from '../../../IconButton';
5
5
  import { flexCenter } from '../../mixins';
6
6
  import { addFocus } from '../../../../mixins';
7
+ import { IconDisclosureDownFill } from '../../../_Icon';
7
8
  var mergedIconButtonConfig = /*#__PURE__*/mergeConfig(iconButtonConfig);
8
9
  var IconButton = /*#__PURE__*/component(mergedIconButtonConfig);
9
10
  export var StyledCalendarHeader = /*#__PURE__*/styled.div.withConfig({
@@ -41,4 +42,7 @@ export var StyledHeaderDouble = /*#__PURE__*/styled.button.withConfig({
41
42
  outlineOffset: '-0.125rem',
42
43
  outlineColor: /*#__PURE__*/"var(".concat(tokens.calendarOutlineFocusColor, ")"),
43
44
  outlineRadius: '0.563rem'
44
- }));
45
+ }));
46
+ export var StyledHeaderArrow = /*#__PURE__*/styled(IconDisclosureDownFill).withConfig({
47
+ componentId: "plasma-new-hope__sc-186pzg3-8"
48
+ })(["color:var(", ");"], tokens.calendarHeaderArrowColor);
@@ -36,6 +36,7 @@ export var StyledItemRoot = /*#__PURE__*/styled.div.withConfig({
36
36
  selectedColor: /*#__PURE__*/"var(".concat(tokens.calendarSelectedItemColor, ")"),
37
37
  selectableBackgroundHover: /*#__PURE__*/"var(".concat(tokens.calendarSelectableItemBackgroundHover, ")"),
38
38
  currentBorderColor: /*#__PURE__*/"var(".concat(tokens.calendarCurrentItemBorderColor, ")"),
39
+ currentBorderWidth: /*#__PURE__*/"var(".concat(tokens.calendarCurrentItemBorderWidth, ")"),
39
40
  activeBackground: /*#__PURE__*/"var(".concat(tokens.calendarActiveItemBackground, ")"),
40
41
  activeColor: /*#__PURE__*/"var(".concat(tokens.calendarActiveItemColor, ")")
41
42
  }), /*#__PURE__*/addFocus({
@@ -23,12 +23,12 @@ export var Ul = /*#__PURE__*/styled.ul.withConfig({
23
23
  }, tokens.padding, classes.emptyStateWrapper);
24
24
  export var IconArrowWrapper = /*#__PURE__*/styled.div.withConfig({
25
25
  componentId: "plasma-new-hope__sc-2kddkg-1"
26
- })(["line-height:0;color:var(", ");cursor:", ";.", "{transform:rotate(-180deg);}&:hover,&:active{color:", ";}"], constants.disclosureIconColor, function (_ref5) {
26
+ })(["line-height:0;color:var(", ");cursor:", ";.", "{transform:rotate(-180deg);}&:hover,&:active{color:", ";}"], tokens.disclosureIconColor, function (_ref5) {
27
27
  var disabled = _ref5.disabled;
28
28
  return disabled ? 'inherit' : 'pointer';
29
29
  }, classes.arrowInverse, function (_ref6) {
30
30
  var disabled = _ref6.disabled;
31
- return disabled ? "var(".concat(constants.disclosureIconColor, ")") : "var(".concat(constants.disclosureIconColorHover, ")");
31
+ return disabled ? "var(".concat(tokens.disclosureIconColor, ")") : "var(".concat(tokens.disclosureIconColorHover, ")");
32
32
  });
33
33
  export var StyledArrow = /*#__PURE__*/styled(IconDisclosureDownCentered).withConfig({
34
34
  componentId: "plasma-new-hope__sc-2kddkg-2"
@@ -30,6 +30,7 @@ export var tokens = {
30
30
  itemIconSize: '--plasma-combobox-item-icon-size',
31
31
  itemIconSizeTight: '--plasma-combobox-item-icon-size-tight',
32
32
  itemIconMargin: '--plasma-combobox-item-icon-margin',
33
+ itemBackgroundHover: '--plasma-combobox-item-background-hover',
33
34
  cellPadding: '--plasma-combobox-cell-padding',
34
35
  cellPaddingLeftContent: '--plasma-combobox-cell-padding-left-content',
35
36
  cellPaddingContent: '--plasma-combobox-cell-padding-content',
@@ -145,17 +146,16 @@ export var tokens = {
145
146
  helperTextColor: '--plasma-combobox-helper-text-color',
146
147
  helperTextOffset: '--plasma-combobox-helper-text-offset',
147
148
  spinnerSize: '--plasma-combobox-spinner-size',
148
- spinnerSizeTight: '--plasma-combobox-spinner-size-tight'
149
+ spinnerSizeTight: '--plasma-combobox-spinner-size-tight',
150
+ disclosureIconColor: '--plasma-combobox-disclosure-icon-color',
151
+ disclosureIconColorHover: '--plasma-combobox-disclosure-icon-color-hover'
149
152
  };
150
153
  export var constants = {
151
154
  focusColor: '--surface-accent',
152
155
  focusSize: '0.0625rem',
153
156
  background: '--surface-solid-card',
154
157
  boxShadow: '0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04)',
155
- disclosureIconColor: '--text-secondary',
156
- disclosureIconColorHover: '--text-secondary-hover',
157
158
  itemBackground: '--plasma-colors-transparent',
158
- itemBackgroundHover: '--surface-transparent-secondary',
159
159
  textfieldTargetColor: '--text-primary',
160
160
  textfieldOuterLabelColor: '--text-primary',
161
161
  textfieldInnerLabelColor: '--text-secondary',
@@ -31,7 +31,7 @@ export var StyledContentRight = /*#__PURE__*/styled.div.withConfig({
31
31
  })(["margin-left:auto;display:inline-flex;"]);
32
32
  export var DisclosureIconWrapper = /*#__PURE__*/styled.div.withConfig({
33
33
  componentId: "plasma-new-hope__sc-1n1xg1s-6"
34
- })(["line-height:0;color:var(", ");&:hover{color:var(", ");}"], constants.disclosureIconColor, constants.disclosureIconColorHover);
34
+ })(["line-height:0;color:var(", ");&:hover{color:var(", ");}"], tokens.disclosureIconColor, tokens.disclosureIconColorHover);
35
35
  export var IconWrapper = /*#__PURE__*/styled.div.withConfig({
36
36
  componentId: "plasma-new-hope__sc-1n1xg1s-7"
37
37
  })(["display:flex;align-items:center;justify-content:center;flex:none;width:", ";height:", ";margin:var(", ");line-height:0;color:var(", ");"], function (_ref) {
@@ -49,7 +49,7 @@ export var Wrapper = /*#__PURE__*/styled.li.withConfig({
49
49
  })(["display:flex;align-items:center;min-height:var(", ");margin:0;box-sizing:content-box;padding:", ";font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");background-color:var(", ");color:var(--text-primary);border-radius:var(", ");user-select:none;border-right:2px solid transparent;border-left:2px solid transparent;background-clip:padding-box;&:hover:not(.", "){cursor:pointer;background-color:var(", ");}&.", "{background-color:var(", ");}&.", "{opacity:", ";cursor:not-allowed;}:focus{outline:none;}", ";"], tokens.itemHeight, function (_ref3) {
50
50
  var variant = _ref3.variant;
51
51
  return "var(".concat(variant === 'tight' ? tokens.itemPaddingTight : tokens.itemPadding, ")");
52
- }, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.fontLetterSpacing, tokens.fontLineHeight, constants.itemBackground, tokens.borderRadius, classes.dropdownItemIsDisabled, constants.itemBackgroundHover, classes.dropdownItemIsActive, constants.itemBackgroundHover, classes.dropdownItemIsDisabled, constants.opacity, /*#__PURE__*/addFocus({
52
+ }, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.fontLetterSpacing, tokens.fontLineHeight, constants.itemBackground, tokens.borderRadius, classes.dropdownItemIsDisabled, tokens.itemBackgroundHover, classes.dropdownItemIsActive, tokens.itemBackgroundHover, classes.dropdownItemIsDisabled, constants.opacity, /*#__PURE__*/addFocus({
53
53
  outlineSize: '0.0625rem',
54
54
  outlineOffset: '0',
55
55
  outlineColor: /*#__PURE__*/"var(".concat(constants.focusColor, ")"),
@@ -109,12 +109,17 @@ export var tokens = {
109
109
  textFieldTextBeforeMargin: '--plasma-date-picker-textfield__before-text-margin',
110
110
  textFieldTextAfterMargin: '--plasma-date-picker-textfield__after-text-margin',
111
111
  textFieldContentSlotColor: '--plasma-date-picker-textfield__content-color',
112
+ textFieldContentRightSlotColor: '--plasma-date-picker-textfield__content-right-color',
113
+ textFieldContentRightSlotColorHover: '--plasma-date-picker-textfield__content-right-color-hover',
112
114
  /** Токены календаря */
115
+ calendarMarginTop: '--plasma-date-picker-calendar-margin-top',
113
116
  calendarPaddingTop: '--plasma-date-picker-calendar-padding-top',
114
117
  calendarShadow: '--plasma-date-picker-calendar-shadow',
115
118
  calendarBorderRadius: '--plasma-date-picker-calendar-border-radius',
116
119
  calendarWidth: '--plasma-date-picker-calendar-width',
117
120
  calendarHeight: '--plasma-date-picker-calendar-height',
121
+ calendarBorderWidth: '--plasma-date-picker-calendar-border-width',
122
+ calendarBorderColor: '--plasma-date-picker-calendar-border-color',
118
123
  calendarYearsPadding: '--plasma-date-picker-calendar__years-padding',
119
124
  calendarYearItemBorderRadius: '--plasma-date-picker-calendar__year-item-border-radius',
120
125
  calendarYearItemWidth: '--plasma-date-picker-calendar__year-item-width',
@@ -172,6 +177,7 @@ export var tokens = {
172
177
  calendarHeaderFontLineHeight: '--plasma-date-picker-calendar__header-line-height',
173
178
  calendarHeaderFontWeight: '--plasma-date-picker-calendar__header-font-weight',
174
179
  calendarHeaderFontWeightBold: '--plasma-date-picker-calendar__header-font-weight-bold',
180
+ calendarHeaderArrowColor: '--plasma-date-picker-calendar__header-arrow-color',
175
181
  iconButtonColor: '--plasma-date-picker-icon-button__color',
176
182
  iconButtonBackgroundColor: '--plasma-date-picker-icon-button__background-color',
177
183
  iconButtonColorHover: '--plasma-date-picker-icon-button__color-hover',
@@ -188,6 +194,7 @@ export var tokens = {
188
194
  calendarSelectedItemColor: '--plasma-date-picker-calendar__selected-item-color',
189
195
  calendarSelectableItemBackgroundHover: '--plasma-date-picker-calendar__selectable-item-background-hover',
190
196
  calendarCurrentItemBorderColor: '--plasma-date-picker-calendar__current-item-border-color',
197
+ calendarCurrentItemBorderWidth: '--plasma-date-picker-calendar__current-item-border-width',
191
198
  calendarCurrentItemBackgroundHover: '--plasma-date-picker-calendar__current-item-background-hover',
192
199
  calendarCurrentItemColorHover: '--plasma-date-picker-calendar__current-item-color-hover',
193
200
  calendarCurrentItemChildBackgroundHover: '--plasma-date-picker-calendar__current-item-child-background-hover',
@@ -5,7 +5,7 @@ import { applyHidden } from '../../mixins';
5
5
  import { tokens } from './DatePicker.tokens';
6
6
  var mergedCalendarConfig = /*#__PURE__*/mergeConfig(calendarBaseConfig);
7
7
  var Calendar = /*#__PURE__*/component(mergedCalendarConfig);
8
- export var baseCalendarTokens = /*#__PURE__*/"\n padding-top: var(".concat(tokens.calendarPaddingTop, ");\n box-shadow: var(").concat(tokens.calendarShadow, ");\n border-radius: var(").concat(tokens.calendarBorderRadius, ");\n\n ").concat(calendarBaseTokens.calendarBackgroundColor, ": var(").concat(tokens.calendarBackgroundColor, ");\n ").concat(calendarBaseTokens.calendarSelectedItemBackground, ": var(").concat(tokens.calendarSelectedItemBackground, ");\n ").concat(calendarBaseTokens.calendarSelectedItemColor, ": var(").concat(tokens.calendarSelectedItemColor, ");\n ").concat(calendarBaseTokens.calendarSelectableItemBackgroundHover, ": var(").concat(tokens.calendarSelectableItemBackgroundHover, ");\n ").concat(calendarBaseTokens.calendarCurrentItemBorderColor, ": var(").concat(tokens.calendarCurrentItemBorderColor, ");\n ").concat(calendarBaseTokens.calendarCurrentItemBackgroundHover, ": var(").concat(tokens.calendarCurrentItemBackgroundHover, ");\n ").concat(calendarBaseTokens.calendarCurrentItemColorHover, ": var(").concat(tokens.calendarCurrentItemColorHover, ");\n ").concat(calendarBaseTokens.calendarCurrentItemChildBackgroundHover, ": var(").concat(tokens.calendarCurrentItemChildBackgroundHover, ");\n ").concat(calendarBaseTokens.calendarActiveItemBackground, ": var(").concat(tokens.calendarActiveItemBackground, ");\n ").concat(calendarBaseTokens.calendarActiveItemColor, ": var(").concat(tokens.calendarActiveItemColor, ");\n ").concat(calendarBaseTokens.calendarHoveredItemBackground, ": var(").concat(tokens.calendarHoveredItemBackground, ");\n ").concat(calendarBaseTokens.calendarHoveredItemColor, ": var(").concat(tokens.calendarHoveredItemColor, ");\n ").concat(calendarBaseTokens.calendarRangeBackground, ": var(").concat(tokens.calendarRangeBackground, ");\n ").concat(calendarBaseTokens.calendarOutlineFocusColor, ": var(").concat(tokens.calendarOutlineFocusColor, ");\n ").concat(calendarBaseTokens.calendarContentPrimaryColor, ": var(").concat(tokens.calendarContentPrimaryColor, ");\n ").concat(calendarBaseTokens.calendarContentSecondaryColor, ": var(").concat(tokens.calendarContentSecondaryColor, ");\n\n ").concat(calendarBaseTokens.iconButtonColor, ": var(").concat(tokens.iconButtonColor, ");\n ").concat(calendarBaseTokens.iconButtonBackgroundColor, ": var(").concat(tokens.iconButtonBackgroundColor, ");\n ").concat(calendarBaseTokens.iconButtonColorHover, ": var(").concat(tokens.iconButtonColorHover, ");\n ").concat(calendarBaseTokens.iconButtonBackgroundColorHover, ": var(").concat(tokens.iconButtonBackgroundColorHover, ");\n ").concat(calendarBaseTokens.iconButtonColorActive, ": var(").concat(tokens.iconButtonColorActive, ");\n ").concat(calendarBaseTokens.iconButtonBackgroundColorActive, ": var(").concat(tokens.iconButtonBackgroundColorActive, ");\n\n ").concat(calendarBaseTokens.calendarWidth, ": var(").concat(tokens.calendarWidth, ");\n ").concat(calendarBaseTokens.calendarHeight, ": var(").concat(tokens.calendarHeight, ");\n\n ").concat(calendarBaseTokens.calendarYearsPadding, ": var(").concat(tokens.calendarYearsPadding, ");\n ").concat(calendarBaseTokens.calendarYearItemBorderRadius, ": var(").concat(tokens.calendarYearItemBorderRadius, ");\n ").concat(calendarBaseTokens.calendarYearItemWidth, ": var(").concat(tokens.calendarYearItemWidth, ");\n ").concat(calendarBaseTokens.calendarYearItemHeight, ": var(").concat(tokens.calendarYearItemHeight, ");\n ").concat(calendarBaseTokens.calendarYearFontFamily, ": var(").concat(tokens.calendarYearFontFamily, ");\n ").concat(calendarBaseTokens.calendarYearFontSize, ": var(").concat(tokens.calendarYearFontSize, ");\n ").concat(calendarBaseTokens.calendarYearFontStyle, ": var(").concat(tokens.calendarYearFontStyle, ");\n ").concat(calendarBaseTokens.calendarYearFontLetterSpacing, ": var(").concat(tokens.calendarYearFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarYearFontLineHeight, ": var(").concat(tokens.calendarYearFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarYearFontWeight, ": var(").concat(tokens.calendarYearFontWeight, ");\n ").concat(calendarBaseTokens.calendarYearSelectedFontWeight, ": var(").concat(tokens.calendarYearSelectedFontWeight, ");\n\n ").concat(calendarBaseTokens.calendarMonthsPadding, ": var(").concat(tokens.calendarMonthsPadding, ");\n ").concat(calendarBaseTokens.calendarMonthItemBorderRadius, ": var(").concat(tokens.calendarMonthItemBorderRadius, ");\n ").concat(calendarBaseTokens.calendarMonthItemWidth, ": var(").concat(tokens.calendarMonthItemWidth, ");\n ").concat(calendarBaseTokens.calendarMonthItemHeight, ": var(").concat(tokens.calendarMonthItemHeight, ");\n ").concat(calendarBaseTokens.calendarMonthFontFamily, ": var(").concat(tokens.calendarMonthFontFamily, ");\n ").concat(calendarBaseTokens.calendarMonthFontSize, ": var(").concat(tokens.calendarMonthFontSize, ");\n ").concat(calendarBaseTokens.calendarMonthFontStyle, ": var(").concat(tokens.calendarMonthFontStyle, ");\n ").concat(calendarBaseTokens.calendarMonthFontLetterSpacing, ": var(").concat(tokens.calendarMonthFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarMonthFontLineHeight, ": var(").concat(tokens.calendarMonthFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarMonthFontWeight, ": var(").concat(tokens.calendarMonthFontWeight, ");\n ").concat(calendarBaseTokens.calendarMonthSelectedFontWeight, ": var(").concat(tokens.calendarMonthSelectedFontWeight, ");\n\n ").concat(calendarBaseTokens.calendarQuartersPadding, ": var(").concat(tokens.calendarQuartersPadding, ");\n ").concat(calendarBaseTokens.calendarQuarterItemBorderRadius, ": var(").concat(tokens.calendarQuarterItemBorderRadius, ");\n ").concat(calendarBaseTokens.calendarQuarterItemWidth, ": var(").concat(tokens.calendarQuarterItemWidth, ");\n ").concat(calendarBaseTokens.calendarQuarterItemHeight, ": var(").concat(tokens.calendarQuarterItemHeight, ");\n ").concat(calendarBaseTokens.calendarQuarterFontFamily, ": var(").concat(tokens.calendarQuarterFontFamily, ");\n ").concat(calendarBaseTokens.calendarQuarterFontSize, ": var(").concat(tokens.calendarQuarterFontSize, ");\n ").concat(calendarBaseTokens.calendarQuarterFontStyle, ": var(").concat(tokens.calendarQuarterFontStyle, ");\n ").concat(calendarBaseTokens.calendarQuarterFontLetterSpacing, ": var(").concat(tokens.calendarQuarterFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarQuarterFontLineHeight, ": var(").concat(tokens.calendarQuarterFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarQuarterFontWeight, ": var(").concat(tokens.calendarQuarterFontWeight, ");\n ").concat(calendarBaseTokens.calendarQuarterSelectedFontWeight, ": var(").concat(tokens.calendarQuarterSelectedFontWeight, ");\n \n ").concat(calendarBaseTokens.calendarDaysPadding, ": var(").concat(tokens.calendarDaysPadding, ");\n ").concat(calendarBaseTokens.calendarDayItemBorderRadius, ": var(").concat(tokens.calendarDayItemBorderRadius, ");\n ").concat(calendarBaseTokens.calendarDayItemWidth, ": var(").concat(tokens.calendarDayItemWidth, ");\n ").concat(calendarBaseTokens.calendarDayItemHeight, ": var(").concat(tokens.calendarDayItemHeight, ");\n ").concat(calendarBaseTokens.calendarDayFontFamily, ": var(").concat(tokens.calendarDayFontFamily, ");\n ").concat(calendarBaseTokens.calendarDayFontSize, ": var(").concat(tokens.calendarDayFontSize, ");\n ").concat(calendarBaseTokens.calendarDayFontStyle, ": var(").concat(tokens.calendarDayFontStyle, ");\n ").concat(calendarBaseTokens.calendarDayFontLetterSpacing, ": var(").concat(tokens.calendarDayFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarDayFontLineHeight, ": var(").concat(tokens.calendarDayFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarDayFontWeight, ": var(").concat(tokens.calendarDayFontWeight, ");\n ").concat(calendarBaseTokens.calendarDaySelectedFontWeight, ": var(").concat(tokens.calendarDaySelectedFontWeight, ");\n \n ").concat(calendarBaseTokens.calendarHeaderWrapperPadding, ": var(").concat(tokens.calendarHeaderWrapperPadding, ");\n ").concat(calendarBaseTokens.calendarHeaderArrowGap, ": var(").concat(tokens.calendarHeaderArrowGap, ");\n ").concat(calendarBaseTokens.calendarHeaderArrowPadding, ": var(").concat(tokens.calendarHeaderArrowPadding, ");\n ").concat(calendarBaseTokens.calendarHeaderPadding, ": var(").concat(tokens.calendarHeaderPadding, ");\n ").concat(calendarBaseTokens.calendarHeaderDateGap, ": var(").concat(tokens.calendarHeaderDateGap, ");\n ").concat(calendarBaseTokens.calendarHeaderFontFamily, ": var(").concat(tokens.calendarHeaderFontFamily, ");\n ").concat(calendarBaseTokens.calendarHeaderFontSize, ": var(").concat(tokens.calendarHeaderFontSize, ");\n ").concat(calendarBaseTokens.calendarHeaderFontStyle, ": var(").concat(tokens.calendarHeaderFontStyle, ");\n ").concat(calendarBaseTokens.calendarHeaderFontLetterSpacing, ": var(").concat(tokens.calendarHeaderFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarHeaderFontLineHeight, ": var(").concat(tokens.calendarHeaderFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarHeaderFontWeight, ": var(").concat(tokens.calendarHeaderFontWeight, ");\n ").concat(calendarBaseTokens.calendarHeaderFontWeightBold, ": var(").concat(tokens.calendarHeaderFontWeightBold, ");\n \n ").concat(calendarBaseTokens.iconButtonHeight, ": var(").concat(tokens.iconButtonHeight, ");\n ").concat(calendarBaseTokens.iconButtonWidth, ": var(").concat(tokens.iconButtonWidth, ");\n ").concat(calendarBaseTokens.iconButtonPadding, ": var(").concat(tokens.iconButtonPadding, ");\n ").concat(calendarBaseTokens.iconButtonRadius, ": var(").concat(tokens.iconButtonRadius, ");\n ").concat(calendarBaseTokens.iconButtonFocusColor, ": var(").concat(tokens.iconButtonFocusColor, ");\n");
8
+ export var baseCalendarTokens = /*#__PURE__*/"\n padding-top: var(".concat(tokens.calendarPaddingTop, ");\n box-shadow: var(").concat(tokens.calendarShadow, ");\n border-radius: var(").concat(tokens.calendarBorderRadius, ");\n margin-top: var(").concat(tokens.calendarMarginTop, ");\n\n ").concat(calendarBaseTokens.calendarBackgroundColor, ": var(").concat(tokens.calendarBackgroundColor, ");\n ").concat(calendarBaseTokens.calendarSelectedItemBackground, ": var(").concat(tokens.calendarSelectedItemBackground, ");\n ").concat(calendarBaseTokens.calendarSelectedItemColor, ": var(").concat(tokens.calendarSelectedItemColor, ");\n ").concat(calendarBaseTokens.calendarSelectableItemBackgroundHover, ": var(").concat(tokens.calendarSelectableItemBackgroundHover, ");\n ").concat(calendarBaseTokens.calendarCurrentItemBorderColor, ": var(").concat(tokens.calendarCurrentItemBorderColor, ");\n ").concat(calendarBaseTokens.calendarCurrentItemBorderWidth, ": var(").concat(tokens.calendarCurrentItemBorderWidth, ");\n ").concat(calendarBaseTokens.calendarCurrentItemBackgroundHover, ": var(").concat(tokens.calendarCurrentItemBackgroundHover, ");\n ").concat(calendarBaseTokens.calendarCurrentItemColorHover, ": var(").concat(tokens.calendarCurrentItemColorHover, ");\n ").concat(calendarBaseTokens.calendarCurrentItemChildBackgroundHover, ": var(").concat(tokens.calendarCurrentItemChildBackgroundHover, ");\n ").concat(calendarBaseTokens.calendarActiveItemBackground, ": var(").concat(tokens.calendarActiveItemBackground, ");\n ").concat(calendarBaseTokens.calendarActiveItemColor, ": var(").concat(tokens.calendarActiveItemColor, ");\n ").concat(calendarBaseTokens.calendarHoveredItemBackground, ": var(").concat(tokens.calendarHoveredItemBackground, ");\n ").concat(calendarBaseTokens.calendarHoveredItemColor, ": var(").concat(tokens.calendarHoveredItemColor, ");\n ").concat(calendarBaseTokens.calendarRangeBackground, ": var(").concat(tokens.calendarRangeBackground, ");\n ").concat(calendarBaseTokens.calendarOutlineFocusColor, ": var(").concat(tokens.calendarOutlineFocusColor, ");\n ").concat(calendarBaseTokens.calendarContentPrimaryColor, ": var(").concat(tokens.calendarContentPrimaryColor, ");\n ").concat(calendarBaseTokens.calendarContentSecondaryColor, ": var(").concat(tokens.calendarContentSecondaryColor, ");\n\n ").concat(calendarBaseTokens.iconButtonColor, ": var(").concat(tokens.iconButtonColor, ");\n ").concat(calendarBaseTokens.iconButtonBackgroundColor, ": var(").concat(tokens.iconButtonBackgroundColor, ");\n ").concat(calendarBaseTokens.iconButtonColorHover, ": var(").concat(tokens.iconButtonColorHover, ");\n ").concat(calendarBaseTokens.iconButtonBackgroundColorHover, ": var(").concat(tokens.iconButtonBackgroundColorHover, ");\n ").concat(calendarBaseTokens.iconButtonColorActive, ": var(").concat(tokens.iconButtonColorActive, ");\n ").concat(calendarBaseTokens.iconButtonBackgroundColorActive, ": var(").concat(tokens.iconButtonBackgroundColorActive, ");\n\n ").concat(calendarBaseTokens.calendarWidth, ": var(").concat(tokens.calendarWidth, ");\n ").concat(calendarBaseTokens.calendarHeight, ": var(").concat(tokens.calendarHeight, ");\n ").concat(calendarBaseTokens.calendarBorderWidth, ": var(").concat(tokens.calendarBorderWidth, ");\n ").concat(calendarBaseTokens.calendarBorderColor, ": var(").concat(tokens.calendarBorderColor, ");\n\n ").concat(calendarBaseTokens.calendarYearsPadding, ": var(").concat(tokens.calendarYearsPadding, ");\n ").concat(calendarBaseTokens.calendarYearItemBorderRadius, ": var(").concat(tokens.calendarYearItemBorderRadius, ");\n ").concat(calendarBaseTokens.calendarYearItemWidth, ": var(").concat(tokens.calendarYearItemWidth, ");\n ").concat(calendarBaseTokens.calendarYearItemHeight, ": var(").concat(tokens.calendarYearItemHeight, ");\n ").concat(calendarBaseTokens.calendarYearFontFamily, ": var(").concat(tokens.calendarYearFontFamily, ");\n ").concat(calendarBaseTokens.calendarYearFontSize, ": var(").concat(tokens.calendarYearFontSize, ");\n ").concat(calendarBaseTokens.calendarYearFontStyle, ": var(").concat(tokens.calendarYearFontStyle, ");\n ").concat(calendarBaseTokens.calendarYearFontLetterSpacing, ": var(").concat(tokens.calendarYearFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarYearFontLineHeight, ": var(").concat(tokens.calendarYearFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarYearFontWeight, ": var(").concat(tokens.calendarYearFontWeight, ");\n ").concat(calendarBaseTokens.calendarYearSelectedFontWeight, ": var(").concat(tokens.calendarYearSelectedFontWeight, ");\n\n ").concat(calendarBaseTokens.calendarMonthsPadding, ": var(").concat(tokens.calendarMonthsPadding, ");\n ").concat(calendarBaseTokens.calendarMonthItemBorderRadius, ": var(").concat(tokens.calendarMonthItemBorderRadius, ");\n ").concat(calendarBaseTokens.calendarMonthItemWidth, ": var(").concat(tokens.calendarMonthItemWidth, ");\n ").concat(calendarBaseTokens.calendarMonthItemHeight, ": var(").concat(tokens.calendarMonthItemHeight, ");\n ").concat(calendarBaseTokens.calendarMonthFontFamily, ": var(").concat(tokens.calendarMonthFontFamily, ");\n ").concat(calendarBaseTokens.calendarMonthFontSize, ": var(").concat(tokens.calendarMonthFontSize, ");\n ").concat(calendarBaseTokens.calendarMonthFontStyle, ": var(").concat(tokens.calendarMonthFontStyle, ");\n ").concat(calendarBaseTokens.calendarMonthFontLetterSpacing, ": var(").concat(tokens.calendarMonthFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarMonthFontLineHeight, ": var(").concat(tokens.calendarMonthFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarMonthFontWeight, ": var(").concat(tokens.calendarMonthFontWeight, ");\n ").concat(calendarBaseTokens.calendarMonthSelectedFontWeight, ": var(").concat(tokens.calendarMonthSelectedFontWeight, ");\n\n ").concat(calendarBaseTokens.calendarQuartersPadding, ": var(").concat(tokens.calendarQuartersPadding, ");\n ").concat(calendarBaseTokens.calendarQuarterItemBorderRadius, ": var(").concat(tokens.calendarQuarterItemBorderRadius, ");\n ").concat(calendarBaseTokens.calendarQuarterItemWidth, ": var(").concat(tokens.calendarQuarterItemWidth, ");\n ").concat(calendarBaseTokens.calendarQuarterItemHeight, ": var(").concat(tokens.calendarQuarterItemHeight, ");\n ").concat(calendarBaseTokens.calendarQuarterFontFamily, ": var(").concat(tokens.calendarQuarterFontFamily, ");\n ").concat(calendarBaseTokens.calendarQuarterFontSize, ": var(").concat(tokens.calendarQuarterFontSize, ");\n ").concat(calendarBaseTokens.calendarQuarterFontStyle, ": var(").concat(tokens.calendarQuarterFontStyle, ");\n ").concat(calendarBaseTokens.calendarQuarterFontLetterSpacing, ": var(").concat(tokens.calendarQuarterFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarQuarterFontLineHeight, ": var(").concat(tokens.calendarQuarterFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarQuarterFontWeight, ": var(").concat(tokens.calendarQuarterFontWeight, ");\n ").concat(calendarBaseTokens.calendarQuarterSelectedFontWeight, ": var(").concat(tokens.calendarQuarterSelectedFontWeight, ");\n \n ").concat(calendarBaseTokens.calendarDaysPadding, ": var(").concat(tokens.calendarDaysPadding, ");\n ").concat(calendarBaseTokens.calendarDayItemBorderRadius, ": var(").concat(tokens.calendarDayItemBorderRadius, ");\n ").concat(calendarBaseTokens.calendarDayItemWidth, ": var(").concat(tokens.calendarDayItemWidth, ");\n ").concat(calendarBaseTokens.calendarDayItemHeight, ": var(").concat(tokens.calendarDayItemHeight, ");\n ").concat(calendarBaseTokens.calendarDayFontFamily, ": var(").concat(tokens.calendarDayFontFamily, ");\n ").concat(calendarBaseTokens.calendarDayFontSize, ": var(").concat(tokens.calendarDayFontSize, ");\n ").concat(calendarBaseTokens.calendarDayFontStyle, ": var(").concat(tokens.calendarDayFontStyle, ");\n ").concat(calendarBaseTokens.calendarDayFontLetterSpacing, ": var(").concat(tokens.calendarDayFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarDayFontLineHeight, ": var(").concat(tokens.calendarDayFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarDayFontWeight, ": var(").concat(tokens.calendarDayFontWeight, ");\n ").concat(calendarBaseTokens.calendarDaySelectedFontWeight, ": var(").concat(tokens.calendarDaySelectedFontWeight, ");\n ").concat(calendarBaseTokens.calendarDayOfWeekColor, ": var(").concat(tokens.calendarDayOfWeekColor, ");\n \n ").concat(calendarBaseTokens.calendarHeaderWrapperPadding, ": var(").concat(tokens.calendarHeaderWrapperPadding, ");\n ").concat(calendarBaseTokens.calendarHeaderArrowGap, ": var(").concat(tokens.calendarHeaderArrowGap, ");\n ").concat(calendarBaseTokens.calendarHeaderArrowPadding, ": var(").concat(tokens.calendarHeaderArrowPadding, ");\n ").concat(calendarBaseTokens.calendarHeaderPadding, ": var(").concat(tokens.calendarHeaderPadding, ");\n ").concat(calendarBaseTokens.calendarHeaderDateGap, ": var(").concat(tokens.calendarHeaderDateGap, ");\n ").concat(calendarBaseTokens.calendarHeaderFontFamily, ": var(").concat(tokens.calendarHeaderFontFamily, ");\n ").concat(calendarBaseTokens.calendarHeaderFontSize, ": var(").concat(tokens.calendarHeaderFontSize, ");\n ").concat(calendarBaseTokens.calendarHeaderFontStyle, ": var(").concat(tokens.calendarHeaderFontStyle, ");\n ").concat(calendarBaseTokens.calendarHeaderFontLetterSpacing, ": var(").concat(tokens.calendarHeaderFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarHeaderFontLineHeight, ": var(").concat(tokens.calendarHeaderFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarHeaderFontWeight, ": var(").concat(tokens.calendarHeaderFontWeight, ");\n ").concat(calendarBaseTokens.calendarHeaderFontWeightBold, ": var(").concat(tokens.calendarHeaderFontWeightBold, ");\n ").concat(calendarBaseTokens.calendarHeaderArrowColor, ": var(").concat(tokens.calendarHeaderArrowColor, ");\n \n ").concat(calendarBaseTokens.iconButtonHeight, ": var(").concat(tokens.iconButtonHeight, ");\n ").concat(calendarBaseTokens.iconButtonWidth, ": var(").concat(tokens.iconButtonWidth, ");\n ").concat(calendarBaseTokens.iconButtonPadding, ": var(").concat(tokens.iconButtonPadding, ");\n ").concat(calendarBaseTokens.iconButtonRadius, ": var(").concat(tokens.iconButtonRadius, ");\n ").concat(calendarBaseTokens.iconButtonFocusColor, ": var(").concat(tokens.iconButtonFocusColor, ");\n");
9
9
 
10
10
  // NOTE: переопределение токенов Calendar
11
11
  export var StyledCalendar = /*#__PURE__*/styled(Calendar).withConfig({
@@ -15,7 +15,7 @@ export var StyledPopover = /*#__PURE__*/styled(Popover).withConfig({
15
15
  // NOTE: переопределение токенов TextField
16
16
  export var StyledInput = /*#__PURE__*/styled(TextField).withConfig({
17
17
  componentId: "plasma-new-hope__sc-1ye0xbz-1"
18
- })(["width:100%;", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ",var(", "));&.", "{", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");}&.", "{", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");}"], textFieldTokens.color, tokens.textFieldColor, textFieldTokens.placeholderColor, tokens.textFieldPlaceholderColor, textFieldTokens.placeholderColorFocus, tokens.textFieldPlaceholderColorFocus, textFieldTokens.caretColor, tokens.textFieldCaretColor, textFieldTokens.focusColor, tokens.textFieldFocusColor, textFieldTokens.backgroundColor, tokens.textFieldBackgroundColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundColorFocus, textFieldTokens.borderColor, tokens.borderColor, textFieldTokens.borderColorHover, tokens.borderColorHover, textFieldTokens.borderColorFocus, tokens.borderColorFocus, textFieldTokens.colorReadOnly, tokens.textFieldColorReadOnly, textFieldTokens.backgroundColorReadOnly, tokens.textFieldBackgroundColorReadOnly, textFieldTokens.borderColorReadOnly, tokens.textFieldBorderColorReadOnly, textFieldTokens.placeholderColorReadOnly, tokens.textFieldPlaceholderColorReadOnly, textFieldTokens.height, tokens.textFieldHeight, textFieldTokens.borderWidth, tokens.textFieldBorderWidth, textFieldTokens.borderRadius, tokens.textFieldBorderRadius, textFieldTokens.padding, tokens.textFieldPadding, textFieldTokens.labelInnerPadding, tokens.labelInnerPadding, textFieldTokens.contentLabelInnerPadding, tokens.contentLabelInnerPadding, textFieldTokens.labelInnerFontFamily, tokens.labelInnerFontFamily, textFieldTokens.labelInnerFontSize, tokens.labelInnerFontSize, textFieldTokens.labelInnerFontStyle, tokens.labelInnerFontStyle, textFieldTokens.labelInnerFontWeight, tokens.labelInnerFontWeight, textFieldTokens.labelInnerLetterSpacing, tokens.labelInnerLetterSpacing, textFieldTokens.labelInnerLineHeight, tokens.labelInnerLineHeight, textFieldTokens.leftContentMargin, tokens.textFieldLeftContentMargin, textFieldTokens.rightContentMargin, tokens.textFieldRightContentMargin, textFieldTokens.fontFamily, tokens.textFieldFontFamily, textFieldTokens.fontSize, tokens.textFieldFontSize, textFieldTokens.fontStyle, tokens.textFieldFontStyle, textFieldTokens.fontWeight, tokens.textFieldFontWeight, textFieldTokens.letterSpacing, tokens.textFieldLetterSpacing, textFieldTokens.lineHeight, tokens.textFieldLineHeight, textFieldTokens.disabledOpacity, tokens.disabledOpacity, textFieldTokens.textBeforeColor, tokens.textFieldTextBeforeColor, textFieldTokens.textAfterColor, tokens.textFieldTextAfterColor, textFieldTokens.textBeforeMargin, tokens.textFieldTextBeforeMargin, textFieldTokens.textAfterMargin, tokens.textFieldTextAfterMargin, textFieldTokens.contentSlotColor, tokens.textFieldContentSlotColor, tokens.textFieldColor, classes.datePickerError, textFieldTokens.backgroundColor, tokens.textFieldBackgroundErrorColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundErrorColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundErrorColorFocus, textFieldTokens.borderColor, tokens.textFieldBorderColorError, textFieldTokens.borderColorHover, tokens.textFieldBorderColorErrorHover, textFieldTokens.borderColorFocus, tokens.textFieldBorderColorErrorFocus, classes.datePickerSuccess, textFieldTokens.backgroundColor, tokens.textFieldBackgroundSuccessColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundSuccessColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundSuccessColorFocus, textFieldTokens.borderColor, tokens.textFieldBorderColorSuccess, textFieldTokens.borderColorHover, tokens.textFieldBorderColorSuccessHover, textFieldTokens.borderColorFocus, tokens.textFieldBorderColorSuccessFocus);
18
+ })(["width:100%;", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ",var(", "));", ":var(", ",var(", "));", ":var(", ",var(", "));&.", "{", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");}&.", "{", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");}"], textFieldTokens.color, tokens.textFieldColor, textFieldTokens.placeholderColor, tokens.textFieldPlaceholderColor, textFieldTokens.placeholderColorFocus, tokens.textFieldPlaceholderColorFocus, textFieldTokens.caretColor, tokens.textFieldCaretColor, textFieldTokens.focusColor, tokens.textFieldFocusColor, textFieldTokens.backgroundColor, tokens.textFieldBackgroundColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundColorFocus, textFieldTokens.borderColor, tokens.borderColor, textFieldTokens.borderColorHover, tokens.borderColorHover, textFieldTokens.borderColorFocus, tokens.borderColorFocus, textFieldTokens.colorReadOnly, tokens.textFieldColorReadOnly, textFieldTokens.backgroundColorReadOnly, tokens.textFieldBackgroundColorReadOnly, textFieldTokens.borderColorReadOnly, tokens.textFieldBorderColorReadOnly, textFieldTokens.placeholderColorReadOnly, tokens.textFieldPlaceholderColorReadOnly, textFieldTokens.height, tokens.textFieldHeight, textFieldTokens.borderWidth, tokens.textFieldBorderWidth, textFieldTokens.borderRadius, tokens.textFieldBorderRadius, textFieldTokens.padding, tokens.textFieldPadding, textFieldTokens.labelInnerPadding, tokens.labelInnerPadding, textFieldTokens.contentLabelInnerPadding, tokens.contentLabelInnerPadding, textFieldTokens.labelInnerFontFamily, tokens.labelInnerFontFamily, textFieldTokens.labelInnerFontSize, tokens.labelInnerFontSize, textFieldTokens.labelInnerFontStyle, tokens.labelInnerFontStyle, textFieldTokens.labelInnerFontWeight, tokens.labelInnerFontWeight, textFieldTokens.labelInnerLetterSpacing, tokens.labelInnerLetterSpacing, textFieldTokens.labelInnerLineHeight, tokens.labelInnerLineHeight, textFieldTokens.leftContentMargin, tokens.textFieldLeftContentMargin, textFieldTokens.rightContentMargin, tokens.textFieldRightContentMargin, textFieldTokens.fontFamily, tokens.textFieldFontFamily, textFieldTokens.fontSize, tokens.textFieldFontSize, textFieldTokens.fontStyle, tokens.textFieldFontStyle, textFieldTokens.fontWeight, tokens.textFieldFontWeight, textFieldTokens.letterSpacing, tokens.textFieldLetterSpacing, textFieldTokens.lineHeight, tokens.textFieldLineHeight, textFieldTokens.disabledOpacity, tokens.disabledOpacity, textFieldTokens.textBeforeColor, tokens.textFieldTextBeforeColor, textFieldTokens.textAfterColor, tokens.textFieldTextAfterColor, textFieldTokens.textBeforeMargin, tokens.textFieldTextBeforeMargin, textFieldTokens.textAfterMargin, tokens.textFieldTextAfterMargin, textFieldTokens.contentSlotColor, tokens.textFieldContentSlotColor, tokens.textFieldColor, textFieldTokens.contentSlotRightColor, tokens.textFieldContentRightSlotColor, textFieldTokens.contentSlotColor, textFieldTokens.contentSlotRightColorHover, tokens.textFieldContentRightSlotColorHover, textFieldTokens.contentSlotRightColor, classes.datePickerError, textFieldTokens.backgroundColor, tokens.textFieldBackgroundErrorColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundErrorColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundErrorColorFocus, textFieldTokens.borderColor, tokens.textFieldBorderColorError, textFieldTokens.borderColorHover, tokens.textFieldBorderColorErrorHover, textFieldTokens.borderColorFocus, tokens.textFieldBorderColorErrorFocus, classes.datePickerSuccess, textFieldTokens.backgroundColor, tokens.textFieldBackgroundSuccessColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundSuccessColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundSuccessColorFocus, textFieldTokens.borderColor, tokens.textFieldBorderColorSuccess, textFieldTokens.borderColorHover, tokens.textFieldBorderColorSuccessHover, textFieldTokens.borderColorFocus, tokens.textFieldBorderColorSuccessFocus);
19
19
  export var base = /*#__PURE__*/css(["display:inline-block;.", ",.", "{width:inherit;}"], /*#__PURE__*/String(popoverClasses.wrapper), /*#__PURE__*/String(popoverClasses.target));
20
20
  export var StyledLabel = /*#__PURE__*/styled.label.withConfig({
21
21
  componentId: "plasma-new-hope__sc-1ye0xbz-2"
@@ -4,7 +4,7 @@ import { getCorrectHeight } from './utils';
4
4
  import { tokens, constants } from './Dropdown.tokens';
5
5
  export var Ul = /*#__PURE__*/styled.ul.withConfig({
6
6
  componentId: "plasma-new-hope__sc-13ezpo5-0"
7
- })(["box-sizing:border-box;width:", ";height:", ";margin:", ";padding:var(", ") 0;overflow:", ";background:var(", ");box-shadow:", ";border-radius:var(", ");"], function (_ref) {
7
+ })(["box-sizing:border-box;width:", ";height:", ";margin:", ";padding:var(", ") 0;overflow:", ";background:var(", ");box-shadow:", ";border-radius:var(", ");border:var(", ") solid var(", ");"], function (_ref) {
8
8
  var listWidth = _ref.listWidth;
9
9
  return listWidth || "var(".concat(tokens.width, ")");
10
10
  }, function (_ref2) {
@@ -16,5 +16,5 @@ export var Ul = /*#__PURE__*/styled.ul.withConfig({
16
16
  }, tokens.padding, function (_ref4) {
17
17
  var listOverflow = _ref4.listOverflow;
18
18
  return listOverflow || 'initial';
19
- }, constants.background, constants.boxShadow, tokens.borderRadius);
19
+ }, constants.background, constants.boxShadow, tokens.borderRadius, tokens.borderWidth, tokens.borderColor);
20
20
  export var base = /*#__PURE__*/css([""]);
@@ -13,6 +13,8 @@ export var tokens = {
13
13
  padding: '--plasma-dropdown-padding',
14
14
  disclosureIconColor: '--plasma-dropdown-disclosure-icon-color',
15
15
  disabledOpacity: '--plasma-dropdown-disabled-opacity',
16
+ borderColor: '--plasma-dropdown-border-color',
17
+ borderWidth: '--plasma-dropdown-border-width',
16
18
  focusColor: '--plasma-dropdown-focus-color',
17
19
  // Old
18
20
 
@@ -158,7 +160,6 @@ export var constants = {
158
160
  boxShadow: '0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04)',
159
161
  disclosureIconColor: '--text-secondary',
160
162
  itemBackground: '--plasma-colors-transparent',
161
- itemBackgroundHover: '--surface-transparent-secondary',
162
163
  opacity: '0.4',
163
164
  cellTitleColor: '--text-primary',
164
165
  cellBackgroundColor: '--plasma-colors-transparent'
@@ -28,7 +28,7 @@ export var Wrapper = /*#__PURE__*/styled.li.withConfig({
28
28
  })(["display:flex;align-items:center;min-height:var(", ");margin:0;box-sizing:content-box;padding:", ";font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");background-color:var(", ");border-radius:var(", ");user-select:none;border-right:0.125rem solid transparent;border-left:0.125rem solid transparent;background-clip:padding-box;&:hover:not(.", "){cursor:pointer;background-color:var(", ");}&.", "{background-color:var(", ");}&.", "{opacity:", ";cursor:not-allowed;}:focus{outline:none;}", ";"], tokens.itemHeight, function (_ref3) {
29
29
  var variant = _ref3.variant;
30
30
  return "var(".concat(variant === 'tight' ? tokens.itemPaddingTight : tokens.itemPadding, ")");
31
- }, tokens.itemFontFamily, tokens.itemFontSize, tokens.itemFontStyle, tokens.itemFontWeightBold, tokens.itemFontLetterSpacing, tokens.itemFontLineHeight, constants.itemBackground, tokens.borderRadius, classes.dropdownItemIsDisabled, constants.itemBackgroundHover, classes.dropdownItemIsActive, constants.itemBackgroundHover, classes.dropdownItemIsDisabled, constants.opacity, /*#__PURE__*/addFocus({
31
+ }, tokens.itemFontFamily, tokens.itemFontSize, tokens.itemFontStyle, tokens.itemFontWeightBold, tokens.itemFontLetterSpacing, tokens.itemFontLineHeight, constants.itemBackground, tokens.borderRadius, classes.dropdownItemIsDisabled, tokens.itemBackgroundHover, classes.dropdownItemIsActive, tokens.itemBackgroundHover, classes.dropdownItemIsDisabled, constants.opacity, /*#__PURE__*/addFocus({
32
32
  outlineSize: '0.0625rem',
33
33
  outlineOffset: '0',
34
34
  outlineColor: /*#__PURE__*/"var(".concat(constants.focusColor, ")"),
@@ -1,15 +1,16 @@
1
- var _IconCross;
2
- var _excluded = ["role", "title", "children", "actions", "view", "size", "iconPlacement", "showCloseIcon", "layout", "icon", "onCloseButtonClick"];
1
+ var _excluded = ["role", "title", "children", "actions", "view", "size", "iconPlacement", "showCloseIcon", "layout", "icon", "closeIconType", "onCloseButtonClick"];
3
2
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
3
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
5
4
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
6
5
  import React, { forwardRef, useMemo } from 'react';
7
6
  import { cx } from '../../utils';
8
7
  import { IconCross } from '../_Icon/Icons/IconCross';
9
- import { classes } from './Notification.tokens';
8
+ import { IconCrossThin } from '../_Icon/Icons/IconCrossThin';
9
+ import { classes, tokens } from './Notification.tokens';
10
10
  import { base as viewCSS } from './variations/_view/base';
11
11
  import { base as layoutCSS } from './variations/_layout/base';
12
12
  import { base as sizeCSS } from './variations/_size/base';
13
+ import { base as closeIconTypeCSS } from './variations/_closeIconType/base';
13
14
  import { layouts } from './Notification.types';
14
15
  import { ButtonsWrapper, CloseIconWrapper, ContentBox, IconWrapper, StyledContent, StyledNotification, StyledTitle, TextBox, Wrapper } from './Notification.styles';
15
16
  import { getLayoutClass } from './utils';
@@ -32,6 +33,7 @@ export var notificationRoot = function notificationRoot(Root) {
32
33
  _props$layout = props.layout,
33
34
  layout = _props$layout === void 0 ? layouts.vertical : _props$layout,
34
35
  icon = props.icon,
36
+ closeIconType = props.closeIconType,
35
37
  onCloseButtonClick = props.onCloseButtonClick,
36
38
  rest = _objectWithoutProperties(props, _excluded);
37
39
  var ariaLive = 'polite';
@@ -52,6 +54,7 @@ export var notificationRoot = function notificationRoot(Root) {
52
54
  view: view,
53
55
  size: size,
54
56
  layout: layout,
57
+ closeIconType: closeIconType,
55
58
  ref: ref,
56
59
  role: role,
57
60
  "aria-live": ariaLive,
@@ -80,10 +83,15 @@ export var notificationRoot = function notificationRoot(Root) {
80
83
  size: "s",
81
84
  onClick: onCloseButtonClick,
82
85
  className: cx(classes.closeIcon, getLayoutClass(layout))
83
- }, _IconCross || (_IconCross = /*#__PURE__*/React.createElement(IconCross, {
86
+ }, closeIconType === 'default' ? /*#__PURE__*/React.createElement(IconCross, {
84
87
  size: "s",
88
+ sizeCustomProperty: tokens.closeIconSize,
85
89
  color: "inherit"
86
- })))));
90
+ }) : /*#__PURE__*/React.createElement(IconCrossThin, {
91
+ size: "s",
92
+ sizeCustomProperty: tokens.closeIconSize,
93
+ color: "inherit"
94
+ }))));
87
95
  });
88
96
  };
89
97
  export var notificationConfig = {
@@ -100,11 +108,15 @@ export var notificationConfig = {
100
108
  },
101
109
  size: {
102
110
  css: sizeCSS
111
+ },
112
+ closeIconType: {
113
+ css: closeIconTypeCSS
103
114
  }
104
115
  },
105
116
  defaults: {
106
117
  view: 'default',
107
118
  layout: layouts.vertical,
108
- size: 'xs'
119
+ size: 'xs',
120
+ closeIconType: 'default'
109
121
  }
110
122
  };