@salutejs/plasma-new-hope 0.173.1-canary.1448.11473442920.0 → 0.173.1-canary.1501.11476138183.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (443) hide show
  1. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +1 -0
  2. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +1 -1
  3. package/cjs/components/Attach/Attach.js +4 -3
  4. package/cjs/components/Attach/Attach.js.map +1 -1
  5. package/cjs/components/Attach/components/AttachButton/AttachButton.js +1 -0
  6. package/cjs/components/Attach/components/AttachButton/AttachButton.js.map +1 -1
  7. package/cjs/components/Attach/ui/Button/Button.styles.js +1 -0
  8. package/cjs/components/Attach/ui/Button/Button.styles.js.map +1 -1
  9. package/cjs/components/Attach/ui/Cell/Cell.styles.js +2 -0
  10. package/cjs/components/Attach/ui/Cell/Cell.styles.js.map +1 -1
  11. package/cjs/components/Attach/ui/IconButton/IconButton.styles.js +1 -0
  12. package/cjs/components/Attach/ui/IconButton/IconButton.styles.js.map +1 -1
  13. package/cjs/components/Attach/utils/getFileicon.js +4 -3
  14. package/cjs/components/Attach/utils/getFileicon.js.map +1 -1
  15. package/cjs/components/Attach/utils/index.js +3 -0
  16. package/cjs/components/Attach/utils/index.js.map +1 -1
  17. package/cjs/components/Autocomplete/Autocomplete.js +6 -5
  18. package/cjs/components/Autocomplete/Autocomplete.js.map +1 -1
  19. package/cjs/components/Autocomplete/Autocomplete.styles.js +3 -2
  20. package/cjs/components/Autocomplete/Autocomplete.styles.js.map +1 -1
  21. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +2 -1
  22. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  23. package/cjs/components/Avatar/Avatar.js +3 -2
  24. package/cjs/components/Avatar/Avatar.js.map +1 -1
  25. package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js +4 -2
  26. package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
  27. package/cjs/components/Button/Button.styles.js +3 -0
  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 +6 -5
  38. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  39. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +1 -0
  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 +12 -11
  45. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  46. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +4 -2
  47. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  48. package/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js +2 -0
  49. package/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  50. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.js +2 -1
  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 +6 -5
  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 +3 -1
  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 +2 -1
  57. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  58. package/cjs/components/Combobox/ComboboxOld/Combobox.js +10 -4
  59. package/cjs/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
  60. package/cjs/components/Combobox/ComboboxOld/Combobox.styles.js +1 -0
  61. package/cjs/components/Combobox/ComboboxOld/Combobox.styles.js.map +1 -1
  62. package/cjs/components/Combobox/ComboboxOld/hooks/useFocusController.js +1 -0
  63. package/cjs/components/Combobox/ComboboxOld/hooks/useFocusController.js.map +1 -1
  64. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js +2 -1
  65. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js.map +1 -1
  66. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js +10 -1
  67. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js.map +1 -1
  68. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js +10 -1
  69. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js.map +1 -1
  70. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js +10 -1
  71. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js.map +1 -1
  72. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js +10 -1
  73. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js.map +1 -1
  74. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js +2 -0
  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 +2 -1
  78. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js.map +1 -1
  79. package/cjs/components/DatePicker/DatePickerBase.styles.js +7 -1
  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 +1 -0
  83. package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -1
  84. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +2 -1
  85. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  86. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +5 -2
  87. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -1
  88. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -0
  89. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  90. package/cjs/components/Drawer/Drawer.js +10 -5
  91. package/cjs/components/Drawer/Drawer.js.map +1 -1
  92. package/cjs/components/Drawer/Drawer.styles.js +4 -0
  93. package/cjs/components/Drawer/Drawer.styles.js.map +1 -1
  94. package/cjs/components/Drawer/hooks/useDrawer.js +4 -0
  95. package/cjs/components/Drawer/hooks/useDrawer.js.map +1 -1
  96. package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.js +7 -0
  97. package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.js.map +1 -1
  98. package/cjs/components/Drawer/ui/DrawerFooter/DrawerFooter.js +7 -0
  99. package/cjs/components/Drawer/ui/DrawerFooter/DrawerFooter.js.map +1 -1
  100. package/cjs/components/Drawer/ui/DrawerHeader/DrawerHeader.js +3 -0
  101. package/cjs/components/Drawer/ui/DrawerHeader/DrawerHeader.js.map +1 -1
  102. package/cjs/components/Dropdown/Dropdown.js +10 -3
  103. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  104. package/cjs/components/Dropdown/Dropdown.styles.js +3 -2
  105. package/cjs/components/Dropdown/Dropdown.styles.js.map +1 -1
  106. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +9 -1
  107. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  108. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +2 -1
  109. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  110. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +2 -0
  111. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -1
  112. package/cjs/components/Dropdown/ui/DropdownOld/Dropdown.styles.js +1 -0
  113. package/cjs/components/Dropdown/ui/DropdownOld/Dropdown.styles.js.map +1 -1
  114. package/cjs/components/Editable/Editable.js +4 -3
  115. package/cjs/components/Editable/Editable.js.map +1 -1
  116. package/cjs/components/Editable/utils/clearSelection.js +2 -0
  117. package/cjs/components/Editable/utils/clearSelection.js.map +1 -1
  118. package/cjs/components/Editable/utils/selectText.js +2 -0
  119. package/cjs/components/Editable/utils/selectText.js.map +1 -1
  120. package/cjs/components/EmptyState/EmptyState.styles.js +2 -1
  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 +8 -0
  124. package/cjs/components/IconButton/IconButton.styles.js.map +1 -1
  125. package/cjs/components/Modal/Modal.js +8 -6
  126. package/cjs/components/Modal/Modal.js.map +1 -1
  127. package/cjs/components/Modal/hooks/useModal.js +4 -0
  128. package/cjs/components/Modal/hooks/useModal.js.map +1 -1
  129. package/cjs/components/Notification/Notification.styles.js +3 -2
  130. package/cjs/components/Notification/Notification.styles.js.map +1 -1
  131. package/cjs/components/Notification/NotificationsPortal.js +4 -3
  132. package/cjs/components/Notification/NotificationsPortal.js.map +1 -1
  133. package/cjs/components/Pagination/Pagination.styles.js +2 -1
  134. package/cjs/components/Pagination/Pagination.styles.js.map +1 -1
  135. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +2 -1
  136. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  137. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.js +2 -1
  138. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.js.map +1 -1
  139. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.styles.js +2 -1
  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 +1 -0
  145. package/cjs/components/Range/Range.styles.js.map +1 -1
  146. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js +5 -4
  147. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js.map +1 -1
  148. package/cjs/components/Select/Select.js +12 -11
  149. package/cjs/components/Select/Select.js.map +1 -1
  150. package/cjs/components/Select/Select.styles.js +5 -2
  151. package/cjs/components/Select/Select.styles.js.map +1 -1
  152. package/cjs/components/Select/hooks/usePathMaps.js +2 -0
  153. package/cjs/components/Select/hooks/usePathMaps.js.map +1 -1
  154. package/cjs/components/Select/ui/Inner/Inner.js +2 -1
  155. package/cjs/components/Select/ui/Inner/Inner.js.map +1 -1
  156. package/cjs/components/Select/ui/Inner/ui/Item/Item.js +5 -4
  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 +1 -0
  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 +3 -1
  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 +4 -1
  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 +2 -1
  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 +2 -0
  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 +4 -2
  172. package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
  173. package/cjs/components/Skeleton/RectSkeleton/RectSkeleton.js +4 -2
  174. package/cjs/components/Skeleton/RectSkeleton/RectSkeleton.js.map +1 -1
  175. package/cjs/components/Slider/Slider.js +8 -0
  176. package/cjs/components/Slider/Slider.js.map +1 -1
  177. package/cjs/components/Slider/components/Double/Double.js +2 -1
  178. package/cjs/components/Slider/components/Double/Double.js.map +1 -1
  179. package/cjs/components/Slider/components/Double/Double.styles.js +1 -0
  180. package/cjs/components/Slider/components/Double/Double.styles.js.map +1 -1
  181. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js +3 -0
  182. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js.map +1 -1
  183. package/cjs/components/Slider/components/Single/Single.js +2 -1
  184. package/cjs/components/Slider/components/Single/Single.js.map +1 -1
  185. package/cjs/components/Slider/components/SliderBase/SliderBase.js +1 -1
  186. package/cjs/components/Steps/Steps.js +1 -1
  187. package/cjs/components/Steps/ui/StepItem/StepItem.styles.js +1 -0
  188. package/cjs/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
  189. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +3 -2
  190. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
  191. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +3 -2
  192. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
  193. package/cjs/components/TextArea/TextArea.js +2 -2
  194. package/cjs/components/TextArea/TextArea.styles.js +3 -2
  195. package/cjs/components/TextArea/TextArea.styles.js.map +1 -1
  196. package/cjs/components/TextArea/ui/Hint/Hint.js +2 -1
  197. package/cjs/components/TextArea/ui/Hint/Hint.js.map +1 -1
  198. package/cjs/components/TextField/TextField.js +3 -3
  199. package/cjs/components/TextField/TextField.styles.js +2 -1
  200. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  201. package/cjs/components/TextField/ui/Hint/Hint.js +2 -1
  202. package/cjs/components/TextField/ui/Hint/Hint.js.map +1 -1
  203. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +2 -1
  204. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  205. package/cjs/components/Toast/Toast.styles.js +1 -1
  206. package/cjs/components/Toast/ToastController.js +1 -1
  207. package/cjs/components/Toast/utils.js +2 -1
  208. package/cjs/components/Toast/utils.js.map +1 -1
  209. package/cjs/components/Toolbar/ui/ToolbarDivider/ToolbarDivider.js +1 -1
  210. package/cjs/components/Tooltip/Tooltip.js +3 -2
  211. package/cjs/components/Tooltip/Tooltip.js.map +1 -1
  212. package/cjs/engines/index.js +2 -0
  213. package/cjs/engines/index.js.map +1 -1
  214. package/cjs/hooks/useIsomorphicLayoutEffect.js +1 -0
  215. package/cjs/hooks/useIsomorphicLayoutEffect.js.map +1 -1
  216. package/cjs/index.js +51 -48
  217. package/cjs/index.js.map +1 -1
  218. package/cjs/utils/index.js +5 -0
  219. package/cjs/utils/index.js.map +1 -1
  220. package/emotion/package.json +1 -2
  221. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +1 -0
  222. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +1 -1
  223. package/es/components/Attach/Attach.js +4 -3
  224. package/es/components/Attach/Attach.js.map +1 -1
  225. package/es/components/Attach/components/AttachButton/AttachButton.js +1 -0
  226. package/es/components/Attach/components/AttachButton/AttachButton.js.map +1 -1
  227. package/es/components/Attach/ui/Button/Button.styles.js +1 -0
  228. package/es/components/Attach/ui/Button/Button.styles.js.map +1 -1
  229. package/es/components/Attach/ui/Cell/Cell.styles.js +2 -0
  230. package/es/components/Attach/ui/Cell/Cell.styles.js.map +1 -1
  231. package/es/components/Attach/ui/IconButton/IconButton.styles.js +1 -0
  232. package/es/components/Attach/ui/IconButton/IconButton.styles.js.map +1 -1
  233. package/es/components/Attach/utils/getFileicon.js +4 -3
  234. package/es/components/Attach/utils/getFileicon.js.map +1 -1
  235. package/es/components/Attach/utils/index.js +3 -0
  236. package/es/components/Attach/utils/index.js.map +1 -1
  237. package/es/components/Autocomplete/Autocomplete.js +6 -5
  238. package/es/components/Autocomplete/Autocomplete.js.map +1 -1
  239. package/es/components/Autocomplete/Autocomplete.styles.js +3 -2
  240. package/es/components/Autocomplete/Autocomplete.styles.js.map +1 -1
  241. package/es/components/Autocomplete/ui/TextField/TextField.styles.js +2 -1
  242. package/es/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  243. package/es/components/Avatar/Avatar.js +3 -2
  244. package/es/components/Avatar/Avatar.js.map +1 -1
  245. package/es/components/Breadcrumbs/Breadcrumbs.styles.js +4 -2
  246. package/es/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
  247. package/es/components/Button/Button.styles.js +3 -0
  248. package/es/components/Button/Button.styles.js.map +1 -1
  249. package/es/components/Calendar/CalendarBase/CalendarBase.js +5 -5
  250. package/es/components/Calendar/CalendarDouble/CalendarDouble.js +8 -8
  251. package/es/components/Calendar/hooks/useDays.js +2 -2
  252. package/es/components/Calendar/hooks/useKeyNavigation.js +1 -1
  253. package/es/components/Calendar/hooks/useMonths.js +2 -2
  254. package/es/components/Calendar/hooks/useQuarters.js +2 -2
  255. package/es/components/Calendar/hooks/useYears.js +2 -2
  256. package/es/components/Calendar/ui/CalendarDays/CalendarDays.js +4 -4
  257. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +6 -5
  258. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  259. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +1 -0
  260. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  261. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +4 -4
  262. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +4 -4
  263. package/es/components/Calendar/ui/CalendarYears/CalendarYears.js +4 -4
  264. package/es/components/Combobox/ComboboxNew/Combobox.js +12 -11
  265. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  266. package/es/components/Combobox/ComboboxNew/Combobox.styles.js +4 -2
  267. package/es/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  268. package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js +2 -0
  269. package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  270. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.js +2 -1
  271. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.js.map +1 -1
  272. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +6 -5
  273. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  274. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +3 -1
  275. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  276. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +2 -1
  277. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  278. package/es/components/Combobox/ComboboxOld/Combobox.js +10 -4
  279. package/es/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
  280. package/es/components/Combobox/ComboboxOld/Combobox.styles.js +1 -0
  281. package/es/components/Combobox/ComboboxOld/Combobox.styles.js.map +1 -1
  282. package/es/components/Combobox/ComboboxOld/hooks/useFocusController.js +1 -0
  283. package/es/components/Combobox/ComboboxOld/hooks/useFocusController.js.map +1 -1
  284. package/es/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js +2 -1
  285. package/es/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js.map +1 -1
  286. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js +10 -1
  287. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js.map +1 -1
  288. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js +10 -1
  289. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js.map +1 -1
  290. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js +10 -1
  291. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js.map +1 -1
  292. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js +10 -1
  293. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js.map +1 -1
  294. package/es/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js +2 -0
  295. package/es/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
  296. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.js +1 -1
  297. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js +2 -1
  298. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js.map +1 -1
  299. package/es/components/DatePicker/DatePickerBase.styles.js +7 -1
  300. package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  301. package/es/components/DatePicker/RangeDate/RangeDate.js +1 -1
  302. package/es/components/DatePicker/RangeDate/RangeDate.styles.js +1 -0
  303. package/es/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -1
  304. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +2 -1
  305. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  306. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +5 -2
  307. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -1
  308. package/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -0
  309. package/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  310. package/es/components/Drawer/Drawer.js +10 -5
  311. package/es/components/Drawer/Drawer.js.map +1 -1
  312. package/es/components/Drawer/Drawer.styles.js +4 -0
  313. package/es/components/Drawer/Drawer.styles.js.map +1 -1
  314. package/es/components/Drawer/hooks/useDrawer.js +4 -0
  315. package/es/components/Drawer/hooks/useDrawer.js.map +1 -1
  316. package/es/components/Drawer/ui/DrawerContent/DrawerContent.js +7 -0
  317. package/es/components/Drawer/ui/DrawerContent/DrawerContent.js.map +1 -1
  318. package/es/components/Drawer/ui/DrawerFooter/DrawerFooter.js +7 -0
  319. package/es/components/Drawer/ui/DrawerFooter/DrawerFooter.js.map +1 -1
  320. package/es/components/Drawer/ui/DrawerHeader/DrawerHeader.js +3 -0
  321. package/es/components/Drawer/ui/DrawerHeader/DrawerHeader.js.map +1 -1
  322. package/es/components/Dropdown/Dropdown.js +10 -3
  323. package/es/components/Dropdown/Dropdown.js.map +1 -1
  324. package/es/components/Dropdown/Dropdown.styles.js +3 -2
  325. package/es/components/Dropdown/Dropdown.styles.js.map +1 -1
  326. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +9 -1
  327. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  328. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +2 -1
  329. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  330. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +2 -0
  331. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -1
  332. package/es/components/Dropdown/ui/DropdownOld/Dropdown.styles.js +1 -0
  333. package/es/components/Dropdown/ui/DropdownOld/Dropdown.styles.js.map +1 -1
  334. package/es/components/Editable/Editable.js +4 -3
  335. package/es/components/Editable/Editable.js.map +1 -1
  336. package/es/components/Editable/utils/clearSelection.js +2 -0
  337. package/es/components/Editable/utils/clearSelection.js.map +1 -1
  338. package/es/components/Editable/utils/selectText.js +2 -0
  339. package/es/components/Editable/utils/selectText.js.map +1 -1
  340. package/es/components/EmptyState/EmptyState.styles.js +2 -1
  341. package/es/components/EmptyState/EmptyState.styles.js.map +1 -1
  342. package/es/components/IconButton/IconButton.js +1 -1
  343. package/es/components/IconButton/IconButton.styles.js +8 -0
  344. package/es/components/IconButton/IconButton.styles.js.map +1 -1
  345. package/es/components/Modal/Modal.js +8 -6
  346. package/es/components/Modal/Modal.js.map +1 -1
  347. package/es/components/Modal/hooks/useModal.js +4 -0
  348. package/es/components/Modal/hooks/useModal.js.map +1 -1
  349. package/es/components/Notification/Notification.styles.js +3 -2
  350. package/es/components/Notification/Notification.styles.js.map +1 -1
  351. package/es/components/Notification/NotificationsPortal.js +4 -3
  352. package/es/components/Notification/NotificationsPortal.js.map +1 -1
  353. package/es/components/Pagination/Pagination.styles.js +2 -1
  354. package/es/components/Pagination/Pagination.styles.js.map +1 -1
  355. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +2 -1
  356. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  357. package/es/components/Panel/ui/PanelHeader/PanelHeader.js +2 -1
  358. package/es/components/Panel/ui/PanelHeader/PanelHeader.js.map +1 -1
  359. package/es/components/Panel/ui/PanelHeader/PanelHeader.styles.js +2 -1
  360. package/es/components/Panel/ui/PanelHeader/PanelHeader.styles.js.map +1 -1
  361. package/es/components/Popover/Popover.js +1 -1
  362. package/es/components/Popup/Popup.js +2 -2
  363. package/es/components/Popup/PopupContext.js +1 -1
  364. package/es/components/Range/Range.styles.js +1 -0
  365. package/es/components/Range/Range.styles.js.map +1 -1
  366. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.js +5 -4
  367. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.js.map +1 -1
  368. package/es/components/Select/Select.js +12 -11
  369. package/es/components/Select/Select.js.map +1 -1
  370. package/es/components/Select/Select.styles.js +5 -2
  371. package/es/components/Select/Select.styles.js.map +1 -1
  372. package/es/components/Select/hooks/usePathMaps.js +2 -0
  373. package/es/components/Select/hooks/usePathMaps.js.map +1 -1
  374. package/es/components/Select/ui/Inner/Inner.js +2 -1
  375. package/es/components/Select/ui/Inner/Inner.js.map +1 -1
  376. package/es/components/Select/ui/Inner/ui/Item/Item.js +5 -4
  377. package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  378. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +1 -0
  379. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  380. package/es/components/Select/ui/Target/ui/Button/Button.js +1 -1
  381. package/es/components/Select/ui/Target/ui/Button/Button.styles.js +3 -1
  382. package/es/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  383. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -2
  384. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +4 -1
  385. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  386. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +2 -1
  387. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -1
  388. package/es/components/Select/utils/getButtonLabel.js +2 -0
  389. package/es/components/Select/utils/getButtonLabel.js.map +1 -1
  390. package/es/components/Sheet/Sheet.js +3 -3
  391. package/es/components/Skeleton/LineSkeleton/LineSkeleton.js +4 -2
  392. package/es/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
  393. package/es/components/Skeleton/RectSkeleton/RectSkeleton.js +4 -2
  394. package/es/components/Skeleton/RectSkeleton/RectSkeleton.js.map +1 -1
  395. package/es/components/Slider/Slider.js +8 -0
  396. package/es/components/Slider/Slider.js.map +1 -1
  397. package/es/components/Slider/components/Double/Double.js +2 -1
  398. package/es/components/Slider/components/Double/Double.js.map +1 -1
  399. package/es/components/Slider/components/Double/Double.styles.js +1 -0
  400. package/es/components/Slider/components/Double/Double.styles.js.map +1 -1
  401. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js +3 -0
  402. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js.map +1 -1
  403. package/es/components/Slider/components/Single/Single.js +2 -1
  404. package/es/components/Slider/components/Single/Single.js.map +1 -1
  405. package/es/components/Slider/components/SliderBase/SliderBase.js +1 -1
  406. package/es/components/Steps/Steps.js +1 -1
  407. package/es/components/Steps/ui/StepItem/StepItem.styles.js +1 -0
  408. package/es/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
  409. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +3 -2
  410. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
  411. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +3 -2
  412. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
  413. package/es/components/TextArea/TextArea.js +2 -2
  414. package/es/components/TextArea/TextArea.styles.js +3 -2
  415. package/es/components/TextArea/TextArea.styles.js.map +1 -1
  416. package/es/components/TextArea/ui/Hint/Hint.js +2 -1
  417. package/es/components/TextArea/ui/Hint/Hint.js.map +1 -1
  418. package/es/components/TextField/TextField.js +3 -3
  419. package/es/components/TextField/TextField.styles.js +2 -1
  420. package/es/components/TextField/TextField.styles.js.map +1 -1
  421. package/es/components/TextField/ui/Hint/Hint.js +2 -1
  422. package/es/components/TextField/ui/Hint/Hint.js.map +1 -1
  423. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +2 -1
  424. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  425. package/es/components/Toast/Toast.styles.js +1 -1
  426. package/es/components/Toast/ToastController.js +1 -1
  427. package/es/components/Toast/utils.js +2 -1
  428. package/es/components/Toast/utils.js.map +1 -1
  429. package/es/components/Toolbar/ui/ToolbarDivider/ToolbarDivider.js +1 -1
  430. package/es/components/Tooltip/Tooltip.js +3 -2
  431. package/es/components/Tooltip/Tooltip.js.map +1 -1
  432. package/es/engines/index.js +2 -0
  433. package/es/engines/index.js.map +1 -1
  434. package/es/hooks/useIsomorphicLayoutEffect.js +1 -0
  435. package/es/hooks/useIsomorphicLayoutEffect.js.map +1 -1
  436. package/es/index.js +24 -21
  437. package/es/index.js.map +1 -1
  438. package/es/utils/index.js +3 -0
  439. package/es/utils/index.js.map +1 -1
  440. package/package.json +2 -5
  441. package/styled-components/package.json +1 -2
  442. package/types/components/DatePicker/SingleDate/SingleDate.types.d.ts +4 -0
  443. package/types/components/DatePicker/SingleDate/SingleDate.types.d.ts.map +1 -1
@@ -1,5 +1,6 @@
1
1
  import { useLayoutEffect, useEffect } from 'react';
2
2
  import { canUseDOM } from '../utils/canUseDOM.js';
3
+ import '../utils/react.js';
3
4
 
4
5
  /**
5
6
  * 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.js CHANGED
@@ -1,6 +1,3 @@
1
- export { css } from './engines/index.js';
2
- export { composableStyle, cx } from './utils/index.js';
3
- export { ButtonBase } from './components/ButtonBase/index.js';
4
1
  export { applyBlur, blurs } from './mixins/applyBlur.js';
5
2
  export { applyEllipsis } from './mixins/applyEllipsis.js';
6
3
  export { applySpacing, spacing, spacingFns } from './mixins/applySpacing.js';
@@ -13,7 +10,7 @@ export { applyRoundness, getRoundness, radiuses } from './mixins/applyRoundness.
13
10
  export { applySkeletonGradient, getSkeletonColor } from './mixins/applySkeletonGradient.js';
14
11
  export { applyDisabled } from './mixins/applyDisabled.js';
15
12
  export { applyHidden } from './mixins/applyHidden.js';
16
- export { component, mergeConfig } from './engines/common.js';
13
+ export { css } from './engines/index.js';
17
14
  export { useUniqId } from './hooks/useUniqId.js';
18
15
  export { useFocusTrap } from './hooks/useFocusTrap.js';
19
16
  export { usePreviousValue } from './hooks/usePreviousValue.js';
@@ -21,17 +18,7 @@ export { useForceUpdate } from './hooks/useForceUpdate.js';
21
18
  export { useDidMountEffect } from './hooks/useDidMountEffect.js';
22
19
  export { useOutsideClick } from './hooks/useOutsideClick.js';
23
20
  export { useIsomorphicLayoutEffect } from './hooks/useIsomorphicLayoutEffect.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 };
21
+ export { composableStyle, cx } from './utils/index.js';
35
22
  export { buttonConfig, buttonRoot } from './components/Button/Button.js';
36
23
  export { classes as buttonClasses, tokens as buttonTokens } from './components/Button/Button.tokens.js';
37
24
  export { iconButtonConfig, iconButtonRoot } from './components/IconButton/IconButton.js';
@@ -80,7 +67,6 @@ export { withRange } from './components/Calendar/hoc/withRange.js';
80
67
  export { calendarBaseConfig, calendarBaseRoot } from './components/Calendar/CalendarBase/CalendarBase.js';
81
68
  export { calendarDoubleConfig, calendarDoubleRoot } from './components/Calendar/CalendarDouble/CalendarDouble.js';
82
69
  export { tokens as calendarBaseTokens, tokens as calendarDoubleTokens } from './components/Calendar/Calendar.tokens.js';
83
- export { tokens as typographyTokens } from './components/Typography/tokens.js';
84
70
  export { bodyConfig, bodyRoot } from './components/Typography/Body/Body.js';
85
71
  export { dsplConfig, dsplRoot } from './components/Typography/Dspl/Dspl.js';
86
72
  export { headingConfig, headingRoot } from './components/Typography/Heading/Heading.js';
@@ -95,6 +81,7 @@ export { paragraphConfig, paragraphRoot } from './components/Typography/Old/Para
95
81
  export { paragraphTextConfig, paragraphTextRoot } from './components/Typography/Old/ParagraphText/ParagraphText.js';
96
82
  export { underlineConfig, underlineRoot } from './components/Typography/Old/Underline/Underline.js';
97
83
  export { subtitleConfig, subtitleRoot } from './components/Typography/Old/Subtitle/Subtitle.js';
84
+ export { tokens as typographyTokens } from './components/Typography/tokens.js';
98
85
  export { PopupProvider, usePopupContext } from './components/Popup/PopupContext.js';
99
86
  export { popupConfig, popupRoot } from './components/Popup/Popup.js';
100
87
  export { usePopup } from './components/Popup/hooks/usePopup.js';
@@ -106,10 +93,10 @@ export { noticationConfig, notificationRoot } from './components/Notification/No
106
93
  export { addNotification, closeNotification } from './components/Notification/NotificationsStore.js';
107
94
  export { classes as notificationClasses, tokens as notificationTokens } from './components/Notification/Notification.tokens.js';
108
95
  export { drawerConfig, drawerRoot } from './components/Drawer/Drawer.js';
109
- export { classes as drawerClasses, tokens as drawerTokens } from './components/Drawer/Drawer.tokens.js';
110
96
  export { drawerContentConfig, drawerContentRoot } from './components/Drawer/ui/DrawerContent/DrawerContent.js';
111
97
  export { drawerFooterConfig, drawerFooterRoot } from './components/Drawer/ui/DrawerFooter/DrawerFooter.js';
112
98
  export { drawerHeaderConfig, drawerHeaderRoot } from './components/Drawer/ui/DrawerHeader/DrawerHeader.js';
99
+ export { classes as drawerClasses, tokens as drawerTokens } from './components/Drawer/Drawer.tokens.js';
113
100
  export { dropdownConfig, dropdownRoot } from './components/Dropdown/Dropdown.js';
114
101
  export { classes as dropdownClasses, tokens as dropdownTokens } from './components/Dropdown/Dropdown.tokens.js';
115
102
  export { useKeyNavigation as useDropdownKeyNavigation } from './components/Dropdown/hooks/useKeyboardNavigation.js';
@@ -124,8 +111,8 @@ export { dropdownOldConfig, dropdownOldRoot } from './components/Dropdown/ui/Dro
124
111
  export { tokens as dropdownOldTokens } from './components/Dropdown/ui/DropdownOld/DropdownOld.tokens.js';
125
112
  export { tooltipConfig, tooltipRoot } from './components/Tooltip/Tooltip.js';
126
113
  export { tokens as tooltipTokens } from './components/Tooltip/Tooltip.tokens.js';
127
- export { segmentItemConfig, segmentItemRoot } from './components/Segment/ui/SegmentItem/SegmentItem.js';
128
114
  export { segmentGroupConfig, segmentGroupRoot } from './components/Segment/ui/SegmentGroup/SegmentGroup.js';
115
+ export { segmentItemConfig, segmentItemRoot } from './components/Segment/ui/SegmentItem/SegmentItem.js';
129
116
  export { SegmentProvider, useSegment } from './components/Segment/SegmentProvider/SegmentProvider.js';
130
117
  export { classes as segmentClasses, tokens as segmentTokens } from './components/Segment/tokens.js';
131
118
  export { lineSkeletonConfig, lineSkeletonRoot } from './components/Skeleton/LineSkeleton/LineSkeleton.js';
@@ -150,22 +137,23 @@ export { classes as toastClasses, tokens as toastTokens } from './components/Toa
150
137
  export { Overlay } from './components/Overlay/Overlay.js';
151
138
  export { SSRContext, SSRProvider } from './components/SSRProvider/SSRProvider.js';
152
139
  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';
153
141
  export { comboboxDividerConfig, comboboxDividerRoot } from './components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js';
154
142
  export { comboboxFooterConfig, comboboxFooterRoot } from './components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js';
155
143
  export { comboboxGroupConfig, comboboxGroupRoot } from './components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js';
156
144
  export { comboboxHeaderConfig, comboboxHeaderRoot } from './components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js';
157
145
  export { comboboxItemConfig, comboboxItemRoot } from './components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.js';
158
146
  export { ComboboxTarget } from './components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.js';
159
- export { classes as comboboxOldClasses, tokens as comboboxOldTokens } from './components/Combobox/ComboboxOld/Combobox.tokens.js';
160
- export { tokens as comboboxNewTokens } from './components/Combobox/ComboboxNew/Combobox.tokens.js';
161
147
  export { comboboxConfig as comboboxNewConfig, comboboxRoot as comboboxNewRoot } from './components/Combobox/ComboboxNew/Combobox.js';
148
+ export { tokens as comboboxNewTokens } from './components/Combobox/ComboboxNew/Combobox.tokens.js';
162
149
  export { indicatorConfig, indicatorRoot } from './components/Indicator/Indicator.js';
163
150
  export { tokens as indicatorTokens } from './components/Indicator/Indicator.tokens.js';
151
+ export { ButtonBase } from './components/ButtonBase/index.js';
164
152
  export { gridConfig, gridRoot } from './components/Grid/Grid.js';
165
153
  export { tokens as gridTokens } from './components/Grid/Grid.tokens.js';
166
- export { getBaseGridView } from './components/Grid/utils/index.js';
167
154
  export { Row } from './components/Grid/ui/Row/Row.js';
168
155
  export { Col } from './components/Grid/ui/Col/Col.js';
156
+ export { getBaseGridView } from './components/Grid/utils/index.js';
169
157
  export { progressConfig, progressRoot } from './components/Progress/Progress.js';
170
158
  export { tokens as progressTokens } from './components/Progress/Progress.tokens.js';
171
159
  export { selectConfig, selectRoot } from './components/Select/Select.js';
@@ -179,7 +167,10 @@ export { sheetConfig, sheetRoot } from './components/Sheet/Sheet.js';
179
167
  export { classes as sheetClasses, tokens as sheetTokens } from './components/Sheet/Sheet.tokens.js';
180
168
  export { sliderConfig, sliderRoot } from './components/Slider/Slider.js';
181
169
  export { tokens as sliderTokens } from './components/Slider/Slider.tokens.js';
170
+ import 'react';
171
+ import 'react-draggable';
182
172
  export { ThumbBase } from './components/Slider/ui/Thumb/Thumb.styles.js';
173
+ import '@linaria/react';
183
174
  export { stepsConfig, stepsRoot } from './components/Steps/Steps.js';
184
175
  export { tokens as stepsTokens } from './components/Steps/Steps.tokens.js';
185
176
  export { rangeConfig, rangeRoot } from './components/Range/Range.js';
@@ -202,4 +193,16 @@ export { tokens as editableTokens } from './components/Editable/Editable.tokens.
202
193
  export { composeMask } from './components/Mask/Mask.js';
203
194
  export { attachConfig, attachRoot } from './components/Attach/Attach.js';
204
195
  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
208
  //# 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,3 +1,6 @@
1
+ import 'react';
2
+ export { IS_REACT_18, safeUseId } from './react.js';
3
+
1
4
  var cx = function cx() {
2
5
  for (var _len = arguments.length, classes = new Array(_len), _key = 0; _key < _len; _key++) {
3
6
  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 | 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;;;;"}
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.173.1-canary.1448.11473442920.0",
3
+ "version": "0.173.1-canary.1501.11476138183.0",
4
4
  "description": "Salute Design System blueprint",
5
5
  "main": "cjs/index.js",
6
6
  "module": "es/index.js",
@@ -124,8 +124,5 @@
124
124
  "react-popper": "2.3.0",
125
125
  "storeon": "3.1.5"
126
126
  },
127
- "sideEffects": [
128
- "*.css"
129
- ],
130
- "gitHead": "720138a083ade3aff54cbca1e00af71d5decc095"
127
+ "gitHead": "68909658df9892cbfd5b33ca1e76ba492a7f9e40"
131
128
  }
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "module": "es/index.js",
3
3
  "main": "cjs/index.js",
4
- "types": "../types/index.d.ts",
5
- "sideEffects": false
4
+ "types": "../types/index.d.ts"
6
5
  }
@@ -8,6 +8,10 @@ export declare type DatePickerTextFieldProps = {
8
8
  * Выбранное значение.
9
9
  */
10
10
  defaultDate?: Date;
11
+ /**
12
+ * Placeholder для поля ввода
13
+ */
14
+ placeholder?: string;
11
15
  /**
12
16
  * Свойство для названия поля при работе с формой
13
17
  */
@@ -1 +1 @@
1
- {"version":3,"file":"SingleDate.types.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/SingleDate/SingleDate.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,KAAK,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACjG,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAE9D,oBAAY,wBAAwB,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AAC3E,oBAAY,mBAAmB,GAAG,wBAAwB,GAAG,MAAM,CAAC;AAEpE,oBAAY,wBAAwB,GAAG;IACnC;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACnC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IACjC;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAClC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,GAAG,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,QAAQ,KAAK,IAAI,CAAC;IACvG;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACzF;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,MAAM,EAAE;YAAE,KAAK,CAAC,EAAE,MAAM,CAAC;YAAC,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,KAAK,IAAI,CAAC;CAC7E,CAAC;AAEF,oBAAY,sBAAsB,GAAG;IACjC;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,mBAAmB,GAAG,KAAK,CAAC,wBAAwB,CAAC,CAAC;IAClE;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,SAAS,CAAC,WAAW,CAAC,CAAC;IACrD;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;CACvE,CAAC;AAEF,oBAAY,eAAe,GAAG,wBAAwB,GAClD,wBAAwB,GACxB,uBAAuB,GACvB,sBAAsB,GACtB,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,cAAc,CAAC,CAAC"}
1
+ {"version":3,"file":"SingleDate.types.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/SingleDate/SingleDate.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,KAAK,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACjG,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAE9D,oBAAY,wBAAwB,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AAC3E,oBAAY,mBAAmB,GAAG,wBAAwB,GAAG,MAAM,CAAC;AAEpE,oBAAY,wBAAwB,GAAG;IACnC;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACnC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IACjC;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAClC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,GAAG,MAAM,EAAE,KAAK,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,EAAE,QAAQ,KAAK,IAAI,CAAC;IACvG;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACzF;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,MAAM,EAAE;YAAE,KAAK,CAAC,EAAE,MAAM,CAAC;YAAC,IAAI,CAAC,EAAE,MAAM,CAAA;SAAE,CAAA;KAAE,KAAK,IAAI,CAAC;CAC7E,CAAC;AAEF,oBAAY,sBAAsB,GAAG;IACjC;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,mBAAmB,GAAG,KAAK,CAAC,wBAAwB,CAAC,CAAC;IAClE;;;OAGG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,SAAS,CAAC,WAAW,CAAC,CAAC;IACrD;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;CACvE,CAAC;AAEF,oBAAY,eAAe,GAAG,wBAAwB,GAClD,wBAAwB,GACxB,uBAAuB,GACvB,sBAAsB,GACtB,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,cAAc,CAAC,CAAC"}