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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (683) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +1 -1
  2. package/cjs/components/Autocomplete/Autocomplete.tokens.js +1 -0
  3. package/cjs/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
  4. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  5. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  6. package/cjs/components/Autocomplete/ui/TextField/{TextField.styles_1csckkd.css → TextField.styles_kcgaix.css} +1 -1
  7. package/cjs/components/Badge/Badge.css +0 -2
  8. package/cjs/components/Badge/Badge.js +4 -17
  9. package/cjs/components/Badge/Badge.js.map +1 -1
  10. package/cjs/components/Badge/Badge.tokens.js +1 -2
  11. package/cjs/components/Badge/Badge.tokens.js.map +1 -1
  12. package/cjs/components/Calendar/Calendar.tokens.js +4 -0
  13. package/cjs/components/Calendar/Calendar.tokens.js.map +1 -1
  14. package/cjs/components/Calendar/CalendarBase/CalendarBase.css +16 -15
  15. package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  16. package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  17. package/cjs/components/Calendar/CalendarBase/{CalendarBase.styles_1m6uih1.css → CalendarBase.styles_zk3a46.css} +1 -1
  18. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +16 -15
  19. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.css +4 -4
  20. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.css +9 -8
  21. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -4
  22. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  23. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +11 -1
  24. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  25. package/cjs/components/Calendar/ui/CalendarHeader/{CalendarHeader.styles_1jfelqf.css → CalendarHeader.styles_zgya4j.css} +1 -0
  26. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
  27. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.css +4 -4
  28. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
  29. package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.css +4 -4
  30. package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +1 -1
  31. package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js.map +1 -1
  32. package/cjs/components/Calendar/ui/DateStructureItem/{DateStructureItem.styles_1nxxafr.css → DateStructureItem.styles_uzh6dj.css} +1 -1
  33. package/cjs/components/Combobox/ComboboxNew/Combobox.css +12 -12
  34. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  35. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  36. package/cjs/components/Combobox/ComboboxNew/{Combobox.styles_1s09ifw.css → Combobox.styles_18a8p75.css} +1 -1
  37. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +4 -26
  38. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  39. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +12 -12
  40. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +12 -12
  41. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +1 -1
  42. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  43. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/{Item.styles_y71664.css → Item.styles_1kzr84z.css} +2 -2
  44. package/cjs/components/Combobox/ComboboxOld/Combobox.css +5 -5
  45. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +5 -5
  46. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +5 -5
  47. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +5 -5
  48. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +5 -5
  49. package/cjs/components/DatePicker/DatePicker.tokens.js +7 -0
  50. package/cjs/components/DatePicker/DatePicker.tokens.js.map +1 -1
  51. package/cjs/components/DatePicker/DatePickerBase.styles.js +1 -1
  52. package/cjs/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  53. package/cjs/components/DatePicker/DatePickerBase.styles_1vzl5em.css +2 -0
  54. package/cjs/components/DatePicker/RangeDate/RangeDate.css +20 -19
  55. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +18 -17
  56. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +1 -1
  57. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_k7d8e5.css +2 -0
  58. package/cjs/components/DatePicker/SingleDate/SingleDate.css +20 -19
  59. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  60. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  61. package/cjs/components/DatePicker/SingleDate/{SingleDate.styles_1rrq00l.css → SingleDate.styles_e72b5o.css} +1 -1
  62. package/cjs/components/Dropdown/Dropdown.css +5 -5
  63. package/cjs/components/Dropdown/Dropdown.styles.js +1 -1
  64. package/cjs/components/Dropdown/Dropdown.styles.js.map +1 -1
  65. package/cjs/components/Dropdown/{Dropdown.styles_1ix6io8.css → Dropdown.styles_dh7ns1.css} +1 -1
  66. package/cjs/components/Dropdown/Dropdown.tokens.js +2 -0
  67. package/cjs/components/Dropdown/Dropdown.tokens.js.map +1 -1
  68. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.css +5 -5
  69. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +1 -1
  70. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  71. package/cjs/components/Dropdown/ui/DropdownItem/{DropdownItem.styles_17va0nk.css → DropdownItem.styles_1b439rx.css} +1 -1
  72. package/cjs/components/Notification/Notification.css +11 -11
  73. package/cjs/components/Notification/Notification.js +17 -5
  74. package/cjs/components/Notification/Notification.js.map +1 -1
  75. package/cjs/components/Notification/Notification.styles.js +17 -17
  76. package/cjs/components/Notification/Notification.styles.js.map +1 -1
  77. package/cjs/components/Notification/{Notification.styles_e6274r.css → Notification.styles_ob8hsa.css} +2 -2
  78. package/cjs/components/Notification/Notification.tokens.js +5 -1
  79. package/cjs/components/Notification/Notification.tokens.js.map +1 -1
  80. package/cjs/components/Notification/Notification.types.js.map +1 -1
  81. package/cjs/components/Notification/NotificationsProvider.css +11 -11
  82. package/cjs/components/{Badge/variations/_truncate → Notification/variations/_closeIconType}/base.js +2 -2
  83. package/cjs/components/Notification/variations/_closeIconType/base.js.map +1 -0
  84. package/cjs/components/Notification/variations/_closeIconType/base_x642ct.css +1 -0
  85. package/cjs/components/Pagination/Pagination.css +10 -10
  86. package/cjs/components/Pagination/Pagination.js +5 -5
  87. package/cjs/components/Pagination/Pagination.js.map +1 -1
  88. package/cjs/components/Pagination/Pagination.styles.js +3 -3
  89. package/cjs/components/Pagination/Pagination.styles.js.map +1 -1
  90. package/cjs/components/Pagination/{Pagination.styles_y6gcva.css → Pagination.styles_1w5oej6.css} +1 -1
  91. package/cjs/components/Pagination/Pagination.tokens.js +4 -1
  92. package/cjs/components/Pagination/Pagination.tokens.js.map +1 -1
  93. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +3 -3
  94. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  95. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  96. package/cjs/components/Pagination/ui/PaginationSelectPerPage/{PaginationSelectPerPage.styles_187mk6b.css → PaginationSelectPerPage.styles_1fesyfv.css} +1 -1
  97. package/cjs/components/Tabs/tokens.js +8 -3
  98. package/cjs/components/Tabs/tokens.js.map +1 -1
  99. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +5 -7
  100. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -14
  101. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  102. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  103. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  104. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_uaaqqg.css +5 -0
  105. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -7
  106. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +3 -14
  107. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js.map +1 -1
  108. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  109. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  110. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_1g7zipg.css +5 -0
  111. package/cjs/components/Toast/Toast.css +5 -5
  112. package/cjs/components/Toast/Toast.js +17 -5
  113. package/cjs/components/Toast/Toast.js.map +1 -1
  114. package/cjs/components/Toast/Toast.styles.js +3 -3
  115. package/cjs/components/Toast/Toast.styles.js.map +1 -1
  116. package/{es/components/Toast/Toast.styles_1v9oj7f.css → cjs/components/Toast/Toast.styles_1nei944.css} +1 -1
  117. package/cjs/components/Toast/Toast.tokens.js +3 -1
  118. package/cjs/components/Toast/Toast.tokens.js.map +1 -1
  119. package/cjs/components/Toast/ToastController.css +5 -5
  120. package/cjs/components/{Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate → Toast/variations/_closeIconType}/base.js +2 -2
  121. package/cjs/components/Toast/variations/_closeIconType/base.js.map +1 -0
  122. package/cjs/components/Toast/variations/_closeIconType/base_x642ct.css +1 -0
  123. package/cjs/components/_Icon/Icon.assets/CrossThin.js +22 -0
  124. package/cjs/components/_Icon/Icon.assets/CrossThin.js.map +1 -0
  125. package/cjs/components/_Icon/Icons/IconCrossThin.js +25 -0
  126. package/cjs/components/_Icon/Icons/IconCrossThin.js.map +1 -0
  127. package/cjs/index.css +76 -81
  128. package/emotion/cjs/components/Autocomplete/Autocomplete.tokens.js +1 -0
  129. package/emotion/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  130. package/emotion/cjs/components/Badge/Badge.js +4 -22
  131. package/emotion/cjs/components/Badge/Badge.tokens.js +1 -2
  132. package/emotion/cjs/components/Calendar/Calendar.tokens.js +4 -0
  133. package/emotion/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -2
  134. package/emotion/cjs/components/Calendar/mixins/selected.js +3 -2
  135. package/emotion/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -3
  136. package/emotion/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +22 -17
  137. package/emotion/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +5 -4
  138. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +7 -7
  139. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +4 -4
  140. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +12 -12
  141. package/emotion/cjs/components/DatePicker/DatePicker.tokens.js +7 -0
  142. package/emotion/cjs/components/DatePicker/DatePickerBase.styles.js +3 -3
  143. package/emotion/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +5 -5
  144. package/emotion/cjs/components/Dropdown/Dropdown.styles.js +2 -2
  145. package/emotion/cjs/components/Dropdown/Dropdown.tokens.js +2 -1
  146. package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +6 -6
  147. package/emotion/cjs/components/Notification/Notification.js +18 -6
  148. package/emotion/cjs/components/Notification/Notification.styles.js +11 -11
  149. package/emotion/cjs/components/Notification/Notification.tokens.js +5 -1
  150. package/emotion/cjs/components/Notification/variations/_closeIconType/base.js +8 -0
  151. package/emotion/cjs/components/Notification/variations/_closeIconType/tokens.json +1 -0
  152. package/emotion/cjs/components/Pagination/Pagination.js +5 -5
  153. package/emotion/cjs/components/Pagination/Pagination.styles.js +8 -8
  154. package/emotion/cjs/components/Pagination/Pagination.tokens.js +4 -1
  155. package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  156. package/emotion/cjs/components/Tabs/tokens.js +8 -3
  157. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -19
  158. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +6 -6
  159. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +3 -19
  160. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +6 -6
  161. package/emotion/cjs/components/Toast/Toast.js +18 -6
  162. package/emotion/cjs/components/Toast/Toast.styles.js +6 -6
  163. package/emotion/cjs/components/Toast/Toast.tokens.js +3 -1
  164. package/emotion/cjs/components/Toast/variations/_closeIconType/base.js +8 -0
  165. package/emotion/cjs/components/Toast/variations/_closeIconType/tokens.json +1 -0
  166. package/emotion/cjs/components/_Icon/Icon.assets/CrossThin.js +21 -0
  167. package/emotion/cjs/components/_Icon/Icons/IconCrossThin.js +24 -0
  168. package/emotion/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +12 -12
  169. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +14 -17
  170. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -5
  171. package/emotion/cjs/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -5
  172. package/emotion/cjs/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -5
  173. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  174. package/emotion/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +7 -7
  175. package/emotion/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +5 -5
  176. package/emotion/cjs/examples/plasma_b2c/components/Notification/Notification.config.js +11 -6
  177. package/emotion/cjs/examples/plasma_b2c/components/Notification/Notification.stories.tsx +8 -0
  178. package/emotion/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +19 -51
  179. package/emotion/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -18
  180. package/emotion/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +6 -9
  181. package/emotion/cjs/examples/plasma_b2c/components/Toast/Toast.config.js +11 -6
  182. package/emotion/cjs/examples/plasma_b2c/components/Toast/Toast.stories.tsx +9 -0
  183. package/emotion/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +12 -12
  184. package/emotion/cjs/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -5
  185. package/emotion/cjs/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -5
  186. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
  187. package/emotion/cjs/examples/plasma_web/components/DatePicker/DatePicker.config.js +7 -7
  188. package/emotion/cjs/examples/plasma_web/components/Dropdown/Dropdown.config.js +5 -5
  189. package/emotion/cjs/examples/plasma_web/components/Notification/Notification.config.js +11 -6
  190. package/emotion/cjs/examples/plasma_web/components/Notification/Notification.stories.tsx +8 -0
  191. package/emotion/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +19 -51
  192. package/emotion/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -18
  193. package/emotion/cjs/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.js +6 -9
  194. package/emotion/cjs/examples/plasma_web/components/Toast/Toast.config.js +11 -6
  195. package/emotion/cjs/examples/plasma_web/components/Toast/Toast.stories.tsx +9 -0
  196. package/emotion/es/components/Autocomplete/Autocomplete.tokens.js +1 -0
  197. package/emotion/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  198. package/emotion/es/components/Badge/Badge.js +4 -23
  199. package/emotion/es/components/Badge/Badge.tokens.js +1 -2
  200. package/emotion/es/components/Calendar/Calendar.tokens.js +4 -0
  201. package/emotion/es/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -2
  202. package/emotion/es/components/Calendar/mixins/selected.js +3 -2
  203. package/emotion/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -5
  204. package/emotion/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +21 -16
  205. package/emotion/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +5 -4
  206. package/emotion/es/components/Combobox/ComboboxNew/Combobox.styles.js +7 -7
  207. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +4 -4
  208. package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +12 -12
  209. package/emotion/es/components/DatePicker/DatePicker.tokens.js +7 -0
  210. package/emotion/es/components/DatePicker/DatePickerBase.styles.js +3 -3
  211. package/emotion/es/components/DatePicker/SingleDate/SingleDate.styles.js +5 -5
  212. package/emotion/es/components/Dropdown/Dropdown.styles.js +2 -2
  213. package/emotion/es/components/Dropdown/Dropdown.tokens.js +2 -1
  214. package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +6 -6
  215. package/emotion/es/components/Notification/Notification.js +18 -6
  216. package/emotion/es/components/Notification/Notification.styles.js +11 -11
  217. package/emotion/es/components/Notification/Notification.tokens.js +5 -1
  218. package/emotion/es/components/Notification/variations/_closeIconType/base.js +2 -0
  219. package/emotion/es/components/Notification/variations/_closeIconType/tokens.json +1 -0
  220. package/emotion/es/components/Pagination/Pagination.js +5 -5
  221. package/emotion/es/components/Pagination/Pagination.styles.js +8 -8
  222. package/emotion/es/components/Pagination/Pagination.tokens.js +4 -1
  223. package/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  224. package/emotion/es/components/Tabs/tokens.js +8 -3
  225. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -20
  226. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +6 -6
  227. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +3 -20
  228. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +6 -6
  229. package/emotion/es/components/Toast/Toast.js +18 -6
  230. package/emotion/es/components/Toast/Toast.styles.js +6 -6
  231. package/emotion/es/components/Toast/Toast.tokens.js +3 -1
  232. package/emotion/es/components/Toast/variations/_closeIconType/base.js +2 -0
  233. package/emotion/es/components/Toast/variations/_closeIconType/tokens.json +1 -0
  234. package/emotion/es/components/_Icon/Icon.assets/CrossThin.js +14 -0
  235. package/emotion/es/components/_Icon/Icons/IconCrossThin.js +17 -0
  236. package/emotion/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +12 -12
  237. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.config.js +14 -17
  238. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -5
  239. package/emotion/es/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -5
  240. package/emotion/es/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -5
  241. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  242. package/emotion/es/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +7 -7
  243. package/emotion/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +5 -5
  244. package/emotion/es/examples/plasma_b2c/components/Notification/Notification.config.js +11 -6
  245. package/emotion/es/examples/plasma_b2c/components/Notification/Notification.stories.tsx +8 -0
  246. package/emotion/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +19 -51
  247. package/emotion/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -18
  248. package/emotion/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +6 -9
  249. package/emotion/es/examples/plasma_b2c/components/Toast/Toast.config.js +11 -6
  250. package/emotion/es/examples/plasma_b2c/components/Toast/Toast.stories.tsx +9 -0
  251. package/emotion/es/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +12 -12
  252. package/emotion/es/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -5
  253. package/emotion/es/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -5
  254. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
  255. package/emotion/es/examples/plasma_web/components/DatePicker/DatePicker.config.js +7 -7
  256. package/emotion/es/examples/plasma_web/components/Dropdown/Dropdown.config.js +5 -5
  257. package/emotion/es/examples/plasma_web/components/Notification/Notification.config.js +11 -6
  258. package/emotion/es/examples/plasma_web/components/Notification/Notification.stories.tsx +8 -0
  259. package/emotion/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +19 -51
  260. package/emotion/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -18
  261. package/emotion/es/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.js +6 -9
  262. package/emotion/es/examples/plasma_web/components/Toast/Toast.config.js +11 -6
  263. package/emotion/es/examples/plasma_web/components/Toast/Toast.stories.tsx +9 -0
  264. package/es/components/Autocomplete/Autocomplete.css +1 -1
  265. package/es/components/Autocomplete/Autocomplete.tokens.js +1 -0
  266. package/es/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
  267. package/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  268. package/es/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  269. package/es/components/Autocomplete/ui/TextField/{TextField.styles_1csckkd.css → TextField.styles_kcgaix.css} +1 -1
  270. package/es/components/Badge/Badge.css +0 -2
  271. package/es/components/Badge/Badge.js +5 -18
  272. package/es/components/Badge/Badge.js.map +1 -1
  273. package/es/components/Badge/Badge.tokens.js +1 -2
  274. package/es/components/Badge/Badge.tokens.js.map +1 -1
  275. package/es/components/Calendar/Calendar.tokens.js +4 -0
  276. package/es/components/Calendar/Calendar.tokens.js.map +1 -1
  277. package/es/components/Calendar/CalendarBase/CalendarBase.css +16 -15
  278. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  279. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  280. package/es/components/Calendar/CalendarBase/{CalendarBase.styles_1m6uih1.css → CalendarBase.styles_zk3a46.css} +1 -1
  281. package/es/components/Calendar/CalendarDouble/CalendarDouble.css +16 -15
  282. package/es/components/Calendar/ui/CalendarDays/CalendarDays.css +4 -4
  283. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.css +9 -8
  284. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +4 -5
  285. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  286. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +11 -2
  287. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  288. package/es/components/Calendar/ui/CalendarHeader/{CalendarHeader.styles_1jfelqf.css → CalendarHeader.styles_zgya4j.css} +1 -0
  289. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
  290. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.css +4 -4
  291. package/es/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
  292. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.css +4 -4
  293. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +1 -1
  294. package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js.map +1 -1
  295. package/es/components/Calendar/ui/DateStructureItem/{DateStructureItem.styles_1nxxafr.css → DateStructureItem.styles_uzh6dj.css} +1 -1
  296. package/es/components/Combobox/ComboboxNew/Combobox.css +12 -12
  297. package/es/components/Combobox/ComboboxNew/Combobox.styles.js +3 -3
  298. package/es/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  299. package/es/components/Combobox/ComboboxNew/{Combobox.styles_1s09ifw.css → Combobox.styles_18a8p75.css} +1 -1
  300. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -26
  301. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  302. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +12 -12
  303. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +12 -12
  304. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +1 -1
  305. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  306. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/{Item.styles_y71664.css → Item.styles_1kzr84z.css} +2 -2
  307. package/es/components/Combobox/ComboboxOld/Combobox.css +5 -5
  308. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +5 -5
  309. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +5 -5
  310. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +5 -5
  311. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +5 -5
  312. package/es/components/DatePicker/DatePicker.tokens.js +7 -0
  313. package/es/components/DatePicker/DatePicker.tokens.js.map +1 -1
  314. package/es/components/DatePicker/DatePickerBase.styles.js +1 -1
  315. package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  316. package/es/components/DatePicker/DatePickerBase.styles_1vzl5em.css +2 -0
  317. package/es/components/DatePicker/RangeDate/RangeDate.css +20 -19
  318. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +18 -17
  319. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +1 -1
  320. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_k7d8e5.css +2 -0
  321. package/es/components/DatePicker/SingleDate/SingleDate.css +20 -19
  322. package/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  323. package/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  324. package/es/components/DatePicker/SingleDate/{SingleDate.styles_1rrq00l.css → SingleDate.styles_e72b5o.css} +1 -1
  325. package/es/components/Dropdown/Dropdown.css +5 -5
  326. package/es/components/Dropdown/Dropdown.styles.js +1 -1
  327. package/es/components/Dropdown/Dropdown.styles.js.map +1 -1
  328. package/es/components/Dropdown/{Dropdown.styles_1ix6io8.css → Dropdown.styles_dh7ns1.css} +1 -1
  329. package/es/components/Dropdown/Dropdown.tokens.js +2 -0
  330. package/es/components/Dropdown/Dropdown.tokens.js.map +1 -1
  331. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.css +5 -5
  332. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +1 -1
  333. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  334. package/es/components/Dropdown/ui/DropdownItem/{DropdownItem.styles_17va0nk.css → DropdownItem.styles_1b439rx.css} +1 -1
  335. package/es/components/Notification/Notification.css +11 -11
  336. package/es/components/Notification/Notification.js +18 -6
  337. package/es/components/Notification/Notification.js.map +1 -1
  338. package/es/components/Notification/Notification.styles.js +17 -17
  339. package/es/components/Notification/Notification.styles.js.map +1 -1
  340. package/es/components/Notification/{Notification.styles_e6274r.css → Notification.styles_ob8hsa.css} +2 -2
  341. package/es/components/Notification/Notification.tokens.js +5 -1
  342. package/es/components/Notification/Notification.tokens.js.map +1 -1
  343. package/es/components/Notification/Notification.types.js.map +1 -1
  344. package/es/components/Notification/NotificationsProvider.css +11 -11
  345. package/es/components/{Badge/variations/_truncate → Notification/variations/_closeIconType}/base.js +2 -2
  346. package/es/components/Notification/variations/_closeIconType/base.js.map +1 -0
  347. package/es/components/Notification/variations/_closeIconType/base_x642ct.css +1 -0
  348. package/es/components/Pagination/Pagination.css +10 -10
  349. package/es/components/Pagination/Pagination.js +5 -5
  350. package/es/components/Pagination/Pagination.js.map +1 -1
  351. package/es/components/Pagination/Pagination.styles.js +3 -3
  352. package/es/components/Pagination/Pagination.styles.js.map +1 -1
  353. package/es/components/Pagination/{Pagination.styles_y6gcva.css → Pagination.styles_1w5oej6.css} +1 -1
  354. package/es/components/Pagination/Pagination.tokens.js +4 -1
  355. package/es/components/Pagination/Pagination.tokens.js.map +1 -1
  356. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +3 -3
  357. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  358. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  359. package/es/components/Pagination/ui/PaginationSelectPerPage/{PaginationSelectPerPage.styles_187mk6b.css → PaginationSelectPerPage.styles_1fesyfv.css} +1 -1
  360. package/es/components/Tabs/tokens.js +8 -3
  361. package/es/components/Tabs/tokens.js.map +1 -1
  362. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +5 -7
  363. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +4 -15
  364. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  365. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  366. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  367. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_uaaqqg.css +5 -0
  368. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -7
  369. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +4 -15
  370. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js.map +1 -1
  371. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  372. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  373. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_1g7zipg.css +5 -0
  374. package/es/components/Toast/Toast.css +5 -5
  375. package/es/components/Toast/Toast.js +18 -6
  376. package/es/components/Toast/Toast.js.map +1 -1
  377. package/es/components/Toast/Toast.styles.js +3 -3
  378. package/es/components/Toast/Toast.styles.js.map +1 -1
  379. package/{cjs/components/Toast/Toast.styles_1v9oj7f.css → es/components/Toast/Toast.styles_1nei944.css} +1 -1
  380. package/es/components/Toast/Toast.tokens.js +3 -1
  381. package/es/components/Toast/Toast.tokens.js.map +1 -1
  382. package/es/components/Toast/ToastController.css +5 -5
  383. package/es/components/Toast/variations/_closeIconType/base.js +5 -0
  384. package/es/components/Toast/variations/_closeIconType/base.js.map +1 -0
  385. package/es/components/Toast/variations/_closeIconType/base_x642ct.css +1 -0
  386. package/es/components/_Icon/Icon.assets/CrossThin.js +18 -0
  387. package/es/components/_Icon/Icon.assets/CrossThin.js.map +1 -0
  388. package/es/components/_Icon/Icons/IconCrossThin.js +21 -0
  389. package/es/components/_Icon/Icons/IconCrossThin.js.map +1 -0
  390. package/es/index.css +76 -81
  391. package/package.json +2 -2
  392. package/styled-components/cjs/components/Autocomplete/Autocomplete.tokens.js +1 -0
  393. package/styled-components/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  394. package/styled-components/cjs/components/Badge/Badge.js +4 -22
  395. package/styled-components/cjs/components/Badge/Badge.tokens.js +1 -2
  396. package/styled-components/cjs/components/Calendar/Calendar.tokens.js +4 -0
  397. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  398. package/styled-components/cjs/components/Calendar/mixins/selected.js +3 -2
  399. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -3
  400. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +6 -2
  401. package/styled-components/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +1 -0
  402. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  403. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +4 -4
  404. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +2 -2
  405. package/styled-components/cjs/components/DatePicker/DatePicker.tokens.js +7 -0
  406. package/styled-components/cjs/components/DatePicker/DatePickerBase.styles.js +1 -1
  407. package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  408. package/styled-components/cjs/components/Dropdown/Dropdown.styles.js +2 -2
  409. package/styled-components/cjs/components/Dropdown/Dropdown.tokens.js +2 -1
  410. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +1 -1
  411. package/styled-components/cjs/components/Notification/Notification.js +18 -6
  412. package/styled-components/cjs/components/Notification/Notification.styles.js +2 -2
  413. package/styled-components/cjs/components/Notification/Notification.tokens.js +5 -1
  414. package/styled-components/cjs/components/Notification/variations/_closeIconType/base.js +8 -0
  415. package/styled-components/cjs/components/Notification/variations/_closeIconType/tokens.json +1 -0
  416. package/styled-components/cjs/components/Pagination/Pagination.js +5 -5
  417. package/styled-components/cjs/components/Pagination/Pagination.styles.js +1 -1
  418. package/styled-components/cjs/components/Pagination/Pagination.tokens.js +4 -1
  419. package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  420. package/styled-components/cjs/components/Tabs/tokens.js +8 -3
  421. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -19
  422. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +2 -2
  423. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +3 -19
  424. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +2 -2
  425. package/styled-components/cjs/components/Toast/Toast.js +18 -6
  426. package/styled-components/cjs/components/Toast/Toast.styles.js +1 -1
  427. package/styled-components/cjs/components/Toast/Toast.tokens.js +3 -1
  428. package/styled-components/cjs/components/Toast/variations/_closeIconType/base.js +8 -0
  429. package/styled-components/cjs/components/Toast/variations/_closeIconType/tokens.json +1 -0
  430. package/styled-components/cjs/components/_Icon/Icon.assets/CrossThin.js +21 -0
  431. package/styled-components/cjs/components/_Icon/Icons/IconCrossThin.js +24 -0
  432. package/styled-components/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +4 -4
  433. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +0 -3
  434. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -5
  435. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -5
  436. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -5
  437. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
  438. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +5 -5
  439. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +1 -1
  440. package/styled-components/cjs/examples/plasma_b2c/components/Notification/Notification.config.js +6 -1
  441. package/styled-components/cjs/examples/plasma_b2c/components/Notification/Notification.stories.tsx +8 -0
  442. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +19 -51
  443. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -3
  444. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +0 -3
  445. package/styled-components/cjs/examples/plasma_b2c/components/Toast/Toast.config.js +6 -1
  446. package/styled-components/cjs/examples/plasma_b2c/components/Toast/Toast.stories.tsx +9 -0
  447. package/styled-components/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +4 -4
  448. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -5
  449. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -5
  450. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
  451. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.config.js +5 -5
  452. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Dropdown.config.js +1 -1
  453. package/styled-components/cjs/examples/plasma_web/components/Notification/Notification.config.js +6 -1
  454. package/styled-components/cjs/examples/plasma_web/components/Notification/Notification.stories.tsx +8 -0
  455. package/styled-components/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +19 -51
  456. package/styled-components/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -3
  457. package/styled-components/cjs/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.js +0 -3
  458. package/styled-components/cjs/examples/plasma_web/components/Toast/Toast.config.js +6 -1
  459. package/styled-components/cjs/examples/plasma_web/components/Toast/Toast.stories.tsx +9 -0
  460. package/styled-components/es/components/Autocomplete/Autocomplete.tokens.js +1 -0
  461. package/styled-components/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  462. package/styled-components/es/components/Badge/Badge.js +4 -23
  463. package/styled-components/es/components/Badge/Badge.tokens.js +1 -2
  464. package/styled-components/es/components/Calendar/Calendar.tokens.js +4 -0
  465. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  466. package/styled-components/es/components/Calendar/mixins/selected.js +3 -2
  467. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -5
  468. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +5 -1
  469. package/styled-components/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +1 -0
  470. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  471. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +4 -4
  472. package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +2 -2
  473. package/styled-components/es/components/DatePicker/DatePicker.tokens.js +7 -0
  474. package/styled-components/es/components/DatePicker/DatePickerBase.styles.js +1 -1
  475. package/styled-components/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  476. package/styled-components/es/components/Dropdown/Dropdown.styles.js +2 -2
  477. package/styled-components/es/components/Dropdown/Dropdown.tokens.js +2 -1
  478. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +1 -1
  479. package/styled-components/es/components/Notification/Notification.js +18 -6
  480. package/styled-components/es/components/Notification/Notification.styles.js +2 -2
  481. package/styled-components/es/components/Notification/Notification.tokens.js +5 -1
  482. package/styled-components/es/components/Notification/variations/_closeIconType/base.js +2 -0
  483. package/styled-components/es/components/Notification/variations/_closeIconType/tokens.json +1 -0
  484. package/styled-components/es/components/Pagination/Pagination.js +5 -5
  485. package/styled-components/es/components/Pagination/Pagination.styles.js +1 -1
  486. package/styled-components/es/components/Pagination/Pagination.tokens.js +4 -1
  487. package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  488. package/styled-components/es/components/Tabs/tokens.js +8 -3
  489. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -20
  490. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +2 -2
  491. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +3 -20
  492. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +2 -2
  493. package/styled-components/es/components/Toast/Toast.js +18 -6
  494. package/styled-components/es/components/Toast/Toast.styles.js +1 -1
  495. package/styled-components/es/components/Toast/Toast.tokens.js +3 -1
  496. package/styled-components/es/components/Toast/variations/_closeIconType/base.js +2 -0
  497. package/styled-components/es/components/Toast/variations/_closeIconType/tokens.json +1 -0
  498. package/styled-components/es/components/_Icon/Icon.assets/CrossThin.js +14 -0
  499. package/styled-components/es/components/_Icon/Icons/IconCrossThin.js +17 -0
  500. package/styled-components/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +4 -4
  501. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.config.js +0 -3
  502. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -5
  503. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -5
  504. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -5
  505. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
  506. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +5 -5
  507. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +1 -1
  508. package/styled-components/es/examples/plasma_b2c/components/Notification/Notification.config.js +6 -1
  509. package/styled-components/es/examples/plasma_b2c/components/Notification/Notification.stories.tsx +8 -0
  510. package/styled-components/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +19 -51
  511. package/styled-components/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -3
  512. package/styled-components/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +0 -3
  513. package/styled-components/es/examples/plasma_b2c/components/Toast/Toast.config.js +6 -1
  514. package/styled-components/es/examples/plasma_b2c/components/Toast/Toast.stories.tsx +9 -0
  515. package/styled-components/es/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +4 -4
  516. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -5
  517. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -5
  518. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
  519. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.config.js +5 -5
  520. package/styled-components/es/examples/plasma_web/components/Dropdown/Dropdown.config.js +1 -1
  521. package/styled-components/es/examples/plasma_web/components/Notification/Notification.config.js +6 -1
  522. package/styled-components/es/examples/plasma_web/components/Notification/Notification.stories.tsx +8 -0
  523. package/styled-components/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +19 -51
  524. package/styled-components/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -3
  525. package/styled-components/es/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.js +0 -3
  526. package/styled-components/es/examples/plasma_web/components/Toast/Toast.config.js +6 -1
  527. package/styled-components/es/examples/plasma_web/components/Toast/Toast.stories.tsx +9 -0
  528. package/types/components/Autocomplete/Autocomplete.tokens.d.ts +1 -0
  529. package/types/components/Autocomplete/Autocomplete.tokens.d.ts.map +1 -1
  530. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  531. package/types/components/Badge/Badge.d.ts +2 -10
  532. package/types/components/Badge/Badge.d.ts.map +1 -1
  533. package/types/components/Badge/Badge.tokens.d.ts +0 -1
  534. package/types/components/Badge/Badge.tokens.d.ts.map +1 -1
  535. package/types/components/Badge/Badge.types.d.ts +0 -5
  536. package/types/components/Badge/Badge.types.d.ts.map +1 -1
  537. package/types/components/Calendar/Calendar.tokens.d.ts +4 -0
  538. package/types/components/Calendar/Calendar.tokens.d.ts.map +1 -1
  539. package/types/components/Calendar/CalendarBase/CalendarBase.styles.d.ts.map +1 -1
  540. package/types/components/Calendar/mixins/selected.d.ts +4 -0
  541. package/types/components/Calendar/mixins/selected.d.ts.map +1 -1
  542. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.d.ts.map +1 -1
  543. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts +1 -0
  544. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts.map +1 -1
  545. package/types/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.d.ts.map +1 -1
  546. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +3 -3
  547. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  548. package/types/components/DatePicker/DatePicker.tokens.d.ts +7 -0
  549. package/types/components/DatePicker/DatePicker.tokens.d.ts.map +1 -1
  550. package/types/components/DatePicker/DatePickerBase.styles.d.ts.map +1 -1
  551. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  552. package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
  553. package/types/components/Dropdown/Dropdown.tokens.d.ts +2 -1
  554. package/types/components/Dropdown/Dropdown.tokens.d.ts.map +1 -1
  555. package/types/components/Notification/Notification.d.ts +4 -0
  556. package/types/components/Notification/Notification.d.ts.map +1 -1
  557. package/types/components/Notification/Notification.styles.d.ts.map +1 -1
  558. package/types/components/Notification/Notification.tokens.d.ts +4 -0
  559. package/types/components/Notification/Notification.tokens.d.ts.map +1 -1
  560. package/types/components/Notification/Notification.types.d.ts +4 -0
  561. package/types/components/Notification/Notification.types.d.ts.map +1 -1
  562. package/types/components/Notification/variations/_closeIconType/base.d.ts.map +1 -0
  563. package/types/components/Pagination/Pagination.d.ts.map +1 -1
  564. package/types/components/Pagination/Pagination.styles.d.ts.map +1 -1
  565. package/types/components/Pagination/Pagination.tokens.d.ts +3 -0
  566. package/types/components/Pagination/Pagination.tokens.d.ts.map +1 -1
  567. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  568. package/types/components/Tabs/TabItem.types.d.ts +0 -5
  569. package/types/components/Tabs/TabItem.types.d.ts.map +1 -1
  570. package/types/components/Tabs/tokens.d.ts +6 -1
  571. package/types/components/Tabs/tokens.d.ts.map +1 -1
  572. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.d.ts +2 -9
  573. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.d.ts.map +1 -1
  574. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.d.ts.map +1 -1
  575. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.d.ts +2 -9
  576. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.d.ts.map +1 -1
  577. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.d.ts.map +1 -1
  578. package/types/components/Toast/Toast.d.ts +4 -0
  579. package/types/components/Toast/Toast.d.ts.map +1 -1
  580. package/types/components/Toast/Toast.tokens.d.ts +2 -0
  581. package/types/components/Toast/Toast.tokens.d.ts.map +1 -1
  582. package/types/components/Toast/Toast.types.d.ts +8 -0
  583. package/types/components/Toast/Toast.types.d.ts.map +1 -1
  584. package/types/components/Toast/variations/_closeIconType/base.d.ts.map +1 -0
  585. package/types/components/_Icon/Icon.assets/CrossThin.d.ts +4 -0
  586. package/types/components/_Icon/Icon.assets/CrossThin.d.ts.map +1 -0
  587. package/types/components/_Icon/Icons/IconCrossThin.d.ts +4 -0
  588. package/types/components/_Icon/Icons/IconCrossThin.d.ts.map +1 -0
  589. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.d.ts.map +1 -1
  590. package/types/examples/plasma_b2c/components/Badge/Badge.config.d.ts +0 -3
  591. package/types/examples/plasma_b2c/components/Badge/Badge.config.d.ts.map +1 -1
  592. package/types/examples/plasma_b2c/components/Badge/Badge.d.ts +0 -6
  593. package/types/examples/plasma_b2c/components/Badge/Badge.d.ts.map +1 -1
  594. package/types/examples/plasma_b2c/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  595. package/types/examples/plasma_b2c/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  596. package/types/examples/plasma_b2c/components/Combobox/Combobox.config.d.ts.map +1 -1
  597. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.config.d.ts.map +1 -1
  598. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.config.d.ts.map +1 -1
  599. package/types/examples/plasma_b2c/components/Notification/Notification.config.d.ts +5 -0
  600. package/types/examples/plasma_b2c/components/Notification/Notification.config.d.ts.map +1 -1
  601. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts +0 -6
  602. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts.map +1 -1
  603. package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.d.ts +0 -3
  604. package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.d.ts.map +1 -1
  605. package/types/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.d.ts +0 -3
  606. package/types/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.d.ts.map +1 -1
  607. package/types/examples/plasma_b2c/components/Toast/Toast.config.d.ts +5 -0
  608. package/types/examples/plasma_b2c/components/Toast/Toast.config.d.ts.map +1 -1
  609. package/types/examples/plasma_b2c/components/Toast/Toast.d.ts +4 -0
  610. package/types/examples/plasma_b2c/components/Toast/Toast.d.ts.map +1 -1
  611. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.config.d.ts.map +1 -1
  612. package/types/examples/plasma_web/components/Badge/Badge.d.ts +0 -3
  613. package/types/examples/plasma_web/components/Badge/Badge.d.ts.map +1 -1
  614. package/types/examples/plasma_web/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  615. package/types/examples/plasma_web/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  616. package/types/examples/plasma_web/components/Combobox/Combobox.config.d.ts.map +1 -1
  617. package/types/examples/plasma_web/components/DatePicker/DatePicker.config.d.ts.map +1 -1
  618. package/types/examples/plasma_web/components/Dropdown/Dropdown.config.d.ts.map +1 -1
  619. package/types/examples/plasma_web/components/Notification/Notification.config.d.ts +5 -0
  620. package/types/examples/plasma_web/components/Notification/Notification.config.d.ts.map +1 -1
  621. package/types/examples/plasma_web/components/Tabs/TabItem.d.ts +0 -6
  622. package/types/examples/plasma_web/components/Tabs/TabItem.d.ts.map +1 -1
  623. package/types/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.d.ts +0 -3
  624. package/types/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.d.ts.map +1 -1
  625. package/types/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.d.ts +0 -3
  626. package/types/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.d.ts.map +1 -1
  627. package/types/examples/plasma_web/components/Toast/Toast.config.d.ts +5 -0
  628. package/types/examples/plasma_web/components/Toast/Toast.config.d.ts.map +1 -1
  629. package/types/examples/plasma_web/components/Toast/Toast.d.ts +4 -0
  630. package/types/examples/plasma_web/components/Toast/Toast.d.ts.map +1 -1
  631. package/cjs/components/Badge/variations/_truncate/base.js.map +0 -1
  632. package/cjs/components/Badge/variations/_truncate/base_nf9u2h.css +0 -1
  633. package/cjs/components/DatePicker/DatePickerBase.styles_mjc9xz.css +0 -2
  634. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1gljtdv.css +0 -2
  635. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_1vj7dbl.css +0 -5
  636. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js.map +0 -1
  637. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base_1b34xv3.css +0 -1
  638. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_hh65kv.css +0 -5
  639. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -9
  640. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js.map +0 -1
  641. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base_1nwonlh.css +0 -1
  642. package/emotion/cjs/components/Badge/variations/_truncate/base.js +0 -10
  643. package/emotion/cjs/components/Badge/variations/_truncate/tokens.json +0 -1
  644. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -10
  645. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +0 -1
  646. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -10
  647. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +0 -1
  648. package/emotion/es/components/Badge/variations/_truncate/base.js +0 -4
  649. package/emotion/es/components/Badge/variations/_truncate/tokens.json +0 -1
  650. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -4
  651. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +0 -1
  652. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -4
  653. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +0 -1
  654. package/es/components/Badge/variations/_truncate/base.js.map +0 -1
  655. package/es/components/Badge/variations/_truncate/base_nf9u2h.css +0 -1
  656. package/es/components/DatePicker/DatePickerBase.styles_mjc9xz.css +0 -2
  657. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1gljtdv.css +0 -2
  658. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_1vj7dbl.css +0 -5
  659. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -5
  660. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js.map +0 -1
  661. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base_1b34xv3.css +0 -1
  662. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_hh65kv.css +0 -5
  663. package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -5
  664. package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js.map +0 -1
  665. package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base_1nwonlh.css +0 -1
  666. package/styled-components/cjs/components/Badge/variations/_truncate/base.js +0 -10
  667. package/styled-components/cjs/components/Badge/variations/_truncate/tokens.json +0 -1
  668. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -10
  669. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +0 -1
  670. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -10
  671. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +0 -1
  672. package/styled-components/es/components/Badge/variations/_truncate/base.js +0 -4
  673. package/styled-components/es/components/Badge/variations/_truncate/tokens.json +0 -1
  674. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -4
  675. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +0 -1
  676. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -4
  677. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +0 -1
  678. package/types/components/Badge/variations/_truncate/base.d.ts.map +0 -1
  679. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.d.ts.map +0 -1
  680. package/types/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.d.ts +0 -2
  681. package/types/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.d.ts.map +0 -1
  682. /package/types/components/{Badge/variations/_truncate → Notification/variations/_closeIconType}/base.d.ts +0 -0
  683. /package/types/components/{Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate → Toast/variations/_closeIconType}/base.d.ts +0 -0
@@ -0,0 +1 @@
1
+ ["--plasma-notification-close-icon-size", "--plasma-notification-close-icon-button-size"]
@@ -1,4 +1,3 @@
1
- var _PaginationShorter;
2
1
  var _excluded = ["value", "perPage", "slots", "view", "viewCurrentPage", "type", "size", "pilled", "square", "disabledPages", "count", "hasQuickJump", "hasPerPage", "perPageList", "isCommonButtonStyles", "placeholderQuickJump", "textQuickJump", "textPerPage", "leftContent", "rightContent", "listWidth", "onChangePageValue", "onChangePerPageValue"];
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 _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
@@ -132,10 +131,11 @@ export var paginationRoot = function paginationRoot(Root) {
132
131
  }, /*#__PURE__*/React.createElement(PaginationPages, null, leftContent && /*#__PURE__*/React.createElement(PaginationButtonGroup, {
133
132
  isCommonButtonStyles: isCommonButtonStyles
134
133
  }, leftContent), sections && sections.map(function (section, indexSection) {
135
- return /*#__PURE__*/React.createElement(React.Fragment, null, indexSection !== 0 && (_PaginationShorter || (_PaginationShorter = /*#__PURE__*/React.createElement(PaginationShorter, {
134
+ return /*#__PURE__*/React.createElement(React.Fragment, null, indexSection !== 0 && /*#__PURE__*/React.createElement(PaginationShorter, {
136
135
  stretching: "fixed",
137
- disabled: true
138
- }, "..."))), /*#__PURE__*/React.createElement(PaginationSection, {
136
+ disabled: true,
137
+ className: classes.buttonDisabled
138
+ }, "..."), /*#__PURE__*/React.createElement(PaginationSection, {
139
139
  key: indexSection
140
140
  }, section.map(function (pageValue) {
141
141
  return /*#__PURE__*/React.createElement(PaginationButton, {
@@ -146,7 +146,7 @@ export var paginationRoot = function paginationRoot(Root) {
146
146
  return handlerSetPage(pageValue);
147
147
  },
148
148
  disabled: disabled.includes(pageValue),
149
- className: cx(classes.paginationPageButton, isActiveButton(pageValue))
149
+ className: cx(classes.paginationPageButton, isActiveButton(pageValue), disabled.includes(pageValue) ? classes.buttonDisabled : '')
150
150
  }, pageValue);
151
151
  })));
152
152
  }), rightContent && /*#__PURE__*/React.createElement(PaginationButtonGroup, {
@@ -25,7 +25,7 @@ export var PaginationButtonGroup = /*#__PURE__*/styled(ButtonGroup).withConfig({
25
25
  })(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");"], buttonGroupTokens.buttonColor, tokens.buttonColor, buttonGroupTokens.buttonBackgroundColor, tokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, tokens.buttonHoverColor, buttonGroupTokens.buttonBackgroundColorHover, tokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, tokens.buttonActiveColor, buttonGroupTokens.buttonBackgroundColorActive, tokens.buttonBackgroundColorActive, buttonGroupTokens.buttonFontFamily, tokens.paginationFontFamily, buttonGroupTokens.buttonFontSize, tokens.paginationFontSize, buttonGroupTokens.buttonFontStyle, tokens.paginationFontStyle, buttonGroupTokens.buttonFontWeight, tokens.paginationFontWeight, buttonGroupTokens.buttonLetterSpacing, tokens.paginationLetterSpacing, buttonGroupTokens.buttonLineHeight, tokens.paginationLineHeight, buttonGroupTokens.buttonWidth, tokens.buttonWidth, buttonGroupTokens.buttonHeight, tokens.buttonHeight, buttonGroupTokens.buttonDefaultRadius, tokens.buttonRadius, buttonGroupTokens.buttonSideRadius, tokens.buttonRadius, buttonGroupTokens.buttonSegmentedRadius, tokens.buttonRadius, buttonGroupTokens.buttonRadiusCircle, tokens.buttonRadius);
26
26
  export var PaginationButton = /*#__PURE__*/styled(Button).withConfig({
27
27
  componentId: "plasma-new-hope__sc-13na7gd-5"
28
- })(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");&.", "{", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");}:focus{outline:none;}", ""], buttonTokens.buttonColor, tokens.buttonColor, buttonTokens.buttonBackgroundColor, tokens.buttonBackgroundColor, buttonTokens.buttonColorHover, tokens.buttonHoverColor, buttonTokens.buttonBackgroundColorHover, tokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, tokens.buttonActiveColor, buttonTokens.buttonBackgroundColorActive, tokens.buttonBackgroundColorActive, buttonTokens.buttonFontFamily, tokens.paginationFontFamily, buttonTokens.buttonFontSize, tokens.paginationFontSize, buttonTokens.buttonFontStyle, tokens.paginationFontStyle, buttonTokens.buttonFontWeight, tokens.paginationFontWeight, buttonTokens.buttonLetterSpacing, tokens.paginationLetterSpacing, buttonTokens.buttonLineHeight, tokens.paginationLineHeight, buttonTokens.buttonWidth, tokens.buttonWidth, buttonTokens.buttonHeight, tokens.buttonHeight, buttonTokens.buttonRadius, tokens.buttonRadius, buttonTokens.buttonDisabledOpacity, tokens.buttonDisabledOpacity, buttonTokens.buttonFocusColor, tokens.buttonFocusColor, classes.paginationPageButtonActive, buttonTokens.buttonColor, tokens.paginationCurrentButtonColor, buttonTokens.buttonBackgroundColor, tokens.paginationCurrentButtonBackgroundColor, buttonTokens.buttonColorHover, tokens.paginationCurrentButtonHoverColor, buttonTokens.buttonBackgroundColorHover, tokens.paginationCurrentButtonHoverBackgroundColor, buttonTokens.buttonColorActive, tokens.paginationCurrentButtonActiveColor, buttonTokens.buttonBackgroundColorActive, tokens.paginationCurrentButtonActiveBackgroundColor, /*#__PURE__*/addFocus({
28
+ })(["", ":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(", "));}:focus{outline:none;}", ""], buttonTokens.buttonColor, tokens.buttonColor, buttonTokens.buttonBackgroundColor, tokens.buttonBackgroundColor, buttonTokens.buttonColorHover, tokens.buttonHoverColor, buttonTokens.buttonBackgroundColorHover, tokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, tokens.buttonActiveColor, buttonTokens.buttonBackgroundColorActive, tokens.buttonBackgroundColorActive, buttonTokens.buttonFontFamily, tokens.paginationFontFamily, buttonTokens.buttonFontSize, tokens.paginationFontSize, buttonTokens.buttonFontStyle, tokens.paginationFontStyle, buttonTokens.buttonFontWeight, tokens.paginationFontWeight, buttonTokens.buttonLetterSpacing, tokens.paginationLetterSpacing, buttonTokens.buttonLineHeight, tokens.paginationLineHeight, buttonTokens.buttonWidth, tokens.buttonWidth, buttonTokens.buttonHeight, tokens.buttonHeight, buttonTokens.buttonRadius, tokens.buttonRadius, buttonTokens.buttonDisabledOpacity, tokens.buttonDisabledOpacity, buttonTokens.buttonFocusColor, tokens.buttonFocusColor, classes.paginationPageButtonActive, buttonTokens.buttonColor, tokens.paginationCurrentButtonColor, buttonTokens.buttonBackgroundColor, tokens.paginationCurrentButtonBackgroundColor, buttonTokens.buttonColorHover, tokens.paginationCurrentButtonHoverColor, buttonTokens.buttonBackgroundColorHover, tokens.paginationCurrentButtonHoverBackgroundColor, buttonTokens.buttonColorActive, tokens.paginationCurrentButtonActiveColor, buttonTokens.buttonBackgroundColorActive, tokens.paginationCurrentButtonActiveBackgroundColor, classes.buttonDisabled, buttonTokens.buttonColor, tokens.paginationDisabledButtonColor, tokens.buttonColor, buttonTokens.buttonBackgroundColor, tokens.paginationDisabledButtonBackgroundColor, tokens.buttonBackgroundColor, /*#__PURE__*/addFocus({
29
29
  outlineOffset: 'calc(-1 * var(--plasma_private-btn-outline-size))',
30
30
  outlineSize: 'var(--plasma_private-btn-outline-size)',
31
31
  outlineRadius: 'var(--plasma_private-btn-br)',
@@ -11,7 +11,8 @@ export var classes = {
11
11
  withHasPerPageSelect: 'pagination-has-perpage-select',
12
12
  paginationPageButton: 'pagination-page-button',
13
13
  paginationPageButtonActive: 'pagination-page-button-active',
14
- paginationIconReverse: 'pagination-icon-reverse'
14
+ paginationIconReverse: 'pagination-icon-reverse',
15
+ buttonDisabled: 'pagination-button-disabled'
15
16
  };
16
17
  export var tokens = {
17
18
  paginationWidth: '--plasma-pagination-width',
@@ -35,6 +36,8 @@ export var tokens = {
35
36
  paginationCurrentButtonHoverColor: '--plasma-pagination-button-current-color-hover',
36
37
  paginationCurrentButtonActiveBackgroundColor: '--plasma-pagination-button-current-bg-color-active',
37
38
  paginationCurrentButtonActiveColor: '--plasma-pagination--button-current-color-active',
39
+ paginationDisabledButtonColor: '--plasma-pagination--button-color-disabled',
40
+ paginationDisabledButtonBackgroundColor: '--plasma-pagination--button-bg-color-disabled',
38
41
  buttonDisabledOpacity: '--plasma-pagination-button-disabled-opacity',
39
42
  buttonHeight: '--plasma-pagination-button-height',
40
43
  buttonWidthShorter: '--plasma-pagination-button-width-shorter',
@@ -9,7 +9,7 @@ export var SelectPerPageRoot = /*#__PURE__*/styled.div.withConfig({
9
9
  })(["display:flex;align-items:center;gap:0.5rem;"]);
10
10
  export var SelectPerPageSelect = /*#__PURE__*/styled(Select).withConfig({
11
11
  componentId: "plasma-new-hope__sc-1g304l9-1"
12
- })(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":0.125rem;", ":0.125rem;", ":var(", ");", ":calc(var(", ") - 0.125rem);", ":0 0.375rem 0 0;", ":1.5rem;", ":var(", ");"], selectTokens.targetButtonColor, tokens.buttonColor, selectTokens.targetButtonColorHover, tokens.buttonColorHover, selectTokens.targetButtonColorActive, tokens.buttonColorActive, selectTokens.targetButtonBackgroundColor, tokens.buttonBackgroundColor, selectTokens.targetButtonBackgroundColorHover, tokens.buttonBackgroundColorHover, selectTokens.targetButtonBackgroundColorActive, tokens.buttonBackgroundColorActive, selectTokens.targetHeight, tokens.buttonHeight, selectTokens.targetButtonPadding, tokens.selectTargetPadding, selectTokens.borderRadius, tokens.buttonRadius, selectTokens.targetButtonArrowColor, tokens.buttonArrowColor, selectTokens.targetButtonArrowColorHover, tokens.buttonArrowColorHover, selectTokens.targetButtonArrowColorActive, tokens.buttonArrowColorActive, selectTokens.targetButtonArrowMargin, tokens.buttonArrowMargin, selectTokens.padding, selectTokens.focusOffset, selectTokens.itemPadding, tokens.selectItemPadding, selectTokens.itemBorderRadius, tokens.buttonRadius, selectTokens.itemIconMargin, selectTokens.itemIconSize, selectTokens.itemHeight, tokens.selectItemHeight);
12
+ })(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":0.125rem;", ":0.125rem;", ":var(", ");", ":calc(var(", ") - 0.125rem);", ":0 0.375rem 0 0;", ":1.5rem;", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");"], selectTokens.targetButtonColor, tokens.buttonColor, selectTokens.targetButtonColorHover, tokens.buttonColorHover, selectTokens.targetButtonColorActive, tokens.buttonColorActive, selectTokens.targetButtonBackgroundColor, tokens.buttonBackgroundColor, selectTokens.targetButtonBackgroundColorHover, tokens.buttonBackgroundColorHover, selectTokens.targetButtonBackgroundColorActive, tokens.buttonBackgroundColorActive, selectTokens.targetHeight, tokens.buttonHeight, selectTokens.targetButtonPadding, tokens.selectTargetPadding, selectTokens.borderRadius, tokens.buttonRadius, selectTokens.targetButtonArrowColor, tokens.buttonArrowColor, selectTokens.targetButtonArrowColorHover, tokens.buttonArrowColorHover, selectTokens.targetButtonArrowColorActive, tokens.buttonArrowColorActive, selectTokens.targetButtonArrowMargin, tokens.buttonArrowMargin, selectTokens.padding, selectTokens.focusOffset, selectTokens.itemPadding, tokens.selectItemPadding, selectTokens.itemBorderRadius, tokens.buttonRadius, selectTokens.itemIconMargin, selectTokens.itemIconSize, selectTokens.itemHeight, tokens.selectItemHeight, selectTokens.fontFamily, tokens.paginationFontFamily, selectTokens.fontSize, tokens.paginationFontSize, selectTokens.fontStyle, tokens.paginationFontStyle, selectTokens.fontWeight, tokens.paginationFontWeight, selectTokens.fontLetterSpacing, tokens.paginationLetterSpacing, selectTokens.fontLineHeight, tokens.paginationLineHeight);
13
13
  export var SelectPerPageTypography = /*#__PURE__*/styled.div.withConfig({
14
14
  componentId: "plasma-new-hope__sc-1g304l9-2"
15
15
  })(["font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");"], tokens.paginationFontFamily, tokens.paginationFontSize, tokens.paginationFontStyle, tokens.paginationFontWeight, tokens.paginationLetterSpacing, tokens.paginationLineHeight);
@@ -14,8 +14,7 @@ export var classes = {
14
14
  tabsHasTopArrow: 'tabs-has-top-arrow',
15
15
  tabsHasBottomArrow: 'tabs-has-bottom-arrow',
16
16
  tabsClipScroll: 'tabs-clip-scroll',
17
- tabsClipShowAll: 'tabs-clip-show-all',
18
- tabsTruncate: 'tabs-truncate'
17
+ tabsClipShowAll: 'tabs-clip-show-all'
19
18
  };
20
19
  export var tokens = {
21
20
  disabledOpacity: '--plasma-tabs-disabled-opacity',
@@ -79,5 +78,11 @@ export var tokens = {
79
78
  fontStyle: '--plasma-tab-item-font-style',
80
79
  fontWeight: '--plasma-tab-item-font-weight',
81
80
  letterSpacing: '--plasma-tab-item-letter-spacing',
82
- lineHeight: '--plasma-tab-item-lineheight'
81
+ lineHeight: '--plasma-tab-item-lineheight',
82
+ valueFontFamily: '--plasma-tab-item-value-font-family',
83
+ valueFontSize: '--plasma-tab-item-value-font-size',
84
+ valueFontStyle: '--plasma-tab-item-value-font-style',
85
+ valueFontWeight: '--plasma-tab-item-value-font-weight',
86
+ valueLetterSpacing: '--plasma-tab-item-value-letter-spacing',
87
+ valueLineHeight: '--plasma-tab-item-value-lineheight'
83
88
  };
@@ -1,11 +1,5 @@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- var _excluded = ["size", "view", "isActive", "selected", "disabled", "pilled", "children", "value", "contentLeft", "contentRight", "animated", "onIndexChange", "itemIndex", "tabIndex", "className", "onClick", "maxItemWidth"];
1
+ var _excluded = ["size", "view", "isActive", "selected", "disabled", "pilled", "children", "value", "contentLeft", "contentRight", "animated", "onIndexChange", "itemIndex", "tabIndex", "className", "onClick"];
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
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
8
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
9
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; }
10
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; }
11
5
  import React, { forwardRef, useRef, useContext, useEffect, useCallback } from 'react';
@@ -17,7 +11,6 @@ import { base as viewCSS } from './variations/_view/base';
17
11
  import { base as sizeCSS } from './variations/_size/base';
18
12
  import { base as pilledCSS } from './variations/_pilled/base';
19
13
  import { base as disabledCSS } from './variations/_disabled/base';
20
- import { base as truncateCSS } from './variations/_truncate/base';
21
14
  import { LeftContent, RightContent, StyledContent, TabItemValue, base } from './HorizontalTabItem.styles';
22
15
  export var horizontalTabItemRoot = function horizontalTabItemRoot(Root) {
23
16
  return /*#__PURE__*/forwardRef(function (props, outerRef) {
@@ -40,13 +33,11 @@ export var horizontalTabItemRoot = function horizontalTabItemRoot(Root) {
40
33
  tabIndex = props.tabIndex,
41
34
  className = props.className,
42
35
  onClick = props.onClick,
43
- maxWidth = props.maxItemWidth,
44
36
  rest = _objectWithoutProperties(props, _excluded);
45
37
  var innerRef = useRef(null);
46
38
  var ref = useForkRef(outerRef, innerRef);
47
39
  var refs = useContext(TabsContext);
48
40
  var role = 'tab';
49
- var truncate = maxWidth !== 'auto';
50
41
  var pilledAttr = view !== 'clear' && pilled;
51
42
  var animatedClass = animated ? classes.tabItemAnimated : undefined;
52
43
  var pilledClass = pilledAttr ? classes.tabsPilled : undefined;
@@ -105,16 +96,11 @@ export var horizontalTabItemRoot = function horizontalTabItemRoot(Root) {
105
96
  // TODO: убрать каст any, когда будут удалены deprecated props
106
97
  ,
107
98
  size: size,
108
- truncate: truncate,
109
99
  onFocus: onItemFocus,
110
100
  tabIndex: hasKeyNavigation ? navigationTabIndex : tabIndex,
111
- className: cx(pilledClass, selectedClass, animatedClass, truncate && classes.tabsTruncate, className),
101
+ className: cx(pilledClass, selectedClass, animatedClass, className),
112
102
  onClick: handleClick
113
- }, rest, {
114
- style: _objectSpread(_objectSpread({}, rest.style), {}, {
115
- maxWidth: maxWidth
116
- })
117
- }), /*#__PURE__*/React.createElement(React.Fragment, null, contentLeft && /*#__PURE__*/React.createElement(LeftContent, {
103
+ }, rest), /*#__PURE__*/React.createElement(React.Fragment, null, contentLeft && /*#__PURE__*/React.createElement(LeftContent, {
118
104
  className: classes.tabLeftContent
119
105
  }, contentLeft), /*#__PURE__*/React.createElement(StyledContent, {
120
106
  className: classes.tabContent
@@ -141,9 +127,6 @@ export var horizontalTabItemConfig = {
141
127
  },
142
128
  pilled: {
143
129
  css: pilledCSS
144
- },
145
- truncate: {
146
- css: truncateCSS
147
130
  }
148
131
  },
149
132
  defaults: {
@@ -2,7 +2,7 @@ import styled from 'styled-components';
2
2
  import { css } from 'styled-components';
3
3
  import { addFocus } from '../../../../../mixins';
4
4
  import { tokens } from '../../../tokens';
5
- export var base = /*#__PURE__*/css(["position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;align-items:center;white-space:nowrap;gap:var(", ");padding:var(", ",var(", "));appearance:none;border:none;outline:none;cursor:pointer;-webkit-tap-highlight-color:transparent;&:first-child{margin-left:0;}", ";"], tokens.itemContentGap, tokens.itemPaddingClear, tokens.itemPadding, /*#__PURE__*/addFocus({
5
+ export var base = /*#__PURE__*/css(["position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;align-items:center;gap:var(", ");padding:var(", ",var(", "));appearance:none;border:none;outline:none;cursor:pointer;-webkit-tap-highlight-color:transparent;&:first-child{margin-left:0;}", ";"], tokens.itemContentGap, tokens.itemPaddingClear, tokens.itemPadding, /*#__PURE__*/addFocus({
6
6
  outlineSize: '0.063rem',
7
7
  outlineOffset: '-0.125rem',
8
8
  outlineColor: /*#__PURE__*/"var(".concat(tokens.outlineFocusColor, ")"),
@@ -14,7 +14,7 @@ export var StyledContent = /*#__PURE__*/styled.div.withConfig({
14
14
  })(["display:inline-block;width:fit-content;padding:0 var(", ",var(", "));"], tokens.itemContentPaddingClear, tokens.itemContentPadding);
15
15
  export var TabItemValue = /*#__PURE__*/styled.span.withConfig({
16
16
  componentId: "plasma-new-hope__sc-lremls-1"
17
- })(["color:var(", ");"], tokens.itemValueColor);
17
+ })(["color:var(", ");font-family:var(", ",var(", "));font-size:var(", ",var(", "));font-style:var(", ",var(", "));font-weight:var(", ",var(", "));letter-spacing:var(", ",var(", "));line-height:var(", ",var(", "));"], tokens.itemValueColor, tokens.valueFontFamily, tokens.fontFamily, tokens.valueFontSize, tokens.fontSize, tokens.valueFontStyle, tokens.fontStyle, tokens.valueFontWeight, tokens.fontWeight, tokens.valueLetterSpacing, tokens.letterSpacing, tokens.valueLineHeight, tokens.lineHeight);
18
18
  export var RightContent = /*#__PURE__*/styled.div.withConfig({
19
19
  componentId: "plasma-new-hope__sc-lremls-2"
20
20
  })(["display:flex;color:inherit;&:hover{color:inherit;}"]);
@@ -1,11 +1,5 @@
1
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- var _excluded = ["size", "view", "selected", "disabled", "children", "value", "contentLeft", "contentRight", "onIndexChange", "itemIndex", "tabIndex", "className", "onClick", "maxItemWidth"];
1
+ var _excluded = ["size", "view", "selected", "disabled", "children", "value", "contentLeft", "contentRight", "onIndexChange", "itemIndex", "tabIndex", "className", "onClick"];
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
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
8
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
9
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; }
10
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; }
11
5
  import React, { forwardRef, useRef, useContext, useEffect, useCallback } from 'react';
@@ -17,7 +11,6 @@ import { base, LeftContent, RightContent, StyledContent, TabItemValue } from './
17
11
  import { base as viewCSS } from './variations/_view/base';
18
12
  import { base as sizeCSS } from './variations/_size/base';
19
13
  import { base as disabledCSS } from './variations/_disabled/base';
20
- import { base as truncateCSS } from './variations/_truncate/base';
21
14
  export var verticalTabItemRoot = function verticalTabItemRoot(Root) {
22
15
  return /*#__PURE__*/forwardRef(function (props, outerRef) {
23
16
  var size = props.size,
@@ -34,13 +27,11 @@ export var verticalTabItemRoot = function verticalTabItemRoot(Root) {
34
27
  tabIndex = props.tabIndex,
35
28
  className = props.className,
36
29
  onClick = props.onClick,
37
- maxWidth = props.maxItemWidth,
38
30
  rest = _objectWithoutProperties(props, _excluded);
39
31
  var innerRef = useRef(null);
40
32
  var ref = useForkRef(outerRef, innerRef);
41
33
  var refs = useContext(TabsContext);
42
34
  var role = 'tab';
43
- var truncate = maxWidth !== 'auto';
44
35
  var selectedClass = selected ? classes.selectedTabsItem : undefined;
45
36
  var hasKeyNavigation = itemIndex !== undefined && onIndexChange !== undefined;
46
37
  var navigationTabIndex = !disabled && (refs === null || refs === void 0 ? void 0 : refs.current) === itemIndex ? 0 : -1;
@@ -92,16 +83,11 @@ export var verticalTabItemRoot = function verticalTabItemRoot(Root) {
92
83
  role: role,
93
84
  view: view,
94
85
  size: size,
95
- truncate: truncate,
96
86
  onFocus: onItemFocus,
97
87
  tabIndex: hasKeyNavigation ? navigationTabIndex : tabIndex,
98
- className: cx(selectedClass, truncate && classes.tabsTruncate, className),
88
+ className: cx(selectedClass, className),
99
89
  onClick: handleClick
100
- }, rest, {
101
- style: _objectSpread(_objectSpread({}, rest.style), {}, {
102
- maxWidth: maxWidth
103
- })
104
- }), /*#__PURE__*/React.createElement(React.Fragment, null, contentLeft && /*#__PURE__*/React.createElement(LeftContent, {
90
+ }, rest), /*#__PURE__*/React.createElement(React.Fragment, null, contentLeft && /*#__PURE__*/React.createElement(LeftContent, {
105
91
  className: classes.tabLeftContent
106
92
  }, contentLeft), /*#__PURE__*/React.createElement(StyledContent, {
107
93
  className: classes.tabContent
@@ -125,9 +111,6 @@ export var verticalTabItemConfig = {
125
111
  disabled: {
126
112
  css: disabledCSS,
127
113
  attrs: true
128
- },
129
- truncate: {
130
- css: truncateCSS
131
114
  }
132
115
  },
133
116
  defaults: {
@@ -4,7 +4,7 @@ import { css } from 'styled-components';
4
4
  import styled from 'styled-components';
5
5
  import { addFocus } from '../../../../../mixins';
6
6
  import { tokens } from '../../../tokens';
7
- export var base = /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n position: relative;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n box-sizing: border-box;\n white-space: nowrap;\n\n gap: var(", ");\n padding: var(", ");\n\n appearance: none;\n border: none;\n outline: none;\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n\n ", ";\n"])), tokens.itemContentGap, tokens.itemPaddingOrientationVertical, /*#__PURE__*/addFocus({
7
+ export var base = /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n position: relative;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n box-sizing: border-box;\n align-items: center;\n\n gap: var(", ");\n padding: var(", ");\n\n appearance: none;\n border: none;\n outline: none;\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n\n ", ";\n"])), tokens.itemContentGap, tokens.itemPaddingOrientationVertical, /*#__PURE__*/addFocus({
8
8
  outlineSize: '0.063rem',
9
9
  outlineOffset: '-0.125rem',
10
10
  outlineColor: /*#__PURE__*/"var(".concat(tokens.outlineFocusColor, ")"),
@@ -16,7 +16,7 @@ export var StyledContent = /*#__PURE__*/styled.div.withConfig({
16
16
  })(["display:inline-block;width:fit-content;padding:0 var(", ",var(", "));"], tokens.itemContentPaddingClear, tokens.itemContentPadding);
17
17
  export var TabItemValue = /*#__PURE__*/styled.span.withConfig({
18
18
  componentId: "plasma-new-hope__sc-1pflgj8-1"
19
- })(["white-space:nowrap;color:var(", ");"], tokens.itemValueColor);
19
+ })(["color:var(", ");font-family:var(", ",var(", "));font-size:var(", ",var(", "));font-style:var(", ",var(", "));font-weight:var(", ",var(", "));letter-spacing:var(", ",var(", "));line-height:var(", ",var(", "));"], tokens.itemValueColor, tokens.valueFontFamily, tokens.fontFamily, tokens.valueFontSize, tokens.fontSize, tokens.valueFontStyle, tokens.fontStyle, tokens.valueFontWeight, tokens.fontWeight, tokens.valueLetterSpacing, tokens.letterSpacing, tokens.valueLineHeight, tokens.lineHeight);
20
20
  export var RightContent = /*#__PURE__*/styled.div.withConfig({
21
21
  componentId: "plasma-new-hope__sc-1pflgj8-2"
22
22
  })(["display:flex;color:inherit;&:hover{color:inherit;}"]);
@@ -1,6 +1,5 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- var _IconCross;
3
- var _excluded = ["role", "width", "text", "hasClose", "contentLeft", "view", "size", "pilled", "className", "style", "onCloseButtonClick"];
2
+ var _excluded = ["role", "width", "text", "hasClose", "contentLeft", "view", "size", "pilled", "className", "style", "closeIconType", "onCloseButtonClick"];
4
3
  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); }
5
4
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6
5
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
@@ -12,10 +11,12 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
12
11
  import React, { forwardRef } from 'react';
13
12
  import { cx } from '../../utils';
14
13
  import { IconCross } from '../_Icon/Icons/IconCross';
15
- import { classes } from './Toast.tokens';
14
+ import { IconCrossThin } from '../_Icon/Icons/IconCrossThin';
15
+ import { classes, tokens } from './Toast.tokens';
16
16
  import { base as viewCSS } from './variations/_view/base';
17
17
  import { base as sizeCSS } from './variations/_size/base';
18
18
  import { base as pilledCSS } from './variations/_pilled/base';
19
+ import { base as closeIconTypeCSS } from './variations/_closeIconType/base';
19
20
  import { CloseIconWrapper, StyledContent, StyledContentLeft, base } from './Toast.styles';
20
21
 
21
22
  // TODO https://github.com/salute-developers/plasma/issues/1015
@@ -32,6 +33,7 @@ export var toastRoot = function toastRoot(Root) {
32
33
  pilled = props.pilled,
33
34
  className = props.className,
34
35
  style = props.style,
36
+ closeIconType = props.closeIconType,
35
37
  onCloseButtonClick = props.onCloseButtonClick,
36
38
  rest = _objectWithoutProperties(props, _excluded);
37
39
  var pilledClass = pilled ? classes.toastPilled : undefined;
@@ -47,6 +49,7 @@ export var toastRoot = function toastRoot(Root) {
47
49
  view: view,
48
50
  size: size,
49
51
  pilled: pilled,
52
+ closeIconType: closeIconType,
50
53
  className: cx(pilledClass, className),
51
54
  style: _objectSpread({
52
55
  width: width ? fixedWidth : 'unset'
@@ -61,10 +64,15 @@ export var toastRoot = function toastRoot(Root) {
61
64
  onClick: onCloseButtonClick,
62
65
  className: cx(classes.closeIcon),
63
66
  stretching: "fixed"
64
- }, _IconCross || (_IconCross = /*#__PURE__*/React.createElement(IconCross, {
67
+ }, closeIconType === 'default' ? /*#__PURE__*/React.createElement(IconCross, {
65
68
  size: "s",
69
+ sizeCustomProperty: tokens.closeIconSize,
66
70
  color: "inherit"
67
- }))));
71
+ }) : /*#__PURE__*/React.createElement(IconCrossThin, {
72
+ size: "s",
73
+ sizeCustomProperty: tokens.closeIconSize,
74
+ color: "inherit"
75
+ })));
68
76
  });
69
77
  };
70
78
  export var toastConfig = {
@@ -82,10 +90,14 @@ export var toastConfig = {
82
90
  pilled: {
83
91
  css: pilledCSS,
84
92
  attrs: true
93
+ },
94
+ closeIconType: {
95
+ css: closeIconTypeCSS
85
96
  }
86
97
  },
87
98
  defaults: {
88
99
  view: 'primary',
89
- size: 'm'
100
+ size: 'm',
101
+ closeIconType: 'default'
90
102
  }
91
103
  };
@@ -28,7 +28,7 @@ export var StyledRoot = /*#__PURE__*/styled.div.withConfig({
28
28
  });
29
29
  export var CloseIconWrapper = /*#__PURE__*/styled(Button).withConfig({
30
30
  componentId: "plasma-new-hope__sc-19l9ekl-1"
31
- })(["height:1rem;--plasma_private-close-icon-margin:var(", ");margin:var(--plasma_private-close-icon-margin);color:var(", ");:hover{color:var(", ");}"], tokens.closeIconMargin, tokens.closeIconColor, tokens.closeIconColorOnHover);
31
+ })(["height:var(", ");--plasma_private-close-icon-margin:var(", ");margin:var(--plasma_private-close-icon-margin);color:var(", ");:hover{color:var(", ");}"], tokens.closeIconButtonSize, tokens.closeIconMargin, tokens.closeIconColor, tokens.closeIconColorOnHover);
32
32
  export var StyledOverlay = /*#__PURE__*/styled(Overlay).withConfig({
33
33
  componentId: "plasma-new-hope__sc-19l9ekl-2"
34
34
  })(["&&.", "{animation:0.3s showFadeAnimation ease-out forwards;}&&.", "{animation:0.3s hideFadeAnimation ease-out forwards;}@keyframes showFadeAnimation{0%{opacity:0;}100%{opacity:1;}}@keyframes hideFadeAnimation{0%{opacity:1;}100%{opacity:0;}}"], /*#__PURE__*/String(classes.toastFadeShowed), /*#__PURE__*/String(classes.toastFadeHidden));
@@ -22,5 +22,7 @@ export var tokens = {
22
22
  leftContentMargin: '--plasma-toast-left-content-margin',
23
23
  closeIconMargin: '--plasma-toast-close-icon-margin',
24
24
  closeIconColor: '--plasma-toast-close-icon-color',
25
- closeIconColorOnHover: '--plasma-toast-close-icon-color-on-hover'
25
+ closeIconColorOnHover: '--plasma-toast-close-icon-color-on-hover',
26
+ closeIconSize: '--plasma-toast-close-icon-size',
27
+ closeIconButtonSize: '--plasma-toast-close-icon-button-size'
26
28
  };
@@ -0,0 +1,2 @@
1
+ import { css } from 'styled-components';
2
+ export var base = /*#__PURE__*/css([""]);
@@ -0,0 +1 @@
1
+ ["--plasma-notification-close-icon-size", "--plasma-notification-close-icon-button-size"]
@@ -0,0 +1,14 @@
1
+ var _path;
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); }
3
+ import React from 'react';
4
+ export var CrossThin = function CrossThin(props) {
5
+ return /*#__PURE__*/React.createElement("svg", _extends({
6
+ width: "100%",
7
+ viewBox: "0 0 24 24",
8
+ fill: "none"
9
+ }, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
10
+ id: "icon",
11
+ d: "M5.46 5.46C5.76 5.17 6.23 5.17 6.53 5.46L12 10.93L17.46 5.46C17.76 5.17 18.23 5.17 18.53 5.46C18.82 5.76 18.82 6.23 18.53 6.53L13.06 12L18.53 17.46C18.82 17.76 18.82 18.23 18.53 18.53C18.23 18.82 17.76 18.82 17.46 18.53L12 13.06L6.53 18.53C6.23 18.82 5.76 18.82 5.46 18.53C5.17 18.23 5.17 17.76 5.46 17.46L10.93 12L5.46 6.53C5.17 6.23 5.17 5.76 5.46 5.46Z",
12
+ fill: "currentColor"
13
+ })));
14
+ };
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { CrossThin } from '../Icon.assets/CrossThin';
3
+ import { IconRoot } from '../IconRoot';
4
+ export var IconCrossThin = function IconCrossThin(_ref) {
5
+ var _ref$size = _ref.size,
6
+ size = _ref$size === void 0 ? 's' : _ref$size,
7
+ color = _ref.color,
8
+ className = _ref.className,
9
+ sizeCustomProperty = _ref.sizeCustomProperty;
10
+ return /*#__PURE__*/React.createElement(IconRoot, {
11
+ className: className,
12
+ size: size,
13
+ color: color,
14
+ sizeCustomProperty: sizeCustomProperty,
15
+ icon: CrossThin
16
+ });
17
+ };
@@ -8,10 +8,10 @@ export var config = {
8
8
  },
9
9
  variations: {
10
10
  view: {
11
- "default": /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--text-tertiary);", ":var(--surface-transparent-primary);", ":var(--surface-transparent-secondary);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-tertiary);", ":var(--text-primary);", ":var(--text-secondary);", ":var(--text-accent);", ":var(--surface-solid-card);", ":0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);", ":var(--plasma-colors-transparent);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-accent);", ":var(--text-primary);"], tokens.textFieldColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldPlaceholderColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.background, tokens.boxShadow, tokens.itemBackground, tokens.itemBackgroundHover, tokens.itemColor, tokens.focusColor, tokens.infiniteLoaderSpinnerColor),
12
- positive: /*#__PURE__*/css(["", ":var(--plasma-colors-primary);", ":var(--text-tertiary);", ":var(--surface-transparent-positive);", ":var(--surface-transparent-positive-active);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-tertiary);", ":var(--text-primary);", ":var(--text-positive);", ":var(--text-accent);", ":var(--surface-solid-card);", ":0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);", ":var(--plasma-colors-transparent);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-accent);", ":var(--text-primary);"], tokens.textFieldColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldPlaceholderColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.background, tokens.boxShadow, tokens.itemBackground, tokens.itemBackgroundHover, tokens.itemColor, tokens.focusColor, tokens.infiniteLoaderSpinnerColor),
13
- warning: /*#__PURE__*/css(["", ":var(--plasma-colors-primary);", ":var(--text-tertiary);", ":var(--surface-transparent-warning);", ":var(--surface-transparent-warning-active);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-tertiary);", ":var(--text-primary);", ":var(--text-warning);", ":var(--text-accent);", ":var(--surface-solid-card);", ":0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);", ":var(--plasma-colors-transparent);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-accent);", ":var(--text-primary);"], tokens.textFieldColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldPlaceholderColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.background, tokens.boxShadow, tokens.itemBackground, tokens.itemBackgroundHover, tokens.itemColor, tokens.focusColor, tokens.infiniteLoaderSpinnerColor),
14
- negative: /*#__PURE__*/css(["", ":var(--plasma-colors-primary);", ":var(--surface-transparent-negative);", ":var(--surface-transparent-negative-active);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-tertiary);", ":var(--text-primary);", ":var(--text-negative);", ":var(--text-accent);", ":var(--surface-solid-card);", ":0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);", ":var(--plasma-colors-transparent);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-accent);", ":var(--text-primary);"], tokens.textFieldColor, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldPlaceholderColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.background, tokens.boxShadow, tokens.itemBackground, tokens.itemBackgroundHover, tokens.itemColor, tokens.focusColor, tokens.infiniteLoaderSpinnerColor)
11
+ "default": /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--text-tertiary);", ":var(--surface-transparent-primary);", ":var(--surface-transparent-secondary);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-tertiary);", ":var(--text-primary);", ":var(--text-secondary);", ":var(--text-accent);", ":var(--surface-solid-card);", ":0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);", ":var(--plasma-colors-transparent);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-accent);", ":", ";", ":", ";", ":var(--text-primary);"], tokens.textFieldColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldPlaceholderColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.background, tokens.boxShadow, tokens.itemBackground, tokens.itemBackgroundHover, tokens.itemColor, tokens.focusColor, tokens.textFieldContentSlotColor, tokens.textFieldColor, tokens.textFieldContentSlotRightColor, tokens.textFieldColor, tokens.infiniteLoaderSpinnerColor),
12
+ positive: /*#__PURE__*/css(["", ":var(--plasma-colors-primary);", ":var(--text-tertiary);", ":var(--surface-transparent-positive);", ":var(--surface-transparent-positive-active);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-tertiary);", ":var(--text-primary);", ":var(--text-positive);", ":var(--text-accent);", ":var(--surface-solid-card);", ":0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);", ":var(--plasma-colors-transparent);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-accent);", ":", ";", ":", ";", ":var(--text-primary);"], tokens.textFieldColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldPlaceholderColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.background, tokens.boxShadow, tokens.itemBackground, tokens.itemBackgroundHover, tokens.itemColor, tokens.focusColor, tokens.textFieldContentSlotColor, tokens.textFieldColor, tokens.textFieldContentSlotRightColor, tokens.textFieldColor, tokens.infiniteLoaderSpinnerColor),
13
+ warning: /*#__PURE__*/css(["", ":var(--plasma-colors-primary);", ":var(--text-tertiary);", ":var(--surface-transparent-warning);", ":var(--surface-transparent-warning-active);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-tertiary);", ":var(--text-primary);", ":var(--text-warning);", ":var(--text-accent);", ":var(--surface-solid-card);", ":0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);", ":var(--plasma-colors-transparent);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-accent);", ":", ";", ":", ";", ":var(--text-primary);"], tokens.textFieldColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldPlaceholderColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.background, tokens.boxShadow, tokens.itemBackground, tokens.itemBackgroundHover, tokens.itemColor, tokens.focusColor, tokens.textFieldContentSlotColor, tokens.textFieldColor, tokens.textFieldContentSlotRightColor, tokens.textFieldColor, tokens.infiniteLoaderSpinnerColor),
14
+ negative: /*#__PURE__*/css(["", ":var(--plasma-colors-primary);", ":var(--surface-transparent-negative);", ":var(--surface-transparent-negative-active);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-tertiary);", ":var(--text-primary);", ":var(--text-negative);", ":var(--text-accent);", ":var(--surface-solid-card);", ":0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);", ":var(--plasma-colors-transparent);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-accent);", ":", ";", ":", ";", ":var(--text-primary);"], tokens.textFieldColor, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldPlaceholderColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.background, tokens.boxShadow, tokens.itemBackground, tokens.itemBackgroundHover, tokens.itemColor, tokens.focusColor, tokens.textFieldContentSlotColor, tokens.textFieldColor, tokens.textFieldContentSlotRightColor, tokens.textFieldColor, tokens.infiniteLoaderSpinnerColor)
15
15
  },
16
16
  size: {
17
17
  l: /*#__PURE__*/css(["", ":3.5rem;", ":1.0625rem 1.125rem 1.0625rem 1.125rem;", ":0.875rem;", ":-0.0625rem 0.5rem -0.0625rem -0.125rem;", ":-0.0625rem -0.125rem -0.0625rem 0.75rem;", ":0 0.25rem 0 0;", ":0 0 0 0.25rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0.75rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.5625rem 0 0.125rem 0;", ":1.5625rem 0 0.5625rem 0;", ":0.875rem;", ":0.125rem;", ":1.0625rem 1rem;", ":0.75rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":2rem 1rem 1rem 1rem;", ":0.5rem;", ":1.5rem;", ":0.5rem;"], tokens.textFieldHeight, tokens.textFieldPadding, tokens.textFieldBorderRadius, tokens.textFieldLeftContentMargin, tokens.textFieldRightContentMargin, tokens.textFieldTextBeforeMargin, tokens.textFieldTextAfterMargin, tokens.textFieldFontFamily, tokens.textFieldFontSize, tokens.textFieldFontStyle, tokens.textFieldFontWeight, tokens.textFieldLetterSpacing, tokens.textFieldLineHeight, tokens.textFieldLabelOffset, tokens.textFieldLabelFontFamily, tokens.textFieldLabelFontSize, tokens.textFieldLabelFontStyle, tokens.textFieldLabelFontWeight, tokens.textFieldLabelLetterSpacing, tokens.textFieldLabelLineHeight, tokens.textFieldLeftHelperOffset, tokens.textFieldLeftHelperFontFamily, tokens.textFieldLeftHelperFontSize, tokens.textFieldLeftHelperFontStyle, tokens.textFieldLeftHelperFontWeight, tokens.textFieldLeftHelperLetterSpacing, tokens.textFieldLeftHelperLineHeight, tokens.textFieldLabelInnerPadding, tokens.textFieldContentLabelInnerPadding, tokens.borderRadius, tokens.padding, tokens.itemPadding, tokens.itemBorderRadius, tokens.itemFontFamily, tokens.itemFontSize, tokens.itemFontStyle, tokens.itemFontWeight, tokens.itemFontLetterSpacing, tokens.itemFontLineHeight, tokens.emptyStatePadding, tokens.emptyStateGap, tokens.infiniteLoaderSpinnerSize, tokens.infiniteLoaderGap),
@@ -29,9 +29,6 @@ export var config = {
29
29
  },
30
30
  clear: {
31
31
  "true": /*#__PURE__*/css([""])
32
- },
33
- truncate: {
34
- "true": /*#__PURE__*/css([""])
35
32
  }
36
33
  }
37
34
  };
@@ -31,9 +31,6 @@ const meta: Meta<typeof Badge> = {
31
31
  control: { type: 'boolean' },
32
32
  if: { arg: 'clear', truthy: false },
33
33
  },
34
- maxWidth: {
35
- control: { type: 'text' },
36
- },
37
34
  ...disableProps(['contentLeft', 'contentRight']),
38
35
  },
39
36
  };
@@ -67,7 +64,7 @@ export const Default: Story = {
67
64
  },
68
65
  },
69
66
  args: {
70
- text: 'Hello Kitty',
67
+ text: 'Hello',
71
68
  view: 'default',
72
69
  size: 'm',
73
70
  enableContentLeft: false,
@@ -75,7 +72,6 @@ export const Default: Story = {
75
72
  clear: false,
76
73
  pilled: false,
77
74
  transparent: false,
78
- maxWidth: '',
79
75
  },
80
76
  render: ({ enableContentLeft, enableContentRight, size, ...rest }: StoryProps) => {
81
77
  const iconSize = size === 'l' ? '1rem' : '0.75rem';