@salutejs/plasma-new-hope 0.174.0-canary.1452.11462555994.0 → 0.174.0-canary.1488.11483339131.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (732) 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.js +5 -6
  18. package/cjs/components/Autocomplete/Autocomplete.js.map +1 -1
  19. package/cjs/components/Autocomplete/Autocomplete.styles.js +2 -3
  20. package/cjs/components/Autocomplete/Autocomplete.styles.js.map +1 -1
  21. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -2
  22. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  23. package/cjs/components/Avatar/Avatar.js +2 -3
  24. package/cjs/components/Avatar/Avatar.js.map +1 -1
  25. package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js +2 -4
  26. package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
  27. package/cjs/components/Button/Button.styles.js +0 -3
  28. package/cjs/components/Button/Button.styles.js.map +1 -1
  29. package/cjs/components/Calendar/CalendarBase/CalendarBase.js +5 -5
  30. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +8 -8
  31. package/cjs/components/Calendar/hooks/useDays.js +2 -2
  32. package/cjs/components/Calendar/hooks/useKeyNavigation.js +1 -1
  33. package/cjs/components/Calendar/hooks/useMonths.js +2 -2
  34. package/cjs/components/Calendar/hooks/useQuarters.js +2 -2
  35. package/cjs/components/Calendar/hooks/useYears.js +2 -2
  36. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js +4 -4
  37. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -6
  38. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  39. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +0 -1
  40. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  41. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +4 -4
  42. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +4 -4
  43. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +4 -4
  44. package/cjs/components/Combobox/ComboboxNew/Combobox.js +11 -12
  45. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  46. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +2 -4
  47. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  48. package/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js +0 -2
  49. package/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  50. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.js +1 -2
  51. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.js.map +1 -1
  52. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +5 -6
  53. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  54. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +1 -3
  55. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  56. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -2
  57. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  58. package/cjs/components/Combobox/ComboboxOld/Combobox.js +4 -10
  59. package/cjs/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
  60. package/cjs/components/Combobox/ComboboxOld/Combobox.styles.js +0 -1
  61. package/cjs/components/Combobox/ComboboxOld/Combobox.styles.js.map +1 -1
  62. package/cjs/components/Combobox/ComboboxOld/hooks/useFocusController.js +0 -1
  63. package/cjs/components/Combobox/ComboboxOld/hooks/useFocusController.js.map +1 -1
  64. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js +1 -2
  65. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js.map +1 -1
  66. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js +1 -10
  67. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js.map +1 -1
  68. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js +1 -10
  69. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js.map +1 -1
  70. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js +1 -10
  71. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js.map +1 -1
  72. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js +1 -10
  73. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js.map +1 -1
  74. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js +0 -2
  75. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
  76. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.js +1 -1
  77. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js +1 -2
  78. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js.map +1 -1
  79. package/cjs/components/DatePicker/DatePickerBase.styles.js +1 -7
  80. package/cjs/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  81. package/cjs/components/DatePicker/RangeDate/RangeDate.js +1 -1
  82. package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js +0 -1
  83. package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -1
  84. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -2
  85. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  86. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +2 -5
  87. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -1
  88. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +0 -1
  89. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  90. package/cjs/components/Drawer/Drawer.js +5 -10
  91. package/cjs/components/Drawer/Drawer.js.map +1 -1
  92. package/cjs/components/Drawer/Drawer.styles.js +0 -4
  93. package/cjs/components/Drawer/Drawer.styles.js.map +1 -1
  94. package/cjs/components/Drawer/hooks/useDrawer.js +0 -4
  95. package/cjs/components/Drawer/hooks/useDrawer.js.map +1 -1
  96. package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.js +0 -7
  97. package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.js.map +1 -1
  98. package/cjs/components/Drawer/ui/DrawerFooter/DrawerFooter.js +0 -7
  99. package/cjs/components/Drawer/ui/DrawerFooter/DrawerFooter.js.map +1 -1
  100. package/cjs/components/Drawer/ui/DrawerHeader/DrawerHeader.js +0 -3
  101. package/cjs/components/Drawer/ui/DrawerHeader/DrawerHeader.js.map +1 -1
  102. package/cjs/components/Dropdown/Dropdown.js +3 -10
  103. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  104. package/cjs/components/Dropdown/Dropdown.styles.js +2 -3
  105. package/cjs/components/Dropdown/Dropdown.styles.js.map +1 -1
  106. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +1 -9
  107. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  108. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +1 -2
  109. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  110. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +0 -2
  111. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -1
  112. package/cjs/components/Dropdown/ui/DropdownOld/Dropdown.styles.js +0 -1
  113. package/cjs/components/Dropdown/ui/DropdownOld/Dropdown.styles.js.map +1 -1
  114. package/cjs/components/Editable/Editable.js +3 -4
  115. package/cjs/components/Editable/Editable.js.map +1 -1
  116. package/cjs/components/Editable/utils/clearSelection.js +0 -2
  117. package/cjs/components/Editable/utils/clearSelection.js.map +1 -1
  118. package/cjs/components/Editable/utils/selectText.js +0 -2
  119. package/cjs/components/Editable/utils/selectText.js.map +1 -1
  120. package/cjs/components/EmptyState/EmptyState.styles.js +1 -2
  121. package/cjs/components/EmptyState/EmptyState.styles.js.map +1 -1
  122. package/cjs/components/IconButton/IconButton.js +1 -1
  123. package/cjs/components/IconButton/IconButton.styles.js +0 -8
  124. package/cjs/components/IconButton/IconButton.styles.js.map +1 -1
  125. package/cjs/components/Modal/Modal.js +6 -8
  126. package/cjs/components/Modal/Modal.js.map +1 -1
  127. package/cjs/components/Modal/hooks/useModal.js +0 -4
  128. package/cjs/components/Modal/hooks/useModal.js.map +1 -1
  129. package/cjs/components/Notification/Notification.styles.js +2 -3
  130. package/cjs/components/Notification/Notification.styles.js.map +1 -1
  131. package/cjs/components/Notification/NotificationsPortal.js +3 -4
  132. package/cjs/components/Notification/NotificationsPortal.js.map +1 -1
  133. package/cjs/components/Pagination/Pagination.styles.js +1 -2
  134. package/cjs/components/Pagination/Pagination.styles.js.map +1 -1
  135. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -2
  136. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  137. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.js +1 -2
  138. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.js.map +1 -1
  139. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.styles.js +1 -2
  140. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.styles.js.map +1 -1
  141. package/cjs/components/Popover/Popover.js +1 -1
  142. package/cjs/components/Popup/Popup.js +2 -2
  143. package/cjs/components/Popup/PopupContext.js +1 -1
  144. package/cjs/components/Range/Range.styles.js +0 -1
  145. package/cjs/components/Range/Range.styles.js.map +1 -1
  146. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js +4 -5
  147. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js.map +1 -1
  148. package/cjs/components/Select/Select.js +11 -12
  149. package/cjs/components/Select/Select.js.map +1 -1
  150. package/cjs/components/Select/Select.styles.js +2 -5
  151. package/cjs/components/Select/Select.styles.js.map +1 -1
  152. package/cjs/components/Select/hooks/usePathMaps.js +0 -2
  153. package/cjs/components/Select/hooks/usePathMaps.js.map +1 -1
  154. package/cjs/components/Select/ui/Inner/Inner.js +1 -2
  155. package/cjs/components/Select/ui/Inner/Inner.js.map +1 -1
  156. package/cjs/components/Select/ui/Inner/ui/Item/Item.js +4 -5
  157. package/cjs/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  158. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +0 -1
  159. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  160. package/cjs/components/Select/ui/Target/ui/Button/Button.js +1 -1
  161. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +1 -3
  162. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  163. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -2
  164. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -4
  165. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  166. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +1 -2
  167. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -1
  168. package/cjs/components/Select/utils/getButtonLabel.js +0 -2
  169. package/cjs/components/Select/utils/getButtonLabel.js.map +1 -1
  170. package/cjs/components/Sheet/Sheet.js +3 -3
  171. package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js +2 -4
  172. package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
  173. package/cjs/components/Skeleton/RectSkeleton/RectSkeleton.js +2 -4
  174. package/cjs/components/Skeleton/RectSkeleton/RectSkeleton.js.map +1 -1
  175. package/cjs/components/Slider/Slider.css +13 -15
  176. package/cjs/components/Slider/Slider.js +2 -18
  177. package/cjs/components/Slider/Slider.js.map +1 -1
  178. package/cjs/components/Slider/Slider.tokens.js +17 -23
  179. package/cjs/components/Slider/Slider.tokens.js.map +1 -1
  180. package/cjs/components/Slider/components/Double/Double.css +8 -8
  181. package/cjs/components/Slider/components/Double/Double.js +24 -60
  182. package/cjs/components/Slider/components/Double/Double.js.map +1 -1
  183. package/cjs/components/Slider/components/Double/Double.styles.js +0 -1
  184. package/cjs/components/Slider/components/Double/Double.styles.js.map +1 -1
  185. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js +0 -3
  186. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js.map +1 -1
  187. package/cjs/components/Slider/components/Single/Single.css +14 -14
  188. package/cjs/components/Slider/components/Single/Single.js +34 -66
  189. package/cjs/components/Slider/components/Single/Single.js.map +1 -1
  190. package/cjs/components/Slider/components/Single/Single.styles.js +4 -4
  191. package/cjs/components/Slider/components/Single/Single.styles.js.map +1 -1
  192. package/cjs/components/Slider/components/Single/Single.styles_1r9f1e0.css +6 -0
  193. package/cjs/components/Slider/components/SliderBase/SliderBase.css +5 -5
  194. package/cjs/components/Slider/components/SliderBase/SliderBase.js +13 -32
  195. package/cjs/components/Slider/components/SliderBase/SliderBase.js.map +1 -1
  196. package/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +7 -7
  197. package/cjs/components/Slider/components/SliderBase/SliderBase.styles.js.map +1 -1
  198. package/cjs/components/Slider/components/SliderBase/SliderBase.styles_9s4eb3.css +5 -0
  199. package/cjs/components/Slider/ui/Handler/Handler.css +3 -3
  200. package/cjs/components/Slider/ui/Handler/Handler.js +88 -49
  201. package/cjs/components/Slider/ui/Handler/Handler.js.map +1 -1
  202. package/cjs/components/Slider/ui/Handler/Handler.styles.js +7 -17
  203. package/cjs/components/Slider/ui/Handler/Handler.styles.js.map +1 -1
  204. package/cjs/components/Slider/ui/Handler/Handler.styles_8crx5z.css +2 -0
  205. package/cjs/components/Slider/ui/Thumb/Thumb.css +1 -1
  206. package/cjs/components/Slider/ui/Thumb/Thumb.js +2 -3
  207. package/cjs/components/Slider/ui/Thumb/Thumb.js.map +1 -1
  208. package/cjs/components/Slider/ui/Thumb/Thumb.styles.js +1 -1
  209. package/cjs/components/Slider/ui/Thumb/Thumb.styles.js.map +1 -1
  210. package/cjs/components/Slider/ui/Thumb/Thumb.styles_4w4gzn.css +1 -0
  211. package/cjs/components/Slider/utils/index.js +10 -28
  212. package/cjs/components/Slider/utils/index.js.map +1 -1
  213. package/cjs/components/Slider/variations/_view/base.js +1 -1
  214. package/cjs/components/Slider/variations/_view/base.js.map +1 -1
  215. package/cjs/components/Slider/variations/_view/base_x642ct.css +1 -0
  216. package/cjs/components/Steps/Steps.js +1 -1
  217. package/cjs/components/Steps/ui/StepItem/StepItem.styles.js +0 -1
  218. package/cjs/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
  219. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +2 -3
  220. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
  221. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +2 -3
  222. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
  223. package/cjs/components/TextArea/TextArea.js +2 -2
  224. package/cjs/components/TextArea/TextArea.styles.js +2 -3
  225. package/cjs/components/TextArea/TextArea.styles.js.map +1 -1
  226. package/cjs/components/TextArea/ui/Hint/Hint.js +1 -2
  227. package/cjs/components/TextArea/ui/Hint/Hint.js.map +1 -1
  228. package/cjs/components/TextField/TextField.js +3 -3
  229. package/cjs/components/TextField/TextField.styles.js +1 -2
  230. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  231. package/cjs/components/TextField/ui/Hint/Hint.js +1 -2
  232. package/cjs/components/TextField/ui/Hint/Hint.js.map +1 -1
  233. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -2
  234. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  235. package/cjs/components/Toast/Toast.styles.js +1 -1
  236. package/cjs/components/Toast/ToastController.js +1 -1
  237. package/cjs/components/Toast/utils.js +1 -2
  238. package/cjs/components/Toast/utils.js.map +1 -1
  239. package/cjs/components/Toolbar/ui/ToolbarDivider/ToolbarDivider.js +1 -1
  240. package/cjs/components/Tooltip/Tooltip.js +2 -3
  241. package/cjs/components/Tooltip/Tooltip.js.map +1 -1
  242. package/cjs/components/ViewContainer/ViewContainer.js +38 -0
  243. package/cjs/components/ViewContainer/ViewContainer.js.map +1 -0
  244. package/cjs/components/ViewContainer/ViewContainer_yiqfcb.css +1 -0
  245. package/cjs/components/ViewContainer/_view/base.js +9 -0
  246. package/cjs/components/ViewContainer/_view/base.js.map +1 -0
  247. package/cjs/components/ViewContainer/_view/base_x642ct.css +1 -0
  248. package/cjs/engines/index.js +0 -2
  249. package/cjs/engines/index.js.map +1 -1
  250. package/cjs/hooks/useIsomorphicLayoutEffect.js +0 -1
  251. package/cjs/hooks/useIsomorphicLayoutEffect.js.map +1 -1
  252. package/cjs/index.css +15 -15
  253. package/cjs/index.js +51 -51
  254. package/cjs/utils/index.js +0 -5
  255. package/cjs/utils/index.js.map +1 -1
  256. package/emotion/cjs/components/Slider/Slider.js +2 -10
  257. package/emotion/cjs/components/Slider/Slider.template-doc.mdx +0 -26
  258. package/emotion/cjs/components/Slider/Slider.tokens.js +17 -23
  259. package/emotion/cjs/components/Slider/components/Double/Double.js +19 -54
  260. package/emotion/cjs/components/Slider/components/Single/Single.js +33 -64
  261. package/emotion/cjs/components/Slider/components/Single/Single.styles.js +9 -18
  262. package/emotion/cjs/components/Slider/components/SliderBase/SliderBase.js +12 -31
  263. package/emotion/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +10 -10
  264. package/emotion/cjs/components/Slider/ui/Handler/Handler.js +88 -52
  265. package/emotion/cjs/components/Slider/ui/Handler/Handler.styles.js +15 -9
  266. package/emotion/cjs/components/Slider/ui/Thumb/Thumb.js +2 -3
  267. package/emotion/cjs/components/Slider/ui/Thumb/Thumb.styles.js +3 -3
  268. package/emotion/cjs/components/Slider/utils/index.js +10 -28
  269. package/emotion/cjs/components/Slider/variations/_view/base.js +1 -2
  270. package/emotion/cjs/components/ViewContainer/ViewContainer.js +49 -0
  271. package/emotion/cjs/components/ViewContainer/ViewContainer.template-doc.mdx +82 -0
  272. package/emotion/cjs/components/ViewContainer/_view/base.js +8 -0
  273. package/emotion/cjs/components/ViewContainer/_view/tokens.json +1 -0
  274. package/emotion/cjs/components/ViewContainer/index.js +18 -0
  275. package/emotion/cjs/examples/_helpers.js +3 -14
  276. package/emotion/cjs/examples/plasma_b2c/components/Slider/Slider.config.js +7 -7
  277. package/emotion/cjs/examples/plasma_b2c/components/Slider/Slider.stories.tsx +16 -90
  278. package/emotion/cjs/examples/plasma_b2c/components/ViewContainer/ViewContainer.config.js +16 -0
  279. package/emotion/cjs/examples/plasma_b2c/components/ViewContainer/ViewContainer.js +11 -0
  280. package/emotion/cjs/examples/plasma_b2c/components/ViewContainer/ViewContainer.stories.tsx +65 -0
  281. package/emotion/cjs/examples/plasma_web/components/Slider/Slider.config.js +7 -7
  282. package/emotion/cjs/examples/plasma_web/components/Slider/Slider.stories.tsx +15 -90
  283. package/emotion/cjs/examples/plasma_web/components/ViewContainer/ViewContainer.config.js +16 -0
  284. package/emotion/cjs/examples/plasma_web/components/ViewContainer/ViewContainer.js +11 -0
  285. package/emotion/cjs/examples/plasma_web/components/ViewContainer/ViewContainer.stories.tsx +65 -0
  286. package/emotion/cjs/index.js +11 -0
  287. package/emotion/es/components/Slider/Slider.js +2 -11
  288. package/emotion/es/components/Slider/Slider.template-doc.mdx +0 -26
  289. package/emotion/es/components/Slider/Slider.tokens.js +17 -23
  290. package/emotion/es/components/Slider/components/Double/Double.js +19 -54
  291. package/emotion/es/components/Slider/components/Single/Single.js +34 -65
  292. package/emotion/es/components/Slider/components/Single/Single.styles.js +8 -17
  293. package/emotion/es/components/Slider/components/SliderBase/SliderBase.js +12 -31
  294. package/emotion/es/components/Slider/components/SliderBase/SliderBase.styles.js +11 -11
  295. package/emotion/es/components/Slider/ui/Handler/Handler.js +86 -51
  296. package/emotion/es/components/Slider/ui/Handler/Handler.styles.js +16 -10
  297. package/emotion/es/components/Slider/ui/Thumb/Thumb.js +2 -3
  298. package/emotion/es/components/Slider/ui/Thumb/Thumb.styles.js +3 -3
  299. package/emotion/es/components/Slider/utils/index.js +10 -28
  300. package/emotion/es/components/Slider/variations/_view/base.js +1 -2
  301. package/emotion/es/components/ViewContainer/ViewContainer.js +40 -0
  302. package/emotion/es/components/ViewContainer/ViewContainer.template-doc.mdx +82 -0
  303. package/emotion/es/components/ViewContainer/_view/base.js +2 -0
  304. package/emotion/es/components/ViewContainer/_view/tokens.json +1 -0
  305. package/emotion/es/components/ViewContainer/index.js +1 -0
  306. package/emotion/es/examples/_helpers.js +3 -14
  307. package/emotion/es/examples/plasma_b2c/components/Slider/Slider.config.js +7 -7
  308. package/emotion/es/examples/plasma_b2c/components/Slider/Slider.stories.tsx +16 -90
  309. package/emotion/es/examples/plasma_b2c/components/ViewContainer/ViewContainer.config.js +10 -0
  310. package/emotion/es/examples/plasma_b2c/components/ViewContainer/ViewContainer.js +5 -0
  311. package/emotion/es/examples/plasma_b2c/components/ViewContainer/ViewContainer.stories.tsx +65 -0
  312. package/emotion/es/examples/plasma_web/components/Slider/Slider.config.js +7 -7
  313. package/emotion/es/examples/plasma_web/components/Slider/Slider.stories.tsx +15 -90
  314. package/emotion/es/examples/plasma_web/components/ViewContainer/ViewContainer.config.js +10 -0
  315. package/emotion/es/examples/plasma_web/components/ViewContainer/ViewContainer.js +5 -0
  316. package/emotion/es/examples/plasma_web/components/ViewContainer/ViewContainer.stories.tsx +65 -0
  317. package/emotion/es/index.js +2 -1
  318. package/emotion/package.json +2 -1
  319. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -1
  320. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +1 -1
  321. package/es/components/Attach/Attach.js +3 -4
  322. package/es/components/Attach/Attach.js.map +1 -1
  323. package/es/components/Attach/components/AttachButton/AttachButton.js +0 -1
  324. package/es/components/Attach/components/AttachButton/AttachButton.js.map +1 -1
  325. package/es/components/Attach/ui/Button/Button.styles.js +0 -1
  326. package/es/components/Attach/ui/Button/Button.styles.js.map +1 -1
  327. package/es/components/Attach/ui/Cell/Cell.styles.js +0 -2
  328. package/es/components/Attach/ui/Cell/Cell.styles.js.map +1 -1
  329. package/es/components/Attach/ui/IconButton/IconButton.styles.js +0 -1
  330. package/es/components/Attach/ui/IconButton/IconButton.styles.js.map +1 -1
  331. package/es/components/Attach/utils/getFileicon.js +3 -4
  332. package/es/components/Attach/utils/getFileicon.js.map +1 -1
  333. package/es/components/Attach/utils/index.js +0 -3
  334. package/es/components/Attach/utils/index.js.map +1 -1
  335. package/es/components/Autocomplete/Autocomplete.js +5 -6
  336. package/es/components/Autocomplete/Autocomplete.js.map +1 -1
  337. package/es/components/Autocomplete/Autocomplete.styles.js +2 -3
  338. package/es/components/Autocomplete/Autocomplete.styles.js.map +1 -1
  339. package/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -2
  340. package/es/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  341. package/es/components/Avatar/Avatar.js +2 -3
  342. package/es/components/Avatar/Avatar.js.map +1 -1
  343. package/es/components/Breadcrumbs/Breadcrumbs.styles.js +2 -4
  344. package/es/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
  345. package/es/components/Button/Button.styles.js +0 -3
  346. package/es/components/Button/Button.styles.js.map +1 -1
  347. package/es/components/Calendar/CalendarBase/CalendarBase.js +5 -5
  348. package/es/components/Calendar/CalendarDouble/CalendarDouble.js +8 -8
  349. package/es/components/Calendar/hooks/useDays.js +2 -2
  350. package/es/components/Calendar/hooks/useKeyNavigation.js +1 -1
  351. package/es/components/Calendar/hooks/useMonths.js +2 -2
  352. package/es/components/Calendar/hooks/useQuarters.js +2 -2
  353. package/es/components/Calendar/hooks/useYears.js +2 -2
  354. package/es/components/Calendar/ui/CalendarDays/CalendarDays.js +4 -4
  355. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -6
  356. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  357. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +0 -1
  358. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  359. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +4 -4
  360. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +4 -4
  361. package/es/components/Calendar/ui/CalendarYears/CalendarYears.js +4 -4
  362. package/es/components/Combobox/ComboboxNew/Combobox.js +11 -12
  363. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  364. package/es/components/Combobox/ComboboxNew/Combobox.styles.js +2 -4
  365. package/es/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  366. package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js +0 -2
  367. package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  368. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.js +1 -2
  369. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.js.map +1 -1
  370. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +5 -6
  371. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  372. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +1 -3
  373. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  374. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -2
  375. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  376. package/es/components/Combobox/ComboboxOld/Combobox.js +4 -10
  377. package/es/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
  378. package/es/components/Combobox/ComboboxOld/Combobox.styles.js +0 -1
  379. package/es/components/Combobox/ComboboxOld/Combobox.styles.js.map +1 -1
  380. package/es/components/Combobox/ComboboxOld/hooks/useFocusController.js +0 -1
  381. package/es/components/Combobox/ComboboxOld/hooks/useFocusController.js.map +1 -1
  382. package/es/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js +1 -2
  383. package/es/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js.map +1 -1
  384. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js +1 -10
  385. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js.map +1 -1
  386. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js +1 -10
  387. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js.map +1 -1
  388. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js +1 -10
  389. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js.map +1 -1
  390. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js +1 -10
  391. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js.map +1 -1
  392. package/es/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js +0 -2
  393. package/es/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
  394. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.js +1 -1
  395. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js +1 -2
  396. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js.map +1 -1
  397. package/es/components/DatePicker/DatePickerBase.styles.js +1 -7
  398. package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  399. package/es/components/DatePicker/RangeDate/RangeDate.js +1 -1
  400. package/es/components/DatePicker/RangeDate/RangeDate.styles.js +0 -1
  401. package/es/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -1
  402. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -2
  403. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  404. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +2 -5
  405. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -1
  406. package/es/components/DatePicker/SingleDate/SingleDate.styles.js +0 -1
  407. package/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  408. package/es/components/Drawer/Drawer.js +5 -10
  409. package/es/components/Drawer/Drawer.js.map +1 -1
  410. package/es/components/Drawer/Drawer.styles.js +0 -4
  411. package/es/components/Drawer/Drawer.styles.js.map +1 -1
  412. package/es/components/Drawer/hooks/useDrawer.js +0 -4
  413. package/es/components/Drawer/hooks/useDrawer.js.map +1 -1
  414. package/es/components/Drawer/ui/DrawerContent/DrawerContent.js +0 -7
  415. package/es/components/Drawer/ui/DrawerContent/DrawerContent.js.map +1 -1
  416. package/es/components/Drawer/ui/DrawerFooter/DrawerFooter.js +0 -7
  417. package/es/components/Drawer/ui/DrawerFooter/DrawerFooter.js.map +1 -1
  418. package/es/components/Drawer/ui/DrawerHeader/DrawerHeader.js +0 -3
  419. package/es/components/Drawer/ui/DrawerHeader/DrawerHeader.js.map +1 -1
  420. package/es/components/Dropdown/Dropdown.js +3 -10
  421. package/es/components/Dropdown/Dropdown.js.map +1 -1
  422. package/es/components/Dropdown/Dropdown.styles.js +2 -3
  423. package/es/components/Dropdown/Dropdown.styles.js.map +1 -1
  424. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +1 -9
  425. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  426. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +1 -2
  427. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  428. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +0 -2
  429. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -1
  430. package/es/components/Dropdown/ui/DropdownOld/Dropdown.styles.js +0 -1
  431. package/es/components/Dropdown/ui/DropdownOld/Dropdown.styles.js.map +1 -1
  432. package/es/components/Editable/Editable.js +3 -4
  433. package/es/components/Editable/Editable.js.map +1 -1
  434. package/es/components/Editable/utils/clearSelection.js +0 -2
  435. package/es/components/Editable/utils/clearSelection.js.map +1 -1
  436. package/es/components/Editable/utils/selectText.js +0 -2
  437. package/es/components/Editable/utils/selectText.js.map +1 -1
  438. package/es/components/EmptyState/EmptyState.styles.js +1 -2
  439. package/es/components/EmptyState/EmptyState.styles.js.map +1 -1
  440. package/es/components/IconButton/IconButton.js +1 -1
  441. package/es/components/IconButton/IconButton.styles.js +0 -8
  442. package/es/components/IconButton/IconButton.styles.js.map +1 -1
  443. package/es/components/Modal/Modal.js +6 -8
  444. package/es/components/Modal/Modal.js.map +1 -1
  445. package/es/components/Modal/hooks/useModal.js +0 -4
  446. package/es/components/Modal/hooks/useModal.js.map +1 -1
  447. package/es/components/Notification/Notification.styles.js +2 -3
  448. package/es/components/Notification/Notification.styles.js.map +1 -1
  449. package/es/components/Notification/NotificationsPortal.js +3 -4
  450. package/es/components/Notification/NotificationsPortal.js.map +1 -1
  451. package/es/components/Pagination/Pagination.styles.js +1 -2
  452. package/es/components/Pagination/Pagination.styles.js.map +1 -1
  453. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -2
  454. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  455. package/es/components/Panel/ui/PanelHeader/PanelHeader.js +1 -2
  456. package/es/components/Panel/ui/PanelHeader/PanelHeader.js.map +1 -1
  457. package/es/components/Panel/ui/PanelHeader/PanelHeader.styles.js +1 -2
  458. package/es/components/Panel/ui/PanelHeader/PanelHeader.styles.js.map +1 -1
  459. package/es/components/Popover/Popover.js +1 -1
  460. package/es/components/Popup/Popup.js +2 -2
  461. package/es/components/Popup/PopupContext.js +1 -1
  462. package/es/components/Range/Range.styles.js +0 -1
  463. package/es/components/Range/Range.styles.js.map +1 -1
  464. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.js +4 -5
  465. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.js.map +1 -1
  466. package/es/components/Select/Select.js +11 -12
  467. package/es/components/Select/Select.js.map +1 -1
  468. package/es/components/Select/Select.styles.js +2 -5
  469. package/es/components/Select/Select.styles.js.map +1 -1
  470. package/es/components/Select/hooks/usePathMaps.js +0 -2
  471. package/es/components/Select/hooks/usePathMaps.js.map +1 -1
  472. package/es/components/Select/ui/Inner/Inner.js +1 -2
  473. package/es/components/Select/ui/Inner/Inner.js.map +1 -1
  474. package/es/components/Select/ui/Inner/ui/Item/Item.js +4 -5
  475. package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  476. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +0 -1
  477. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  478. package/es/components/Select/ui/Target/ui/Button/Button.js +1 -1
  479. package/es/components/Select/ui/Target/ui/Button/Button.styles.js +1 -3
  480. package/es/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  481. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -2
  482. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -4
  483. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  484. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +1 -2
  485. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -1
  486. package/es/components/Select/utils/getButtonLabel.js +0 -2
  487. package/es/components/Select/utils/getButtonLabel.js.map +1 -1
  488. package/es/components/Sheet/Sheet.js +3 -3
  489. package/es/components/Skeleton/LineSkeleton/LineSkeleton.js +2 -4
  490. package/es/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
  491. package/es/components/Skeleton/RectSkeleton/RectSkeleton.js +2 -4
  492. package/es/components/Skeleton/RectSkeleton/RectSkeleton.js.map +1 -1
  493. package/es/components/Slider/Slider.css +13 -15
  494. package/es/components/Slider/Slider.js +2 -18
  495. package/es/components/Slider/Slider.js.map +1 -1
  496. package/es/components/Slider/Slider.tokens.js +17 -23
  497. package/es/components/Slider/Slider.tokens.js.map +1 -1
  498. package/es/components/Slider/components/Double/Double.css +8 -8
  499. package/es/components/Slider/components/Double/Double.js +20 -56
  500. package/es/components/Slider/components/Double/Double.js.map +1 -1
  501. package/es/components/Slider/components/Double/Double.styles.js +0 -1
  502. package/es/components/Slider/components/Double/Double.styles.js.map +1 -1
  503. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js +0 -3
  504. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js.map +1 -1
  505. package/es/components/Slider/components/Single/Single.css +14 -14
  506. package/es/components/Slider/components/Single/Single.js +35 -67
  507. package/es/components/Slider/components/Single/Single.js.map +1 -1
  508. package/es/components/Slider/components/Single/Single.styles.js +4 -4
  509. package/es/components/Slider/components/Single/Single.styles.js.map +1 -1
  510. package/es/components/Slider/components/Single/Single.styles_1r9f1e0.css +6 -0
  511. package/es/components/Slider/components/SliderBase/SliderBase.css +5 -5
  512. package/es/components/Slider/components/SliderBase/SliderBase.js +13 -32
  513. package/es/components/Slider/components/SliderBase/SliderBase.js.map +1 -1
  514. package/es/components/Slider/components/SliderBase/SliderBase.styles.js +7 -7
  515. package/es/components/Slider/components/SliderBase/SliderBase.styles.js.map +1 -1
  516. package/es/components/Slider/components/SliderBase/SliderBase.styles_9s4eb3.css +5 -0
  517. package/es/components/Slider/ui/Handler/Handler.css +3 -3
  518. package/es/components/Slider/ui/Handler/Handler.js +87 -48
  519. package/es/components/Slider/ui/Handler/Handler.js.map +1 -1
  520. package/es/components/Slider/ui/Handler/Handler.styles.js +7 -17
  521. package/es/components/Slider/ui/Handler/Handler.styles.js.map +1 -1
  522. package/es/components/Slider/ui/Handler/Handler.styles_8crx5z.css +2 -0
  523. package/es/components/Slider/ui/Thumb/Thumb.css +1 -1
  524. package/es/components/Slider/ui/Thumb/Thumb.js +2 -3
  525. package/es/components/Slider/ui/Thumb/Thumb.js.map +1 -1
  526. package/es/components/Slider/ui/Thumb/Thumb.styles.js +1 -1
  527. package/es/components/Slider/ui/Thumb/Thumb.styles.js.map +1 -1
  528. package/es/components/Slider/ui/Thumb/Thumb.styles_4w4gzn.css +1 -0
  529. package/es/components/Slider/utils/index.js +10 -28
  530. package/es/components/Slider/utils/index.js.map +1 -1
  531. package/es/components/Slider/variations/_view/base.js +1 -1
  532. package/es/components/Slider/variations/_view/base.js.map +1 -1
  533. package/es/components/Slider/variations/_view/base_x642ct.css +1 -0
  534. package/es/components/Steps/Steps.js +1 -1
  535. package/es/components/Steps/ui/StepItem/StepItem.styles.js +0 -1
  536. package/es/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
  537. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +2 -3
  538. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
  539. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +2 -3
  540. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
  541. package/es/components/TextArea/TextArea.js +2 -2
  542. package/es/components/TextArea/TextArea.styles.js +2 -3
  543. package/es/components/TextArea/TextArea.styles.js.map +1 -1
  544. package/es/components/TextArea/ui/Hint/Hint.js +1 -2
  545. package/es/components/TextArea/ui/Hint/Hint.js.map +1 -1
  546. package/es/components/TextField/TextField.js +3 -3
  547. package/es/components/TextField/TextField.styles.js +1 -2
  548. package/es/components/TextField/TextField.styles.js.map +1 -1
  549. package/es/components/TextField/ui/Hint/Hint.js +1 -2
  550. package/es/components/TextField/ui/Hint/Hint.js.map +1 -1
  551. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -2
  552. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  553. package/es/components/Toast/Toast.styles.js +1 -1
  554. package/es/components/Toast/ToastController.js +1 -1
  555. package/es/components/Toast/utils.js +1 -2
  556. package/es/components/Toast/utils.js.map +1 -1
  557. package/es/components/Toolbar/ui/ToolbarDivider/ToolbarDivider.js +1 -1
  558. package/es/components/Tooltip/Tooltip.js +2 -3
  559. package/es/components/Tooltip/Tooltip.js.map +1 -1
  560. package/es/components/ViewContainer/ViewContainer.js +33 -0
  561. package/es/components/ViewContainer/ViewContainer.js.map +1 -0
  562. package/es/components/ViewContainer/ViewContainer_yiqfcb.css +1 -0
  563. package/es/components/ViewContainer/_view/base.js +5 -0
  564. package/es/components/ViewContainer/_view/base.js.map +1 -0
  565. package/es/components/ViewContainer/_view/base_x642ct.css +1 -0
  566. package/es/engines/index.js +0 -2
  567. package/es/engines/index.js.map +1 -1
  568. package/es/hooks/useIsomorphicLayoutEffect.js +0 -1
  569. package/es/hooks/useIsomorphicLayoutEffect.js.map +1 -1
  570. package/es/index.css +15 -15
  571. package/es/index.js +22 -24
  572. package/es/index.js.map +1 -1
  573. package/es/utils/index.js +0 -3
  574. package/es/utils/index.js.map +1 -1
  575. package/package.json +6 -2
  576. package/styled-components/cjs/components/Slider/Slider.js +2 -10
  577. package/styled-components/cjs/components/Slider/Slider.template-doc.mdx +0 -26
  578. package/styled-components/cjs/components/Slider/Slider.tokens.js +17 -23
  579. package/styled-components/cjs/components/Slider/components/Double/Double.js +19 -54
  580. package/styled-components/cjs/components/Slider/components/Single/Single.js +33 -64
  581. package/styled-components/cjs/components/Slider/components/Single/Single.styles.js +6 -6
  582. package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.js +12 -31
  583. package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +6 -6
  584. package/styled-components/cjs/components/Slider/ui/Handler/Handler.js +88 -52
  585. package/styled-components/cjs/components/Slider/ui/Handler/Handler.styles.js +4 -7
  586. package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.js +2 -3
  587. package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.styles.js +2 -2
  588. package/styled-components/cjs/components/Slider/utils/index.js +10 -28
  589. package/styled-components/cjs/components/Slider/variations/_view/base.js +1 -2
  590. package/styled-components/cjs/components/ViewContainer/ViewContainer.js +40 -0
  591. package/styled-components/cjs/components/ViewContainer/ViewContainer.template-doc.mdx +82 -0
  592. package/styled-components/cjs/components/ViewContainer/_view/base.js +8 -0
  593. package/styled-components/cjs/components/ViewContainer/_view/tokens.json +1 -0
  594. package/styled-components/cjs/components/ViewContainer/index.js +18 -0
  595. package/styled-components/cjs/examples/_helpers.js +3 -14
  596. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.config.js +3 -3
  597. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.stories.tsx +16 -90
  598. package/styled-components/cjs/examples/plasma_b2c/components/ViewContainer/ViewContainer.config.js +16 -0
  599. package/styled-components/cjs/examples/plasma_b2c/components/ViewContainer/ViewContainer.js +11 -0
  600. package/styled-components/cjs/examples/plasma_b2c/components/ViewContainer/ViewContainer.stories.tsx +65 -0
  601. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.config.js +3 -3
  602. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.stories.tsx +15 -90
  603. package/styled-components/cjs/examples/plasma_web/components/ViewContainer/ViewContainer.config.js +16 -0
  604. package/styled-components/cjs/examples/plasma_web/components/ViewContainer/ViewContainer.js +11 -0
  605. package/styled-components/cjs/examples/plasma_web/components/ViewContainer/ViewContainer.stories.tsx +65 -0
  606. package/styled-components/cjs/index.js +11 -0
  607. package/styled-components/es/components/Slider/Slider.js +2 -11
  608. package/styled-components/es/components/Slider/Slider.template-doc.mdx +0 -26
  609. package/styled-components/es/components/Slider/Slider.tokens.js +17 -23
  610. package/styled-components/es/components/Slider/components/Double/Double.js +19 -54
  611. package/styled-components/es/components/Slider/components/Single/Single.js +34 -65
  612. package/styled-components/es/components/Slider/components/Single/Single.styles.js +5 -5
  613. package/styled-components/es/components/Slider/components/SliderBase/SliderBase.js +12 -31
  614. package/styled-components/es/components/Slider/components/SliderBase/SliderBase.styles.js +7 -7
  615. package/styled-components/es/components/Slider/ui/Handler/Handler.js +86 -51
  616. package/styled-components/es/components/Slider/ui/Handler/Handler.styles.js +5 -8
  617. package/styled-components/es/components/Slider/ui/Thumb/Thumb.js +2 -3
  618. package/styled-components/es/components/Slider/ui/Thumb/Thumb.styles.js +2 -2
  619. package/styled-components/es/components/Slider/utils/index.js +10 -28
  620. package/styled-components/es/components/Slider/variations/_view/base.js +1 -2
  621. package/styled-components/es/components/ViewContainer/ViewContainer.js +31 -0
  622. package/styled-components/es/components/ViewContainer/ViewContainer.template-doc.mdx +82 -0
  623. package/styled-components/es/components/ViewContainer/_view/base.js +2 -0
  624. package/styled-components/es/components/ViewContainer/_view/tokens.json +1 -0
  625. package/styled-components/es/components/ViewContainer/index.js +1 -0
  626. package/styled-components/es/examples/_helpers.js +3 -14
  627. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.config.js +3 -3
  628. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.stories.tsx +16 -90
  629. package/styled-components/es/examples/plasma_b2c/components/ViewContainer/ViewContainer.config.js +10 -0
  630. package/styled-components/es/examples/plasma_b2c/components/ViewContainer/ViewContainer.js +5 -0
  631. package/styled-components/es/examples/plasma_b2c/components/ViewContainer/ViewContainer.stories.tsx +65 -0
  632. package/styled-components/es/examples/plasma_web/components/Slider/Slider.config.js +3 -3
  633. package/styled-components/es/examples/plasma_web/components/Slider/Slider.stories.tsx +15 -90
  634. package/styled-components/es/examples/plasma_web/components/ViewContainer/ViewContainer.config.js +10 -0
  635. package/styled-components/es/examples/plasma_web/components/ViewContainer/ViewContainer.js +5 -0
  636. package/styled-components/es/examples/plasma_web/components/ViewContainer/ViewContainer.stories.tsx +65 -0
  637. package/styled-components/es/index.js +2 -1
  638. package/styled-components/package.json +2 -1
  639. package/types/components/Slider/Slider.d.ts.map +1 -1
  640. package/types/components/Slider/Slider.tokens.d.ts +16 -22
  641. package/types/components/Slider/Slider.tokens.d.ts.map +1 -1
  642. package/types/components/Slider/components/Double/Double.d.ts.map +1 -1
  643. package/types/components/Slider/components/Double/Double.types.d.ts +0 -1
  644. package/types/components/Slider/components/Double/Double.types.d.ts.map +1 -1
  645. package/types/components/Slider/components/Single/Single.d.ts.map +1 -1
  646. package/types/components/Slider/components/Single/Single.styles.d.ts +1 -1
  647. package/types/components/Slider/components/Single/Single.styles.d.ts.map +1 -1
  648. package/types/components/Slider/components/Single/Single.types.d.ts +7 -80
  649. package/types/components/Slider/components/Single/Single.types.d.ts.map +1 -1
  650. package/types/components/Slider/components/SliderBase/SliderBase.d.ts.map +1 -1
  651. package/types/components/Slider/components/SliderBase/SliderBase.styles.d.ts +1 -1
  652. package/types/components/Slider/components/SliderBase/SliderBase.styles.d.ts.map +1 -1
  653. package/types/components/Slider/components/SliderBase/SliderBase.types.d.ts +0 -6
  654. package/types/components/Slider/components/SliderBase/SliderBase.types.d.ts.map +1 -1
  655. package/types/components/Slider/ui/Handler/Handler.d.ts.map +1 -1
  656. package/types/components/Slider/ui/Handler/Handler.styles.d.ts +2 -6
  657. package/types/components/Slider/ui/Handler/Handler.styles.d.ts.map +1 -1
  658. package/types/components/Slider/ui/Handler/Handler.types.d.ts +1 -5
  659. package/types/components/Slider/ui/Handler/Handler.types.d.ts.map +1 -1
  660. package/types/components/Slider/ui/Thumb/Thumb.d.ts +1 -1
  661. package/types/components/Slider/ui/Thumb/Thumb.d.ts.map +1 -1
  662. package/types/components/Slider/ui/Thumb/Thumb.styles.d.ts.map +1 -1
  663. package/types/components/Slider/ui/Thumb/Thumb.types.d.ts +0 -1
  664. package/types/components/Slider/ui/Thumb/Thumb.types.d.ts.map +1 -1
  665. package/types/components/Slider/utils/index.d.ts +8 -26
  666. package/types/components/Slider/utils/index.d.ts.map +1 -1
  667. package/types/components/Slider/variations/_view/base.d.ts.map +1 -1
  668. package/types/components/ViewContainer/ViewContainer.d.ts +26 -0
  669. package/types/components/ViewContainer/ViewContainer.d.ts.map +1 -0
  670. package/types/components/ViewContainer/_view/base.d.ts +2 -0
  671. package/types/components/ViewContainer/_view/base.d.ts.map +1 -0
  672. package/types/components/ViewContainer/index.d.ts +2 -0
  673. package/types/components/ViewContainer/index.d.ts.map +1 -0
  674. package/types/examples/_helpers.d.ts.map +1 -1
  675. package/types/examples/plasma_b2c/components/Slider/Slider.config.d.ts.map +1 -1
  676. package/types/examples/plasma_b2c/components/Slider/Slider.d.ts +2 -84
  677. package/types/examples/plasma_b2c/components/Slider/Slider.d.ts.map +1 -1
  678. package/types/examples/plasma_b2c/components/ViewContainer/ViewContainer.config.d.ts +9 -0
  679. package/types/examples/plasma_b2c/components/ViewContainer/ViewContainer.config.d.ts.map +1 -0
  680. package/types/examples/plasma_b2c/components/ViewContainer/ViewContainer.d.ts +8 -0
  681. package/types/examples/plasma_b2c/components/ViewContainer/ViewContainer.d.ts.map +1 -0
  682. package/types/examples/plasma_web/components/Slider/Slider.config.d.ts.map +1 -1
  683. package/types/examples/plasma_web/components/Slider/Slider.d.ts +2 -84
  684. package/types/examples/plasma_web/components/Slider/Slider.d.ts.map +1 -1
  685. package/types/examples/plasma_web/components/ViewContainer/ViewContainer.config.d.ts +9 -0
  686. package/types/examples/plasma_web/components/ViewContainer/ViewContainer.config.d.ts.map +1 -0
  687. package/types/examples/plasma_web/components/ViewContainer/ViewContainer.d.ts +8 -0
  688. package/types/examples/plasma_web/components/ViewContainer/ViewContainer.d.ts.map +1 -0
  689. package/types/index.d.ts +1 -0
  690. package/types/index.d.ts.map +1 -1
  691. package/types/utils/index.d.ts +1 -1
  692. package/types/utils/index.d.ts.map +1 -1
  693. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +0 -98
  694. package/cjs/components/Slider/components/Single/Single.styles_1h7n2s2.css +0 -6
  695. package/cjs/components/Slider/components/SliderBase/SliderBase.styles_1qt1224.css +0 -5
  696. package/cjs/components/Slider/ui/Handler/Handler.styles_irtcgm.css +0 -2
  697. package/cjs/components/Slider/ui/Handler/computeKeyPressData.js +0 -122
  698. package/cjs/components/Slider/ui/Handler/computeKeyPressData.js.map +0 -1
  699. package/cjs/components/Slider/ui/Thumb/Thumb.styles_uyn20e.css +0 -1
  700. package/cjs/components/Slider/variations/_view/base_1s3f6q8.css +0 -1
  701. package/emotion/cjs/components/Slider/ui/Handler/computeKeyPressData.js +0 -121
  702. package/emotion/cjs/examples/themes/declaration.d.ts +0 -4
  703. package/emotion/cjs/examples/themes/index.js +0 -15
  704. package/emotion/cjs/examples/themes/plasma_b2c.module.css +0 -984
  705. package/emotion/cjs/examples/themes/plasma_web.module.css +0 -984
  706. package/emotion/es/components/Slider/ui/Handler/computeKeyPressData.js +0 -115
  707. package/emotion/es/examples/themes/declaration.d.ts +0 -4
  708. package/emotion/es/examples/themes/index.js +0 -7
  709. package/emotion/es/examples/themes/plasma_b2c.module.css +0 -984
  710. package/emotion/es/examples/themes/plasma_web.module.css +0 -984
  711. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +0 -98
  712. package/es/components/Slider/components/Single/Single.styles_1h7n2s2.css +0 -6
  713. package/es/components/Slider/components/SliderBase/SliderBase.styles_1qt1224.css +0 -5
  714. package/es/components/Slider/ui/Handler/Handler.styles_irtcgm.css +0 -2
  715. package/es/components/Slider/ui/Handler/computeKeyPressData.js +0 -118
  716. package/es/components/Slider/ui/Handler/computeKeyPressData.js.map +0 -1
  717. package/es/components/Slider/ui/Thumb/Thumb.styles_uyn20e.css +0 -1
  718. package/es/components/Slider/variations/_view/base_1s3f6q8.css +0 -1
  719. package/styled-components/cjs/components/Slider/ui/Handler/computeKeyPressData.js +0 -121
  720. package/styled-components/cjs/examples/themes/declaration.d.ts +0 -4
  721. package/styled-components/cjs/examples/themes/index.js +0 -15
  722. package/styled-components/cjs/examples/themes/plasma_b2c.module.css +0 -984
  723. package/styled-components/cjs/examples/themes/plasma_web.module.css +0 -984
  724. package/styled-components/es/components/Slider/ui/Handler/computeKeyPressData.js +0 -115
  725. package/styled-components/es/examples/themes/declaration.d.ts +0 -4
  726. package/styled-components/es/examples/themes/index.js +0 -7
  727. package/styled-components/es/examples/themes/plasma_b2c.module.css +0 -984
  728. package/styled-components/es/examples/themes/plasma_web.module.css +0 -984
  729. package/types/components/Slider/ui/Handler/computeKeyPressData.d.ts +0 -12
  730. package/types/components/Slider/ui/Handler/computeKeyPressData.d.ts.map +0 -1
  731. package/types/examples/themes/index.d.ts +0 -6
  732. package/types/examples/themes/index.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"TextFieldChip.styles.js","sources":["../../../../../src/components/TextField/ui/TextFieldChip/TextFieldChip.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { chipConfig, chipTokens } from '../../../Chip';\nimport { component, mergeConfig } from '../../../../engines';\nimport { tokens } from '../../TextField.tokens';\nimport { addFocus } from '../../../../mixins';\n\n// issue #823\nconst mergedConfig = mergeConfig(chipConfig);\nconst Chip = component(mergedConfig);\n\n// NOTE: Необходимое переопределение токенов из компонента Chip т.к. используются его части\nexport const StyledChip = styled(Chip)`\n ${chipTokens.color}: var(${tokens.chipColor});\n ${chipTokens.background}: var(${tokens.chipBackground});\n ${chipTokens.colorHover}: var(${tokens.chipColorHover});\n ${chipTokens.backgroundHover}: var(${tokens.chipBackgroundHover});\n ${chipTokens.colorActive}: var(${tokens.chipColorActive});\n ${chipTokens.backgroundActive}: var(${tokens.chipBackgroundActive});\n ${chipTokens.backgroundReadOnly}: var(${tokens.chipBackgroundReadOnly});\n ${chipTokens.colorReadOnly}: var(${tokens.chipColorReadOnly});\n ${chipTokens.backgroundReadOnlyHover}: var(${tokens.chipBackgroundReadOnlyHover});\n ${chipTokens.colorReadOnlyHover}: var(${tokens.chipColorReadOnlyHover});\n ${chipTokens.borderRadius}: var(${tokens.chipBorderRadius});\n ${chipTokens.width}: var(${tokens.chipWidth});\n ${chipTokens.height}: var(${tokens.chipHeight});\n ${chipTokens.paddingRight}: var(${tokens.chipPaddingRight});\n ${chipTokens.paddingLeft}: var(${tokens.chipPaddingLeft});\n ${chipTokens.fontFamily}: var(${tokens.chipFontFamily});\n ${chipTokens.fontSize}: var(${tokens.chipFontSize});\n ${chipTokens.fontStyle}: var(${tokens.chipFontStyle});\n ${chipTokens.fontWeight}: var(${tokens.chipFontWeight});\n ${chipTokens.letterSpacing}: var(${tokens.chipLetterSpacing});\n ${chipTokens.lineHeight}: var(${tokens.chipLineHeight});\n ${chipTokens.clearContentMarginLeft}: var(${tokens.chipClearContentMarginLeft});\n ${chipTokens.clearContentMarginRight}: var(${tokens.chipClearContentMarginRight});\n ${chipTokens.scaleHover}: var(${tokens.chipScaleHover});\n ${chipTokens.scaleActive}: var(${tokens.chipScaleActive});\n ${chipTokens.closeIconSize}: var(${tokens.chipCloseIconSize});\n ${chipTokens.closeIconColor}: var(${tokens.chipCloseIconColor});\n ${chipTokens.focusColor}: var(${tokens.focusColor});\n\n scroll-snap-align: center;\n scroll-snap-stop: normal;\n\n ${addFocus({\n outlineOffset: '0.0625rem',\n outlineSize: '0.0625rem',\n outlineRadius: `calc(var(${tokens.chipBorderRadius}) - 0.1rem)`,\n outlineColor: `var(${tokens.focusColor})`,\n })}\n\n &[readonly] {\n opacity: var(${tokens.chipOpacityReadonly});\n }\n`;\n"],"names":["mergedConfig","mergeConfig","chipConfig","Chip","component","_exp","StyledChip","styled","name","class","propsAsIs"],"mappings":";;;;;AAOA;AACA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,UAAU,CAAC,CAAA;AAC5C,IAAMC,IAAI,gBAAGC,SAAS,CAACJ,YAAY,CAAC,CAAA;;AAEpC;AAAA,IAAAK,IAAA,GAVkBA,SAUlBA,IAAAA,GAAA;AAAA,EAAA,OACiCF,IAAI,CAAA;AAAA,CAAA,CAAA;AAA9B,IAAMG,UAAU,gBAAGC,MAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CA2C/B;;;;"}
1
+ {"version":3,"file":"TextFieldChip.styles.js","sources":["../../../../../src/components/TextField/ui/TextFieldChip/TextFieldChip.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { chipConfig, chipTokens } from '../../../Chip';\nimport { component, mergeConfig } from '../../../../engines';\nimport { tokens } from '../../TextField.tokens';\nimport { addFocus } from '../../../../mixins';\n\n// issue #823\nconst mergedConfig = mergeConfig(chipConfig);\nconst Chip = component(mergedConfig);\n\n// NOTE: Необходимое переопределение токенов из компонента Chip т.к. используются его части\nexport const StyledChip = styled(Chip)`\n ${chipTokens.color}: var(${tokens.chipColor});\n ${chipTokens.background}: var(${tokens.chipBackground});\n ${chipTokens.colorHover}: var(${tokens.chipColorHover});\n ${chipTokens.backgroundHover}: var(${tokens.chipBackgroundHover});\n ${chipTokens.colorActive}: var(${tokens.chipColorActive});\n ${chipTokens.backgroundActive}: var(${tokens.chipBackgroundActive});\n ${chipTokens.backgroundReadOnly}: var(${tokens.chipBackgroundReadOnly});\n ${chipTokens.colorReadOnly}: var(${tokens.chipColorReadOnly});\n ${chipTokens.backgroundReadOnlyHover}: var(${tokens.chipBackgroundReadOnlyHover});\n ${chipTokens.colorReadOnlyHover}: var(${tokens.chipColorReadOnlyHover});\n ${chipTokens.borderRadius}: var(${tokens.chipBorderRadius});\n ${chipTokens.width}: var(${tokens.chipWidth});\n ${chipTokens.height}: var(${tokens.chipHeight});\n ${chipTokens.paddingRight}: var(${tokens.chipPaddingRight});\n ${chipTokens.paddingLeft}: var(${tokens.chipPaddingLeft});\n ${chipTokens.fontFamily}: var(${tokens.chipFontFamily});\n ${chipTokens.fontSize}: var(${tokens.chipFontSize});\n ${chipTokens.fontStyle}: var(${tokens.chipFontStyle});\n ${chipTokens.fontWeight}: var(${tokens.chipFontWeight});\n ${chipTokens.letterSpacing}: var(${tokens.chipLetterSpacing});\n ${chipTokens.lineHeight}: var(${tokens.chipLineHeight});\n ${chipTokens.clearContentMarginLeft}: var(${tokens.chipClearContentMarginLeft});\n ${chipTokens.clearContentMarginRight}: var(${tokens.chipClearContentMarginRight});\n ${chipTokens.scaleHover}: var(${tokens.chipScaleHover});\n ${chipTokens.scaleActive}: var(${tokens.chipScaleActive});\n ${chipTokens.closeIconSize}: var(${tokens.chipCloseIconSize});\n ${chipTokens.closeIconColor}: var(${tokens.chipCloseIconColor});\n ${chipTokens.focusColor}: var(${tokens.focusColor});\n\n scroll-snap-align: center;\n scroll-snap-stop: normal;\n\n ${addFocus({\n outlineOffset: '0.0625rem',\n outlineSize: '0.0625rem',\n outlineRadius: `calc(var(${tokens.chipBorderRadius}) - 0.1rem)`,\n outlineColor: `var(${tokens.focusColor})`,\n })}\n\n &[readonly] {\n opacity: var(${tokens.chipOpacityReadonly});\n }\n`;\n"],"names":["mergedConfig","mergeConfig","chipConfig","Chip","component","_exp","StyledChip","styled","name","class","propsAsIs"],"mappings":";;;;AAOA;AACA,IAAMA,YAAY,gBAAGC,WAAW,CAACC,UAAU,CAAC,CAAA;AAC5C,IAAMC,IAAI,gBAAGC,SAAS,CAACJ,YAAY,CAAC,CAAA;;AAEpC;AAAA,IAAAK,IAAA,GAVkBA,SAUlBA,IAAAA,GAAA;AAAA,EAAA,OACiCF,IAAI,CAAA;AAAA,CAAA,CAAA;AAA9B,IAAMG,UAAU,gBAAGC,MAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,YAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CA2C/B;;;;"}
@@ -1,7 +1,7 @@
1
1
  import './Toast.styles_1v9oj7f.css';
2
2
  import { styled } from '@linaria/react';
3
- import { Overlay } from '../Overlay/Overlay.js';
4
3
  import { Button } from './utils.js';
4
+ import { Overlay } from '../Overlay/Overlay.js';
5
5
 
6
6
  var base = "b1xqk743";
7
7
  var _exp3 = function _exp3() {
@@ -2,8 +2,8 @@ import { objectWithoutProperties as _objectWithoutProperties, objectSpread2 as _
2
2
  import React, { useEffect } from 'react';
3
3
  import { classes } from './Toast.tokens.js';
4
4
  import { StyledOverlay, StyledRoot } from './Toast.styles.js';
5
- import { useToastInner } from './ToastProvider/ToastProvider.js';
6
5
  import { FADE_Z_INDEX, gradients } from './utils.js';
6
+ import { useToastInner } from './ToastProvider/ToastProvider.js';
7
7
 
8
8
  var _excluded = ["position", "offset", "fade", "text"];
9
9
  var ToastControllerHoc = function ToastControllerHoc(ToastComponent) {
@@ -1,6 +1,5 @@
1
- import { buttonConfig } from '../Button/Button.js';
2
- import '@linaria/core';
3
1
  import { component, mergeConfig } from '../../engines/common.js';
2
+ import { buttonConfig } from '../Button/Button.js';
4
3
 
5
4
  var DEFAULT_FADE = true;
6
5
  var DEFAULT_POSITION = 'bottom';
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sources":["../../../src/components/Toast/utils.ts"],"sourcesContent":["import { buttonConfig } from '../Button';\nimport { component, mergeConfig } from '../../engines';\n\nexport const DEFAULT_FADE = true;\nexport const DEFAULT_POSITION = 'bottom';\nexport const TIMER_DELAY = 300;\nexport const FADE_Z_INDEX = '9900';\nexport const TOAST_Z_INDEX = '9901';\n\nexport const gradients = {\n top: 'radial-gradient(200% 200% at 50% -100%, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%)',\n bottom: 'radial-gradient(200% 200% at 50% 200%, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%)',\n};\n\nconst mergedButtonConfig = mergeConfig(buttonConfig);\nexport const Button = component(mergedButtonConfig);\n"],"names":["DEFAULT_FADE","DEFAULT_POSITION","TIMER_DELAY","FADE_Z_INDEX","gradients","top","bottom","mergedButtonConfig","mergeConfig","buttonConfig","Button","component"],"mappings":";;;;AAGO,IAAMA,YAAY,GAAG,KAAI;AACzB,IAAMC,gBAAgB,GAAG,SAAQ;AACjC,IAAMC,WAAW,GAAG,IAAG;AACvB,IAAMC,YAAY,GAAG,OAAM;AAG3B,IAAMC,SAAS,GAAG;AACrBC,EAAAA,GAAG,EAAE,uFAAuF;AAC5FC,EAAAA,MAAM,EAAE,sFAAA;AACZ,EAAC;AAED,IAAMC,kBAAkB,gBAAGC,WAAW,CAACC,YAAY,CAAC,CAAA;IACvCC,MAAM,gBAAGC,SAAS,CAACJ,kBAAkB;;;;"}
1
+ {"version":3,"file":"utils.js","sources":["../../../src/components/Toast/utils.ts"],"sourcesContent":["import { buttonConfig } from '../Button';\nimport { component, mergeConfig } from '../../engines';\n\nexport const DEFAULT_FADE = true;\nexport const DEFAULT_POSITION = 'bottom';\nexport const TIMER_DELAY = 300;\nexport const FADE_Z_INDEX = '9900';\nexport const TOAST_Z_INDEX = '9901';\n\nexport const gradients = {\n top: 'radial-gradient(200% 200% at 50% -100%, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%)',\n bottom: 'radial-gradient(200% 200% at 50% 200%, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%)',\n};\n\nconst mergedButtonConfig = mergeConfig(buttonConfig);\nexport const Button = component(mergedButtonConfig);\n"],"names":["DEFAULT_FADE","DEFAULT_POSITION","TIMER_DELAY","FADE_Z_INDEX","gradients","top","bottom","mergedButtonConfig","mergeConfig","buttonConfig","Button","component"],"mappings":";;;AAGO,IAAMA,YAAY,GAAG,KAAI;AACzB,IAAMC,gBAAgB,GAAG,SAAQ;AACjC,IAAMC,WAAW,GAAG,IAAG;AACvB,IAAMC,YAAY,GAAG,OAAM;AAG3B,IAAMC,SAAS,GAAG;AACrBC,EAAAA,GAAG,EAAE,uFAAuF;AAC5FC,EAAAA,MAAM,EAAE,sFAAA;AACZ,EAAC;AAED,IAAMC,kBAAkB,gBAAGC,WAAW,CAACC,YAAY,CAAC,CAAA;IACvCC,MAAM,gBAAGC,SAAS,CAACJ,kBAAkB;;;;"}
@@ -1,6 +1,6 @@
1
1
  import { objectSpread2 as _objectSpread2 } from '../../../../_virtual/_rollupPluginBabelHelpers.js';
2
- import { dividerRoot, dividerConfig } from '../../../Divider/Divider.js';
3
2
  import { base } from './ToolbarDivider.styles.js';
3
+ import { dividerRoot, dividerConfig } from '../../../Divider/Divider.js';
4
4
 
5
5
  /**
6
6
  * Разделитель тулбара
@@ -2,14 +2,13 @@ import './Tooltip_aay375.css';
2
2
  import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
3
3
  import React, { forwardRef, useState, useEffect } from 'react';
4
4
  import { styled } from '@linaria/react';
5
- import '@linaria/core';
6
- import { component } from '../../engines/common.js';
7
- import { popoverConfig } from '../Popover/Popover.js';
8
5
  import { cx } from '../../utils/index.js';
9
6
  import { TooltipRoot, StyledContentLeft } from './Tooltip.styles.js';
10
7
  import { base } from './variations/_view/base.js';
11
8
  import { base as base$1 } from './variations/_size/base.js';
12
9
  import { classes } from './Tooltip.tokens.js';
10
+ import { component } from '../../engines/common.js';
11
+ import { popoverConfig } from '../Popover/Popover.js';
13
12
 
14
13
  var _excluded = ["id", "text", "opened", "isVisible", "isOpen", "hasArrow", "arrow", "animated", "offset", "minWidth", "maxWidth", "placement", "usePortal", "target", "children", "onDismiss", "view", "size", "contentLeft", "zIndex", "className", "style"];
15
14
  var ESCAPE_KEYCODE = 27;
@@ -1 +1 @@
1
- {"version":3,"file":"Tooltip.js","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"sourcesContent":["import React, { useEffect, forwardRef, useState } from 'react';\nimport { styled } from '@linaria/react';\n\nimport { RootProps, component } from '../../engines';\nimport { popoverClasses, popoverConfig, popoverTokens } from '../Popover';\nimport { cx } from '../../utils';\n\nimport { TooltipProps } from './Tooltip.types';\nimport { StyledContentLeft, TooltipRoot } from './Tooltip.styles';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { classes, tokens } from './Tooltip.tokens';\n\nconst ESCAPE_KEYCODE = 27;\n\nconst getStringValue = (value?: number | string) => {\n return typeof value === 'number' ? `${value}rem` : value;\n};\n\nconst Popover = component(popoverConfig);\n\nconst StyledPopover = styled(Popover)`\n ${popoverTokens.arrowMaskWidth}: var(${tokens.arrowMaskWidth});\n ${popoverTokens.arrowMaskHeight}: var(${tokens.arrowMaskHeight});\n ${popoverTokens.arrowMaskImage}: var(${tokens.arrowMaskImage});\n ${popoverTokens.arrowBackground}: var(${tokens.arrowBackground});\n ${popoverTokens.arrowHeight}: var(${tokens.arrowHeight});\n ${popoverTokens.arrowEdgeMargin}: var(${tokens.arrowEdgeMargin});\n\n &.${classes.animated} .${popoverClasses.root} {\n transition: opacity 200ms ease-in-out, visibility 200ms ease-in-out;\n }\n`;\n\n/**\n * Компонент для текстовых подсказок. Основное предназначение — подписи к блокам.\n */\n\nexport const tooltipRoot = (Root: RootProps<HTMLDivElement, Omit<TooltipProps, 'opened' | 'text'>>) =>\n forwardRef<HTMLDivElement, TooltipProps>(\n (\n {\n id,\n text,\n opened,\n isVisible,\n isOpen,\n hasArrow = true,\n arrow,\n animated,\n offset = [0, 8],\n minWidth,\n maxWidth,\n placement = 'bottom',\n usePortal = true,\n target,\n children,\n onDismiss,\n view,\n size,\n contentLeft,\n zIndex = '9200',\n className,\n style,\n ...rest\n },\n outerRef,\n ) => {\n const [ref, setRef] = useState<HTMLDivElement | null>(null);\n\n // TODO убрать после отказа от старого API\n const innerIsOpen = Boolean(isVisible || isOpen || opened);\n const innerHasArrow = arrow || hasArrow;\n const showTooltip = innerIsOpen && Boolean(text?.length);\n\n const animatedClass = animated ? classes.animated : undefined;\n\n useEffect(() => {\n const onKeyDown = (event: KeyboardEvent) => {\n if (event.keyCode === ESCAPE_KEYCODE) {\n onDismiss?.();\n }\n };\n\n window.addEventListener('keydown', onKeyDown);\n\n return () => {\n window.removeEventListener('keydown', onKeyDown);\n };\n }, []);\n\n const withContentLeft = contentLeft ? classes.hasContentLeft : undefined;\n\n return (\n <StyledPopover\n opened={showTooltip}\n placement={placement}\n offset={offset}\n zIndex={zIndex}\n target={target || children}\n usePortal={usePortal}\n hasArrow={innerHasArrow}\n aria-hidden={!innerIsOpen}\n aria-live=\"polite\"\n role=\"tooltip\"\n className={cx(ref?.classList.toString(), animatedClass)}\n {...rest}\n >\n <Root view={view} size={size} ref={setRef} className={className} style={style}>\n <TooltipRoot\n ref={outerRef}\n id={id}\n className={cx(withContentLeft)}\n maxWidth={getStringValue(maxWidth)}\n minWidth={getStringValue(minWidth)}\n >\n {contentLeft && <StyledContentLeft>{contentLeft}</StyledContentLeft>}\n {text}\n </TooltipRoot>\n </Root>\n </StyledPopover>\n );\n },\n );\n\nexport const tooltipConfig = {\n name: 'Tooltip',\n tag: 'div',\n layout: tooltipRoot,\n base: '',\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n view: 'default',\n size: 'm',\n },\n};\n"],"names":["ESCAPE_KEYCODE","getStringValue","value","concat","Popover","component","popoverConfig","_exp","StyledPopover","styled","name","class","propsAsIs","tooltipRoot","Root","forwardRef","_ref","outerRef","id","text","opened","isVisible","isOpen","_ref$hasArrow","hasArrow","arrow","animated","_ref$offset","offset","minWidth","maxWidth","_ref$placement","placement","_ref$usePortal","usePortal","target","children","onDismiss","view","size","contentLeft","_ref$zIndex","zIndex","className","style","rest","_useState","useState","_useState2","_slicedToArray","ref","setRef","innerIsOpen","Boolean","innerHasArrow","showTooltip","length","animatedClass","classes","undefined","useEffect","onKeyDown","event","keyCode","window","addEventListener","removeEventListener","withContentLeft","hasContentLeft","React","createElement","_extends","role","cx","classList","toString","TooltipRoot","StyledContentLeft","tooltipConfig","tag","layout","base","variations","css","viewCSS","sizeCSS","defaults"],"mappings":"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"}
1
+ {"version":3,"file":"Tooltip.js","sources":["../../../src/components/Tooltip/Tooltip.tsx"],"sourcesContent":["import React, { useEffect, forwardRef, useState } from 'react';\nimport { styled } from '@linaria/react';\n\nimport { RootProps, component } from '../../engines';\nimport { popoverClasses, popoverConfig, popoverTokens } from '../Popover';\nimport { cx } from '../../utils';\n\nimport { TooltipProps } from './Tooltip.types';\nimport { StyledContentLeft, TooltipRoot } from './Tooltip.styles';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { classes, tokens } from './Tooltip.tokens';\n\nconst ESCAPE_KEYCODE = 27;\n\nconst getStringValue = (value?: number | string) => {\n return typeof value === 'number' ? `${value}rem` : value;\n};\n\nconst Popover = component(popoverConfig);\n\nconst StyledPopover = styled(Popover)`\n ${popoverTokens.arrowMaskWidth}: var(${tokens.arrowMaskWidth});\n ${popoverTokens.arrowMaskHeight}: var(${tokens.arrowMaskHeight});\n ${popoverTokens.arrowMaskImage}: var(${tokens.arrowMaskImage});\n ${popoverTokens.arrowBackground}: var(${tokens.arrowBackground});\n ${popoverTokens.arrowHeight}: var(${tokens.arrowHeight});\n ${popoverTokens.arrowEdgeMargin}: var(${tokens.arrowEdgeMargin});\n\n &.${classes.animated} .${popoverClasses.root} {\n transition: opacity 200ms ease-in-out, visibility 200ms ease-in-out;\n }\n`;\n\n/**\n * Компонент для текстовых подсказок. Основное предназначение — подписи к блокам.\n */\n\nexport const tooltipRoot = (Root: RootProps<HTMLDivElement, Omit<TooltipProps, 'opened' | 'text'>>) =>\n forwardRef<HTMLDivElement, TooltipProps>(\n (\n {\n id,\n text,\n opened,\n isVisible,\n isOpen,\n hasArrow = true,\n arrow,\n animated,\n offset = [0, 8],\n minWidth,\n maxWidth,\n placement = 'bottom',\n usePortal = true,\n target,\n children,\n onDismiss,\n view,\n size,\n contentLeft,\n zIndex = '9200',\n className,\n style,\n ...rest\n },\n outerRef,\n ) => {\n const [ref, setRef] = useState<HTMLDivElement | null>(null);\n\n // TODO убрать после отказа от старого API\n const innerIsOpen = Boolean(isVisible || isOpen || opened);\n const innerHasArrow = arrow || hasArrow;\n const showTooltip = innerIsOpen && Boolean(text?.length);\n\n const animatedClass = animated ? classes.animated : undefined;\n\n useEffect(() => {\n const onKeyDown = (event: KeyboardEvent) => {\n if (event.keyCode === ESCAPE_KEYCODE) {\n onDismiss?.();\n }\n };\n\n window.addEventListener('keydown', onKeyDown);\n\n return () => {\n window.removeEventListener('keydown', onKeyDown);\n };\n }, []);\n\n const withContentLeft = contentLeft ? classes.hasContentLeft : undefined;\n\n return (\n <StyledPopover\n opened={showTooltip}\n placement={placement}\n offset={offset}\n zIndex={zIndex}\n target={target || children}\n usePortal={usePortal}\n hasArrow={innerHasArrow}\n aria-hidden={!innerIsOpen}\n aria-live=\"polite\"\n role=\"tooltip\"\n className={cx(ref?.classList.toString(), animatedClass)}\n {...rest}\n >\n <Root view={view} size={size} ref={setRef} className={className} style={style}>\n <TooltipRoot\n ref={outerRef}\n id={id}\n className={cx(withContentLeft)}\n maxWidth={getStringValue(maxWidth)}\n minWidth={getStringValue(minWidth)}\n >\n {contentLeft && <StyledContentLeft>{contentLeft}</StyledContentLeft>}\n {text}\n </TooltipRoot>\n </Root>\n </StyledPopover>\n );\n },\n );\n\nexport const tooltipConfig = {\n name: 'Tooltip',\n tag: 'div',\n layout: tooltipRoot,\n base: '',\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n view: 'default',\n size: 'm',\n },\n};\n"],"names":["ESCAPE_KEYCODE","getStringValue","value","concat","Popover","component","popoverConfig","_exp","StyledPopover","styled","name","class","propsAsIs","tooltipRoot","Root","forwardRef","_ref","outerRef","id","text","opened","isVisible","isOpen","_ref$hasArrow","hasArrow","arrow","animated","_ref$offset","offset","minWidth","maxWidth","_ref$placement","placement","_ref$usePortal","usePortal","target","children","onDismiss","view","size","contentLeft","_ref$zIndex","zIndex","className","style","rest","_useState","useState","_useState2","_slicedToArray","ref","setRef","innerIsOpen","Boolean","innerHasArrow","showTooltip","length","animatedClass","classes","undefined","useEffect","onKeyDown","event","keyCode","window","addEventListener","removeEventListener","withContentLeft","hasContentLeft","React","createElement","_extends","role","cx","classList","toString","TooltipRoot","StyledContentLeft","tooltipConfig","tag","layout","base","variations","css","viewCSS","sizeCSS","defaults"],"mappings":"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"}
@@ -0,0 +1,33 @@
1
+ import './ViewContainer_yiqfcb.css';
2
+ import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
3
+ import React, { forwardRef } from 'react';
4
+ import { base as base$1 } from './_view/base.js';
5
+
6
+ var _excluded = ["children"];
7
+ var base = "bemjbnt";
8
+ var viewContainerRoot = function viewContainerRoot(Root) {
9
+ return /*#__PURE__*/forwardRef(function (props, ref) {
10
+ var children = props.children,
11
+ rest = _objectWithoutProperties(props, _excluded);
12
+ return /*#__PURE__*/React.createElement(Root, _extends({
13
+ ref: ref
14
+ }, rest), children);
15
+ });
16
+ };
17
+ var viewContainerConfig = {
18
+ name: 'ViewContainer',
19
+ tag: 'div',
20
+ layout: viewContainerRoot,
21
+ base: base,
22
+ variations: {
23
+ view: {
24
+ css: base$1
25
+ }
26
+ },
27
+ defaults: {
28
+ view: undefined
29
+ }
30
+ };
31
+
32
+ export { viewContainerConfig, viewContainerRoot };
33
+ //# sourceMappingURL=ViewContainer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ViewContainer.js","sources":["../../../src/components/ViewContainer/ViewContainer.tsx"],"sourcesContent":["import React, { forwardRef } from 'react';\nimport { css } from '@linaria/core';\n\nimport type { RootProps } from '../../engines/types';\n\nimport { base as viewCSS } from './_view/base';\n\nconst base = css`\n position: relative;\n`;\n\nexport type ViewContainerCustomProps = {\n /**\n * Вид компонента\n */\n view?: string;\n};\n\ntype ViewContainerProps = React.HTMLAttributes<HTMLDivElement> & ViewContainerCustomProps;\n\nexport const viewContainerRoot = (Root: RootProps<HTMLAnchorElement, ViewContainerProps>) =>\n forwardRef<HTMLAnchorElement, ViewContainerProps>((props, ref) => {\n const { children, ...rest } = props;\n\n return (\n <Root ref={ref} {...rest}>\n {children}\n </Root>\n );\n });\n\nexport const viewContainerConfig = {\n name: 'ViewContainer',\n tag: 'div',\n layout: viewContainerRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n },\n defaults: {\n view: undefined,\n },\n};\n"],"names":["base","viewContainerRoot","Root","forwardRef","props","ref","children","rest","_excluded","React","createElement","_extends","viewContainerConfig","name","tag","layout","variations","view","css","viewCSS","defaults","undefined"],"mappings":";;;;;AAOA,IAAMA,IAAI,GAET,SAAA,CAAA;IAWYC,iBAAiB,GAAGA,SAApBA,iBAAiBA,CAAIC,IAAsD,EAAA;AAAA,EAAA,oBACpFC,UAAU,CAAwC,UAACC,KAAK,EAAEC,GAAG,EAAK;AAC9D,IAAA,IAAQC,QAAQ,GAAcF,KAAK,CAA3BE,QAAQ;AAAKC,MAAAA,IAAAA,GAAAA,wBAAAA,CAASH,KAAK,EAAAI,SAAA,CAAA,CAAA;AAEnC,IAAA,oBACIC,KAAA,CAAAC,aAAA,CAACR,IAAI,EAAAS,QAAA,CAAA;AAACN,MAAAA,GAAG,EAAEA,GAAAA;KAASE,EAAAA,IAAI,CACnBD,EAAAA,QACC,CAAC,CAAA;AAEf,GAAC,CAAC,CAAA;AAAA,EAAA;AAEC,IAAMM,mBAAmB,GAAG;AAC/BC,EAAAA,IAAI,EAAE,eAAe;AACrBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAEd,iBAAiB;AACzBD,EAAAA,IAAI,EAAJA,IAAI;AACJgB,EAAAA,UAAU,EAAE;AACRC,IAAAA,IAAI,EAAE;AACFC,MAAAA,GAAG,EAAEC,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNH,IAAAA,IAAI,EAAEI,SAAAA;AACV,GAAA;AACJ;;;;"}
@@ -0,0 +1 @@
1
+ .bemjbnt{position:relative;}
@@ -0,0 +1,5 @@
1
+ import './base_x642ct.css';
2
+ var base = "bhhdltp";
3
+
4
+ export { base };
5
+ //# sourceMappingURL=base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.js","sources":["../../../../src/components/ViewContainer/_view/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nexport const base = css``;\n"],"names":["base"],"mappings":"AAEO,IAAMA,IAAI,GAAQ;;;;"}
@@ -1,6 +1,4 @@
1
1
  import { css as css$1 } from '@linaria/core';
2
- import 'react';
3
- import 'focus-visible';
4
2
 
5
3
  var css = css$1;
6
4
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../src/engines/index.ts"],"sourcesContent":["import { css as cssLibrary } from '@linaria/core';\n\nimport type { CSS } from './types';\n\nexport const css = cssLibrary as CSS;\nexport { mergeConfig, component } from './common';\n\nexport type {\n Variant,\n ComponentConfig,\n RootProps,\n CSS,\n RootPropsOmitOnChange,\n RootPropsOmitOnChangeAndDefaultValue,\n} from './types';\n"],"names":["css","cssLibrary"],"mappings":";;;;AAIO,IAAMA,GAAG,GAAGC;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../src/engines/index.ts"],"sourcesContent":["import { css as cssLibrary } from '@linaria/core';\n\nimport type { CSS } from './types';\n\nexport const css = cssLibrary as CSS;\nexport { mergeConfig, component } from './common';\n\nexport type {\n Variant,\n ComponentConfig,\n RootProps,\n CSS,\n RootPropsOmitOnChange,\n RootPropsOmitOnChangeAndDefaultValue,\n} from './types';\n"],"names":["css","cssLibrary"],"mappings":";;AAIO,IAAMA,GAAG,GAAGC;;;;"}
@@ -1,6 +1,5 @@
1
1
  import { useLayoutEffect, useEffect } from 'react';
2
2
  import { canUseDOM } from '../utils/canUseDOM.js';
3
- import '../utils/react.js';
4
3
 
5
4
  /**
6
5
  * Runs effect safely on server.
@@ -1 +1 @@
1
- {"version":3,"file":"useIsomorphicLayoutEffect.js","sources":["../../src/hooks/useIsomorphicLayoutEffect.ts"],"sourcesContent":["import { useLayoutEffect, useEffect } from 'react';\n\nimport { canUseDOM } from '../utils';\n\n/**\n * Runs effect safely on server.\n */\nexport const useIsomorphicLayoutEffect = canUseDOM ? useLayoutEffect : useEffect;\n"],"names":["useIsomorphicLayoutEffect","canUseDOM","useLayoutEffect","useEffect"],"mappings":";;;;AAIA;AACA;AACA;IACaA,yBAAyB,GAAGC,SAAS,GAAGC,eAAe,GAAGC;;;;"}
1
+ {"version":3,"file":"useIsomorphicLayoutEffect.js","sources":["../../src/hooks/useIsomorphicLayoutEffect.ts"],"sourcesContent":["import { useLayoutEffect, useEffect } from 'react';\n\nimport { canUseDOM } from '../utils';\n\n/**\n * Runs effect safely on server.\n */\nexport const useIsomorphicLayoutEffect = canUseDOM ? useLayoutEffect : useEffect;\n"],"names":["useIsomorphicLayoutEffect","canUseDOM","useLayoutEffect","useEffect"],"mappings":";;;AAIA;AACA;AACA;IACaA,yBAAyB,GAAGC,SAAS,GAAGC,eAAe,GAAGC;;;;"}
package/es/index.css CHANGED
@@ -659,20 +659,18 @@
659
659
 
660
660
  .Sheet_styles_o73i75_sqp1ccu__24445093{width:100%;z-index:1;padding-bottom:1rem;position:var(--sqp1ccu-0);bottom:var(--sqp1ccu-1);background-color:var(--sqp1ccu-2);}
661
661
 
662
- .base_1s3f6q8_b1c93yiw__8f5ba4a1.base_1s3f6q8_sliderVerticalOrientation__8f5ba4a1{height:100%;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
662
+ .SliderBase_styles_9s4eb3_s33crq1__d6fac54b{-webkit-flex:1;-ms-flex:1;flex:1;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;height:var(--plasma-slider-height);}
663
+ .SliderBase_styles_9s4eb3_rnaoqfb__d6fac54b{height:100%;}
664
+ .SliderBase_styles_9s4eb3_r1bro5xo__d6fac54b{position:relative;top:50%;height:var(--plasma-slider-rail-height);border-radius:var(--plasma-slider-rail-border-radius);background-color:var(--plasma-slider-rail-background-color);overflow:hidden;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);}
665
+ .SliderBase_styles_9s4eb3_fdg7yhg__d6fac54b{position:absolute;height:100%;top:0;left:0;background:var(--plasma-slider-fill-color);width:0;}
666
+ .SliderBase_styles_9s4eb3_i17ya4q3__d6fac54b{visibility:hidden;width:0;height:0;opacity:0;margin:0;padding:0;border:none;}
663
667
 
664
- .SliderBase_styles_1qt1224_r33crq1__8fd7c64a{position:relative;top:50%;height:var(--plasma-slider-rail-thickness);border-radius:var(--plasma-slider-rail-border-radius);background-color:var(--plasma-slider-rail-background-color);overflow:hidden;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);}
665
- .SliderBase_styles_1qt1224_snaoqfb__8fd7c64a{-webkit-flex:1;-ms-flex:1;flex:1;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;height:var(--plasma-slider-size);}.SliderBase_styles_1qt1224_snaoqfb__8fd7c64a.SliderBase_styles_1qt1224_sliderVerticalOrientation__8fd7c64a{width:var(--plasma-slider-size);height:auto;}.SliderBase_styles_1qt1224_snaoqfb__8fd7c64a.SliderBase_styles_1qt1224_sliderVerticalOrientation__8fd7c64a .SliderBase_styles_1qt1224_r33crq1__8fd7c64a{top:0;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);width:var(--plasma-slider-rail-thickness);height:100%;}
666
- .SliderBase_styles_1qt1224_r1bro5xo__8fd7c64a{height:100%;}
667
- .SliderBase_styles_1qt1224_fdg7yhg__8fd7c64a{position:absolute;height:100%;top:0;left:0;background:var(--plasma-slider-fill-color);width:0;}
668
- .SliderBase_styles_1qt1224_i17ya4q3__8fd7c64a{visibility:hidden;width:0;height:0;opacity:0;margin:0;padding:0;border:none;}
668
+ .Single_styles_1r9f1e0_l1p4kc08__4db690dd{color:var(--plasma-slider-label-color);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:var(--plasma-slider-label-wrapper-gap);}
669
669
 
670
- .Single_styles_1h7n2s2_l1p4kc08__5fe9b6cf{color:var(--plasma-slider-label-color);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:var(--plasma-slider-label-wrapper-gap);}
671
- .Single_styles_1h7n2s2_ly2gexi__5fe9b6cf{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
672
- .Single_styles_1h7n2s2_lozb535__5fe9b6cf{font-family:var(--plasma-slider-label-font-family);font-size:var(--plasma-slider-label-font-size);font-style:var(--plasma-slider-label-font-style);font-weight:var(--plasma-slider-label-font-weight);-webkit-letter-spacing:var(--plasma-slider-label-letter-spacing);-moz-letter-spacing:var(--plasma-slider-label-letter-spacing);-ms-letter-spacing:var(--plasma-slider-label-letter-spacing);letter-spacing:var(--plasma-slider-label-letter-spacing);line-height:var(--plasma-slider-label-line-height);}
673
- .Single_styles_1h7n2s2_s1w9icbd__5fe9b6cf{color:var(--plasma-slider-range-value-color);font-family:var(--plasma-slider-value-font-family);font-size:var(--plasma-slider-value-font-size);font-style:var(--plasma-slider-value-font-style);font-weight:var(--plasma-slider-value-font-weight);-webkit-letter-spacing:var(--plasma-slider-value-letter-spacing);-moz-letter-spacing:var(--plasma-slider-value-letter-spacing);-ms-letter-spacing:var(--plasma-slider-value-letter-spacing);letter-spacing:var(--plasma-slider-value-letter-spacing);line-height:var(--plasma-slider-value-line-height);-webkit-transition:opacity 0.1s ease-in-out;transition:opacity 0.1s ease-in-out;}.Single_styles_1h7n2s2_s1w9icbd__5fe9b6cf.Single_styles_1h7n2s2_sliderHideMinValue__5fe9b6cf,.Single_styles_1h7n2s2_s1w9icbd__5fe9b6cf.Single_styles_1h7n2s2_sliderHideMaxValue__5fe9b6cf{opacity:0;}.Single_styles_1h7n2s2_s1w9icbd__5fe9b6cf.Single_styles_1h7n2s2_sliderActiveRangeValue__5fe9b6cf{color:var(--plasma-slider-label-color);}
674
- .Single_styles_1h7n2s2_s1d2sfgl__5fe9b6cf{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1;-ms-flex:1;flex:1;}.Single_styles_1h7n2s2_s1d2sfgl__5fe9b6cf.Single_styles_1h7n2s2_sliderRangeValuesPlacementOuter__5fe9b6cf .Single_styles_1h7n2s2_s1w9icbd__5fe9b6cf{position:absolute;bottom:calc(var(--plasma-slider-rail-thickness) * -1.5 - var(--plasma-slider-range-value-bottom-offset));left:0;}.Single_styles_1h7n2s2_s1d2sfgl__5fe9b6cf.Single_styles_1h7n2s2_sliderRangeValuesPlacementOuter__5fe9b6cf .Single_styles_1h7n2s2_s1w9icbd__5fe9b6cf.Single_styles_1h7n2s2_sliderMaxRangeValue__5fe9b6cf{left:unset;right:0;}.Single_styles_1h7n2s2_s1d2sfgl__5fe9b6cf.Single_styles_1h7n2s2_sliderRangeValuesPlacementInner__5fe9b6cf{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.Single_styles_1h7n2s2_s1d2sfgl__5fe9b6cf.Single_styles_1h7n2s2_sliderRangeValuesPlacementInner__5fe9b6cf .Single_styles_1h7n2s2_s1w9icbd__5fe9b6cf{margin-right:var(--plasma-slider-range-value-horizontal-margin);}.Single_styles_1h7n2s2_s1d2sfgl__5fe9b6cf.Single_styles_1h7n2s2_sliderRangeValuesPlacementInner__5fe9b6cf .Single_styles_1h7n2s2_s1w9icbd__5fe9b6cf.Single_styles_1h7n2s2_sliderMaxRangeValue__5fe9b6cf{margin-right:0;margin-left:var(--plasma-slider-range-value-horizontal-margin);}
675
- .Single_styles_1h7n2s2_ss3ujqx__5fe9b6cf{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;opacity:var(--plasma-slider-disabled-opacity);}.Single_styles_1h7n2s2_ss3ujqx__5fe9b6cf.Single_styles_1h7n2s2_sliderLabelPlacementOuter__5fe9b6cf{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.Single_styles_1h7n2s2_ss3ujqx__5fe9b6cf.Single_styles_1h7n2s2_sliderLabelPlacementOuter__5fe9b6cf .Single_styles_1h7n2s2_l1p4kc08__5fe9b6cf{margin-bottom:var(--plasma-slider-label-wrapper-margin-bottom);}.Single_styles_1h7n2s2_ss3ujqx__5fe9b6cf.Single_styles_1h7n2s2_sliderLabelPlacementInner__5fe9b6cf .Single_styles_1h7n2s2_l1p4kc08__5fe9b6cf{margin-right:var(--plasma-slider-label-wrapper-margin-right);}.Single_styles_1h7n2s2_ss3ujqx__5fe9b6cf.Single_styles_1h7n2s2_sliderVerticalOrientation__5fe9b6cf{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.Single_styles_1h7n2s2_ss3ujqx__5fe9b6cf.Single_styles_1h7n2s2_sliderVerticalOrientation__5fe9b6cf.Single_styles_1h7n2s2_sliderLabelAlignCenter__5fe9b6cf .Single_styles_1h7n2s2_l1p4kc08__5fe9b6cf{-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;}.Single_styles_1h7n2s2_ss3ujqx__5fe9b6cf.Single_styles_1h7n2s2_sliderVerticalOrientation__5fe9b6cf.Single_styles_1h7n2s2_sliderLabelAlignCenter__5fe9b6cf.Single_styles_1h7n2s2_sliderLabelPlacementBottom__5fe9b6cf .Single_styles_1h7n2s2_l1p4kc08__5fe9b6cf{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.Single_styles_1h7n2s2_ss3ujqx__5fe9b6cf.Single_styles_1h7n2s2_sliderVerticalOrientation__5fe9b6cf.Single_styles_1h7n2s2_sliderLabelAlignCenter__5fe9b6cf.Single_styles_1h7n2s2_sliderLabelPlacementBottom__5fe9b6cf.Single_styles_1h7n2s2_sliderLabelContentReversed__5fe9b6cf .Single_styles_1h7n2s2_l1p4kc08__5fe9b6cf{-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;}.Single_styles_1h7n2s2_ss3ujqx__5fe9b6cf.Single_styles_1h7n2s2_sliderVerticalOrientation__5fe9b6cf.Single_styles_1h7n2s2_sliderLabelAlignCenter__5fe9b6cf.Single_styles_1h7n2s2_sliderLabelContentReversed__5fe9b6cf .Single_styles_1h7n2s2_l1p4kc08__5fe9b6cf{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.Single_styles_1h7n2s2_ss3ujqx__5fe9b6cf.Single_styles_1h7n2s2_sliderVerticalOrientation__5fe9b6cf .Single_styles_1h7n2s2_l1p4kc08__5fe9b6cf{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.Single_styles_1h7n2s2_ss3ujqx__5fe9b6cf.Single_styles_1h7n2s2_sliderVerticalOrientation__5fe9b6cf .Single_styles_1h7n2s2_s1d2sfgl__5fe9b6cf{width:var(--plasma-slider-size);}.Single_styles_1h7n2s2_ss3ujqx__5fe9b6cf.Single_styles_1h7n2s2_sliderVerticalOrientation__5fe9b6cf.Single_styles_1h7n2s2_sliderLabelPlacementInner__5fe9b6cf .Single_styles_1h7n2s2_l1p4kc08__5fe9b6cf{margin-right:0;margin-bottom:var(--plasma-slider-label-wrapper-vertical-margin);}.Single_styles_1h7n2s2_ss3ujqx__5fe9b6cf.Single_styles_1h7n2s2_sliderVerticalOrientation__5fe9b6cf.Single_styles_1h7n2s2_sliderLabelAlignLeft__5fe9b6cf{-webkit-align-items:flex-end;-webkit-box-align:flex-end;-ms-flex-align:flex-end;align-items:flex-end;}.Single_styles_1h7n2s2_ss3ujqx__5fe9b6cf.Single_styles_1h7n2s2_sliderVerticalOrientation__5fe9b6cf.Single_styles_1h7n2s2_sliderLabelAlignLeft__5fe9b6cf .Single_styles_1h7n2s2_l1p4kc08__5fe9b6cf{-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;}.Single_styles_1h7n2s2_ss3ujqx__5fe9b6cf.Single_styles_1h7n2s2_sliderVerticalOrientation__5fe9b6cf.Single_styles_1h7n2s2_sliderLabelAlignRight__5fe9b6cf{-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;}.Single_styles_1h7n2s2_ss3ujqx__5fe9b6cf.Single_styles_1h7n2s2_sliderVerticalOrientation__5fe9b6cf.Single_styles_1h7n2s2_sliderLabelPlacementBottom__5fe9b6cf{-webkit-flex-direction:column-reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse;}.Single_styles_1h7n2s2_ss3ujqx__5fe9b6cf.Single_styles_1h7n2s2_sliderVerticalOrientation__5fe9b6cf.Single_styles_1h7n2s2_sliderLabelPlacementBottom__5fe9b6cf .Single_styles_1h7n2s2_l1p4kc08__5fe9b6cf{margin-top:var(--plasma-slider-label-wrapper-vertical-margin);margin-right:0;margin-bottom:0;}.Single_styles_1h7n2s2_ss3ujqx__5fe9b6cf.Single_styles_1h7n2s2_sliderVerticalOrientation__5fe9b6cf{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}.Single_styles_1h7n2s2_ss3ujqx__5fe9b6cf.Single_styles_1h7n2s2_sliderVerticalOrientation__5fe9b6cf .Single_styles_1h7n2s2_s1d2sfgl__5fe9b6cf{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}.Single_styles_1h7n2s2_ss3ujqx__5fe9b6cf.Single_styles_1h7n2s2_sliderVerticalOrientation__5fe9b6cf.Single_styles_1h7n2s2_sliderLabelAlignCenter__5fe9b6cf .Single_styles_1h7n2s2_s1w9icbd__5fe9b6cf{position:static;bottom:0;left:0;margin-bottom:var(--plasma-slider-range-value-vertical-margin);}.Single_styles_1h7n2s2_ss3ujqx__5fe9b6cf.Single_styles_1h7n2s2_sliderVerticalOrientation__5fe9b6cf.Single_styles_1h7n2s2_sliderLabelAlignCenter__5fe9b6cf .Single_styles_1h7n2s2_s1w9icbd__5fe9b6cf.Single_styles_1h7n2s2_sliderMaxRangeValue__5fe9b6cf{left:0;right:0;bottom:0;margin-top:var(--plasma-slider-range-value-vertical-margin);margin-bottom:0;}.Single_styles_1h7n2s2_ss3ujqx__5fe9b6cf.Single_styles_1h7n2s2_sliderVerticalOrientation__5fe9b6cf.Single_styles_1h7n2s2_sliderLabelAlignLeft__5fe9b6cf .Single_styles_1h7n2s2_s1w9icbd__5fe9b6cf,.Single_styles_1h7n2s2_ss3ujqx__5fe9b6cf.Single_styles_1h7n2s2_sliderVerticalOrientation__5fe9b6cf.Single_styles_1h7n2s2_sliderLabelAlignRight__5fe9b6cf .Single_styles_1h7n2s2_s1w9icbd__5fe9b6cf{margin-right:0;margin-bottom:0;position:absolute;top:0;right:calc( var(--plasma-slider-rail-thickness) / 2 + var(--plasma-slider-size) / 2 + var(--plasma-slider-range-value-horizontal-offset) );}.Single_styles_1h7n2s2_ss3ujqx__5fe9b6cf.Single_styles_1h7n2s2_sliderVerticalOrientation__5fe9b6cf.Single_styles_1h7n2s2_sliderLabelAlignLeft__5fe9b6cf .Single_styles_1h7n2s2_s1w9icbd__5fe9b6cf.Single_styles_1h7n2s2_sliderMaxRangeValue__5fe9b6cf,.Single_styles_1h7n2s2_ss3ujqx__5fe9b6cf.Single_styles_1h7n2s2_sliderVerticalOrientation__5fe9b6cf.Single_styles_1h7n2s2_sliderLabelAlignRight__5fe9b6cf .Single_styles_1h7n2s2_s1w9icbd__5fe9b6cf.Single_styles_1h7n2s2_sliderMaxRangeValue__5fe9b6cf{margin-right:0;margin-left:0;top:auto;bottom:0;}.Single_styles_1h7n2s2_ss3ujqx__5fe9b6cf.Single_styles_1h7n2s2_sliderVerticalOrientation__5fe9b6cf.Single_styles_1h7n2s2_sliderLabelAlignRight__5fe9b6cf .Single_styles_1h7n2s2_s1w9icbd__5fe9b6cf{left:calc(var(--plasma-slider-size) + var(--plasma-slider-rail-thickness));}
670
+ .Single_styles_1r9f1e0_lozb535__4db690dd{font-family:var(--plasma-slider-label-font-family);font-size:var(--plasma-slider-label-font-size);font-style:var(--plasma-slider-label-font-style);font-weight:var(--plasma-slider-label-font-weight);-webkit-letter-spacing:var(--plasma-slider-label-letter-spacing);-moz-letter-spacing:var(--plasma-slider-label-letter-spacing);-ms-letter-spacing:var(--plasma-slider-label-letter-spacing);letter-spacing:var(--plasma-slider-label-letter-spacing);line-height:var(--plasma-slider-label-line-height);}
671
+ .Single_styles_1r9f1e0_s1w9icbd__4db690dd{color:var(--plasma-slider-range-value-color);font-family:var(--plasma-slider-range-value-font-family);font-size:var(--plasma-slider-range-value-font-size);font-style:var(--plasma-slider-range-value-font-style);font-weight:var(--plasma-slider-range-value-font-weight);-webkit-letter-spacing:var(--plasma-slider-range-value-letter-spacing);-moz-letter-spacing:var(--plasma-slider-range-value-letter-spacing);-ms-letter-spacing:var(--plasma-slider-range-value-letter-spacing);letter-spacing:var(--plasma-slider-range-value-letter-spacing);line-height:var(--plasma-slider-range-value-line-height);-webkit-transition:opacity 0.1s ease-in-out;transition:opacity 0.1s ease-in-out;}.Single_styles_1r9f1e0_s1w9icbd__4db690dd.Single_styles_1r9f1e0_sliderHideMinValue__4db690dd,.Single_styles_1r9f1e0_s1w9icbd__4db690dd.Single_styles_1r9f1e0_sliderHideMaxValue__4db690dd{opacity:0;}.Single_styles_1r9f1e0_s1w9icbd__4db690dd.Single_styles_1r9f1e0_sliderActiveRangeValue__4db690dd{color:var(--plasma-slider-label-color);}
672
+ .Single_styles_1r9f1e0_s1d2sfgl__4db690dd{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1;-ms-flex:1;flex:1;}.Single_styles_1r9f1e0_s1d2sfgl__4db690dd.Single_styles_1r9f1e0_sliderRangeValuesPlacementOuter__4db690dd .Single_styles_1r9f1e0_s1w9icbd__4db690dd{position:absolute;bottom:var(--plasma-slider-range-value-bottom-offset);left:0;}.Single_styles_1r9f1e0_s1d2sfgl__4db690dd.Single_styles_1r9f1e0_sliderRangeValuesPlacementOuter__4db690dd .Single_styles_1r9f1e0_s1w9icbd__4db690dd.Single_styles_1r9f1e0_sliderMaxRangeValue__4db690dd{left:unset;right:0;}.Single_styles_1r9f1e0_s1d2sfgl__4db690dd.Single_styles_1r9f1e0_sliderRangeValuesPlacementInner__4db690dd{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.Single_styles_1r9f1e0_s1d2sfgl__4db690dd.Single_styles_1r9f1e0_sliderRangeValuesPlacementInner__4db690dd .Single_styles_1r9f1e0_s1w9icbd__4db690dd{margin-right:var(--plasma-slider-range-min-value-margin);}.Single_styles_1r9f1e0_s1d2sfgl__4db690dd.Single_styles_1r9f1e0_sliderRangeValuesPlacementInner__4db690dd .Single_styles_1r9f1e0_s1w9icbd__4db690dd.Single_styles_1r9f1e0_sliderMaxRangeValue__4db690dd{margin-right:0;margin-left:var(--plasma-slider-range-max-value-margin);}
673
+ .Single_styles_1r9f1e0_ss3ujqx__4db690dd{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;opacity:var(--plasma-slider-disabled-opacity);}.Single_styles_1r9f1e0_ss3ujqx__4db690dd.Single_styles_1r9f1e0_sliderLabelPlacementOuter__4db690dd{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.Single_styles_1r9f1e0_ss3ujqx__4db690dd.Single_styles_1r9f1e0_sliderLabelPlacementOuter__4db690dd .Single_styles_1r9f1e0_l1p4kc08__4db690dd{margin-bottom:var(--plasma-slider-label-wrapper-margin-bottom);}.Single_styles_1r9f1e0_ss3ujqx__4db690dd.Single_styles_1r9f1e0_sliderLabelPlacementInner__4db690dd .Single_styles_1r9f1e0_l1p4kc08__4db690dd{margin-right:var(--plasma-slider-label-wrapper-margin-right);}
676
674
 
677
675
  .Double_styles_1jhda4u_lcs82cd__5dc981f4{color:var(--plasma-slider-label-color);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:var(--plasma-slider-label-wrapper-gap);margin-bottom:var(--plasma-slider-label-wrapper-margin-bottom);}
678
676
 
@@ -682,10 +680,10 @@
682
680
  .Double_styles_1jhda4u_d3kvcjo__5dc981f4{opacity:var(--plasma-slider-disabled-opacity);}
683
681
 
684
682
 
685
- .Handler_styles_irtcgm_s1tnrnip__e8f853c5{position:absolute;z-index:1;top:var(--plasma-slider-current-value-top-offset);text-align:center;width:100%;margin-left:-0.125rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-family:var(--plasma-slider-value-font-family);font-size:var(--plasma-slider-value-font-size);font-style:var(--plasma-slider-value-font-style);font-weight:var(--plasma-slider-value-font-weight);-webkit-letter-spacing:var(--plasma-slider-value-letter-spacing);-moz-letter-spacing:var(--plasma-slider-value-letter-spacing);-ms-letter-spacing:var(--plasma-slider-value-letter-spacing);letter-spacing:var(--plasma-slider-value-letter-spacing);line-height:var(--plasma-slider-value-line-height);}
686
- .Handler_styles_irtcgm_h12uu2lj__e8f853c5{cursor:pointer;position:absolute;z-index:1;top:0;left:0;bottom:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;--thumb-size:var(--h12uu2lj-0);}.Handler_styles_irtcgm_h12uu2lj__e8f853c5.Handler_styles_irtcgm_sliderVerticalOrientation__e8f853c5{right:0;bottom:auto;-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;}.Handler_styles_irtcgm_h12uu2lj__e8f853c5.Handler_styles_irtcgm_sliderVerticalOrientation__e8f853c5 .Handler_styles_irtcgm_s1tnrnip__e8f853c5{margin:0;top:0;bottom:0;right:0;left:calc(var(--plasma-slider-size) - (var(--plasma-slider-size) - var(--thumb-size)) / 2 + 0.25rem);-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;}.Handler_styles_irtcgm_h12uu2lj__e8f853c5.Handler_styles_irtcgm_sliderValuePlacementLeft__e8f853c5 .Handler_styles_irtcgm_s1tnrnip__e8f853c5{left:auto;right:calc(var(--plasma-slider-size) - (var(--plasma-slider-size) - var(--thumb-size)) / 2 + 0.3125rem);-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;}
683
+ .Handler_styles_8crx5z_h1tnrnip__2d4342c7{cursor:pointer;position:absolute;z-index:1;top:0;left:0;}
684
+ .Handler_styles_8crx5z_s12uu2lj__2d4342c7{position:absolute;z-index:1;top:var(--plasma-slider-current-value-top-offset);text-align:center;width:100%;margin-left:-0.125rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-family:var(--plasma-slider-current-value-font-family);font-size:var(--plasma-slider-current-value-font-size);font-style:var(--plasma-slider-current-value-font-style);font-weight:var(--plasma-slider-current-value-font-weight);-webkit-letter-spacing:var(--plasma-slider-current-value-letter-spacing);-moz-letter-spacing:var(--plasma-slider-current-value-letter-spacing);-ms-letter-spacing:var(--plasma-slider-current-value-letter-spacing);letter-spacing:var(--plasma-slider-current-value-letter-spacing);line-height:var(--plasma-slider-current-value-line-height);}
687
685
 
688
- .Thumb_styles_uyn20e_tqbdf8b__de0962c7{width:var(--thumb-size);height:var(--thumb-size);min-width:var(--thumb-size);min-height:var(--thumb-size);position:relative;border-radius:50%;box-sizing:border-box;background:var(--plasma-slider-thumb-background-color);margin:0.0625rem;-webkit-transition:border-color 0.1s ease-in-out;transition:border-color 0.1s ease-in-out;position:relative;}.Thumb_styles_uyn20e_tqbdf8b__de0962c7:after{background:var(--plasma-slider-thumb-border-color);margin:-0.0625rem;content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;}.Thumb_styles_uyn20e_tqbdf8b__de0962c7:not([disabled]):hover:after,.Thumb_styles_uyn20e_tqbdf8b__de0962c7:not([disabled]):active:after{background:var(--plasma-slider-thumb-focus-border-color);}.Thumb_styles_uyn20e_tqbdf8b__de0962c7[disabled]{cursor:not-allowed;}.Thumb_styles_uyn20e_tqbdf8b__de0962c7:focus{outline:none;}.Thumb_styles_uyn20e_tqbdf8b__de0962c7::before{content:'';position:absolute;top:0.0625rem;left:0.0625rem;right:0.0625rem;bottom:0.0625rem;z-index:1;display:block;box-sizing:content-box;border:0.125rem solid transparent;border-radius:50%;-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.Thumb_styles_uyn20e_tqbdf8b__de0962c7.Thumb_styles_uyn20e_focusVisible__de0962c7:focus::before,.Thumb_styles_uyn20e_tqbdf8b__de0962c7[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.125rem var(--plasma-slider-thumb-focus-border-color);}
686
+ .Thumb_styles_4w4gzn_tqbdf8b__14129a5b{width:var(--plasma-slider-thumb-size);height:var(--plasma-slider-thumb-size);position:relative;left:-0.125rem;top:-0.125rem;border-radius:50%;box-sizing:border-box;background:var(--plasma-slider-thumb-background-color);margin:0.125rem;-webkit-transition:border-color 0.1s ease-in-out;transition:border-color 0.1s ease-in-out;position:relative;}.Thumb_styles_4w4gzn_tqbdf8b__14129a5b:after{background:var(--plasma-slider-thumb-border-color);margin:-0.125rem;content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;}.Thumb_styles_4w4gzn_tqbdf8b__14129a5b:not([disabled]):hover:after,.Thumb_styles_4w4gzn_tqbdf8b__14129a5b:not([disabled]):active:after{background:var(--plasma-slider-thumb-focus-border-color);}.Thumb_styles_4w4gzn_tqbdf8b__14129a5b[disabled]{cursor:not-allowed;}.Thumb_styles_4w4gzn_tqbdf8b__14129a5b:focus{outline:none;}.Thumb_styles_4w4gzn_tqbdf8b__14129a5b::before{content:'';position:absolute;top:0.125rem;left:0.125rem;right:0.125rem;bottom:0.125rem;z-index:1;display:block;box-sizing:content-box;border:0.125rem solid transparent;border-radius:50%;-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.Thumb_styles_4w4gzn_tqbdf8b__14129a5b.Thumb_styles_4w4gzn_focusVisible__14129a5b:focus::before,.Thumb_styles_4w4gzn_tqbdf8b__14129a5b[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.125rem var(--plasma-slider-thumb-focus-border-color);}
689
687
 
690
688
  .StepItem_styles_sp9rcd_snf9dn9__20446152{--plasma-spinner-size:var(--snf9dn9-0);--plasma-spinner-color:var(--plasma-step-item-active-indicator-color);}
691
689
  .StepItem_styles_sp9rcd_sv5tpso__20446152{padding-top:var(--plasma-step-item-title-padding-top);padding-right:var(--plasma-step-item-content-side-padding);font-family:var(--plasma-step-item-title-font-family);font-size:var(--plasma-step-item-title-font-size);font-style:var(--plasma-step-item-title-font-style);font-weight:var(--plasma-step-item-title-font-weight);-webkit-letter-spacing:var(--plasma-step-item-title-letter-spacing);-moz-letter-spacing:var(--plasma-step-item-title-letter-spacing);-ms-letter-spacing:var(--plasma-step-item-title-letter-spacing);letter-spacing:var(--plasma-step-item-title-letter-spacing);line-height:var(--plasma-step-item-title-line-height);word-break:break-word;}
@@ -806,3 +804,5 @@
806
804
 
807
805
  .IconButton_styles_1q2jfs2_s15ptif0__7aea03a6{--plasma-icon-button-color:var(--plasma-attach-icon-button-color);--plasma-icon-button-background-color:var(--plasma-attach-icon-button-background-color);--plasma-icon-button-loading-background-color:var(--plasma-attach-icon-button-loading-background-color);--plasma-icon-button-color-hover:var(--plasma-attach-icon-button-color-hover);--plasma-icon-button-background-color-hover:var(--plasma-attach-icon-button-background-color-hover);--plasma-icon-button-color-active:var(--plasma-attach-icon-button-color-active);--plasma-icon-button-background-color-active:var(--plasma-attach-icon-button-background-color-active);--plasma-icon-button-scale-hover:var(--plasma-attach-icon-button-scale-hover);---plasma-icon-button-scale-active:var(---plasma-attach-icon-button-scale-active);--plasma-icon-button-height:var(--plasma-attach-icon-button-height);--plasma-icon-button-width:var(--plasma-attach-icon-button-width);--plasma-icon-button-padding:var(--plasma-attach-icon-button-padding);--plasma-icon-button-radius:var(--plasma-attach-icon-button-radius);--plasma-icon-button-radius-circle:var(--plasma-attach-icon-button-radius-circle);--plasma-icon-button-font-family:var(--plasma-attach-icon-button-font-family);--plasma-icon-button-font-size:var(--plasma-attach-icon-button-font-size);--plasma-icon-button-font-style:var(--plasma-attach-icon-button-font-style);--plasma-icon-button-font-weight:var(--plasma-attach-icon-button-font-weight);--plasma-icon-button-letter-spacing:var(--plasma-attach-icon-button-letter-spacing);--plasma-icon-button-line-height:var(--plasma-attach-icon-button-line-height);--plasma-icon-button-disabled-opacity:var(--plasma-attach-icon-button-disabled-opacity);--plasma-icon-button-focus-color:var(--plasma-attach-icon-button-focus-color);--plasma-icon-button-spinner-color:var(--plasma-attach-icon-button-spinner-color);--plasma-icon-button-spinner-size:var(--plasma-attach-icon-button-spinner-size);-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;}
808
806
  .IconButton_styles_1q2jfs2_shuaj1a__7aea03a6{--plasma-icon-button-color:var(--plasma-attach-icon-button-cancel-color);--plasma-icon-button-background-color:var(--plasma-attach-icon-button-cancel-background-color);--plasma-icon-button-loading-background-color:var(--plasma-attach-icon-button-cancel-loading-background-color);--plasma-icon-button-color-hover:var(--plasma-attach-icon-button-cancel-color-hover);--plasma-icon-button-background-color-hover:var(--plasma-attach-icon-button-cancel-background-color-hover);--plasma-icon-button-color-active:var(--plasma-attach-icon-button-cancel-color-active);--plasma-icon-button-background-color-active:var(--plasma-attach-icon-button-cancel-background-color-active);--plasma-icon-button-scale-hover:var(--plasma-attach-icon-button-cancel-scale-hover);---plasma-icon-button-scale-active:var(---plasma-attach-icon-button-cancel-scale-active);--plasma-icon-button-height:var(--plasma-attach-icon-button-cancel-height);--plasma-icon-button-width:var(--plasma-attach-icon-button-cancel-width);--plasma-icon-button-padding:var(--plasma-attach-icon-button-cancel-padding);--plasma-icon-button-radius:var(--plasma-attach-icon-button-cancel-radius);--plasma-icon-button-radius-circle:var(--plasma-attach-icon-button-cancel-radius-circle);--plasma-icon-button-font-family:var(--plasma-attach-icon-button-cancel-font-family);--plasma-icon-button-font-size:var(--plasma-attach-icon-button-cancel-font-size);--plasma-icon-button-font-style:var(--plasma-attach-icon-button-cancel-font-style);--plasma-icon-button-font-weight:var(--plasma-attach-icon-button-cancel-font-weight);--plasma-icon-button-letter-spacing:var(--plasma-attach-icon-button-cancel-letter-spacing);--plasma-icon-button-line-height:var(--plasma-attach-icon-button-cancel-line-height);--plasma-icon-button-disabled-opacity:var(--plasma-attach-icon-button-cancel-disabled-opacity);--plasma-icon-button-focus-color:var(--plasma-attach-icon-button-cancel-focus-color);--plasma-icon-button-spinner-color:var(--plasma-attach-icon-button-cancel-spinner-color);--plasma-icon-button-spinner-size:var(--plasma-attach-icon-button-cancel-spinner-size);}
807
+
808
+ .ViewContainer_yiqfcb_bemjbnt__5b2a6776{position:relative;}
package/es/index.js CHANGED
@@ -1,3 +1,6 @@
1
+ export { css } from './engines/index.js';
2
+ export { composableStyle, cx } from './utils/index.js';
3
+ export { ButtonBase } from './components/ButtonBase/index.js';
1
4
  export { applyBlur, blurs } from './mixins/applyBlur.js';
2
5
  export { applyEllipsis } from './mixins/applyEllipsis.js';
3
6
  export { applySpacing, spacing, spacingFns } from './mixins/applySpacing.js';
@@ -10,7 +13,7 @@ export { applyRoundness, getRoundness, radiuses } from './mixins/applyRoundness.
10
13
  export { applySkeletonGradient, getSkeletonColor } from './mixins/applySkeletonGradient.js';
11
14
  export { applyDisabled } from './mixins/applyDisabled.js';
12
15
  export { applyHidden } from './mixins/applyHidden.js';
13
- export { css } from './engines/index.js';
16
+ export { component, mergeConfig } from './engines/common.js';
14
17
  export { useUniqId } from './hooks/useUniqId.js';
15
18
  export { useFocusTrap } from './hooks/useFocusTrap.js';
16
19
  export { usePreviousValue } from './hooks/usePreviousValue.js';
@@ -18,7 +21,17 @@ export { useForceUpdate } from './hooks/useForceUpdate.js';
18
21
  export { useDidMountEffect } from './hooks/useDidMountEffect.js';
19
22
  export { useOutsideClick } from './hooks/useOutsideClick.js';
20
23
  export { useIsomorphicLayoutEffect } from './hooks/useIsomorphicLayoutEffect.js';
21
- export { composableStyle, cx } from './utils/index.js';
24
+ export { canUseDOM } from './utils/canUseDOM.js';
25
+ export { extractTextFrom } from './utils/extractTextFrom.js';
26
+ export { getSizeValueFromProp } from './utils/getSizeValueFromProp.js';
27
+ export { IS_REACT_18, safeUseId } from './utils/react.js';
28
+ export { isNumber } from './utils/isNumber.js';
29
+ export { mergeRefs, setRefList } from './utils/setRefList.js';
30
+ export { isEmpty } from './utils/isEmpty.js';
31
+ export { noop } from './utils/noop.js';
32
+ export { getPlacement, getPlacements } from './utils/getPopoverPlacement.js';
33
+ import * as constants from './utils/constants.js';
34
+ export { constants };
22
35
  export { buttonConfig, buttonRoot } from './components/Button/Button.js';
23
36
  export { classes as buttonClasses, tokens as buttonTokens } from './components/Button/Button.tokens.js';
24
37
  export { iconButtonConfig, iconButtonRoot } from './components/IconButton/IconButton.js';
@@ -67,6 +80,7 @@ export { withRange } from './components/Calendar/hoc/withRange.js';
67
80
  export { calendarBaseConfig, calendarBaseRoot } from './components/Calendar/CalendarBase/CalendarBase.js';
68
81
  export { calendarDoubleConfig, calendarDoubleRoot } from './components/Calendar/CalendarDouble/CalendarDouble.js';
69
82
  export { tokens as calendarBaseTokens, tokens as calendarDoubleTokens } from './components/Calendar/Calendar.tokens.js';
83
+ export { tokens as typographyTokens } from './components/Typography/tokens.js';
70
84
  export { bodyConfig, bodyRoot } from './components/Typography/Body/Body.js';
71
85
  export { dsplConfig, dsplRoot } from './components/Typography/Dspl/Dspl.js';
72
86
  export { headingConfig, headingRoot } from './components/Typography/Heading/Heading.js';
@@ -81,7 +95,6 @@ export { paragraphConfig, paragraphRoot } from './components/Typography/Old/Para
81
95
  export { paragraphTextConfig, paragraphTextRoot } from './components/Typography/Old/ParagraphText/ParagraphText.js';
82
96
  export { underlineConfig, underlineRoot } from './components/Typography/Old/Underline/Underline.js';
83
97
  export { subtitleConfig, subtitleRoot } from './components/Typography/Old/Subtitle/Subtitle.js';
84
- export { tokens as typographyTokens } from './components/Typography/tokens.js';
85
98
  export { PopupProvider, usePopupContext } from './components/Popup/PopupContext.js';
86
99
  export { popupConfig, popupRoot } from './components/Popup/Popup.js';
87
100
  export { usePopup } from './components/Popup/hooks/usePopup.js';
@@ -93,10 +106,10 @@ export { noticationConfig, notificationRoot } from './components/Notification/No
93
106
  export { addNotification, closeNotification } from './components/Notification/NotificationsStore.js';
94
107
  export { classes as notificationClasses, tokens as notificationTokens } from './components/Notification/Notification.tokens.js';
95
108
  export { drawerConfig, drawerRoot } from './components/Drawer/Drawer.js';
109
+ export { classes as drawerClasses, tokens as drawerTokens } from './components/Drawer/Drawer.tokens.js';
96
110
  export { drawerContentConfig, drawerContentRoot } from './components/Drawer/ui/DrawerContent/DrawerContent.js';
97
111
  export { drawerFooterConfig, drawerFooterRoot } from './components/Drawer/ui/DrawerFooter/DrawerFooter.js';
98
112
  export { drawerHeaderConfig, drawerHeaderRoot } from './components/Drawer/ui/DrawerHeader/DrawerHeader.js';
99
- export { classes as drawerClasses, tokens as drawerTokens } from './components/Drawer/Drawer.tokens.js';
100
113
  export { dropdownConfig, dropdownRoot } from './components/Dropdown/Dropdown.js';
101
114
  export { classes as dropdownClasses, tokens as dropdownTokens } from './components/Dropdown/Dropdown.tokens.js';
102
115
  export { useKeyNavigation as useDropdownKeyNavigation } from './components/Dropdown/hooks/useKeyboardNavigation.js';
@@ -111,8 +124,8 @@ export { dropdownOldConfig, dropdownOldRoot } from './components/Dropdown/ui/Dro
111
124
  export { tokens as dropdownOldTokens } from './components/Dropdown/ui/DropdownOld/DropdownOld.tokens.js';
112
125
  export { tooltipConfig, tooltipRoot } from './components/Tooltip/Tooltip.js';
113
126
  export { tokens as tooltipTokens } from './components/Tooltip/Tooltip.tokens.js';
114
- export { segmentGroupConfig, segmentGroupRoot } from './components/Segment/ui/SegmentGroup/SegmentGroup.js';
115
127
  export { segmentItemConfig, segmentItemRoot } from './components/Segment/ui/SegmentItem/SegmentItem.js';
128
+ export { segmentGroupConfig, segmentGroupRoot } from './components/Segment/ui/SegmentGroup/SegmentGroup.js';
116
129
  export { SegmentProvider, useSegment } from './components/Segment/SegmentProvider/SegmentProvider.js';
117
130
  export { classes as segmentClasses, tokens as segmentTokens } from './components/Segment/tokens.js';
118
131
  export { lineSkeletonConfig, lineSkeletonRoot } from './components/Skeleton/LineSkeleton/LineSkeleton.js';
@@ -137,23 +150,22 @@ export { classes as toastClasses, tokens as toastTokens } from './components/Toa
137
150
  export { Overlay } from './components/Overlay/Overlay.js';
138
151
  export { SSRContext, SSRProvider } from './components/SSRProvider/SSRProvider.js';
139
152
  export { comboboxConfig as comboboxOldConfig, comboboxRoot as comboboxOldRoot } from './components/Combobox/ComboboxOld/Combobox.js';
140
- export { classes as comboboxOldClasses, tokens as comboboxOldTokens } from './components/Combobox/ComboboxOld/Combobox.tokens.js';
141
153
  export { comboboxDividerConfig, comboboxDividerRoot } from './components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js';
142
154
  export { comboboxFooterConfig, comboboxFooterRoot } from './components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js';
143
155
  export { comboboxGroupConfig, comboboxGroupRoot } from './components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js';
144
156
  export { comboboxHeaderConfig, comboboxHeaderRoot } from './components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js';
145
157
  export { comboboxItemConfig, comboboxItemRoot } from './components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.js';
146
158
  export { ComboboxTarget } from './components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.js';
147
- export { comboboxConfig as comboboxNewConfig, comboboxRoot as comboboxNewRoot } from './components/Combobox/ComboboxNew/Combobox.js';
159
+ export { classes as comboboxOldClasses, tokens as comboboxOldTokens } from './components/Combobox/ComboboxOld/Combobox.tokens.js';
148
160
  export { tokens as comboboxNewTokens } from './components/Combobox/ComboboxNew/Combobox.tokens.js';
161
+ export { comboboxConfig as comboboxNewConfig, comboboxRoot as comboboxNewRoot } from './components/Combobox/ComboboxNew/Combobox.js';
149
162
  export { indicatorConfig, indicatorRoot } from './components/Indicator/Indicator.js';
150
163
  export { tokens as indicatorTokens } from './components/Indicator/Indicator.tokens.js';
151
- export { ButtonBase } from './components/ButtonBase/index.js';
152
164
  export { gridConfig, gridRoot } from './components/Grid/Grid.js';
153
165
  export { tokens as gridTokens } from './components/Grid/Grid.tokens.js';
166
+ export { getBaseGridView } from './components/Grid/utils/index.js';
154
167
  export { Row } from './components/Grid/ui/Row/Row.js';
155
168
  export { Col } from './components/Grid/ui/Col/Col.js';
156
- export { getBaseGridView } from './components/Grid/utils/index.js';
157
169
  export { progressConfig, progressRoot } from './components/Progress/Progress.js';
158
170
  export { tokens as progressTokens } from './components/Progress/Progress.tokens.js';
159
171
  export { selectConfig, selectRoot } from './components/Select/Select.js';
@@ -167,10 +179,7 @@ export { sheetConfig, sheetRoot } from './components/Sheet/Sheet.js';
167
179
  export { classes as sheetClasses, tokens as sheetTokens } from './components/Sheet/Sheet.tokens.js';
168
180
  export { sliderConfig, sliderRoot } from './components/Slider/Slider.js';
169
181
  export { tokens as sliderTokens } from './components/Slider/Slider.tokens.js';
170
- import 'react';
171
- import 'react-draggable';
172
182
  export { ThumbBase } from './components/Slider/ui/Thumb/Thumb.styles.js';
173
- import '@linaria/react';
174
183
  export { stepsConfig, stepsRoot } from './components/Steps/Steps.js';
175
184
  export { tokens as stepsTokens } from './components/Steps/Steps.tokens.js';
176
185
  export { rangeConfig, rangeRoot } from './components/Range/Range.js';
@@ -193,16 +202,5 @@ export { tokens as editableTokens } from './components/Editable/Editable.tokens.
193
202
  export { composeMask } from './components/Mask/Mask.js';
194
203
  export { attachConfig, attachRoot } from './components/Attach/Attach.js';
195
204
  export { tokens as attachTokens } from './components/Attach/Attach.tokens.js';
196
- export { component, mergeConfig } from './engines/common.js';
197
- export { canUseDOM } from './utils/canUseDOM.js';
198
- export { extractTextFrom } from './utils/extractTextFrom.js';
199
- export { getSizeValueFromProp } from './utils/getSizeValueFromProp.js';
200
- export { IS_REACT_18, safeUseId } from './utils/react.js';
201
- export { isNumber } from './utils/isNumber.js';
202
- export { mergeRefs, setRefList } from './utils/setRefList.js';
203
- export { isEmpty } from './utils/isEmpty.js';
204
- export { noop } from './utils/noop.js';
205
- export { getPlacement, getPlacements } from './utils/getPopoverPlacement.js';
206
- import * as constants from './utils/constants.js';
207
- export { constants };
205
+ export { viewContainerConfig, viewContainerRoot } from './components/ViewContainer/ViewContainer.js';
208
206
  //# sourceMappingURL=index.js.map
package/es/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/es/utils/index.js CHANGED
@@ -1,6 +1,3 @@
1
- import 'react';
2
- export { IS_REACT_18, safeUseId } from './react.js';
3
-
4
1
  var cx = function cx() {
5
2
  for (var _len = arguments.length, classes = new Array(_len), _key = 0; _key < _len; _key++) {
6
3
  classes[_key] = arguments[_key];
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../src/utils/index.ts"],"sourcesContent":["import { CSSProperties } from '@linaria/core';\n\nexport { canUseDOM } from './canUseDOM';\nexport { extractTextFrom } from './extractTextFrom';\nexport { getSizeValueFromProp } from './getSizeValueFromProp';\nexport { IS_REACT_18, safeUseId } from './react';\nexport { isNumber } from './isNumber';\nexport { mergeRefs, setRefList } from './setRefList';\nexport { isEmpty } from './isEmpty';\nexport * as constants from './constants';\nexport * from './getPopoverPlacement';\nexport { noop } from './noop';\n\nexport const cx = (...classes: (string | boolean | undefined)[]) => classes.filter((classItem) => classItem).join(' ');\n\nexport const composableStyle = (s: TemplateStringsArray, ...expr: Array<string | number | CSSProperties>): string => {\n let res = '';\n for (let i = 0; i < Math.max(s.length, expr.length); ++i) {\n res += s[i] ?? '';\n res += expr[i] ?? '';\n }\n\n return res;\n};\n"],"names":["cx","_len","arguments","length","classes","Array","_key","filter","classItem","join","composableStyle","s","res","i","Math","max","_s$i","_ref","undefined"],"mappings":";;;AAaaA,IAAAA,EAAE,GAAG,SAALA,EAAEA,GAAA;AAAA,EAAA,KAAA,IAAAC,IAAA,GAAAC,SAAA,CAAAC,MAAA,EAAOC,OAAO,GAAAC,IAAAA,KAAA,CAAAJ,IAAA,GAAAK,IAAA,GAAA,CAAA,EAAAA,IAAA,GAAAL,IAAA,EAAAK,IAAA,EAAA,EAAA;AAAPF,IAAAA,OAAO,CAAAE,IAAA,CAAAJ,GAAAA,SAAA,CAAAI,IAAA,CAAA,CAAA;AAAA,GAAA;AAAA,EAAA,OAAuCF,OAAO,CAACG,MAAM,CAAC,UAACC,SAAS,EAAA;AAAA,IAAA,OAAKA,SAAS,CAAA;AAAA,GAAA,CAAC,CAACC,IAAI,CAAC,GAAG,CAAC,CAAA;AAAA,EAAA;IAEzGC,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,CAAuB,EAA8D;EACjH,IAAIC,GAAG,GAAG,EAAE,CAAA;EACZ,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGC,IAAI,CAACC,GAAG,CAACJ,CAAC,CAACR,MAAM,EAAAD,SAAA,CAAAC,MAAA,IAAA,CAAA,GAAA,CAAA,GAAAD,SAAA,CAAAC,MAAA,GAAA,CAAa,CAAC,EAAE,EAAEU,CAAC,EAAE;IAAA,IAAAG,IAAA,EAAAC,IAAA,CAAA;AACtDL,IAAAA,GAAG,IAAAI,CAAAA,IAAA,GAAIL,CAAC,CAACE,CAAC,CAAC,MAAA,IAAA,IAAAG,IAAA,KAAA,KAAA,CAAA,GAAAA,IAAA,GAAI,EAAE,CAAA;IACjBJ,GAAG,IAAA,CAAAK,IAAA,GAASJ,CAAC,YAAAX,SAAA,CAAAC,MAAA,IAADU,CAAC,OAAAK,SAAA,GAAAhB,SAAA,CAADW,CAAC,mBAAAI,IAAA,KAAA,KAAA,CAAA,GAAAA,IAAA,GAAK,EAAE,CAAA;AACxB,GAAA;AAEA,EAAA,OAAOL,GAAG,CAAA;AACd;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../src/utils/index.ts"],"sourcesContent":["import { CSSProperties } from '@linaria/core';\n\nexport { canUseDOM } from './canUseDOM';\nexport { extractTextFrom } from './extractTextFrom';\nexport { getSizeValueFromProp } from './getSizeValueFromProp';\nexport { IS_REACT_18, safeUseId } from './react';\nexport { isNumber } from './isNumber';\nexport { mergeRefs, setRefList } from './setRefList';\nexport { isEmpty } from './isEmpty';\nexport * as constants from './constants';\nexport * from './getPopoverPlacement';\nexport { noop } from './noop';\n\nexport const cx = (...classes: (string | undefined)[]) => classes.filter((classItem) => classItem).join(' ');\n\nexport const composableStyle = (s: TemplateStringsArray, ...expr: Array<string | number | CSSProperties>): string => {\n let res = '';\n for (let i = 0; i < Math.max(s.length, expr.length); ++i) {\n res += s[i] ?? '';\n res += expr[i] ?? '';\n }\n\n return res;\n};\n"],"names":["cx","_len","arguments","length","classes","Array","_key","filter","classItem","join","composableStyle","s","res","i","Math","max","_s$i","_ref","undefined"],"mappings":"AAaaA,IAAAA,EAAE,GAAG,SAALA,EAAEA,GAAA;AAAA,EAAA,KAAA,IAAAC,IAAA,GAAAC,SAAA,CAAAC,MAAA,EAAOC,OAAO,GAAAC,IAAAA,KAAA,CAAAJ,IAAA,GAAAK,IAAA,GAAA,CAAA,EAAAA,IAAA,GAAAL,IAAA,EAAAK,IAAA,EAAA,EAAA;AAAPF,IAAAA,OAAO,CAAAE,IAAA,CAAAJ,GAAAA,SAAA,CAAAI,IAAA,CAAA,CAAA;AAAA,GAAA;AAAA,EAAA,OAA6BF,OAAO,CAACG,MAAM,CAAC,UAACC,SAAS,EAAA;AAAA,IAAA,OAAKA,SAAS,CAAA;AAAA,GAAA,CAAC,CAACC,IAAI,CAAC,GAAG,CAAC,CAAA;AAAA,EAAA;IAE/FC,eAAe,GAAG,SAAlBA,eAAeA,CAAIC,CAAuB,EAA8D;EACjH,IAAIC,GAAG,GAAG,EAAE,CAAA;EACZ,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGC,IAAI,CAACC,GAAG,CAACJ,CAAC,CAACR,MAAM,EAAAD,SAAA,CAAAC,MAAA,IAAA,CAAA,GAAA,CAAA,GAAAD,SAAA,CAAAC,MAAA,GAAA,CAAa,CAAC,EAAE,EAAEU,CAAC,EAAE;IAAA,IAAAG,IAAA,EAAAC,IAAA,CAAA;AACtDL,IAAAA,GAAG,IAAAI,CAAAA,IAAA,GAAIL,CAAC,CAACE,CAAC,CAAC,MAAA,IAAA,IAAAG,IAAA,KAAA,KAAA,CAAA,GAAAA,IAAA,GAAI,EAAE,CAAA;IACjBJ,GAAG,IAAA,CAAAK,IAAA,GAASJ,CAAC,YAAAX,SAAA,CAAAC,MAAA,IAADU,CAAC,OAAAK,SAAA,GAAAhB,SAAA,CAADW,CAAC,mBAAAI,IAAA,KAAA,KAAA,CAAA,GAAAA,IAAA,GAAK,EAAE,CAAA;AACxB,GAAA;AAEA,EAAA,OAAOL,GAAG,CAAA;AACd;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salutejs/plasma-new-hope",
3
- "version": "0.174.0-canary.1452.11462555994.0",
3
+ "version": "0.174.0-canary.1488.11483339131.0",
4
4
  "description": "Salute Design System blueprint",
5
5
  "main": "cjs/index.js",
6
6
  "module": "es/index.js",
@@ -81,6 +81,7 @@
81
81
  "@rollup/plugin-commonjs": "^25.0.4",
82
82
  "@rollup/plugin-node-resolve": "^15.1.0",
83
83
  "@salutejs/plasma-sb-utils": "0.181.0-dev.0",
84
+ "@salutejs/plasma-themes": "0.22.0-canary.1488.11483339131.0",
84
85
  "@storybook/addon-docs": "^7.6.17",
85
86
  "@storybook/addon-essentials": "^7.6.17",
86
87
  "@storybook/addons": "^7.6.17",
@@ -124,5 +125,8 @@
124
125
  "react-popper": "2.3.0",
125
126
  "storeon": "3.1.5"
126
127
  },
127
- "gitHead": "68a2c2c7052c4069a8022e52ba189396563a5412"
128
+ "sideEffects": [
129
+ "*.css"
130
+ ],
131
+ "gitHead": "f46ea47efa19cc69ebc74971efacda51f9bbb682"
128
132
  }
@@ -5,12 +5,10 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.sliderRoot = exports.sliderConfig = void 0;
7
7
  var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react"));
8
- var _utils = /*#__PURE__*/require("../../utils");
9
8
  var _base = /*#__PURE__*/require("./variations/_view/base");
10
9
  var _base2 = /*#__PURE__*/require("./variations/_size/base");
11
10
  var _base3 = /*#__PURE__*/require("./variations/_disabled/base");
12
11
  var _components = /*#__PURE__*/require("./components");
13
- var _Slider = /*#__PURE__*/require("./Slider.tokens");
14
12
  var _excluded = ["type"];
15
13
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
16
14
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
@@ -31,15 +29,9 @@ var sliderRoot = exports.sliderRoot = function sliderRoot(Root) {
31
29
  var _ref$type = _ref.type,
32
30
  type = _ref$type === void 0 ? 'single' : _ref$type,
33
31
  props = _objectWithoutProperties(_ref, _excluded);
34
- if (isSingleValueProps(props, type)) {
35
- return /*#__PURE__*/_react["default"].createElement(Root, _extends({}, props, {
36
- className: (0, _utils.cx)(props.orientation === 'vertical' && _Slider.classes.verticalOrientation, props.className),
37
- ref: ref
38
- }), /*#__PURE__*/_react["default"].createElement(_components.SingleSlider, props));
39
- }
40
- return /*#__PURE__*/_react["default"].createElement(Root, _extends({
32
+ return /*#__PURE__*/_react["default"].createElement(Root, _extends({}, props, {
41
33
  ref: ref
42
- }, props), isDoubleValueProps(props, type) && /*#__PURE__*/_react["default"].createElement(_components.DoubleUncontrolled, props));
34
+ }), isSingleValueProps(props, type) && /*#__PURE__*/_react["default"].createElement(_components.SingleSlider, props), isDoubleValueProps(props, type) && /*#__PURE__*/_react["default"].createElement(_components.DoubleUncontrolled, props));
43
35
  });
44
36
  };
45
37
  var sliderConfig = exports.sliderConfig = {
@@ -76,29 +76,3 @@ export function App() {
76
76
  );
77
77
  }
78
78
  ```
79
-
80
- # Вертикальное отображение
81
-
82
- ```tsx live
83
- import React from 'react';
84
- import { Slider } from '@salutejs/{{ package }}';
85
- import { IconMic } from '@salutejs/plasma-icons';
86
-
87
- export function App() {
88
- return (
89
- <section>
90
- <Slider
91
- onChangeCommitted={() => {}}
92
- min={0}
93
- max={100}
94
- value={30}
95
- label="Громкость"
96
- labelContent={<IconMic size="s" />}
97
- orientation="vertical"
98
- sliderAlign="center"
99
- size="m"
100
- />
101
- </section>
102
- );
103
- }
104
- ```