@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
@@ -3,5 +3,5 @@
3
3
  .p19axp12{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;gap:0.625rem;}.p19axp12.pagination-type-compact{-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;}.p19axp12.pagination-has-perpage-select{-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;}.p19axp12.pagination-has-quick-jump{-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;}
4
4
  .p1rlzvhv{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:0.125rem;}
5
5
  .pivhg1z{--plasma-button-group-item-color:var(--plasma-pagination-button-color);--plasma-button-group-item-background-color:var(--plasma-pagination-button-bg-color);--plasma-button-group-item-color-hover:var(--plasma-pagination-button-color-hover);--plasma-button-group-item-background-color-hover:var(--plasma-pagination-button-bg-color-hover);--plasma-button-group-item-color-active:var(--plasma-pagination--button-color-active);--plasma-button-group-item-background-color-active:var(--plasma-pagination-button-bg-color-active);--plasma-button-group-item-font-family:var(--plasma-pagination-font-family);--plasma-button-group-item-font-size:var(--plasma-pagination-font-size);--plasma-button-group-item-font-style:var(--plasma-pagination-font-style);--plasma-button-group-item-font-weight:var(--plasma-pagination-font-weight);--plasma-button-group-item-letter-spacing:var(--plasma-pagination-letter-spacing);--plasma-button-group-item-line-height:var(--plasma-pagination-line-height);--plasma-button-group-item-width:var(--plasma-pagination-button-width);--plasma-button-group-item-height:var(--plasma-pagination-button-height);--plasma-button-group-item-default-radius:var(--plasma-pagination-button-radius);--plasma-button-group-side-item-radius:var(--plasma-pagination-button-radius);--plasma-button-group-item-segmented-radius:var(--plasma-pagination-button-radius);--plasma-button-group-item-radius-circle:var(--plasma-pagination-button-radius);}
6
- .pshury3{--plasma-button-color:var(--plasma-pagination-button-color);--plasma-button-background-color:var(--plasma-pagination-button-bg-color);--plasma-button-color-hover:var(--plasma-pagination-button-color-hover);--plasma-button-background-color-hover:var(--plasma-pagination-button-bg-color-hover);--plasma-button-color-active:var(--plasma-pagination--button-color-active);--plasma-button-background-color-active:var(--plasma-pagination-button-bg-color-active);--plasma-button-font-family:var(--plasma-pagination-font-family);--plasma-button-font-size:var(--plasma-pagination-font-size);--plasma-button-font-style:var(--plasma-pagination-font-style);--plasma-button-font-weight:var(--plasma-pagination-font-weight);--plasma-button-letter-spacing:var(--plasma-pagination-letter-spacing);--plasma-button-line-height:var(--plasma-pagination-line-height);--plasma-button-width:var(--plasma-pagination-button-width);--plasma-button-height:var(--plasma-pagination-button-height);--plasma-button-radius:var(--plasma-pagination-button-radius);--plasma-button-disabled-opacity:var(--plasma-pagination-button-disabled-opacity);--plasma-button-focus-color:var(--plasma-pagination--button-color-focus);position:relative;}.pshury3.pagination-page-button-active{--plasma-button-color:var(--plasma-pagination-button-current-color);--plasma-button-background-color:var(--plasma-pagination-button-current-bg-color);--plasma-button-color-hover:var(--plasma-pagination-button-current-color-hover);--plasma-button-background-color-hover:var(--plasma-pagination-button-current-bg-color-hover);--plasma-button-color-active:var(--plasma-pagination--button-current-color-active);--plasma-button-background-color-active:var(--plasma-pagination-button-current-bg-color-active);}.pshury3:focus{outline:none;}.pshury3::before{content:'';position:absolute;top:calc(-1 * var(--plasma_private-btn-outline-size));left:calc(-1 * var(--plasma_private-btn-outline-size));right:calc(-1 * var(--plasma_private-btn-outline-size));bottom:calc(-1 * var(--plasma_private-btn-outline-size));z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-btn-outline-size) solid transparent;border-radius:var(--plasma_private-btn-br);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.pshury3.focus-visible:focus::before,.pshury3[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-btn-outline-size) var(--plasma-pagination--button-color-focus);}
6
+ .pshury3{--plasma-button-color:var(--plasma-pagination-button-color);--plasma-button-background-color:var(--plasma-pagination-button-bg-color);--plasma-button-color-hover:var(--plasma-pagination-button-color-hover);--plasma-button-background-color-hover:var(--plasma-pagination-button-bg-color-hover);--plasma-button-color-active:var(--plasma-pagination--button-color-active);--plasma-button-background-color-active:var(--plasma-pagination-button-bg-color-active);--plasma-button-font-family:var(--plasma-pagination-font-family);--plasma-button-font-size:var(--plasma-pagination-font-size);--plasma-button-font-style:var(--plasma-pagination-font-style);--plasma-button-font-weight:var(--plasma-pagination-font-weight);--plasma-button-letter-spacing:var(--plasma-pagination-letter-spacing);--plasma-button-line-height:var(--plasma-pagination-line-height);--plasma-button-width:var(--plasma-pagination-button-width);--plasma-button-height:var(--plasma-pagination-button-height);--plasma-button-radius:var(--plasma-pagination-button-radius);--plasma-button-disabled-opacity:var(--plasma-pagination-button-disabled-opacity);--plasma-button-focus-color:var(--plasma-pagination--button-color-focus);position:relative;}.pshury3.pagination-page-button-active{--plasma-button-color:var(--plasma-pagination-button-current-color);--plasma-button-background-color:var(--plasma-pagination-button-current-bg-color);--plasma-button-color-hover:var(--plasma-pagination-button-current-color-hover);--plasma-button-background-color-hover:var(--plasma-pagination-button-current-bg-color-hover);--plasma-button-color-active:var(--plasma-pagination--button-current-color-active);--plasma-button-background-color-active:var(--plasma-pagination-button-current-bg-color-active);}.pshury3.pagination-button-disabled{--plasma-button-color:var(--plasma-pagination--button-color-disabled,var(--plasma-pagination-button-color));--plasma-button-background-color:var(--plasma-pagination--button-bg-color-disabled,var(--plasma-pagination-button-bg-color ));}.pshury3:focus{outline:none;}.pshury3::before{content:'';position:absolute;top:calc(-1 * var(--plasma_private-btn-outline-size));left:calc(-1 * var(--plasma_private-btn-outline-size));right:calc(-1 * var(--plasma_private-btn-outline-size));bottom:calc(-1 * var(--plasma_private-btn-outline-size));z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-btn-outline-size) solid transparent;border-radius:var(--plasma_private-btn-br);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.pshury3.focus-visible:focus::before,.pshury3[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-btn-outline-size) var(--plasma-pagination--button-color-focus);}
7
7
  .pwlctp1.pshury3{--plasma-button-width:var(--plasma-pagination-button-width-shorter);--plasma-button-padding:0;}
@@ -11,7 +11,8 @@ var classes = {
11
11
  withHasPerPageSelect: 'pagination-has-perpage-select',
12
12
  paginationPageButton: 'pagination-page-button',
13
13
  paginationPageButtonActive: 'pagination-page-button-active',
14
- paginationIconReverse: 'pagination-icon-reverse'
14
+ paginationIconReverse: 'pagination-icon-reverse',
15
+ buttonDisabled: 'pagination-button-disabled'
15
16
  };
16
17
  var tokens = {
17
18
  paginationWidth: '--plasma-pagination-width',
@@ -35,6 +36,8 @@ var tokens = {
35
36
  paginationCurrentButtonHoverColor: '--plasma-pagination-button-current-color-hover',
36
37
  paginationCurrentButtonActiveBackgroundColor: '--plasma-pagination-button-current-bg-color-active',
37
38
  paginationCurrentButtonActiveColor: '--plasma-pagination--button-current-color-active',
39
+ paginationDisabledButtonColor: '--plasma-pagination--button-color-disabled',
40
+ paginationDisabledButtonBackgroundColor: '--plasma-pagination--button-bg-color-disabled',
38
41
  buttonDisabledOpacity: '--plasma-pagination-button-disabled-opacity',
39
42
  buttonHeight: '--plasma-pagination-button-height',
40
43
  buttonWidthShorter: '--plasma-pagination-button-width-shorter',
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.tokens.js","sources":["../../../src/components/Pagination/Pagination.tokens.ts"],"sourcesContent":["export const classes = {\n wrapper: 'pagination-wrapper',\n pages: 'pagination-pages',\n actions: 'pagination-actions',\n perPage: 'pagination-perpage-select',\n quickJump: 'pagination-quick-jump-page',\n\n selectWrapper: 'pagination-select-wrapper',\n\n defaultType: 'pagination-type-default',\n compactType: 'pagination-type-compact',\n\n withHasQuickJump: 'pagination-has-quick-jump',\n withHasPerPageSelect: 'pagination-has-perpage-select',\n\n paginationPageButton: 'pagination-page-button',\n paginationPageButtonActive: 'pagination-page-button-active',\n\n paginationIconReverse: 'pagination-icon-reverse',\n};\n\nexport const tokens = {\n paginationWidth: '--plasma-pagination-width',\n paginationColor: '--plasma-pagination-color',\n\n buttonBackgroundColor: '--plasma-pagination-button-bg-color',\n buttonBackgroundColorHover: '--plasma-pagination-button-bg-color-hover',\n buttonBackgroundColorActive: '--plasma-pagination-button-bg-color-active',\n buttonColor: '--plasma-pagination-button-color',\n buttonColorHover: '--plasma-pagination-button-color-hover',\n buttonColorActive: '--plasma-pagination-button-color-active',\n buttonHoverColor: '--plasma-pagination-button-color-hover',\n buttonActiveColor: '--plasma-pagination--button-color-active',\n buttonFocusColor: '--plasma-pagination--button-color-focus',\n buttonArrowColor: '--plasma-pagination--button-arrow-color',\n buttonArrowColorHover: '--plasma-pagination--button-arrow-color-hover',\n buttonArrowColorActive: '--plasma-pagination--button-arrow-color-active',\n buttonArrowMargin: '--plasma-pagination--button-arrow-margin',\n\n paginationCurrentButtonBackgroundColor: '--plasma-pagination-button-current-bg-color',\n paginationCurrentButtonColor: '--plasma-pagination-button-current-color',\n paginationCurrentButtonHoverBackgroundColor: '--plasma-pagination-button-current-bg-color-hover',\n paginationCurrentButtonHoverColor: '--plasma-pagination-button-current-color-hover',\n paginationCurrentButtonActiveBackgroundColor: '--plasma-pagination-button-current-bg-color-active',\n paginationCurrentButtonActiveColor: '--plasma-pagination--button-current-color-active',\n\n buttonDisabledOpacity: '--plasma-pagination-button-disabled-opacity',\n\n buttonHeight: '--plasma-pagination-button-height',\n buttonWidthShorter: '--plasma-pagination-button-width-shorter',\n buttonWidth: '--plasma-pagination-button-width',\n paginationInputWidth: '--plasma-pagination-input-width',\n buttonRadius: '--plasma-pagination-button-radius',\n paginationIconSize: '--plasma-pagination-icon-size',\n paginationIconDoubleSize: '--plasma-pagination-icon-double-size',\n\n paginationFontFamily: '--plasma-pagination-font-family',\n paginationFontSize: '--plasma-pagination-font-size',\n paginationFontStyle: '--plasma-pagination-font-style',\n paginationFontWeight: '--plasma-pagination-font-weight',\n paginationLetterSpacing: '--plasma-pagination-letter-spacing',\n paginationLineHeight: '--plasma-pagination-line-height',\n\n selectHeight: '--plasma-pagination-select-height',\n selectPaddingTop: '--plasma-pagination-select-padding-top',\n selectPaddingRight: '--plasma-pagination-select-padding-right',\n selectPaddingBottom: '--plasma-pagination-select-padding-bottom',\n selectPaddingLeft: '--plasma-pagination-select-padding-left',\n selectBackgroundColor: '--plasma-pagination-select-bg-color',\n\n selectItemHeight: '--plasma-pagination-select-item-height',\n selectItemPadding: '--plasma-pagination-select-item-padding',\n selectItemContentLeftWidth: '--plasma-pagination-select-item-content-left-width',\n selectItemBackground: '--plasma-pagination-select-item-bg-color',\n\n selectTargetArrowRight: '--plasma-pagination-select-target-arrow-right',\n selectTargetPadding: '--plasma-pagination-select-target-padding',\n selectTargetInnerTop: '--plasma-pagination-select-target-inner-top',\n selectTargetLabelInnerTop: '--plasma-pagination-select-target-label-inner-top',\n\n inputBackgroundColor: '--plasma-pagination-input-bg-color',\n inputColor: '--plasma-pagination-input-color',\n inputBorderRadius: '--plasma-pagination-input-border-radius',\n inputWidth: '--plasma-pagination-input-width',\n inputHeight: '--plasma-pagination-input-height',\n inputBorderColor: '--plasma-pagination-input-border-color',\n inputBorderWidth: '--plasma-pagination-input-border-width',\n inputPadding: '--plasma-pagination-input-padding',\n};\n"],"names":["classes","wrapper","pages","actions","perPage","quickJump","selectWrapper","defaultType","compactType","withHasQuickJump","withHasPerPageSelect","paginationPageButton","paginationPageButtonActive","paginationIconReverse","tokens","paginationWidth","paginationColor","buttonBackgroundColor","buttonBackgroundColorHover","buttonBackgroundColorActive","buttonColor","buttonColorHover","buttonColorActive","buttonHoverColor","buttonActiveColor","buttonFocusColor","buttonArrowColor","buttonArrowColorHover","buttonArrowColorActive","buttonArrowMargin","paginationCurrentButtonBackgroundColor","paginationCurrentButtonColor","paginationCurrentButtonHoverBackgroundColor","paginationCurrentButtonHoverColor","paginationCurrentButtonActiveBackgroundColor","paginationCurrentButtonActiveColor","buttonDisabledOpacity","buttonHeight","buttonWidthShorter","buttonWidth","paginationInputWidth","buttonRadius","paginationIconSize","paginationIconDoubleSize","paginationFontFamily","paginationFontSize","paginationFontStyle","paginationFontWeight","paginationLetterSpacing","paginationLineHeight","selectHeight","selectPaddingTop","selectPaddingRight","selectPaddingBottom","selectPaddingLeft","selectBackgroundColor","selectItemHeight","selectItemPadding","selectItemContentLeftWidth","selectItemBackground","selectTargetArrowRight","selectTargetPadding","selectTargetInnerTop","selectTargetLabelInnerTop","inputBackgroundColor","inputColor","inputBorderRadius","inputWidth","inputHeight","inputBorderColor","inputBorderWidth","inputPadding"],"mappings":"AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,OAAO,EAAE,oBAAoB;AAC7BC,EAAAA,KAAK,EAAE,kBAAkB;AACzBC,EAAAA,OAAO,EAAE,oBAAoB;AAC7BC,EAAAA,OAAO,EAAE,2BAA2B;AACpCC,EAAAA,SAAS,EAAE,4BAA4B;AAEvCC,EAAAA,aAAa,EAAE,2BAA2B;AAE1CC,EAAAA,WAAW,EAAE,yBAAyB;AACtCC,EAAAA,WAAW,EAAE,yBAAyB;AAEtCC,EAAAA,gBAAgB,EAAE,2BAA2B;AAC7CC,EAAAA,oBAAoB,EAAE,+BAA+B;AAErDC,EAAAA,oBAAoB,EAAE,wBAAwB;AAC9CC,EAAAA,0BAA0B,EAAE,+BAA+B;AAE3DC,EAAAA,qBAAqB,EAAE,yBAAA;AAC3B,EAAC;AAEM,IAAMC,MAAM,GAAG;AAClBC,EAAAA,eAAe,EAAE,2BAA2B;AAC5CC,EAAAA,eAAe,EAAE,2BAA2B;AAE5CC,EAAAA,qBAAqB,EAAE,qCAAqC;AAC5DC,EAAAA,0BAA0B,EAAE,2CAA2C;AACvEC,EAAAA,2BAA2B,EAAE,4CAA4C;AACzEC,EAAAA,WAAW,EAAE,kCAAkC;AAC/CC,EAAAA,gBAAgB,EAAE,wCAAwC;AAC1DC,EAAAA,iBAAiB,EAAE,yCAAyC;AAC5DC,EAAAA,gBAAgB,EAAE,wCAAwC;AAC1D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C;AAC1DC,EAAAA,iBAAiB,EAAE,yCAAyC;AAC5DC,EAAAA,0BAA0B,EAAE,oDAAoD;AAChFC,EAAAA,oBAAoB,EAAE,0CAA0C;AAEhEC,EAAAA,sBAAsB,EAAE,+CAA+C;AACvEC,EAAAA,mBAAmB,EAAE,2CAA2C;AAChEC,EAAAA,oBAAoB,EAAE,6CAA6C;AACnEC,EAAAA,yBAAyB,EAAE,mDAAmD;AAE9EC,EAAAA,oBAAoB,EAAE,oCAAoC;AAC1DC,EAAAA,UAAU,EAAE,iCAAiC;AAC7CC,EAAAA,iBAAiB,EAAE,yCAAyC;AAC5DC,EAAAA,UAAU,EAAE,iCAAiC;AAC7CC,EAAAA,WAAW,EAAE,kCAAkC;AAC/CC,EAAAA,gBAAgB,EAAE,wCAAwC;AAC1DC,EAAAA,gBAAgB,EAAE,wCAAwC;AAC1DC,EAAAA,YAAY,EAAE,mCAAA;AAClB;;;;"}
1
+ {"version":3,"file":"Pagination.tokens.js","sources":["../../../src/components/Pagination/Pagination.tokens.ts"],"sourcesContent":["export const classes = {\n wrapper: 'pagination-wrapper',\n pages: 'pagination-pages',\n actions: 'pagination-actions',\n perPage: 'pagination-perpage-select',\n quickJump: 'pagination-quick-jump-page',\n\n selectWrapper: 'pagination-select-wrapper',\n\n defaultType: 'pagination-type-default',\n compactType: 'pagination-type-compact',\n\n withHasQuickJump: 'pagination-has-quick-jump',\n withHasPerPageSelect: 'pagination-has-perpage-select',\n\n paginationPageButton: 'pagination-page-button',\n paginationPageButtonActive: 'pagination-page-button-active',\n\n paginationIconReverse: 'pagination-icon-reverse',\n buttonDisabled: 'pagination-button-disabled',\n};\n\nexport const tokens = {\n paginationWidth: '--plasma-pagination-width',\n paginationColor: '--plasma-pagination-color',\n\n buttonBackgroundColor: '--plasma-pagination-button-bg-color',\n buttonBackgroundColorHover: '--plasma-pagination-button-bg-color-hover',\n buttonBackgroundColorActive: '--plasma-pagination-button-bg-color-active',\n buttonColor: '--plasma-pagination-button-color',\n buttonColorHover: '--plasma-pagination-button-color-hover',\n buttonColorActive: '--plasma-pagination-button-color-active',\n buttonHoverColor: '--plasma-pagination-button-color-hover',\n buttonActiveColor: '--plasma-pagination--button-color-active',\n buttonFocusColor: '--plasma-pagination--button-color-focus',\n buttonArrowColor: '--plasma-pagination--button-arrow-color',\n buttonArrowColorHover: '--plasma-pagination--button-arrow-color-hover',\n buttonArrowColorActive: '--plasma-pagination--button-arrow-color-active',\n buttonArrowMargin: '--plasma-pagination--button-arrow-margin',\n\n paginationCurrentButtonBackgroundColor: '--plasma-pagination-button-current-bg-color',\n paginationCurrentButtonColor: '--plasma-pagination-button-current-color',\n paginationCurrentButtonHoverBackgroundColor: '--plasma-pagination-button-current-bg-color-hover',\n paginationCurrentButtonHoverColor: '--plasma-pagination-button-current-color-hover',\n paginationCurrentButtonActiveBackgroundColor: '--plasma-pagination-button-current-bg-color-active',\n paginationCurrentButtonActiveColor: '--plasma-pagination--button-current-color-active',\n paginationDisabledButtonColor: '--plasma-pagination--button-color-disabled',\n paginationDisabledButtonBackgroundColor: '--plasma-pagination--button-bg-color-disabled',\n\n buttonDisabledOpacity: '--plasma-pagination-button-disabled-opacity',\n\n buttonHeight: '--plasma-pagination-button-height',\n buttonWidthShorter: '--plasma-pagination-button-width-shorter',\n buttonWidth: '--plasma-pagination-button-width',\n paginationInputWidth: '--plasma-pagination-input-width',\n buttonRadius: '--plasma-pagination-button-radius',\n paginationIconSize: '--plasma-pagination-icon-size',\n paginationIconDoubleSize: '--plasma-pagination-icon-double-size',\n\n paginationFontFamily: '--plasma-pagination-font-family',\n paginationFontSize: '--plasma-pagination-font-size',\n paginationFontStyle: '--plasma-pagination-font-style',\n paginationFontWeight: '--plasma-pagination-font-weight',\n paginationLetterSpacing: '--plasma-pagination-letter-spacing',\n paginationLineHeight: '--plasma-pagination-line-height',\n\n selectHeight: '--plasma-pagination-select-height',\n selectPaddingTop: '--plasma-pagination-select-padding-top',\n selectPaddingRight: '--plasma-pagination-select-padding-right',\n selectPaddingBottom: '--plasma-pagination-select-padding-bottom',\n selectPaddingLeft: '--plasma-pagination-select-padding-left',\n selectBackgroundColor: '--plasma-pagination-select-bg-color',\n\n selectItemHeight: '--plasma-pagination-select-item-height',\n selectItemPadding: '--plasma-pagination-select-item-padding',\n selectItemContentLeftWidth: '--plasma-pagination-select-item-content-left-width',\n selectItemBackground: '--plasma-pagination-select-item-bg-color',\n\n selectTargetArrowRight: '--plasma-pagination-select-target-arrow-right',\n selectTargetPadding: '--plasma-pagination-select-target-padding',\n selectTargetInnerTop: '--plasma-pagination-select-target-inner-top',\n selectTargetLabelInnerTop: '--plasma-pagination-select-target-label-inner-top',\n\n inputBackgroundColor: '--plasma-pagination-input-bg-color',\n inputColor: '--plasma-pagination-input-color',\n inputBorderRadius: '--plasma-pagination-input-border-radius',\n inputWidth: '--plasma-pagination-input-width',\n inputHeight: '--plasma-pagination-input-height',\n inputBorderColor: '--plasma-pagination-input-border-color',\n inputBorderWidth: '--plasma-pagination-input-border-width',\n inputPadding: '--plasma-pagination-input-padding',\n};\n"],"names":["classes","wrapper","pages","actions","perPage","quickJump","selectWrapper","defaultType","compactType","withHasQuickJump","withHasPerPageSelect","paginationPageButton","paginationPageButtonActive","paginationIconReverse","buttonDisabled","tokens","paginationWidth","paginationColor","buttonBackgroundColor","buttonBackgroundColorHover","buttonBackgroundColorActive","buttonColor","buttonColorHover","buttonColorActive","buttonHoverColor","buttonActiveColor","buttonFocusColor","buttonArrowColor","buttonArrowColorHover","buttonArrowColorActive","buttonArrowMargin","paginationCurrentButtonBackgroundColor","paginationCurrentButtonColor","paginationCurrentButtonHoverBackgroundColor","paginationCurrentButtonHoverColor","paginationCurrentButtonActiveBackgroundColor","paginationCurrentButtonActiveColor","paginationDisabledButtonColor","paginationDisabledButtonBackgroundColor","buttonDisabledOpacity","buttonHeight","buttonWidthShorter","buttonWidth","paginationInputWidth","buttonRadius","paginationIconSize","paginationIconDoubleSize","paginationFontFamily","paginationFontSize","paginationFontStyle","paginationFontWeight","paginationLetterSpacing","paginationLineHeight","selectHeight","selectPaddingTop","selectPaddingRight","selectPaddingBottom","selectPaddingLeft","selectBackgroundColor","selectItemHeight","selectItemPadding","selectItemContentLeftWidth","selectItemBackground","selectTargetArrowRight","selectTargetPadding","selectTargetInnerTop","selectTargetLabelInnerTop","inputBackgroundColor","inputColor","inputBorderRadius","inputWidth","inputHeight","inputBorderColor","inputBorderWidth","inputPadding"],"mappings":"AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,OAAO,EAAE,oBAAoB;AAC7BC,EAAAA,KAAK,EAAE,kBAAkB;AACzBC,EAAAA,OAAO,EAAE,oBAAoB;AAC7BC,EAAAA,OAAO,EAAE,2BAA2B;AACpCC,EAAAA,SAAS,EAAE,4BAA4B;AAEvCC,EAAAA,aAAa,EAAE,2BAA2B;AAE1CC,EAAAA,WAAW,EAAE,yBAAyB;AACtCC,EAAAA,WAAW,EAAE,yBAAyB;AAEtCC,EAAAA,gBAAgB,EAAE,2BAA2B;AAC7CC,EAAAA,oBAAoB,EAAE,+BAA+B;AAErDC,EAAAA,oBAAoB,EAAE,wBAAwB;AAC9CC,EAAAA,0BAA0B,EAAE,+BAA+B;AAE3DC,EAAAA,qBAAqB,EAAE,yBAAyB;AAChDC,EAAAA,cAAc,EAAE,4BAAA;AACpB,EAAC;AAEM,IAAMC,MAAM,GAAG;AAClBC,EAAAA,eAAe,EAAE,2BAA2B;AAC5CC,EAAAA,eAAe,EAAE,2BAA2B;AAE5CC,EAAAA,qBAAqB,EAAE,qCAAqC;AAC5DC,EAAAA,0BAA0B,EAAE,2CAA2C;AACvEC,EAAAA,2BAA2B,EAAE,4CAA4C;AACzEC,EAAAA,WAAW,EAAE,kCAAkC;AAC/CC,EAAAA,gBAAgB,EAAE,wCAAwC;AAC1DC,EAAAA,iBAAiB,EAAE,yCAAyC;AAC5DC,EAAAA,gBAAgB,EAAE,wCAAwC;AAC1DC,EAAAA,iBAAiB,EAAE,0CAA0C;AAC7DC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AE5DC,EAAAA,gBAAgB,EAAE,wCAAwC;AAC1DC,EAAAA,iBAAiB,EAAE,yCAAyC;AAC5DC,EAAAA,0BAA0B,EAAE,oDAAoD;AAChFC,EAAAA,oBAAoB,EAAE,0CAA0C;AAEhEC,EAAAA,sBAAsB,EAAE,+CAA+C;AACvEC,EAAAA,mBAAmB,EAAE,2CAA2C;AAChEC,EAAAA,oBAAoB,EAAE,6CAA6C;AACnEC,EAAAA,yBAAyB,EAAE,mDAAmD;AAE9EC,EAAAA,oBAAoB,EAAE,oCAAoC;AAC1DC,EAAAA,UAAU,EAAE,iCAAiC;AAC7CC,EAAAA,iBAAiB,EAAE,yCAAyC;AAC5DC,EAAAA,UAAU,EAAE,iCAAiC;AAC7CC,EAAAA,WAAW,EAAE,kCAAkC;AAC/CC,EAAAA,gBAAgB,EAAE,wCAAwC;AAC1DC,EAAAA,gBAAgB,EAAE,wCAAwC;AAC1DC,EAAAA,YAAY,EAAE,mCAAA;AAClB;;;;"}
@@ -106,6 +106,6 @@
106
106
  .Select_styles_1nzals0_ogpldc9__beedd761{display:block;margin-bottom:var(--plasma-select-label-offset);color:var(--text-primary);font-family:var(--plasma-select-font-family);font-size:var(--plasma-select-font-size);font-style:var(--plasma-select-font-style);font-weight:var(--plasma-select-font-weight);-webkit-letter-spacing:var(--plasma-select-font-letter-spacing);-moz-letter-spacing:var(--plasma-select-font-letter-spacing);-ms-letter-spacing:var(--plasma-select-font-letter-spacing);letter-spacing:var(--plasma-select-font-letter-spacing);line-height:var(--plasma-select-font-line-height);}
107
107
  .Select_styles_1nzals0_h2ef052__beedd761{margin-top:var(--plasma-select-helper-text-offset);color:var(--plasma-select-helper-text-color);font-family:var(--plasma-typo-body-xs-font-family);font-size:var(--plasma-typo-body-xs-font-size);font-style:var(--plasma-typo-body-xs-font-style);font-weight:var(--plasma-typo-body-xs-font-weight);-webkit-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);-moz-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);-ms-letter-spacing:var(--plasma-typo-body-xs-letter-spacing);letter-spacing:var(--plasma-typo-body-xs-letter-spacing);line-height:var(--plasma-typo-body-xs-line-height);}
108
108
 
109
- .PaginationSelectPerPage_styles_187mk6b_s1e57mfu__a3b3456a{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;gap:0.5rem;}
110
- .PaginationSelectPerPage_styles_187mk6b_s5dck5y__a3b3456a{--plasma-select-target-button-color:var(--plasma-pagination-button-color);--plasma-select-target-button-color-hover:var(--plasma-pagination-button-color-hover);--plasma-select-target-button-color-active:var(--plasma-pagination-button-color-active);--plasma-select-target-button-background-color:var(--plasma-pagination-button-bg-color);--plasma-select-target-button-background-color-hover:var(--plasma-pagination-button-bg-color-hover);--plasma-select-target-button-background-color-active:var(--plasma-pagination-button-bg-color-active);--plasma-select-target-height:var(--plasma-pagination-button-height);--plasma-select-target-button-padding:var(--plasma-pagination-select-target-padding);--plasma-select-border-radius:var(--plasma-pagination-button-radius);--plasma-select-target-button-arrow-color:var(--plasma-pagination--button-arrow-color);--plasma-select-target-button-arrow-color-hover:var(--plasma-pagination--button-arrow-color-hover);--plasma-select-target-button-arrow-color-active:var(--plasma-pagination--button-arrow-color-active);--plasma-select-target-button-arrow-margin:var(--plasma-pagination--button-arrow-margin);--plasma-select-padding:0.125rem;--plasma-select-focus-offset:0.125rem;--plasma-select-item-padding:var(--plasma-pagination-select-item-padding);--plasma-select-item-border-radius:calc(var(--plasma-pagination-button-radius) - 0.125rem);--plasma-select-item-icon-margin:0 0.375rem 0 0;--plasma-select-item-icon-size:1.5rem;--plasma-select-item-height:var(--plasma-pagination-select-item-height);}
111
- .PaginationSelectPerPage_styles_187mk6b_squvg2e__a3b3456a{font-family:var(--plasma-pagination-font-family);font-size:var(--plasma-pagination-font-size);font-style:var(--plasma-pagination-font-style);font-weight:var(--plasma-pagination-font-weight);-webkit-letter-spacing:var(--plasma-pagination-letter-spacing);-moz-letter-spacing:var(--plasma-pagination-letter-spacing);-ms-letter-spacing:var(--plasma-pagination-letter-spacing);letter-spacing:var(--plasma-pagination-letter-spacing);line-height:var(--plasma-pagination-line-height);}
109
+ .PaginationSelectPerPage_styles_1fesyfv_s1e57mfu__09044c9e{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;gap:0.5rem;}
110
+ .PaginationSelectPerPage_styles_1fesyfv_s5dck5y__09044c9e{--plasma-select-target-button-color:var(--plasma-pagination-button-color);--plasma-select-target-button-color-hover:var(--plasma-pagination-button-color-hover);--plasma-select-target-button-color-active:var(--plasma-pagination-button-color-active);--plasma-select-target-button-background-color:var(--plasma-pagination-button-bg-color);--plasma-select-target-button-background-color-hover:var(--plasma-pagination-button-bg-color-hover);--plasma-select-target-button-background-color-active:var(--plasma-pagination-button-bg-color-active);--plasma-select-target-height:var(--plasma-pagination-button-height);--plasma-select-target-button-padding:var(--plasma-pagination-select-target-padding);--plasma-select-border-radius:var(--plasma-pagination-button-radius);--plasma-select-target-button-arrow-color:var(--plasma-pagination--button-arrow-color);--plasma-select-target-button-arrow-color-hover:var(--plasma-pagination--button-arrow-color-hover);--plasma-select-target-button-arrow-color-active:var(--plasma-pagination--button-arrow-color-active);--plasma-select-target-button-arrow-margin:var(--plasma-pagination--button-arrow-margin);--plasma-select-padding:0.125rem;--plasma-select-focus-offset:0.125rem;--plasma-select-item-padding:var(--plasma-pagination-select-item-padding);--plasma-select-item-border-radius:calc(var(--plasma-pagination-button-radius) - 0.125rem);--plasma-select-item-icon-margin:0 0.375rem 0 0;--plasma-select-item-icon-size:1.5rem;--plasma-select-item-height:var(--plasma-pagination-select-item-height);--plasma-select-font-family:var(--plasma-pagination-font-family);--plasma-select-font-size:var(--plasma-pagination-font-size);--plasma-select-font-style:var(--plasma-pagination-font-style);--plasma-select-font-weight:var(--plasma-pagination-font-weight);--plasma-select-font-letter-spacing:var(--plasma-pagination-letter-spacing);--plasma-select-font-line-height:var(--plasma-pagination-line-height);}
111
+ .PaginationSelectPerPage_styles_1fesyfv_squvg2e__09044c9e{font-family:var(--plasma-pagination-font-family);font-size:var(--plasma-pagination-font-size);font-style:var(--plasma-pagination-font-style);font-weight:var(--plasma-pagination-font-weight);-webkit-letter-spacing:var(--plasma-pagination-letter-spacing);-moz-letter-spacing:var(--plasma-pagination-letter-spacing);-ms-letter-spacing:var(--plasma-pagination-letter-spacing);letter-spacing:var(--plasma-pagination-letter-spacing);line-height:var(--plasma-pagination-line-height);}
@@ -1,8 +1,7 @@
1
- import './PaginationSelectPerPage.styles_187mk6b.css';
1
+ import './PaginationSelectPerPage.styles_1fesyfv.css';
2
2
  import { styled } from '@linaria/react';
3
- import { selectConfig } from '../../../Select/Select.js';
4
- import '@linaria/core';
5
3
  import { component, mergeConfig } from '../../../../engines/common.js';
4
+ import { selectConfig } from '../../../Select/Select.js';
6
5
 
7
6
  var mergedSelectConfig = /*#__PURE__*/mergeConfig(selectConfig);
8
7
  var Select = /*#__PURE__*/component(mergedSelectConfig);
@@ -1 +1 @@
1
- {"version":3,"file":"PaginationSelectPerPage.styles.js","sources":["../../../../../src/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { selectConfig, selectTokens } from '../../../Select';\nimport { component, mergeConfig } from '../../../../engines';\nimport { tokens } from '../../Pagination.tokens';\n\nconst mergedSelectConfig = mergeConfig(selectConfig);\nconst Select = component(mergedSelectConfig);\n\nexport const SelectPerPageRoot = styled.div`\n display: flex;\n align-items: center;\n gap: 0.5rem;\n`;\n\nexport const SelectPerPageSelect = styled(Select)`\n ${selectTokens.targetButtonColor}: var(${tokens.buttonColor});\n ${selectTokens.targetButtonColorHover}: var(${tokens.buttonColorHover});\n ${selectTokens.targetButtonColorActive}: var(${tokens.buttonColorActive});\n ${selectTokens.targetButtonBackgroundColor}: var(${tokens.buttonBackgroundColor});\n ${selectTokens.targetButtonBackgroundColorHover}: var(${tokens.buttonBackgroundColorHover});\n ${selectTokens.targetButtonBackgroundColorActive}: var(${tokens.buttonBackgroundColorActive});\n ${selectTokens.targetHeight}: var(${tokens.buttonHeight});\n ${selectTokens.targetButtonPadding}: var(${tokens.selectTargetPadding});\n ${selectTokens.borderRadius}: var(${tokens.buttonRadius});\n ${selectTokens.targetButtonArrowColor}: var(${tokens.buttonArrowColor});\n ${selectTokens.targetButtonArrowColorHover}: var(${tokens.buttonArrowColorHover});\n ${selectTokens.targetButtonArrowColorActive}: var(${tokens.buttonArrowColorActive});\n ${selectTokens.targetButtonArrowMargin}: var(${tokens.buttonArrowMargin});\n\n ${selectTokens.padding}: 0.125rem;\n ${selectTokens.focusOffset}: 0.125rem;\n ${selectTokens.itemPadding}: var(${tokens.selectItemPadding});\n ${selectTokens.itemBorderRadius}: calc(var(${tokens.buttonRadius}) - 0.125rem);\n ${selectTokens.itemIconMargin}: 0 0.375rem 0 0;\n ${selectTokens.itemIconSize}: 1.5rem;\n ${selectTokens.itemHeight}: var(${tokens.selectItemHeight});\n`;\n\nexport const SelectPerPageTypography = styled.div`\n font-family: var(${tokens.paginationFontFamily});\n font-size: var(${tokens.paginationFontSize});\n font-style: var(${tokens.paginationFontStyle});\n font-weight: var(${tokens.paginationFontWeight});\n letter-spacing: var(${tokens.paginationLetterSpacing});\n line-height: var(${tokens.paginationLineHeight});\n`;\n"],"names":["mergedSelectConfig","mergeConfig","selectConfig","Select","component","SelectPerPageRoot","styled","name","class","propsAsIs","_exp","SelectPerPageSelect","SelectPerPageTypography"],"mappings":";;;;;AAMA,IAAMA,kBAAkB,gBAAGC,WAAW,CAACC,YAAY,CAAC,CAAA;AACpD,IAAMC,MAAM,gBAAGC,SAAS,CAACJ,kBAAkB,CAAC,CAAA;AAErC,IAAMK,iBAAiB,gBAAGC,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,mBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAItC,EAAA;AAAC,IAAAC,IAAA,GAZgBA,SAYhBA,IAAAA,GAAA;AAAA,EAAA,OAEwCP,MAAM,CAAA;AAAA,CAAA,CAAA;AAAzC,IAAMQ,mBAAmB,gBAAGL,MAAM,CAAAI,IAAA,EAAA,CAAA,CAAA;AAAAH,EAAAA,IAAA,EAAA,qBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAsBxC,EAAA;AAEM,IAAMG,uBAAuB,gBAAGN,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,yBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAO5C;;;;"}
1
+ {"version":3,"file":"PaginationSelectPerPage.styles.js","sources":["../../../../../src/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { selectConfig, selectTokens } from '../../../Select';\nimport { component, mergeConfig } from '../../../../engines';\nimport { tokens } from '../../Pagination.tokens';\n\nconst mergedSelectConfig = mergeConfig(selectConfig);\nconst Select = component(mergedSelectConfig);\n\nexport const SelectPerPageRoot = styled.div`\n display: flex;\n align-items: center;\n gap: 0.5rem;\n`;\n\nexport const SelectPerPageSelect = styled(Select)`\n ${selectTokens.targetButtonColor}: var(${tokens.buttonColor});\n ${selectTokens.targetButtonColorHover}: var(${tokens.buttonColorHover});\n ${selectTokens.targetButtonColorActive}: var(${tokens.buttonColorActive});\n ${selectTokens.targetButtonBackgroundColor}: var(${tokens.buttonBackgroundColor});\n ${selectTokens.targetButtonBackgroundColorHover}: var(${tokens.buttonBackgroundColorHover});\n ${selectTokens.targetButtonBackgroundColorActive}: var(${tokens.buttonBackgroundColorActive});\n ${selectTokens.targetHeight}: var(${tokens.buttonHeight});\n ${selectTokens.targetButtonPadding}: var(${tokens.selectTargetPadding});\n ${selectTokens.borderRadius}: var(${tokens.buttonRadius});\n ${selectTokens.targetButtonArrowColor}: var(${tokens.buttonArrowColor});\n ${selectTokens.targetButtonArrowColorHover}: var(${tokens.buttonArrowColorHover});\n ${selectTokens.targetButtonArrowColorActive}: var(${tokens.buttonArrowColorActive});\n ${selectTokens.targetButtonArrowMargin}: var(${tokens.buttonArrowMargin});\n\n ${selectTokens.padding}: 0.125rem;\n ${selectTokens.focusOffset}: 0.125rem;\n ${selectTokens.itemPadding}: var(${tokens.selectItemPadding});\n ${selectTokens.itemBorderRadius}: calc(var(${tokens.buttonRadius}) - 0.125rem);\n ${selectTokens.itemIconMargin}: 0 0.375rem 0 0;\n ${selectTokens.itemIconSize}: 1.5rem;\n ${selectTokens.itemHeight}: var(${tokens.selectItemHeight});\n\n ${selectTokens.fontFamily}: var(${tokens.paginationFontFamily});\n ${selectTokens.fontSize}: var(${tokens.paginationFontSize});\n ${selectTokens.fontStyle}: var(${tokens.paginationFontStyle});\n ${selectTokens.fontWeight}: var(${tokens.paginationFontWeight});\n ${selectTokens.fontLetterSpacing}: var(${tokens.paginationLetterSpacing});\n ${selectTokens.fontLineHeight}: var(${tokens.paginationLineHeight});\n`;\n\nexport const SelectPerPageTypography = styled.div`\n font-family: var(${tokens.paginationFontFamily});\n font-size: var(${tokens.paginationFontSize});\n font-style: var(${tokens.paginationFontStyle});\n font-weight: var(${tokens.paginationFontWeight});\n letter-spacing: var(${tokens.paginationLetterSpacing});\n line-height: var(${tokens.paginationLineHeight});\n`;\n"],"names":["mergedSelectConfig","mergeConfig","selectConfig","Select","component","SelectPerPageRoot","styled","name","class","propsAsIs","_exp","SelectPerPageSelect","SelectPerPageTypography"],"mappings":";;;;AAMA,IAAMA,kBAAkB,gBAAGC,WAAW,CAACC,YAAY,CAAC,CAAA;AACpD,IAAMC,MAAM,gBAAGC,SAAS,CAACJ,kBAAkB,CAAC,CAAA;AAErC,IAAMK,iBAAiB,gBAAGC,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,mBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAItC,EAAA;AAAC,IAAAC,IAAA,GAZgBA,SAYhBA,IAAAA,GAAA;AAAA,EAAA,OAEwCP,MAAM,CAAA;AAAA,CAAA,CAAA;AAAzC,IAAMQ,mBAAmB,gBAAGL,MAAM,CAAAI,IAAA,EAAA,CAAA,CAAA;AAAAH,EAAAA,IAAA,EAAA,qBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CA6BxC,EAAA;AAEM,IAAMG,uBAAuB,gBAAGN,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,yBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAO5C;;;;"}
@@ -1,3 +1,3 @@
1
1
  .s1e57mfu{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;gap:0.5rem;}
2
- .s5dck5y{--plasma-select-target-button-color:var(--plasma-pagination-button-color);--plasma-select-target-button-color-hover:var(--plasma-pagination-button-color-hover);--plasma-select-target-button-color-active:var(--plasma-pagination-button-color-active);--plasma-select-target-button-background-color:var(--plasma-pagination-button-bg-color);--plasma-select-target-button-background-color-hover:var(--plasma-pagination-button-bg-color-hover);--plasma-select-target-button-background-color-active:var(--plasma-pagination-button-bg-color-active);--plasma-select-target-height:var(--plasma-pagination-button-height);--plasma-select-target-button-padding:var(--plasma-pagination-select-target-padding);--plasma-select-border-radius:var(--plasma-pagination-button-radius);--plasma-select-target-button-arrow-color:var(--plasma-pagination--button-arrow-color);--plasma-select-target-button-arrow-color-hover:var(--plasma-pagination--button-arrow-color-hover);--plasma-select-target-button-arrow-color-active:var(--plasma-pagination--button-arrow-color-active);--plasma-select-target-button-arrow-margin:var(--plasma-pagination--button-arrow-margin);--plasma-select-padding:0.125rem;--plasma-select-focus-offset:0.125rem;--plasma-select-item-padding:var(--plasma-pagination-select-item-padding);--plasma-select-item-border-radius:calc(var(--plasma-pagination-button-radius) - 0.125rem);--plasma-select-item-icon-margin:0 0.375rem 0 0;--plasma-select-item-icon-size:1.5rem;--plasma-select-item-height:var(--plasma-pagination-select-item-height);}
2
+ .s5dck5y{--plasma-select-target-button-color:var(--plasma-pagination-button-color);--plasma-select-target-button-color-hover:var(--plasma-pagination-button-color-hover);--plasma-select-target-button-color-active:var(--plasma-pagination-button-color-active);--plasma-select-target-button-background-color:var(--plasma-pagination-button-bg-color);--plasma-select-target-button-background-color-hover:var(--plasma-pagination-button-bg-color-hover);--plasma-select-target-button-background-color-active:var(--plasma-pagination-button-bg-color-active);--plasma-select-target-height:var(--plasma-pagination-button-height);--plasma-select-target-button-padding:var(--plasma-pagination-select-target-padding);--plasma-select-border-radius:var(--plasma-pagination-button-radius);--plasma-select-target-button-arrow-color:var(--plasma-pagination--button-arrow-color);--plasma-select-target-button-arrow-color-hover:var(--plasma-pagination--button-arrow-color-hover);--plasma-select-target-button-arrow-color-active:var(--plasma-pagination--button-arrow-color-active);--plasma-select-target-button-arrow-margin:var(--plasma-pagination--button-arrow-margin);--plasma-select-padding:0.125rem;--plasma-select-focus-offset:0.125rem;--plasma-select-item-padding:var(--plasma-pagination-select-item-padding);--plasma-select-item-border-radius:calc(var(--plasma-pagination-button-radius) - 0.125rem);--plasma-select-item-icon-margin:0 0.375rem 0 0;--plasma-select-item-icon-size:1.5rem;--plasma-select-item-height:var(--plasma-pagination-select-item-height);--plasma-select-font-family:var(--plasma-pagination-font-family);--plasma-select-font-size:var(--plasma-pagination-font-size);--plasma-select-font-style:var(--plasma-pagination-font-style);--plasma-select-font-weight:var(--plasma-pagination-font-weight);--plasma-select-font-letter-spacing:var(--plasma-pagination-letter-spacing);--plasma-select-font-line-height:var(--plasma-pagination-line-height);}
3
3
  .squvg2e{font-family:var(--plasma-pagination-font-family);font-size:var(--plasma-pagination-font-size);font-style:var(--plasma-pagination-font-style);font-weight:var(--plasma-pagination-font-weight);-webkit-letter-spacing:var(--plasma-pagination-letter-spacing);-moz-letter-spacing:var(--plasma-pagination-letter-spacing);-ms-letter-spacing:var(--plasma-pagination-letter-spacing);letter-spacing:var(--plasma-pagination-letter-spacing);line-height:var(--plasma-pagination-line-height);}
@@ -1,12 +1,11 @@
1
1
  import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../../_virtual/_rollupPluginBabelHelpers.js';
2
2
  import React, { forwardRef } from 'react';
3
3
  import { cx } from '../../../../utils/index.js';
4
- import '@linaria/react';
5
- import { IconClose } from '../../../_Icon/Icons/IconClose.js';
6
4
  import { classes } from '../../Panel.tokens.js';
7
5
  import { placements } from './PanelHeader.types.js';
8
6
  import { StyledHeader, ButtonWrapper, CloseIconWrapper } from './PanelHeader.styles.js';
9
7
  import { base } from './variations/_view/base.js';
8
+ import { IconClose } from '../../../_Icon/Icons/IconClose.js';
10
9
 
11
10
  var _IconClose;
12
11
  var _excluded = ["children", "actions", "view", "className", "onClose", "hasClose", "closePlacement"];
@@ -1 +1 @@
1
- {"version":3,"file":"PanelHeader.js","sources":["../../../../../src/components/Panel/ui/PanelHeader/PanelHeader.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { cx } from '../../../../utils';\nimport { RootProps } from '../../../../engines';\nimport { IconClose } from '../../../_Icon';\nimport { classes } from '../../Panel.tokens';\n\nimport { PanelHeaderProps, placements } from './PanelHeader.types';\nimport { StyledHeader, ButtonWrapper, CloseIconWrapper } from './PanelHeader.styles';\nimport { base as viewCSS } from './variations/_view/base';\n\nexport const panelHeaderRoot = (Root: RootProps<HTMLDivElement, PanelHeaderProps>) =>\n forwardRef<HTMLDivElement, PanelHeaderProps>(\n (\n { children, actions, view, className, onClose, hasClose = 'true', closePlacement = 'right', ...rest },\n outerRef,\n ) => {\n const hasHeaderClass = children ? undefined : classes.hasHeader;\n const isRightCloseClass = closePlacement === placements.right ? classes.isRightClose : undefined;\n\n return (\n <Root ref={outerRef} view={view} className={cx(className, hasHeaderClass, isRightCloseClass)} {...rest}>\n {children && <StyledHeader>{children}</StyledHeader>}\n {actions && <ButtonWrapper>{actions}</ButtonWrapper>}\n {hasClose && (\n <ButtonWrapper placement={closePlacement}>\n <CloseIconWrapper view=\"clear\" size=\"s\" onClick={onClose}>\n <IconClose size=\"s\" color=\"inherit\" />\n </CloseIconWrapper>\n </ButtonWrapper>\n )}\n </Root>\n );\n },\n );\n\nexport const panelHeaderConfig = {\n name: 'PanelHeader',\n tag: 'div',\n layout: panelHeaderRoot,\n base: '',\n variations: {\n view: {\n css: viewCSS,\n },\n },\n defaults: {\n view: 'default',\n },\n};\n"],"names":["panelHeaderRoot","Root","forwardRef","_ref","outerRef","children","actions","view","className","onClose","_ref$hasClose","hasClose","_ref$closePlacement","closePlacement","rest","_objectWithoutProperties","_excluded","hasHeaderClass","undefined","classes","hasHeader","isRightCloseClass","placements","right","isRightClose","React","createElement","_extends","ref","cx","StyledHeader","ButtonWrapper","placement","CloseIconWrapper","size","onClick","_IconClose","IconClose","color","panelHeaderConfig","name","tag","layout","base","variations","css","viewCSS","defaults"],"mappings":";;;;;;;;;;;;IAWaA,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,IAAiD,EAAA;AAAA,EAAA,oBAC7EC,UAAU,CACN,UAAAC,IAAA,EAEIC,QAAQ,EACP;AAAA,IAAA,IAFCC,QAAQ,GAAAF,IAAA,CAARE,QAAQ;MAAEC,OAAO,GAAAH,IAAA,CAAPG,OAAO;MAAEC,IAAI,GAAAJ,IAAA,CAAJI,IAAI;MAAEC,SAAS,GAAAL,IAAA,CAATK,SAAS;MAAEC,OAAO,GAAAN,IAAA,CAAPM,OAAO;MAAAC,aAAA,GAAAP,IAAA,CAAEQ,QAAQ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ACH,MAAAA,IAAI,EAAC,GAAG;AAACI,MAAAA,KAAK,EAAC,SAAA;AAAS,KAAE,CAAC,CACxB,CACP,CAEjB,CAAC,CAAA;AAEf,GACJ,CAAC,CAAA;AAAA,EAAA;AAEE,IAAMC,iBAAiB,GAAG;AAC7BC,EAAAA,IAAI,EAAE,aAAa;AACnBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAE1C,eAAe;AACvB2C,EAAAA,IAAI,EAAE,EAAE;AACRC,EAAAA,UAAU,EAAE;AACRrC,IAAAA,IAAI,EAAE;AACFsC,MAAAA,GAAG,EAAEC,IAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNxC,IAAAA,IAAI,EAAE,SAAA;AACV,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"PanelHeader.js","sources":["../../../../../src/components/Panel/ui/PanelHeader/PanelHeader.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\n\nimport { cx } from '../../../../utils';\nimport { RootProps } from '../../../../engines';\nimport { IconClose } from '../../../_Icon';\nimport { classes } from '../../Panel.tokens';\n\nimport { PanelHeaderProps, placements } from './PanelHeader.types';\nimport { StyledHeader, ButtonWrapper, CloseIconWrapper } from './PanelHeader.styles';\nimport { base as viewCSS } from './variations/_view/base';\n\nexport const panelHeaderRoot = (Root: RootProps<HTMLDivElement, PanelHeaderProps>) =>\n forwardRef<HTMLDivElement, PanelHeaderProps>(\n (\n { children, actions, view, className, onClose, hasClose = 'true', closePlacement = 'right', ...rest },\n outerRef,\n ) => {\n const hasHeaderClass = children ? undefined : classes.hasHeader;\n const isRightCloseClass = closePlacement === placements.right ? classes.isRightClose : undefined;\n\n return (\n <Root ref={outerRef} view={view} className={cx(className, hasHeaderClass, isRightCloseClass)} {...rest}>\n {children && <StyledHeader>{children}</StyledHeader>}\n {actions && <ButtonWrapper>{actions}</ButtonWrapper>}\n {hasClose && (\n <ButtonWrapper placement={closePlacement}>\n <CloseIconWrapper view=\"clear\" size=\"s\" onClick={onClose}>\n <IconClose size=\"s\" color=\"inherit\" />\n </CloseIconWrapper>\n </ButtonWrapper>\n )}\n </Root>\n );\n },\n );\n\nexport const panelHeaderConfig = {\n name: 'PanelHeader',\n tag: 'div',\n layout: panelHeaderRoot,\n base: '',\n variations: {\n view: {\n css: viewCSS,\n },\n },\n defaults: {\n view: 'default',\n },\n};\n"],"names":["panelHeaderRoot","Root","forwardRef","_ref","outerRef","children","actions","view","className","onClose","_ref$hasClose","hasClose","_ref$closePlacement","closePlacement","rest","_objectWithoutProperties","_excluded","hasHeaderClass","undefined","classes","hasHeader","isRightCloseClass","placements","right","isRightClose","React","createElement","_extends","ref","cx","StyledHeader","ButtonWrapper","placement","CloseIconWrapper","size","onClick","_IconClose","IconClose","color","panelHeaderConfig","name","tag","layout","base","variations","css","viewCSS","defaults"],"mappings":";;;;;;;;;;;IAWaA,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,IAAiD,EAAA;AAAA,EAAA,oBAC7EC,UAAU,CACN,UAAAC,IAAA,EAEIC,QAAQ,EACP;AAAA,IAAA,IAFCC,QAAQ,GAAAF,IAAA,CAARE,QAAQ;MAAEC,OAAO,GAAAH,IAAA,CAAPG,OAAO;MAAEC,IAAI,GAAAJ,IAAA,CAAJI,IAAI;MAAEC,SAAS,GAAAL,IAAA,CAATK,SAAS;MAAEC,OAAO,GAAAN,IAAA,CAAPM,OAAO;MAAAC,aAAA,GAAAP,IAAA,CAAEQ,QAAQ;AAARA,MAAAA,QAAQ,GAAAD,aAAA,KAAG,KAAA,CAAA,GAAA,MAAM,GAAAA,aAAA;MAAAE,mBAAA,GAAAT,IAAA,CAAEU,cAAc;AAAdA,MAAAA,cAAc,GAAAD,mBAAA,KAAG,KAAA,CAAA,GAAA,OAAO,GAAAA,mBAAA;AAAKE,MAAAA,IAAI,GAAAC,wBAAA,CAAAZ,IAAA,EAAAa,SAAA,CAAA,CAAA;IAGnG,IAAMC,cAAc,GAAGZ,QAAQ,GAAGa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AA,UAAU,EAAE;AACRrC,IAAAA,IAAI,EAAE;AACFsC,MAAAA,GAAG,EAAEC,IAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNxC,IAAAA,IAAI,EAAE,SAAA;AACV,GAAA;AACJ;;;;"}
@@ -1,9 +1,8 @@
1
1
  import './PanelHeader.styles_1cid6t7.css';
2
2
  import { styled } from '@linaria/react';
3
- import '@linaria/core';
3
+ import { placements } from './PanelHeader.types.js';
4
4
  import { component, mergeConfig } from '../../../../engines/common.js';
5
5
  import { buttonConfig } from '../../../Button/Button.js';
6
- import { placements } from './PanelHeader.types.js';
7
6
 
8
7
  var mergedButtonConfig = /*#__PURE__*/mergeConfig(buttonConfig);
9
8
  var Button = /*#__PURE__*/component(mergedButtonConfig);
@@ -1 +1 @@
1
- {"version":3,"file":"PanelHeader.styles.js","sources":["../../../../../src/components/Panel/ui/PanelHeader/PanelHeader.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { mergeConfig, component } from '../../../../engines';\nimport { buttonConfig } from '../../../Button';\nimport { tokens } from '../../Panel.tokens';\n\nimport { ClosePlacementType, placements } from './PanelHeader.types';\n\nconst mergedButtonConfig = mergeConfig(buttonConfig);\nconst Button = component(mergedButtonConfig);\n\nexport const ButtonWrapper = styled.div<{ placement?: ClosePlacementType }>`\n background: var(${tokens.background});\n\n order: ${({ placement }) => (placement === placements.left ? -1 : 0)};\n padding-left: ${({ placement }) => (!placement || placement === placements.right ? '0.5rem' : '')};\n padding-right: ${({ placement }) => (placement === placements.left ? '0.5rem' : '')};\n`;\n\nexport const StyledHeader = styled.div`\n height: fit-content;\n flex-grow: 1;\n`;\n\nexport const CloseIconWrapper = styled(Button)`\n position: relative;\n width: 1.5rem;\n min-height: 1.5rem;\n`;\n"],"names":["mergedButtonConfig","mergeConfig","buttonConfig","Button","component","_exp2","_ref","placement","placements","left","_exp3","_ref2","right","_exp4","_ref3","ButtonWrapper","styled","name","class","propsAsIs","vars","StyledH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cACpDK,KAAiF,EAAA,CAAA;AAAA,IAAA,WAAA,EAAA,cAChFG,KAAkE,EAAA,CAAA;AAAA,GAAA;AAAA,CACtF,EAAA;AAEM,IAAMQ,YAAY,gBAAGL,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,cAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAGjC,EAAA;AAAC,IAAAG,KAAA,GArBgBA,SAqBhBA,KAAAA,GAAA;AAAA,EAAA,OAEqCnB,MAAM,CAAA;AAAA,CAAA,CAAA;AAAtC,IAAMoB,gBAAgB,gBAAGP,MAAM,CAAAM,KAAA,EAAA,CAAA,CAAA;AAAAL,EAAAA,IAAA,EAAA,kBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAIrC;;;;"}
1
+ {"version":3,"file":"PanelHeader.styles.js","sources":["../../../../../src/components/Panel/ui/PanelHeader/PanelHeader.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { mergeConfig, component } from '../../../../engines';\nimport { buttonConfig } from '../../../Button';\nimport { tokens } from '../../Panel.tokens';\n\nimport { ClosePlacementType, placements } from './PanelHeader.types';\n\nconst mergedButtonConfig = mergeConfig(buttonConfig);\nconst Button = component(mergedButtonConfig);\n\nexport const ButtonWrapper = styled.div<{ placement?: ClosePlacementType }>`\n background: var(${tokens.background});\n\n order: ${({ placement }) => (placement === placements.left ? -1 : 0)};\n padding-left: ${({ placement }) => (!placement || placement === placements.right ? '0.5rem' : '')};\n padding-right: ${({ placement }) => (placement === placements.left ? '0.5rem' : '')};\n`;\n\nexport const StyledHeader = styled.div`\n height: fit-content;\n flex-grow: 1;\n`;\n\nexport const CloseIconWrapper = styled(Button)`\n position: relative;\n width: 1.5rem;\n min-height: 1.5rem;\n`;\n"],"names":["mergedButtonConfig","mergeConfig","buttonConfig","Button","component","_exp2","_ref","placement","placements","left","_exp3","_ref2","right","_exp4","_ref3","ButtonWrapper","styled","name","class","propsAsIs","vars","StyledHeader","_exp5","CloseIconWrapper"],"mappings":";;;;;AAQA,IAAMA,kBAAkB,gBAAGC,WAAW,CAACC,YAAY,CAAC,CAAA;AACpD,IAAMC,MAAM,gBAAGC,SAAS,CAACJ,kBAAkB,CAAC,CAAA;AAAC,IAAAK,KAAA,GAR3BA,SAQ2BA,KAAAA,GAAA;AAAA,EAAA,OAKhC,UAAAC,IAAA,EAAA;AAAA,IAAA,IAAGC,SAAAA,GAAAA,IAAAA,CAAAA,SAAAA,CAAAA;IAAAA,OAAiBA,SAAS,KAAKC,UAAU,CAACC,IAAI,GAAG,CAAC,CAAC,GAAG,CAAE,CAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA;AAAA,IAAAC,KAAA,GAbtDA,SAasDA,KAAAA,GAAA;AAAA,EAAA,OACpD,UAAAC,KAAA,EAAA;AAAA,IAAA,IAAGJ,SAAAA,GAAAA,KAAAA,CAAAA,SAAAA,CAAAA;IAAAA,OAAiB,CAACA,SAAS,IAAIA,SAAS,KAAKC,UAAU,CAACI,KAAK,GAAG,QAAQ,GAAG,EAAG,CAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA;AAAA,IAAAC,KAAA,GAdnFA,SAcmFA,KAAAA,GAAA;AAAA,EAAA,OAChF,UAAAC,KAAA,EAAA;AAAA,IAAA,IAAGP,SAAAA,GAAAA,KAAAA,CAAAA,SAAAA,CAAAA;IAAAA,OAAiBA,SAAS,KAAKC,UAAU,CAACC,IAAI,GAAG,QAAQ,GAAG,EAAG,CAAA;AAAA,GAAA,CAAA;AAAA,CAAA,CAAA;AALhF,IAAMM,aAAa,gBAAGC,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,eAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAAC,EAAAA,IAAA,EAAA;AAAA,IAAA,WAAA,EAAA,cAGtBf,KAA2D,EAAA,CAAA;AAAA,IAAA,WAAA,EAAA,cACpDK,KAAiF,EAAA,CAAA;AAAA,IAAA,WAAA,EAAA,cAChFG,KAAkE,EAAA,CAAA;AAAA,GAAA;AAAA,CACtF,EAAA;AAEM,IAAMQ,YAAY,gBAAGL,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,cAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAGjC,EAAA;AAAC,IAAAG,KAAA,GArBgBA,SAqBhBA,KAAAA,GAAA;AAAA,EAAA,OAEqCnB,MAAM,CAAA;AAAA,CAAA,CAAA;AAAtC,IAAMoB,gBAAgB,gBAAGP,MAAM,CAAAM,KAAA,EAAA,CAAA,CAAA;AAAAL,EAAAA,IAAA,EAAA,kBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAIrC;;;;"}
@@ -3,10 +3,10 @@ import React, { forwardRef, useRef, useState, useCallback, useEffect } from 'rea
3
3
  import { usePopper } from 'react-popper';
4
4
  import { useForkRef, useFocusTrap } from '@salutejs/plasma-core';
5
5
  import { cx } from '../../utils/index.js';
6
- import { Portal } from '../Portal/Portal.js';
7
6
  import { base } from './variations/_view/base.js';
8
7
  import { StyledWrapper, StyledRoot, StyledPopover, StyledArrow } from './Popover.styles.js';
9
8
  import { classes } from './Popover.tokens.js';
9
+ import { Portal } from '../Portal/Portal.js';
10
10
 
11
11
  var _excluded = ["target", "children", "isOpen", "opened", "trigger", "hasArrow", "frame", "className", "placement", "offset", "zIndex", "isFocusTrapped", "closeOnEsc", "preventOverflow", "usePortal", "view", "onToggle", "closeOnOverlayClick"];
12
12
  var ESCAPE_KEYCODE = 27;
@@ -2,11 +2,11 @@ import { objectWithoutProperties as _objectWithoutProperties, extends as _extend
2
2
  import React, { forwardRef, useRef } from 'react';
3
3
  import { safeUseId, useForkRef } from '@salutejs/plasma-core';
4
4
  import { cx } from '../../utils/index.js';
5
- import { Portal } from '../Portal/Portal.js';
6
5
  import { PopupRoot } from './PopupRoot.js';
7
- import { usePopup } from './hooks/usePopup.js';
8
6
  import { classes } from './Popup.tokens.js';
9
7
  import { StyledPortalContainer } from './Popup.styles.js';
8
+ import { usePopup } from './hooks/usePopup.js';
9
+ import { Portal } from '../Portal/Portal.js';
10
10
  import { canUseDOM } from '../../utils/canUseDOM.js';
11
11
 
12
12
  var _excluded = ["id", "isOpen", "opened", "placement", "offset", "frame", "children", "overlay", "role", "zIndex", "popupInfo", "withAnimation", "className"];
@@ -1,10 +1,10 @@
1
1
  import { slicedToArray as _slicedToArray, toConsumableArray as _toConsumableArray } from '../../_virtual/_rollupPluginBabelHelpers.js';
2
2
  import React, { useContext, useRef, useState, createContext } from 'react';
3
3
  import { hasModals } from '../Modal/ModalContext.js';
4
+ import { StyledPortal } from './Popup.styles.js';
4
5
  import { canUseDOM } from '../../utils/canUseDOM.js';
5
6
  import { safeUseId } from '../../utils/react.js';
6
7
  import { Portal } from '../Portal/Portal.js';
7
- import { StyledPortal } from './Popup.styles.js';
8
8
 
9
9
  var POPUP_PORTAL_ID = 'plasma-popup-root';
10
10
  var items = [];
@@ -1,6 +1,5 @@
1
1
  import './Range.styles_1qtrrma.css';
2
2
  import { styled } from '@linaria/react';
3
- import '@linaria/core';
4
3
  import { component, mergeConfig } from '../../engines/common.js';
5
4
  import { textFieldConfig } from '../TextField/TextField.js';
6
5
 
@@ -1 +1 @@
1
- {"version":3,"file":"Range.styles.js","sources":["../../../src/components/Range/Range.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\nimport { css } from '@linaria/core';\n\nimport { component, mergeConfig } from '../../engines';\nimport { textFieldConfig, textFieldTokens } from '../TextField';\n\nimport { classes, tokens } from './Range.tokens';\n\nconst mergedConfig = mergeConfig(textFieldConfig);\nconst TextField = component(mergedConfig);\n\n// NOTE: переопределение токенов TextField\nexport const StyledInput = styled(TextField)`\n width: 100%;\n \n ${textFieldTokens.color}: var(${tokens.textFieldColor});\n ${textFieldTokens.placeholderColor}: var(${tokens.textFieldPlaceholderColor});\n ${textFieldTokens.placeholderColorFocus}: var(${tokens.textFieldPlaceholderColorFocus});\n ${textFieldTokens.caretColor}: var(${tokens.textFieldCaretColor});\n ${textFieldTokens.focusColor}: var(${tokens.textFieldFocusColor});\n\n ${textFieldTokens.backgroundColor}: var(${tokens.textFieldBackgroundColor});\n ${textFieldTokens.backgroundColorHover}: var(${tokens.textFieldBackgroundColorHover});\n ${textFieldTokens.backgroundColorFocus}: var(${tokens.textFieldBackgroundColorFocus});\n\n ${textFieldTokens.borderColor}: var(${tokens.textFieldBorderColor});\n ${textFieldTokens.borderColorHover}: var(${tokens.textFieldBorderColorHover});\n ${textFieldTokens.borderColorFocus}: var(${tokens.textFieldBorderColorFocus});\n\n ${textFieldTokens.colorReadOnly}: var(${tokens.textFieldColorReadOnly});\n ${textFieldTokens.backgroundColorReadOnly}: var(${tokens.textFieldBackgroundColorReadOnly});\n ${textFieldTokens.borderColorReadOnly}: var(${tokens.textFieldBorderColorReadOnly});\n ${textFieldTokens.placeholderColorReadOnly}: var(${tokens.textFieldPlaceholderColorReadOnly});\n\n ${textFieldTokens.height}: var(${tokens.textFieldHeight});\n ${textFieldTokens.borderWidth}: var(${tokens.textFieldBorderWidth});\n ${textFieldTokens.borderRadius}: var(${tokens.textFieldBorderRadius});\n\n ${textFieldTokens.padding}: var(${tokens.textFieldPadding});\n\n ${textFieldTokens.leftContentMargin}: var(${tokens.textFieldLeftContentMargin});\n ${textFieldTokens.rightContentMargin}: var(${tokens.textFieldRightContentMargin});\n\n ${textFieldTokens.fontFamily}: var(${tokens.textFieldFontFamily});\n ${textFieldTokens.fontSize}: var(${tokens.textFieldFontSize});\n ${textFieldTokens.fontStyle}: var(${tokens.textFieldFontStyle});\n ${textFieldTokens.fontWeight}: var(${tokens.textFieldFontWeight});\n ${textFieldTokens.letterSpacing}: var(${tokens.textFieldLetterSpacing});\n ${textFieldTokens.lineHeight}: var(${tokens.textFieldLineHeight});\n\n ${textFieldTokens.disabledOpacity}: var(${tokens.disabledOpacity});\n \n ${textFieldTokens.textBeforeColor}: var(${tokens.textFieldTextBeforeColor});\n ${textFieldTokens.textAfterColor}: var(${tokens.textFieldTextAfterColor});\n ${textFieldTokens.textBeforeMargin}: var(${tokens.textFieldTextBeforeMargin});\n ${textFieldTokens.textAfterMargin}: var(${tokens.textFieldTextAfterMargin});\n\n &.${classes.rangeValueError} {\n ${textFieldTokens.backgroundColor}: var(${tokens.textFieldBackgroundErrorColor});\n ${textFieldTokens.backgroundColorHover}: var(${tokens.textFieldBackgroundErrorColorHover});\n ${textFieldTokens.backgroundColorFocus}: var(${tokens.textFieldBackgroundErrorColorFocus});\n \n ${textFieldTokens.borderColor}: var(${tokens.textFieldBorderColorError});\n ${textFieldTokens.borderColorHover}: var(${tokens.textFieldBorderColorErrorHover});\n ${textFieldTokens.borderColorFocus}: var(${tokens.textFieldBorderColorErrorFocus});\n }\n\n &.${classes.rangeValueSuccess} {\n ${textFieldTokens.backgroundColor}: var(${tokens.textFieldBackgroundSuccessColor});\n ${textFieldTokens.backgroundColorHover}: var(${tokens.textFieldBackgroundSuccessColorHover});\n ${textFieldTokens.backgroundColorFocus}: var(${tokens.textFieldBackgroundSuccessColorFocus});\n \n ${textFieldTokens.borderColor}: var(${tokens.textFieldBorderColorSuccess});\n ${textFieldTokens.borderColorHover}: var(${tokens.textFieldBorderColorSuccessHover});\n ${textFieldTokens.borderColorFocus}: var(${tokens.textFieldBorderColorSuccessFocus});\n }\n`;\n\nexport const base = css`\n width: fit-content;\n`;\n\nexport const StyledLabel = styled.label``;\n\nexport const LeftHelper = styled.div``;\n\nexport const ContentWrapper = styled.div`\n display: flex;\n align-items: center;\n`;\n\nexport const StyledDivider = styled.div``;\n\nexport const StyledContentLeft = styled.div`\n line-height: 0;\n`;\n\nexport const StyledContentRight = styled.div``;\n"],"names":["mergedConfig","mergeConfig","textFieldConfig","TextField","component","_exp","StyledInput","styled","name","class","propsAsIs","base","StyledLabel","LeftHelper","ContentWrapper","StyledDivider","StyledContentLeft","StyledContentRight"],"mappings":";;;;;AAQA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,eAAe,CAAC,CAAA;AACjD,IAAMC,SAAS,gBAAGC,SAAS,CAACJ,YAAY,CAAC,CAAA;;AAEzC;AAAA,IAAAK,IAAA,GAVkBA,SAUlBA,IAAAA,GAAA;AAAA,EAAA,OACkCF,SAAS,CAAA;AAAA,CAAA,CAAA;AAApC,IAAMG,WAAW,gBAAGC,MAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAgEhC,EAAA;AAEM,IAAMC,IAAI,GAEhB,WAAA;AAEM,IAAMC,WAAW,gBAAGL,MAAM,CAAA,OAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAAQ,EAAA;AAElC,IAAMG,UAAU,gBAAGN,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAAM,EAAA;AAE/B,IAAMI,cAAc,gBAAGP,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,gBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAGnC,EAAA;AAEM,IAAMK,aAAa,gBAAGR,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,eAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAAM,EAAA;AAElC,IAAMM,iBAAiB,gBAAGT,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,mBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAEtC,EAAA;AAEM,IAAMO,kBAAkB,gBAAGV,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,oBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAAM;;;;"}
1
+ {"version":3,"file":"Range.styles.js","sources":["../../../src/components/Range/Range.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\nimport { css } from '@linaria/core';\n\nimport { component, mergeConfig } from '../../engines';\nimport { textFieldConfig, textFieldTokens } from '../TextField';\n\nimport { classes, tokens } from './Range.tokens';\n\nconst mergedConfig = mergeConfig(textFieldConfig);\nconst TextField = component(mergedConfig);\n\n// NOTE: переопределение токенов TextField\nexport const StyledInput = styled(TextField)`\n width: 100%;\n \n ${textFieldTokens.color}: var(${tokens.textFieldColor});\n ${textFieldTokens.placeholderColor}: var(${tokens.textFieldPlaceholderColor});\n ${textFieldTokens.placeholderColorFocus}: var(${tokens.textFieldPlaceholderColorFocus});\n ${textFieldTokens.caretColor}: var(${tokens.textFieldCaretColor});\n ${textFieldTokens.focusColor}: var(${tokens.textFieldFocusColor});\n\n ${textFieldTokens.backgroundColor}: var(${tokens.textFieldBackgroundColor});\n ${textFieldTokens.backgroundColorHover}: var(${tokens.textFieldBackgroundColorHover});\n ${textFieldTokens.backgroundColorFocus}: var(${tokens.textFieldBackgroundColorFocus});\n\n ${textFieldTokens.borderColor}: var(${tokens.textFieldBorderColor});\n ${textFieldTokens.borderColorHover}: var(${tokens.textFieldBorderColorHover});\n ${textFieldTokens.borderColorFocus}: var(${tokens.textFieldBorderColorFocus});\n\n ${textFieldTokens.colorReadOnly}: var(${tokens.textFieldColorReadOnly});\n ${textFieldTokens.backgroundColorReadOnly}: var(${tokens.textFieldBackgroundColorReadOnly});\n ${textFieldTokens.borderColorReadOnly}: var(${tokens.textFieldBorderColorReadOnly});\n ${textFieldTokens.placeholderColorReadOnly}: var(${tokens.textFieldPlaceholderColorReadOnly});\n\n ${textFieldTokens.height}: var(${tokens.textFieldHeight});\n ${textFieldTokens.borderWidth}: var(${tokens.textFieldBorderWidth});\n ${textFieldTokens.borderRadius}: var(${tokens.textFieldBorderRadius});\n\n ${textFieldTokens.padding}: var(${tokens.textFieldPadding});\n\n ${textFieldTokens.leftContentMargin}: var(${tokens.textFieldLeftContentMargin});\n ${textFieldTokens.rightContentMargin}: var(${tokens.textFieldRightContentMargin});\n\n ${textFieldTokens.fontFamily}: var(${tokens.textFieldFontFamily});\n ${textFieldTokens.fontSize}: var(${tokens.textFieldFontSize});\n ${textFieldTokens.fontStyle}: var(${tokens.textFieldFontStyle});\n ${textFieldTokens.fontWeight}: var(${tokens.textFieldFontWeight});\n ${textFieldTokens.letterSpacing}: var(${tokens.textFieldLetterSpacing});\n ${textFieldTokens.lineHeight}: var(${tokens.textFieldLineHeight});\n\n ${textFieldTokens.disabledOpacity}: var(${tokens.disabledOpacity});\n \n ${textFieldTokens.textBeforeColor}: var(${tokens.textFieldTextBeforeColor});\n ${textFieldTokens.textAfterColor}: var(${tokens.textFieldTextAfterColor});\n ${textFieldTokens.textBeforeMargin}: var(${tokens.textFieldTextBeforeMargin});\n ${textFieldTokens.textAfterMargin}: var(${tokens.textFieldTextAfterMargin});\n\n &.${classes.rangeValueError} {\n ${textFieldTokens.backgroundColor}: var(${tokens.textFieldBackgroundErrorColor});\n ${textFieldTokens.backgroundColorHover}: var(${tokens.textFieldBackgroundErrorColorHover});\n ${textFieldTokens.backgroundColorFocus}: var(${tokens.textFieldBackgroundErrorColorFocus});\n \n ${textFieldTokens.borderColor}: var(${tokens.textFieldBorderColorError});\n ${textFieldTokens.borderColorHover}: var(${tokens.textFieldBorderColorErrorHover});\n ${textFieldTokens.borderColorFocus}: var(${tokens.textFieldBorderColorErrorFocus});\n }\n\n &.${classes.rangeValueSuccess} {\n ${textFieldTokens.backgroundColor}: var(${tokens.textFieldBackgroundSuccessColor});\n ${textFieldTokens.backgroundColorHover}: var(${tokens.textFieldBackgroundSuccessColorHover});\n ${textFieldTokens.backgroundColorFocus}: var(${tokens.textFieldBackgroundSuccessColorFocus});\n \n ${textFieldTokens.borderColor}: var(${tokens.textFieldBorderColorSuccess});\n ${textFieldTokens.borderColorHover}: var(${tokens.textFieldBorderColorSuccessHover});\n ${textFieldTokens.borderColorFocus}: var(${tokens.textFieldBorderColorSuccessFocus});\n }\n`;\n\nexport const base = css`\n width: fit-content;\n`;\n\nexport const StyledLabel = styled.label``;\n\nexport const LeftHelper = styled.div``;\n\nexport const ContentWrapper = styled.div`\n display: flex;\n align-items: center;\n`;\n\nexport const StyledDivider = styled.div``;\n\nexport const StyledContentLeft = styled.div`\n line-height: 0;\n`;\n\nexport const StyledContentRight = styled.div``;\n"],"names":["mergedConfig","mergeConfig","textFieldConfig","TextField","component","_exp","StyledInput","styled","name","class","propsAsIs","base","StyledLabel","LeftHelper","ContentWrapper","StyledDivider","StyledContentLeft","StyledContentRight"],"mappings":";;;;AAQA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,eAAe,CAAC,CAAA;AACjD,IAAMC,SAAS,gBAAGC,SAAS,CAACJ,YAAY,CAAC,CAAA;;AAEzC;AAAA,IAAAK,IAAA,GAVkBA,SAUlBA,IAAAA,GAAA;AAAA,EAAA,OACkCF,SAAS,CAAA;AAAA,CAAA,CAAA;AAApC,IAAMG,WAAW,gBAAGC,MAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAgEhC,EAAA;AAEM,IAAMC,IAAI,GAEhB,WAAA;AAEM,IAAMC,WAAW,gBAAGL,MAAM,CAAA,OAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAAQ,EAAA;AAElC,IAAMG,UAAU,gBAAGN,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAAM,EAAA;AAE/B,IAAMI,cAAc,gBAAGP,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,gBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAGnC,EAAA;AAEM,IAAMK,aAAa,gBAAGR,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,eAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAAM,EAAA;AAElC,IAAMM,iBAAiB,gBAAGT,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,mBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAEtC,EAAA;AAEM,IAAMO,kBAAkB,gBAAGV,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,oBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAAM;;;;"}
@@ -1,11 +1,6 @@
1
1
  import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../../../_virtual/_rollupPluginBabelHelpers.js';
2
2
  import React, { forwardRef, useRef, useState, useCallback, useEffect, useMemo } from 'react';
3
3
  import { safeUseId } from '@salutejs/plasma-core';
4
- import { IconDisclosureLeftWithOffset } from '../../../_Icon/Icons/IconDisclosureLeftWithOffset.js';
5
- import '@linaria/react';
6
- import { IconDisclosureRightWithOffset } from '../../../_Icon/Icons/IconDisclosureRightWithOffset.js';
7
- import { IconDisclosureDownWithOffset } from '../../../_Icon/Icons/IconDisclosureDownWithOffset.js';
8
- import { IconDisclosureUpWithOffset } from '../../../_Icon/Icons/IconDisclosureUpWithOffset.js';
9
4
  import { tokens, classes } from '../../tokens.js';
10
5
  import { cx } from '../../../../utils/index.js';
11
6
  import { useSegmentInner } from '../../SegmentProvider/SegmentProvider.js';
@@ -17,6 +12,10 @@ import { base as base$7 } from './variations/_filledBackgound/base.js';
17
12
  import { base as base$5 } from './variations/_stretch/base.js';
18
13
  import { base as base$6 } from './variations/_orientation/base.js';
19
14
  import { StyledContentWrapper, StyledContent, base, StyledTopArrow, StyledLeftArrow, StyledBottomArrow, StyledRightArrow } from './SegmentGroup.styles.js';
15
+ import { IconDisclosureUpWithOffset } from '../../../_Icon/Icons/IconDisclosureUpWithOffset.js';
16
+ import { IconDisclosureLeftWithOffset } from '../../../_Icon/Icons/IconDisclosureLeftWithOffset.js';
17
+ import { IconDisclosureDownWithOffset } from '../../../_Icon/Icons/IconDisclosureDownWithOffset.js';
18
+ import { IconDisclosureRightWithOffset } from '../../../_Icon/Icons/IconDisclosureRightWithOffset.js';
20
19
 
21
20
  var _excluded = ["id", "selectionMode", "pilled", "stretch", "clip", "orientation", "filledBackground", "hasBackground", "disabled", "size", "view", "children"];
22
21
  var Keys = /*#__PURE__*/function (Keys) {
@@ -1 +1 @@
1
- {"version":3,"file":"SegmentGroup.js","sources":["../../../../../src/components/Segment/ui/SegmentGroup/SegmentGroup.tsx"],"sourcesContent":["import React, { forwardRef, useCallback, useMemo, useState, useEffect, useRef, KeyboardEvent } from 'react';\nimport type { RefObject, MutableRefObject } from 'react';\nimport { safeUseId } from '@salutejs/plasma-core';\n\nimport type { RootProps } from '../../../../engines/types';\nimport {\n IconDisclosureLeftWithOffset,\n IconDisclosureRightWithOffset,\n IconDisclosureDownWithOffset,\n IconDisclosureUpWithOffset,\n} from '../../../_Icon';\nimport { classes, tokens } from '../../tokens';\nimport { cx } from '../../../../utils';\nimport { useSegmentInner } from '../../SegmentProvider/SegmentProvider';\n\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as disabledCSS } from './variations/_disabled/base';\nimport { base as pilledCSS } from './variations/_pilled/base';\nimport { base as filledBackgroundCSS } from './variations/_filledBackgound/base';\nimport { base as stretchCSS } from './variations/_stretch/base';\nimport { base as orientationCSS } from './variations/_orientation/base';\nimport type { SegmentGroupProps } from './SegmentGroup.types';\nimport {\n StyledContent,\n StyledContentWrapper,\n base,\n StyledLeftArrow,\n StyledRightArrow,\n StyledTopArrow,\n StyledBottomArrow,\n} from './SegmentGroup.styles';\n\nenum Keys {\n end = 35,\n home = 36,\n left = 37,\n right = 39,\n}\n\nexport const getChildNodes = (wrapper: HTMLElement | null) => {\n const container = wrapper?.firstChild;\n return container ? (Array.from(container?.childNodes) as HTMLElement[]) : [];\n};\n\nexport const segmentGroupRoot = (Root: RootProps<HTMLDivElement, SegmentGroupProps>) =>\n forwardRef<HTMLDivElement, SegmentGroupProps>((props, outerRef) => {\n const {\n id,\n selectionMode,\n pilled,\n stretch,\n clip = true,\n orientation = 'horizontal',\n filledBackground = false,\n hasBackground = false,\n disabled = false,\n size,\n view,\n children,\n ...rest\n } = props;\n\n const scrollRef = useRef<HTMLElement | null>(null);\n const trackRef = useRef<HTMLElement | null>(null);\n const leftArrowRef = useRef<HTMLButtonElement | null>(null);\n\n const { setSelectionMode, setDisabledGroup } = useSegmentInner();\n\n const [firstItemVisible, setFirstItemVisible] = useState(true);\n const [lastItemVisible, setLastItemVisible] = useState(true);\n\n const uniqId = safeUseId();\n const segmentGroupId = id || uniqId;\n\n const canClip = clip && !stretch;\n\n const isVertical = orientation === 'vertical';\n const stretchClass =\n (clip ? firstItemVisible && lastItemVisible : true) && stretch ? classes.segmentStretch : undefined;\n\n const orientationClass = isVertical ? classes.segmentVertical : undefined;\n const clipScrollClass = canClip ? classes.segmentGroupClipScroll : undefined;\n\n const pilledAttr = (view !== 'clear' || hasBackground) && pilled;\n const filledBackgroundAttr = (view !== 'clear' && filledBackground) || hasBackground;\n\n const pilledClass = pilledAttr ? classes.segmentPilled : undefined;\n const filledClass = filledBackgroundAttr ? classes.segmentGroupFilledBackground : undefined;\n\n const onPrev = useCallback(() => {\n if (disabled || !scrollRef.current) {\n return;\n }\n\n const childNodes = getChildNodes(scrollRef.current);\n\n const scrollLeft = Math.round(scrollRef.current.scrollLeft);\n const firstOverflowingTab = childNodes\n .slice()\n .reverse()\n .find((child: HTMLElement | null) => {\n if (!child || child.offsetLeft === undefined) {\n return;\n }\n const tabStartX = child.offsetLeft;\n\n return tabStartX < scrollLeft;\n });\n\n firstOverflowingTab?.scrollIntoView({ block: 'nearest', inline: 'nearest' });\n }, [disabled, scrollRef]);\n\n const onNext = useCallback(() => {\n if (disabled || !scrollRef.current) {\n return;\n }\n\n const scrollRight = Math.round(scrollRef.current.scrollLeft + scrollRef.current.clientWidth);\n\n const childNodes = getChildNodes(scrollRef.current);\n\n const lastOverflowingChild = childNodes.find((child) => {\n if (!child || child.offsetLeft === undefined) {\n return;\n }\n const tabEndX = child.offsetLeft + child.offsetWidth;\n\n return tabEndX > scrollRight;\n });\n\n lastOverflowingChild?.scrollIntoView({ block: 'nearest', inline: 'nearest' });\n }, [disabled, scrollRef]);\n\n const onKeyDown = useCallback((event: KeyboardEvent<HTMLDivElement>) => {\n const childNodes = getChildNodes(scrollRef?.current);\n\n const index = childNodes.findIndex((child) => document.activeElement === child);\n\n const minIndex = 0;\n const maxIndex = childNodes.length - 1;\n let nextIndex: number;\n\n switch (event.keyCode) {\n case Keys.end:\n nextIndex = maxIndex;\n break;\n case Keys.left:\n nextIndex = index > minIndex ? index - 1 : index;\n break;\n case Keys.right:\n nextIndex = index < maxIndex ? index + 1 : index;\n break;\n case Keys.home:\n nextIndex = minIndex;\n break;\n default:\n return;\n }\n\n if (nextIndex !== index) {\n event.preventDefault();\n childNodes[nextIndex]?.focus();\n childNodes[nextIndex]?.scrollIntoView({\n block: 'center',\n inline: 'center',\n behavior: 'smooth',\n });\n }\n }, []);\n\n const handleScroll = useCallback(\n (event: React.UIEvent<HTMLElement>): void => {\n event.stopPropagation?.();\n\n if (!canClip) {\n setFirstItemVisible(true);\n setLastItemVisible(true);\n return;\n }\n\n if (isVertical) {\n const maxScrollTop = event.currentTarget.scrollHeight - event.currentTarget.clientHeight;\n const scrollTop = Math.round(event.currentTarget.scrollTop);\n\n setFirstItemVisible(scrollTop <= 0);\n setLastItemVisible(scrollTop >= maxScrollTop);\n return;\n }\n\n const maxScrollLeft = event.currentTarget.scrollWidth - event.currentTarget.clientWidth;\n const scrollLeft = Math.round(event.currentTarget.scrollLeft);\n\n setFirstItemVisible(scrollLeft <= 0);\n setLastItemVisible(scrollLeft >= maxScrollLeft);\n },\n [isVertical, canClip],\n );\n\n useEffect(() => {\n handleScroll(({ currentTarget: scrollRef.current } as unknown) as React.UIEvent<HTMLElement>);\n }, [handleScroll]);\n\n useEffect(() => {\n if (!canClip) {\n setLastItemVisible(true);\n return;\n }\n\n setLastItemVisible(\n isVertical\n ? scrollRef.current?.scrollHeight === scrollRef.current?.clientHeight\n : scrollRef.current?.scrollWidth === scrollRef.current?.clientWidth,\n );\n }, [isVertical, canClip]);\n\n // Этот хук компенсирует появление левой/верхней стрелки при прокрутке\n useEffect(() => {\n if (firstItemVisible || !scrollRef.current || !leftArrowRef.current) {\n return;\n }\n\n if (isVertical) {\n scrollRef.current.scrollTo({\n top: Math.round(scrollRef.current.scrollTop + leftArrowRef.current.clientHeight),\n });\n return;\n }\n\n scrollRef.current.scrollTo({\n left: Math.round(scrollRef.current.scrollLeft + leftArrowRef.current.clientWidth),\n });\n }, [firstItemVisible, isVertical]);\n\n const PreviousButton = useMemo(() => {\n const ArrowNode = isVertical ? StyledTopArrow : StyledLeftArrow;\n return (\n <ArrowNode\n type=\"button\"\n aria-label=\"Предыдущий сегмент\"\n onClick={onPrev}\n tabIndex={disabled ? -1 : 0}\n disabled={disabled}\n >\n {isVertical ? (\n <IconDisclosureUpWithOffset color={`var(${tokens.arrowColor})`} size=\"s\" />\n ) : (\n <IconDisclosureLeftWithOffset color={`var(${tokens.arrowColor})`} />\n )}\n </ArrowNode>\n );\n }, [onPrev, isVertical]);\n\n const NextButton = useMemo(() => {\n const ArrowNode = isVertical ? StyledBottomArrow : StyledRightArrow;\n return (\n <ArrowNode\n type=\"button\"\n aria-label=\"Следующий сегмент\"\n onClick={onNext}\n tabIndex={disabled ? -1 : 0}\n disabled={disabled}\n >\n {isVertical ? (\n <IconDisclosureDownWithOffset color={`var(${tokens.arrowColor})`} size=\"s\" />\n ) : (\n <IconDisclosureRightWithOffset color={`var(${tokens.arrowColor})`} />\n )}\n </ArrowNode>\n );\n }, [onNext, isVertical]);\n\n useEffect(() => {\n selectionMode && setSelectionMode(selectionMode);\n setDisabledGroup(disabled);\n }, [selectionMode, disabled]);\n\n return (\n <Root\n view={view}\n size={size}\n orientation={orientation}\n id={segmentGroupId}\n ref={outerRef}\n filledBackground={filledBackgroundAttr}\n disabled={disabled}\n pilled={pilledAttr}\n className={cx(pilledClass, filledClass, stretchClass, orientationClass)}\n onKeyDown={onKeyDown}\n {...rest}\n >\n {!firstItemVisible && PreviousButton}\n <StyledContentWrapper\n className={cx(clipScrollClass)}\n ref={scrollRef as RefObject<HTMLDivElement>}\n onScroll={handleScroll}\n >\n <StyledContent ref={trackRef as MutableRefObject<HTMLDivElement | null>}>{children}</StyledContent>\n </StyledContentWrapper>\n {!lastItemVisible && NextButton}\n </Root>\n );\n });\n\nexport const segmentGroupConfig = {\n name: 'SegmentGroup',\n tag: 'div',\n layout: segmentGroupRoot,\n base,\n variations: {\n size: {\n css: sizeCSS,\n },\n view: {\n css: viewCSS,\n },\n disabled: {\n css: disabledCSS,\n attrs: true,\n },\n pilled: {\n css: pilledCSS,\n attrs: true,\n },\n stretch: {\n css: stretchCSS,\n attrs: true,\n },\n orientation: {\n css: orientationCSS,\n },\n filledBackground: {\n css: filledBackgroundCSS,\n attrs: true,\n },\n },\n defaults: {\n view: 'clear',\n size: 'xs',\n },\n};\n"],"names":["Keys","getChildNodes","wrapper","container","firstChild","Array","from","childNodes","segmentGroupRoot","Root","forwardRef","props","outerRef","id","selectionMode","pilled","stretch","_props$clip","clip","_props$orientation","orientation","_props$filledBackgrou","filledBackground","_props$hasBackground","hasBackground","_props$disabled","disabled","size","view","children","rest","_objectWithoutProperties","_excluded","scrollRef","useRef","trackRef","leftArrowRef","_useSegmentInner","useSegmentInner","setSelectionMode","setDisabledGroup","_useState","useState","_useState2","_slicedToArray","firstItemVisible","setFirstItemVisible","_useState3","_useState4","lastItemVisible","setLastItemVisible","uniqId","safeUseId","segmentGroupId","canClip","isVertical","stretchClass","classes","segmentStretch","undefined","orientationClass","segmentVertical","clipScrollClass","segmentGroupClipScroll","pilledAttr","filledBackgroundAttr","pilledClass","segmentPilled","filledClass","segmentGroupFilledBackground","onPrev","useCallback","current","scrollLeft","Math","round","firstOverflowingTab","slice","reverse","find","child","offsetLeft","tabStartX","scrollIntoView","block","inline","onNext","scrollRight","clientWidth","lastOverflowingChild","tabEndX","offsetWidth","onKeyDown","event","index","findIndex","document","activeElement","minIndex","maxIndex","length","nextIndex","keyCode","end","left","right","home","_childNodes$nextIndex","_childNodes$nextIndex2","preventDefault","focus","behavior","handleScroll","_event$stopPropagatio","stopPropagation","call","maxScrollTop","currentTarget","scrollHeight","clientHeight","scrollTop","maxScrollLeft","scrollWidth","useEffect","_scrollRef$current","_scrollRef$current2","_scrollRef$current3","_scrollRef$current4","scrollTo","top","PreviousButton","useMemo","ArrowNode","StyledTopArrow","StyledLeftArrow","React","createElement","type","onClick","tabIndex","IconDisclosureUpWithOffset","color","concat","tokens","arrowColor","IconDisclosureLeftWithOffset","NextButton","StyledBottomArrow","StyledRightArrow","IconDisclosureDownWithOffset","IconDisclosureRightWithOffset","_extends","ref","className","cx","StyledContentWrapper","onScroll","StyledContent","segmentGroupConfig","name","tag","layout","base","variations","css","sizeCSS","viewCSS","disabledCSS","attrs","pilledCSS","stretchCSS","orientationCSS","filledBackgroundCSS","defaults"],"mappings":";;;;;;;;;;;;;;;;;;;;;AA+B+B,IAE1BA,IAAI,0BAAJA,IAAI,EAAA;AAAJA,EAAAA,IAAI,CAAJA,IAAI,CAAA,KAAA,CAAA,GAAA,EAAA,CAAA,GAAA,KAAA,CAAA;AAAJA,EAAAA,IAAI,CAAJA,IAAI,CAAA,MAAA,CAAA,GAAA,EAAA,CAAA,GAAA,MAAA,CAAA;AAAJA,EAAAA,IAAI,CAAJA,IAAI,CAAA,MAAA,CAAA,GAAA,EAAA,CAAA,GAAA,MAAA,CAAA;AAAJA,EAAAA,IAAI,CAAJA,IAAI,CAAA,OAAA,CAAA,GAAA,EAAA,CAAA,GAAA,OAAA,CAAA;AAAA,EAAA,OAAJA,IAAI,CAAA;AAAA,CAAA,CAAJA,IAAI,IAAA,EAAA,CAAA,CAAA;IAOIC,aAAa,GAAG,SAAhBA,aAAaA,CAAIC,OAA2B,EAAK;EAC1D,IAAMC,SAAS,GAAGD,OAAO,KAAA,IAAA,IAAPA,OAAO,KAAPA,KAAAA,CAAAA,GAAAA,KAAAA,CAAAA,GAAAA,OAAO,CAAEE,UAAU,CAAA;AACrC,EAAA,OAAOD,SAAS,GAAIE,KAAK,CAACC,IAAI,CAACH,SAAS,KAATA,IAAAA,IAAAA,SAAS,uBAATA,SAAS,CAAEI,UAAU,CAAC,GAAqB,EAAE,CAAA;AAChF,EAAC;IAEYC,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAIC,IAAkD,EAAA;AAAA,EAAA,oBAC/EC,UAAU,CAAoC,UAACC,KAAK,EAAEC,QAAQ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AChBC,MAAAA,KAAK,EAAE,IAAA;KACV;AACDzJ,IAAAA,MAAM,EAAE;AACJqJ,MAAAA,GAAG,EAAEK,MAAS;AACdD,MAAAA,KAAK,EAAE,IAAA;KACV;AACDxJ,IAAAA,OAAO,EAAE;AACLoJ,MAAAA,GAAG,EAAEM,MAAU;AACfF,MAAAA,KAAK,EAAE,IAAA;KACV;AACDpJ,IAAAA,WAAW,EAAE;AACTgJ,MAAAA,GAAG,EAAEO,MAAAA;KACR;AACDrJ,IAAAA,gBAAgB,EAAE;AACd8I,MAAAA,GAAG,EAAEQ,MAAmB;AACxBJ,MAAAA,KAAK,EAAE,IAAA;AACX,KAAA;GACH;AACDK,EAAAA,QAAQ,EAAE;AACNjJ,IAAAA,IAAI,EAAE,OAAO;AACbD,IAAAA,IAAI,EAAE,IAAA;AACV,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"SegmentGroup.js","sources":["../../../../../src/components/Segment/ui/SegmentGroup/SegmentGroup.tsx"],"sourcesContent":["import React, { forwardRef, useCallback, useMemo, useState, useEffect, useRef, KeyboardEvent } from 'react';\nimport type { RefObject, MutableRefObject } from 'react';\nimport { safeUseId } from '@salutejs/plasma-core';\n\nimport type { RootProps } from '../../../../engines/types';\nimport {\n IconDisclosureLeftWithOffset,\n IconDisclosureRightWithOffset,\n IconDisclosureDownWithOffset,\n IconDisclosureUpWithOffset,\n} from '../../../_Icon';\nimport { classes, tokens } from '../../tokens';\nimport { cx } from '../../../../utils';\nimport { useSegmentInner } from '../../SegmentProvider/SegmentProvider';\n\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as disabledCSS } from './variations/_disabled/base';\nimport { base as pilledCSS } from './variations/_pilled/base';\nimport { base as filledBackgroundCSS } from './variations/_filledBackgound/base';\nimport { base as stretchCSS } from './variations/_stretch/base';\nimport { base as orientationCSS } from './variations/_orientation/base';\nimport type { SegmentGroupProps } from './SegmentGroup.types';\nimport {\n StyledContent,\n StyledContentWrapper,\n base,\n StyledLeftArrow,\n StyledRightArrow,\n StyledTopArrow,\n StyledBottomArrow,\n} from './SegmentGroup.styles';\n\nenum Keys {\n end = 35,\n home = 36,\n left = 37,\n right = 39,\n}\n\nexport const getChildNodes = (wrapper: HTMLElement | null) => {\n const container = wrapper?.firstChild;\n return container ? (Array.from(container?.childNodes) as HTMLElement[]) : [];\n};\n\nexport const segmentGroupRoot = (Root: RootProps<HTMLDivElement, SegmentGroupProps>) =>\n forwardRef<HTMLDivElement, SegmentGroupProps>((props, outerRef) => {\n const {\n id,\n selectionMode,\n pilled,\n stretch,\n clip = true,\n orientation = 'horizontal',\n filledBackground = false,\n hasBackground = false,\n disabled = false,\n size,\n view,\n children,\n ...rest\n } = props;\n\n const scrollRef = useRef<HTMLElement | null>(null);\n const trackRef = useRef<HTMLElement | null>(null);\n const leftArrowRef = useRef<HTMLButtonElement | null>(null);\n\n const { setSelectionMode, setDisabledGroup } = useSegmentInner();\n\n const [firstItemVisible, setFirstItemVisible] = useState(true);\n const [lastItemVisible, setLastItemVisible] = useState(true);\n\n const uniqId = safeUseId();\n const segmentGroupId = id || uniqId;\n\n const canClip = clip && !stretch;\n\n const isVertical = orientation === 'vertical';\n const stretchClass =\n (clip ? firstItemVisible && lastItemVisible : true) && stretch ? classes.segmentStretch : undefined;\n\n const orientationClass = isVertical ? classes.segmentVertical : undefined;\n const clipScrollClass = canClip ? classes.segmentGroupClipScroll : undefined;\n\n const pilledAttr = (view !== 'clear' || hasBackground) && pilled;\n const filledBackgroundAttr = (view !== 'clear' && filledBackground) || hasBackground;\n\n const pilledClass = pilledAttr ? classes.segmentPilled : undefined;\n const filledClass = filledBackgroundAttr ? classes.segmentGroupFilledBackground : undefined;\n\n const onPrev = useCallback(() => {\n if (disabled || !scrollRef.current) {\n return;\n }\n\n const childNodes = getChildNodes(scrollRef.current);\n\n const scrollLeft = Math.round(scrollRef.current.scrollLeft);\n const firstOverflowingTab = childNodes\n .slice()\n .reverse()\n .find((child: HTMLElement | null) => {\n if (!child || child.offsetLeft === undefined) {\n return;\n }\n const tabStartX = child.offsetLeft;\n\n return tabStartX < scrollLeft;\n });\n\n firstOverflowingTab?.scrollIntoView({ block: 'nearest', inline: 'nearest' });\n }, [disabled, scrollRef]);\n\n const onNext = useCallback(() => {\n if (disabled || !scrollRef.current) {\n return;\n }\n\n const scrollRight = Math.round(scrollRef.current.scrollLeft + scrollRef.current.clientWidth);\n\n const childNodes = getChildNodes(scrollRef.current);\n\n const lastOverflowingChild = childNodes.find((child) => {\n if (!child || child.offsetLeft === undefined) {\n return;\n }\n const tabEndX = child.offsetLeft + child.offsetWidth;\n\n return tabEndX > scrollRight;\n });\n\n lastOverflowingChild?.scrollIntoView({ block: 'nearest', inline: 'nearest' });\n }, [disabled, scrollRef]);\n\n const onKeyDown = useCallback((event: KeyboardEvent<HTMLDivElement>) => {\n const childNodes = getChildNodes(scrollRef?.current);\n\n const index = childNodes.findIndex((child) => document.activeElement === child);\n\n const minIndex = 0;\n const maxIndex = childNodes.length - 1;\n let nextIndex: number;\n\n switch (event.keyCode) {\n case Keys.end:\n nextIndex = maxIndex;\n break;\n case Keys.left:\n nextIndex = index > minIndex ? index - 1 : index;\n break;\n case Keys.right:\n nextIndex = index < maxIndex ? index + 1 : index;\n break;\n case Keys.home:\n nextIndex = minIndex;\n break;\n default:\n return;\n }\n\n if (nextIndex !== index) {\n event.preventDefault();\n childNodes[nextIndex]?.focus();\n childNodes[nextIndex]?.scrollIntoView({\n block: 'center',\n inline: 'center',\n behavior: 'smooth',\n });\n }\n }, []);\n\n const handleScroll = useCallback(\n (event: React.UIEvent<HTMLElement>): void => {\n event.stopPropagation?.();\n\n if (!canClip) {\n setFirstItemVisible(true);\n setLastItemVisible(true);\n return;\n }\n\n if (isVertical) {\n const maxScrollTop = event.currentTarget.scrollHeight - event.currentTarget.clientHeight;\n const scrollTop = Math.round(event.currentTarget.scrollTop);\n\n setFirstItemVisible(scrollTop <= 0);\n setLastItemVisible(scrollTop >= maxScrollTop);\n return;\n }\n\n const maxScrollLeft = event.currentTarget.scrollWidth - event.currentTarget.clientWidth;\n const scrollLeft = Math.round(event.currentTarget.scrollLeft);\n\n setFirstItemVisible(scrollLeft <= 0);\n setLastItemVisible(scrollLeft >= maxScrollLeft);\n },\n [isVertical, canClip],\n );\n\n useEffect(() => {\n handleScroll(({ currentTarget: scrollRef.current } as unknown) as React.UIEvent<HTMLElement>);\n }, [handleScroll]);\n\n useEffect(() => {\n if (!canClip) {\n setLastItemVisible(true);\n return;\n }\n\n setLastItemVisible(\n isVertical\n ? scrollRef.current?.scrollHeight === scrollRef.current?.clientHeight\n : scrollRef.current?.scrollWidth === scrollRef.current?.clientWidth,\n );\n }, [isVertical, canClip]);\n\n // Этот хук компенсирует появление левой/верхней стрелки при прокрутке\n useEffect(() => {\n if (firstItemVisible || !scrollRef.current || !leftArrowRef.current) {\n return;\n }\n\n if (isVertical) {\n scrollRef.current.scrollTo({\n top: Math.round(scrollRef.current.scrollTop + leftArrowRef.current.clientHeight),\n });\n return;\n }\n\n scrollRef.current.scrollTo({\n left: Math.round(scrollRef.current.scrollLeft + leftArrowRef.current.clientWidth),\n });\n }, [firstItemVisible, isVertical]);\n\n const PreviousButton = useMemo(() => {\n const ArrowNode = isVertical ? StyledTopArrow : StyledLeftArrow;\n return (\n <ArrowNode\n type=\"button\"\n aria-label=\"Предыдущий сегмент\"\n onClick={onPrev}\n tabIndex={disabled ? -1 : 0}\n disabled={disabled}\n >\n {isVertical ? (\n <IconDisclosureUpWithOffset color={`var(${tokens.arrowColor})`} size=\"s\" />\n ) : (\n <IconDisclosureLeftWithOffset color={`var(${tokens.arrowColor})`} />\n )}\n </ArrowNode>\n );\n }, [onPrev, isVertical]);\n\n const NextButton = useMemo(() => {\n const ArrowNode = isVertical ? StyledBottomArrow : StyledRightArrow;\n return (\n <ArrowNode\n type=\"button\"\n aria-label=\"Следующий сегмент\"\n onClick={onNext}\n tabIndex={disabled ? -1 : 0}\n disabled={disabled}\n >\n {isVertical ? (\n <IconDisclosureDownWithOffset color={`var(${tokens.arrowColor})`} size=\"s\" />\n ) : (\n <IconDisclosureRightWithOffset color={`var(${tokens.arrowColor})`} />\n )}\n </ArrowNode>\n );\n }, [onNext, isVertical]);\n\n useEffect(() => {\n selectionMode && setSelectionMode(selectionMode);\n setDisabledGroup(disabled);\n }, [selectionMode, disabled]);\n\n return (\n <Root\n view={view}\n size={size}\n orientation={orientation}\n id={segmentGroupId}\n ref={outerRef}\n filledBackground={filledBackgroundAttr}\n disabled={disabled}\n pilled={pilledAttr}\n className={cx(pilledClass, filledClass, stretchClass, orientationClass)}\n onKeyDown={onKeyDown}\n {...rest}\n >\n {!firstItemVisible && PreviousButton}\n <StyledContentWrapper\n className={cx(clipScrollClass)}\n ref={scrollRef as RefObject<HTMLDivElement>}\n onScroll={handleScroll}\n >\n <StyledContent ref={trackRef as MutableRefObject<HTMLDivElement | null>}>{children}</StyledContent>\n </StyledContentWrapper>\n {!lastItemVisible && NextButton}\n </Root>\n );\n });\n\nexport const segmentGroupConfig = {\n name: 'SegmentGroup',\n tag: 'div',\n layout: segmentGroupRoot,\n base,\n variations: {\n size: {\n css: sizeCSS,\n },\n view: {\n css: viewCSS,\n },\n disabled: {\n css: disabledCSS,\n attrs: true,\n },\n pilled: {\n css: pilledCSS,\n attrs: true,\n },\n stretch: {\n css: stretchCSS,\n attrs: true,\n },\n orientation: {\n css: orientationCSS,\n },\n filledBackground: {\n css: filledBackgroundCSS,\n attrs: true,\n },\n },\n defaults: {\n view: 'clear',\n size: 'xs',\n },\n};\n"],"names":["Keys","getChildNodes","wrapper","container","firstChild","Array","from","childNodes","segmentGroupRoot","Root","forwardRef","props","outerRef","id","selectionMode","pilled","stretch","_props$clip","clip","_props$orientation","orientation","_props$filledBackgrou","filledBackground","_props$hasBackground","hasBackground","_props$disabled","disabled","size","view","children","rest","_objectWithoutProperties","_excluded","scrollRef","useRef","trackRef","leftArrowRef","_useSegmentInner","useSegmentInner","setSelectionMode","setDisabledGroup","_useState","useState","_useState2","_slicedToArray","firstItemVisible","setFirstItemVisible","_useState3","_useState4","lastItemVisible","setLastItemVisible","uniqId","safeUseId","segmentGroupId","canClip","isVertical","stretchClass","classes","segmentStretch","undefined","orientationClass","segmentVertical","clipScrollClass","segmentGroupClipScroll","pilledAttr","filledBackgroundAttr","pilledClass","segmentPilled","filledClass","segmentGroupFilledBackground","onPrev","useCallback","current","scrollLeft","Math","round","firstOverflowingTab","slice","reverse","find","child","offsetLeft","tabStartX","scrollIntoView","block","inline","onNext","scrollRight","clientWidth","lastOverflowingChild","tabEndX","offsetWidth","onKeyDown","event","index","findIndex","document","activeElement","minIndex","maxIndex","length","nextIndex","keyCode","end","left","right","home","_childNodes$nextIndex","_childNodes$nextIndex2","preventDefault","focus","behavior","handleScroll","_event$stopPropagatio","stopPropagation","call","maxScrollTop","currentTarget","scrollHeight","clientHeight","scrollTop","maxScrollLeft","scrollWidth","useEffect","_scrollRef$current","_scrollRef$current2","_scrollRef$current3","_scrollRef$current4","scrollTo","top","PreviousButton","useMemo","ArrowNode","StyledTopArrow","StyledLeftArrow","React","createElement","type","onClick","tabIndex","IconDisclosureUpWithOffset","color","concat","tokens","arrowColor","IconDisclosureLeftWithOffset","NextButton","StyledBottomArrow","StyledRightArrow","IconDisclosureDownWithOffset","IconDisclosureRightWithOffset","_extends","ref","className","cx","StyledContentWrapper","onScroll","StyledContent","segmentGroupConfig","name","tag","layout","base","variations","css","sizeCSS","viewCSS","disabledCSS","attrs","pilledCSS","stretchCSS","orientationCSS","filledBackgroundCSS","defaults"],"mappings":";;;;;;;;;;;;;;;;;;;;AA+B+B,IAE1BA,IAAI,0BAAJA,IAAI,EAAA;AAAJA,EAAAA,IAAI,CAAJA,IAAI,CAAA,KAAA,CAAA,GAAA,EAAA,CAAA,GAAA,KAAA,CAAA;AAAJA,EAAAA,IAAI,CAAJA,IAAI,CAAA,MAAA,CAAA,GAAA,EAAA,CAAA,GAAA,MAAA,CAAA;AAAJA,E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J;;;;"}
@@ -1,24 +1,23 @@
1
1
  import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
2
2
  import React, { forwardRef, useState, useMemo, useReducer, useLayoutEffect, createContext } from 'react';
3
- import '../../utils/react.js';
4
- import { isEmpty } from '../../utils/isEmpty.js';
5
- import { getPlacements } from '../../utils/getPopoverPlacement.js';
6
- import { useOutsideClick } from '../../hooks/useOutsideClick.js';
7
3
  import { useKeyNavigation } from './hooks/useKeyboardNavigation.js';
4
+ import { usePathMaps } from './hooks/usePathMaps.js';
5
+ import { OuterLabel, StyledPopover, Ul, HelperText, base } from './Select.styles.js';
6
+ import { base as base$1 } from './variations/_view/base.js';
7
+ import { base as base$2 } from './variations/_size/base.js';
8
8
  import { initialItemsTransform } from './utils/initialItemsTransform.js';
9
+ import { pathReducer } from './reducers/pathReducer.js';
10
+ import { focusedPathReducer } from './reducers/focusedPathReducer.js';
11
+ import { focusedChipIndexReducer } from './reducers/focusedChipIndexReducer.js';
12
+ import { useOutsideClick } from '../../hooks/useOutsideClick.js';
13
+ import { isEmpty } from '../../utils/isEmpty.js';
9
14
  import { updateDescendants } from './utils/updateDescendants.js';
10
15
  import { updateAncestors } from './utils/updateAncestors.js';
11
16
  import { updateSingleAncestors } from './utils/updateSingleAncestors.js';
12
17
  import { getView } from './utils/getView.js';
13
- import { Inner } from './ui/Inner/Inner.js';
14
18
  import { Target } from './ui/Target/Target.js';
15
- import { pathReducer } from './reducers/pathReducer.js';
16
- import { focusedPathReducer } from './reducers/focusedPathReducer.js';
17
- import { focusedChipIndexReducer } from './reducers/focusedChipIndexReducer.js';
18
- import { usePathMaps } from './hooks/usePathMaps.js';
19
- import { OuterLabel, StyledPopover, Ul, HelperText, base } from './Select.styles.js';
20
- import { base as base$1 } from './variations/_view/base.js';
21
- import { base as base$2 } from './variations/_size/base.js';
19
+ import { Inner } from './ui/Inner/Inner.js';
20
+ import { getPlacements } from '../../utils/getPopoverPlacement.js';
22
21
 
23
22
  var _excluded = ["value", "onChange", "target", "items", "placement", "label", "labelPlacement", "placeholder", "helperText", "disabled", "view", "size", "listOverflow", "listHeight", "listWidth", "contentLeft", "onScrollBottom", "chipView", "variant", "portal", "renderValue", "renderItem", "status", "onItemSelect", "separator", "closeAfterSelect"];
24
23
  var Context = /*#__PURE__*/createContext({});