@salutejs/plasma-new-hope 0.175.1-canary.1497.11552145733.0 → 0.175.1-canary.1506.11553215359.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (465) 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_1ye9068.css} +1 -1
  7. package/cjs/components/Calendar/Calendar.tokens.js +3 -0
  8. package/cjs/components/Calendar/Calendar.tokens.js.map +1 -1
  9. package/cjs/components/Calendar/CalendarBase/CalendarBase.css +11 -10
  10. package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  11. package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  12. package/{es/components/Calendar/CalendarBase/CalendarBase.styles_1m6uih1.css → cjs/components/Calendar/CalendarBase/CalendarBase.styles_ni8729.css} +1 -1
  13. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +11 -10
  14. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.css +9 -8
  15. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -4
  16. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  17. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +11 -1
  18. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  19. package/{es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1jfelqf.css → cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1xijs8w.css} +1 -0
  20. package/cjs/components/Combobox/ComboboxNew/Combobox.css +12 -12
  21. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +10 -10
  22. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  23. package/{es/components/Combobox/ComboboxNew/Combobox.styles_1s09ifw.css → cjs/components/Combobox/ComboboxNew/Combobox.styles_1nqrvms.css} +1 -1
  24. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
  25. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  26. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +12 -12
  27. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +12 -12
  28. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +2 -1
  29. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  30. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +21 -7
  31. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  32. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/{Item.styles_y71664.css → Item.styles_1njzasn.css} +3 -3
  33. package/cjs/components/Combobox/ComboboxOld/Combobox.css +14 -28
  34. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +18 -32
  35. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +18 -32
  36. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +18 -32
  37. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +18 -32
  38. package/cjs/components/DatePicker/DatePicker.tokens.js +5 -0
  39. package/cjs/components/DatePicker/DatePicker.tokens.js.map +1 -1
  40. package/cjs/components/DatePicker/DatePickerBase.styles.js +1 -1
  41. package/cjs/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  42. package/cjs/components/DatePicker/DatePickerBase.styles_1x090si.css +2 -0
  43. package/cjs/components/DatePicker/RangeDate/RangeDate.css +15 -14
  44. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +13 -12
  45. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +1 -1
  46. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1i6gpss.css +2 -0
  47. package/cjs/components/DatePicker/SingleDate/SingleDate.css +15 -14
  48. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  49. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  50. package/{es/components/DatePicker/SingleDate/SingleDate.styles_1rrq00l.css → cjs/components/DatePicker/SingleDate/SingleDate.styles_e72b5o.css} +1 -1
  51. package/cjs/components/Dropdown/Dropdown.css +16 -30
  52. package/cjs/components/Dropdown/Dropdown.js +37 -60
  53. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  54. package/cjs/components/Dropdown/Dropdown.styles.js +26 -14
  55. package/cjs/components/Dropdown/Dropdown.styles.js.map +1 -1
  56. package/cjs/components/Dropdown/Dropdown.styles_zvi9m3.css +3 -0
  57. package/cjs/components/Dropdown/Dropdown.tokens.js +3 -24
  58. package/cjs/components/Dropdown/Dropdown.tokens.js.map +1 -1
  59. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +51 -17
  60. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  61. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.css +6 -46
  62. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +18 -29
  63. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  64. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +31 -25
  65. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  66. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles_blclup.css +6 -0
  67. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +1 -1
  68. package/cjs/components/Dropdown/ui/DropdownItemOld/{DropdownItem.styles_1lyg81y.css → DropdownItem.styles_12e50g5.css} +1 -1
  69. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.css +4 -4
  70. package/cjs/components/Dropdown/utils/index.js.map +1 -1
  71. package/cjs/components/Notification/Notification.css +11 -11
  72. package/cjs/components/Notification/Notification.styles.js +15 -15
  73. package/cjs/components/Notification/Notification.styles.js.map +1 -1
  74. package/cjs/components/Notification/{Notification.styles_7h8hp0.css → Notification.styles_1g34msm.css} +1 -1
  75. package/cjs/components/Notification/Notification.tokens.js +2 -0
  76. package/cjs/components/Notification/Notification.tokens.js.map +1 -1
  77. package/cjs/components/Notification/NotificationsProvider.css +11 -11
  78. package/cjs/components/Pagination/Pagination.css +10 -10
  79. package/cjs/components/Pagination/Pagination.js +5 -5
  80. package/cjs/components/Pagination/Pagination.js.map +1 -1
  81. package/cjs/components/Pagination/Pagination.styles.js +3 -3
  82. package/cjs/components/Pagination/Pagination.styles.js.map +1 -1
  83. package/cjs/components/Pagination/{Pagination.styles_y6gcva.css → Pagination.styles_1w5oej6.css} +1 -1
  84. package/cjs/components/Pagination/Pagination.tokens.js +4 -1
  85. package/cjs/components/Pagination/Pagination.tokens.js.map +1 -1
  86. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +3 -3
  87. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  88. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  89. package/cjs/components/Pagination/ui/PaginationSelectPerPage/{PaginationSelectPerPage.styles_187mk6b.css → PaginationSelectPerPage.styles_1fesyfv.css} +1 -1
  90. package/cjs/components/Select/Select.js +1 -1
  91. package/cjs/components/Select/utils/getCorrectHeight.js.map +1 -1
  92. package/cjs/components/Tabs/tokens.js +7 -1
  93. package/cjs/components/Tabs/tokens.js.map +1 -1
  94. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +5 -5
  95. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  96. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  97. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/{HorizontalTabItem.styles_hfqv5b.css → HorizontalTabItem.styles_uaaqqg.css} +1 -1
  98. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -5
  99. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  100. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  101. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/{VerticalTabItem.styles_16d3lah.css → VerticalTabItem.styles_1g7zipg.css} +1 -1
  102. package/cjs/hooks/useOutsideClick.js +1 -1
  103. package/cjs/hooks/useOutsideClick.js.map +1 -1
  104. package/cjs/index.css +74 -71
  105. package/emotion/cjs/components/Autocomplete/Autocomplete.tokens.js +1 -0
  106. package/emotion/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  107. package/emotion/cjs/components/Calendar/Calendar.tokens.js +3 -0
  108. package/emotion/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -2
  109. package/emotion/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -3
  110. package/emotion/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +22 -17
  111. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +7 -7
  112. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
  113. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +2 -1
  114. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +21 -15
  115. package/emotion/cjs/components/DatePicker/DatePicker.tokens.js +5 -0
  116. package/emotion/cjs/components/DatePicker/DatePickerBase.styles.js +3 -3
  117. package/emotion/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +5 -5
  118. package/emotion/cjs/components/Dropdown/Dropdown.js +37 -58
  119. package/emotion/cjs/components/Dropdown/Dropdown.styles.js +25 -9
  120. package/emotion/cjs/components/Dropdown/Dropdown.tokens.js +4 -36
  121. package/emotion/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +51 -17
  122. package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +18 -29
  123. package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +41 -21
  124. package/emotion/cjs/components/Dropdown/utils/index.js +1 -23
  125. package/emotion/cjs/components/Notification/Notification.styles.js +11 -11
  126. package/emotion/cjs/components/Notification/Notification.tokens.js +2 -0
  127. package/emotion/cjs/components/Pagination/Pagination.js +5 -5
  128. package/emotion/cjs/components/Pagination/Pagination.styles.js +8 -8
  129. package/emotion/cjs/components/Pagination/Pagination.tokens.js +4 -1
  130. package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  131. package/emotion/cjs/components/Tabs/tokens.js +7 -1
  132. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +5 -5
  133. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +5 -5
  134. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  135. package/emotion/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +5 -5
  136. package/emotion/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +5 -6
  137. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
  138. package/emotion/cjs/examples/plasma_web/components/Dropdown/Dropdown.config.js +5 -5
  139. package/emotion/cjs/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +5 -6
  140. package/emotion/cjs/hooks/useOutsideClick.js +1 -1
  141. package/emotion/es/components/Autocomplete/Autocomplete.tokens.js +1 -0
  142. package/emotion/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  143. package/emotion/es/components/Calendar/Calendar.tokens.js +3 -0
  144. package/emotion/es/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -2
  145. package/emotion/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -5
  146. package/emotion/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +21 -16
  147. package/emotion/es/components/Combobox/ComboboxNew/Combobox.styles.js +7 -7
  148. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
  149. package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +2 -1
  150. package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +21 -15
  151. package/emotion/es/components/DatePicker/DatePicker.tokens.js +5 -0
  152. package/emotion/es/components/DatePicker/DatePickerBase.styles.js +3 -3
  153. package/emotion/es/components/DatePicker/SingleDate/SingleDate.styles.js +5 -5
  154. package/emotion/es/components/Dropdown/Dropdown.js +40 -60
  155. package/emotion/es/components/Dropdown/Dropdown.styles.js +25 -9
  156. package/emotion/es/components/Dropdown/Dropdown.tokens.js +3 -35
  157. package/emotion/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +52 -18
  158. package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +20 -31
  159. package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +42 -22
  160. package/emotion/es/components/Dropdown/utils/index.js +1 -4
  161. package/emotion/es/components/Notification/Notification.styles.js +11 -11
  162. package/emotion/es/components/Notification/Notification.tokens.js +2 -0
  163. package/emotion/es/components/Pagination/Pagination.js +5 -5
  164. package/emotion/es/components/Pagination/Pagination.styles.js +8 -8
  165. package/emotion/es/components/Pagination/Pagination.tokens.js +4 -1
  166. package/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  167. package/emotion/es/components/Tabs/tokens.js +7 -1
  168. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +5 -5
  169. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +5 -5
  170. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  171. package/emotion/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +6 -6
  172. package/emotion/es/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +5 -6
  173. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
  174. package/emotion/es/examples/plasma_web/components/Dropdown/Dropdown.config.js +6 -6
  175. package/emotion/es/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +5 -6
  176. package/emotion/es/hooks/useOutsideClick.js +1 -1
  177. package/es/components/Autocomplete/Autocomplete.css +1 -1
  178. package/es/components/Autocomplete/Autocomplete.tokens.js +1 -0
  179. package/es/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
  180. package/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  181. package/es/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  182. package/es/components/Autocomplete/ui/TextField/{TextField.styles_1csckkd.css → TextField.styles_1ye9068.css} +1 -1
  183. package/es/components/Calendar/Calendar.tokens.js +3 -0
  184. package/es/components/Calendar/Calendar.tokens.js.map +1 -1
  185. package/es/components/Calendar/CalendarBase/CalendarBase.css +11 -10
  186. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  187. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  188. package/{cjs/components/Calendar/CalendarBase/CalendarBase.styles_1m6uih1.css → es/components/Calendar/CalendarBase/CalendarBase.styles_ni8729.css} +1 -1
  189. package/es/components/Calendar/CalendarDouble/CalendarDouble.css +11 -10
  190. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.css +9 -8
  191. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +4 -5
  192. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  193. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +11 -2
  194. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  195. package/{cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1jfelqf.css → es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1xijs8w.css} +1 -0
  196. package/es/components/Combobox/ComboboxNew/Combobox.css +12 -12
  197. package/es/components/Combobox/ComboboxNew/Combobox.styles.js +10 -10
  198. package/es/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  199. package/{cjs/components/Combobox/ComboboxNew/Combobox.styles_1s09ifw.css → es/components/Combobox/ComboboxNew/Combobox.styles_1nqrvms.css} +1 -1
  200. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
  201. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  202. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +12 -12
  203. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +12 -12
  204. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +2 -1
  205. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  206. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +21 -7
  207. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  208. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/{Item.styles_y71664.css → Item.styles_1njzasn.css} +3 -3
  209. package/es/components/Combobox/ComboboxOld/Combobox.css +14 -28
  210. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +18 -32
  211. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +18 -32
  212. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +18 -32
  213. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +18 -32
  214. package/es/components/DatePicker/DatePicker.tokens.js +5 -0
  215. package/es/components/DatePicker/DatePicker.tokens.js.map +1 -1
  216. package/es/components/DatePicker/DatePickerBase.styles.js +1 -1
  217. package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  218. package/es/components/DatePicker/DatePickerBase.styles_1x090si.css +2 -0
  219. package/es/components/DatePicker/RangeDate/RangeDate.css +15 -14
  220. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +13 -12
  221. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +1 -1
  222. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1i6gpss.css +2 -0
  223. package/es/components/DatePicker/SingleDate/SingleDate.css +15 -14
  224. package/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  225. package/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  226. package/{cjs/components/DatePicker/SingleDate/SingleDate.styles_1rrq00l.css → es/components/DatePicker/SingleDate/SingleDate.styles_e72b5o.css} +1 -1
  227. package/es/components/Dropdown/Dropdown.css +16 -30
  228. package/es/components/Dropdown/Dropdown.js +40 -62
  229. package/es/components/Dropdown/Dropdown.js.map +1 -1
  230. package/es/components/Dropdown/Dropdown.styles.js +26 -15
  231. package/es/components/Dropdown/Dropdown.styles.js.map +1 -1
  232. package/es/components/Dropdown/Dropdown.styles_zvi9m3.css +3 -0
  233. package/es/components/Dropdown/Dropdown.tokens.js +3 -24
  234. package/es/components/Dropdown/Dropdown.tokens.js.map +1 -1
  235. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +52 -18
  236. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  237. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.css +6 -46
  238. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +20 -31
  239. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  240. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +29 -24
  241. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  242. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles_blclup.css +6 -0
  243. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +1 -1
  244. package/es/components/Dropdown/ui/DropdownItemOld/{DropdownItem.styles_1lyg81y.css → DropdownItem.styles_12e50g5.css} +1 -1
  245. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.css +4 -4
  246. package/es/components/Dropdown/utils/index.js.map +1 -1
  247. package/es/components/Notification/Notification.css +11 -11
  248. package/es/components/Notification/Notification.styles.js +15 -15
  249. package/es/components/Notification/Notification.styles.js.map +1 -1
  250. package/es/components/Notification/{Notification.styles_7h8hp0.css → Notification.styles_1g34msm.css} +1 -1
  251. package/es/components/Notification/Notification.tokens.js +2 -0
  252. package/es/components/Notification/Notification.tokens.js.map +1 -1
  253. package/es/components/Notification/NotificationsProvider.css +11 -11
  254. package/es/components/Pagination/Pagination.css +10 -10
  255. package/es/components/Pagination/Pagination.js +5 -5
  256. package/es/components/Pagination/Pagination.js.map +1 -1
  257. package/es/components/Pagination/Pagination.styles.js +3 -3
  258. package/es/components/Pagination/Pagination.styles.js.map +1 -1
  259. package/es/components/Pagination/{Pagination.styles_y6gcva.css → Pagination.styles_1w5oej6.css} +1 -1
  260. package/es/components/Pagination/Pagination.tokens.js +4 -1
  261. package/es/components/Pagination/Pagination.tokens.js.map +1 -1
  262. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +3 -3
  263. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  264. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  265. package/es/components/Pagination/ui/PaginationSelectPerPage/{PaginationSelectPerPage.styles_187mk6b.css → PaginationSelectPerPage.styles_1fesyfv.css} +1 -1
  266. package/es/components/Select/Select.js +1 -1
  267. package/es/components/Select/utils/getCorrectHeight.js.map +1 -1
  268. package/es/components/Tabs/tokens.js +7 -1
  269. package/es/components/Tabs/tokens.js.map +1 -1
  270. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +5 -5
  271. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  272. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  273. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/{HorizontalTabItem.styles_hfqv5b.css → HorizontalTabItem.styles_uaaqqg.css} +1 -1
  274. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -5
  275. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  276. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  277. package/es/components/Tabs/ui/vertical/VerticalTabItem/{VerticalTabItem.styles_16d3lah.css → VerticalTabItem.styles_1g7zipg.css} +1 -1
  278. package/es/hooks/useOutsideClick.js +1 -1
  279. package/es/hooks/useOutsideClick.js.map +1 -1
  280. package/es/index.css +74 -71
  281. package/package.json +2 -2
  282. package/styled-components/cjs/components/Autocomplete/Autocomplete.tokens.js +1 -0
  283. package/styled-components/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  284. package/styled-components/cjs/components/Calendar/Calendar.tokens.js +3 -0
  285. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  286. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -3
  287. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +6 -2
  288. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  289. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
  290. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +2 -1
  291. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +12 -6
  292. package/styled-components/cjs/components/DatePicker/DatePicker.tokens.js +5 -0
  293. package/styled-components/cjs/components/DatePicker/DatePickerBase.styles.js +1 -1
  294. package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  295. package/styled-components/cjs/components/Dropdown/Dropdown.js +37 -58
  296. package/styled-components/cjs/components/Dropdown/Dropdown.styles.js +15 -9
  297. package/styled-components/cjs/components/Dropdown/Dropdown.tokens.js +4 -36
  298. package/styled-components/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +51 -17
  299. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +18 -29
  300. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +19 -17
  301. package/styled-components/cjs/components/Dropdown/utils/index.js +1 -23
  302. package/styled-components/cjs/components/Notification/Notification.styles.js +1 -1
  303. package/styled-components/cjs/components/Notification/Notification.tokens.js +2 -0
  304. package/styled-components/cjs/components/Pagination/Pagination.js +5 -5
  305. package/styled-components/cjs/components/Pagination/Pagination.styles.js +1 -1
  306. package/styled-components/cjs/components/Pagination/Pagination.tokens.js +4 -1
  307. package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  308. package/styled-components/cjs/components/Tabs/tokens.js +7 -1
  309. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  310. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  311. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
  312. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +5 -5
  313. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +5 -6
  314. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
  315. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Dropdown.config.js +5 -5
  316. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +5 -6
  317. package/styled-components/cjs/hooks/useOutsideClick.js +1 -1
  318. package/styled-components/es/components/Autocomplete/Autocomplete.tokens.js +1 -0
  319. package/styled-components/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  320. package/styled-components/es/components/Calendar/Calendar.tokens.js +3 -0
  321. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  322. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -5
  323. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +5 -1
  324. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  325. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
  326. package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +2 -1
  327. package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +12 -6
  328. package/styled-components/es/components/DatePicker/DatePicker.tokens.js +5 -0
  329. package/styled-components/es/components/DatePicker/DatePickerBase.styles.js +1 -1
  330. package/styled-components/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  331. package/styled-components/es/components/Dropdown/Dropdown.js +40 -60
  332. package/styled-components/es/components/Dropdown/Dropdown.styles.js +15 -9
  333. package/styled-components/es/components/Dropdown/Dropdown.tokens.js +3 -35
  334. package/styled-components/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +52 -18
  335. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +20 -31
  336. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +20 -18
  337. package/styled-components/es/components/Dropdown/utils/index.js +1 -4
  338. package/styled-components/es/components/Notification/Notification.styles.js +1 -1
  339. package/styled-components/es/components/Notification/Notification.tokens.js +2 -0
  340. package/styled-components/es/components/Pagination/Pagination.js +5 -5
  341. package/styled-components/es/components/Pagination/Pagination.styles.js +1 -1
  342. package/styled-components/es/components/Pagination/Pagination.tokens.js +4 -1
  343. package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  344. package/styled-components/es/components/Tabs/tokens.js +7 -1
  345. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  346. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  347. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
  348. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +6 -6
  349. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +5 -6
  350. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
  351. package/styled-components/es/examples/plasma_web/components/Dropdown/Dropdown.config.js +6 -6
  352. package/styled-components/es/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +5 -6
  353. package/styled-components/es/hooks/useOutsideClick.js +1 -1
  354. package/types/components/Autocomplete/Autocomplete.tokens.d.ts +1 -0
  355. package/types/components/Autocomplete/Autocomplete.tokens.d.ts.map +1 -1
  356. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  357. package/types/components/Calendar/Calendar.tokens.d.ts +3 -0
  358. package/types/components/Calendar/Calendar.tokens.d.ts.map +1 -1
  359. package/types/components/Calendar/CalendarBase/CalendarBase.styles.d.ts.map +1 -1
  360. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.d.ts.map +1 -1
  361. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts +1 -0
  362. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts.map +1 -1
  363. package/types/components/Combobox/ComboboxNew/Combobox.styles.d.ts.map +1 -1
  364. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +4 -0
  365. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  366. package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.d.ts.map +1 -1
  367. package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.d.ts.map +1 -1
  368. package/types/components/Combobox/ComboboxOld/Combobox.types.d.ts +1 -2
  369. package/types/components/Combobox/ComboboxOld/Combobox.types.d.ts.map +1 -1
  370. package/types/components/DatePicker/DatePicker.tokens.d.ts +5 -0
  371. package/types/components/DatePicker/DatePicker.tokens.d.ts.map +1 -1
  372. package/types/components/DatePicker/DatePickerBase.styles.d.ts.map +1 -1
  373. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  374. package/types/components/Dropdown/Dropdown.d.ts +1 -2
  375. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  376. package/types/components/Dropdown/Dropdown.styles.d.ts +6 -1
  377. package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
  378. package/types/components/Dropdown/Dropdown.tokens.d.ts +2 -25
  379. package/types/components/Dropdown/Dropdown.tokens.d.ts.map +1 -1
  380. package/types/components/Dropdown/Dropdown.types.d.ts +4 -30
  381. package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
  382. package/types/components/Dropdown/index.d.ts +1 -1
  383. package/types/components/Dropdown/index.d.ts.map +1 -1
  384. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.d.ts.map +1 -1
  385. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts +12 -1
  386. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts.map +1 -1
  387. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.d.ts.map +1 -1
  388. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts +3 -32
  389. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts.map +1 -1
  390. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts +14 -1
  391. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts.map +1 -1
  392. package/types/components/Dropdown/utils/index.d.ts +0 -3
  393. package/types/components/Dropdown/utils/index.d.ts.map +1 -1
  394. package/types/components/Notification/Notification.styles.d.ts.map +1 -1
  395. package/types/components/Notification/Notification.tokens.d.ts +2 -0
  396. package/types/components/Notification/Notification.tokens.d.ts.map +1 -1
  397. package/types/components/Pagination/Pagination.d.ts.map +1 -1
  398. package/types/components/Pagination/Pagination.styles.d.ts.map +1 -1
  399. package/types/components/Pagination/Pagination.tokens.d.ts +3 -0
  400. package/types/components/Pagination/Pagination.tokens.d.ts.map +1 -1
  401. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  402. package/types/components/Select/utils/getCorrectHeight.d.ts +2 -2
  403. package/types/components/Select/utils/getCorrectHeight.d.ts.map +1 -1
  404. package/types/components/Tabs/tokens.d.ts +6 -0
  405. package/types/components/Tabs/tokens.d.ts.map +1 -1
  406. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.d.ts.map +1 -1
  407. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.d.ts.map +1 -1
  408. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.config.d.ts +3 -3
  409. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.config.d.ts.map +1 -1
  410. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts +4 -4
  411. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts.map +1 -1
  412. package/types/examples/plasma_web/components/Dropdown/Dropdown.config.d.ts +3 -3
  413. package/types/examples/plasma_web/components/Dropdown/Dropdown.config.d.ts.map +1 -1
  414. package/types/examples/plasma_web/components/Dropdown/Dropdown.d.ts +4 -4
  415. package/types/examples/plasma_web/components/Dropdown/Dropdown.d.ts.map +1 -1
  416. package/types/hooks/useOutsideClick.d.ts +1 -1
  417. package/types/hooks/useOutsideClick.d.ts.map +1 -1
  418. package/cjs/components/DatePicker/DatePickerBase.styles_mjc9xz.css +0 -2
  419. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1gljtdv.css +0 -2
  420. package/cjs/components/Dropdown/Dropdown.styles_1ix6io8.css +0 -2
  421. package/cjs/components/Dropdown/FloatingPopover.js +0 -104
  422. package/cjs/components/Dropdown/FloatingPopover.js.map +0 -1
  423. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles_17va0nk.css +0 -5
  424. package/cjs/components/Dropdown/utils/getItemByFocused.js +0 -13
  425. package/cjs/components/Dropdown/utils/getItemByFocused.js.map +0 -1
  426. package/cjs/components/Dropdown/utils/getItemId.js +0 -10
  427. package/cjs/components/Dropdown/utils/getItemId.js.map +0 -1
  428. package/cjs/components/Dropdown/utils/getPlacement.js +0 -16
  429. package/cjs/components/Dropdown/utils/getPlacement.js.map +0 -1
  430. package/emotion/cjs/components/Dropdown/FloatingPopover.js +0 -109
  431. package/emotion/cjs/components/Dropdown/utils/getItemByFocused.js +0 -12
  432. package/emotion/cjs/components/Dropdown/utils/getItemId.js +0 -9
  433. package/emotion/cjs/components/Dropdown/utils/getPlacement.js +0 -15
  434. package/emotion/es/components/Dropdown/FloatingPopover.js +0 -102
  435. package/emotion/es/components/Dropdown/utils/getItemByFocused.js +0 -6
  436. package/emotion/es/components/Dropdown/utils/getItemId.js +0 -3
  437. package/emotion/es/components/Dropdown/utils/getPlacement.js +0 -9
  438. package/es/components/DatePicker/DatePickerBase.styles_mjc9xz.css +0 -2
  439. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1gljtdv.css +0 -2
  440. package/es/components/Dropdown/Dropdown.styles_1ix6io8.css +0 -2
  441. package/es/components/Dropdown/FloatingPopover.js +0 -100
  442. package/es/components/Dropdown/FloatingPopover.js.map +0 -1
  443. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles_17va0nk.css +0 -5
  444. package/es/components/Dropdown/utils/getItemByFocused.js +0 -9
  445. package/es/components/Dropdown/utils/getItemByFocused.js.map +0 -1
  446. package/es/components/Dropdown/utils/getItemId.js +0 -6
  447. package/es/components/Dropdown/utils/getItemId.js.map +0 -1
  448. package/es/components/Dropdown/utils/getPlacement.js +0 -12
  449. package/es/components/Dropdown/utils/getPlacement.js.map +0 -1
  450. package/styled-components/cjs/components/Dropdown/FloatingPopover.js +0 -109
  451. package/styled-components/cjs/components/Dropdown/utils/getItemByFocused.js +0 -12
  452. package/styled-components/cjs/components/Dropdown/utils/getItemId.js +0 -9
  453. package/styled-components/cjs/components/Dropdown/utils/getPlacement.js +0 -15
  454. package/styled-components/es/components/Dropdown/FloatingPopover.js +0 -102
  455. package/styled-components/es/components/Dropdown/utils/getItemByFocused.js +0 -6
  456. package/styled-components/es/components/Dropdown/utils/getItemId.js +0 -3
  457. package/styled-components/es/components/Dropdown/utils/getPlacement.js +0 -9
  458. package/types/components/Dropdown/FloatingPopover.d.ts +0 -5
  459. package/types/components/Dropdown/FloatingPopover.d.ts.map +0 -1
  460. package/types/components/Dropdown/utils/getItemByFocused.d.ts +0 -4
  461. package/types/components/Dropdown/utils/getItemByFocused.d.ts.map +0 -1
  462. package/types/components/Dropdown/utils/getItemId.d.ts +0 -2
  463. package/types/components/Dropdown/utils/getItemId.d.ts.map +0 -1
  464. package/types/components/Dropdown/utils/getPlacement.d.ts +0 -3
  465. package/types/components/Dropdown/utils/getPlacement.d.ts.map +0 -1
@@ -1,10 +1,10 @@
1
1
  import React, { useCallback, useMemo } from 'react';
2
- import { IconDisclosureDownFill, IconDisclosureLeft, IconDisclosureRight } from '../../../_Icon';
2
+ import { IconDisclosureLeft, IconDisclosureRight } from '../../../_Icon';
3
3
  import { CalendarState } from '../../store/types';
4
4
  import { getCalendarType, MONTH_NAMES, YEAR_RENDER_COUNT } from '../../utils';
5
5
  import { classes } from '../../Calendar.tokens';
6
6
  import { sizeMap } from '../../store/reducer';
7
- import { StyledArrow, StyledArrows, StyledCalendarHeader, StyledDoubleHeaderWrapper, StyledHeader, StyledHeaderDate, StyledHeaderDouble, StyledNavigation } from './CalendarHeader.styles';
7
+ import { StyledArrow, StyledArrows, StyledCalendarHeader, StyledDoubleHeaderWrapper, StyledHeader, StyledHeaderDate, StyledHeaderDouble, StyledNavigation, StyledHeaderArrow } from './CalendarHeader.styles';
8
8
 
9
9
  /**
10
10
  * Компонент шапки календаря.
@@ -36,20 +36,20 @@ export var CalendarHeader = function CalendarHeader(_ref) {
36
36
  return '';
37
37
  }
38
38
  if (type === CalendarState.Days) {
39
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(StyledHeaderDate, null, MONTH_NAMES[locale][date.monthIndex]), /*#__PURE__*/React.createElement(StyledHeaderDate, null, date.year, /*#__PURE__*/React.createElement(IconDisclosureDownFill, {
39
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(StyledHeaderDate, null, MONTH_NAMES[locale][date.monthIndex]), /*#__PURE__*/React.createElement(StyledHeaderDate, null, date.year, /*#__PURE__*/React.createElement(StyledHeaderArrow, {
40
40
  color: "inherit",
41
41
  size: size === 'xs' ? 'xs' : 's'
42
42
  })));
43
43
  }
44
44
  if (type === CalendarState.Months || type === CalendarState.Quarters) {
45
- return /*#__PURE__*/React.createElement(StyledHeaderDate, null, date.year, /*#__PURE__*/React.createElement(IconDisclosureDownFill, {
45
+ return /*#__PURE__*/React.createElement(StyledHeaderDate, null, date.year, /*#__PURE__*/React.createElement(StyledHeaderArrow, {
46
46
  color: "inherit",
47
47
  size: size === 'xs' ? 'xs' : 's'
48
48
  }));
49
49
  }
50
50
  if (type === CalendarState.Years) {
51
51
  var yearValue = secondPart ? startYear + 12 : startYear;
52
- return /*#__PURE__*/React.createElement(StyledHeaderDate, null, yearValue, "\u2014", yearValue + YEAR_RENDER_COUNT - 1, /*#__PURE__*/React.createElement(IconDisclosureDownFill, {
52
+ return /*#__PURE__*/React.createElement(StyledHeaderDate, null, yearValue, "\u2014", yearValue + YEAR_RENDER_COUNT - 1, /*#__PURE__*/React.createElement(StyledHeaderArrow, {
53
53
  color: "inherit",
54
54
  size: size === 'xs' ? 'xs' : 's'
55
55
  }));
@@ -4,6 +4,7 @@ import { component, mergeConfig } from '../../../../engines';
4
4
  import { iconButtonConfig, iconButtonTokens } from '../../../IconButton';
5
5
  import { flexCenter } from '../../mixins';
6
6
  import { addFocus } from '../../../../mixins';
7
+ import { IconDisclosureDownFill } from '../../../_Icon';
7
8
  var mergedIconButtonConfig = /*#__PURE__*/mergeConfig(iconButtonConfig);
8
9
  var IconButton = /*#__PURE__*/component(mergedIconButtonConfig);
9
10
  export var StyledCalendarHeader = /*#__PURE__*/styled.div.withConfig({
@@ -41,4 +42,7 @@ export var StyledHeaderDouble = /*#__PURE__*/styled.button.withConfig({
41
42
  outlineOffset: '-0.125rem',
42
43
  outlineColor: /*#__PURE__*/"var(".concat(tokens.calendarOutlineFocusColor, ")"),
43
44
  outlineRadius: '0.563rem'
44
- }));
45
+ }));
46
+ export var StyledHeaderArrow = /*#__PURE__*/styled(IconDisclosureDownFill).withConfig({
47
+ componentId: "plasma-new-hope__sc-186pzg3-8"
48
+ })(["color:var(", ",var(", "));"], tokens.calendarHeaderArrowColor, tokens.calendarContentPrimaryColor);
@@ -23,12 +23,12 @@ export var Ul = /*#__PURE__*/styled.ul.withConfig({
23
23
  }, tokens.padding, classes.emptyStateWrapper);
24
24
  export var IconArrowWrapper = /*#__PURE__*/styled.div.withConfig({
25
25
  componentId: "plasma-new-hope__sc-2kddkg-1"
26
- })(["line-height:0;color:var(", ");cursor:", ";.", "{transform:rotate(-180deg);}&:hover,&:active{color:", ";}"], constants.disclosureIconColor, function (_ref5) {
26
+ })(["line-height:0;color:var(", ",var(", "));cursor:", ";.", "{transform:rotate(-180deg);}&:hover,&:active{color:", ";}"], tokens.disclosureIconColor, constants.disclosureIconColor, function (_ref5) {
27
27
  var disabled = _ref5.disabled;
28
28
  return disabled ? 'inherit' : 'pointer';
29
29
  }, classes.arrowInverse, function (_ref6) {
30
30
  var disabled = _ref6.disabled;
31
- return disabled ? "var(".concat(constants.disclosureIconColor, ")") : "var(".concat(constants.disclosureIconColorHover, ")");
31
+ return disabled ? "var(".concat(tokens.disclosureIconColor, ", var(").concat(constants.disclosureIconColor, "))") : "var(".concat(tokens.disclosureIconColorHover, ", var(").concat(constants.disclosureIconColorHover, "))");
32
32
  });
33
33
  export var StyledArrow = /*#__PURE__*/styled(IconDisclosureDownCentered).withConfig({
34
34
  componentId: "plasma-new-hope__sc-2kddkg-2"
@@ -30,6 +30,8 @@ export var tokens = {
30
30
  itemIconSize: '--plasma-combobox-item-icon-size',
31
31
  itemIconSizeTight: '--plasma-combobox-item-icon-size-tight',
32
32
  itemIconMargin: '--plasma-combobox-item-icon-margin',
33
+ itemBackground: '--plasma-combobox-item-background',
34
+ itemBackgroundHover: '--plasma-combobox-item-background-hover',
33
35
  cellPadding: '--plasma-combobox-cell-padding',
34
36
  cellPaddingLeftContent: '--plasma-combobox-cell-padding-left-content',
35
37
  cellPaddingContent: '--plasma-combobox-cell-padding-content',
@@ -145,7 +147,9 @@ export var tokens = {
145
147
  helperTextColor: '--plasma-combobox-helper-text-color',
146
148
  helperTextOffset: '--plasma-combobox-helper-text-offset',
147
149
  spinnerSize: '--plasma-combobox-spinner-size',
148
- spinnerSizeTight: '--plasma-combobox-spinner-size-tight'
150
+ spinnerSizeTight: '--plasma-combobox-spinner-size-tight',
151
+ disclosureIconColor: '--plasma-combobox-disclosure-icon-color',
152
+ disclosureIconColorHover: '--plasma-combobox-disclosure-icon-color-hover'
149
153
  };
150
154
  export var constants = {
151
155
  focusColor: '--surface-accent',
@@ -78,7 +78,8 @@ export var Item = function Item(_ref) {
78
78
  }, /*#__PURE__*/React.createElement(StyledCheckbox, {
79
79
  checked: Boolean(checked.get(item.value)),
80
80
  indeterminate: checked.get(item.value) === 'indeterminate',
81
- onChange: handleChange
81
+ onChange: handleChange,
82
+ className: classes.selectItemCheckbox
82
83
  })), !multiple && checked.get(item.value) === 'dot' && (_StyledIndicator || (_StyledIndicator = /*#__PURE__*/React.createElement(StyledIndicator, {
83
84
  size: "s",
84
85
  view: "default"
@@ -31,25 +31,31 @@ export var StyledContentRight = /*#__PURE__*/styled.div.withConfig({
31
31
  })(["margin-left:auto;display:inline-flex;"]);
32
32
  export var DisclosureIconWrapper = /*#__PURE__*/styled.div.withConfig({
33
33
  componentId: "plasma-new-hope__sc-1n1xg1s-6"
34
- })(["line-height:0;color:var(", ");&:hover{color:var(", ");}"], constants.disclosureIconColor, constants.disclosureIconColorHover);
34
+ })(["line-height:0;color:var(", ",var(", "));&:hover{color:var(", ",var(", "));}"], tokens.disclosureIconColor, constants.disclosureIconColor, tokens.disclosureIconColorHover, constants.disclosureIconColorHover);
35
35
  export var IconWrapper = /*#__PURE__*/styled.div.withConfig({
36
36
  componentId: "plasma-new-hope__sc-1n1xg1s-7"
37
- })(["display:flex;align-items:center;justify-content:center;flex:none;width:", ";height:", ";margin:var(", ");line-height:0;color:var(", ");"], function (_ref) {
37
+ })(["display:flex;align-items:center;justify-content:center;width:", ";height:", ";margin:var(", ");line-height:0;color:var(", ");& .", "{--plasma-checkbox-trigger-size:", ";--plasma-checkbox-trigger-border-radius:", ";}"], function (_ref) {
38
38
  var variant = _ref.variant;
39
39
  return "var(".concat(variant === 'tight' ? tokens.itemIconSizeTight : tokens.itemIconSize, ")");
40
40
  }, function (_ref2) {
41
41
  var variant = _ref2.variant;
42
42
  return "var(".concat(variant === 'tight' ? tokens.itemIconSizeTight : tokens.itemIconSize, ")");
43
- }, tokens.itemIconMargin, tokens.checkboxFillColor);
43
+ }, tokens.itemIconMargin, tokens.checkboxFillColor, classes.selectItemCheckbox, function (_ref3) {
44
+ var variant = _ref3.variant;
45
+ return "var(".concat(variant === 'tight' ? tokens.checkboxTriggerSizeTight : tokens.checkboxTriggerSize, ")");
46
+ }, function (_ref4) {
47
+ var variant = _ref4.variant;
48
+ return "var(".concat(variant === 'tight' ? tokens.checkboxTriggerBorderRadiusTight : tokens.checkboxTriggerBorderRadius, ")");
49
+ });
44
50
  export var StyledText = /*#__PURE__*/styled.div.withConfig({
45
51
  componentId: "plasma-new-hope__sc-1n1xg1s-8"
46
52
  })(["", ";flex:1;"], /*#__PURE__*/applyEllipsis());
47
53
  export var Wrapper = /*#__PURE__*/styled.li.withConfig({
48
54
  componentId: "plasma-new-hope__sc-1n1xg1s-9"
49
- })(["display:flex;align-items:center;min-height:var(", ");margin:0;box-sizing:content-box;padding:", ";font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");background-color:var(", ");color:var(--text-primary);border-radius:var(", ");user-select:none;border-right:2px solid transparent;border-left:2px solid transparent;background-clip:padding-box;&:hover:not(.", "){cursor:pointer;background-color:var(", ");}&.", "{background-color:var(", ");}&.", "{opacity:", ";cursor:not-allowed;}:focus{outline:none;}", ";"], tokens.itemHeight, function (_ref3) {
50
- var variant = _ref3.variant;
55
+ })(["display:flex;align-items:center;min-height:var(", ");margin:0;box-sizing:content-box;padding:", ";font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");background-color:var(", ",var(", "));color:var(--text-primary);border-radius:var(", ");user-select:none;border-right:2px solid transparent;border-left:2px solid transparent;background-clip:padding-box;&:hover:not(.", "){cursor:pointer;background-color:var(", ",var(", "));}&.", "{background-color:var(", ",var(", "));}&.", "{opacity:", ";cursor:not-allowed;}:focus{outline:none;}", ";"], tokens.itemHeight, function (_ref5) {
56
+ var variant = _ref5.variant;
51
57
  return "var(".concat(variant === 'tight' ? tokens.itemPaddingTight : tokens.itemPadding, ")");
52
- }, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.fontLetterSpacing, tokens.fontLineHeight, constants.itemBackground, tokens.borderRadius, classes.dropdownItemIsDisabled, constants.itemBackgroundHover, classes.dropdownItemIsActive, constants.itemBackgroundHover, classes.dropdownItemIsDisabled, constants.opacity, /*#__PURE__*/addFocus({
58
+ }, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.fontLetterSpacing, tokens.fontLineHeight, tokens.itemBackground, constants.itemBackground, tokens.borderRadius, classes.dropdownItemIsDisabled, tokens.itemBackgroundHover, constants.itemBackgroundHover, classes.dropdownItemIsActive, tokens.itemBackgroundHover, constants.itemBackgroundHover, classes.dropdownItemIsDisabled, constants.opacity, /*#__PURE__*/addFocus({
53
59
  outlineSize: '0.0625rem',
54
60
  outlineOffset: '0',
55
61
  outlineColor: /*#__PURE__*/"var(".concat(constants.focusColor, ")"),
@@ -109,12 +109,16 @@ export var tokens = {
109
109
  textFieldTextBeforeMargin: '--plasma-date-picker-textfield__before-text-margin',
110
110
  textFieldTextAfterMargin: '--plasma-date-picker-textfield__after-text-margin',
111
111
  textFieldContentSlotColor: '--plasma-date-picker-textfield__content-color',
112
+ textFieldContentRightSlotColor: '--plasma-date-picker-textfield__content-right-color',
113
+ textFieldContentRightSlotColorHover: '--plasma-date-picker-textfield__content-right-color-hover',
112
114
  /** Токены календаря */
113
115
  calendarPaddingTop: '--plasma-date-picker-calendar-padding-top',
114
116
  calendarShadow: '--plasma-date-picker-calendar-shadow',
115
117
  calendarBorderRadius: '--plasma-date-picker-calendar-border-radius',
116
118
  calendarWidth: '--plasma-date-picker-calendar-width',
117
119
  calendarHeight: '--plasma-date-picker-calendar-height',
120
+ calendarBorderWidth: '--plasma-date-picker-calendar-border-width',
121
+ calendarBorderColor: '--plasma-date-picker-calendar-border-width',
118
122
  calendarYearsPadding: '--plasma-date-picker-calendar__years-padding',
119
123
  calendarYearItemBorderRadius: '--plasma-date-picker-calendar__year-item-border-radius',
120
124
  calendarYearItemWidth: '--plasma-date-picker-calendar__year-item-width',
@@ -172,6 +176,7 @@ export var tokens = {
172
176
  calendarHeaderFontLineHeight: '--plasma-date-picker-calendar__header-line-height',
173
177
  calendarHeaderFontWeight: '--plasma-date-picker-calendar__header-font-weight',
174
178
  calendarHeaderFontWeightBold: '--plasma-date-picker-calendar__header-font-weight-bold',
179
+ calendarHeaderArrowColor: '--plasma-date-picker-calendar__header-arrow-color',
175
180
  iconButtonColor: '--plasma-date-picker-icon-button__color',
176
181
  iconButtonBackgroundColor: '--plasma-date-picker-icon-button__background-color',
177
182
  iconButtonColorHover: '--plasma-date-picker-icon-button__color-hover',
@@ -5,7 +5,7 @@ import { applyHidden } from '../../mixins';
5
5
  import { tokens } from './DatePicker.tokens';
6
6
  var mergedCalendarConfig = /*#__PURE__*/mergeConfig(calendarBaseConfig);
7
7
  var Calendar = /*#__PURE__*/component(mergedCalendarConfig);
8
- export var baseCalendarTokens = /*#__PURE__*/"\n padding-top: var(".concat(tokens.calendarPaddingTop, ");\n box-shadow: var(").concat(tokens.calendarShadow, ");\n border-radius: var(").concat(tokens.calendarBorderRadius, ");\n\n ").concat(calendarBaseTokens.calendarBackgroundColor, ": var(").concat(tokens.calendarBackgroundColor, ");\n ").concat(calendarBaseTokens.calendarSelectedItemBackground, ": var(").concat(tokens.calendarSelectedItemBackground, ");\n ").concat(calendarBaseTokens.calendarSelectedItemColor, ": var(").concat(tokens.calendarSelectedItemColor, ");\n ").concat(calendarBaseTokens.calendarSelectableItemBackgroundHover, ": var(").concat(tokens.calendarSelectableItemBackgroundHover, ");\n ").concat(calendarBaseTokens.calendarCurrentItemBorderColor, ": var(").concat(tokens.calendarCurrentItemBorderColor, ");\n ").concat(calendarBaseTokens.calendarCurrentItemBackgroundHover, ": var(").concat(tokens.calendarCurrentItemBackgroundHover, ");\n ").concat(calendarBaseTokens.calendarCurrentItemColorHover, ": var(").concat(tokens.calendarCurrentItemColorHover, ");\n ").concat(calendarBaseTokens.calendarCurrentItemChildBackgroundHover, ": var(").concat(tokens.calendarCurrentItemChildBackgroundHover, ");\n ").concat(calendarBaseTokens.calendarActiveItemBackground, ": var(").concat(tokens.calendarActiveItemBackground, ");\n ").concat(calendarBaseTokens.calendarActiveItemColor, ": var(").concat(tokens.calendarActiveItemColor, ");\n ").concat(calendarBaseTokens.calendarHoveredItemBackground, ": var(").concat(tokens.calendarHoveredItemBackground, ");\n ").concat(calendarBaseTokens.calendarHoveredItemColor, ": var(").concat(tokens.calendarHoveredItemColor, ");\n ").concat(calendarBaseTokens.calendarRangeBackground, ": var(").concat(tokens.calendarRangeBackground, ");\n ").concat(calendarBaseTokens.calendarOutlineFocusColor, ": var(").concat(tokens.calendarOutlineFocusColor, ");\n ").concat(calendarBaseTokens.calendarContentPrimaryColor, ": var(").concat(tokens.calendarContentPrimaryColor, ");\n ").concat(calendarBaseTokens.calendarContentSecondaryColor, ": var(").concat(tokens.calendarContentSecondaryColor, ");\n\n ").concat(calendarBaseTokens.iconButtonColor, ": var(").concat(tokens.iconButtonColor, ");\n ").concat(calendarBaseTokens.iconButtonBackgroundColor, ": var(").concat(tokens.iconButtonBackgroundColor, ");\n ").concat(calendarBaseTokens.iconButtonColorHover, ": var(").concat(tokens.iconButtonColorHover, ");\n ").concat(calendarBaseTokens.iconButtonBackgroundColorHover, ": var(").concat(tokens.iconButtonBackgroundColorHover, ");\n ").concat(calendarBaseTokens.iconButtonColorActive, ": var(").concat(tokens.iconButtonColorActive, ");\n ").concat(calendarBaseTokens.iconButtonBackgroundColorActive, ": var(").concat(tokens.iconButtonBackgroundColorActive, ");\n\n ").concat(calendarBaseTokens.calendarWidth, ": var(").concat(tokens.calendarWidth, ");\n ").concat(calendarBaseTokens.calendarHeight, ": var(").concat(tokens.calendarHeight, ");\n\n ").concat(calendarBaseTokens.calendarYearsPadding, ": var(").concat(tokens.calendarYearsPadding, ");\n ").concat(calendarBaseTokens.calendarYearItemBorderRadius, ": var(").concat(tokens.calendarYearItemBorderRadius, ");\n ").concat(calendarBaseTokens.calendarYearItemWidth, ": var(").concat(tokens.calendarYearItemWidth, ");\n ").concat(calendarBaseTokens.calendarYearItemHeight, ": var(").concat(tokens.calendarYearItemHeight, ");\n ").concat(calendarBaseTokens.calendarYearFontFamily, ": var(").concat(tokens.calendarYearFontFamily, ");\n ").concat(calendarBaseTokens.calendarYearFontSize, ": var(").concat(tokens.calendarYearFontSize, ");\n ").concat(calendarBaseTokens.calendarYearFontStyle, ": var(").concat(tokens.calendarYearFontStyle, ");\n ").concat(calendarBaseTokens.calendarYearFontLetterSpacing, ": var(").concat(tokens.calendarYearFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarYearFontLineHeight, ": var(").concat(tokens.calendarYearFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarYearFontWeight, ": var(").concat(tokens.calendarYearFontWeight, ");\n ").concat(calendarBaseTokens.calendarYearSelectedFontWeight, ": var(").concat(tokens.calendarYearSelectedFontWeight, ");\n\n ").concat(calendarBaseTokens.calendarMonthsPadding, ": var(").concat(tokens.calendarMonthsPadding, ");\n ").concat(calendarBaseTokens.calendarMonthItemBorderRadius, ": var(").concat(tokens.calendarMonthItemBorderRadius, ");\n ").concat(calendarBaseTokens.calendarMonthItemWidth, ": var(").concat(tokens.calendarMonthItemWidth, ");\n ").concat(calendarBaseTokens.calendarMonthItemHeight, ": var(").concat(tokens.calendarMonthItemHeight, ");\n ").concat(calendarBaseTokens.calendarMonthFontFamily, ": var(").concat(tokens.calendarMonthFontFamily, ");\n ").concat(calendarBaseTokens.calendarMonthFontSize, ": var(").concat(tokens.calendarMonthFontSize, ");\n ").concat(calendarBaseTokens.calendarMonthFontStyle, ": var(").concat(tokens.calendarMonthFontStyle, ");\n ").concat(calendarBaseTokens.calendarMonthFontLetterSpacing, ": var(").concat(tokens.calendarMonthFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarMonthFontLineHeight, ": var(").concat(tokens.calendarMonthFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarMonthFontWeight, ": var(").concat(tokens.calendarMonthFontWeight, ");\n ").concat(calendarBaseTokens.calendarMonthSelectedFontWeight, ": var(").concat(tokens.calendarMonthSelectedFontWeight, ");\n\n ").concat(calendarBaseTokens.calendarQuartersPadding, ": var(").concat(tokens.calendarQuartersPadding, ");\n ").concat(calendarBaseTokens.calendarQuarterItemBorderRadius, ": var(").concat(tokens.calendarQuarterItemBorderRadius, ");\n ").concat(calendarBaseTokens.calendarQuarterItemWidth, ": var(").concat(tokens.calendarQuarterItemWidth, ");\n ").concat(calendarBaseTokens.calendarQuarterItemHeight, ": var(").concat(tokens.calendarQuarterItemHeight, ");\n ").concat(calendarBaseTokens.calendarQuarterFontFamily, ": var(").concat(tokens.calendarQuarterFontFamily, ");\n ").concat(calendarBaseTokens.calendarQuarterFontSize, ": var(").concat(tokens.calendarQuarterFontSize, ");\n ").concat(calendarBaseTokens.calendarQuarterFontStyle, ": var(").concat(tokens.calendarQuarterFontStyle, ");\n ").concat(calendarBaseTokens.calendarQuarterFontLetterSpacing, ": var(").concat(tokens.calendarQuarterFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarQuarterFontLineHeight, ": var(").concat(tokens.calendarQuarterFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarQuarterFontWeight, ": var(").concat(tokens.calendarQuarterFontWeight, ");\n ").concat(calendarBaseTokens.calendarQuarterSelectedFontWeight, ": var(").concat(tokens.calendarQuarterSelectedFontWeight, ");\n \n ").concat(calendarBaseTokens.calendarDaysPadding, ": var(").concat(tokens.calendarDaysPadding, ");\n ").concat(calendarBaseTokens.calendarDayItemBorderRadius, ": var(").concat(tokens.calendarDayItemBorderRadius, ");\n ").concat(calendarBaseTokens.calendarDayItemWidth, ": var(").concat(tokens.calendarDayItemWidth, ");\n ").concat(calendarBaseTokens.calendarDayItemHeight, ": var(").concat(tokens.calendarDayItemHeight, ");\n ").concat(calendarBaseTokens.calendarDayFontFamily, ": var(").concat(tokens.calendarDayFontFamily, ");\n ").concat(calendarBaseTokens.calendarDayFontSize, ": var(").concat(tokens.calendarDayFontSize, ");\n ").concat(calendarBaseTokens.calendarDayFontStyle, ": var(").concat(tokens.calendarDayFontStyle, ");\n ").concat(calendarBaseTokens.calendarDayFontLetterSpacing, ": var(").concat(tokens.calendarDayFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarDayFontLineHeight, ": var(").concat(tokens.calendarDayFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarDayFontWeight, ": var(").concat(tokens.calendarDayFontWeight, ");\n ").concat(calendarBaseTokens.calendarDaySelectedFontWeight, ": var(").concat(tokens.calendarDaySelectedFontWeight, ");\n \n ").concat(calendarBaseTokens.calendarHeaderWrapperPadding, ": var(").concat(tokens.calendarHeaderWrapperPadding, ");\n ").concat(calendarBaseTokens.calendarHeaderArrowGap, ": var(").concat(tokens.calendarHeaderArrowGap, ");\n ").concat(calendarBaseTokens.calendarHeaderArrowPadding, ": var(").concat(tokens.calendarHeaderArrowPadding, ");\n ").concat(calendarBaseTokens.calendarHeaderPadding, ": var(").concat(tokens.calendarHeaderPadding, ");\n ").concat(calendarBaseTokens.calendarHeaderDateGap, ": var(").concat(tokens.calendarHeaderDateGap, ");\n ").concat(calendarBaseTokens.calendarHeaderFontFamily, ": var(").concat(tokens.calendarHeaderFontFamily, ");\n ").concat(calendarBaseTokens.calendarHeaderFontSize, ": var(").concat(tokens.calendarHeaderFontSize, ");\n ").concat(calendarBaseTokens.calendarHeaderFontStyle, ": var(").concat(tokens.calendarHeaderFontStyle, ");\n ").concat(calendarBaseTokens.calendarHeaderFontLetterSpacing, ": var(").concat(tokens.calendarHeaderFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarHeaderFontLineHeight, ": var(").concat(tokens.calendarHeaderFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarHeaderFontWeight, ": var(").concat(tokens.calendarHeaderFontWeight, ");\n ").concat(calendarBaseTokens.calendarHeaderFontWeightBold, ": var(").concat(tokens.calendarHeaderFontWeightBold, ");\n \n ").concat(calendarBaseTokens.iconButtonHeight, ": var(").concat(tokens.iconButtonHeight, ");\n ").concat(calendarBaseTokens.iconButtonWidth, ": var(").concat(tokens.iconButtonWidth, ");\n ").concat(calendarBaseTokens.iconButtonPadding, ": var(").concat(tokens.iconButtonPadding, ");\n ").concat(calendarBaseTokens.iconButtonRadius, ": var(").concat(tokens.iconButtonRadius, ");\n ").concat(calendarBaseTokens.iconButtonFocusColor, ": var(").concat(tokens.iconButtonFocusColor, ");\n");
8
+ export var baseCalendarTokens = /*#__PURE__*/"\n padding-top: var(".concat(tokens.calendarPaddingTop, ");\n box-shadow: var(").concat(tokens.calendarShadow, ");\n border-radius: var(").concat(tokens.calendarBorderRadius, ");\n\n ").concat(calendarBaseTokens.calendarBackgroundColor, ": var(").concat(tokens.calendarBackgroundColor, ");\n ").concat(calendarBaseTokens.calendarSelectedItemBackground, ": var(").concat(tokens.calendarSelectedItemBackground, ");\n ").concat(calendarBaseTokens.calendarSelectedItemColor, ": var(").concat(tokens.calendarSelectedItemColor, ");\n ").concat(calendarBaseTokens.calendarSelectableItemBackgroundHover, ": var(").concat(tokens.calendarSelectableItemBackgroundHover, ");\n ").concat(calendarBaseTokens.calendarCurrentItemBorderColor, ": var(").concat(tokens.calendarCurrentItemBorderColor, ");\n ").concat(calendarBaseTokens.calendarCurrentItemBackgroundHover, ": var(").concat(tokens.calendarCurrentItemBackgroundHover, ");\n ").concat(calendarBaseTokens.calendarCurrentItemColorHover, ": var(").concat(tokens.calendarCurrentItemColorHover, ");\n ").concat(calendarBaseTokens.calendarCurrentItemChildBackgroundHover, ": var(").concat(tokens.calendarCurrentItemChildBackgroundHover, ");\n ").concat(calendarBaseTokens.calendarActiveItemBackground, ": var(").concat(tokens.calendarActiveItemBackground, ");\n ").concat(calendarBaseTokens.calendarActiveItemColor, ": var(").concat(tokens.calendarActiveItemColor, ");\n ").concat(calendarBaseTokens.calendarHoveredItemBackground, ": var(").concat(tokens.calendarHoveredItemBackground, ");\n ").concat(calendarBaseTokens.calendarHoveredItemColor, ": var(").concat(tokens.calendarHoveredItemColor, ");\n ").concat(calendarBaseTokens.calendarRangeBackground, ": var(").concat(tokens.calendarRangeBackground, ");\n ").concat(calendarBaseTokens.calendarOutlineFocusColor, ": var(").concat(tokens.calendarOutlineFocusColor, ");\n ").concat(calendarBaseTokens.calendarContentPrimaryColor, ": var(").concat(tokens.calendarContentPrimaryColor, ");\n ").concat(calendarBaseTokens.calendarContentSecondaryColor, ": var(").concat(tokens.calendarContentSecondaryColor, ");\n\n ").concat(calendarBaseTokens.iconButtonColor, ": var(").concat(tokens.iconButtonColor, ");\n ").concat(calendarBaseTokens.iconButtonBackgroundColor, ": var(").concat(tokens.iconButtonBackgroundColor, ");\n ").concat(calendarBaseTokens.iconButtonColorHover, ": var(").concat(tokens.iconButtonColorHover, ");\n ").concat(calendarBaseTokens.iconButtonBackgroundColorHover, ": var(").concat(tokens.iconButtonBackgroundColorHover, ");\n ").concat(calendarBaseTokens.iconButtonColorActive, ": var(").concat(tokens.iconButtonColorActive, ");\n ").concat(calendarBaseTokens.iconButtonBackgroundColorActive, ": var(").concat(tokens.iconButtonBackgroundColorActive, ");\n\n ").concat(calendarBaseTokens.calendarWidth, ": var(").concat(tokens.calendarWidth, ");\n ").concat(calendarBaseTokens.calendarHeight, ": var(").concat(tokens.calendarHeight, ");\n ").concat(calendarBaseTokens.calendarBorderWidth, ": var(").concat(tokens.calendarBorderWidth, ");\n ").concat(calendarBaseTokens.calendarBorderColor, ": var(").concat(tokens.calendarBorderColor, ");\n\n ").concat(calendarBaseTokens.calendarYearsPadding, ": var(").concat(tokens.calendarYearsPadding, ");\n ").concat(calendarBaseTokens.calendarYearItemBorderRadius, ": var(").concat(tokens.calendarYearItemBorderRadius, ");\n ").concat(calendarBaseTokens.calendarYearItemWidth, ": var(").concat(tokens.calendarYearItemWidth, ");\n ").concat(calendarBaseTokens.calendarYearItemHeight, ": var(").concat(tokens.calendarYearItemHeight, ");\n ").concat(calendarBaseTokens.calendarYearFontFamily, ": var(").concat(tokens.calendarYearFontFamily, ");\n ").concat(calendarBaseTokens.calendarYearFontSize, ": var(").concat(tokens.calendarYearFontSize, ");\n ").concat(calendarBaseTokens.calendarYearFontStyle, ": var(").concat(tokens.calendarYearFontStyle, ");\n ").concat(calendarBaseTokens.calendarYearFontLetterSpacing, ": var(").concat(tokens.calendarYearFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarYearFontLineHeight, ": var(").concat(tokens.calendarYearFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarYearFontWeight, ": var(").concat(tokens.calendarYearFontWeight, ");\n ").concat(calendarBaseTokens.calendarYearSelectedFontWeight, ": var(").concat(tokens.calendarYearSelectedFontWeight, ");\n\n ").concat(calendarBaseTokens.calendarMonthsPadding, ": var(").concat(tokens.calendarMonthsPadding, ");\n ").concat(calendarBaseTokens.calendarMonthItemBorderRadius, ": var(").concat(tokens.calendarMonthItemBorderRadius, ");\n ").concat(calendarBaseTokens.calendarMonthItemWidth, ": var(").concat(tokens.calendarMonthItemWidth, ");\n ").concat(calendarBaseTokens.calendarMonthItemHeight, ": var(").concat(tokens.calendarMonthItemHeight, ");\n ").concat(calendarBaseTokens.calendarMonthFontFamily, ": var(").concat(tokens.calendarMonthFontFamily, ");\n ").concat(calendarBaseTokens.calendarMonthFontSize, ": var(").concat(tokens.calendarMonthFontSize, ");\n ").concat(calendarBaseTokens.calendarMonthFontStyle, ": var(").concat(tokens.calendarMonthFontStyle, ");\n ").concat(calendarBaseTokens.calendarMonthFontLetterSpacing, ": var(").concat(tokens.calendarMonthFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarMonthFontLineHeight, ": var(").concat(tokens.calendarMonthFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarMonthFontWeight, ": var(").concat(tokens.calendarMonthFontWeight, ");\n ").concat(calendarBaseTokens.calendarMonthSelectedFontWeight, ": var(").concat(tokens.calendarMonthSelectedFontWeight, ");\n\n ").concat(calendarBaseTokens.calendarQuartersPadding, ": var(").concat(tokens.calendarQuartersPadding, ");\n ").concat(calendarBaseTokens.calendarQuarterItemBorderRadius, ": var(").concat(tokens.calendarQuarterItemBorderRadius, ");\n ").concat(calendarBaseTokens.calendarQuarterItemWidth, ": var(").concat(tokens.calendarQuarterItemWidth, ");\n ").concat(calendarBaseTokens.calendarQuarterItemHeight, ": var(").concat(tokens.calendarQuarterItemHeight, ");\n ").concat(calendarBaseTokens.calendarQuarterFontFamily, ": var(").concat(tokens.calendarQuarterFontFamily, ");\n ").concat(calendarBaseTokens.calendarQuarterFontSize, ": var(").concat(tokens.calendarQuarterFontSize, ");\n ").concat(calendarBaseTokens.calendarQuarterFontStyle, ": var(").concat(tokens.calendarQuarterFontStyle, ");\n ").concat(calendarBaseTokens.calendarQuarterFontLetterSpacing, ": var(").concat(tokens.calendarQuarterFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarQuarterFontLineHeight, ": var(").concat(tokens.calendarQuarterFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarQuarterFontWeight, ": var(").concat(tokens.calendarQuarterFontWeight, ");\n ").concat(calendarBaseTokens.calendarQuarterSelectedFontWeight, ": var(").concat(tokens.calendarQuarterSelectedFontWeight, ");\n \n ").concat(calendarBaseTokens.calendarDaysPadding, ": var(").concat(tokens.calendarDaysPadding, ");\n ").concat(calendarBaseTokens.calendarDayItemBorderRadius, ": var(").concat(tokens.calendarDayItemBorderRadius, ");\n ").concat(calendarBaseTokens.calendarDayItemWidth, ": var(").concat(tokens.calendarDayItemWidth, ");\n ").concat(calendarBaseTokens.calendarDayItemHeight, ": var(").concat(tokens.calendarDayItemHeight, ");\n ").concat(calendarBaseTokens.calendarDayFontFamily, ": var(").concat(tokens.calendarDayFontFamily, ");\n ").concat(calendarBaseTokens.calendarDayFontSize, ": var(").concat(tokens.calendarDayFontSize, ");\n ").concat(calendarBaseTokens.calendarDayFontStyle, ": var(").concat(tokens.calendarDayFontStyle, ");\n ").concat(calendarBaseTokens.calendarDayFontLetterSpacing, ": var(").concat(tokens.calendarDayFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarDayFontLineHeight, ": var(").concat(tokens.calendarDayFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarDayFontWeight, ": var(").concat(tokens.calendarDayFontWeight, ");\n ").concat(calendarBaseTokens.calendarDaySelectedFontWeight, ": var(").concat(tokens.calendarDaySelectedFontWeight, ");\n \n ").concat(calendarBaseTokens.calendarHeaderWrapperPadding, ": var(").concat(tokens.calendarHeaderWrapperPadding, ");\n ").concat(calendarBaseTokens.calendarHeaderArrowGap, ": var(").concat(tokens.calendarHeaderArrowGap, ");\n ").concat(calendarBaseTokens.calendarHeaderArrowPadding, ": var(").concat(tokens.calendarHeaderArrowPadding, ");\n ").concat(calendarBaseTokens.calendarHeaderPadding, ": var(").concat(tokens.calendarHeaderPadding, ");\n ").concat(calendarBaseTokens.calendarHeaderDateGap, ": var(").concat(tokens.calendarHeaderDateGap, ");\n ").concat(calendarBaseTokens.calendarHeaderFontFamily, ": var(").concat(tokens.calendarHeaderFontFamily, ");\n ").concat(calendarBaseTokens.calendarHeaderFontSize, ": var(").concat(tokens.calendarHeaderFontSize, ");\n ").concat(calendarBaseTokens.calendarHeaderFontStyle, ": var(").concat(tokens.calendarHeaderFontStyle, ");\n ").concat(calendarBaseTokens.calendarHeaderFontLetterSpacing, ": var(").concat(tokens.calendarHeaderFontLetterSpacing, ");\n ").concat(calendarBaseTokens.calendarHeaderFontLineHeight, ": var(").concat(tokens.calendarHeaderFontLineHeight, ");\n ").concat(calendarBaseTokens.calendarHeaderFontWeight, ": var(").concat(tokens.calendarHeaderFontWeight, ");\n ").concat(calendarBaseTokens.calendarHeaderFontWeightBold, ": var(").concat(tokens.calendarHeaderFontWeightBold, ");\n ").concat(calendarBaseTokens.calendarHeaderArrowColor, ": var(").concat(tokens.calendarHeaderArrowColor, ");\n \n ").concat(calendarBaseTokens.iconButtonHeight, ": var(").concat(tokens.iconButtonHeight, ");\n ").concat(calendarBaseTokens.iconButtonWidth, ": var(").concat(tokens.iconButtonWidth, ");\n ").concat(calendarBaseTokens.iconButtonPadding, ": var(").concat(tokens.iconButtonPadding, ");\n ").concat(calendarBaseTokens.iconButtonRadius, ": var(").concat(tokens.iconButtonRadius, ");\n ").concat(calendarBaseTokens.iconButtonFocusColor, ": var(").concat(tokens.iconButtonFocusColor, ");\n");
9
9
 
10
10
  // NOTE: переопределение токенов Calendar
11
11
  export var StyledCalendar = /*#__PURE__*/styled(Calendar).withConfig({
@@ -15,7 +15,7 @@ export var StyledPopover = /*#__PURE__*/styled(Popover).withConfig({
15
15
  // NOTE: переопределение токенов TextField
16
16
  export var StyledInput = /*#__PURE__*/styled(TextField).withConfig({
17
17
  componentId: "plasma-new-hope__sc-1ye0xbz-1"
18
- })(["width:100%;", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ",var(", "));&.", "{", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");}&.", "{", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");}"], textFieldTokens.color, tokens.textFieldColor, textFieldTokens.placeholderColor, tokens.textFieldPlaceholderColor, textFieldTokens.placeholderColorFocus, tokens.textFieldPlaceholderColorFocus, textFieldTokens.caretColor, tokens.textFieldCaretColor, textFieldTokens.focusColor, tokens.textFieldFocusColor, textFieldTokens.backgroundColor, tokens.textFieldBackgroundColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundColorFocus, textFieldTokens.borderColor, tokens.borderColor, textFieldTokens.borderColorHover, tokens.borderColorHover, textFieldTokens.borderColorFocus, tokens.borderColorFocus, textFieldTokens.colorReadOnly, tokens.textFieldColorReadOnly, textFieldTokens.backgroundColorReadOnly, tokens.textFieldBackgroundColorReadOnly, textFieldTokens.borderColorReadOnly, tokens.textFieldBorderColorReadOnly, textFieldTokens.placeholderColorReadOnly, tokens.textFieldPlaceholderColorReadOnly, textFieldTokens.height, tokens.textFieldHeight, textFieldTokens.borderWidth, tokens.textFieldBorderWidth, textFieldTokens.borderRadius, tokens.textFieldBorderRadius, textFieldTokens.padding, tokens.textFieldPadding, textFieldTokens.labelInnerPadding, tokens.labelInnerPadding, textFieldTokens.contentLabelInnerPadding, tokens.contentLabelInnerPadding, textFieldTokens.labelInnerFontFamily, tokens.labelInnerFontFamily, textFieldTokens.labelInnerFontSize, tokens.labelInnerFontSize, textFieldTokens.labelInnerFontStyle, tokens.labelInnerFontStyle, textFieldTokens.labelInnerFontWeight, tokens.labelInnerFontWeight, textFieldTokens.labelInnerLetterSpacing, tokens.labelInnerLetterSpacing, textFieldTokens.labelInnerLineHeight, tokens.labelInnerLineHeight, textFieldTokens.leftContentMargin, tokens.textFieldLeftContentMargin, textFieldTokens.rightContentMargin, tokens.textFieldRightContentMargin, textFieldTokens.fontFamily, tokens.textFieldFontFamily, textFieldTokens.fontSize, tokens.textFieldFontSize, textFieldTokens.fontStyle, tokens.textFieldFontStyle, textFieldTokens.fontWeight, tokens.textFieldFontWeight, textFieldTokens.letterSpacing, tokens.textFieldLetterSpacing, textFieldTokens.lineHeight, tokens.textFieldLineHeight, textFieldTokens.disabledOpacity, tokens.disabledOpacity, textFieldTokens.textBeforeColor, tokens.textFieldTextBeforeColor, textFieldTokens.textAfterColor, tokens.textFieldTextAfterColor, textFieldTokens.textBeforeMargin, tokens.textFieldTextBeforeMargin, textFieldTokens.textAfterMargin, tokens.textFieldTextAfterMargin, textFieldTokens.contentSlotColor, tokens.textFieldContentSlotColor, tokens.textFieldColor, classes.datePickerError, textFieldTokens.backgroundColor, tokens.textFieldBackgroundErrorColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundErrorColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundErrorColorFocus, textFieldTokens.borderColor, tokens.textFieldBorderColorError, textFieldTokens.borderColorHover, tokens.textFieldBorderColorErrorHover, textFieldTokens.borderColorFocus, tokens.textFieldBorderColorErrorFocus, classes.datePickerSuccess, textFieldTokens.backgroundColor, tokens.textFieldBackgroundSuccessColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundSuccessColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundSuccessColorFocus, textFieldTokens.borderColor, tokens.textFieldBorderColorSuccess, textFieldTokens.borderColorHover, tokens.textFieldBorderColorSuccessHover, textFieldTokens.borderColorFocus, tokens.textFieldBorderColorSuccessFocus);
18
+ })(["width:100%;", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ",var(", "));", ":var(", ",var(", "));", ":var(", ",var(", "));&.", "{", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");}&.", "{", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");}"], textFieldTokens.color, tokens.textFieldColor, textFieldTokens.placeholderColor, tokens.textFieldPlaceholderColor, textFieldTokens.placeholderColorFocus, tokens.textFieldPlaceholderColorFocus, textFieldTokens.caretColor, tokens.textFieldCaretColor, textFieldTokens.focusColor, tokens.textFieldFocusColor, textFieldTokens.backgroundColor, tokens.textFieldBackgroundColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundColorFocus, textFieldTokens.borderColor, tokens.borderColor, textFieldTokens.borderColorHover, tokens.borderColorHover, textFieldTokens.borderColorFocus, tokens.borderColorFocus, textFieldTokens.colorReadOnly, tokens.textFieldColorReadOnly, textFieldTokens.backgroundColorReadOnly, tokens.textFieldBackgroundColorReadOnly, textFieldTokens.borderColorReadOnly, tokens.textFieldBorderColorReadOnly, textFieldTokens.placeholderColorReadOnly, tokens.textFieldPlaceholderColorReadOnly, textFieldTokens.height, tokens.textFieldHeight, textFieldTokens.borderWidth, tokens.textFieldBorderWidth, textFieldTokens.borderRadius, tokens.textFieldBorderRadius, textFieldTokens.padding, tokens.textFieldPadding, textFieldTokens.labelInnerPadding, tokens.labelInnerPadding, textFieldTokens.contentLabelInnerPadding, tokens.contentLabelInnerPadding, textFieldTokens.labelInnerFontFamily, tokens.labelInnerFontFamily, textFieldTokens.labelInnerFontSize, tokens.labelInnerFontSize, textFieldTokens.labelInnerFontStyle, tokens.labelInnerFontStyle, textFieldTokens.labelInnerFontWeight, tokens.labelInnerFontWeight, textFieldTokens.labelInnerLetterSpacing, tokens.labelInnerLetterSpacing, textFieldTokens.labelInnerLineHeight, tokens.labelInnerLineHeight, textFieldTokens.leftContentMargin, tokens.textFieldLeftContentMargin, textFieldTokens.rightContentMargin, tokens.textFieldRightContentMargin, textFieldTokens.fontFamily, tokens.textFieldFontFamily, textFieldTokens.fontSize, tokens.textFieldFontSize, textFieldTokens.fontStyle, tokens.textFieldFontStyle, textFieldTokens.fontWeight, tokens.textFieldFontWeight, textFieldTokens.letterSpacing, tokens.textFieldLetterSpacing, textFieldTokens.lineHeight, tokens.textFieldLineHeight, textFieldTokens.disabledOpacity, tokens.disabledOpacity, textFieldTokens.textBeforeColor, tokens.textFieldTextBeforeColor, textFieldTokens.textAfterColor, tokens.textFieldTextAfterColor, textFieldTokens.textBeforeMargin, tokens.textFieldTextBeforeMargin, textFieldTokens.textAfterMargin, tokens.textFieldTextAfterMargin, textFieldTokens.contentSlotColor, tokens.textFieldContentSlotColor, tokens.textFieldColor, textFieldTokens.contentSlotRightColor, tokens.textFieldContentRightSlotColor, textFieldTokens.contentSlotColor, textFieldTokens.contentSlotRightColorHover, tokens.textFieldContentRightSlotColorHover, textFieldTokens.contentSlotRightColor, classes.datePickerError, textFieldTokens.backgroundColor, tokens.textFieldBackgroundErrorColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundErrorColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundErrorColorFocus, textFieldTokens.borderColor, tokens.textFieldBorderColorError, textFieldTokens.borderColorHover, tokens.textFieldBorderColorErrorHover, textFieldTokens.borderColorFocus, tokens.textFieldBorderColorErrorFocus, classes.datePickerSuccess, textFieldTokens.backgroundColor, tokens.textFieldBackgroundSuccessColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundSuccessColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundSuccessColorFocus, textFieldTokens.borderColor, tokens.textFieldBorderColorSuccess, textFieldTokens.borderColorHover, tokens.textFieldBorderColorSuccessHover, textFieldTokens.borderColorFocus, tokens.textFieldBorderColorSuccessFocus);
19
19
  export var base = /*#__PURE__*/css(["display:inline-block;.", ",.", "{width:inherit;}"], /*#__PURE__*/String(popoverClasses.wrapper), /*#__PURE__*/String(popoverClasses.target));
20
20
  export var StyledLabel = /*#__PURE__*/styled.label.withConfig({
21
21
  componentId: "plasma-new-hope__sc-1ye0xbz-2"
@@ -8,33 +8,30 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
8
8
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
9
9
  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
10
  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
- import React, { createContext, forwardRef, useReducer, useRef } from 'react';
12
- import { safeUseId } from '@salutejs/plasma-core';
13
- import { cx } from '../../utils';
14
- import { useOutsideClick } from '../../hooks';
11
+ import React, { forwardRef, useReducer } from 'react';
12
+ import { cx, getPlacements } from '../../utils';
15
13
  import { pathReducer } from './reducers/pathReducer';
16
14
  import { focusedPathReducer } from './reducers/focusedPathReducer';
17
15
  import { DropdownInner } from './ui';
18
16
  import { base as viewCSS } from './variations/_view/base';
19
17
  import { base as sizeCSS } from './variations/_size/base';
20
- import { Ul, base } from './Dropdown.styles';
21
- import { childrenWithProps, getItemByFocused, getItemId, getPlacement } from './utils';
18
+ import { Ul, StyledPopover, base } from './Dropdown.styles';
19
+ import { childrenWithProps } from './utils';
22
20
  import { classes } from './Dropdown.tokens';
23
21
  import { useKeyNavigation } from './hooks/useKeyboardNavigation';
24
22
  import { useHashMaps } from './hooks/useHashMaps';
25
- import { FloatingPopover } from './FloatingPopover';
26
- export var Context = /*#__PURE__*/createContext({});
27
23
 
28
24
  /**
29
25
  * Выпадающий список.
30
26
  */
31
27
  export var dropdownRoot = function dropdownRoot(Root) {
32
28
  return /*#__PURE__*/forwardRef(function (_ref, ref) {
33
- var _getItemByFocused;
34
29
  var items = _ref.items,
35
30
  children = _ref.children,
36
- placement = _ref.placement,
37
- offset = _ref.offset,
31
+ _ref$placement = _ref.placement,
32
+ placement = _ref$placement === void 0 ? 'bottom' : _ref$placement,
33
+ _ref$offset = _ref.offset,
34
+ offset = _ref$offset === void 0 ? [0, 0] : _ref$offset,
38
35
  _ref$closeOnOverlayCl = _ref.closeOnOverlayClick,
39
36
  closeOnOverlayClick = _ref$closeOnOverlayCl === void 0 ? true : _ref$closeOnOverlayCl,
40
37
  onToggle = _ref.onToggle,
@@ -71,25 +68,6 @@ export var dropdownRoot = function dropdownRoot(Root) {
71
68
  _useHashMaps2 = _slicedToArray(_useHashMaps, 2),
72
69
  pathMap = _useHashMaps2[0],
73
70
  focusedToValueMap = _useHashMaps2[1];
74
- var activeDescendantItemValue = ((_getItemByFocused = getItemByFocused(focusedPath, focusedToValueMap)) === null || _getItemByFocused === void 0 ? void 0 : _getItemByFocused.value) || '';
75
- var floatingPopoverRef = useRef(null);
76
- var treeId = safeUseId();
77
-
78
- // Логика работы при клике за пределами выпадающего списка
79
- var targetRef = useOutsideClick(function (event) {
80
- if (!isCurrentListOpen || !closeOnOverlayClick) {
81
- return;
82
- }
83
- dispatchPath({
84
- type: 'reset'
85
- });
86
- dispatchFocusedPath({
87
- type: 'reset'
88
- });
89
- if (onToggle) {
90
- onToggle(false, event);
91
- }
92
- }, floatingPopoverRef);
93
71
  var handleGlobalToggle = function handleGlobalToggle(opened, event) {
94
72
  if (opened) {
95
73
  dispatchPath({
@@ -121,64 +99,66 @@ export var dropdownRoot = function dropdownRoot(Root) {
121
99
  }),
122
100
  onKeyDown = _useKeyNavigation.onKeyDown;
123
101
  var isCurrentListOpen = Boolean(path[0]);
124
- return /*#__PURE__*/React.createElement(Context.Provider, {
125
- value: {
126
- focusedPath: focusedPath,
127
- size: size,
128
- variant: variant,
129
- itemRole: itemRole,
130
- handleGlobalToggle: handleGlobalToggle,
131
- closeOnSelect: closeOnSelect,
132
- onHover: onHover,
133
- onItemClick: onItemClick,
134
- onItemSelect: onItemSelect,
135
- hasArrow: hasArrow,
136
- treeId: treeId
137
- }
138
- }, /*#__PURE__*/React.createElement(FloatingPopover, {
139
- ref: floatingPopoverRef,
102
+ var getActiveDescendant = function getActiveDescendant() {
103
+ var _focusedToValueMap$ge;
104
+ var focusedPathAsString = focusedPath.reduce(function (acc, n) {
105
+ return "".concat(acc, "/").concat(n);
106
+ }, '').replace(/^(\/)/, '');
107
+ return focusedToValueMap === null || focusedToValueMap === void 0 || (_focusedToValueMap$ge = focusedToValueMap.get(focusedPathAsString)) === null || _focusedToValueMap$ge === void 0 ? void 0 : _focusedToValueMap$ge.value.toString();
108
+ };
109
+ return /*#__PURE__*/React.createElement(StyledPopover, {
140
110
  opened: isCurrentListOpen,
141
111
  onToggle: handleGlobalToggle,
142
- placement: getPlacement(placement),
143
112
  offset: offset,
144
- portal: portal,
113
+ placement: getPlacements(placement),
145
114
  trigger: trigger,
115
+ closeOnOverlayClick: closeOnOverlayClick,
116
+ isFocusTrapped: false,
146
117
  target: childrenWithProps(children, {
147
118
  role: 'combobox',
148
- 'aria-controls': "".concat(treeId, "_tree_level_1"),
119
+ 'aria-controls': 'tree_level_1',
149
120
  'aria-expanded': isCurrentListOpen,
150
- 'aria-activedescendant': activeDescendantItemValue ? getItemId(treeId, activeDescendantItemValue.toString()) : '',
121
+ 'aria-activedescendant': getActiveDescendant(),
151
122
  onKeyDown: onKeyDown
152
- })
123
+ }),
124
+ preventOverflow: false,
125
+ usePortal: Boolean(portal),
126
+ frame: portal
153
127
  }, /*#__PURE__*/React.createElement(Root, _extends({
154
128
  className: cx(className, classes.dropdownRoot),
155
129
  ref: ref,
156
130
  view: view,
157
- size: size,
158
- style: {
159
- display: 'inline-block'
160
- }
131
+ size: size
161
132
  }, rest), /*#__PURE__*/React.createElement(Ul, {
162
- ref: targetRef,
163
- id: "".concat(treeId, "_tree_level_1"),
164
- role: "tree",
165
133
  listHeight: listHeight,
166
134
  listOverflow: listOverflow,
135
+ role: "tree",
136
+ id: "tree_level_1",
167
137
  listWidth: listWidth
168
138
  }, items.map(function (item, index) {
169
139
  return /*#__PURE__*/React.createElement(DropdownInner, {
170
140
  key: "".concat(index, "/0"),
171
141
  item: item,
172
142
  currentLevel: 0,
143
+ focusedPath: focusedPath,
173
144
  trigger: trigger,
174
145
  path: path,
175
146
  dispatchPath: dispatchPath,
176
147
  index: index,
148
+ itemRole: itemRole,
177
149
  listHeight: listHeight,
178
150
  listOverflow: listOverflow,
179
- listWidth: listWidth
151
+ handleGlobalToggle: handleGlobalToggle,
152
+ closeOnSelect: closeOnSelect,
153
+ onHover: onHover,
154
+ onItemSelect: onItemSelect,
155
+ onItemClick: onItemClick,
156
+ listWidth: listWidth,
157
+ variant: variant,
158
+ hasArrow: hasArrow,
159
+ size: size
180
160
  });
181
- })))));
161
+ }))));
182
162
  });
183
163
  };
184
164
  export var dropdownConfig = {
@@ -1,20 +1,26 @@
1
1
  import styled from 'styled-components';
2
2
  import { css } from 'styled-components';
3
+ import { component } from '../../engines';
4
+ import { popoverConfig, popoverClasses } from '../Popover';
3
5
  import { getCorrectHeight } from './utils';
4
- import { tokens, constants } from './Dropdown.tokens';
5
- export var Ul = /*#__PURE__*/styled.ul.withConfig({
6
+ import { tokens } from './Dropdown.tokens';
7
+ var Popover = /*#__PURE__*/component(popoverConfig);
8
+ export var StyledPopover = /*#__PURE__*/styled(Popover).withConfig({
6
9
  componentId: "plasma-new-hope__sc-13ezpo5-0"
7
- })(["box-sizing:border-box;width:", ";height:", ";margin:", ";padding:var(", ") 0;overflow:", ";background:var(", ");box-shadow:", ";border-radius:var(", ");"], function (_ref) {
10
+ })([".", ",.", "{display:block;}"], /*#__PURE__*/String(popoverClasses.wrapper), /*#__PURE__*/String(popoverClasses.target));
11
+ export var Ul = /*#__PURE__*/styled.ul.withConfig({
12
+ componentId: "plasma-new-hope__sc-13ezpo5-1"
13
+ })(["box-sizing:border-box;background:var(", ");box-shadow:var(", ");border-radius:var(", ");width:", ";height:", ";overflow:", ";margin:", ";padding:var(", ");border:var(", ") solid var(", ");"], tokens.background, tokens.boxShadow, tokens.borderRadius, function (_ref) {
8
14
  var listWidth = _ref.listWidth;
9
15
  return listWidth || "var(".concat(tokens.width, ")");
10
16
  }, function (_ref2) {
11
17
  var listHeight = _ref2.listHeight;
12
18
  return listHeight ? getCorrectHeight(listHeight) : 'auto';
13
19
  }, function (_ref3) {
14
- var isInnerUl = _ref3.isInnerUl;
15
- return isInnerUl ? "calc(var(".concat(tokens.padding, ") * -1) 0.125rem 0") : 0;
16
- }, tokens.padding, function (_ref4) {
17
- var listOverflow = _ref4.listOverflow;
20
+ var listOverflow = _ref3.listOverflow;
18
21
  return listOverflow || 'initial';
19
- }, constants.background, constants.boxShadow, tokens.borderRadius);
20
- export var base = /*#__PURE__*/css([""]);
22
+ }, function (_ref4) {
23
+ var isInnerUl = _ref4.isInnerUl;
24
+ return isInnerUl ? "calc(var(".concat(tokens.padding, ") * -1) 0 0 var(").concat(tokens.padding, ")") : 0;
25
+ }, tokens.padding, tokens.borderWidth, tokens.borderColor);
26
+ export var base = /*#__PURE__*/css(["display:inline-block;"]);
@@ -3,7 +3,7 @@ export var classes = {
3
3
  dropdownItemIsFocused: 'dropdown-item-is-focused',
4
4
  dropdownItemIsDisabled: 'dropdown-item-is-disabled',
5
5
  dropdownItemIsActive: 'dropdown-item-is-active',
6
- dropdownItemIsSelected: 'dropdown-item-is-selected'
6
+ dropdownItemIsSelected: 'dropdownItemIsSelected'
7
7
  };
8
8
  export var tokens = {
9
9
  background: '--plasma-dropdown-background',
@@ -14,8 +14,8 @@ export var tokens = {
14
14
  disclosureIconColor: '--plasma-dropdown-disclosure-icon-color',
15
15
  disabledOpacity: '--plasma-dropdown-disabled-opacity',
16
16
  focusColor: '--plasma-dropdown-focus-color',
17
- // Old
18
-
17
+ borderColor: '--plasma-dropdown-border-color',
18
+ borderWidth: '--plasma-dropdown-border-width',
19
19
  dividerColor: '--plasma-dropdown-divider-color',
20
20
  dividerMarginTop: '--plasma-dropdown-divider-margin-top',
21
21
  dividerMarginTopTight: '--plasma-dropdown-divider-margin-top-tight',
@@ -30,7 +30,6 @@ export var tokens = {
30
30
  itemBackgroundSelectedHover: '--plasma-dropdown-item-background-selected-hover',
31
31
  // Old
32
32
  itemColor: '--plasma-dropdown-item-color',
33
- // Old
34
33
  itemColorSelected: '--plasma-dropdown-item-color-selected',
35
34
  // Old
36
35
  itemColorSelectedHover: '--plasma-dropdown-item-color-selected-hover',
@@ -49,17 +48,11 @@ export var tokens = {
49
48
  itemMarginLeft: '--plasma-dropdown-item-margin-left',
50
49
  // Old
51
50
  itemPaddingTop: '--plasma-dropdown-item-padding-top',
52
- // Old
53
51
  itemPaddingTopTight: '--plasma-dropdown-item-padding-top-tight',
54
- // Old
55
52
  itemPaddingRight: '--plasma-dropdown-item-padding-right',
56
- // Old
57
53
  itemPaddingBottom: '--plasma-dropdown-item-padding-bottom',
58
- // Old
59
54
  itemPaddingBottomTight: '--plasma-dropdown-item-padding-bottom-tight',
60
- // Old
61
55
  itemPaddingLeft: '--plasma-dropdown-item-padding-left',
62
- // Old
63
56
  itemContentLeftWidth: '--plasma-dropdown-item-content-left-width',
64
57
  // Old
65
58
  itemContentLeftColor: '--plasma-dropdown-item-content-left-color',
@@ -74,20 +67,6 @@ export var tokens = {
74
67
  itemFontWeightBold: '--plasma-dropdown-item-letter-spacing',
75
68
  itemFontLetterSpacing: '--plasma-dropdown-item-line-height',
76
69
  itemFontLineHeight: '--plasma-dropdown-item-font-weight',
77
- itemPadding: '--plasma-dropdown-item-padding',
78
- itemPaddingTight: '--plasma-dropdown-item-padding-tight',
79
- cellPadding: '--plasma-dropdown-cell-padding',
80
- cellPaddingLeftContent: '--plasma-dropdown-cell-padding-left-content',
81
- cellPaddingContent: '--plasma-dropdown-cell-padding-content',
82
- cellPaddingRightContent: '--plasma-dropdown-cell-padding-right-content',
83
- cellTextboxGap: '--plasma-dropdown-cell-textbox-gap',
84
- cellGap: '--plasma-dropdown-cell-gap',
85
- cellTitleFontFamily: '--plasma-dropdown-cell-title-font-family',
86
- cellTitleFontSize: '--plasma-dropdown-cell-title-font-size',
87
- cellTitleFontStyle: '--plasma-dropdown-cell-title-font-style',
88
- cellTitleFontWeight: '--plasma-dropdown-cell-title-font-weight',
89
- cellTitleLetterSpacing: '--plasma-dropdown-cell-title-letter-spacing',
90
- cellTitleLineHeight: '--plasma-dropdown-cell-title-line-height',
91
70
  // TODO: Remove below tokens as soon as they are no longer needed
92
71
  footerBackground: '--plasma-dropdown-footer-background',
93
72
  footerWidth: '--plasma-dropdown-footer-width',
@@ -151,15 +130,4 @@ export var tokens = {
151
130
  groupLabelMarginRight: '--plasma-dropdown-group-label-margin-right',
152
131
  groupLabelMarginBottom: '--plasma-dropdown-group-label-margin-bottom',
153
132
  groupLabelMarginLeft: '--plasma-dropdown-group-label-margin-left'
154
- };
155
- export var constants = {
156
- focusColor: '--surface-accent',
157
- background: '--surface-solid-card-brightness',
158
- boxShadow: '0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04)',
159
- disclosureIconColor: '--text-secondary',
160
- itemBackground: '--plasma-colors-transparent',
161
- itemBackgroundHover: '--surface-transparent-secondary',
162
- opacity: '0.4',
163
- cellTitleColor: '--text-primary',
164
- cellBackgroundColor: '--plasma-colors-transparent'
165
133
  };