@salutejs/plasma-new-hope 0.175.1-canary.1506.11553215359.0 → 0.175.1-dev.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 +0 -1
  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_1ye9068.css → TextField.styles_1csckkd.css} +1 -1
  7. package/cjs/components/Calendar/Calendar.tokens.js +0 -3
  8. package/cjs/components/Calendar/Calendar.tokens.js.map +1 -1
  9. package/cjs/components/Calendar/CalendarBase/CalendarBase.css +10 -11
  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_ni8729.css → cjs/components/Calendar/CalendarBase/CalendarBase.styles_1m6uih1.css} +1 -1
  13. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +10 -11
  14. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.css +8 -9
  15. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +4 -3
  16. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  17. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +1 -11
  18. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  19. package/{es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1xijs8w.css → cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1jfelqf.css} +0 -1
  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_1nqrvms.css → cjs/components/Combobox/ComboboxNew/Combobox.styles_1s09ifw.css} +1 -1
  24. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -5
  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 +1 -2
  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 +7 -21
  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_1njzasn.css → Item.styles_y71664.css} +3 -3
  33. package/cjs/components/Combobox/ComboboxOld/Combobox.css +28 -14
  34. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +32 -18
  35. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +32 -18
  36. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +32 -18
  37. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +32 -18
  38. package/cjs/components/DatePicker/DatePicker.tokens.js +0 -5
  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_mjc9xz.css +2 -0
  43. package/cjs/components/DatePicker/RangeDate/RangeDate.css +14 -15
  44. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +12 -13
  45. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +1 -1
  46. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1gljtdv.css +2 -0
  47. package/cjs/components/DatePicker/SingleDate/SingleDate.css +14 -15
  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_e72b5o.css → cjs/components/DatePicker/SingleDate/SingleDate.styles_1rrq00l.css} +1 -1
  51. package/cjs/components/Dropdown/Dropdown.css +30 -16
  52. package/cjs/components/Dropdown/Dropdown.js +60 -37
  53. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  54. package/cjs/components/Dropdown/Dropdown.styles.js +14 -26
  55. package/cjs/components/Dropdown/Dropdown.styles.js.map +1 -1
  56. package/cjs/components/Dropdown/Dropdown.styles_1ix6io8.css +2 -0
  57. package/cjs/components/Dropdown/Dropdown.tokens.js +24 -3
  58. package/cjs/components/Dropdown/Dropdown.tokens.js.map +1 -1
  59. package/cjs/components/Dropdown/FloatingPopover.js +104 -0
  60. package/cjs/components/Dropdown/FloatingPopover.js.map +1 -0
  61. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +17 -51
  62. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  63. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.css +46 -6
  64. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +29 -18
  65. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  66. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +25 -31
  67. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  68. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles_17va0nk.css +5 -0
  69. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +1 -1
  70. package/cjs/components/Dropdown/ui/DropdownItemOld/{DropdownItem.styles_12e50g5.css → DropdownItem.styles_1lyg81y.css} +1 -1
  71. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.css +4 -4
  72. package/cjs/components/Dropdown/utils/getItemByFocused.js +13 -0
  73. package/cjs/components/Dropdown/utils/getItemByFocused.js.map +1 -0
  74. package/cjs/components/Dropdown/utils/getItemId.js +10 -0
  75. package/cjs/components/Dropdown/utils/getItemId.js.map +1 -0
  76. package/cjs/components/Dropdown/utils/getPlacement.js +16 -0
  77. package/cjs/components/Dropdown/utils/getPlacement.js.map +1 -0
  78. package/cjs/components/Dropdown/utils/index.js.map +1 -1
  79. package/cjs/components/Notification/Notification.css +11 -11
  80. package/cjs/components/Notification/Notification.styles.js +15 -15
  81. package/cjs/components/Notification/Notification.styles.js.map +1 -1
  82. package/cjs/components/Notification/{Notification.styles_1g34msm.css → Notification.styles_7h8hp0.css} +1 -1
  83. package/cjs/components/Notification/Notification.tokens.js +0 -2
  84. package/cjs/components/Notification/Notification.tokens.js.map +1 -1
  85. package/cjs/components/Notification/NotificationsProvider.css +11 -11
  86. package/cjs/components/Pagination/Pagination.css +10 -10
  87. package/cjs/components/Pagination/Pagination.js +5 -5
  88. package/cjs/components/Pagination/Pagination.js.map +1 -1
  89. package/cjs/components/Pagination/Pagination.styles.js +3 -3
  90. package/cjs/components/Pagination/Pagination.styles.js.map +1 -1
  91. package/cjs/components/Pagination/{Pagination.styles_1w5oej6.css → Pagination.styles_y6gcva.css} +1 -1
  92. package/cjs/components/Pagination/Pagination.tokens.js +1 -4
  93. package/cjs/components/Pagination/Pagination.tokens.js.map +1 -1
  94. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +3 -3
  95. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  96. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  97. package/cjs/components/Pagination/ui/PaginationSelectPerPage/{PaginationSelectPerPage.styles_1fesyfv.css → PaginationSelectPerPage.styles_187mk6b.css} +1 -1
  98. package/cjs/components/Select/Select.js +1 -1
  99. package/cjs/components/Select/utils/getCorrectHeight.js.map +1 -1
  100. package/cjs/components/Tabs/tokens.js +1 -7
  101. package/cjs/components/Tabs/tokens.js.map +1 -1
  102. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +5 -5
  103. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  104. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  105. package/{es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_uaaqqg.css → cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_hfqv5b.css} +1 -1
  106. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -5
  107. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  108. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  109. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/{VerticalTabItem.styles_1g7zipg.css → VerticalTabItem.styles_16d3lah.css} +1 -1
  110. package/cjs/hooks/useOutsideClick.js +1 -1
  111. package/cjs/hooks/useOutsideClick.js.map +1 -1
  112. package/cjs/index.css +71 -74
  113. package/emotion/cjs/components/Autocomplete/Autocomplete.tokens.js +0 -1
  114. package/emotion/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  115. package/emotion/cjs/components/Calendar/Calendar.tokens.js +0 -3
  116. package/emotion/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -2
  117. package/emotion/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -3
  118. package/emotion/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +17 -22
  119. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +7 -7
  120. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -5
  121. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  122. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +15 -21
  123. package/emotion/cjs/components/DatePicker/DatePicker.tokens.js +0 -5
  124. package/emotion/cjs/components/DatePicker/DatePickerBase.styles.js +3 -3
  125. package/emotion/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +5 -5
  126. package/emotion/cjs/components/Dropdown/Dropdown.js +58 -37
  127. package/emotion/cjs/components/Dropdown/Dropdown.styles.js +9 -25
  128. package/emotion/cjs/components/Dropdown/Dropdown.tokens.js +36 -4
  129. package/emotion/cjs/components/Dropdown/FloatingPopover.js +109 -0
  130. package/emotion/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +17 -51
  131. package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +29 -18
  132. package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +21 -41
  133. package/emotion/cjs/components/Dropdown/utils/getItemByFocused.js +12 -0
  134. package/emotion/cjs/components/Dropdown/utils/getItemId.js +9 -0
  135. package/emotion/cjs/components/Dropdown/utils/getPlacement.js +15 -0
  136. package/emotion/cjs/components/Dropdown/utils/index.js +23 -1
  137. package/emotion/cjs/components/Notification/Notification.styles.js +11 -11
  138. package/emotion/cjs/components/Notification/Notification.tokens.js +0 -2
  139. package/emotion/cjs/components/Pagination/Pagination.js +5 -5
  140. package/emotion/cjs/components/Pagination/Pagination.styles.js +8 -8
  141. package/emotion/cjs/components/Pagination/Pagination.tokens.js +1 -4
  142. package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  143. package/emotion/cjs/components/Tabs/tokens.js +1 -7
  144. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +5 -5
  145. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +5 -5
  146. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  147. package/emotion/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +5 -5
  148. package/emotion/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +6 -5
  149. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
  150. package/emotion/cjs/examples/plasma_web/components/Dropdown/Dropdown.config.js +5 -5
  151. package/emotion/cjs/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +6 -5
  152. package/emotion/cjs/hooks/useOutsideClick.js +1 -1
  153. package/emotion/es/components/Autocomplete/Autocomplete.tokens.js +0 -1
  154. package/emotion/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  155. package/emotion/es/components/Calendar/Calendar.tokens.js +0 -3
  156. package/emotion/es/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -2
  157. package/emotion/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -5
  158. package/emotion/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +16 -21
  159. package/emotion/es/components/Combobox/ComboboxNew/Combobox.styles.js +7 -7
  160. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -5
  161. package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  162. package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +15 -21
  163. package/emotion/es/components/DatePicker/DatePicker.tokens.js +0 -5
  164. package/emotion/es/components/DatePicker/DatePickerBase.styles.js +3 -3
  165. package/emotion/es/components/DatePicker/SingleDate/SingleDate.styles.js +5 -5
  166. package/emotion/es/components/Dropdown/Dropdown.js +60 -40
  167. package/emotion/es/components/Dropdown/Dropdown.styles.js +9 -25
  168. package/emotion/es/components/Dropdown/Dropdown.tokens.js +35 -3
  169. package/emotion/es/components/Dropdown/FloatingPopover.js +102 -0
  170. package/emotion/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +18 -52
  171. package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +31 -20
  172. package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +22 -42
  173. package/emotion/es/components/Dropdown/utils/getItemByFocused.js +6 -0
  174. package/emotion/es/components/Dropdown/utils/getItemId.js +3 -0
  175. package/emotion/es/components/Dropdown/utils/getPlacement.js +9 -0
  176. package/emotion/es/components/Dropdown/utils/index.js +4 -1
  177. package/emotion/es/components/Notification/Notification.styles.js +11 -11
  178. package/emotion/es/components/Notification/Notification.tokens.js +0 -2
  179. package/emotion/es/components/Pagination/Pagination.js +5 -5
  180. package/emotion/es/components/Pagination/Pagination.styles.js +8 -8
  181. package/emotion/es/components/Pagination/Pagination.tokens.js +1 -4
  182. package/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  183. package/emotion/es/components/Tabs/tokens.js +1 -7
  184. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +5 -5
  185. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +5 -5
  186. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  187. package/emotion/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +6 -6
  188. package/emotion/es/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +6 -5
  189. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
  190. package/emotion/es/examples/plasma_web/components/Dropdown/Dropdown.config.js +6 -6
  191. package/emotion/es/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +6 -5
  192. package/emotion/es/hooks/useOutsideClick.js +1 -1
  193. package/es/components/Autocomplete/Autocomplete.css +1 -1
  194. package/es/components/Autocomplete/Autocomplete.tokens.js +0 -1
  195. package/es/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
  196. package/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  197. package/es/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  198. package/es/components/Autocomplete/ui/TextField/{TextField.styles_1ye9068.css → TextField.styles_1csckkd.css} +1 -1
  199. package/es/components/Calendar/Calendar.tokens.js +0 -3
  200. package/es/components/Calendar/Calendar.tokens.js.map +1 -1
  201. package/es/components/Calendar/CalendarBase/CalendarBase.css +10 -11
  202. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  203. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  204. package/{cjs/components/Calendar/CalendarBase/CalendarBase.styles_ni8729.css → es/components/Calendar/CalendarBase/CalendarBase.styles_1m6uih1.css} +1 -1
  205. package/es/components/Calendar/CalendarDouble/CalendarDouble.css +10 -11
  206. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.css +8 -9
  207. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -4
  208. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  209. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +2 -11
  210. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  211. package/{cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1xijs8w.css → es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1jfelqf.css} +0 -1
  212. package/es/components/Combobox/ComboboxNew/Combobox.css +12 -12
  213. package/es/components/Combobox/ComboboxNew/Combobox.styles.js +10 -10
  214. package/es/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  215. package/{cjs/components/Combobox/ComboboxNew/Combobox.styles_1nqrvms.css → es/components/Combobox/ComboboxNew/Combobox.styles_1s09ifw.css} +1 -1
  216. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -5
  217. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  218. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +12 -12
  219. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +12 -12
  220. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  221. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  222. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +7 -21
  223. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  224. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/{Item.styles_1njzasn.css → Item.styles_y71664.css} +3 -3
  225. package/es/components/Combobox/ComboboxOld/Combobox.css +28 -14
  226. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +32 -18
  227. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +32 -18
  228. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +32 -18
  229. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +32 -18
  230. package/es/components/DatePicker/DatePicker.tokens.js +0 -5
  231. package/es/components/DatePicker/DatePicker.tokens.js.map +1 -1
  232. package/es/components/DatePicker/DatePickerBase.styles.js +1 -1
  233. package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  234. package/es/components/DatePicker/DatePickerBase.styles_mjc9xz.css +2 -0
  235. package/es/components/DatePicker/RangeDate/RangeDate.css +14 -15
  236. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +12 -13
  237. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +1 -1
  238. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1gljtdv.css +2 -0
  239. package/es/components/DatePicker/SingleDate/SingleDate.css +14 -15
  240. package/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  241. package/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  242. package/{cjs/components/DatePicker/SingleDate/SingleDate.styles_e72b5o.css → es/components/DatePicker/SingleDate/SingleDate.styles_1rrq00l.css} +1 -1
  243. package/es/components/Dropdown/Dropdown.css +30 -16
  244. package/es/components/Dropdown/Dropdown.js +62 -40
  245. package/es/components/Dropdown/Dropdown.js.map +1 -1
  246. package/es/components/Dropdown/Dropdown.styles.js +15 -26
  247. package/es/components/Dropdown/Dropdown.styles.js.map +1 -1
  248. package/es/components/Dropdown/Dropdown.styles_1ix6io8.css +2 -0
  249. package/es/components/Dropdown/Dropdown.tokens.js +24 -3
  250. package/es/components/Dropdown/Dropdown.tokens.js.map +1 -1
  251. package/es/components/Dropdown/FloatingPopover.js +100 -0
  252. package/es/components/Dropdown/FloatingPopover.js.map +1 -0
  253. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +18 -52
  254. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  255. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.css +46 -6
  256. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +31 -20
  257. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  258. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +24 -29
  259. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  260. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles_17va0nk.css +5 -0
  261. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +1 -1
  262. package/es/components/Dropdown/ui/DropdownItemOld/{DropdownItem.styles_12e50g5.css → DropdownItem.styles_1lyg81y.css} +1 -1
  263. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.css +4 -4
  264. package/es/components/Dropdown/utils/getItemByFocused.js +9 -0
  265. package/es/components/Dropdown/utils/getItemByFocused.js.map +1 -0
  266. package/es/components/Dropdown/utils/getItemId.js +6 -0
  267. package/es/components/Dropdown/utils/getItemId.js.map +1 -0
  268. package/es/components/Dropdown/utils/getPlacement.js +12 -0
  269. package/es/components/Dropdown/utils/getPlacement.js.map +1 -0
  270. package/es/components/Dropdown/utils/index.js.map +1 -1
  271. package/es/components/Notification/Notification.css +11 -11
  272. package/es/components/Notification/Notification.styles.js +15 -15
  273. package/es/components/Notification/Notification.styles.js.map +1 -1
  274. package/es/components/Notification/{Notification.styles_1g34msm.css → Notification.styles_7h8hp0.css} +1 -1
  275. package/es/components/Notification/Notification.tokens.js +0 -2
  276. package/es/components/Notification/Notification.tokens.js.map +1 -1
  277. package/es/components/Notification/NotificationsProvider.css +11 -11
  278. package/es/components/Pagination/Pagination.css +10 -10
  279. package/es/components/Pagination/Pagination.js +5 -5
  280. package/es/components/Pagination/Pagination.js.map +1 -1
  281. package/es/components/Pagination/Pagination.styles.js +3 -3
  282. package/es/components/Pagination/Pagination.styles.js.map +1 -1
  283. package/es/components/Pagination/{Pagination.styles_1w5oej6.css → Pagination.styles_y6gcva.css} +1 -1
  284. package/es/components/Pagination/Pagination.tokens.js +1 -4
  285. package/es/components/Pagination/Pagination.tokens.js.map +1 -1
  286. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +3 -3
  287. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  288. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  289. package/es/components/Pagination/ui/PaginationSelectPerPage/{PaginationSelectPerPage.styles_1fesyfv.css → PaginationSelectPerPage.styles_187mk6b.css} +1 -1
  290. package/es/components/Select/Select.js +1 -1
  291. package/es/components/Select/utils/getCorrectHeight.js.map +1 -1
  292. package/es/components/Tabs/tokens.js +1 -7
  293. package/es/components/Tabs/tokens.js.map +1 -1
  294. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +5 -5
  295. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  296. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  297. package/{cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_uaaqqg.css → es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_hfqv5b.css} +1 -1
  298. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -5
  299. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  300. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  301. package/es/components/Tabs/ui/vertical/VerticalTabItem/{VerticalTabItem.styles_1g7zipg.css → VerticalTabItem.styles_16d3lah.css} +1 -1
  302. package/es/hooks/useOutsideClick.js +1 -1
  303. package/es/hooks/useOutsideClick.js.map +1 -1
  304. package/es/index.css +71 -74
  305. package/package.json +2 -2
  306. package/styled-components/cjs/components/Autocomplete/Autocomplete.tokens.js +0 -1
  307. package/styled-components/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  308. package/styled-components/cjs/components/Calendar/Calendar.tokens.js +0 -3
  309. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  310. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -3
  311. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +2 -6
  312. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  313. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -5
  314. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  315. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +6 -12
  316. package/styled-components/cjs/components/DatePicker/DatePicker.tokens.js +0 -5
  317. package/styled-components/cjs/components/DatePicker/DatePickerBase.styles.js +1 -1
  318. package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  319. package/styled-components/cjs/components/Dropdown/Dropdown.js +58 -37
  320. package/styled-components/cjs/components/Dropdown/Dropdown.styles.js +9 -15
  321. package/styled-components/cjs/components/Dropdown/Dropdown.tokens.js +36 -4
  322. package/styled-components/cjs/components/Dropdown/FloatingPopover.js +109 -0
  323. package/styled-components/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +17 -51
  324. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +29 -18
  325. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +17 -19
  326. package/styled-components/cjs/components/Dropdown/utils/getItemByFocused.js +12 -0
  327. package/styled-components/cjs/components/Dropdown/utils/getItemId.js +9 -0
  328. package/styled-components/cjs/components/Dropdown/utils/getPlacement.js +15 -0
  329. package/styled-components/cjs/components/Dropdown/utils/index.js +23 -1
  330. package/styled-components/cjs/components/Notification/Notification.styles.js +1 -1
  331. package/styled-components/cjs/components/Notification/Notification.tokens.js +0 -2
  332. package/styled-components/cjs/components/Pagination/Pagination.js +5 -5
  333. package/styled-components/cjs/components/Pagination/Pagination.styles.js +1 -1
  334. package/styled-components/cjs/components/Pagination/Pagination.tokens.js +1 -4
  335. package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  336. package/styled-components/cjs/components/Tabs/tokens.js +1 -7
  337. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  338. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  339. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
  340. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +5 -5
  341. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +6 -5
  342. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
  343. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Dropdown.config.js +5 -5
  344. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +6 -5
  345. package/styled-components/cjs/hooks/useOutsideClick.js +1 -1
  346. package/styled-components/es/components/Autocomplete/Autocomplete.tokens.js +0 -1
  347. package/styled-components/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  348. package/styled-components/es/components/Calendar/Calendar.tokens.js +0 -3
  349. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  350. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -5
  351. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +1 -5
  352. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  353. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -5
  354. package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  355. package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +6 -12
  356. package/styled-components/es/components/DatePicker/DatePicker.tokens.js +0 -5
  357. package/styled-components/es/components/DatePicker/DatePickerBase.styles.js +1 -1
  358. package/styled-components/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  359. package/styled-components/es/components/Dropdown/Dropdown.js +60 -40
  360. package/styled-components/es/components/Dropdown/Dropdown.styles.js +9 -15
  361. package/styled-components/es/components/Dropdown/Dropdown.tokens.js +35 -3
  362. package/styled-components/es/components/Dropdown/FloatingPopover.js +102 -0
  363. package/styled-components/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +18 -52
  364. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +31 -20
  365. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +18 -20
  366. package/styled-components/es/components/Dropdown/utils/getItemByFocused.js +6 -0
  367. package/styled-components/es/components/Dropdown/utils/getItemId.js +3 -0
  368. package/styled-components/es/components/Dropdown/utils/getPlacement.js +9 -0
  369. package/styled-components/es/components/Dropdown/utils/index.js +4 -1
  370. package/styled-components/es/components/Notification/Notification.styles.js +1 -1
  371. package/styled-components/es/components/Notification/Notification.tokens.js +0 -2
  372. package/styled-components/es/components/Pagination/Pagination.js +5 -5
  373. package/styled-components/es/components/Pagination/Pagination.styles.js +1 -1
  374. package/styled-components/es/components/Pagination/Pagination.tokens.js +1 -4
  375. package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  376. package/styled-components/es/components/Tabs/tokens.js +1 -7
  377. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  378. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  379. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
  380. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +6 -6
  381. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +6 -5
  382. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
  383. package/styled-components/es/examples/plasma_web/components/Dropdown/Dropdown.config.js +6 -6
  384. package/styled-components/es/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +6 -5
  385. package/styled-components/es/hooks/useOutsideClick.js +1 -1
  386. package/types/components/Autocomplete/Autocomplete.tokens.d.ts +0 -1
  387. package/types/components/Autocomplete/Autocomplete.tokens.d.ts.map +1 -1
  388. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  389. package/types/components/Calendar/Calendar.tokens.d.ts +0 -3
  390. package/types/components/Calendar/Calendar.tokens.d.ts.map +1 -1
  391. package/types/components/Calendar/CalendarBase/CalendarBase.styles.d.ts.map +1 -1
  392. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.d.ts.map +1 -1
  393. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts +0 -1
  394. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts.map +1 -1
  395. package/types/components/Combobox/ComboboxNew/Combobox.styles.d.ts.map +1 -1
  396. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +0 -4
  397. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  398. package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.d.ts.map +1 -1
  399. package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.d.ts.map +1 -1
  400. package/types/components/Combobox/ComboboxOld/Combobox.types.d.ts +2 -1
  401. package/types/components/Combobox/ComboboxOld/Combobox.types.d.ts.map +1 -1
  402. package/types/components/DatePicker/DatePicker.tokens.d.ts +0 -5
  403. package/types/components/DatePicker/DatePicker.tokens.d.ts.map +1 -1
  404. package/types/components/DatePicker/DatePickerBase.styles.d.ts.map +1 -1
  405. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  406. package/types/components/Dropdown/Dropdown.d.ts +2 -1
  407. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  408. package/types/components/Dropdown/Dropdown.styles.d.ts +1 -6
  409. package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
  410. package/types/components/Dropdown/Dropdown.tokens.d.ts +25 -2
  411. package/types/components/Dropdown/Dropdown.tokens.d.ts.map +1 -1
  412. package/types/components/Dropdown/Dropdown.types.d.ts +30 -4
  413. package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
  414. package/types/components/Dropdown/FloatingPopover.d.ts +5 -0
  415. package/types/components/Dropdown/FloatingPopover.d.ts.map +1 -0
  416. package/types/components/Dropdown/index.d.ts +1 -1
  417. package/types/components/Dropdown/index.d.ts.map +1 -1
  418. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.d.ts.map +1 -1
  419. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts +1 -12
  420. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts.map +1 -1
  421. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.d.ts.map +1 -1
  422. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts +32 -3
  423. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts.map +1 -1
  424. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts +1 -14
  425. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts.map +1 -1
  426. package/types/components/Dropdown/utils/getItemByFocused.d.ts +4 -0
  427. package/types/components/Dropdown/utils/getItemByFocused.d.ts.map +1 -0
  428. package/types/components/Dropdown/utils/getItemId.d.ts +2 -0
  429. package/types/components/Dropdown/utils/getItemId.d.ts.map +1 -0
  430. package/types/components/Dropdown/utils/getPlacement.d.ts +3 -0
  431. package/types/components/Dropdown/utils/getPlacement.d.ts.map +1 -0
  432. package/types/components/Dropdown/utils/index.d.ts +3 -0
  433. package/types/components/Dropdown/utils/index.d.ts.map +1 -1
  434. package/types/components/Notification/Notification.styles.d.ts.map +1 -1
  435. package/types/components/Notification/Notification.tokens.d.ts +0 -2
  436. package/types/components/Notification/Notification.tokens.d.ts.map +1 -1
  437. package/types/components/Pagination/Pagination.d.ts.map +1 -1
  438. package/types/components/Pagination/Pagination.styles.d.ts.map +1 -1
  439. package/types/components/Pagination/Pagination.tokens.d.ts +0 -3
  440. package/types/components/Pagination/Pagination.tokens.d.ts.map +1 -1
  441. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  442. package/types/components/Select/utils/getCorrectHeight.d.ts +2 -2
  443. package/types/components/Select/utils/getCorrectHeight.d.ts.map +1 -1
  444. package/types/components/Tabs/tokens.d.ts +0 -6
  445. package/types/components/Tabs/tokens.d.ts.map +1 -1
  446. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.d.ts.map +1 -1
  447. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.d.ts.map +1 -1
  448. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.config.d.ts +3 -3
  449. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.config.d.ts.map +1 -1
  450. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts +4 -4
  451. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts.map +1 -1
  452. package/types/examples/plasma_web/components/Dropdown/Dropdown.config.d.ts +3 -3
  453. package/types/examples/plasma_web/components/Dropdown/Dropdown.config.d.ts.map +1 -1
  454. package/types/examples/plasma_web/components/Dropdown/Dropdown.d.ts +4 -4
  455. package/types/examples/plasma_web/components/Dropdown/Dropdown.d.ts.map +1 -1
  456. package/types/hooks/useOutsideClick.d.ts +1 -1
  457. package/types/hooks/useOutsideClick.d.ts.map +1 -1
  458. package/cjs/components/DatePicker/DatePickerBase.styles_1x090si.css +0 -2
  459. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1i6gpss.css +0 -2
  460. package/cjs/components/Dropdown/Dropdown.styles_zvi9m3.css +0 -3
  461. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles_blclup.css +0 -6
  462. package/es/components/DatePicker/DatePickerBase.styles_1x090si.css +0 -2
  463. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1i6gpss.css +0 -2
  464. package/es/components/Dropdown/Dropdown.styles_zvi9m3.css +0 -3
  465. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles_blclup.css +0 -6
@@ -3,42 +3,26 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.base = exports.Ul = exports.StyledPopover = void 0;
6
+ exports.base = exports.Ul = void 0;
7
7
  var _base = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("@emotion/styled/base"));
8
8
  var _react = /*#__PURE__*/require("@emotion/react");
9
- var _engines = /*#__PURE__*/require("../../engines");
10
- var _Popover = /*#__PURE__*/require("../Popover");
11
9
  var _utils = /*#__PURE__*/require("./utils");
12
10
  var _Dropdown = /*#__PURE__*/require("./Dropdown.tokens");
13
11
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
14
- function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
15
- var Popover = /*#__PURE__*/(0, _engines.component)(_Popover.popoverConfig);
16
- var StyledPopover = exports.StyledPopover = /*#__PURE__*/(0, _base["default"])(Popover, {
17
- target: "euqmbvx1",
18
- label: "plasma-new-hope__StyledPopover"
19
- })(".", /*#__PURE__*/String(_Popover.popoverClasses.wrapper), ",.", /*#__PURE__*/String(_Popover.popoverClasses.target), "{display:block;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvRHJvcGRvd24vRHJvcGRvd24uc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVk0QyIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL0Ryb3Bkb3duL0Ryb3Bkb3duLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgY29tcG9u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N9KTtcbiAgICB3aWR0aDogJHsoeyBsaXN0V2lkdGggfSkgPT4gbGlzdFdpZHRoIHx8IGB2YXIoJHt0b2tlbnMud2lkdGh9KWB9O1xuICAgIGhlaWdodDogJHsoeyBsaXN0SGVpZ2h0IH0pID0+IChsaXN0SGVpZ2h0ID8gZ2V0Q29ycmVjdEhlaWdodChsaXN0SGVpZ2h0KSA6ICdhdXRvJyl9O1xuICAgIG92ZXJmbG93OiAkeyh7IGxpc3RPdmVyZmxvdyB9KSA9PiBsaXN0T3ZlcmZsb3cgfHwgJ2luaXRpYWwnfTtcblxuICAgIG1hcmdpbjogJHsoeyBpc0lubmVyVWwgfSkgPT4gKGlzSW5uZXJVbCA/IGBjYWxjKHZhcigke3Rva2Vucy5wYWRkaW5nfSkgKiAtMSkgMCAwIHZhcigke3Rva2Vucy5wYWRkaW5nfSlgIDogMCl9O1xuICAgIHBhZGRpbmc6IHZhcigke3Rva2Vucy5wYWRkaW5nfSk7XG4gICAgYm9yZGVyOiB2YXIoJHt0b2tlbnMuYm9yZGVyV2lkdGh9KSBzb2xpZCB2YXIoJHt0b2tlbnMuYm9yZGVyQ29sb3J9KTtcbmA7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcbmA7XG4iXX0= */"));
20
12
  var Ul = exports.Ul = /*#__PURE__*/(0, _base["default"])("ul", {
21
13
  target: "euqmbvx0",
22
14
  label: "plasma-new-hope__Ul"
23
- })("box-sizing:border-box;background:var(", _Dropdown.tokens.background, ");box-shadow:var(", _Dropdown.tokens.boxShadow, ");border-radius:var(", _Dropdown.tokens.borderRadius, ");width:", function (_ref) {
15
+ })("box-sizing:border-box;width:", function (_ref) {
24
16
  var listWidth = _ref.listWidth;
25
17
  return listWidth || "var(".concat(_Dropdown.tokens.width, ")");
26
18
  }, ";height:", function (_ref2) {
27
19
  var listHeight = _ref2.listHeight;
28
20
  return listHeight ? (0, _utils.getCorrectHeight)(listHeight) : 'auto';
29
- }, ";overflow:", function (_ref3) {
30
- var listOverflow = _ref3.listOverflow;
21
+ }, ";margin:", function (_ref3) {
22
+ var isInnerUl = _ref3.isInnerUl;
23
+ return isInnerUl ? "calc(var(".concat(_Dropdown.tokens.padding, ") * -1) 0.125rem 0") : 0;
24
+ }, ";padding:var(", _Dropdown.tokens.padding, ") 0;overflow:", function (_ref4) {
25
+ var listOverflow = _ref4.listOverflow;
31
26
  return listOverflow || 'initial';
32
- }, ";margin:", function (_ref4) {
33
- var isInnerUl = _ref4.isInnerUl;
34
- return isInnerUl ? "calc(var(".concat(_Dropdown.tokens.padding, ") * -1) 0 0 var(").concat(_Dropdown.tokens.padding, ")") : 0;
35
- }, ";padding:var(", _Dropdown.tokens.padding, ");border:var(", _Dropdown.tokens.borderWidth, ") solid var(", _Dropdown.tokens.borderColor, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvRHJvcGRvd24vRHJvcGRvd24uc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVCRSIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL0Ryb3Bkb3duL0Ryb3Bkb3duLnN0eWxlcy50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgY29tcG9uZW50IH0gZnJvbSAnLi4vLi4vZW5naW5lcyc7XG5pbXBvcnQgeyBwb3BvdmVyQ29uZmlnLCBwb3BvdmVyQ2xhc3NlcyB9IGZyb20gJy4uL1BvcG92ZXInO1xuXG5pbXBvcnQgeyBnZXRDb3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IChsaXN0SGVpZ2h0ID8gZ2V0Q29ycmVjdEhlaWdodChsaXN0SGVpZ2h0KSA6ICdhdXRvJyl9O1xuICAgIG92ZXJmbG93OiAkeyh7IGxpc3RPdmVyZmxvdyB9KSA9PiBsaXN0T3ZlcmZsb3cgfHwgJ2luaXRpYWwnfTtcblxuICAgIG1hcmdpbjogJHsoeyBpc0lubmVyVWwgfSkgPT4gKGlzSW5uZXJVbCA/IGBjYWxjKHZhcigke3Rva2Vucy5wYWRkaW5nfSkgKiAtMSkgMCAwIHZhcigke3Rva2Vucy5wYWRkaW5nfSlgIDogMCl9O1xuICAgIHBhZGRpbmc6IHZhcigke3Rva2Vucy5wYWRkaW5nfSk7XG4gICAgYm9yZGVyOiB2YXIoJHt0b2tlbnMuYm9yZGVyV2lkdGh9KSBzb2xpZCB2YXIoJHt0b2tlbnMuYm9yZGVyQ29sb3J9KTtcbmA7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcbmA7XG4iXX0= */"));
36
- var base = exports.base = process.env.NODE_ENV === "production" ? {
37
- name: "1mufh2u-plasma-new-hope__base",
38
- styles: "display:inline-block;label:plasma-new-hope__base;"
39
- } : {
40
- name: "1mufh2u-plasma-new-hope__base",
41
- styles: "display:inline-block;label:plasma-new-hope__base;",
42
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvRHJvcGRvd24vRHJvcGRvd24uc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXVDdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9Ecm9wZG93bi9Ecm9wZG93bi5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb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93OiB2YXIoJHt0b2tlbnMuYm94U2hhZG93fSk7XG5cbiAgICBib3JkZXItcmFkaXVzOiB2YXIoJHt0b2tlbnMuYm9yZGVyUmFkaXVzfSk7XG4gICAgd2lkdGg6ICR7KHsgbGlzdFdpZHRoIH0pID0+IGxpc3RXaWR0aCB8fCBgdmFyKCR7dG9rZW5zLndpZHRofSlgfTtcbiAgICBoZWlnaHQ6ICR7KHsgbGlzdEhlaWdodCB9KSA9PiAobGlzdEhlaWdodCA/IGdldENvcnJlY3RIZWlnaHQobGlzdEhlaWdodCkgOiAnYXV0bycpfTtcbiAgICBvdmVyZmxvdzogJHsoeyBsaXN0T3ZlcmZsb3cgfSkgPT4gbGlzdE92ZXJmbG93IHx8ICdpbml0aWFsJ307XG5cbiAgICBtYXJnaW46ICR7KHsgaXNJbm5lclVsIH0pID0+IChpc0lubmVyVWwgPyBgY2FsYyh2YXIoJHt0b2tlbnMucGFkZGluZ30pICogLTEpIDAgMCB2YXIoJHt0b2tlbnMucGFkZGluZ30pYCA6IDApfTtcbiAgICBwYWRkaW5nOiB2YXIoJHt0b2tlbnMucGFkZGluZ30pO1xuICAgIGJvcmRlcjogdmFyKCR7dG9rZW5zLmJvcmRlcldpZHRofSkgc29saWQgdmFyKCR7dG9rZW5zLmJvcmRlckNvbG9yfSk7XG5gO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XG5gO1xuIl19 */",
43
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
44
- };
27
+ }, ";background:var(", _Dropdown.constants.background, ");box-shadow:", _Dropdown.constants.boxShadow, ";border-radius:var(", _Dropdown.tokens.borderRadius, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvRHJvcGRvd24v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CA/IGBjYWxjKHZhcigke3Rva2Vucy5wYWRkaW5nfSkgKiAtMSkgMC4xMjVyZW0gMGAgOiAwKX07XG4gICAgcGFkZGluZzogdmFyKCR7dG9rZW5zLnBhZGRpbmd9KSAwO1xuICAgIG92ZXJmbG93OiAkeyh7IGxpc3RPdmVyZmxvdyB9KSA9PiBsaXN0T3ZlcmZsb3cgfHwgJ2luaXRpYWwnfTtcbiAgICBiYWNrZ3JvdW5kOiB2YXIoJHtjb25zdGFudHMuYmFja2dyb3VuZH0pO1xuICAgIGJveC1zaGFkb3c6ICR7Y29uc3RhbnRzLmJveFNoYWRvd307XG4gICAgYm9yZGVyLXJhZGl1czogdmFyKCR7dG9rZW5zLmJvcmRlclJhZGl1c30pO1xuYDtcblxuZXhwb3J0IGNvbnN0IGJhc2UgPSBjc3NgYDtcbiJdfQ== */"));
28
+ var base = exports.base = /*#__PURE__*/(0, _react.css)(";label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvRHJvcGRvd24vRHJvcGRvd24uc3R5bGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXdCdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9Ecm9wZG93bi9Ecm9wZG93bi5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IGdldENvcnJlY3RIZWlnaHQgfSBmcm9tICcuL3V0aWxzJztcbmltcG9ydCB7IERyb3Bkb3duUHJvcHMgfSBmcm9tICcuL0Ryb3Bkb3duLn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XG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BgO1xuIl19 */"));
@@ -3,13 +3,13 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.tokens = exports.classes = void 0;
6
+ exports.tokens = exports.constants = exports.classes = void 0;
7
7
  var classes = exports.classes = {
8
8
  dropdownRoot: 'dropdown-root',
9
9
  dropdownItemIsFocused: 'dropdown-item-is-focused',
10
10
  dropdownItemIsDisabled: 'dropdown-item-is-disabled',
11
11
  dropdownItemIsActive: 'dropdown-item-is-active',
12
- dropdownItemIsSelected: 'dropdownItemIsSelected'
12
+ dropdownItemIsSelected: 'dropdown-item-is-selected'
13
13
  };
14
14
  var tokens = exports.tokens = {
15
15
  background: '--plasma-dropdown-background',
@@ -20,8 +20,8 @@ var tokens = exports.tokens = {
20
20
  disclosureIconColor: '--plasma-dropdown-disclosure-icon-color',
21
21
  disabledOpacity: '--plasma-dropdown-disabled-opacity',
22
22
  focusColor: '--plasma-dropdown-focus-color',
23
- borderColor: '--plasma-dropdown-border-color',
24
- borderWidth: '--plasma-dropdown-border-width',
23
+ // Old
24
+
25
25
  dividerColor: '--plasma-dropdown-divider-color',
26
26
  dividerMarginTop: '--plasma-dropdown-divider-margin-top',
27
27
  dividerMarginTopTight: '--plasma-dropdown-divider-margin-top-tight',
@@ -36,6 +36,7 @@ var tokens = exports.tokens = {
36
36
  itemBackgroundSelectedHover: '--plasma-dropdown-item-background-selected-hover',
37
37
  // Old
38
38
  itemColor: '--plasma-dropdown-item-color',
39
+ // Old
39
40
  itemColorSelected: '--plasma-dropdown-item-color-selected',
40
41
  // Old
41
42
  itemColorSelectedHover: '--plasma-dropdown-item-color-selected-hover',
@@ -54,11 +55,17 @@ var tokens = exports.tokens = {
54
55
  itemMarginLeft: '--plasma-dropdown-item-margin-left',
55
56
  // Old
56
57
  itemPaddingTop: '--plasma-dropdown-item-padding-top',
58
+ // Old
57
59
  itemPaddingTopTight: '--plasma-dropdown-item-padding-top-tight',
60
+ // Old
58
61
  itemPaddingRight: '--plasma-dropdown-item-padding-right',
62
+ // Old
59
63
  itemPaddingBottom: '--plasma-dropdown-item-padding-bottom',
64
+ // Old
60
65
  itemPaddingBottomTight: '--plasma-dropdown-item-padding-bottom-tight',
66
+ // Old
61
67
  itemPaddingLeft: '--plasma-dropdown-item-padding-left',
68
+ // Old
62
69
  itemContentLeftWidth: '--plasma-dropdown-item-content-left-width',
63
70
  // Old
64
71
  itemContentLeftColor: '--plasma-dropdown-item-content-left-color',
@@ -73,6 +80,20 @@ var tokens = exports.tokens = {
73
80
  itemFontWeightBold: '--plasma-dropdown-item-letter-spacing',
74
81
  itemFontLetterSpacing: '--plasma-dropdown-item-line-height',
75
82
  itemFontLineHeight: '--plasma-dropdown-item-font-weight',
83
+ itemPadding: '--plasma-dropdown-item-padding',
84
+ itemPaddingTight: '--plasma-dropdown-item-padding-tight',
85
+ cellPadding: '--plasma-dropdown-cell-padding',
86
+ cellPaddingLeftContent: '--plasma-dropdown-cell-padding-left-content',
87
+ cellPaddingContent: '--plasma-dropdown-cell-padding-content',
88
+ cellPaddingRightContent: '--plasma-dropdown-cell-padding-right-content',
89
+ cellTextboxGap: '--plasma-dropdown-cell-textbox-gap',
90
+ cellGap: '--plasma-dropdown-cell-gap',
91
+ cellTitleFontFamily: '--plasma-dropdown-cell-title-font-family',
92
+ cellTitleFontSize: '--plasma-dropdown-cell-title-font-size',
93
+ cellTitleFontStyle: '--plasma-dropdown-cell-title-font-style',
94
+ cellTitleFontWeight: '--plasma-dropdown-cell-title-font-weight',
95
+ cellTitleLetterSpacing: '--plasma-dropdown-cell-title-letter-spacing',
96
+ cellTitleLineHeight: '--plasma-dropdown-cell-title-line-height',
76
97
  // TODO: Remove below tokens as soon as they are no longer needed
77
98
  footerBackground: '--plasma-dropdown-footer-background',
78
99
  footerWidth: '--plasma-dropdown-footer-width',
@@ -136,4 +157,15 @@ var tokens = exports.tokens = {
136
157
  groupLabelMarginRight: '--plasma-dropdown-group-label-margin-right',
137
158
  groupLabelMarginBottom: '--plasma-dropdown-group-label-margin-bottom',
138
159
  groupLabelMarginLeft: '--plasma-dropdown-group-label-margin-left'
160
+ };
161
+ var constants = exports.constants = {
162
+ focusColor: '--surface-accent',
163
+ background: '--surface-solid-card-brightness',
164
+ boxShadow: '0px 4px 14px -4px rgba(8, 8, 8, 0.08), 0px 1px 4px -1px rgba(0, 0, 0, 0.04)',
165
+ disclosureIconColor: '--text-secondary',
166
+ itemBackground: '--plasma-colors-transparent',
167
+ itemBackgroundHover: '--surface-transparent-secondary',
168
+ opacity: '0.4',
169
+ cellTitleColor: '--text-primary',
170
+ cellBackgroundColor: '--plasma-colors-transparent'
139
171
  };
@@ -0,0 +1,109 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.FloatingPopover = void 0;
7
+ var _react = /*#__PURE__*/require("@floating-ui/react");
8
+ var _react2 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react"));
9
+ var _plasmaCore = /*#__PURE__*/require("@salutejs/plasma-core");
10
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
11
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
12
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
13
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
14
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
15
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
16
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
18
+ var FloatingPopover = exports.FloatingPopover = /*#__PURE__*/(0, _react2.forwardRef)(function (_ref, ref) {
19
+ var target = _ref.target,
20
+ children = _ref.children,
21
+ opened = _ref.opened,
22
+ onToggle = _ref.onToggle,
23
+ placement = _ref.placement,
24
+ portal = _ref.portal,
25
+ _ref$offset = _ref.offset,
26
+ offset = _ref$offset === void 0 ? [0, 0] : _ref$offset,
27
+ isInner = _ref.isInner,
28
+ trigger = _ref.trigger;
29
+ var _useFloating = (0, _react.useFloating)({
30
+ placement: placement === 'auto' ? undefined : placement,
31
+ open: opened,
32
+ middleware: [placement === 'auto' && (0, _react.autoPlacement)(), (0, _react.offset)({
33
+ mainAxis: offset[1],
34
+ crossAxis: offset[0]
35
+ }), (0, _react.flip)({
36
+ fallbackAxisSideDirection: 'end'
37
+ }), (0, _react.shift)()]
38
+ }),
39
+ refs = _useFloating.refs,
40
+ floatingStyles = _useFloating.floatingStyles;
41
+ var wrappedId = (0, _plasmaCore.safeUseId)();
42
+ var handleTargetClick = function handleTargetClick(event) {
43
+ if (trigger === 'hover') {
44
+ return;
45
+ }
46
+ if (onToggle) {
47
+ onToggle(!opened, event);
48
+ }
49
+ };
50
+ var handleTargetMouseEnter = function handleTargetMouseEnter(event) {
51
+ if (trigger === 'click' || opened) {
52
+ return;
53
+ }
54
+ onToggle(true, event);
55
+ };
56
+ var handleTargetMouseLeave = function handleTargetMouseLeave(event) {
57
+ if (event.relatedTarget instanceof HTMLElement && refs.floating.current instanceof HTMLElement) {
58
+ var _refs$floating$curren;
59
+ if (trigger === 'click' || !opened || event.relatedTarget && refs.floating && (_refs$floating$curren = refs.floating.current) !== null && _refs$floating$curren !== void 0 && _refs$floating$curren.contains(event.relatedTarget)) {
60
+ return;
61
+ }
62
+ onToggle(false, event);
63
+ }
64
+ };
65
+ var handleFloatingMouseLeave = function handleFloatingMouseLeave(event) {
66
+ if (event.relatedTarget instanceof HTMLElement && refs.reference.current instanceof HTMLElement) {
67
+ var _refs$reference$curre;
68
+ if (trigger === 'click' || !opened || event.relatedTarget && refs.reference && (_refs$reference$curre = refs.reference.current) !== null && _refs$reference$curre !== void 0 && _refs$reference$curre.contains(event.relatedTarget)) {
69
+ return;
70
+ }
71
+ onToggle(false, event);
72
+ }
73
+ };
74
+ return /*#__PURE__*/_react2["default"].createElement("div", {
75
+ id: wrappedId,
76
+ style: {
77
+ display: isInner ? 'block' : 'inline-block'
78
+ },
79
+ ref: ref
80
+ }, /*#__PURE__*/_react2["default"].createElement("div", {
81
+ ref: refs.setReference,
82
+ onClick: handleTargetClick,
83
+ onMouseEnter: handleTargetMouseEnter,
84
+ onMouseLeave: handleTargetMouseLeave
85
+ }, target), opened && /*#__PURE__*/_react2["default"].createElement(_react.FloatingPortal, getFloatingPortalProps(portal, wrappedId), /*#__PURE__*/_react2["default"].createElement("div", {
86
+ ref: refs.setFloating,
87
+ onMouseLeave: handleFloatingMouseLeave,
88
+ style: _objectSpread(_objectSpread({}, floatingStyles), {}, {
89
+ zIndex: 1
90
+ })
91
+ }, children)));
92
+ });
93
+ // root - принимает ref контейнера портала.
94
+ // id - если есть портал - не используется, если портала нет - подставляется 'wrappedId'.
95
+ var getFloatingPortalProps = function getFloatingPortalProps(portal, wrappedId) {
96
+ if (!portal) {
97
+ return {
98
+ id: wrappedId
99
+ };
100
+ }
101
+ if (typeof portal === 'string') {
102
+ return {
103
+ id: portal
104
+ };
105
+ }
106
+ return {
107
+ root: portal
108
+ };
109
+ };
@@ -5,29 +5,21 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.DropdownInner = void 0;
7
7
  var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
8
+ var _plasmaCore = /*#__PURE__*/require("@salutejs/plasma-core");
8
9
  var _ = /*#__PURE__*/require("..");
9
10
  var _Dropdown = /*#__PURE__*/require("../../Dropdown.styles");
11
+ var _FloatingPopover = /*#__PURE__*/require("../../FloatingPopover");
10
12
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
13
  var DropdownInner = exports.DropdownInner = function DropdownInner(_ref) {
12
14
  var item = _ref.item,
13
15
  currentLevel = _ref.currentLevel,
14
- focusedPath = _ref.focusedPath,
15
16
  path = _ref.path,
16
17
  dispatchPath = _ref.dispatchPath,
17
18
  index = _ref.index,
18
19
  trigger = _ref.trigger,
19
- itemRole = _ref.itemRole,
20
20
  listHeight = _ref.listHeight,
21
21
  listOverflow = _ref.listOverflow,
22
- handleGlobalToggle = _ref.handleGlobalToggle,
23
- closeOnSelect = _ref.closeOnSelect,
24
- onHover = _ref.onHover,
25
- onItemSelect = _ref.onItemSelect,
26
- onItemClick = _ref.onItemClick,
27
- listWidth = _ref.listWidth,
28
- variant = _ref.variant,
29
- hasArrow = _ref.hasArrow,
30
- size = _ref.size;
22
+ listWidth = _ref.listWidth;
31
23
  var handleToggle = function handleToggle(opened) {
32
24
  if (opened) {
33
25
  dispatchPath({
@@ -43,79 +35,53 @@ var DropdownInner = exports.DropdownInner = function DropdownInner(_ref) {
43
35
  }
44
36
  };
45
37
  var isCurrentListOpen = path[currentLevel + 1] === item.value.toString();
46
- var listId = "tree_level_".concat(currentLevel + 2);
38
+ var treeId = (0, _plasmaCore.safeUseId)();
39
+ var listId = "".concat(treeId, "_tree_level_").concat(currentLevel + 2);
47
40
  var nextLevel = currentLevel + 1;
48
41
  if (item !== null && item !== void 0 && item.items) {
49
- return /*#__PURE__*/_react["default"].createElement(_Dropdown.StyledPopover, {
50
- opened: isCurrentListOpen,
51
- usePortal: false,
42
+ return /*#__PURE__*/_react["default"].createElement(_FloatingPopover.FloatingPopover, {
52
43
  placement: "right-start",
44
+ opened: isCurrentListOpen,
45
+ onToggle: handleToggle,
53
46
  trigger: trigger,
54
47
  target: /*#__PURE__*/_react["default"].createElement(_.DropdownItem, {
55
48
  item: item,
56
49
  index: index,
57
50
  path: path,
58
- focusedPath: focusedPath,
59
51
  currentLevel: currentLevel,
60
- itemRole: itemRole,
61
- onHover: onHover,
62
- onItemSelect: onItemSelect,
63
- onItemClick: onItemClick,
64
- variant: variant,
65
- hasArrow: hasArrow,
66
52
  ariaControls: listId,
67
53
  ariaExpanded: isCurrentListOpen,
68
54
  ariaLevel: nextLevel,
69
- ariaLabel: item.label,
70
- size: size
55
+ ariaLabel: item.label
71
56
  }),
72
- onToggle: handleToggle,
73
- isFocusTrapped: false,
74
- preventOverflow: false
57
+ isInner: true
75
58
  }, /*#__PURE__*/_react["default"].createElement(_Dropdown.Ul, {
59
+ id: listId,
60
+ role: "group",
61
+ isInnerUl: true,
76
62
  listHeight: listHeight,
77
63
  listOverflow: listOverflow,
78
- role: "group",
79
- id: listId,
80
- listWidth: listWidth,
81
- isInnerUl: true
64
+ listWidth: listWidth
82
65
  }, item.items.map(function (innerItem, innerIndex) {
83
66
  return /*#__PURE__*/_react["default"].createElement(DropdownInner, {
84
67
  key: "".concat(innerIndex, "/").concat(currentLevel),
85
68
  item: innerItem,
86
69
  currentLevel: nextLevel,
87
- focusedPath: focusedPath,
88
70
  path: path,
89
71
  dispatchPath: dispatchPath,
90
72
  index: innerIndex,
91
73
  trigger: trigger,
92
- itemRole: itemRole,
93
74
  listHeight: listHeight,
94
75
  listOverflow: listOverflow,
95
- handleGlobalToggle: handleGlobalToggle,
96
- closeOnSelect: closeOnSelect,
97
- onHover: onHover,
98
- onItemSelect: onItemSelect,
99
- onItemClick: onItemClick,
100
- listWidth: listWidth,
101
- variant: variant,
102
- hasArrow: hasArrow,
103
- size: size
76
+ listWidth: listWidth
104
77
  });
105
78
  })));
106
79
  }
107
80
  return /*#__PURE__*/_react["default"].createElement(_.DropdownItem, {
108
81
  item: item,
82
+ path: path,
109
83
  index: index,
110
- focusedPath: focusedPath,
111
84
  currentLevel: currentLevel,
112
- itemRole: itemRole,
113
- handleGlobalToggle: handleGlobalToggle,
114
- closeOnSelect: closeOnSelect,
115
- onHover: onHover,
116
- onItemSelect: onItemSelect,
117
- onItemClick: onItemClick,
118
- variant: variant,
119
- size: size
85
+ ariaLevel: nextLevel
120
86
  });
121
87
  };
@@ -9,29 +9,20 @@ var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react")
9
9
  var _Dropdown = /*#__PURE__*/require("../../Dropdown.tokens");
10
10
  var _utils = /*#__PURE__*/require("../../../../utils");
11
11
  var _Icon = /*#__PURE__*/require("../../../_Icon");
12
+ var _Dropdown2 = /*#__PURE__*/require("../../Dropdown");
13
+ var _utils2 = /*#__PURE__*/require("../../utils");
12
14
  var _DropdownItem = /*#__PURE__*/require("./DropdownItem.styles");
13
15
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
14
16
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
15
17
  var DropdownItem = exports.DropdownItem = function DropdownItem(_ref) {
16
18
  var item = _ref.item,
17
19
  path = _ref.path,
18
- focusedPath = _ref.focusedPath,
19
20
  currentLevel = _ref.currentLevel,
20
21
  index = _ref.index,
21
- itemRole = _ref.itemRole,
22
- closeOnSelect = _ref.closeOnSelect,
23
- handleGlobalToggle = _ref.handleGlobalToggle,
24
- onHover = _ref.onHover,
25
- onItemSelect = _ref.onItemSelect,
26
- onItemClick = _ref.onItemClick,
27
22
  ariaControls = _ref.ariaControls,
28
23
  ariaExpanded = _ref.ariaExpanded,
29
- ariaHasPopup = _ref.ariaHasPopup,
30
24
  ariaLevel = _ref.ariaLevel,
31
- ariaLabel = _ref.ariaLabel,
32
- variant = _ref.variant,
33
- hasArrow = _ref.hasArrow,
34
- size = _ref.size;
25
+ ariaLabel = _ref.ariaLabel;
35
26
  var value = item.value,
36
27
  label = item.label,
37
28
  disabled = item.disabled,
@@ -41,6 +32,19 @@ var DropdownItem = exports.DropdownItem = function DropdownItem(_ref) {
41
32
  dividerBefore = item.dividerBefore,
42
33
  dividerAfter = item.dividerAfter;
43
34
  var ref = (0, _react.useRef)(null);
35
+ var _useContext = (0, _react.useContext)(_Dropdown2.Context),
36
+ focusedPath = _useContext.focusedPath,
37
+ size = _useContext.size,
38
+ variant = _useContext.variant,
39
+ itemRole = _useContext.itemRole,
40
+ handleGlobalToggle = _useContext.handleGlobalToggle,
41
+ closeOnSelect = _useContext.closeOnSelect,
42
+ onHover = _useContext.onHover,
43
+ onItemSelect = _useContext.onItemSelect,
44
+ onItemClick = _useContext.onItemClick,
45
+ hasArrow = _useContext.hasArrow,
46
+ treeId = _useContext.treeId;
47
+ var hasDescendants = Boolean(item.items);
44
48
  var disclosureIconSize = size === 'xs' ? 'xs' : 's';
45
49
  var isDisabledClassName = disabled || isDisabled ? _Dropdown.classes.dropdownItemIsDisabled : undefined;
46
50
  var focusedClass = currentLevel === focusedPath.length - 1 && index === (focusedPath === null || focusedPath === void 0 ? void 0 : focusedPath[currentLevel]) ? _Dropdown.classes.dropdownItemIsFocused : undefined;
@@ -64,7 +68,9 @@ var DropdownItem = exports.DropdownItem = function DropdownItem(_ref) {
64
68
  if (onItemClick) {
65
69
  onItemClick(item, event);
66
70
  }
67
- if (handleGlobalToggle && closeOnSelect) {
71
+
72
+ // Закрываем весь дропдаун целиком при клике на айтем без потомков. Только при closeOnSelect === true.
73
+ if (closeOnSelect && !hasDescendants) {
68
74
  handleGlobalToggle(false, event);
69
75
  }
70
76
  };
@@ -76,20 +82,25 @@ var DropdownItem = exports.DropdownItem = function DropdownItem(_ref) {
76
82
  return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, dividerBefore && /*#__PURE__*/_react["default"].createElement(_DropdownItem.Divider, {
77
83
  variant: variant
78
84
  }), /*#__PURE__*/_react["default"].createElement(_DropdownItem.Wrapper, {
85
+ ref: ref,
79
86
  className: (0, _utils.cx)(isDisabledClassName, focusedClass, activeClass),
80
- id: value.toString(),
87
+ id: (0, _utils2.getItemId)(treeId, value.toString()),
81
88
  role: itemRole,
82
- ref: ref,
83
- "aria-disabled": disabled || isDisabled,
84
89
  onClick: handleClick,
85
90
  onMouseEnter: handleHover,
86
91
  variant: variant,
92
+ "aria-disabled": disabled || isDisabled,
87
93
  "aria-controls": ariaControls,
88
94
  "aria-expanded": ariaExpanded,
89
- "aria-haspopup": ariaHasPopup,
90
95
  "aria-level": ariaLevel,
91
96
  "aria-label": ariaLabel
92
- }, contentLeft && /*#__PURE__*/_react["default"].createElement(_DropdownItem.StyledContentLeft, null, contentLeft), /*#__PURE__*/_react["default"].createElement(_DropdownItem.StyledText, null, label), contentRight && /*#__PURE__*/_react["default"].createElement(_DropdownItem.StyledContentRight, null, contentRight), item.items && hasArrow && /*#__PURE__*/_react["default"].createElement(_DropdownItem.DisclosureIconWrapper, null, /*#__PURE__*/_react["default"].createElement(_Icon.IconDisclosureRight, {
97
+ }, /*#__PURE__*/_react["default"].createElement(_DropdownItem.CellWrapper, null, /*#__PURE__*/_react["default"].createElement(_DropdownItem.StyledCell, {
98
+ contentLeft: contentLeft,
99
+ contentRight: contentRight,
100
+ alignContentLeft: "center",
101
+ alignContentRight: "center",
102
+ title: label
103
+ })), item.items && hasArrow && /*#__PURE__*/_react["default"].createElement(_DropdownItem.DisclosureIconWrapper, null, /*#__PURE__*/_react["default"].createElement(_Icon.IconDisclosureRight, {
93
104
  size: disclosureIconSize,
94
105
  color: "inherit"
95
106
  }))), dividerAfter && /*#__PURE__*/_react["default"].createElement(_DropdownItem.Divider, {