@salutejs/plasma-new-hope 0.173.1-canary.1502.11462220468.0 → 0.173.2-canary.1506.11489879161.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (752) hide show
  1. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -1
  2. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +1 -1
  3. package/cjs/components/Attach/Attach.js +3 -4
  4. package/cjs/components/Attach/Attach.js.map +1 -1
  5. package/cjs/components/Attach/components/AttachButton/AttachButton.js +0 -1
  6. package/cjs/components/Attach/components/AttachButton/AttachButton.js.map +1 -1
  7. package/cjs/components/Attach/ui/Button/Button.styles.js +0 -1
  8. package/cjs/components/Attach/ui/Button/Button.styles.js.map +1 -1
  9. package/cjs/components/Attach/ui/Cell/Cell.styles.js +0 -2
  10. package/cjs/components/Attach/ui/Cell/Cell.styles.js.map +1 -1
  11. package/cjs/components/Attach/ui/IconButton/IconButton.styles.js +0 -1
  12. package/cjs/components/Attach/ui/IconButton/IconButton.styles.js.map +1 -1
  13. package/cjs/components/Attach/utils/getFileicon.js +3 -4
  14. package/cjs/components/Attach/utils/getFileicon.js.map +1 -1
  15. package/cjs/components/Attach/utils/index.js +0 -3
  16. package/cjs/components/Attach/utils/index.js.map +1 -1
  17. package/cjs/components/Autocomplete/Autocomplete.css +1 -1
  18. package/cjs/components/Autocomplete/Autocomplete.js +5 -6
  19. package/cjs/components/Autocomplete/Autocomplete.js.map +1 -1
  20. package/cjs/components/Autocomplete/Autocomplete.styles.js +2 -3
  21. package/cjs/components/Autocomplete/Autocomplete.styles.js.map +1 -1
  22. package/cjs/components/Autocomplete/Autocomplete.tokens.js +1 -0
  23. package/cjs/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
  24. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +2 -3
  25. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  26. package/cjs/components/Autocomplete/ui/TextField/{TextField.styles_1csckkd.css → TextField.styles_1ye9068.css} +1 -1
  27. package/cjs/components/Avatar/Avatar.js +2 -3
  28. package/cjs/components/Avatar/Avatar.js.map +1 -1
  29. package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js +2 -4
  30. package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
  31. package/cjs/components/Button/Button.styles.js +0 -3
  32. package/cjs/components/Button/Button.styles.js.map +1 -1
  33. package/cjs/components/Calendar/Calendar.tokens.js +3 -0
  34. package/cjs/components/Calendar/Calendar.tokens.js.map +1 -1
  35. package/cjs/components/Calendar/CalendarBase/CalendarBase.css +11 -10
  36. package/cjs/components/Calendar/CalendarBase/CalendarBase.js +5 -5
  37. package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  38. package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  39. package/{es/components/Calendar/CalendarBase/CalendarBase.styles_1m6uih1.css → cjs/components/Calendar/CalendarBase/CalendarBase.styles_ni8729.css} +1 -1
  40. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +11 -10
  41. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +8 -8
  42. package/cjs/components/Calendar/hooks/useDays.js +2 -2
  43. package/cjs/components/Calendar/hooks/useKeyNavigation.js +1 -1
  44. package/cjs/components/Calendar/hooks/useMonths.js +2 -2
  45. package/cjs/components/Calendar/hooks/useQuarters.js +2 -2
  46. package/cjs/components/Calendar/hooks/useYears.js +2 -2
  47. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js +4 -4
  48. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.css +9 -8
  49. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +7 -9
  50. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  51. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +11 -2
  52. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  53. package/{es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1jfelqf.css → cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1xijs8w.css} +1 -0
  54. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +4 -4
  55. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +4 -4
  56. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +4 -4
  57. package/cjs/components/Combobox/ComboboxNew/Combobox.css +12 -12
  58. package/cjs/components/Combobox/ComboboxNew/Combobox.js +11 -12
  59. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  60. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +12 -14
  61. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  62. package/{es/components/Combobox/ComboboxNew/Combobox.styles_1s09ifw.css → cjs/components/Combobox/ComboboxNew/Combobox.styles_1nqrvms.css} +1 -1
  63. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
  64. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  65. package/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js +0 -2
  66. package/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  67. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +12 -12
  68. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.js +1 -2
  69. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.js.map +1 -1
  70. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +12 -12
  71. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +5 -6
  72. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  73. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +10 -12
  74. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  75. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/{Item.styles_1us8jz1.css → Item.styles_1njzasn.css} +2 -2
  76. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -2
  77. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  78. package/cjs/components/Combobox/ComboboxOld/Combobox.css +3 -3
  79. package/cjs/components/Combobox/ComboboxOld/Combobox.js +4 -10
  80. package/cjs/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
  81. package/cjs/components/Combobox/ComboboxOld/Combobox.styles.js +0 -1
  82. package/cjs/components/Combobox/ComboboxOld/Combobox.styles.js.map +1 -1
  83. package/cjs/components/Combobox/ComboboxOld/hooks/useFocusController.js +0 -1
  84. package/cjs/components/Combobox/ComboboxOld/hooks/useFocusController.js.map +1 -1
  85. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js +1 -2
  86. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js.map +1 -1
  87. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +3 -3
  88. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js +1 -10
  89. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js.map +1 -1
  90. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +3 -3
  91. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js +1 -10
  92. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js.map +1 -1
  93. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +3 -3
  94. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js +1 -10
  95. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js.map +1 -1
  96. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +3 -3
  97. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js +1 -10
  98. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js.map +1 -1
  99. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js +0 -2
  100. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
  101. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.js +1 -1
  102. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js +1 -2
  103. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js.map +1 -1
  104. package/cjs/components/DatePicker/DatePicker.tokens.js +5 -0
  105. package/cjs/components/DatePicker/DatePicker.tokens.js.map +1 -1
  106. package/cjs/components/DatePicker/DatePickerBase.styles.js +2 -8
  107. package/cjs/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  108. package/cjs/components/DatePicker/DatePickerBase.styles_1x090si.css +2 -0
  109. package/cjs/components/DatePicker/RangeDate/RangeDate.css +15 -14
  110. package/cjs/components/DatePicker/RangeDate/RangeDate.js +1 -1
  111. package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js +0 -1
  112. package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -1
  113. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +13 -12
  114. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -2
  115. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  116. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +3 -6
  117. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -1
  118. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1i6gpss.css +2 -0
  119. package/cjs/components/DatePicker/SingleDate/SingleDate.css +15 -14
  120. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -2
  121. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  122. package/cjs/components/DatePicker/SingleDate/{SingleDate.styles_1rrq00l.css → SingleDate.styles_e72b5o.css} +1 -1
  123. package/cjs/components/Drawer/Drawer.js +5 -10
  124. package/cjs/components/Drawer/Drawer.js.map +1 -1
  125. package/cjs/components/Drawer/Drawer.styles.js +0 -4
  126. package/cjs/components/Drawer/Drawer.styles.js.map +1 -1
  127. package/cjs/components/Drawer/hooks/useDrawer.js +0 -4
  128. package/cjs/components/Drawer/hooks/useDrawer.js.map +1 -1
  129. package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.js +0 -7
  130. package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.js.map +1 -1
  131. package/cjs/components/Drawer/ui/DrawerFooter/DrawerFooter.js +0 -7
  132. package/cjs/components/Drawer/ui/DrawerFooter/DrawerFooter.js.map +1 -1
  133. package/cjs/components/Drawer/ui/DrawerHeader/DrawerHeader.js +0 -3
  134. package/cjs/components/Drawer/ui/DrawerHeader/DrawerHeader.js.map +1 -1
  135. package/cjs/components/Dropdown/Dropdown.css +3 -3
  136. package/cjs/components/Dropdown/Dropdown.js +3 -10
  137. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  138. package/cjs/components/Dropdown/Dropdown.styles.js +3 -4
  139. package/cjs/components/Dropdown/Dropdown.styles.js.map +1 -1
  140. package/cjs/components/Dropdown/{Dropdown.styles_1tihqkp.css → Dropdown.styles_zvi9m3.css} +1 -1
  141. package/cjs/components/Dropdown/Dropdown.tokens.js +2 -0
  142. package/cjs/components/Dropdown/Dropdown.tokens.js.map +1 -1
  143. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +1 -9
  144. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  145. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +1 -2
  146. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  147. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +0 -2
  148. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -1
  149. package/cjs/components/Dropdown/ui/DropdownOld/Dropdown.styles.js +0 -1
  150. package/cjs/components/Dropdown/ui/DropdownOld/Dropdown.styles.js.map +1 -1
  151. package/cjs/components/Editable/Editable.js +3 -4
  152. package/cjs/components/Editable/Editable.js.map +1 -1
  153. package/cjs/components/Editable/utils/clearSelection.js +0 -2
  154. package/cjs/components/Editable/utils/clearSelection.js.map +1 -1
  155. package/cjs/components/Editable/utils/selectText.js +0 -2
  156. package/cjs/components/Editable/utils/selectText.js.map +1 -1
  157. package/cjs/components/EmptyState/EmptyState.styles.js +1 -2
  158. package/cjs/components/EmptyState/EmptyState.styles.js.map +1 -1
  159. package/cjs/components/IconButton/IconButton.js +1 -1
  160. package/cjs/components/IconButton/IconButton.styles.js +0 -8
  161. package/cjs/components/IconButton/IconButton.styles.js.map +1 -1
  162. package/cjs/components/Modal/Modal.js +6 -8
  163. package/cjs/components/Modal/Modal.js.map +1 -1
  164. package/cjs/components/Modal/hooks/useModal.js +0 -4
  165. package/cjs/components/Modal/hooks/useModal.js.map +1 -1
  166. package/cjs/components/Notification/Notification.css +11 -11
  167. package/cjs/components/Notification/Notification.styles.js +17 -18
  168. package/cjs/components/Notification/Notification.styles.js.map +1 -1
  169. package/cjs/components/Notification/{Notification.styles_7h8hp0.css → Notification.styles_1g34msm.css} +1 -1
  170. package/cjs/components/Notification/Notification.tokens.js +2 -0
  171. package/cjs/components/Notification/Notification.tokens.js.map +1 -1
  172. package/cjs/components/Notification/NotificationsPortal.js +3 -4
  173. package/cjs/components/Notification/NotificationsPortal.js.map +1 -1
  174. package/cjs/components/Notification/NotificationsProvider.css +11 -11
  175. package/cjs/components/Pagination/Pagination.css +10 -10
  176. package/cjs/components/Pagination/Pagination.js +5 -5
  177. package/cjs/components/Pagination/Pagination.js.map +1 -1
  178. package/cjs/components/Pagination/Pagination.styles.js +4 -5
  179. package/cjs/components/Pagination/Pagination.styles.js.map +1 -1
  180. package/cjs/components/Pagination/{Pagination.styles_y6gcva.css → Pagination.styles_1w5oej6.css} +1 -1
  181. package/cjs/components/Pagination/Pagination.tokens.js +4 -1
  182. package/cjs/components/Pagination/Pagination.tokens.js.map +1 -1
  183. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +3 -3
  184. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +2 -3
  185. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  186. package/cjs/components/Pagination/ui/PaginationSelectPerPage/{PaginationSelectPerPage.styles_187mk6b.css → PaginationSelectPerPage.styles_1fesyfv.css} +1 -1
  187. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.js +1 -2
  188. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.js.map +1 -1
  189. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.styles.js +1 -2
  190. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.styles.js.map +1 -1
  191. package/cjs/components/Popover/Popover.js +1 -1
  192. package/cjs/components/Popup/Popup.js +2 -2
  193. package/cjs/components/Popup/PopupContext.js +1 -1
  194. package/cjs/components/Range/Range.styles.js +0 -1
  195. package/cjs/components/Range/Range.styles.js.map +1 -1
  196. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js +4 -5
  197. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js.map +1 -1
  198. package/cjs/components/Select/Select.js +11 -12
  199. package/cjs/components/Select/Select.js.map +1 -1
  200. package/cjs/components/Select/Select.styles.js +2 -5
  201. package/cjs/components/Select/Select.styles.js.map +1 -1
  202. package/cjs/components/Select/hooks/usePathMaps.js +0 -2
  203. package/cjs/components/Select/hooks/usePathMaps.js.map +1 -1
  204. package/cjs/components/Select/ui/Inner/Inner.js +1 -2
  205. package/cjs/components/Select/ui/Inner/Inner.js.map +1 -1
  206. package/cjs/components/Select/ui/Inner/ui/Item/Item.js +4 -5
  207. package/cjs/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  208. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +0 -1
  209. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  210. package/cjs/components/Select/ui/Target/ui/Button/Button.js +1 -1
  211. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +1 -3
  212. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  213. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -2
  214. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -4
  215. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  216. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +1 -2
  217. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -1
  218. package/cjs/components/Select/utils/getButtonLabel.js +0 -2
  219. package/cjs/components/Select/utils/getButtonLabel.js.map +1 -1
  220. package/cjs/components/Sheet/Sheet.js +3 -3
  221. package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js +2 -4
  222. package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
  223. package/cjs/components/Skeleton/RectSkeleton/RectSkeleton.js +2 -4
  224. package/cjs/components/Skeleton/RectSkeleton/RectSkeleton.js.map +1 -1
  225. package/cjs/components/Slider/Slider.js +0 -8
  226. package/cjs/components/Slider/Slider.js.map +1 -1
  227. package/cjs/components/Slider/components/Double/Double.js +1 -2
  228. package/cjs/components/Slider/components/Double/Double.js.map +1 -1
  229. package/cjs/components/Slider/components/Double/Double.styles.js +0 -1
  230. package/cjs/components/Slider/components/Double/Double.styles.js.map +1 -1
  231. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js +0 -3
  232. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js.map +1 -1
  233. package/cjs/components/Slider/components/Single/Single.js +1 -2
  234. package/cjs/components/Slider/components/Single/Single.js.map +1 -1
  235. package/cjs/components/Slider/components/SliderBase/SliderBase.js +1 -1
  236. package/cjs/components/Steps/Steps.js +1 -1
  237. package/cjs/components/Steps/ui/StepItem/StepItem.styles.js +0 -1
  238. package/cjs/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
  239. package/cjs/components/Tabs/createTabsController.js.map +1 -1
  240. package/cjs/components/Tabs/tokens.js +7 -1
  241. package/cjs/components/Tabs/tokens.js.map +1 -1
  242. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +5 -5
  243. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -8
  244. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  245. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  246. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  247. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/{HorizontalTabItem.styles_hfqv5b.css → HorizontalTabItem.styles_uaaqqg.css} +1 -1
  248. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.css +1 -1
  249. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +7 -18
  250. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
  251. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  252. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js.map +1 -1
  253. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/{base_4ob3q5.css → base_9miwn.css} +1 -1
  254. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -5
  255. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  256. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  257. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/{VerticalTabItem.styles_16d3lah.css → VerticalTabItem.styles_1g7zipg.css} +1 -1
  258. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +2 -3
  259. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
  260. package/cjs/components/TextArea/TextArea.js +2 -2
  261. package/cjs/components/TextArea/TextArea.styles.js +2 -3
  262. package/cjs/components/TextArea/TextArea.styles.js.map +1 -1
  263. package/cjs/components/TextArea/ui/Hint/Hint.js +1 -2
  264. package/cjs/components/TextArea/ui/Hint/Hint.js.map +1 -1
  265. package/cjs/components/TextField/TextField.js +3 -3
  266. package/cjs/components/TextField/TextField.styles.js +1 -2
  267. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  268. package/cjs/components/TextField/ui/Hint/Hint.js +1 -2
  269. package/cjs/components/TextField/ui/Hint/Hint.js.map +1 -1
  270. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -2
  271. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  272. package/cjs/components/Toast/Toast.styles.js +1 -1
  273. package/cjs/components/Toast/ToastController.js +1 -1
  274. package/cjs/components/Toast/utils.js +1 -2
  275. package/cjs/components/Toast/utils.js.map +1 -1
  276. package/cjs/components/Toolbar/ui/ToolbarDivider/ToolbarDivider.js +1 -1
  277. package/cjs/components/Tooltip/Tooltip.js +2 -3
  278. package/cjs/components/Tooltip/Tooltip.js.map +1 -1
  279. package/cjs/engines/index.js +0 -2
  280. package/cjs/engines/index.js.map +1 -1
  281. package/cjs/hooks/useIsomorphicLayoutEffect.js +0 -1
  282. package/cjs/hooks/useIsomorphicLayoutEffect.js.map +1 -1
  283. package/cjs/index.css +65 -64
  284. package/cjs/index.js +48 -51
  285. package/cjs/index.js.map +1 -1
  286. package/cjs/utils/index.js +0 -5
  287. package/cjs/utils/index.js.map +1 -1
  288. package/emotion/cjs/components/Autocomplete/Autocomplete.tokens.js +1 -0
  289. package/emotion/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  290. package/emotion/cjs/components/Calendar/Calendar.tokens.js +3 -0
  291. package/emotion/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -2
  292. package/emotion/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -3
  293. package/emotion/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +22 -17
  294. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +7 -7
  295. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
  296. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +12 -12
  297. package/emotion/cjs/components/DatePicker/DatePicker.tokens.js +5 -0
  298. package/emotion/cjs/components/DatePicker/DatePickerBase.styles.js +3 -3
  299. package/emotion/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +5 -5
  300. package/emotion/cjs/components/Dropdown/Dropdown.styles.js +3 -3
  301. package/emotion/cjs/components/Dropdown/Dropdown.tokens.js +2 -0
  302. package/emotion/cjs/components/Notification/Notification.styles.js +11 -11
  303. package/emotion/cjs/components/Notification/Notification.tokens.js +2 -0
  304. package/emotion/cjs/components/Pagination/Pagination.js +5 -5
  305. package/emotion/cjs/components/Pagination/Pagination.styles.js +8 -8
  306. package/emotion/cjs/components/Pagination/Pagination.tokens.js +4 -1
  307. package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  308. package/emotion/cjs/components/Tabs/tokens.js +7 -1
  309. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -13
  310. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +5 -5
  311. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +5 -20
  312. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  313. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +5 -5
  314. package/emotion/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +33 -72
  315. package/emotion/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +33 -72
  316. package/emotion/es/components/Autocomplete/Autocomplete.tokens.js +1 -0
  317. package/emotion/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  318. package/emotion/es/components/Calendar/Calendar.tokens.js +3 -0
  319. package/emotion/es/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -2
  320. package/emotion/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -5
  321. package/emotion/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +21 -16
  322. package/emotion/es/components/Combobox/ComboboxNew/Combobox.styles.js +7 -7
  323. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
  324. package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +12 -12
  325. package/emotion/es/components/DatePicker/DatePicker.tokens.js +5 -0
  326. package/emotion/es/components/DatePicker/DatePickerBase.styles.js +3 -3
  327. package/emotion/es/components/DatePicker/SingleDate/SingleDate.styles.js +5 -5
  328. package/emotion/es/components/Dropdown/Dropdown.styles.js +3 -3
  329. package/emotion/es/components/Dropdown/Dropdown.tokens.js +2 -0
  330. package/emotion/es/components/Notification/Notification.styles.js +11 -11
  331. package/emotion/es/components/Notification/Notification.tokens.js +2 -0
  332. package/emotion/es/components/Pagination/Pagination.js +5 -5
  333. package/emotion/es/components/Pagination/Pagination.styles.js +8 -8
  334. package/emotion/es/components/Pagination/Pagination.tokens.js +4 -1
  335. package/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  336. package/emotion/es/components/Tabs/tokens.js +7 -1
  337. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -14
  338. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +5 -5
  339. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +5 -21
  340. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  341. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +5 -5
  342. package/emotion/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +33 -72
  343. package/emotion/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +33 -72
  344. package/emotion/package.json +2 -1
  345. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -1
  346. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +1 -1
  347. package/es/components/Attach/Attach.js +3 -4
  348. package/es/components/Attach/Attach.js.map +1 -1
  349. package/es/components/Attach/components/AttachButton/AttachButton.js +0 -1
  350. package/es/components/Attach/components/AttachButton/AttachButton.js.map +1 -1
  351. package/es/components/Attach/ui/Button/Button.styles.js +0 -1
  352. package/es/components/Attach/ui/Button/Button.styles.js.map +1 -1
  353. package/es/components/Attach/ui/Cell/Cell.styles.js +0 -2
  354. package/es/components/Attach/ui/Cell/Cell.styles.js.map +1 -1
  355. package/es/components/Attach/ui/IconButton/IconButton.styles.js +0 -1
  356. package/es/components/Attach/ui/IconButton/IconButton.styles.js.map +1 -1
  357. package/es/components/Attach/utils/getFileicon.js +3 -4
  358. package/es/components/Attach/utils/getFileicon.js.map +1 -1
  359. package/es/components/Attach/utils/index.js +0 -3
  360. package/es/components/Attach/utils/index.js.map +1 -1
  361. package/es/components/Autocomplete/Autocomplete.css +1 -1
  362. package/es/components/Autocomplete/Autocomplete.js +5 -6
  363. package/es/components/Autocomplete/Autocomplete.js.map +1 -1
  364. package/es/components/Autocomplete/Autocomplete.styles.js +2 -3
  365. package/es/components/Autocomplete/Autocomplete.styles.js.map +1 -1
  366. package/es/components/Autocomplete/Autocomplete.tokens.js +1 -0
  367. package/es/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
  368. package/es/components/Autocomplete/ui/TextField/TextField.styles.js +2 -3
  369. package/es/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  370. package/es/components/Autocomplete/ui/TextField/{TextField.styles_1csckkd.css → TextField.styles_1ye9068.css} +1 -1
  371. package/es/components/Avatar/Avatar.js +2 -3
  372. package/es/components/Avatar/Avatar.js.map +1 -1
  373. package/es/components/Breadcrumbs/Breadcrumbs.styles.js +2 -4
  374. package/es/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
  375. package/es/components/Button/Button.styles.js +0 -3
  376. package/es/components/Button/Button.styles.js.map +1 -1
  377. package/es/components/Calendar/Calendar.tokens.js +3 -0
  378. package/es/components/Calendar/Calendar.tokens.js.map +1 -1
  379. package/es/components/Calendar/CalendarBase/CalendarBase.css +11 -10
  380. package/es/components/Calendar/CalendarBase/CalendarBase.js +5 -5
  381. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  382. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  383. package/{cjs/components/Calendar/CalendarBase/CalendarBase.styles_1m6uih1.css → es/components/Calendar/CalendarBase/CalendarBase.styles_ni8729.css} +1 -1
  384. package/es/components/Calendar/CalendarDouble/CalendarDouble.css +11 -10
  385. package/es/components/Calendar/CalendarDouble/CalendarDouble.js +8 -8
  386. package/es/components/Calendar/hooks/useDays.js +2 -2
  387. package/es/components/Calendar/hooks/useKeyNavigation.js +1 -1
  388. package/es/components/Calendar/hooks/useMonths.js +2 -2
  389. package/es/components/Calendar/hooks/useQuarters.js +2 -2
  390. package/es/components/Calendar/hooks/useYears.js +2 -2
  391. package/es/components/Calendar/ui/CalendarDays/CalendarDays.js +4 -4
  392. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.css +9 -8
  393. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +8 -10
  394. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  395. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +11 -3
  396. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  397. package/{cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1jfelqf.css → es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1xijs8w.css} +1 -0
  398. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +4 -4
  399. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +4 -4
  400. package/es/components/Calendar/ui/CalendarYears/CalendarYears.js +4 -4
  401. package/es/components/Combobox/ComboboxNew/Combobox.css +12 -12
  402. package/es/components/Combobox/ComboboxNew/Combobox.js +11 -12
  403. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  404. package/es/components/Combobox/ComboboxNew/Combobox.styles.js +12 -14
  405. package/es/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  406. package/{cjs/components/Combobox/ComboboxNew/Combobox.styles_1s09ifw.css → es/components/Combobox/ComboboxNew/Combobox.styles_1nqrvms.css} +1 -1
  407. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
  408. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  409. package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js +0 -2
  410. package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  411. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +12 -12
  412. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.js +1 -2
  413. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.js.map +1 -1
  414. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +12 -12
  415. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +5 -6
  416. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  417. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +10 -12
  418. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  419. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/{Item.styles_1us8jz1.css → Item.styles_1njzasn.css} +2 -2
  420. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -2
  421. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  422. package/es/components/Combobox/ComboboxOld/Combobox.css +3 -3
  423. package/es/components/Combobox/ComboboxOld/Combobox.js +4 -10
  424. package/es/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
  425. package/es/components/Combobox/ComboboxOld/Combobox.styles.js +0 -1
  426. package/es/components/Combobox/ComboboxOld/Combobox.styles.js.map +1 -1
  427. package/es/components/Combobox/ComboboxOld/hooks/useFocusController.js +0 -1
  428. package/es/components/Combobox/ComboboxOld/hooks/useFocusController.js.map +1 -1
  429. package/es/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js +1 -2
  430. package/es/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js.map +1 -1
  431. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +3 -3
  432. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js +1 -10
  433. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js.map +1 -1
  434. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +3 -3
  435. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js +1 -10
  436. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js.map +1 -1
  437. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +3 -3
  438. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js +1 -10
  439. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js.map +1 -1
  440. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +3 -3
  441. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js +1 -10
  442. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js.map +1 -1
  443. package/es/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js +0 -2
  444. package/es/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
  445. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.js +1 -1
  446. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js +1 -2
  447. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js.map +1 -1
  448. package/es/components/DatePicker/DatePicker.tokens.js +5 -0
  449. package/es/components/DatePicker/DatePicker.tokens.js.map +1 -1
  450. package/es/components/DatePicker/DatePickerBase.styles.js +2 -8
  451. package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  452. package/es/components/DatePicker/DatePickerBase.styles_1x090si.css +2 -0
  453. package/es/components/DatePicker/RangeDate/RangeDate.css +15 -14
  454. package/es/components/DatePicker/RangeDate/RangeDate.js +1 -1
  455. package/es/components/DatePicker/RangeDate/RangeDate.styles.js +0 -1
  456. package/es/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -1
  457. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +13 -12
  458. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -2
  459. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  460. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +3 -6
  461. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -1
  462. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1i6gpss.css +2 -0
  463. package/es/components/DatePicker/SingleDate/SingleDate.css +15 -14
  464. package/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -2
  465. package/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  466. package/es/components/DatePicker/SingleDate/{SingleDate.styles_1rrq00l.css → SingleDate.styles_e72b5o.css} +1 -1
  467. package/es/components/Drawer/Drawer.js +5 -10
  468. package/es/components/Drawer/Drawer.js.map +1 -1
  469. package/es/components/Drawer/Drawer.styles.js +0 -4
  470. package/es/components/Drawer/Drawer.styles.js.map +1 -1
  471. package/es/components/Drawer/hooks/useDrawer.js +0 -4
  472. package/es/components/Drawer/hooks/useDrawer.js.map +1 -1
  473. package/es/components/Drawer/ui/DrawerContent/DrawerContent.js +0 -7
  474. package/es/components/Drawer/ui/DrawerContent/DrawerContent.js.map +1 -1
  475. package/es/components/Drawer/ui/DrawerFooter/DrawerFooter.js +0 -7
  476. package/es/components/Drawer/ui/DrawerFooter/DrawerFooter.js.map +1 -1
  477. package/es/components/Drawer/ui/DrawerHeader/DrawerHeader.js +0 -3
  478. package/es/components/Drawer/ui/DrawerHeader/DrawerHeader.js.map +1 -1
  479. package/es/components/Dropdown/Dropdown.css +3 -3
  480. package/es/components/Dropdown/Dropdown.js +3 -10
  481. package/es/components/Dropdown/Dropdown.js.map +1 -1
  482. package/es/components/Dropdown/Dropdown.styles.js +3 -4
  483. package/es/components/Dropdown/Dropdown.styles.js.map +1 -1
  484. package/es/components/Dropdown/{Dropdown.styles_1tihqkp.css → Dropdown.styles_zvi9m3.css} +1 -1
  485. package/es/components/Dropdown/Dropdown.tokens.js +2 -0
  486. package/es/components/Dropdown/Dropdown.tokens.js.map +1 -1
  487. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +1 -9
  488. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  489. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +1 -2
  490. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  491. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +0 -2
  492. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -1
  493. package/es/components/Dropdown/ui/DropdownOld/Dropdown.styles.js +0 -1
  494. package/es/components/Dropdown/ui/DropdownOld/Dropdown.styles.js.map +1 -1
  495. package/es/components/Editable/Editable.js +3 -4
  496. package/es/components/Editable/Editable.js.map +1 -1
  497. package/es/components/Editable/utils/clearSelection.js +0 -2
  498. package/es/components/Editable/utils/clearSelection.js.map +1 -1
  499. package/es/components/Editable/utils/selectText.js +0 -2
  500. package/es/components/Editable/utils/selectText.js.map +1 -1
  501. package/es/components/EmptyState/EmptyState.styles.js +1 -2
  502. package/es/components/EmptyState/EmptyState.styles.js.map +1 -1
  503. package/es/components/IconButton/IconButton.js +1 -1
  504. package/es/components/IconButton/IconButton.styles.js +0 -8
  505. package/es/components/IconButton/IconButton.styles.js.map +1 -1
  506. package/es/components/Modal/Modal.js +6 -8
  507. package/es/components/Modal/Modal.js.map +1 -1
  508. package/es/components/Modal/hooks/useModal.js +0 -4
  509. package/es/components/Modal/hooks/useModal.js.map +1 -1
  510. package/es/components/Notification/Notification.css +11 -11
  511. package/es/components/Notification/Notification.styles.js +17 -18
  512. package/es/components/Notification/Notification.styles.js.map +1 -1
  513. package/es/components/Notification/{Notification.styles_7h8hp0.css → Notification.styles_1g34msm.css} +1 -1
  514. package/es/components/Notification/Notification.tokens.js +2 -0
  515. package/es/components/Notification/Notification.tokens.js.map +1 -1
  516. package/es/components/Notification/NotificationsPortal.js +3 -4
  517. package/es/components/Notification/NotificationsPortal.js.map +1 -1
  518. package/es/components/Notification/NotificationsProvider.css +11 -11
  519. package/es/components/Pagination/Pagination.css +10 -10
  520. package/es/components/Pagination/Pagination.js +5 -5
  521. package/es/components/Pagination/Pagination.js.map +1 -1
  522. package/es/components/Pagination/Pagination.styles.js +4 -5
  523. package/es/components/Pagination/Pagination.styles.js.map +1 -1
  524. package/es/components/Pagination/{Pagination.styles_y6gcva.css → Pagination.styles_1w5oej6.css} +1 -1
  525. package/es/components/Pagination/Pagination.tokens.js +4 -1
  526. package/es/components/Pagination/Pagination.tokens.js.map +1 -1
  527. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +3 -3
  528. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +2 -3
  529. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  530. package/es/components/Pagination/ui/PaginationSelectPerPage/{PaginationSelectPerPage.styles_187mk6b.css → PaginationSelectPerPage.styles_1fesyfv.css} +1 -1
  531. package/es/components/Panel/ui/PanelHeader/PanelHeader.js +1 -2
  532. package/es/components/Panel/ui/PanelHeader/PanelHeader.js.map +1 -1
  533. package/es/components/Panel/ui/PanelHeader/PanelHeader.styles.js +1 -2
  534. package/es/components/Panel/ui/PanelHeader/PanelHeader.styles.js.map +1 -1
  535. package/es/components/Popover/Popover.js +1 -1
  536. package/es/components/Popup/Popup.js +2 -2
  537. package/es/components/Popup/PopupContext.js +1 -1
  538. package/es/components/Range/Range.styles.js +0 -1
  539. package/es/components/Range/Range.styles.js.map +1 -1
  540. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.js +4 -5
  541. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.js.map +1 -1
  542. package/es/components/Select/Select.js +11 -12
  543. package/es/components/Select/Select.js.map +1 -1
  544. package/es/components/Select/Select.styles.js +2 -5
  545. package/es/components/Select/Select.styles.js.map +1 -1
  546. package/es/components/Select/hooks/usePathMaps.js +0 -2
  547. package/es/components/Select/hooks/usePathMaps.js.map +1 -1
  548. package/es/components/Select/ui/Inner/Inner.js +1 -2
  549. package/es/components/Select/ui/Inner/Inner.js.map +1 -1
  550. package/es/components/Select/ui/Inner/ui/Item/Item.js +4 -5
  551. package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  552. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +0 -1
  553. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  554. package/es/components/Select/ui/Target/ui/Button/Button.js +1 -1
  555. package/es/components/Select/ui/Target/ui/Button/Button.styles.js +1 -3
  556. package/es/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  557. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -2
  558. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -4
  559. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  560. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +1 -2
  561. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -1
  562. package/es/components/Select/utils/getButtonLabel.js +0 -2
  563. package/es/components/Select/utils/getButtonLabel.js.map +1 -1
  564. package/es/components/Sheet/Sheet.js +3 -3
  565. package/es/components/Skeleton/LineSkeleton/LineSkeleton.js +2 -4
  566. package/es/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
  567. package/es/components/Skeleton/RectSkeleton/RectSkeleton.js +2 -4
  568. package/es/components/Skeleton/RectSkeleton/RectSkeleton.js.map +1 -1
  569. package/es/components/Slider/Slider.js +0 -8
  570. package/es/components/Slider/Slider.js.map +1 -1
  571. package/es/components/Slider/components/Double/Double.js +1 -2
  572. package/es/components/Slider/components/Double/Double.js.map +1 -1
  573. package/es/components/Slider/components/Double/Double.styles.js +0 -1
  574. package/es/components/Slider/components/Double/Double.styles.js.map +1 -1
  575. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js +0 -3
  576. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js.map +1 -1
  577. package/es/components/Slider/components/Single/Single.js +1 -2
  578. package/es/components/Slider/components/Single/Single.js.map +1 -1
  579. package/es/components/Slider/components/SliderBase/SliderBase.js +1 -1
  580. package/es/components/Steps/Steps.js +1 -1
  581. package/es/components/Steps/ui/StepItem/StepItem.styles.js +0 -1
  582. package/es/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
  583. package/es/components/Tabs/createTabsController.js.map +1 -1
  584. package/es/components/Tabs/tokens.js +7 -1
  585. package/es/components/Tabs/tokens.js.map +1 -1
  586. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +5 -5
  587. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +4 -9
  588. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  589. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  590. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  591. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/{HorizontalTabItem.styles_hfqv5b.css → HorizontalTabItem.styles_uaaqqg.css} +1 -1
  592. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.css +1 -1
  593. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +8 -19
  594. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
  595. package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  596. package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js.map +1 -1
  597. package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/{base_4ob3q5.css → base_9miwn.css} +1 -1
  598. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -5
  599. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  600. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  601. package/es/components/Tabs/ui/vertical/VerticalTabItem/{VerticalTabItem.styles_16d3lah.css → VerticalTabItem.styles_1g7zipg.css} +1 -1
  602. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +2 -3
  603. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
  604. package/es/components/TextArea/TextArea.js +2 -2
  605. package/es/components/TextArea/TextArea.styles.js +2 -3
  606. package/es/components/TextArea/TextArea.styles.js.map +1 -1
  607. package/es/components/TextArea/ui/Hint/Hint.js +1 -2
  608. package/es/components/TextArea/ui/Hint/Hint.js.map +1 -1
  609. package/es/components/TextField/TextField.js +3 -3
  610. package/es/components/TextField/TextField.styles.js +1 -2
  611. package/es/components/TextField/TextField.styles.js.map +1 -1
  612. package/es/components/TextField/ui/Hint/Hint.js +1 -2
  613. package/es/components/TextField/ui/Hint/Hint.js.map +1 -1
  614. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -2
  615. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  616. package/es/components/Toast/Toast.styles.js +1 -1
  617. package/es/components/Toast/ToastController.js +1 -1
  618. package/es/components/Toast/utils.js +1 -2
  619. package/es/components/Toast/utils.js.map +1 -1
  620. package/es/components/Toolbar/ui/ToolbarDivider/ToolbarDivider.js +1 -1
  621. package/es/components/Tooltip/Tooltip.js +2 -3
  622. package/es/components/Tooltip/Tooltip.js.map +1 -1
  623. package/es/engines/index.js +0 -2
  624. package/es/engines/index.js.map +1 -1
  625. package/es/hooks/useIsomorphicLayoutEffect.js +0 -1
  626. package/es/hooks/useIsomorphicLayoutEffect.js.map +1 -1
  627. package/es/index.css +65 -64
  628. package/es/index.js +21 -24
  629. package/es/index.js.map +1 -1
  630. package/es/utils/index.js +0 -3
  631. package/es/utils/index.js.map +1 -1
  632. package/package.json +5 -2
  633. package/styled-components/cjs/components/Autocomplete/Autocomplete.tokens.js +1 -0
  634. package/styled-components/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  635. package/styled-components/cjs/components/Calendar/Calendar.tokens.js +3 -0
  636. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  637. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -3
  638. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +6 -2
  639. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  640. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
  641. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +3 -3
  642. package/styled-components/cjs/components/DatePicker/DatePicker.tokens.js +5 -0
  643. package/styled-components/cjs/components/DatePicker/DatePickerBase.styles.js +1 -1
  644. package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  645. package/styled-components/cjs/components/Dropdown/Dropdown.styles.js +2 -2
  646. package/styled-components/cjs/components/Dropdown/Dropdown.tokens.js +2 -0
  647. package/styled-components/cjs/components/Notification/Notification.styles.js +1 -1
  648. package/styled-components/cjs/components/Notification/Notification.tokens.js +2 -0
  649. package/styled-components/cjs/components/Pagination/Pagination.js +5 -5
  650. package/styled-components/cjs/components/Pagination/Pagination.styles.js +1 -1
  651. package/styled-components/cjs/components/Pagination/Pagination.tokens.js +4 -1
  652. package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  653. package/styled-components/cjs/components/Tabs/tokens.js +7 -1
  654. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -13
  655. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  656. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +5 -20
  657. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  658. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  659. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +33 -72
  660. package/styled-components/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +33 -72
  661. package/styled-components/es/components/Autocomplete/Autocomplete.tokens.js +1 -0
  662. package/styled-components/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  663. package/styled-components/es/components/Calendar/Calendar.tokens.js +3 -0
  664. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  665. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -5
  666. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +5 -1
  667. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  668. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
  669. package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +3 -3
  670. package/styled-components/es/components/DatePicker/DatePicker.tokens.js +5 -0
  671. package/styled-components/es/components/DatePicker/DatePickerBase.styles.js +1 -1
  672. package/styled-components/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  673. package/styled-components/es/components/Dropdown/Dropdown.styles.js +2 -2
  674. package/styled-components/es/components/Dropdown/Dropdown.tokens.js +2 -0
  675. package/styled-components/es/components/Notification/Notification.styles.js +1 -1
  676. package/styled-components/es/components/Notification/Notification.tokens.js +2 -0
  677. package/styled-components/es/components/Pagination/Pagination.js +5 -5
  678. package/styled-components/es/components/Pagination/Pagination.styles.js +1 -1
  679. package/styled-components/es/components/Pagination/Pagination.tokens.js +4 -1
  680. package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  681. package/styled-components/es/components/Tabs/tokens.js +7 -1
  682. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -14
  683. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  684. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +5 -21
  685. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  686. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  687. package/styled-components/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +33 -72
  688. package/styled-components/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +33 -72
  689. package/styled-components/package.json +2 -1
  690. package/types/components/Autocomplete/Autocomplete.tokens.d.ts +1 -0
  691. package/types/components/Autocomplete/Autocomplete.tokens.d.ts.map +1 -1
  692. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  693. package/types/components/Calendar/Calendar.tokens.d.ts +3 -0
  694. package/types/components/Calendar/Calendar.tokens.d.ts.map +1 -1
  695. package/types/components/Calendar/CalendarBase/CalendarBase.styles.d.ts.map +1 -1
  696. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.d.ts.map +1 -1
  697. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts +1 -0
  698. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts.map +1 -1
  699. package/types/components/Combobox/ComboboxNew/Combobox.styles.d.ts.map +1 -1
  700. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +4 -0
  701. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  702. package/types/components/DatePicker/DatePicker.tokens.d.ts +5 -0
  703. package/types/components/DatePicker/DatePicker.tokens.d.ts.map +1 -1
  704. package/types/components/DatePicker/DatePickerBase.styles.d.ts.map +1 -1
  705. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  706. package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
  707. package/types/components/Dropdown/Dropdown.tokens.d.ts +2 -0
  708. package/types/components/Dropdown/Dropdown.tokens.d.ts.map +1 -1
  709. package/types/components/Notification/Notification.styles.d.ts.map +1 -1
  710. package/types/components/Notification/Notification.tokens.d.ts +2 -0
  711. package/types/components/Notification/Notification.tokens.d.ts.map +1 -1
  712. package/types/components/Pagination/Pagination.d.ts.map +1 -1
  713. package/types/components/Pagination/Pagination.styles.d.ts.map +1 -1
  714. package/types/components/Pagination/Pagination.tokens.d.ts +3 -0
  715. package/types/components/Pagination/Pagination.tokens.d.ts.map +1 -1
  716. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  717. package/types/components/Tabs/TabItem.types.d.ts +8 -50
  718. package/types/components/Tabs/TabItem.types.d.ts.map +1 -1
  719. package/types/components/Tabs/Tabs.types.d.ts +2 -44
  720. package/types/components/Tabs/Tabs.types.d.ts.map +1 -1
  721. package/types/components/Tabs/createTabsController.d.ts +2 -2
  722. package/types/components/Tabs/createTabsController.d.ts.map +1 -1
  723. package/types/components/Tabs/tokens.d.ts +6 -0
  724. package/types/components/Tabs/tokens.d.ts.map +1 -1
  725. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.d.ts.map +1 -1
  726. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.d.ts.map +1 -1
  727. package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.d.ts +2 -2
  728. package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.d.ts.map +1 -1
  729. package/types/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.d.ts.map +1 -1
  730. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.d.ts.map +1 -1
  731. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts +2 -17
  732. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts.map +1 -1
  733. package/types/examples/plasma_b2c/components/Tabs/Tabs.d.ts +1 -1
  734. package/types/examples/plasma_b2c/components/Tabs/Tabs.d.ts.map +1 -1
  735. package/types/examples/plasma_web/components/Tabs/TabItem.d.ts +2 -17
  736. package/types/examples/plasma_web/components/Tabs/TabItem.d.ts.map +1 -1
  737. package/types/examples/plasma_web/components/Tabs/Tabs.d.ts +1 -1
  738. package/types/examples/plasma_web/components/Tabs/Tabs.d.ts.map +1 -1
  739. package/cjs/components/DatePicker/DatePickerBase.styles_mjc9xz.css +0 -2
  740. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1gljtdv.css +0 -2
  741. package/cjs/components/Tabs/ui/horizontal/const.js +0 -11
  742. package/cjs/components/Tabs/ui/horizontal/const.js.map +0 -1
  743. package/emotion/cjs/components/Tabs/ui/horizontal/const.js +0 -10
  744. package/emotion/es/components/Tabs/ui/horizontal/const.js +0 -4
  745. package/es/components/DatePicker/DatePickerBase.styles_mjc9xz.css +0 -2
  746. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1gljtdv.css +0 -2
  747. package/es/components/Tabs/ui/horizontal/const.js +0 -7
  748. package/es/components/Tabs/ui/horizontal/const.js.map +0 -1
  749. package/styled-components/cjs/components/Tabs/ui/horizontal/const.js +0 -10
  750. package/styled-components/es/components/Tabs/ui/horizontal/const.js +0 -4
  751. package/types/components/Tabs/ui/horizontal/const.d.ts +0 -2
  752. package/types/components/Tabs/ui/horizontal/const.d.ts.map +0 -1
@@ -31,11 +31,11 @@
31
31
 
32
32
  .IconRoot_7pl7ig_svvlqhf__32c458a1{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:var(--svvlqhf-0);height:var(--svvlqhf-0);-webkit-flex:0 0 var(--svvlqhf-0);-ms-flex:0 0 var(--svvlqhf-0);flex:0 0 var(--svvlqhf-0);}
33
33
 
34
- .Combobox_styles_1s09ifw_uxiiees__354f27d9{box-sizing:border-box;background:var(--surface-solid-card);box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);border-radius:var(--plasma-combobox-border-radius);width:var(--uxiiees-0);height:var(--uxiiees-1);overflow:var(--uxiiees-2);border:var(--plasma-select-dropdown-border-width) solid var(--plasma-select-dropdown-border-color);margin:var(--uxiiees-3);padding:var(--plasma-combobox-padding) 0;}.Combobox_styles_1s09ifw_uxiiees__354f27d9 .Combobox_styles_1s09ifw_comboboxEmptyStateWrapper__354f27d9{box-shadow:none;}
35
- .Combobox_styles_1s09ifw_i1veo3wn__354f27d9{line-height:0;color:var(--text-secondary);cursor:var(--i1veo3wn-0);}.Combobox_styles_1s09ifw_i1veo3wn__354f27d9 .Combobox_styles_1s09ifw_arrowInverse__354f27d9{-webkit-transform:rotate(-180deg);-ms-transform:rotate(-180deg);transform:rotate(-180deg);}.Combobox_styles_1s09ifw_i1veo3wn__354f27d9:hover,.Combobox_styles_1s09ifw_i1veo3wn__354f27d9:active{color:var(--i1veo3wn-1);}
34
+ .Combobox_styles_1nqrvms_uxiiees__b5e78eb4{box-sizing:border-box;background:var(--surface-solid-card);box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);border-radius:var(--plasma-combobox-border-radius);width:var(--uxiiees-0);height:var(--uxiiees-1);overflow:var(--uxiiees-2);border:var(--plasma-select-dropdown-border-width) solid var(--plasma-select-dropdown-border-color);margin:var(--uxiiees-3);padding:var(--plasma-combobox-padding) 0;}.Combobox_styles_1nqrvms_uxiiees__b5e78eb4 .Combobox_styles_1nqrvms_comboboxEmptyStateWrapper__b5e78eb4{box-shadow:none;}
35
+ .Combobox_styles_1nqrvms_i1veo3wn__b5e78eb4{line-height:0;color:var(--plasma-combobox-disclosure-icon-color,var(--text-secondary));cursor:var(--i1veo3wn-0);}.Combobox_styles_1nqrvms_i1veo3wn__b5e78eb4 .Combobox_styles_1nqrvms_arrowInverse__b5e78eb4{-webkit-transform:rotate(-180deg);-ms-transform:rotate(-180deg);transform:rotate(-180deg);}.Combobox_styles_1nqrvms_i1veo3wn__b5e78eb4:hover,.Combobox_styles_1nqrvms_i1veo3wn__b5e78eb4:active{color:var(--i1veo3wn-1);}
36
36
 
37
37
 
38
- .Combobox_styles_1s09ifw_s11cn92k__354f27d9{--plasma-emptystate-border-radius:var(--plasma-combobox-new-textfield-border-radius);--plasma-emptystate-padding:var(--plasma-combobox-new-empty-state-padding);--plasma-emptystate-font-family:var(--plasma-combobox-new-textfield-font-family);--plasma-emptystate-font-size:var(--plasma-combobox-new-textfield-font-size);--plasma-emptystate-font-style:var(--plasma-combobox-new-textfield-font-style);--plasma-emptystate-font-weight:var(--plasma-combobox-new-textfield-font-weight);--plasma-emptystate-font-letter-spacing:var(--plasma-combobox-new-textfield-letter-spacing);--plasma-emptystate-font-line-height:var(--plasma-combobox-new-textfield-line-height);}
38
+ .Combobox_styles_1nqrvms_s11cn92k__b5e78eb4{--plasma-emptystate-border-radius:var(--plasma-combobox-new-textfield-border-radius);--plasma-emptystate-padding:var(--plasma-combobox-new-empty-state-padding);--plasma-emptystate-font-family:var(--plasma-combobox-new-textfield-font-family);--plasma-emptystate-font-size:var(--plasma-combobox-new-textfield-font-size);--plasma-emptystate-font-style:var(--plasma-combobox-new-textfield-font-style);--plasma-emptystate-font-weight:var(--plasma-combobox-new-textfield-font-weight);--plasma-emptystate-font-letter-spacing:var(--plasma-combobox-new-textfield-letter-spacing);--plasma-emptystate-font-line-height:var(--plasma-combobox-new-textfield-line-height);}
39
39
 
40
40
  .base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_i13qvwoy__5f4dd9b9{width:100%;font:inherit;-webkit-letter-spacing:inherit;-moz-letter-spacing:inherit;-ms-letter-spacing:inherit;letter-spacing:inherit;line-height:inherit;}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_i19ry60d__5f4dd9b9{width:100%;font-family:var(--plasma-textfield-font-family);font-size:var(--plasma-textfield-font-size);font-style:var(--plasma-textfield-font-style);font-weight:var(--plasma-textfield-font-weight);-webkit-letter-spacing:var(--plasma-textfield-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-letter-spacing);letter-spacing:var(--plasma-textfield-letter-spacing);line-height:var(--plasma-textfield-line-height);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_i1j28rg8__5f4dd9b9{height:var(--plasma-textfield-height);border-radius:var(--plasma-textfield-border-radius);padding:var(--plasma-textfield-padding);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_i1j28rg8__5f4dd9b9.base_1xdmaqh_hasChips__5f4dd9b9{padding-top:var(--plasma-textfield-padding-with-chips);padding-bottom:var(--plasma-textfield-padding-with-chips);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_i1j28rg8__5f4dd9b9.base_1xdmaqh_hasEmptyContentLeft__5f4dd9b9{padding-left:var(--plasma-textfield-padding-with-chips);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_i1j28rg8__5f4dd9b9.base_1xdmaqh_hasEmptyContentRight__5f4dd9b9{padding-right:var(--plasma-textfield-padding-with-chips);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_l1gjsnfi__5f4dd9b9,.base_1xdmaqh_b13ve66i__5f4dd9b9:not(.base_1xdmaqh_labelPlacementInner__5f4dd9b9) .base_1xdmaqh_s16itze4__5f4dd9b9{font-family:var(--plasma-textfield__label-font-family);font-size:var(--plasma-textfield__label-font-size);font-style:var(--plasma-textfield__label-font-style);font-weight:var(--plasma-textfield__label-font-weight);-webkit-letter-spacing:var(--plasma-textfield__label-letter-spacing);-moz-letter-spacing:var(--plasma-textfield__label-letter-spacing);-ms-letter-spacing:var(--plasma-textfield__label-letter-spacing);letter-spacing:var(--plasma-textfield__label-letter-spacing);line-height:var(--plasma-textfield__label-line-height);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_s1skqnhr__5f4dd9b9{margin:var(--plasma-textfield__hint-margin);width:var(--plasma-textfield__hint-target-size);height:var(--plasma-textfield__hint-target-size);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_hgy0im1__5f4dd9b9{width:var(--plasma-textfield__hint-target-size);height:var(--plasma-textfield__hint-target-size);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_t600610__5f4dd9b9{font-family:var(--plasma-textfield__title-caption-font-family);font-size:var(--plasma-textfield__title-caption-font-size);font-style:var(--plasma-textfield__title-caption-font-style);font-weight:var(--plasma-textfield__title-caption-font-weight);-webkit-letter-spacing:var(--plasma-textfield__title-caption-letter-spacing);-moz-letter-spacing:var(--plasma-textfield__title-caption-letter-spacing);-ms-letter-spacing:var(--plasma-textfield__title-caption-letter-spacing);letter-spacing:var(--plasma-textfield__title-caption-letter-spacing);line-height:var(--plasma-textfield__title-caption-line-height);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_l7hnwwb__5f4dd9b9{margin-top:var(--plasma-textfield__left-helper-offset);font-family:var(--plasma-textfield__left-helper-font-family);font-size:var(--plasma-textfield__left-helper-font-size);font-style:var(--plasma-textfield__left-helper-font-style);font-weight:var(--plasma-textfield__left-helper-font-weight);-webkit-letter-spacing:var(--plasma-textfield__left-helper-letter-spacing);-moz-letter-spacing:var(--plasma-textfield__left-helper-letter-spacing);-ms-letter-spacing:var(--plasma-textfield__left-helper-letter-spacing);letter-spacing:var(--plasma-textfield__left-helper-letter-spacing);line-height:var(--plasma-textfield__left-helper-line-height);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_smqgwd8__5f4dd9b9,.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_s14qvple__5f4dd9b9{font-family:var(--plasma-textfield-font-family);font-size:var(--plasma-textfield-font-size);font-style:var(--plasma-textfield-font-style);font-weight:var(--plasma-textfield-font-weight);-webkit-letter-spacing:var(--plasma-textfield-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-letter-spacing);letter-spacing:var(--plasma-textfield-letter-spacing);line-height:var(--plasma-textfield-line-height);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_smqgwd8__5f4dd9b9{margin:var(--plasma-textfield__before-text-margin);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_s14qvple__5f4dd9b9{margin:var(--plasma-textfield__after-text-margin);}
41
41
 
@@ -146,14 +146,14 @@
146
146
 
147
147
  .CellTextbox_styles_rgpies_cz0uqdu__c842929b{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:var(--plasma-cell-textbox-gap);}
148
148
 
149
- .Item_styles_1us8jz1_s17m41ki__358c9556{--plasma-cell-title-color:var(--text-primary);--plasma-cell-background-color:var(--plasma-colors-transparent);--plasma-cell-padding:var(--plasma-combobox-cell-padding);--plasma-cell-padding-left-content:var(--plasma-combobox-cell-padding-left-content);--plasma-cell-padding-content:var(--plasma-combobox-cell-padding-content);--plasma-cell-padding-right-content:var(--plasma-combobox-cell-padding-right-content);--plasma-cell-textbox-gap:var(--plasma-combobox-cell-textbox-gap);--plasma-cell-gap:var(--plasma-combobox-cell-gap);--plasma-cell-title-font-family:var(--plasma-combobox-cell-title-font-family);--plasma-cell-title-font-size:var(--plasma-combobox-cell-title-font-size);--plasma-cell-title-font-style:var(--plasma-combobox-cell-title-font-style);--plasma-cell-title-font-weight:var(--plasma-combobox-cell-title-font-weight);--plasma-cell-title-letter-spacing:var(--plasma-combobox-cell-title-letter-spacing);--plasma-cell-title-line-height:var(--plasma-combobox-cell-title-line-height);width:100%;}
149
+ .Item_styles_1njzasn_s17m41ki__45189dc1{--plasma-cell-title-color:var(--text-primary);--plasma-cell-background-color:var(--plasma-colors-transparent);--plasma-cell-padding:var(--plasma-combobox-cell-padding);--plasma-cell-padding-left-content:var(--plasma-combobox-cell-padding-left-content);--plasma-cell-padding-content:var(--plasma-combobox-cell-padding-content);--plasma-cell-padding-right-content:var(--plasma-combobox-cell-padding-right-content);--plasma-cell-textbox-gap:var(--plasma-combobox-cell-textbox-gap);--plasma-cell-gap:var(--plasma-combobox-cell-gap);--plasma-cell-title-font-family:var(--plasma-combobox-cell-title-font-family);--plasma-cell-title-font-size:var(--plasma-combobox-cell-title-font-size);--plasma-cell-title-font-style:var(--plasma-combobox-cell-title-font-style);--plasma-cell-title-font-weight:var(--plasma-combobox-cell-title-font-weight);--plasma-cell-title-letter-spacing:var(--plasma-combobox-cell-title-letter-spacing);--plasma-cell-title-line-height:var(--plasma-combobox-cell-title-line-height);width:100%;}
150
150
 
151
- .Item_styles_1us8jz1_sabntqz__358c9556{--plasma-checkbox-trigger-size:var(--plasma-combobox-checkbox-trigger-size);--plasma-checkbox-trigger-border-radius:var(--plasma-combobox-checkbox-trigger-border-radius);--plasma-checkbox-fill-color:var(--plasma-combobox-checkbox-fill-color);--plasma-checkbox-icon-color:var(--plasma-combobox-checkbox-icon-color);--plasma-checkbox-trigger-border-color:var(--plasma-combobox-checkbox-trigger-border-color);}
152
- .Item_styles_1us8jz1_sbva27s__358c9556{--plasma-indicator-size:var(--plasma-combobox-indicator-size);--plasma-indicator-color:var(--plasma-combobox-checkbox-fill-color);}
153
- .Item_styles_1us8jz1_s198ssfl__358c9556{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
154
- .Item_styles_1us8jz1_sq42uro__358c9556{margin-left:auto;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
155
- .Item_styles_1us8jz1_d96nkq__358c9556{line-height:0;color:var(--text-secondary);}.Item_styles_1us8jz1_d96nkq__358c9556:hover{color:var(--text-secondary-hover);}
156
- .Item_styles_1us8jz1_i170raop__358c9556{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:var(--i170raop-0);height:var(--i170raop-0);margin:var(--plasma-combobox-item-icon-margin);line-height:0;color:var(--plasma-combobox-checkbox-fill-color);}.Item_styles_1us8jz1_i170raop__358c9556 .Item_styles_1us8jz1_comboboxItemCheckbox__358c9556{--plasma-checkbox-trigger-size:var(--i170raop-1);--plasma-checkbox-trigger-border-radius:var(--i170raop-2);}
157
- .Item_styles_1us8jz1_s1bsz3m1__358c9556{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-flex:1;-ms-flex:1;flex:1;}
158
- .Item_styles_1us8jz1_wwurntn__358c9556{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:var(--plasma-combobox-item-height);margin:0;box-sizing:content-box;padding:var(--wwurntn-0);font-family:var(--plasma-combobox-font-family);font-size:var(--plasma-combobox-font-size);font-style:var(--plasma-combobox-font-style);font-weight:var(--plasma-combobox-font-weight);-webkit-letter-spacing:var(--plasma-combobox-font-letter-spacing);-moz-letter-spacing:var(--plasma-combobox-font-letter-spacing);-ms-letter-spacing:var(--plasma-combobox-font-letter-spacing);letter-spacing:var(--plasma-combobox-font-letter-spacing);line-height:var(--plasma-combobox-font-line-height);background-color:var(--plasma-colors-transparent);color:var(--text-primary);border-radius:var(--plasma-combobox-border-radius);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:2px solid transparent;border-left:2px solid transparent;background-clip:padding-box;position:relative;}.Item_styles_1us8jz1_wwurntn__358c9556:hover:not(.Item_styles_1us8jz1_dropdownItemIsDisabled__358c9556){cursor:pointer;background-color:var(--surface-transparent-secondary);}.Item_styles_1us8jz1_wwurntn__358c9556.Item_styles_1us8jz1_dropdownItemIsActive__358c9556{background-color:var(--surface-transparent-secondary);}.Item_styles_1us8jz1_wwurntn__358c9556.Item_styles_1us8jz1_dropdownItemIsDisabled__358c9556{opacity:0.4;cursor:not-allowed;}.Item_styles_1us8jz1_wwurntn__358c9556:focus{outline:none;}.Item_styles_1us8jz1_wwurntn__358c9556::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:var(--plasma-combobox-item-border-radius);-webkit-transition:none;transition:none;pointer-events:none;}.Item_styles_1us8jz1_wwurntn__358c9556.Item_styles_1us8jz1_dropdownItemIsFocused__358c9556:before{outline:none;box-shadow:0 0 0 0.0625rem var(--surface-accent);}
151
+ .Item_styles_1njzasn_sabntqz__45189dc1{--plasma-checkbox-trigger-size:var(--plasma-combobox-checkbox-trigger-size);--plasma-checkbox-trigger-border-radius:var(--plasma-combobox-checkbox-trigger-border-radius);--plasma-checkbox-fill-color:var(--plasma-combobox-checkbox-fill-color);--plasma-checkbox-icon-color:var(--plasma-combobox-checkbox-icon-color);--plasma-checkbox-trigger-border-color:var(--plasma-combobox-checkbox-trigger-border-color);}
152
+ .Item_styles_1njzasn_sbva27s__45189dc1{--plasma-indicator-size:var(--plasma-combobox-indicator-size);--plasma-indicator-color:var(--plasma-combobox-checkbox-fill-color);}
153
+ .Item_styles_1njzasn_s198ssfl__45189dc1{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
154
+ .Item_styles_1njzasn_sq42uro__45189dc1{margin-left:auto;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
155
+ .Item_styles_1njzasn_d96nkq__45189dc1{line-height:0;color:var(--plasma-combobox-disclosure-icon-color,var(--text-secondary));}.Item_styles_1njzasn_d96nkq__45189dc1:hover{color:var(--plasma-combobox-disclosure-icon-color-hover,var(--text-secondary-hover));}
156
+ .Item_styles_1njzasn_i170raop__45189dc1{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:var(--i170raop-0);height:var(--i170raop-0);margin:var(--plasma-combobox-item-icon-margin);line-height:0;color:var(--plasma-combobox-checkbox-fill-color);}.Item_styles_1njzasn_i170raop__45189dc1 .Item_styles_1njzasn_comboboxItemCheckbox__45189dc1{--plasma-checkbox-trigger-size:var(--i170raop-1);--plasma-checkbox-trigger-border-radius:var(--i170raop-2);}
157
+ .Item_styles_1njzasn_s1bsz3m1__45189dc1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-flex:1;-ms-flex:1;flex:1;}
158
+ .Item_styles_1njzasn_wwurntn__45189dc1{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:var(--plasma-combobox-item-height);margin:0;box-sizing:content-box;padding:var(--wwurntn-0);font-family:var(--plasma-combobox-font-family);font-size:var(--plasma-combobox-font-size);font-style:var(--plasma-combobox-font-style);font-weight:var(--plasma-combobox-font-weight);-webkit-letter-spacing:var(--plasma-combobox-font-letter-spacing);-moz-letter-spacing:var(--plasma-combobox-font-letter-spacing);-ms-letter-spacing:var(--plasma-combobox-font-letter-spacing);letter-spacing:var(--plasma-combobox-font-letter-spacing);line-height:var(--plasma-combobox-font-line-height);background-color:var(--plasma-combobox-item-background,var(--plasma-colors-transparent));color:var(--text-primary);border-radius:var(--plasma-combobox-border-radius);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:2px solid transparent;border-left:2px solid transparent;background-clip:padding-box;position:relative;}.Item_styles_1njzasn_wwurntn__45189dc1:hover:not(.Item_styles_1njzasn_dropdownItemIsDisabled__45189dc1){cursor:pointer;background-color:var(--plasma-combobox-item-background-hover,var(--surface-transparent-secondary));}.Item_styles_1njzasn_wwurntn__45189dc1.Item_styles_1njzasn_dropdownItemIsActive__45189dc1{background-color:var(--plasma-combobox-item-background-hover,var(--surface-transparent-secondary));}.Item_styles_1njzasn_wwurntn__45189dc1.Item_styles_1njzasn_dropdownItemIsDisabled__45189dc1{opacity:0.4;cursor:not-allowed;}.Item_styles_1njzasn_wwurntn__45189dc1:focus{outline:none;}.Item_styles_1njzasn_wwurntn__45189dc1::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:var(--plasma-combobox-item-border-radius);-webkit-transition:none;transition:none;pointer-events:none;}.Item_styles_1njzasn_wwurntn__45189dc1.Item_styles_1njzasn_dropdownItemIsFocused__45189dc1:before{outline:none;box-shadow:0 0 0 0.0625rem var(--surface-accent);}
159
159
 
@@ -5,9 +5,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var React = require('react');
6
6
  var plasmaCore = require('@salutejs/plasma-core');
7
7
  var FloatingPopover = require('../../FloatingPopover.js');
8
- require('../../../../../utils/react.js');
9
- var isEmpty = require('../../../../../utils/isEmpty.js');
10
8
  var Combobox_styles = require('../../Combobox.styles.js');
9
+ var isEmpty = require('../../../../../utils/isEmpty.js');
11
10
  var Item = require('./ui/Item/Item.js');
12
11
 
13
12
  var Inner = function Inner(_ref) {
@@ -1 +1 @@
1
- {"version":3,"file":"Inner.js","sources":["../../../../../../src/components/Combobox/ComboboxNew/ui/Inner/Inner.tsx"],"sourcesContent":["import React from 'react';\nimport type { FC } from 'react';\nimport { safeUseId } from '@salutejs/plasma-core';\n\nimport { FloatingPopover } from '../../FloatingPopover';\nimport { isEmpty } from '../../../../../utils';\nimport { Ul } from '../../Combobox.styles';\n\nimport type { ItemOptionTransformed } from './ui/Item/Item.types';\nimport { Item } from './ui';\nimport { InnerProps } from './Inner.type';\n\nexport const Inner: FC<InnerProps> = ({ item, currentLevel, path, dispatchPath, index, listWidth }) => {\n const handleToggle = (opened: boolean): void => {\n if (opened) {\n dispatchPath({ type: 'changed_on_level', value: item.value.toString(), level: currentLevel + 1 });\n } else {\n dispatchPath({ type: 'cut_by_level', level: currentLevel + 1 });\n }\n };\n\n const isCurrentListOpen = path[currentLevel + 1] === item.value.toString();\n\n const treeId = safeUseId();\n const listId = `${treeId}_tree_level_${currentLevel + 2}`;\n const nextLevel = currentLevel + 1;\n\n if (!isEmpty(item?.items)) {\n return (\n <FloatingPopover\n placement=\"right-start\"\n opened={isCurrentListOpen}\n onToggle={handleToggle}\n offset={2}\n target={\n <Item\n item={item}\n path={path}\n currentLevel={currentLevel}\n index={index}\n ariaControls={listId}\n ariaExpanded={isCurrentListOpen}\n ariaLevel={nextLevel}\n ariaLabel={item.label}\n />\n }\n >\n <Ul role=\"group\" id={listId} isInnerUl listWidth={listWidth}>\n {item.items?.map((innerItem: ItemOptionTransformed, innerIndex: number) => (\n <Inner\n key={`${innerIndex}/${currentLevel}`}\n item={innerItem}\n currentLevel={nextLevel}\n path={path}\n dispatchPath={dispatchPath}\n index={innerIndex}\n listWidth={listWidth}\n />\n ))}\n </Ul>\n </FloatingPopover>\n );\n }\n\n return <Item item={item} path={path} index={index} currentLevel={currentLevel} ariaLevel={nextLevel} />;\n};\n"],"names":["Inner","_ref","item","currentLevel","path","dispatchPath","index","listWidth","handleToggle","opened","type","value","toString","level","isCurrentListOpen","treeId","safeUseId","listId","concat","nextLevel","isEmpty","items","_item$items","React","createElement","FloatingPopover","placement","onToggle","offset","target","Item","ariaControls","ariaExpanded","ariaLevel","ariaLabel","label","Ul","role","id","isInnerUl","map","innerItem","innerIndex","key"],"mappings":";;;;;;;;;;;;IAYaA,KAAqB,GAAG,SAAxBA,KAAqBA,CAAAC,IAAA,EAAqE;AAAA,EAAA,IAA/DC,IA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,UAAW;AAClBnC,QAAAA,SAAS,EAAEA,SAAAA;AAAU,OACxB,CAAC,CAAA;KACL,CACD,CACS,CAAC,CAAA;AAE1B,GAAA;AAEA,EAAA,oBAAOgB,KAAA,CAAAC,aAAA,CAACM,SAAI,EAAA;AAAC5B,IAAAA,IAAI,EAAEA,IAAK;AAACE,IAAAA,IAAI,EAAEA,IAAK;AAACE,IAAAA,KAAK,EAAEA,KAAM;AAACH,IAAAA,YAAY,EAAEA,YAAa;AAAC8B,IAAAA,SAAS,EAAEd,SAAAA;AAAU,GAAE,CAAC,CAAA;AAC3G;;;;"}
1
+ {"version":3,"file":"Inner.js","sources":["../../../../../../src/components/Combobox/ComboboxNew/ui/Inner/Inner.tsx"],"sourcesContent":["import React from 'react';\nimport type { FC } from 'react';\nimport { safeUseId } from '@salutejs/plasma-core';\n\nimport { FloatingPopover } from '../../FloatingPopover';\nimport { isEmpty } from '../../../../../utils';\nimport { Ul } from '../../Combobox.styles';\n\nimport type { ItemOptionTransformed } from './ui/Item/Item.types';\nimport { Item } from './ui';\nimport { InnerProps } from './Inner.type';\n\nexport const Inner: FC<InnerProps> = ({ item, currentLevel, path, dispatchPath, index, listWidth }) => {\n const handleToggle = (opened: boolean): void => {\n if (opened) {\n dispatchPath({ type: 'changed_on_level', value: item.value.toString(), level: currentLevel + 1 });\n } else {\n dispatchPath({ type: 'cut_by_level', level: currentLevel + 1 });\n }\n };\n\n const isCurrentListOpen = path[currentLevel + 1] === item.value.toString();\n\n const treeId = safeUseId();\n const listId = `${treeId}_tree_level_${currentLevel + 2}`;\n const nextLevel = currentLevel + 1;\n\n if (!isEmpty(item?.items)) {\n return (\n <FloatingPopover\n placement=\"right-start\"\n opened={isCurrentListOpen}\n onToggle={handleToggle}\n offset={2}\n target={\n <Item\n item={item}\n path={path}\n currentLevel={currentLevel}\n index={index}\n ariaControls={listId}\n ariaExpanded={isCurrentListOpen}\n ariaLevel={nextLevel}\n ariaLabel={item.label}\n />\n }\n >\n <Ul role=\"group\" id={listId} isInnerUl listWidth={listWidth}>\n {item.items?.map((innerItem: ItemOptionTransformed, innerIndex: number) => (\n <Inner\n key={`${innerIndex}/${currentLevel}`}\n item={innerItem}\n currentLevel={nextLevel}\n path={path}\n dispatchPath={dispatchPath}\n index={innerIndex}\n listWidth={listWidth}\n />\n ))}\n </Ul>\n </FloatingPopover>\n );\n }\n\n return <Item item={item} path={path} index={index} currentLevel={currentLevel} ariaLevel={nextLevel} />;\n};\n"],"names":["Inner","_ref","item","currentLevel","path","dispatchPath","index","listWidth","handleToggle","opened","type","value","toString","level","isCurrentListOpen","treeId","safeUseId","listId","concat","nextLevel","isEmpty","items","_item$items","React","createElement","FloatingPopover","placement","onToggle","offset","target","Item","ariaControls","ariaExpanded","ariaLevel","ariaLabel","label","Ul","role","id","isInnerUl","map","innerItem","innerIndex","key"],"mappings":";;;;;;;;;;;IAYaA,KAAqB,GAAG,SAAxBA,KAAqBA,CAAAC,IAAA,EAAqE;AAAA,EAAA,IAA/DC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IAAEC,YAAY,GAAAF,IAAA,CAAZE,YAAY;IAAEC,IAAI,GAAAH,IAAA,CAAJG,IAAI;IAAEC,YAAY,GAAAJ,IAAA,CAAZI,YAAY;IAAEC,KAAK,GAAAL,IAAA,CAALK,KAAK;IAAEC,SAAS,GAAAN,IAAA,CAATM,SAAS,CAAA;AAC5F,EAAA,IAAMC,YAAY,GAAG,SAAfA,YAAYA,CAAIC,MAAe,EAAW;AAC5C,IAAA,IAAIA,MAAM,EAAE;AACRJ,MAAAA,YAAY,CAAC;AAAEK,QAAAA,IAAI,EAAE,kBAAkB;AAAEC,QAAAA,KAAK,EAAET,IAAI,CAACS,KAAK,CAACC,QAAQ,EAAE;QAAEC,KAAK,EAAEV,YAAY,GAAG,CAAA;AAAE,OAAC,CAAC,CAAA;AACrG,KAAC,MAAM;AACHE,MAAAA,YAAY,CAAC;AAAEK,QAAAA,IAAI,EAAE,cAAc;QAAEG,KAAK,EAA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AI,EAAC,OAAO;AAACC,MAAAA,EAAE,EAAErB,MAAO;MAACsB,SAAS,EAAA,IAAA;AAAChC,MAAAA,SAAS,EAAEA,SAAAA;AAAU,KAAA,EAAA,CAAAe,WAAA,GACvDpB,IAAI,CAACmB,KAAK,MAAAC,IAAAA,IAAAA,WAAA,KAAVA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,WAAA,CAAYkB,GAAG,CAAC,UAACC,SAAgC,EAAEC,UAAkB,EAAA;AAAA,MAAA,oBAClEnB,KAAA,CAAAC,aAAA,CAACxB,KAAK,EAAA;QACF2C,GAAG,EAAA,EAAA,CAAAzB,MAAA,CAAKwB,UAAU,OAAAxB,MAAA,CAAIf,YAAY,CAAG;AACrCD,QAAAA,IAAI,EAAEuC,SAAU;AAChBtC,QAAAA,YAAY,EAAEgB,SAAU;AACxBf,QAAAA,IAAI,EAAEA,IAAK;AACXC,QAAAA,YAAY,EAAEA,YAAa;AAC3BC,QAAAA,KAAK,EAAEoC,UAAW;AAClBnC,QAAAA,SAAS,EAAEA,SAAAA;AAAU,OACxB,CAAC,CAAA;KACL,CACD,CACS,CAAC,CAAA;AAE1B,GAAA;AAEA,EAAA,oBAAOgB,KAAA,CAAAC,aAAA,CAACM,SAAI,EAAA;AAAC5B,IAAAA,IAAI,EAAEA,IAAK;AAACE,IAAAA,IAAI,EAAEA,IAAK;AAACE,IAAAA,KAAK,EAAEA,KAAM;AAACH,IAAAA,YAAY,EAAEA,YAAa;AAAC8B,IAAAA,SAAS,EAAEd,SAAAA;AAAU,GAAE,CAAC,CAAA;AAC3G;;;;"}
@@ -104,11 +104,11 @@
104
104
  .EmptyState_styles_s585zf_i21aoej__64fd19b0{margin:var(--plasma-emptystate-icon-margin);line-height:0;}
105
105
  .EmptyState_styles_s585zf_d1brs29u__64fd19b0{margin:var(--plasma-emptystate-description-margin);font-family:var(--plasma-emptystate-font-family);font-size:var(--plasma-emptystate-font-size);font-style:var(--plasma-emptystate-font-style);font-weight:var(--plasma-emptystate-font-weight);-webkit-letter-spacing:var(--plasma-emptystate-font-letter-spacing);-moz-letter-spacing:var(--plasma-emptystate-font-letter-spacing);-ms-letter-spacing:var(--plasma-emptystate-font-letter-spacing);letter-spacing:var(--plasma-emptystate-font-letter-spacing);line-height:var(--plasma-emptystate-font-line-height);}
106
106
 
107
- .Combobox_styles_1s09ifw_uxiiees__354f27d9{box-sizing:border-box;background:var(--surface-solid-card);box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);border-radius:var(--plasma-combobox-border-radius);width:var(--uxiiees-0);height:var(--uxiiees-1);overflow:var(--uxiiees-2);border:var(--plasma-select-dropdown-border-width) solid var(--plasma-select-dropdown-border-color);margin:var(--uxiiees-3);padding:var(--plasma-combobox-padding) 0;}.Combobox_styles_1s09ifw_uxiiees__354f27d9 .Combobox_styles_1s09ifw_comboboxEmptyStateWrapper__354f27d9{box-shadow:none;}
108
- .Combobox_styles_1s09ifw_i1veo3wn__354f27d9{line-height:0;color:var(--text-secondary);cursor:var(--i1veo3wn-0);}.Combobox_styles_1s09ifw_i1veo3wn__354f27d9 .Combobox_styles_1s09ifw_arrowInverse__354f27d9{-webkit-transform:rotate(-180deg);-ms-transform:rotate(-180deg);transform:rotate(-180deg);}.Combobox_styles_1s09ifw_i1veo3wn__354f27d9:hover,.Combobox_styles_1s09ifw_i1veo3wn__354f27d9:active{color:var(--i1veo3wn-1);}
107
+ .Combobox_styles_1nqrvms_uxiiees__b5e78eb4{box-sizing:border-box;background:var(--surface-solid-card);box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);border-radius:var(--plasma-combobox-border-radius);width:var(--uxiiees-0);height:var(--uxiiees-1);overflow:var(--uxiiees-2);border:var(--plasma-select-dropdown-border-width) solid var(--plasma-select-dropdown-border-color);margin:var(--uxiiees-3);padding:var(--plasma-combobox-padding) 0;}.Combobox_styles_1nqrvms_uxiiees__b5e78eb4 .Combobox_styles_1nqrvms_comboboxEmptyStateWrapper__b5e78eb4{box-shadow:none;}
108
+ .Combobox_styles_1nqrvms_i1veo3wn__b5e78eb4{line-height:0;color:var(--plasma-combobox-disclosure-icon-color,var(--text-secondary));cursor:var(--i1veo3wn-0);}.Combobox_styles_1nqrvms_i1veo3wn__b5e78eb4 .Combobox_styles_1nqrvms_arrowInverse__b5e78eb4{-webkit-transform:rotate(-180deg);-ms-transform:rotate(-180deg);transform:rotate(-180deg);}.Combobox_styles_1nqrvms_i1veo3wn__b5e78eb4:hover,.Combobox_styles_1nqrvms_i1veo3wn__b5e78eb4:active{color:var(--i1veo3wn-1);}
109
109
 
110
110
 
111
- .Combobox_styles_1s09ifw_s11cn92k__354f27d9{--plasma-emptystate-border-radius:var(--plasma-combobox-new-textfield-border-radius);--plasma-emptystate-padding:var(--plasma-combobox-new-empty-state-padding);--plasma-emptystate-font-family:var(--plasma-combobox-new-textfield-font-family);--plasma-emptystate-font-size:var(--plasma-combobox-new-textfield-font-size);--plasma-emptystate-font-style:var(--plasma-combobox-new-textfield-font-style);--plasma-emptystate-font-weight:var(--plasma-combobox-new-textfield-font-weight);--plasma-emptystate-font-letter-spacing:var(--plasma-combobox-new-textfield-letter-spacing);--plasma-emptystate-font-line-height:var(--plasma-combobox-new-textfield-line-height);}
111
+ .Combobox_styles_1nqrvms_s11cn92k__b5e78eb4{--plasma-emptystate-border-radius:var(--plasma-combobox-new-textfield-border-radius);--plasma-emptystate-padding:var(--plasma-combobox-new-empty-state-padding);--plasma-emptystate-font-family:var(--plasma-combobox-new-textfield-font-family);--plasma-emptystate-font-size:var(--plasma-combobox-new-textfield-font-size);--plasma-emptystate-font-style:var(--plasma-combobox-new-textfield-font-style);--plasma-emptystate-font-weight:var(--plasma-combobox-new-textfield-font-weight);--plasma-emptystate-font-letter-spacing:var(--plasma-combobox-new-textfield-letter-spacing);--plasma-emptystate-font-line-height:var(--plasma-combobox-new-textfield-line-height);}
112
112
 
113
113
  .base_x252cy_b17hdes8__856a05b7 input[type='checkbox']:indeterminate + .base_x252cy_s1u3nd7e__856a05b7 .base_x252cy_sft3zxv__856a05b7{border:none;background:var(--plasma-checkbox-fill-color);border-color:var(--plasma-checkbox-fill-color);}.base_x252cy_b17hdes8__856a05b7 input:checked + .base_x252cy_s1u3nd7e__856a05b7 .base_x252cy_sft3zxv__856a05b7{border:none;background:var(--plasma-checkbox-fill-color);border-color:var(--plasma-checkbox-fill-color);}
114
114
 
@@ -146,14 +146,14 @@
146
146
 
147
147
  .CellTextbox_styles_rgpies_cz0uqdu__c842929b{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:var(--plasma-cell-textbox-gap);}
148
148
 
149
- .Item_styles_1us8jz1_s17m41ki__358c9556{--plasma-cell-title-color:var(--text-primary);--plasma-cell-background-color:var(--plasma-colors-transparent);--plasma-cell-padding:var(--plasma-combobox-cell-padding);--plasma-cell-padding-left-content:var(--plasma-combobox-cell-padding-left-content);--plasma-cell-padding-content:var(--plasma-combobox-cell-padding-content);--plasma-cell-padding-right-content:var(--plasma-combobox-cell-padding-right-content);--plasma-cell-textbox-gap:var(--plasma-combobox-cell-textbox-gap);--plasma-cell-gap:var(--plasma-combobox-cell-gap);--plasma-cell-title-font-family:var(--plasma-combobox-cell-title-font-family);--plasma-cell-title-font-size:var(--plasma-combobox-cell-title-font-size);--plasma-cell-title-font-style:var(--plasma-combobox-cell-title-font-style);--plasma-cell-title-font-weight:var(--plasma-combobox-cell-title-font-weight);--plasma-cell-title-letter-spacing:var(--plasma-combobox-cell-title-letter-spacing);--plasma-cell-title-line-height:var(--plasma-combobox-cell-title-line-height);width:100%;}
149
+ .Item_styles_1njzasn_s17m41ki__45189dc1{--plasma-cell-title-color:var(--text-primary);--plasma-cell-background-color:var(--plasma-colors-transparent);--plasma-cell-padding:var(--plasma-combobox-cell-padding);--plasma-cell-padding-left-content:var(--plasma-combobox-cell-padding-left-content);--plasma-cell-padding-content:var(--plasma-combobox-cell-padding-content);--plasma-cell-padding-right-content:var(--plasma-combobox-cell-padding-right-content);--plasma-cell-textbox-gap:var(--plasma-combobox-cell-textbox-gap);--plasma-cell-gap:var(--plasma-combobox-cell-gap);--plasma-cell-title-font-family:var(--plasma-combobox-cell-title-font-family);--plasma-cell-title-font-size:var(--plasma-combobox-cell-title-font-size);--plasma-cell-title-font-style:var(--plasma-combobox-cell-title-font-style);--plasma-cell-title-font-weight:var(--plasma-combobox-cell-title-font-weight);--plasma-cell-title-letter-spacing:var(--plasma-combobox-cell-title-letter-spacing);--plasma-cell-title-line-height:var(--plasma-combobox-cell-title-line-height);width:100%;}
150
150
 
151
- .Item_styles_1us8jz1_sabntqz__358c9556{--plasma-checkbox-trigger-size:var(--plasma-combobox-checkbox-trigger-size);--plasma-checkbox-trigger-border-radius:var(--plasma-combobox-checkbox-trigger-border-radius);--plasma-checkbox-fill-color:var(--plasma-combobox-checkbox-fill-color);--plasma-checkbox-icon-color:var(--plasma-combobox-checkbox-icon-color);--plasma-checkbox-trigger-border-color:var(--plasma-combobox-checkbox-trigger-border-color);}
152
- .Item_styles_1us8jz1_sbva27s__358c9556{--plasma-indicator-size:var(--plasma-combobox-indicator-size);--plasma-indicator-color:var(--plasma-combobox-checkbox-fill-color);}
153
- .Item_styles_1us8jz1_s198ssfl__358c9556{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
154
- .Item_styles_1us8jz1_sq42uro__358c9556{margin-left:auto;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
155
- .Item_styles_1us8jz1_d96nkq__358c9556{line-height:0;color:var(--text-secondary);}.Item_styles_1us8jz1_d96nkq__358c9556:hover{color:var(--text-secondary-hover);}
156
- .Item_styles_1us8jz1_i170raop__358c9556{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:var(--i170raop-0);height:var(--i170raop-0);margin:var(--plasma-combobox-item-icon-margin);line-height:0;color:var(--plasma-combobox-checkbox-fill-color);}.Item_styles_1us8jz1_i170raop__358c9556 .Item_styles_1us8jz1_comboboxItemCheckbox__358c9556{--plasma-checkbox-trigger-size:var(--i170raop-1);--plasma-checkbox-trigger-border-radius:var(--i170raop-2);}
157
- .Item_styles_1us8jz1_s1bsz3m1__358c9556{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-flex:1;-ms-flex:1;flex:1;}
158
- .Item_styles_1us8jz1_wwurntn__358c9556{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:var(--plasma-combobox-item-height);margin:0;box-sizing:content-box;padding:var(--wwurntn-0);font-family:var(--plasma-combobox-font-family);font-size:var(--plasma-combobox-font-size);font-style:var(--plasma-combobox-font-style);font-weight:var(--plasma-combobox-font-weight);-webkit-letter-spacing:var(--plasma-combobox-font-letter-spacing);-moz-letter-spacing:var(--plasma-combobox-font-letter-spacing);-ms-letter-spacing:var(--plasma-combobox-font-letter-spacing);letter-spacing:var(--plasma-combobox-font-letter-spacing);line-height:var(--plasma-combobox-font-line-height);background-color:var(--plasma-colors-transparent);color:var(--text-primary);border-radius:var(--plasma-combobox-border-radius);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:2px solid transparent;border-left:2px solid transparent;background-clip:padding-box;position:relative;}.Item_styles_1us8jz1_wwurntn__358c9556:hover:not(.Item_styles_1us8jz1_dropdownItemIsDisabled__358c9556){cursor:pointer;background-color:var(--surface-transparent-secondary);}.Item_styles_1us8jz1_wwurntn__358c9556.Item_styles_1us8jz1_dropdownItemIsActive__358c9556{background-color:var(--surface-transparent-secondary);}.Item_styles_1us8jz1_wwurntn__358c9556.Item_styles_1us8jz1_dropdownItemIsDisabled__358c9556{opacity:0.4;cursor:not-allowed;}.Item_styles_1us8jz1_wwurntn__358c9556:focus{outline:none;}.Item_styles_1us8jz1_wwurntn__358c9556::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:var(--plasma-combobox-item-border-radius);-webkit-transition:none;transition:none;pointer-events:none;}.Item_styles_1us8jz1_wwurntn__358c9556.Item_styles_1us8jz1_dropdownItemIsFocused__358c9556:before{outline:none;box-shadow:0 0 0 0.0625rem var(--surface-accent);}
151
+ .Item_styles_1njzasn_sabntqz__45189dc1{--plasma-checkbox-trigger-size:var(--plasma-combobox-checkbox-trigger-size);--plasma-checkbox-trigger-border-radius:var(--plasma-combobox-checkbox-trigger-border-radius);--plasma-checkbox-fill-color:var(--plasma-combobox-checkbox-fill-color);--plasma-checkbox-icon-color:var(--plasma-combobox-checkbox-icon-color);--plasma-checkbox-trigger-border-color:var(--plasma-combobox-checkbox-trigger-border-color);}
152
+ .Item_styles_1njzasn_sbva27s__45189dc1{--plasma-indicator-size:var(--plasma-combobox-indicator-size);--plasma-indicator-color:var(--plasma-combobox-checkbox-fill-color);}
153
+ .Item_styles_1njzasn_s198ssfl__45189dc1{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
154
+ .Item_styles_1njzasn_sq42uro__45189dc1{margin-left:auto;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
155
+ .Item_styles_1njzasn_d96nkq__45189dc1{line-height:0;color:var(--plasma-combobox-disclosure-icon-color,var(--text-secondary));}.Item_styles_1njzasn_d96nkq__45189dc1:hover{color:var(--plasma-combobox-disclosure-icon-color-hover,var(--text-secondary-hover));}
156
+ .Item_styles_1njzasn_i170raop__45189dc1{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:var(--i170raop-0);height:var(--i170raop-0);margin:var(--plasma-combobox-item-icon-margin);line-height:0;color:var(--plasma-combobox-checkbox-fill-color);}.Item_styles_1njzasn_i170raop__45189dc1 .Item_styles_1njzasn_comboboxItemCheckbox__45189dc1{--plasma-checkbox-trigger-size:var(--i170raop-1);--plasma-checkbox-trigger-border-radius:var(--i170raop-2);}
157
+ .Item_styles_1njzasn_s1bsz3m1__45189dc1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-flex:1;-ms-flex:1;flex:1;}
158
+ .Item_styles_1njzasn_wwurntn__45189dc1{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:var(--plasma-combobox-item-height);margin:0;box-sizing:content-box;padding:var(--wwurntn-0);font-family:var(--plasma-combobox-font-family);font-size:var(--plasma-combobox-font-size);font-style:var(--plasma-combobox-font-style);font-weight:var(--plasma-combobox-font-weight);-webkit-letter-spacing:var(--plasma-combobox-font-letter-spacing);-moz-letter-spacing:var(--plasma-combobox-font-letter-spacing);-ms-letter-spacing:var(--plasma-combobox-font-letter-spacing);letter-spacing:var(--plasma-combobox-font-letter-spacing);line-height:var(--plasma-combobox-font-line-height);background-color:var(--plasma-combobox-item-background,var(--plasma-colors-transparent));color:var(--text-primary);border-radius:var(--plasma-combobox-border-radius);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:2px solid transparent;border-left:2px solid transparent;background-clip:padding-box;position:relative;}.Item_styles_1njzasn_wwurntn__45189dc1:hover:not(.Item_styles_1njzasn_dropdownItemIsDisabled__45189dc1){cursor:pointer;background-color:var(--plasma-combobox-item-background-hover,var(--surface-transparent-secondary));}.Item_styles_1njzasn_wwurntn__45189dc1.Item_styles_1njzasn_dropdownItemIsActive__45189dc1{background-color:var(--plasma-combobox-item-background-hover,var(--surface-transparent-secondary));}.Item_styles_1njzasn_wwurntn__45189dc1.Item_styles_1njzasn_dropdownItemIsDisabled__45189dc1{opacity:0.4;cursor:not-allowed;}.Item_styles_1njzasn_wwurntn__45189dc1:focus{outline:none;}.Item_styles_1njzasn_wwurntn__45189dc1::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:var(--plasma-combobox-item-border-radius);-webkit-transition:none;transition:none;pointer-events:none;}.Item_styles_1njzasn_wwurntn__45189dc1.Item_styles_1njzasn_dropdownItemIsFocused__45189dc1:before{outline:none;box-shadow:0 0 0 0.0625rem var(--surface-accent);}
159
159
 
@@ -3,17 +3,16 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
- var sizeToIconSize = require('../../../../utils/sizeToIconSize.js');
7
- var getItemId = require('../../../../utils/getItemId.js');
8
6
  var Combobox_tokens = require('../../../../Combobox.tokens.js');
9
7
  var index = require('../../../../../../../utils/index.js');
10
- require('@linaria/react');
11
- var IconDone = require('../../../../../../_Icon/Icons/IconDone.js');
12
- var IconDisclosureRightCentered = require('../../../../../../_Icon/Icons/IconDisclosureRightCentered.js');
13
8
  var Combobox = require('../../../../Combobox.js');
14
- var useDidMountEffect = require('../../../../../../../hooks/useDidMountEffect.js');
15
9
  var Item_styles = require('./Item.styles.js');
10
+ var useDidMountEffect = require('../../../../../../../hooks/useDidMountEffect.js');
11
+ var getItemId = require('../../../../utils/getItemId.js');
12
+ var IconDone = require('../../../../../../_Icon/Icons/IconDone.js');
13
+ var sizeToIconSize = require('../../../../utils/sizeToIconSize.js');
16
14
  var isEmpty = require('../../../../../../../utils/isEmpty.js');
15
+ var IconDisclosureRightCentered = require('../../../../../../_Icon/Icons/IconDisclosureRightCentered.js');
17
16
 
18
17
  var _StyledIndicator;
19
18
  var Item = function Item(_ref) {
@@ -1 +1 @@
1
- {"version":3,"file":"Item.js","sources":["../../../../../../../../src/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.tsx"],"sourcesContent":["import React, { useRef, FC, useContext } from 'react';\n\nimport { sizeToIconSize, getItemId } from '../../../../utils';\nimport { classes } from '../../../../Combobox.tokens';\nimport { cx, isEmpty } from '../../../../../../../utils';\nimport { IconDisclosureRightCentered, IconDone } from '../../../../../../_Icon';\nimport { Context } from '../../../../Combobox';\nimport { useDidMountEffect } from '../../../../../../../hooks';\n\nimport { ItemProps } from './Item.types';\nimport {\n StyledWrapper,\n StyledText,\n Wrapper,\n DisclosureIconWrapper,\n StyledCheckbox,\n IconWrapper,\n StyledIndicator,\n StyledCheckboxWrapper,\n StyledCell,\n} from './Item.styles';\n\nexport const Item: FC<ItemProps> = ({\n item,\n path,\n currentLevel,\n index,\n ariaControls,\n ariaExpanded,\n ariaLevel,\n ariaLabel,\n}) => {\n const { value, label, disabled, contentLeft, contentRight } = item;\n\n const ref = useRef<HTMLLIElement | null>(null);\n\n const {\n focusedPath,\n checked,\n multiple,\n size,\n handleCheckboxChange,\n handleItemClick,\n variant,\n renderItem,\n valueToItemMap,\n treeId,\n } = useContext(Context);\n\n const disabledClassName = disabled ? classes.dropdownItemIsDisabled : undefined;\n\n const focusedClass =\n currentLevel === focusedPath.length - 1 && index === focusedPath?.[currentLevel]\n ? classes.dropdownItemIsFocused\n : undefined;\n const activeClass = value === path?.[currentLevel + 1] ? classes.dropdownItemIsActive : undefined;\n\n useDidMountEffect(() => {\n if (focusedClass && ref?.current) {\n ref.current.scrollIntoView({\n behavior: 'smooth',\n block: 'center',\n inline: 'center',\n });\n }\n }, [focusedClass]);\n\n const handleChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n if (disabled) return;\n\n e.stopPropagation();\n\n handleCheckboxChange(item);\n };\n\n const handleClick = (e: React.MouseEvent<HTMLElement>) => {\n if (disabled) {\n e.stopPropagation();\n return;\n }\n\n handleItemClick(item, e);\n };\n\n return (\n <Wrapper\n className={cx(disabledClassName, focusedClass, activeClass)}\n id={getItemId(treeId, value)}\n ref={ref}\n onClick={handleClick}\n variant={variant}\n role=\"treeitem\"\n aria-controls={ariaControls}\n aria-expanded={ariaExpanded}\n aria-level={ariaLevel}\n aria-label={ariaLabel}\n aria-selected={Boolean(checked.get(item.value))}\n >\n <IconWrapper variant={variant}>\n {multiple && (\n <StyledCheckboxWrapper onClick={(e) => e.stopPropagation()}>\n <StyledCheckbox\n checked={Boolean(checked.get(item.value))}\n indeterminate={checked.get(item.value) === 'indeterminate'}\n onChange={handleChange}\n className={classes.selectItemCheckbox}\n />\n </StyledCheckboxWrapper>\n )}\n\n {!multiple && checked.get(item.value) === 'dot' && <StyledIndicator size=\"s\" view=\"default\" />}\n\n {!multiple && checked.get(item.value) === 'done' && (\n <IconDone size={sizeToIconSize(size, variant)} color=\"inherit\" />\n )}\n </IconWrapper>\n\n {renderItem ? (\n <StyledText>{renderItem(valueToItemMap.get(value)!)}</StyledText>\n ) : (\n <StyledWrapper>\n <StyledCell\n view=\"default\"\n size=\"l\"\n contentLeft={contentLeft}\n contentRight={contentRight}\n alignContentLeft=\"center\"\n alignContentRight=\"center\"\n title={label}\n />\n </StyledWrapper>\n )}\n\n {!isEmpty(item.items) && (\n <DisclosureIconWrapper>\n <IconDisclosureRightCentered size={sizeToIconSize(size, variant)} color=\"inherit\" />\n </DisclosureIconWrapper>\n )}\n </Wrapper>\n );\n};\n"],"names":["Item","_ref","item","path","currentLevel","index","ariaControls","ariaExpanded","ariaLevel","ariaLabel","value","label","disabled","contentLeft","contentRight","ref","useRef","_useContext","useContext","Context","focusedPath","checked","multiple","size","handleCheckboxChange","handleItemClick","variant","renderItem","valueToItemMap","treeId","disabledClassName","classes","dropdownItemIsDisabled","undefined","focusedClass","length","dropdownItemIsFocused","activeClass","dropdownItemIsActive","useDidMountEffect","current","scrollIntoView","behavior","block","inline","handleChange","e","stopPropagation","handleClick","React","createElement","Wrapper","className","cx","id","getItemId","onClick","role","Boolean","get","IconWrapper","StyledCheckboxWrapper","StyledCheckbox","indeterminate","onChange","selectItemCheckbox","_StyledIndicator","StyledIndicator","view","IconDone","sizeToIconSize","color","StyledText","StyledWrapper","StyledCell","alignContentLeft","alignContentRight","title","isEmpty","items","DisclosureIconWrapper","IconDisclosureRightCentered"],"mappings":";;;;;;;;;;;;;;;;;;IAsBaA,IAAmB,GAAG,SAAtBA,IAAmBA,CAAAC,IAAA,EAS1B;AAAA,EAAA,IARFC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IACJC,IAAI,GAAAF,IAAA,CAAJE,IAAI;IACJC,YAAY,GAAAH,IAAA,CAAZG,YAAY;IACZC,OAAK,GAAAJ,IAAA,CAALI,KAAK;IACLC,YAAY,GAAAL,IAAA,CAAZK,YAAY;IACZC,YAAY,GAAAN,IAAA,CAAZM,YAAY;IACZC,SAAS,GAAAP,IAAA,CAATO,SAAS;IACTC,SAAS,GAAAR,IAAA,CAATQ,SAAS,CAAA;AAET,EAAA,IAAQC,KAAK,GAAiDR,IAAI,CAA1DQ,KAAK;IAAEC,KAAK,GAA0CT,IAAI,CAAnDS,KAAK;IAAEC,QAAQ,GAAgCV,IAAI,CAA5CU,QAAQ;IAAEC,WAAW,GAAmBX,IAAI,CAAlCW,WAAW;IAAEC,YAAY,GAAKZ,IAAI,CAArBY,YAAY,CAAA;AAEzD,EAAA,IAAMC,GAAG,GAAGC,YAAM,CAAuB,IAAI,CAAC,CAAA;AAE9C,EAAA,IAAAC,WAAA,GAWIC,gBAAU,CAACC,gBAAO,CAAC;IAVnBC,WAAW,GAAAH,WAAA,CAAXG,WAAW;IACXC,OAAO,GAAAJ,WAAA,CAAPI,OAAO;IACPC,QAAQ,GAAAL,WAAA,CAARK,QAAQ;IACRC,IAAI,GAAAN,WAAA,CAAJM,IAAI;IACJC,oBAAoB,GAAAP,WAAA,CAApBO,oBAAoB;IACpBC,eAAe,GAAAR,WAAA,CAAfQ,eAAe;IACfC,OAAO,GAAAT,WAAA,CAAPS,OAAO;IACPC,UAAU,GAAAV,WAAA,CAAVU,UAAU;IACVC,cAAc,GAA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,CAAC5E,IAAI,CAAC6E,KAAK,CAAC,iBACjB9B,KAAA,CAAAC,aAAA,CAAC8B,iCAAqB,qBAClB/B,KAAA,CAAAC,aAAA,CAAC+B,uDAA2B,EAAA;AAAC1D,IAAAA,IAAI,EAAE+C,6BAAc,CAAC/C,IAAI,EAAEG,OAAO,CAAE;AAAC6C,IAAAA,KAAK,EAAC,SAAA;GAAW,CAChE,CAEtB,CAAC,CAAA;AAElB;;;;"}
1
+ {"version":3,"file":"Item.js","sources":["../../../../../../../../src/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.tsx"],"sourcesContent":["import React, { useRef, FC, useContext } from 'react';\n\nimport { sizeToIconSize, getItemId } from '../../../../utils';\nimport { classes } from '../../../../Combobox.tokens';\nimport { cx, isEmpty } from '../../../../../../../utils';\nimport { IconDisclosureRightCentered, IconDone } from '../../../../../../_Icon';\nimport { Context } from '../../../../Combobox';\nimport { useDidMountEffect } from '../../../../../../../hooks';\n\nimport { ItemProps } from './Item.types';\nimport {\n StyledWrapper,\n StyledText,\n Wrapper,\n DisclosureIconWrapper,\n StyledCheckbox,\n IconWrapper,\n StyledIndicator,\n StyledCheckboxWrapper,\n StyledCell,\n} from './Item.styles';\n\nexport const Item: FC<ItemProps> = ({\n item,\n path,\n currentLevel,\n index,\n ariaControls,\n ariaExpanded,\n ariaLevel,\n ariaLabel,\n}) => {\n const { value, label, disabled, contentLeft, contentRight } = item;\n\n const ref = useRef<HTMLLIElement | null>(null);\n\n const {\n focusedPath,\n checked,\n multiple,\n size,\n handleCheckboxChange,\n handleItemClick,\n variant,\n renderItem,\n valueToItemMap,\n treeId,\n } = useContext(Context);\n\n const disabledClassName = disabled ? classes.dropdownItemIsDisabled : undefined;\n\n const focusedClass =\n currentLevel === focusedPath.length - 1 && index === focusedPath?.[currentLevel]\n ? classes.dropdownItemIsFocused\n : undefined;\n const activeClass = value === path?.[currentLevel + 1] ? classes.dropdownItemIsActive : undefined;\n\n useDidMountEffect(() => {\n if (focusedClass && ref?.current) {\n ref.current.scrollIntoView({\n behavior: 'smooth',\n block: 'center',\n inline: 'center',\n });\n }\n }, [focusedClass]);\n\n const handleChange = (e: React.ChangeEvent<HTMLInputElement>) => {\n if (disabled) return;\n\n e.stopPropagation();\n\n handleCheckboxChange(item);\n };\n\n const handleClick = (e: React.MouseEvent<HTMLElement>) => {\n if (disabled) {\n e.stopPropagation();\n return;\n }\n\n handleItemClick(item, e);\n };\n\n return (\n <Wrapper\n className={cx(disabledClassName, focusedClass, activeClass)}\n id={getItemId(treeId, value)}\n ref={ref}\n onClick={handleClick}\n variant={variant}\n role=\"treeitem\"\n aria-controls={ariaControls}\n aria-expanded={ariaExpanded}\n aria-level={ariaLevel}\n aria-label={ariaLabel}\n aria-selected={Boolean(checked.get(item.value))}\n >\n <IconWrapper variant={variant}>\n {multiple && (\n <StyledCheckboxWrapper onClick={(e) => e.stopPropagation()}>\n <StyledCheckbox\n checked={Boolean(checked.get(item.value))}\n indeterminate={checked.get(item.value) === 'indeterminate'}\n onChange={handleChange}\n className={classes.selectItemCheckbox}\n />\n </StyledCheckboxWrapper>\n )}\n\n {!multiple && checked.get(item.value) === 'dot' && <StyledIndicator size=\"s\" view=\"default\" />}\n\n {!multiple && checked.get(item.value) === 'done' && (\n <IconDone size={sizeToIconSize(size, variant)} color=\"inherit\" />\n )}\n </IconWrapper>\n\n {renderItem ? (\n <StyledText>{renderItem(valueToItemMap.get(value)!)}</StyledText>\n ) : (\n <StyledWrapper>\n <StyledCell\n view=\"default\"\n size=\"l\"\n contentLeft={contentLeft}\n contentRight={contentRight}\n alignContentLeft=\"center\"\n alignContentRight=\"center\"\n title={label}\n />\n </StyledWrapper>\n )}\n\n {!isEmpty(item.items) && (\n <DisclosureIconWrapper>\n <IconDisclosureRightCentered size={sizeToIconSize(size, variant)} color=\"inherit\" />\n </DisclosureIconWrapper>\n )}\n </Wrapper>\n );\n};\n"],"names":["Item","_ref","item","path","currentLevel","index","ariaControls","ariaExpanded","ariaLevel","ariaLabel","value","label","disabled","contentLeft","contentRight","ref","useRef","_useContext","useContext","Context","focusedPath","checked","multiple","size","handleCheckboxChange","handleItemClick","variant","renderItem","valueToItemMap","treeId","disabledClassName","classes","dropdownItemIsDisabled","undefined","focusedClass","length","dropdownItemIsFocused","activeClass","dropdownItemIsActive","useDidMountEffect","current","scrollIntoView","behavior","block","inline","handleChange","e","stopPropagation","handleClick","React","createElement","Wrapper","className","cx","id","getItemId","onClick","role","Boolean","get","IconWrapper","StyledCheckboxWrapper","StyledCheckbox","indeterminate","onChange","selectItemCheckbox","_StyledIndicator","StyledIndicator","view","IconDone","sizeToIconSize","color","StyledText","StyledWrapper","StyledCell","alignContentLeft","alignContentRight","title","isEmpty","items","DisclosureIconWrapper","IconDisclosureRightCentered"],"mappings":";;;;;;;;;;;;;;;;;IAsBaA,IAAmB,GAAG,SAAtBA,IAAmBA,CAAAC,IAAA,EAS1B;AAAA,EAAA,IARFC,IAAI,GAAAD,IAAA,CAAJC,IAAI;IACJC,IAAI,GAAAF,IAAA,CAAJE,IAAI;IACJC,YAAY,GAAAH,IAAA,CAAZG,YAAY;IACZC,OAAK,GAAAJ,IAAA,CAALI,KAAK;IACLC,YAAY,GAAAL,IAAA,CAAZK,YAAY;IACZC,YAAY,GAAAN,IAAA,CAAZM,YAAY;IACZC,SAAS,GAAAP,IAAA,CAATO,SAAS;IACTC,SAAS,GAAAR,IAAA,CAATQ,SAAS,CAAA;AAET,EAAA,IAAQC,KAAK,GAAiDR,IAAI,CAA1DQ,KAAK;IAAEC,KAAK,GAA0CT,IAAI,CAAnDS,KAAK;IAAEC,QAAQ,GAAgCV,IAAI,CAA5CU,QAAQ;IAAEC,WAAW,GAAmBX,IAAI,CAAlCW,WAAW;IAAEC,YAAY,GAAKZ,IAAI,CAArBY,YAAY,CAAA;AAEzD,EAAA,IAAMC,GAAG,GAAGC,YAAM,CAAuB,IAAI,CAAC,CAAA;AAE9C,EAAA,IAAAC,WAAA,GAWIC,gBAAU,CAACC,gBAA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,yBAAa,EACVxB,IAAAA,eAAAA,KAAA,CAAAC,aAAA,CAACwB,sBAAU,EAAA;AACPN,IAAAA,IAAI,EAAC,SAAS;AACd7C,IAAAA,IAAI,EAAC,GAAG;AACRV,IAAAA,WAAW,EAAEA,WAAY;AACzBC,IAAAA,YAAY,EAAEA,YAAa;AAC3B6D,IAAAA,gBAAgB,EAAC,QAAQ;AACzBC,IAAAA,iBAAiB,EAAC,QAAQ;AAC1BC,IAAAA,KAAK,EAAElE,KAAAA;GACV,CACU,CAClB,EAEA,CAACmE,eAAO,CAAC5E,IAAI,CAAC6E,KAAK,CAAC,iBACjB9B,KAAA,CAAAC,aAAA,CAAC8B,iCAAqB,qBAClB/B,KAAA,CAAAC,aAAA,CAAC+B,uDAA2B,EAAA;AAAC1D,IAAAA,IAAI,EAAE+C,6BAAc,CAAC/C,IAAI,EAAEG,OAAO,CAAE;AAAC6C,IAAAA,KAAK,EAAC,SAAA;GAAW,CAChE,CAEtB,CAAC,CAAA;AAElB;;;;"}
@@ -1,16 +1,14 @@
1
- import './Item.styles_1us8jz1.css';
1
+ import './Item.styles_1njzasn.css';
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
6
  var react = require('@linaria/react');
7
7
  var Combobox_tokens = require('../../../../Combobox.tokens.js');
8
- require('@linaria/core');
9
8
  var common = require('../../../../../../../engines/common.js');
10
9
  var Checkbox$1 = require('../../../../../../Checkbox/Checkbox.js');
11
- var Indicator$1 = require('../../../../../../Indicator/Indicator.js');
12
- require('react');
13
10
  var Cell$1 = require('../../../../../../Cell/Cell.js');
11
+ var Indicator$1 = require('../../../../../../Indicator/Indicator.js');
14
12
 
15
13
  var mergedCheckboxConfig = /*#__PURE__*/common.mergeConfig(Checkbox$1.checkboxConfig);
16
14
  var Checkbox = /*#__PURE__*/common.component(mergedCheckboxConfig);
@@ -52,19 +50,19 @@ var DisclosureIconWrapper = /*#__PURE__*/react.styled('div')({
52
50
  "class": "d96nkq",
53
51
  propsAsIs: false
54
52
  });
55
- var _exp49 = function _exp49() {
53
+ var _exp51 = function _exp51() {
56
54
  return function (_ref) {
57
55
  var variant = _ref.variant;
58
56
  return "var(".concat(variant === 'tight' ? Combobox_tokens.tokens.itemIconSizeTight : Combobox_tokens.tokens.itemIconSize, ")");
59
57
  };
60
58
  };
61
- var _exp53 = function _exp53() {
59
+ var _exp55 = function _exp55() {
62
60
  return function (_ref2) {
63
61
  var variant = _ref2.variant;
64
62
  return "var(".concat(variant === 'tight' ? Combobox_tokens.tokens.checkboxTriggerSizeTight : Combobox_tokens.tokens.checkboxTriggerSize, ")");
65
63
  };
66
64
  };
67
- var _exp54 = function _exp54() {
65
+ var _exp56 = function _exp56() {
68
66
  return function (_ref3) {
69
67
  var variant = _ref3.variant;
70
68
  return "var(".concat(variant === 'tight' ? Combobox_tokens.tokens.checkboxTriggerBorderRadiusTight : Combobox_tokens.tokens.checkboxTriggerBorderRadius, ")");
@@ -75,9 +73,9 @@ var IconWrapper = /*#__PURE__*/react.styled('div')({
75
73
  "class": "i170raop",
76
74
  propsAsIs: false,
77
75
  vars: {
78
- "i170raop-0": [/*#__PURE__*/_exp49()],
79
- "i170raop-1": [/*#__PURE__*/_exp53()],
80
- "i170raop-2": [/*#__PURE__*/_exp54()]
76
+ "i170raop-0": [/*#__PURE__*/_exp51()],
77
+ "i170raop-1": [/*#__PURE__*/_exp55()],
78
+ "i170raop-2": [/*#__PURE__*/_exp56()]
81
79
  }
82
80
  });
83
81
  var StyledText = /*#__PURE__*/react.styled('div')({
@@ -85,7 +83,7 @@ var StyledText = /*#__PURE__*/react.styled('div')({
85
83
  "class": "s1bsz3m1",
86
84
  propsAsIs: false
87
85
  });
88
- var _exp57 = function _exp57() {
86
+ var _exp59 = function _exp59() {
89
87
  return function (_ref4) {
90
88
  var variant = _ref4.variant;
91
89
  return "var(".concat(variant === 'tight' ? Combobox_tokens.tokens.itemPaddingTight : Combobox_tokens.tokens.itemPadding, ")");
@@ -96,7 +94,7 @@ var Wrapper = /*#__PURE__*/react.styled('li')({
96
94
  "class": "wwurntn",
97
95
  propsAsIs: false,
98
96
  vars: {
99
- "wwurntn-0": [/*#__PURE__*/_exp57()]
97
+ "wwurntn-0": [/*#__PURE__*/_exp59()]
100
98
  }
101
99
  });
102
100
  var StyledCheckboxWrapper = /*#__PURE__*/react.styled('span')({
@@ -1 +1 @@
1
- {"version":3,"file":"Item.styles.js","sources":["../../../../../../../../src/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { classes, tokens, constants } from '../../../../Combobox.tokens';\nimport { addFocus, applyEllipsis } from '../../../../../../../mixins';\nimport { component, mergeConfig } from '../../../../../../../engines';\nimport { checkboxConfig, checkboxTokens } from '../../../../../../Checkbox';\nimport { indicatorConfig, indicatorTokens } from '../../../../../../Indicator';\nimport { cellConfig, cellTokens } from '../../../../../../Cell';\nimport type { ComboboxProps } from '../../../../Combobox.types';\n\nconst mergedCheckboxConfig = mergeConfig(checkboxConfig);\nconst Checkbox = component(mergedCheckboxConfig);\n\nconst mergedCellConfig = mergeConfig(cellConfig);\nconst Cell = component(mergedCellConfig);\n\nexport const StyledWrapper = styled.div`\n ${cellTokens.cellTitleColor}: var(${constants.cellTitleColor});\n ${cellTokens.cellBackgroundColor}: var(${constants.cellBackgroundColor});\n ${cellTokens.cellPadding}: var(${tokens.cellPadding});\n ${cellTokens.cellPaddingLeftContent}: var(${tokens.cellPaddingLeftContent});\n ${cellTokens.cellPaddingContent}: var(${tokens.cellPaddingContent});\n ${cellTokens.cellPaddingRightContent}: var(${tokens.cellPaddingRightContent});\n ${cellTokens.cellTextboxGap}: var(${tokens.cellTextboxGap});\n ${cellTokens.cellGap}: var(${tokens.cellGap});\n ${cellTokens.cellTitleFontFamily}: var(${tokens.cellTitleFontFamily});\n ${cellTokens.cellTitleFontSize}: var(${tokens.cellTitleFontSize});\n ${cellTokens.cellTitleFontStyle}: var(${tokens.cellTitleFontStyle});\n ${cellTokens.cellTitleFontWeight}: var(${tokens.cellTitleFontWeight});\n ${cellTokens.cellTitleLetterSpacing}: var(${tokens.cellTitleLetterSpacing});\n ${cellTokens.cellTitleLineHeight}: var(${tokens.cellTitleLineHeight});\n width: 100%;\n`;\n\nexport const StyledCell = styled(Cell)``;\n\nexport const StyledCheckbox = styled(Checkbox)`\n ${checkboxTokens.triggerSize}: var(${tokens.checkboxTriggerSize});\n ${checkboxTokens.triggerBorderRadius}: var(${tokens.checkboxTriggerBorderRadius});\n ${checkboxTokens.fillColor}: var(${tokens.checkboxFillColor});\n ${checkboxTokens.iconColor}: var(${tokens.checkboxIconColor});\n ${checkboxTokens.triggerBorderColor}: var(${tokens.checkboxTriggerBorderColor});\n`;\n\nconst mergedIndicatorConfig = mergeConfig(indicatorConfig);\nconst Indicator = component(mergedIndicatorConfig);\n\nexport const StyledIndicator = styled(Indicator)`\n ${indicatorTokens.size}: var(${tokens.indicatorSize});\n ${indicatorTokens.color}: var(${tokens.checkboxFillColor});\n`;\n\nexport const StyledContentLeft = styled.div`\n display: inline-flex;\n`;\n\nexport const StyledContentRight = styled.div`\n margin-left: auto;\n display: inline-flex;\n`;\n\nexport const DisclosureIconWrapper = styled.div`\n line-height: 0;\n color: var(${constants.disclosureIconColor});\n\n &:hover {\n color: var(${constants.disclosureIconColorHover});\n }\n`;\n\nexport const IconWrapper = styled.div<{ variant: ComboboxProps['variant'] }>`\n display: flex;\n align-items: center;\n justify-content: center;\n width: ${({ variant }) => `var(${variant === 'tight' ? tokens.itemIconSizeTight : tokens.itemIconSize})`};\n height: ${({ variant }) => `var(${variant === 'tight' ? tokens.itemIconSizeTight : tokens.itemIconSize})`};\n margin: var(${tokens.itemIconMargin});\n line-height: 0;\n color: var(${tokens.checkboxFillColor});\n\n & .${classes.selectItemCheckbox} {\n --plasma-checkbox-trigger-size: ${({ variant }) =>\n `var(${variant === 'tight' ? tokens.checkboxTriggerSizeTight : tokens.checkboxTriggerSize})`};\n --plasma-checkbox-trigger-border-radius: ${({ variant }) =>\n `var(${\n variant === 'tight' ? tokens.checkboxTriggerBorderRadiusTight : tokens.checkboxTriggerBorderRadius\n })`};\n }\n`;\n\nexport const StyledText = styled.div`\n ${applyEllipsis()};\n flex: 1;\n`;\n\nexport const Wrapper = styled.li<{ variant: ComboboxProps['variant'] }>`\n display: flex;\n align-items: center;\n min-height: var(${tokens.itemHeight});\n margin: 0;\n box-sizing: content-box;\n padding: ${({ variant }) => `var(${variant === 'tight' ? tokens.itemPaddingTight : tokens.itemPadding})`};\n font-family: var(${tokens.fontFamily});\n font-size: var(${tokens.fontSize});\n font-style: var(${tokens.fontStyle});\n font-weight: var(${tokens.fontWeight});\n letter-spacing: var(${tokens.fontLetterSpacing});\n line-height: var(${tokens.fontLineHeight});\n background-color: var(${constants.itemBackground});\n color: var(--text-primary);\n border-radius: var(${tokens.borderRadius});\n user-select: none;\n border-right: 2px solid transparent;\n border-left: 2px solid transparent;\n background-clip: padding-box;\n\n &:hover:not(.${classes.dropdownItemIsDisabled}) {\n cursor: pointer;\n background-color: var(${constants.itemBackgroundHover});\n }\n\n &.${classes.dropdownItemIsActive} {\n background-color: var(${constants.itemBackgroundHover});\n }\n\n &.${classes.dropdownItemIsDisabled} {\n opacity: ${constants.opacity};\n cursor: not-allowed;\n }\n\n :focus {\n outline: none;\n }\n\n ${addFocus({\n outlineSize: '0.0625rem',\n outlineOffset: '0',\n outlineColor: `var(${constants.focusColor})`,\n outlineRadius: `var(${tokens.itemBorderRadius})`,\n hasTransition: false,\n customFocusRules: `\n &.${classes.dropdownItemIsFocused}:before {\n outline: none;\n box-shadow: 0 0 0 0.0625rem var(${constants.focusColor});\n }\n `,\n })};\n`;\n\nexport const StyledCheckboxWrapper = styled.span``;\n"],"names":["mergedCheckboxConfig","mergeConfig","checkboxConfig","Checkbox","component","mergedCellConfig","cellConfig","Cell","StyledWrapper","styled","name","class","propsAsIs","_exp29","StyledCell","_exp30","StyledCheckbox","mergedIndicatorConfig","indicatorConfig","Indicator","_exp41","StyledIndicator","DisclosureIconWrapper","_exp49","_ref","variant","tokens","itemIconSizeTight","itemIconSize","_exp53","_ref2","checkboxTriggerSizeTight","checkboxTriggerSize","_exp54","_ref3","checkboxTriggerBorderRadiusTight","checkboxTriggerBorderRadius","IconWrapper","vars","StyledText","_exp57","_ref4","itemPaddingTight","itemPadding","Wrapper","StyledCheckboxWrapper"],"mappings":";;;;;;;;;;;;;AAUA,IAAMA,oBAAoB,gBAAGC,kBAAW,CAACC,yBAAc,CAAC,CAAA;AACxD,IAAMC,QAAQ,gBAAGC,gBAAS,CAACJ,oBAAoB,CAAC,CAAA;AAEhD,IAAMK,gBAAgB,gBAAGJ,kBAAW,CAACK,iBAAU,CAAC,CAAA;AAChD,IAAMC,IAAI,gBAAGH,gBAAS,CAACC,gBAAgB,CAAC,CAAA;AAEjC,IAAMG,aAAa,gBAAGC,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,eAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAgBlC,EAAA;AAAC,IAAAC,MAAA,GA/BgBA,SA+BhBA,MAAAA,GAAA;AAAA,EAAA,OAE+BN,IAAI,CAAA;AAAA,CAAA,CAAA;AAA9B,IAAMO,UAAU,gBAAGL,YAAM,CAAAI,MAAA,EAAA,CAAA,CAAA;AAAAH,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAAQ,EAAA;AAAC,IAAAG,MAAA,GAjCvBA,SAiCuBA,MAAAA,GAAA;AAAA,EAAA,OAEJZ,QAAQ,CAAA;AAAA,CAAA,CAAA;AAAtC,IAAMa,cAAc,gBAAGP,YAAM,CAAAM,MAAA,EAAA,CAAA,CAAA;AAAAL,EAAAA,IAAA,EAAA,gBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAA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ACiB,WAAY,EAAA,GAAA,CAAA,CAAA;GAAE,CAAA;AAAA,CAAA,CAAA;AANrG,IAAMC,OAAO,gBAAGnC,YAAM,CAAA,IAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,SAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA0B,EAAAA,IAAA,EAAA;AAAA,IAAA,WAAA,EAAA,cAMdE,MAA6F,EAAA,CAAA;AAAA,GAAA;AAAA,CA8C3G,EAAA;AAEM,IAAMK,qBAAqB,gBAAGpC,YAAM,CAAA,MAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,uBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAAO;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Item.styles.js","sources":["../../../../../../../../src/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { classes, tokens, constants } from '../../../../Combobox.tokens';\nimport { addFocus, applyEllipsis } from '../../../../../../../mixins';\nimport { component, mergeConfig } from '../../../../../../../engines';\nimport { checkboxConfig, checkboxTokens } from '../../../../../../Checkbox';\nimport { indicatorConfig, indicatorTokens } from '../../../../../../Indicator';\nimport { cellConfig, cellTokens } from '../../../../../../Cell';\nimport type { ComboboxProps } from '../../../../Combobox.types';\n\nconst mergedCheckboxConfig = mergeConfig(checkboxConfig);\nconst Checkbox = component(mergedCheckboxConfig);\n\nconst mergedCellConfig = mergeConfig(cellConfig);\nconst Cell = component(mergedCellConfig);\n\nexport const StyledWrapper = styled.div`\n ${cellTokens.cellTitleColor}: var(${constants.cellTitleColor});\n ${cellTokens.cellBackgroundColor}: var(${constants.cellBackgroundColor});\n ${cellTokens.cellPadding}: var(${tokens.cellPadding});\n ${cellTokens.cellPaddingLeftContent}: var(${tokens.cellPaddingLeftContent});\n ${cellTokens.cellPaddingContent}: var(${tokens.cellPaddingContent});\n ${cellTokens.cellPaddingRightContent}: var(${tokens.cellPaddingRightContent});\n ${cellTokens.cellTextboxGap}: var(${tokens.cellTextboxGap});\n ${cellTokens.cellGap}: var(${tokens.cellGap});\n ${cellTokens.cellTitleFontFamily}: var(${tokens.cellTitleFontFamily});\n ${cellTokens.cellTitleFontSize}: var(${tokens.cellTitleFontSize});\n ${cellTokens.cellTitleFontStyle}: var(${tokens.cellTitleFontStyle});\n ${cellTokens.cellTitleFontWeight}: var(${tokens.cellTitleFontWeight});\n ${cellTokens.cellTitleLetterSpacing}: var(${tokens.cellTitleLetterSpacing});\n ${cellTokens.cellTitleLineHeight}: var(${tokens.cellTitleLineHeight});\n width: 100%;\n`;\n\nexport const StyledCell = styled(Cell)``;\n\nexport const StyledCheckbox = styled(Checkbox)`\n ${checkboxTokens.triggerSize}: var(${tokens.checkboxTriggerSize});\n ${checkboxTokens.triggerBorderRadius}: var(${tokens.checkboxTriggerBorderRadius});\n ${checkboxTokens.fillColor}: var(${tokens.checkboxFillColor});\n ${checkboxTokens.iconColor}: var(${tokens.checkboxIconColor});\n ${checkboxTokens.triggerBorderColor}: var(${tokens.checkboxTriggerBorderColor});\n`;\n\nconst mergedIndicatorConfig = mergeConfig(indicatorConfig);\nconst Indicator = component(mergedIndicatorConfig);\n\nexport const StyledIndicator = styled(Indicator)`\n ${indicatorTokens.size}: var(${tokens.indicatorSize});\n ${indicatorTokens.color}: var(${tokens.checkboxFillColor});\n`;\n\nexport const StyledContentLeft = styled.div`\n display: inline-flex;\n`;\n\nexport const StyledContentRight = styled.div`\n margin-left: auto;\n display: inline-flex;\n`;\n\nexport const DisclosureIconWrapper = styled.div`\n line-height: 0;\n color: var(${tokens.disclosureIconColor}, var(${constants.disclosureIconColor}));\n\n &:hover {\n color: var(${tokens.disclosureIconColorHover}, var(${constants.disclosureIconColorHover}));\n }\n`;\n\nexport const IconWrapper = styled.div<{ variant: ComboboxProps['variant'] }>`\n display: flex;\n align-items: center;\n justify-content: center;\n width: ${({ variant }) => `var(${variant === 'tight' ? tokens.itemIconSizeTight : tokens.itemIconSize})`};\n height: ${({ variant }) => `var(${variant === 'tight' ? tokens.itemIconSizeTight : tokens.itemIconSize})`};\n margin: var(${tokens.itemIconMargin});\n line-height: 0;\n color: var(${tokens.checkboxFillColor});\n\n & .${classes.selectItemCheckbox} {\n --plasma-checkbox-trigger-size: ${({ variant }) =>\n `var(${variant === 'tight' ? tokens.checkboxTriggerSizeTight : tokens.checkboxTriggerSize})`};\n --plasma-checkbox-trigger-border-radius: ${({ variant }) =>\n `var(${\n variant === 'tight' ? tokens.checkboxTriggerBorderRadiusTight : tokens.checkboxTriggerBorderRadius\n })`};\n }\n`;\n\nexport const StyledText = styled.div`\n ${applyEllipsis()};\n flex: 1;\n`;\n\nexport const Wrapper = styled.li<{ variant: ComboboxProps['variant'] }>`\n display: flex;\n align-items: center;\n min-height: var(${tokens.itemHeight});\n margin: 0;\n box-sizing: content-box;\n padding: ${({ variant }) => `var(${variant === 'tight' ? tokens.itemPaddingTight : tokens.itemPadding})`};\n font-family: var(${tokens.fontFamily});\n font-size: var(${tokens.fontSize});\n font-style: var(${tokens.fontStyle});\n font-weight: var(${tokens.fontWeight});\n letter-spacing: var(${tokens.fontLetterSpacing});\n line-height: var(${tokens.fontLineHeight});\n background-color: var(${tokens.itemBackground}, var(${constants.itemBackground}));\n color: var(--text-primary);\n border-radius: var(${tokens.borderRadius});\n user-select: none;\n border-right: 2px solid transparent;\n border-left: 2px solid transparent;\n background-clip: padding-box;\n\n &:hover:not(.${classes.dropdownItemIsDisabled}) {\n cursor: pointer;\n background-color: var(${tokens.itemBackgroundHover}, var(${constants.itemBackgroundHover}));\n }\n\n &.${classes.dropdownItemIsActive} {\n background-color: var(${tokens.itemBackgroundHover}, var(${constants.itemBackgroundHover}));\n }\n\n &.${classes.dropdownItemIsDisabled} {\n opacity: ${constants.opacity};\n cursor: not-allowed;\n }\n\n :focus {\n outline: none;\n }\n\n ${addFocus({\n outlineSize: '0.0625rem',\n outlineOffset: '0',\n outlineColor: `var(${constants.focusColor})`,\n outlineRadius: `var(${tokens.itemBorderRadius})`,\n hasTransition: false,\n customFocusRules: `\n &.${classes.dropdownItemIsFocused}:before {\n outline: none;\n box-shadow: 0 0 0 0.0625rem var(${constants.focusColor});\n }\n `,\n })};\n`;\n\nexport const StyledCheckboxWrapper = styled.span``;\n"],"names":["mergedCheckboxConfig","mergeConfig","checkboxConfig","Checkbox","component","mergedCellConfig","cellConfig","Cell","StyledWrapper","styled","name","class","propsAsIs","_exp29","StyledCell","_exp30","StyledCheckbox","mergedIndicatorConfig","indicatorConfig","Indicator","_exp41","StyledIndicator","DisclosureIconWrapper","_exp51","_ref","variant","tokens","itemIconSizeTight","itemIconSize","_exp55","_ref2","checkboxTriggerSizeTight","checkboxTriggerSize","_exp56","_ref3","checkboxTriggerBorderRadiusTight","checkboxTriggerBorderRadius","IconWrapper","vars","StyledText","_exp59","_ref4","itemPaddingTight","itemPadding","Wrapper","StyledCheckboxWrapper"],"mappings":";;;;;;;;;;;AAUA,IAAMA,oBAAoB,gBAAGC,kBAAW,CAACC,yBAAc,CAAC,CAAA;AACxD,IAAMC,QAAQ,gBAAGC,gBAAS,CAACJ,oBAAoB,CAAC,CAAA;AAEhD,IAAMK,gBAAgB,gBAAGJ,kBAAW,CAACK,iBAAU,CAAC,CAAA;AAChD,IAAMC,IAAI,gBAAGH,gBAAS,CAACC,gBAAgB,CAAC,CAAA;AAEjC,IAAMG,aAAa,gBAAGC,YAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,eAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAgBlC,EAAA;AAAC,IAAAC,MAAA,GA/BgBA,SA+BhBA,MAAAA,GAAA;AAAA,EAAA,OAE+BN,IAAI,CAAA;AAAA,CAAA,CAAA;AAA9B,IAAMO,UAAU,gBAAGL,Y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AAAC,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAG/B,EAAA;AAAC,IAAA4B,MAAA,GA5FgBA,SA4FhBA,MAAAA,GAAA;AAAA,EAAA,OAQa,UAAAC,KAAA,EAAA;AAAA,IAAA,IAAGhB,OAAAA,GAAAA,KAAAA,CAAAA,OAAAA,CAAAA;AAAAA,IAAAA,OAAAA,MAAAA,CAAAA,MAAAA,CAAqBA,OAAO,KAAK,OAAO,GAAGC,sBAAM,CAACgB,gBAAgB,GAAGhB,sBAAM,CAACiB,WAAY,EAAA,GAAA,CAAA,CAAA;GAAE,CAAA;AAAA,CAAA,CAAA;AANrG,IAAMC,OAAO,gBAAGnC,YAAM,CAAA,IAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,SAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA0B,EAAAA,IAAA,EAAA;AAAA,IAAA,WAAA,EAAA,cAMdE,MAA6F,EAAA,CAAA;AAAA,GAAA;AAAA,CA8C3G,EAAA;AAEM,IAAMK,qBAAqB,gBAAGpC,YAAM,CAAA,MAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,uBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAAO;;;;;;;;;;;;"}
@@ -4,8 +4,8 @@
4
4
  .sbva27s{--plasma-indicator-size:var(--plasma-combobox-indicator-size);--plasma-indicator-color:var(--plasma-combobox-checkbox-fill-color);}
5
5
  .s198ssfl{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
6
6
  .sq42uro{margin-left:auto;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
7
- .d96nkq{line-height:0;color:var(--text-secondary);}.d96nkq:hover{color:var(--text-secondary-hover);}
7
+ .d96nkq{line-height:0;color:var(--plasma-combobox-disclosure-icon-color,var(--text-secondary));}.d96nkq:hover{color:var(--plasma-combobox-disclosure-icon-color-hover,var(--text-secondary-hover));}
8
8
  .i170raop{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:var(--i170raop-0);height:var(--i170raop-0);margin:var(--plasma-combobox-item-icon-margin);line-height:0;color:var(--plasma-combobox-checkbox-fill-color);}.i170raop .combobox-item-checkbox{--plasma-checkbox-trigger-size:var(--i170raop-1);--plasma-checkbox-trigger-border-radius:var(--i170raop-2);}
9
9
  .s1bsz3m1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-flex:1;-ms-flex:1;flex:1;}
10
- .wwurntn{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:var(--plasma-combobox-item-height);margin:0;box-sizing:content-box;padding:var(--wwurntn-0);font-family:var(--plasma-combobox-font-family);font-size:var(--plasma-combobox-font-size);font-style:var(--plasma-combobox-font-style);font-weight:var(--plasma-combobox-font-weight);-webkit-letter-spacing:var(--plasma-combobox-font-letter-spacing);-moz-letter-spacing:var(--plasma-combobox-font-letter-spacing);-ms-letter-spacing:var(--plasma-combobox-font-letter-spacing);letter-spacing:var(--plasma-combobox-font-letter-spacing);line-height:var(--plasma-combobox-font-line-height);background-color:var(--plasma-colors-transparent);color:var(--text-primary);border-radius:var(--plasma-combobox-border-radius);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:2px solid transparent;border-left:2px solid transparent;background-clip:padding-box;position:relative;}.wwurntn:hover:not(.dropdown-item-is-disabled){cursor:pointer;background-color:var(--surface-transparent-secondary);}.wwurntn.dropdown-item-is-active{background-color:var(--surface-transparent-secondary);}.wwurntn.dropdown-item-is-disabled{opacity:0.4;cursor:not-allowed;}.wwurntn:focus{outline:none;}.wwurntn::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:var(--plasma-combobox-item-border-radius);-webkit-transition:none;transition:none;pointer-events:none;}.wwurntn.dropdown-item-is-focused:before{outline:none;box-shadow:0 0 0 0.0625rem var(--surface-accent);}
10
+ .wwurntn{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;min-height:var(--plasma-combobox-item-height);margin:0;box-sizing:content-box;padding:var(--wwurntn-0);font-family:var(--plasma-combobox-font-family);font-size:var(--plasma-combobox-font-size);font-style:var(--plasma-combobox-font-style);font-weight:var(--plasma-combobox-font-weight);-webkit-letter-spacing:var(--plasma-combobox-font-letter-spacing);-moz-letter-spacing:var(--plasma-combobox-font-letter-spacing);-ms-letter-spacing:var(--plasma-combobox-font-letter-spacing);letter-spacing:var(--plasma-combobox-font-letter-spacing);line-height:var(--plasma-combobox-font-line-height);background-color:var(--plasma-combobox-item-background,var(--plasma-colors-transparent));color:var(--text-primary);border-radius:var(--plasma-combobox-border-radius);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:2px solid transparent;border-left:2px solid transparent;background-clip:padding-box;position:relative;}.wwurntn:hover:not(.dropdown-item-is-disabled){cursor:pointer;background-color:var(--plasma-combobox-item-background-hover,var(--surface-transparent-secondary));}.wwurntn.dropdown-item-is-active{background-color:var(--plasma-combobox-item-background-hover,var(--surface-transparent-secondary));}.wwurntn.dropdown-item-is-disabled{opacity:0.4;cursor:not-allowed;}.wwurntn:focus{outline:none;}.wwurntn::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:var(--plasma-combobox-item-border-radius);-webkit-transition:none;transition:none;pointer-events:none;}.wwurntn.dropdown-item-is-focused:before{outline:none;box-shadow:0 0 0 0.0625rem var(--surface-accent);}
11
11
 
@@ -4,9 +4,8 @@ import './Target.styles_ei26tn.css';
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
6
  var react = require('@linaria/react');
7
- var TextField$1 = require('../../../../TextField/TextField.js');
8
- require('@linaria/core');
9
7
  var common = require('../../../../../engines/common.js');
8
+ var TextField$1 = require('../../../../TextField/TextField.js');
10
9
 
11
10
  var mergedConfig = /*#__PURE__*/common.mergeConfig(TextField$1.textFieldConfig);
12
11
  var TextField = /*#__PURE__*/common.component(mergedConfig);
@@ -1 +1 @@
1
- {"version":3,"file":"Target.styles.js","sources":["../../../../../../src/components/Combobox/ComboboxNew/ui/Target/Target.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { textFieldConfig, textFieldTokens } from '../../../../TextField';\nimport { component, mergeConfig } from '../../../../../engines';\nimport { tokens as comboboxTokens } from '../../Combobox.tokens';\n\nconst mergedConfig = mergeConfig(textFieldConfig);\nconst TextField = component(mergedConfig);\n\nexport const StyledTextField = styled(TextField)`\n ${textFieldTokens.color}: var(${comboboxTokens.textFieldColor});\n ${textFieldTokens.placeholderColorFocus}: var(${comboboxTokens.textFieldPlaceholderColorFocus});\n ${textFieldTokens.backgroundColor}: var(${comboboxTokens.textFieldBackgroundColor});\n ${textFieldTokens.backgroundColorHover}: var(${comboboxTokens.textFieldBackgroundColorHover});\n ${textFieldTokens.backgroundColorFocus}: var(${comboboxTokens.textFieldBackgroundColorFocus});\n ${textFieldTokens.borderColor}: var(${comboboxTokens.textFieldBorderColor});\n ${textFieldTokens.borderColorHover}: var(${comboboxTokens.textFieldBorderColorHover});\n ${textFieldTokens.borderColorFocus}: var(${comboboxTokens.textFieldBorderColorFocus});\n ${textFieldTokens.colorReadOnly}: var(${comboboxTokens.textFieldColorReadOnly});\n ${textFieldTokens.backgroundColorReadOnly}: var(${comboboxTokens.textFieldBackgroundColorReadOnly});\n ${textFieldTokens.borderColorReadOnly}: var(${comboboxTokens.textFieldBorderColorReadOnly});\n ${textFieldTokens.placeholderColorReadOnly}: var(${comboboxTokens.textFieldPlaceholderColorReadOnly});\n ${textFieldTokens.caretColor}: var(${comboboxTokens.textFieldCaretColor});\n ${textFieldTokens.placeholderColor}: var(${comboboxTokens.textFieldPlaceholderColor});\n ${textFieldTokens.height}: var(${comboboxTokens.textFieldHeight});\n ${textFieldTokens.borderWidth}: var(${comboboxTokens.textFieldBorderWidth});\n ${textFieldTokens.borderRadius}: var(${comboboxTokens.textFieldBorderRadius});\n ${textFieldTokens.padding}: var(${comboboxTokens.textFieldPadding});\n ${textFieldTokens.leftContentMargin}: var(${comboboxTokens.textFieldLeftContentMargin});\n ${textFieldTokens.rightContentMargin}: var(${comboboxTokens.textFieldRightContentMargin});\n ${textFieldTokens.fontFamily}: var(${comboboxTokens.textFieldFontFamily});\n ${textFieldTokens.fontStyle}: var(${comboboxTokens.textFieldFontStyle});\n ${textFieldTokens.fontSize}: var(${comboboxTokens.textFieldFontSize});\n ${textFieldTokens.fontWeight}: var(${comboboxTokens.textFieldFontWeight});\n ${textFieldTokens.letterSpacing}: var(${comboboxTokens.textFieldLetterSpacing});\n ${textFieldTokens.lineHeight}: var(${comboboxTokens.textFieldLineHeight});\n ${textFieldTokens.labelColor}: var(${comboboxTokens.textFieldLabelColor});\n ${textFieldTokens.labelColorReadOnly}: var(${comboboxTokens.textFieldLabelColorReadOnly});\n ${textFieldTokens.labelOffset}: var(${comboboxTokens.textFieldLabelOffset});\n ${textFieldTokens.labelFontFamily}: var(${comboboxTokens.textFieldLabelFontFamily});\n ${textFieldTokens.labelFontStyle}: var(${comboboxTokens.textFieldLabelFontStyle});\n ${textFieldTokens.labelFontSize}: var(${comboboxTokens.textFieldLabelFontSize});\n ${textFieldTokens.labelFontWeight}: var(${comboboxTokens.textFieldLabelFontWeight});\n ${textFieldTokens.labelLetterSpacing}: var(${comboboxTokens.textFieldLabelLetterSpacing});\n ${textFieldTokens.labelLineHeight}: var(${comboboxTokens.textFieldLabelLineHeight});\n ${textFieldTokens.labelInnerFontFamily}: var(${comboboxTokens.textFieldLabelInnerFontFamily});\n ${textFieldTokens.labelInnerFontStyle}: var(${comboboxTokens.textFieldLabelInnerFontStyle});\n ${textFieldTokens.labelInnerFontSize}: var(${comboboxTokens.textFieldLabelInnerFontSize});\n ${textFieldTokens.labelInnerFontWeight}: var(${comboboxTokens.textFieldLabelInnerFontWeight});\n ${textFieldTokens.labelInnerLetterSpacing}: var(${comboboxTokens.textFieldLabelInnerLetterSpacing});\n ${textFieldTokens.labelInnerLineHeight}: var(${comboboxTokens.textFieldLabelInnerLineHeight});\n ${textFieldTokens.labelInnerPadding}: var(${comboboxTokens.textFieldLabelInnerPadding});\n ${textFieldTokens.contentLabelInnerPadding}: var(${comboboxTokens.textFieldContentLabelInnerPadding});\n ${textFieldTokens.leftHelperColor}: var(${comboboxTokens.textFieldLeftHelperColor});\n ${textFieldTokens.leftHelperColorReadOnly}: var(${comboboxTokens.textFieldLeftHelperColorReadOnly});\n ${textFieldTokens.leftHelperOffset}: var(${comboboxTokens.textFieldLeftHelperOffset});\n ${textFieldTokens.leftHelperFontFamily}: var(${comboboxTokens.textFieldLeftHelperFontFamily});\n ${textFieldTokens.leftHelperFontStyle}: var(${comboboxTokens.textFieldLeftHelperFontStyle});\n ${textFieldTokens.leftHelperFontSize}: var(${comboboxTokens.textFieldLeftHelperFontSize});\n ${textFieldTokens.leftHelperFontWeight}: var(${comboboxTokens.textFieldLeftHelperFontWeight});\n ${textFieldTokens.leftHelperLetterSpacing}: var(${comboboxTokens.textFieldLeftHelperLetterSpacing});\n ${textFieldTokens.leftHelperLineHeight}: var(${comboboxTokens.textFieldLeftHelperLineHeight});\n ${textFieldTokens.textBeforeColor}: var(${comboboxTokens.textFieldTextBeforeColor});\n ${textFieldTokens.textAfterColor}: var(${comboboxTokens.textFieldTextAfterColor});\n ${textFieldTokens.textBeforeMargin}: var(${comboboxTokens.textFieldTextBeforeMargin});\n ${textFieldTokens.textAfterMargin}: var(${comboboxTokens.textFieldTextAfterMargin});\n ${textFieldTokens.disabledOpacity}: var(${comboboxTokens.textFieldDisabledOpacity});\n ${textFieldTokens.focusColor}: var(${comboboxTokens.textFieldFocusColor});\n\n ${textFieldTokens.chipCloseIconColor}: var(${comboboxTokens.textFieldChipCloseIconColor});\n ${textFieldTokens.chipColor}: var(${comboboxTokens.textFieldChipColor});\n ${textFieldTokens.chipBackground}: var(${comboboxTokens.textFieldChipBackground});\n ${textFieldTokens.chipColorHover}: var(${comboboxTokens.textFieldChipColorHover});\n ${textFieldTokens.chipBackgroundHover}: var(${comboboxTokens.textFieldChipBackgroundHover});\n ${textFieldTokens.chipColorActive}: var(${comboboxTokens.textFieldChipColorActive});\n ${textFieldTokens.chipBackgroundActive}: var(${comboboxTokens.textFieldChipBackgroundActive});\n ${textFieldTokens.chipBackgroundReadOnly}: var(${comboboxTokens.textFieldChipBackgroundReadOnly});\n ${textFieldTokens.chipColorReadOnly}: var(${comboboxTokens.textFieldChipColorReadOnly});\n ${textFieldTokens.chipBackgroundReadOnlyHover}: var(${comboboxTokens.textFieldChipBackgroundReadOnlyHover});\n ${textFieldTokens.chipColorReadOnlyHover}: var(${comboboxTokens.textFieldChipColorReadOnlyHover});\n ${textFieldTokens.chipOpacityReadonly}: var(${comboboxTokens.textFieldChipOpacityReadonly});\n ${textFieldTokens.chipGap}: var(${comboboxTokens.textFieldChipGap});\n ${textFieldTokens.chipBorderRadius}: var(${comboboxTokens.textFieldChipBorderRadius});\n ${textFieldTokens.chipWidth}: var(${comboboxTokens.textFieldChipWidth});\n ${textFieldTokens.chipHeight}: var(${comboboxTokens.textFieldChipHeight});\n ${textFieldTokens.chipPaddingRight}: var(${comboboxTokens.textFieldChipPaddingRight});\n ${textFieldTokens.chipPaddingLeft}: var(${comboboxTokens.textFieldChipPaddingLeft});\n ${textFieldTokens.chipClearContentMarginLeft}: var(${comboboxTokens.textFieldChipClearContentMarginLeft});\n ${textFieldTokens.chipClearContentMarginRight}: var(${comboboxTokens.textFieldChipClearContentMarginRight});\n ${textFieldTokens.chipCloseIconSize}: var(${comboboxTokens.textFieldChipCloseIconSize});\n ${textFieldTokens.chipFontFamily}: var(${comboboxTokens.textFieldChipFontFamily});\n ${textFieldTokens.chipFontSize}: var(${comboboxTokens.textFieldChipFontSize});\n ${textFieldTokens.chipFontStyle}: var(${comboboxTokens.textFieldChipFontStyle});\n ${textFieldTokens.chipFontWeight}: var(${comboboxTokens.textFieldChipFontWeight});\n ${textFieldTokens.chipLetterSpacing}: var(${comboboxTokens.textFieldChipLetterSpacing});\n ${textFieldTokens.chipLineHeight}: var(${comboboxTokens.textFieldChipLineHeight});\n ${textFieldTokens.paddingWithChips}: var(${comboboxTokens.textFieldPaddingWithChips});\n`;\n"],"names":["mergedConfig","mergeConfig","textFieldConfig","TextField","component","_exp","StyledTextField","styled","name","class","propsAsIs"],"mappings":";;;;;;;;;AAMA,IAAMA,YAAY,gBAAGC,kBAAW,CAACC,2BAAe,CAAC,CAAA;AACjD,IAAMC,SAAS,gBAAGC,gBAAS,CAACJ,YAAY,CAAC,CAAA;AAAC,IAAAK,IAAA,GANxBA,SAMwBA,IAAAA,GAAA;AAAA,EAAA,OAEJF,SAAS,CAAA;AAAA,CAAA,CAAA;AAAxC,IAAMG,eAAe,gBAAGC,YAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,iBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAwFpC;;;;"}
1
+ {"version":3,"file":"Target.styles.js","sources":["../../../../../../src/components/Combobox/ComboboxNew/ui/Target/Target.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { textFieldConfig, textFieldTokens } from '../../../../TextField';\nimport { component, mergeConfig } from '../../../../../engines';\nimport { tokens as comboboxTokens } from '../../Combobox.tokens';\n\nconst mergedConfig = mergeConfig(textFieldConfig);\nconst TextField = component(mergedConfig);\n\nexport const StyledTextField = styled(TextField)`\n ${textFieldTokens.color}: var(${comboboxTokens.textFieldColor});\n ${textFieldTokens.placeholderColorFocus}: var(${comboboxTokens.textFieldPlaceholderColorFocus});\n ${textFieldTokens.backgroundColor}: var(${comboboxTokens.textFieldBackgroundColor});\n ${textFieldTokens.backgroundColorHover}: var(${comboboxTokens.textFieldBackgroundColorHover});\n ${textFieldTokens.backgroundColorFocus}: var(${comboboxTokens.textFieldBackgroundColorFocus});\n ${textFieldTokens.borderColor}: var(${comboboxTokens.textFieldBorderColor});\n ${textFieldTokens.borderColorHover}: var(${comboboxTokens.textFieldBorderColorHover});\n ${textFieldTokens.borderColorFocus}: var(${comboboxTokens.textFieldBorderColorFocus});\n ${textFieldTokens.colorReadOnly}: var(${comboboxTokens.textFieldColorReadOnly});\n ${textFieldTokens.backgroundColorReadOnly}: var(${comboboxTokens.textFieldBackgroundColorReadOnly});\n ${textFieldTokens.borderColorReadOnly}: var(${comboboxTokens.textFieldBorderColorReadOnly});\n ${textFieldTokens.placeholderColorReadOnly}: var(${comboboxTokens.textFieldPlaceholderColorReadOnly});\n ${textFieldTokens.caretColor}: var(${comboboxTokens.textFieldCaretColor});\n ${textFieldTokens.placeholderColor}: var(${comboboxTokens.textFieldPlaceholderColor});\n ${textFieldTokens.height}: var(${comboboxTokens.textFieldHeight});\n ${textFieldTokens.borderWidth}: var(${comboboxTokens.textFieldBorderWidth});\n ${textFieldTokens.borderRadius}: var(${comboboxTokens.textFieldBorderRadius});\n ${textFieldTokens.padding}: var(${comboboxTokens.textFieldPadding});\n ${textFieldTokens.leftContentMargin}: var(${comboboxTokens.textFieldLeftContentMargin});\n ${textFieldTokens.rightContentMargin}: var(${comboboxTokens.textFieldRightContentMargin});\n ${textFieldTokens.fontFamily}: var(${comboboxTokens.textFieldFontFamily});\n ${textFieldTokens.fontStyle}: var(${comboboxTokens.textFieldFontStyle});\n ${textFieldTokens.fontSize}: var(${comboboxTokens.textFieldFontSize});\n ${textFieldTokens.fontWeight}: var(${comboboxTokens.textFieldFontWeight});\n ${textFieldTokens.letterSpacing}: var(${comboboxTokens.textFieldLetterSpacing});\n ${textFieldTokens.lineHeight}: var(${comboboxTokens.textFieldLineHeight});\n ${textFieldTokens.labelColor}: var(${comboboxTokens.textFieldLabelColor});\n ${textFieldTokens.labelColorReadOnly}: var(${comboboxTokens.textFieldLabelColorReadOnly});\n ${textFieldTokens.labelOffset}: var(${comboboxTokens.textFieldLabelOffset});\n ${textFieldTokens.labelFontFamily}: var(${comboboxTokens.textFieldLabelFontFamily});\n ${textFieldTokens.labelFontStyle}: var(${comboboxTokens.textFieldLabelFontStyle});\n ${textFieldTokens.labelFontSize}: var(${comboboxTokens.textFieldLabelFontSize});\n ${textFieldTokens.labelFontWeight}: var(${comboboxTokens.textFieldLabelFontWeight});\n ${textFieldTokens.labelLetterSpacing}: var(${comboboxTokens.textFieldLabelLetterSpacing});\n ${textFieldTokens.labelLineHeight}: var(${comboboxTokens.textFieldLabelLineHeight});\n ${textFieldTokens.labelInnerFontFamily}: var(${comboboxTokens.textFieldLabelInnerFontFamily});\n ${textFieldTokens.labelInnerFontStyle}: var(${comboboxTokens.textFieldLabelInnerFontStyle});\n ${textFieldTokens.labelInnerFontSize}: var(${comboboxTokens.textFieldLabelInnerFontSize});\n ${textFieldTokens.labelInnerFontWeight}: var(${comboboxTokens.textFieldLabelInnerFontWeight});\n ${textFieldTokens.labelInnerLetterSpacing}: var(${comboboxTokens.textFieldLabelInnerLetterSpacing});\n ${textFieldTokens.labelInnerLineHeight}: var(${comboboxTokens.textFieldLabelInnerLineHeight});\n ${textFieldTokens.labelInnerPadding}: var(${comboboxTokens.textFieldLabelInnerPadding});\n ${textFieldTokens.contentLabelInnerPadding}: var(${comboboxTokens.textFieldContentLabelInnerPadding});\n ${textFieldTokens.leftHelperColor}: var(${comboboxTokens.textFieldLeftHelperColor});\n ${textFieldTokens.leftHelperColorReadOnly}: var(${comboboxTokens.textFieldLeftHelperColorReadOnly});\n ${textFieldTokens.leftHelperOffset}: var(${comboboxTokens.textFieldLeftHelperOffset});\n ${textFieldTokens.leftHelperFontFamily}: var(${comboboxTokens.textFieldLeftHelperFontFamily});\n ${textFieldTokens.leftHelperFontStyle}: var(${comboboxTokens.textFieldLeftHelperFontStyle});\n ${textFieldTokens.leftHelperFontSize}: var(${comboboxTokens.textFieldLeftHelperFontSize});\n ${textFieldTokens.leftHelperFontWeight}: var(${comboboxTokens.textFieldLeftHelperFontWeight});\n ${textFieldTokens.leftHelperLetterSpacing}: var(${comboboxTokens.textFieldLeftHelperLetterSpacing});\n ${textFieldTokens.leftHelperLineHeight}: var(${comboboxTokens.textFieldLeftHelperLineHeight});\n ${textFieldTokens.textBeforeColor}: var(${comboboxTokens.textFieldTextBeforeColor});\n ${textFieldTokens.textAfterColor}: var(${comboboxTokens.textFieldTextAfterColor});\n ${textFieldTokens.textBeforeMargin}: var(${comboboxTokens.textFieldTextBeforeMargin});\n ${textFieldTokens.textAfterMargin}: var(${comboboxTokens.textFieldTextAfterMargin});\n ${textFieldTokens.disabledOpacity}: var(${comboboxTokens.textFieldDisabledOpacity});\n ${textFieldTokens.focusColor}: var(${comboboxTokens.textFieldFocusColor});\n\n ${textFieldTokens.chipCloseIconColor}: var(${comboboxTokens.textFieldChipCloseIconColor});\n ${textFieldTokens.chipColor}: var(${comboboxTokens.textFieldChipColor});\n ${textFieldTokens.chipBackground}: var(${comboboxTokens.textFieldChipBackground});\n ${textFieldTokens.chipColorHover}: var(${comboboxTokens.textFieldChipColorHover});\n ${textFieldTokens.chipBackgroundHover}: var(${comboboxTokens.textFieldChipBackgroundHover});\n ${textFieldTokens.chipColorActive}: var(${comboboxTokens.textFieldChipColorActive});\n ${textFieldTokens.chipBackgroundActive}: var(${comboboxTokens.textFieldChipBackgroundActive});\n ${textFieldTokens.chipBackgroundReadOnly}: var(${comboboxTokens.textFieldChipBackgroundReadOnly});\n ${textFieldTokens.chipColorReadOnly}: var(${comboboxTokens.textFieldChipColorReadOnly});\n ${textFieldTokens.chipBackgroundReadOnlyHover}: var(${comboboxTokens.textFieldChipBackgroundReadOnlyHover});\n ${textFieldTokens.chipColorReadOnlyHover}: var(${comboboxTokens.textFieldChipColorReadOnlyHover});\n ${textFieldTokens.chipOpacityReadonly}: var(${comboboxTokens.textFieldChipOpacityReadonly});\n ${textFieldTokens.chipGap}: var(${comboboxTokens.textFieldChipGap});\n ${textFieldTokens.chipBorderRadius}: var(${comboboxTokens.textFieldChipBorderRadius});\n ${textFieldTokens.chipWidth}: var(${comboboxTokens.textFieldChipWidth});\n ${textFieldTokens.chipHeight}: var(${comboboxTokens.textFieldChipHeight});\n ${textFieldTokens.chipPaddingRight}: var(${comboboxTokens.textFieldChipPaddingRight});\n ${textFieldTokens.chipPaddingLeft}: var(${comboboxTokens.textFieldChipPaddingLeft});\n ${textFieldTokens.chipClearContentMarginLeft}: var(${comboboxTokens.textFieldChipClearContentMarginLeft});\n ${textFieldTokens.chipClearContentMarginRight}: var(${comboboxTokens.textFieldChipClearContentMarginRight});\n ${textFieldTokens.chipCloseIconSize}: var(${comboboxTokens.textFieldChipCloseIconSize});\n ${textFieldTokens.chipFontFamily}: var(${comboboxTokens.textFieldChipFontFamily});\n ${textFieldTokens.chipFontSize}: var(${comboboxTokens.textFieldChipFontSize});\n ${textFieldTokens.chipFontStyle}: var(${comboboxTokens.textFieldChipFontStyle});\n ${textFieldTokens.chipFontWeight}: var(${comboboxTokens.textFieldChipFontWeight});\n ${textFieldTokens.chipLetterSpacing}: var(${comboboxTokens.textFieldChipLetterSpacing});\n ${textFieldTokens.chipLineHeight}: var(${comboboxTokens.textFieldChipLineHeight});\n ${textFieldTokens.paddingWithChips}: var(${comboboxTokens.textFieldPaddingWithChips});\n`;\n"],"names":["mergedConfig","mergeConfig","textFieldConfig","TextField","component","_exp","StyledTextField","styled","name","class","propsAsIs"],"mappings":";;;;;;;;AAMA,IAAMA,YAAY,gBAAGC,kBAAW,CAACC,2BAAe,CAAC,CAAA;AACjD,IAAMC,SAAS,gBAAGC,gBAAS,CAACJ,YAAY,CAAC,CAAA;AAAC,IAAAK,IAAA,GANxBA,SAMwBA,IAAAA,GAAA;AAAA,EAAA,OAEJF,SAAS,CAAA;AAAA,CAAA,CAAA;AAAxC,IAAMG,eAAe,gBAAGC,YAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,iBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAwFpC;;;;"}
@@ -1,6 +1,6 @@
1
- .Dropdown_styles_1tihqkp_sn7uamp__39673f55 .Dropdown_styles_1tihqkp_popoverWrapper__39673f55,.Dropdown_styles_1tihqkp_sn7uamp__39673f55 .Dropdown_styles_1tihqkp_popoverTarget__39673f55{display:block;}
2
- .Dropdown_styles_1tihqkp_ujr7fmv__39673f55{box-sizing:border-box;background:var(--plasma-dropdown-background);box-shadow:var(--plasma-dropdown-box-shadow);border-radius:var(--plasma-dropdown-border-radius);width:var(--ujr7fmv-0);height:var(--ujr7fmv-1);overflow:var(--ujr7fmv-2);margin:var(--ujr7fmv-3);padding:var(--plasma-dropdown-padding);}
3
- .Dropdown_styles_1tihqkp_byfocd2__39673f55{display:inline-block;}
1
+ .Dropdown_styles_zvi9m3_sn7uamp__d44e5877 .Dropdown_styles_zvi9m3_popoverWrapper__d44e5877,.Dropdown_styles_zvi9m3_sn7uamp__d44e5877 .Dropdown_styles_zvi9m3_popoverTarget__d44e5877{display:block;}
2
+ .Dropdown_styles_zvi9m3_ujr7fmv__d44e5877{box-sizing:border-box;background:var(--plasma-dropdown-background);box-shadow:var(--plasma-dropdown-box-shadow);border-radius:var(--plasma-dropdown-border-radius);width:var(--ujr7fmv-0);height:var(--ujr7fmv-1);overflow:var(--ujr7fmv-2);margin:var(--ujr7fmv-3);padding:var(--plasma-dropdown-padding);border:var(--plasma-dropdown-border-width) solid var(--plasma-dropdown-border-color);}
3
+ .Dropdown_styles_zvi9m3_byfocd2__d44e5877{display:inline-block;}
4
4
 
5
5
  .DropdownDivider_styles_v3xor1_s1brpi5d__3a791565{background:var(--plasma-dropdown-divider-color);width:var(--plasma-dropdown-divider-width);height:var(--plasma-dropdown-divider-height);margin:var(--plasma-dropdown-divider-margin-top) var(--plasma-dropdown-divider-margin-right) var(--plasma-dropdown-divider-margin-bottom) var(--plasma-dropdown-divider-margin-left);}
6
6
 
@@ -6,20 +6,14 @@ var _rollupPluginBabelHelpers = require('../../../_virtual/_rollupPluginBabelHel
6
6
  var React = require('react');
7
7
  var plasmaCore = require('@salutejs/plasma-core');
8
8
  var index$1 = require('../../../utils/index.js');
9
- var useForceUpdate = require('../../../hooks/useForceUpdate.js');
10
- var useDidMountEffect = require('../../../hooks/useDidMountEffect.js');
11
9
  var index = require('./utils/index.js');
12
- var useKeyNavigation = require('./hooks/useKeyNavigation.js');
13
10
  var base = require('./variations/_view/base.js');
14
11
  var base$1 = require('./variations/_size/base.js');
15
- require('@linaria/react');
16
- require('@linaria/core');
17
- require('focus-visible');
18
- require('react-popper');
19
- require('react-dom');
20
- require('styled-components');
21
- var ComboboxTarget = require('./ui/ComboboxTarget/ComboboxTarget.js');
22
12
  var Combobox_styles = require('./Combobox.styles.js');
13
+ var useForceUpdate = require('../../../hooks/useForceUpdate.js');
14
+ var useDidMountEffect = require('../../../hooks/useDidMountEffect.js');
15
+ var useKeyNavigation = require('./hooks/useKeyNavigation.js');
16
+ var ComboboxTarget = require('./ui/ComboboxTarget/ComboboxTarget.js');
23
17
  var getPopoverPlacement = require('../../../utils/getPopoverPlacement.js');
24
18
 
25
19
  var _excluded = ["name", "form", "readOnly", "disabled", "label", "placeholder", "id", "children", "role", "view", "size", "frame", "usePortal", "negativeResultContent", "enumerationType", "opened", "alwaysOpened", "placement", "onToggle", "onKeyDown", "filterFunction"];