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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (752) hide show
  1. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -1
  2. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +1 -1
  3. package/cjs/components/Attach/Attach.js +3 -4
  4. package/cjs/components/Attach/Attach.js.map +1 -1
  5. package/cjs/components/Attach/components/AttachButton/AttachButton.js +0 -1
  6. package/cjs/components/Attach/components/AttachButton/AttachButton.js.map +1 -1
  7. package/cjs/components/Attach/ui/Button/Button.styles.js +0 -1
  8. package/cjs/components/Attach/ui/Button/Button.styles.js.map +1 -1
  9. package/cjs/components/Attach/ui/Cell/Cell.styles.js +0 -2
  10. package/cjs/components/Attach/ui/Cell/Cell.styles.js.map +1 -1
  11. package/cjs/components/Attach/ui/IconButton/IconButton.styles.js +0 -1
  12. package/cjs/components/Attach/ui/IconButton/IconButton.styles.js.map +1 -1
  13. package/cjs/components/Attach/utils/getFileicon.js +3 -4
  14. package/cjs/components/Attach/utils/getFileicon.js.map +1 -1
  15. package/cjs/components/Attach/utils/index.js +0 -3
  16. package/cjs/components/Attach/utils/index.js.map +1 -1
  17. package/cjs/components/Autocomplete/Autocomplete.css +1 -1
  18. package/cjs/components/Autocomplete/Autocomplete.js +5 -6
  19. package/cjs/components/Autocomplete/Autocomplete.js.map +1 -1
  20. package/cjs/components/Autocomplete/Autocomplete.styles.js +2 -3
  21. package/cjs/components/Autocomplete/Autocomplete.styles.js.map +1 -1
  22. package/cjs/components/Autocomplete/Autocomplete.tokens.js +1 -0
  23. package/cjs/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
  24. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +2 -3
  25. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  26. package/cjs/components/Autocomplete/ui/TextField/{TextField.styles_1csckkd.css → TextField.styles_1ye9068.css} +1 -1
  27. package/cjs/components/Avatar/Avatar.js +2 -3
  28. package/cjs/components/Avatar/Avatar.js.map +1 -1
  29. package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js +2 -4
  30. package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
  31. package/cjs/components/Button/Button.styles.js +0 -3
  32. package/cjs/components/Button/Button.styles.js.map +1 -1
  33. package/cjs/components/Calendar/Calendar.tokens.js +3 -0
  34. package/cjs/components/Calendar/Calendar.tokens.js.map +1 -1
  35. package/cjs/components/Calendar/CalendarBase/CalendarBase.css +11 -10
  36. package/cjs/components/Calendar/CalendarBase/CalendarBase.js +5 -5
  37. package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  38. package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  39. package/{es/components/Calendar/CalendarBase/CalendarBase.styles_1m6uih1.css → cjs/components/Calendar/CalendarBase/CalendarBase.styles_ni8729.css} +1 -1
  40. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +11 -10
  41. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +8 -8
  42. package/cjs/components/Calendar/hooks/useDays.js +2 -2
  43. package/cjs/components/Calendar/hooks/useKeyNavigation.js +1 -1
  44. package/cjs/components/Calendar/hooks/useMonths.js +2 -2
  45. package/cjs/components/Calendar/hooks/useQuarters.js +2 -2
  46. package/cjs/components/Calendar/hooks/useYears.js +2 -2
  47. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js +4 -4
  48. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.css +9 -8
  49. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +7 -9
  50. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  51. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +11 -2
  52. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  53. package/{es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1jfelqf.css → cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1xijs8w.css} +1 -0
  54. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +4 -4
  55. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +4 -4
  56. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +4 -4
  57. package/cjs/components/Combobox/ComboboxNew/Combobox.css +12 -12
  58. package/cjs/components/Combobox/ComboboxNew/Combobox.js +11 -12
  59. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  60. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +12 -14
  61. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  62. package/{es/components/Combobox/ComboboxNew/Combobox.styles_1s09ifw.css → cjs/components/Combobox/ComboboxNew/Combobox.styles_1nqrvms.css} +1 -1
  63. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
  64. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  65. package/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js +0 -2
  66. package/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  67. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +12 -12
  68. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.js +1 -2
  69. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.js.map +1 -1
  70. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +12 -12
  71. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +5 -6
  72. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  73. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +10 -12
  74. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  75. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/{Item.styles_1us8jz1.css → Item.styles_1njzasn.css} +2 -2
  76. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -2
  77. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  78. package/cjs/components/Combobox/ComboboxOld/Combobox.css +3 -3
  79. package/cjs/components/Combobox/ComboboxOld/Combobox.js +4 -10
  80. package/cjs/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
  81. package/cjs/components/Combobox/ComboboxOld/Combobox.styles.js +0 -1
  82. package/cjs/components/Combobox/ComboboxOld/Combobox.styles.js.map +1 -1
  83. package/cjs/components/Combobox/ComboboxOld/hooks/useFocusController.js +0 -1
  84. package/cjs/components/Combobox/ComboboxOld/hooks/useFocusController.js.map +1 -1
  85. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js +1 -2
  86. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js.map +1 -1
  87. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +3 -3
  88. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js +1 -10
  89. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js.map +1 -1
  90. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +3 -3
  91. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js +1 -10
  92. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js.map +1 -1
  93. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +3 -3
  94. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js +1 -10
  95. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js.map +1 -1
  96. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +3 -3
  97. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js +1 -10
  98. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js.map +1 -1
  99. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js +0 -2
  100. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
  101. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.js +1 -1
  102. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js +1 -2
  103. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js.map +1 -1
  104. package/cjs/components/DatePicker/DatePicker.tokens.js +5 -0
  105. package/cjs/components/DatePicker/DatePicker.tokens.js.map +1 -1
  106. package/cjs/components/DatePicker/DatePickerBase.styles.js +2 -8
  107. package/cjs/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  108. package/cjs/components/DatePicker/DatePickerBase.styles_1x090si.css +2 -0
  109. package/cjs/components/DatePicker/RangeDate/RangeDate.css +15 -14
  110. package/cjs/components/DatePicker/RangeDate/RangeDate.js +1 -1
  111. package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js +0 -1
  112. package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -1
  113. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +13 -12
  114. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -2
  115. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  116. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +3 -6
  117. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -1
  118. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1i6gpss.css +2 -0
  119. package/cjs/components/DatePicker/SingleDate/SingleDate.css +15 -14
  120. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -2
  121. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  122. package/cjs/components/DatePicker/SingleDate/{SingleDate.styles_1rrq00l.css → SingleDate.styles_e72b5o.css} +1 -1
  123. package/cjs/components/Drawer/Drawer.js +5 -10
  124. package/cjs/components/Drawer/Drawer.js.map +1 -1
  125. package/cjs/components/Drawer/Drawer.styles.js +0 -4
  126. package/cjs/components/Drawer/Drawer.styles.js.map +1 -1
  127. package/cjs/components/Drawer/hooks/useDrawer.js +0 -4
  128. package/cjs/components/Drawer/hooks/useDrawer.js.map +1 -1
  129. package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.js +0 -7
  130. package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.js.map +1 -1
  131. package/cjs/components/Drawer/ui/DrawerFooter/DrawerFooter.js +0 -7
  132. package/cjs/components/Drawer/ui/DrawerFooter/DrawerFooter.js.map +1 -1
  133. package/cjs/components/Drawer/ui/DrawerHeader/DrawerHeader.js +0 -3
  134. package/cjs/components/Drawer/ui/DrawerHeader/DrawerHeader.js.map +1 -1
  135. package/cjs/components/Dropdown/Dropdown.css +3 -3
  136. package/cjs/components/Dropdown/Dropdown.js +3 -10
  137. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  138. package/cjs/components/Dropdown/Dropdown.styles.js +3 -4
  139. package/cjs/components/Dropdown/Dropdown.styles.js.map +1 -1
  140. package/cjs/components/Dropdown/{Dropdown.styles_1tihqkp.css → Dropdown.styles_zvi9m3.css} +1 -1
  141. package/cjs/components/Dropdown/Dropdown.tokens.js +2 -0
  142. package/cjs/components/Dropdown/Dropdown.tokens.js.map +1 -1
  143. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +1 -9
  144. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  145. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +1 -2
  146. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  147. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +0 -2
  148. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -1
  149. package/cjs/components/Dropdown/ui/DropdownOld/Dropdown.styles.js +0 -1
  150. package/cjs/components/Dropdown/ui/DropdownOld/Dropdown.styles.js.map +1 -1
  151. package/cjs/components/Editable/Editable.js +3 -4
  152. package/cjs/components/Editable/Editable.js.map +1 -1
  153. package/cjs/components/Editable/utils/clearSelection.js +0 -2
  154. package/cjs/components/Editable/utils/clearSelection.js.map +1 -1
  155. package/cjs/components/Editable/utils/selectText.js +0 -2
  156. package/cjs/components/Editable/utils/selectText.js.map +1 -1
  157. package/cjs/components/EmptyState/EmptyState.styles.js +1 -2
  158. package/cjs/components/EmptyState/EmptyState.styles.js.map +1 -1
  159. package/cjs/components/IconButton/IconButton.js +1 -1
  160. package/cjs/components/IconButton/IconButton.styles.js +0 -8
  161. package/cjs/components/IconButton/IconButton.styles.js.map +1 -1
  162. package/cjs/components/Modal/Modal.js +6 -8
  163. package/cjs/components/Modal/Modal.js.map +1 -1
  164. package/cjs/components/Modal/hooks/useModal.js +0 -4
  165. package/cjs/components/Modal/hooks/useModal.js.map +1 -1
  166. package/cjs/components/Notification/Notification.css +11 -11
  167. package/cjs/components/Notification/Notification.styles.js +17 -18
  168. package/cjs/components/Notification/Notification.styles.js.map +1 -1
  169. package/cjs/components/Notification/{Notification.styles_7h8hp0.css → Notification.styles_1g34msm.css} +1 -1
  170. package/cjs/components/Notification/Notification.tokens.js +2 -0
  171. package/cjs/components/Notification/Notification.tokens.js.map +1 -1
  172. package/cjs/components/Notification/NotificationsPortal.js +3 -4
  173. package/cjs/components/Notification/NotificationsPortal.js.map +1 -1
  174. package/cjs/components/Notification/NotificationsProvider.css +11 -11
  175. package/cjs/components/Pagination/Pagination.css +10 -10
  176. package/cjs/components/Pagination/Pagination.js +5 -5
  177. package/cjs/components/Pagination/Pagination.js.map +1 -1
  178. package/cjs/components/Pagination/Pagination.styles.js +4 -5
  179. package/cjs/components/Pagination/Pagination.styles.js.map +1 -1
  180. package/cjs/components/Pagination/{Pagination.styles_y6gcva.css → Pagination.styles_1w5oej6.css} +1 -1
  181. package/cjs/components/Pagination/Pagination.tokens.js +4 -1
  182. package/cjs/components/Pagination/Pagination.tokens.js.map +1 -1
  183. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +3 -3
  184. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +2 -3
  185. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  186. package/cjs/components/Pagination/ui/PaginationSelectPerPage/{PaginationSelectPerPage.styles_187mk6b.css → PaginationSelectPerPage.styles_1fesyfv.css} +1 -1
  187. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.js +1 -2
  188. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.js.map +1 -1
  189. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.styles.js +1 -2
  190. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.styles.js.map +1 -1
  191. package/cjs/components/Popover/Popover.js +1 -1
  192. package/cjs/components/Popup/Popup.js +2 -2
  193. package/cjs/components/Popup/PopupContext.js +1 -1
  194. package/cjs/components/Range/Range.styles.js +0 -1
  195. package/cjs/components/Range/Range.styles.js.map +1 -1
  196. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js +4 -5
  197. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js.map +1 -1
  198. package/cjs/components/Select/Select.js +11 -12
  199. package/cjs/components/Select/Select.js.map +1 -1
  200. package/cjs/components/Select/Select.styles.js +2 -5
  201. package/cjs/components/Select/Select.styles.js.map +1 -1
  202. package/cjs/components/Select/hooks/usePathMaps.js +0 -2
  203. package/cjs/components/Select/hooks/usePathMaps.js.map +1 -1
  204. package/cjs/components/Select/ui/Inner/Inner.js +1 -2
  205. package/cjs/components/Select/ui/Inner/Inner.js.map +1 -1
  206. package/cjs/components/Select/ui/Inner/ui/Item/Item.js +4 -5
  207. package/cjs/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  208. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +0 -1
  209. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  210. package/cjs/components/Select/ui/Target/ui/Button/Button.js +1 -1
  211. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +1 -3
  212. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  213. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -2
  214. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -4
  215. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  216. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +1 -2
  217. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -1
  218. package/cjs/components/Select/utils/getButtonLabel.js +0 -2
  219. package/cjs/components/Select/utils/getButtonLabel.js.map +1 -1
  220. package/cjs/components/Sheet/Sheet.js +3 -3
  221. package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js +2 -4
  222. package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
  223. package/cjs/components/Skeleton/RectSkeleton/RectSkeleton.js +2 -4
  224. package/cjs/components/Skeleton/RectSkeleton/RectSkeleton.js.map +1 -1
  225. package/cjs/components/Slider/Slider.js +0 -8
  226. package/cjs/components/Slider/Slider.js.map +1 -1
  227. package/cjs/components/Slider/components/Double/Double.js +1 -2
  228. package/cjs/components/Slider/components/Double/Double.js.map +1 -1
  229. package/cjs/components/Slider/components/Double/Double.styles.js +0 -1
  230. package/cjs/components/Slider/components/Double/Double.styles.js.map +1 -1
  231. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js +0 -3
  232. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js.map +1 -1
  233. package/cjs/components/Slider/components/Single/Single.js +1 -2
  234. package/cjs/components/Slider/components/Single/Single.js.map +1 -1
  235. package/cjs/components/Slider/components/SliderBase/SliderBase.js +1 -1
  236. package/cjs/components/Steps/Steps.js +1 -1
  237. package/cjs/components/Steps/ui/StepItem/StepItem.styles.js +0 -1
  238. package/cjs/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
  239. package/cjs/components/Tabs/createTabsController.js.map +1 -1
  240. package/cjs/components/Tabs/tokens.js +7 -1
  241. package/cjs/components/Tabs/tokens.js.map +1 -1
  242. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +5 -5
  243. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -8
  244. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  245. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  246. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  247. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/{HorizontalTabItem.styles_hfqv5b.css → HorizontalTabItem.styles_uaaqqg.css} +1 -1
  248. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.css +1 -1
  249. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +7 -18
  250. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
  251. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  252. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js.map +1 -1
  253. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/{base_4ob3q5.css → base_9miwn.css} +1 -1
  254. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -5
  255. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  256. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  257. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/{VerticalTabItem.styles_16d3lah.css → VerticalTabItem.styles_1g7zipg.css} +1 -1
  258. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +2 -3
  259. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
  260. package/cjs/components/TextArea/TextArea.js +2 -2
  261. package/cjs/components/TextArea/TextArea.styles.js +2 -3
  262. package/cjs/components/TextArea/TextArea.styles.js.map +1 -1
  263. package/cjs/components/TextArea/ui/Hint/Hint.js +1 -2
  264. package/cjs/components/TextArea/ui/Hint/Hint.js.map +1 -1
  265. package/cjs/components/TextField/TextField.js +3 -3
  266. package/cjs/components/TextField/TextField.styles.js +1 -2
  267. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  268. package/cjs/components/TextField/ui/Hint/Hint.js +1 -2
  269. package/cjs/components/TextField/ui/Hint/Hint.js.map +1 -1
  270. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -2
  271. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  272. package/cjs/components/Toast/Toast.styles.js +1 -1
  273. package/cjs/components/Toast/ToastController.js +1 -1
  274. package/cjs/components/Toast/utils.js +1 -2
  275. package/cjs/components/Toast/utils.js.map +1 -1
  276. package/cjs/components/Toolbar/ui/ToolbarDivider/ToolbarDivider.js +1 -1
  277. package/cjs/components/Tooltip/Tooltip.js +2 -3
  278. package/cjs/components/Tooltip/Tooltip.js.map +1 -1
  279. package/cjs/engines/index.js +0 -2
  280. package/cjs/engines/index.js.map +1 -1
  281. package/cjs/hooks/useIsomorphicLayoutEffect.js +0 -1
  282. package/cjs/hooks/useIsomorphicLayoutEffect.js.map +1 -1
  283. package/cjs/index.css +65 -64
  284. package/cjs/index.js +48 -51
  285. package/cjs/index.js.map +1 -1
  286. package/cjs/utils/index.js +0 -5
  287. package/cjs/utils/index.js.map +1 -1
  288. package/emotion/cjs/components/Autocomplete/Autocomplete.tokens.js +1 -0
  289. package/emotion/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  290. package/emotion/cjs/components/Calendar/Calendar.tokens.js +3 -0
  291. package/emotion/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -2
  292. package/emotion/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -3
  293. package/emotion/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +22 -17
  294. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +7 -7
  295. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
  296. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +12 -12
  297. package/emotion/cjs/components/DatePicker/DatePicker.tokens.js +5 -0
  298. package/emotion/cjs/components/DatePicker/DatePickerBase.styles.js +3 -3
  299. package/emotion/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +5 -5
  300. package/emotion/cjs/components/Dropdown/Dropdown.styles.js +3 -3
  301. package/emotion/cjs/components/Dropdown/Dropdown.tokens.js +2 -0
  302. package/emotion/cjs/components/Notification/Notification.styles.js +11 -11
  303. package/emotion/cjs/components/Notification/Notification.tokens.js +2 -0
  304. package/emotion/cjs/components/Pagination/Pagination.js +5 -5
  305. package/emotion/cjs/components/Pagination/Pagination.styles.js +8 -8
  306. package/emotion/cjs/components/Pagination/Pagination.tokens.js +4 -1
  307. package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  308. package/emotion/cjs/components/Tabs/tokens.js +7 -1
  309. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -13
  310. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +5 -5
  311. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +5 -20
  312. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  313. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +5 -5
  314. package/emotion/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +33 -72
  315. package/emotion/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +33 -72
  316. package/emotion/es/components/Autocomplete/Autocomplete.tokens.js +1 -0
  317. package/emotion/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  318. package/emotion/es/components/Calendar/Calendar.tokens.js +3 -0
  319. package/emotion/es/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -2
  320. package/emotion/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -5
  321. package/emotion/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +21 -16
  322. package/emotion/es/components/Combobox/ComboboxNew/Combobox.styles.js +7 -7
  323. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
  324. package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +12 -12
  325. package/emotion/es/components/DatePicker/DatePicker.tokens.js +5 -0
  326. package/emotion/es/components/DatePicker/DatePickerBase.styles.js +3 -3
  327. package/emotion/es/components/DatePicker/SingleDate/SingleDate.styles.js +5 -5
  328. package/emotion/es/components/Dropdown/Dropdown.styles.js +3 -3
  329. package/emotion/es/components/Dropdown/Dropdown.tokens.js +2 -0
  330. package/emotion/es/components/Notification/Notification.styles.js +11 -11
  331. package/emotion/es/components/Notification/Notification.tokens.js +2 -0
  332. package/emotion/es/components/Pagination/Pagination.js +5 -5
  333. package/emotion/es/components/Pagination/Pagination.styles.js +8 -8
  334. package/emotion/es/components/Pagination/Pagination.tokens.js +4 -1
  335. package/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  336. package/emotion/es/components/Tabs/tokens.js +7 -1
  337. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -14
  338. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +5 -5
  339. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +5 -21
  340. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  341. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +5 -5
  342. package/emotion/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +33 -72
  343. package/emotion/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +33 -72
  344. package/emotion/package.json +2 -1
  345. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -1
  346. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +1 -1
  347. package/es/components/Attach/Attach.js +3 -4
  348. package/es/components/Attach/Attach.js.map +1 -1
  349. package/es/components/Attach/components/AttachButton/AttachButton.js +0 -1
  350. package/es/components/Attach/components/AttachButton/AttachButton.js.map +1 -1
  351. package/es/components/Attach/ui/Button/Button.styles.js +0 -1
  352. package/es/components/Attach/ui/Button/Button.styles.js.map +1 -1
  353. package/es/components/Attach/ui/Cell/Cell.styles.js +0 -2
  354. package/es/components/Attach/ui/Cell/Cell.styles.js.map +1 -1
  355. package/es/components/Attach/ui/IconButton/IconButton.styles.js +0 -1
  356. package/es/components/Attach/ui/IconButton/IconButton.styles.js.map +1 -1
  357. package/es/components/Attach/utils/getFileicon.js +3 -4
  358. package/es/components/Attach/utils/getFileicon.js.map +1 -1
  359. package/es/components/Attach/utils/index.js +0 -3
  360. package/es/components/Attach/utils/index.js.map +1 -1
  361. package/es/components/Autocomplete/Autocomplete.css +1 -1
  362. package/es/components/Autocomplete/Autocomplete.js +5 -6
  363. package/es/components/Autocomplete/Autocomplete.js.map +1 -1
  364. package/es/components/Autocomplete/Autocomplete.styles.js +2 -3
  365. package/es/components/Autocomplete/Autocomplete.styles.js.map +1 -1
  366. package/es/components/Autocomplete/Autocomplete.tokens.js +1 -0
  367. package/es/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
  368. package/es/components/Autocomplete/ui/TextField/TextField.styles.js +2 -3
  369. package/es/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  370. package/es/components/Autocomplete/ui/TextField/{TextField.styles_1csckkd.css → TextField.styles_1ye9068.css} +1 -1
  371. package/es/components/Avatar/Avatar.js +2 -3
  372. package/es/components/Avatar/Avatar.js.map +1 -1
  373. package/es/components/Breadcrumbs/Breadcrumbs.styles.js +2 -4
  374. package/es/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
  375. package/es/components/Button/Button.styles.js +0 -3
  376. package/es/components/Button/Button.styles.js.map +1 -1
  377. package/es/components/Calendar/Calendar.tokens.js +3 -0
  378. package/es/components/Calendar/Calendar.tokens.js.map +1 -1
  379. package/es/components/Calendar/CalendarBase/CalendarBase.css +11 -10
  380. package/es/components/Calendar/CalendarBase/CalendarBase.js +5 -5
  381. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  382. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  383. package/{cjs/components/Calendar/CalendarBase/CalendarBase.styles_1m6uih1.css → es/components/Calendar/CalendarBase/CalendarBase.styles_ni8729.css} +1 -1
  384. package/es/components/Calendar/CalendarDouble/CalendarDouble.css +11 -10
  385. package/es/components/Calendar/CalendarDouble/CalendarDouble.js +8 -8
  386. package/es/components/Calendar/hooks/useDays.js +2 -2
  387. package/es/components/Calendar/hooks/useKeyNavigation.js +1 -1
  388. package/es/components/Calendar/hooks/useMonths.js +2 -2
  389. package/es/components/Calendar/hooks/useQuarters.js +2 -2
  390. package/es/components/Calendar/hooks/useYears.js +2 -2
  391. package/es/components/Calendar/ui/CalendarDays/CalendarDays.js +4 -4
  392. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.css +9 -8
  393. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +8 -10
  394. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  395. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +11 -3
  396. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  397. package/{cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1jfelqf.css → es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1xijs8w.css} +1 -0
  398. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +4 -4
  399. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +4 -4
  400. package/es/components/Calendar/ui/CalendarYears/CalendarYears.js +4 -4
  401. package/es/components/Combobox/ComboboxNew/Combobox.css +12 -12
  402. package/es/components/Combobox/ComboboxNew/Combobox.js +11 -12
  403. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  404. package/es/components/Combobox/ComboboxNew/Combobox.styles.js +12 -14
  405. package/es/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  406. package/{cjs/components/Combobox/ComboboxNew/Combobox.styles_1s09ifw.css → es/components/Combobox/ComboboxNew/Combobox.styles_1nqrvms.css} +1 -1
  407. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
  408. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  409. package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js +0 -2
  410. package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  411. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +12 -12
  412. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.js +1 -2
  413. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.js.map +1 -1
  414. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +12 -12
  415. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +5 -6
  416. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  417. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +10 -12
  418. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  419. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/{Item.styles_1us8jz1.css → Item.styles_1njzasn.css} +2 -2
  420. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -2
  421. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  422. package/es/components/Combobox/ComboboxOld/Combobox.css +3 -3
  423. package/es/components/Combobox/ComboboxOld/Combobox.js +4 -10
  424. package/es/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
  425. package/es/components/Combobox/ComboboxOld/Combobox.styles.js +0 -1
  426. package/es/components/Combobox/ComboboxOld/Combobox.styles.js.map +1 -1
  427. package/es/components/Combobox/ComboboxOld/hooks/useFocusController.js +0 -1
  428. package/es/components/Combobox/ComboboxOld/hooks/useFocusController.js.map +1 -1
  429. package/es/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js +1 -2
  430. package/es/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js.map +1 -1
  431. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +3 -3
  432. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js +1 -10
  433. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js.map +1 -1
  434. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +3 -3
  435. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js +1 -10
  436. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js.map +1 -1
  437. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +3 -3
  438. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js +1 -10
  439. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js.map +1 -1
  440. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +3 -3
  441. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js +1 -10
  442. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js.map +1 -1
  443. package/es/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js +0 -2
  444. package/es/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
  445. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.js +1 -1
  446. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js +1 -2
  447. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js.map +1 -1
  448. package/es/components/DatePicker/DatePicker.tokens.js +5 -0
  449. package/es/components/DatePicker/DatePicker.tokens.js.map +1 -1
  450. package/es/components/DatePicker/DatePickerBase.styles.js +2 -8
  451. package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  452. package/es/components/DatePicker/DatePickerBase.styles_1x090si.css +2 -0
  453. package/es/components/DatePicker/RangeDate/RangeDate.css +15 -14
  454. package/es/components/DatePicker/RangeDate/RangeDate.js +1 -1
  455. package/es/components/DatePicker/RangeDate/RangeDate.styles.js +0 -1
  456. package/es/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -1
  457. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +13 -12
  458. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -2
  459. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  460. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +3 -6
  461. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -1
  462. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1i6gpss.css +2 -0
  463. package/es/components/DatePicker/SingleDate/SingleDate.css +15 -14
  464. package/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -2
  465. package/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  466. package/es/components/DatePicker/SingleDate/{SingleDate.styles_1rrq00l.css → SingleDate.styles_e72b5o.css} +1 -1
  467. package/es/components/Drawer/Drawer.js +5 -10
  468. package/es/components/Drawer/Drawer.js.map +1 -1
  469. package/es/components/Drawer/Drawer.styles.js +0 -4
  470. package/es/components/Drawer/Drawer.styles.js.map +1 -1
  471. package/es/components/Drawer/hooks/useDrawer.js +0 -4
  472. package/es/components/Drawer/hooks/useDrawer.js.map +1 -1
  473. package/es/components/Drawer/ui/DrawerContent/DrawerContent.js +0 -7
  474. package/es/components/Drawer/ui/DrawerContent/DrawerContent.js.map +1 -1
  475. package/es/components/Drawer/ui/DrawerFooter/DrawerFooter.js +0 -7
  476. package/es/components/Drawer/ui/DrawerFooter/DrawerFooter.js.map +1 -1
  477. package/es/components/Drawer/ui/DrawerHeader/DrawerHeader.js +0 -3
  478. package/es/components/Drawer/ui/DrawerHeader/DrawerHeader.js.map +1 -1
  479. package/es/components/Dropdown/Dropdown.css +3 -3
  480. package/es/components/Dropdown/Dropdown.js +3 -10
  481. package/es/components/Dropdown/Dropdown.js.map +1 -1
  482. package/es/components/Dropdown/Dropdown.styles.js +3 -4
  483. package/es/components/Dropdown/Dropdown.styles.js.map +1 -1
  484. package/es/components/Dropdown/{Dropdown.styles_1tihqkp.css → Dropdown.styles_zvi9m3.css} +1 -1
  485. package/es/components/Dropdown/Dropdown.tokens.js +2 -0
  486. package/es/components/Dropdown/Dropdown.tokens.js.map +1 -1
  487. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +1 -9
  488. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  489. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +1 -2
  490. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  491. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +0 -2
  492. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -1
  493. package/es/components/Dropdown/ui/DropdownOld/Dropdown.styles.js +0 -1
  494. package/es/components/Dropdown/ui/DropdownOld/Dropdown.styles.js.map +1 -1
  495. package/es/components/Editable/Editable.js +3 -4
  496. package/es/components/Editable/Editable.js.map +1 -1
  497. package/es/components/Editable/utils/clearSelection.js +0 -2
  498. package/es/components/Editable/utils/clearSelection.js.map +1 -1
  499. package/es/components/Editable/utils/selectText.js +0 -2
  500. package/es/components/Editable/utils/selectText.js.map +1 -1
  501. package/es/components/EmptyState/EmptyState.styles.js +1 -2
  502. package/es/components/EmptyState/EmptyState.styles.js.map +1 -1
  503. package/es/components/IconButton/IconButton.js +1 -1
  504. package/es/components/IconButton/IconButton.styles.js +0 -8
  505. package/es/components/IconButton/IconButton.styles.js.map +1 -1
  506. package/es/components/Modal/Modal.js +6 -8
  507. package/es/components/Modal/Modal.js.map +1 -1
  508. package/es/components/Modal/hooks/useModal.js +0 -4
  509. package/es/components/Modal/hooks/useModal.js.map +1 -1
  510. package/es/components/Notification/Notification.css +11 -11
  511. package/es/components/Notification/Notification.styles.js +17 -18
  512. package/es/components/Notification/Notification.styles.js.map +1 -1
  513. package/es/components/Notification/{Notification.styles_7h8hp0.css → Notification.styles_1g34msm.css} +1 -1
  514. package/es/components/Notification/Notification.tokens.js +2 -0
  515. package/es/components/Notification/Notification.tokens.js.map +1 -1
  516. package/es/components/Notification/NotificationsPortal.js +3 -4
  517. package/es/components/Notification/NotificationsPortal.js.map +1 -1
  518. package/es/components/Notification/NotificationsProvider.css +11 -11
  519. package/es/components/Pagination/Pagination.css +10 -10
  520. package/es/components/Pagination/Pagination.js +5 -5
  521. package/es/components/Pagination/Pagination.js.map +1 -1
  522. package/es/components/Pagination/Pagination.styles.js +4 -5
  523. package/es/components/Pagination/Pagination.styles.js.map +1 -1
  524. package/es/components/Pagination/{Pagination.styles_y6gcva.css → Pagination.styles_1w5oej6.css} +1 -1
  525. package/es/components/Pagination/Pagination.tokens.js +4 -1
  526. package/es/components/Pagination/Pagination.tokens.js.map +1 -1
  527. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +3 -3
  528. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +2 -3
  529. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  530. package/es/components/Pagination/ui/PaginationSelectPerPage/{PaginationSelectPerPage.styles_187mk6b.css → PaginationSelectPerPage.styles_1fesyfv.css} +1 -1
  531. package/es/components/Panel/ui/PanelHeader/PanelHeader.js +1 -2
  532. package/es/components/Panel/ui/PanelHeader/PanelHeader.js.map +1 -1
  533. package/es/components/Panel/ui/PanelHeader/PanelHeader.styles.js +1 -2
  534. package/es/components/Panel/ui/PanelHeader/PanelHeader.styles.js.map +1 -1
  535. package/es/components/Popover/Popover.js +1 -1
  536. package/es/components/Popup/Popup.js +2 -2
  537. package/es/components/Popup/PopupContext.js +1 -1
  538. package/es/components/Range/Range.styles.js +0 -1
  539. package/es/components/Range/Range.styles.js.map +1 -1
  540. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.js +4 -5
  541. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.js.map +1 -1
  542. package/es/components/Select/Select.js +11 -12
  543. package/es/components/Select/Select.js.map +1 -1
  544. package/es/components/Select/Select.styles.js +2 -5
  545. package/es/components/Select/Select.styles.js.map +1 -1
  546. package/es/components/Select/hooks/usePathMaps.js +0 -2
  547. package/es/components/Select/hooks/usePathMaps.js.map +1 -1
  548. package/es/components/Select/ui/Inner/Inner.js +1 -2
  549. package/es/components/Select/ui/Inner/Inner.js.map +1 -1
  550. package/es/components/Select/ui/Inner/ui/Item/Item.js +4 -5
  551. package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  552. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +0 -1
  553. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  554. package/es/components/Select/ui/Target/ui/Button/Button.js +1 -1
  555. package/es/components/Select/ui/Target/ui/Button/Button.styles.js +1 -3
  556. package/es/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  557. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -2
  558. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -4
  559. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  560. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +1 -2
  561. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -1
  562. package/es/components/Select/utils/getButtonLabel.js +0 -2
  563. package/es/components/Select/utils/getButtonLabel.js.map +1 -1
  564. package/es/components/Sheet/Sheet.js +3 -3
  565. package/es/components/Skeleton/LineSkeleton/LineSkeleton.js +2 -4
  566. package/es/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
  567. package/es/components/Skeleton/RectSkeleton/RectSkeleton.js +2 -4
  568. package/es/components/Skeleton/RectSkeleton/RectSkeleton.js.map +1 -1
  569. package/es/components/Slider/Slider.js +0 -8
  570. package/es/components/Slider/Slider.js.map +1 -1
  571. package/es/components/Slider/components/Double/Double.js +1 -2
  572. package/es/components/Slider/components/Double/Double.js.map +1 -1
  573. package/es/components/Slider/components/Double/Double.styles.js +0 -1
  574. package/es/components/Slider/components/Double/Double.styles.js.map +1 -1
  575. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js +0 -3
  576. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js.map +1 -1
  577. package/es/components/Slider/components/Single/Single.js +1 -2
  578. package/es/components/Slider/components/Single/Single.js.map +1 -1
  579. package/es/components/Slider/components/SliderBase/SliderBase.js +1 -1
  580. package/es/components/Steps/Steps.js +1 -1
  581. package/es/components/Steps/ui/StepItem/StepItem.styles.js +0 -1
  582. package/es/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
  583. package/es/components/Tabs/createTabsController.js.map +1 -1
  584. package/es/components/Tabs/tokens.js +7 -1
  585. package/es/components/Tabs/tokens.js.map +1 -1
  586. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +5 -5
  587. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +4 -9
  588. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  589. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  590. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  591. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/{HorizontalTabItem.styles_hfqv5b.css → HorizontalTabItem.styles_uaaqqg.css} +1 -1
  592. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.css +1 -1
  593. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +8 -19
  594. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
  595. package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  596. package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js.map +1 -1
  597. package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/{base_4ob3q5.css → base_9miwn.css} +1 -1
  598. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -5
  599. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  600. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  601. package/es/components/Tabs/ui/vertical/VerticalTabItem/{VerticalTabItem.styles_16d3lah.css → VerticalTabItem.styles_1g7zipg.css} +1 -1
  602. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +2 -3
  603. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
  604. package/es/components/TextArea/TextArea.js +2 -2
  605. package/es/components/TextArea/TextArea.styles.js +2 -3
  606. package/es/components/TextArea/TextArea.styles.js.map +1 -1
  607. package/es/components/TextArea/ui/Hint/Hint.js +1 -2
  608. package/es/components/TextArea/ui/Hint/Hint.js.map +1 -1
  609. package/es/components/TextField/TextField.js +3 -3
  610. package/es/components/TextField/TextField.styles.js +1 -2
  611. package/es/components/TextField/TextField.styles.js.map +1 -1
  612. package/es/components/TextField/ui/Hint/Hint.js +1 -2
  613. package/es/components/TextField/ui/Hint/Hint.js.map +1 -1
  614. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -2
  615. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  616. package/es/components/Toast/Toast.styles.js +1 -1
  617. package/es/components/Toast/ToastController.js +1 -1
  618. package/es/components/Toast/utils.js +1 -2
  619. package/es/components/Toast/utils.js.map +1 -1
  620. package/es/components/Toolbar/ui/ToolbarDivider/ToolbarDivider.js +1 -1
  621. package/es/components/Tooltip/Tooltip.js +2 -3
  622. package/es/components/Tooltip/Tooltip.js.map +1 -1
  623. package/es/engines/index.js +0 -2
  624. package/es/engines/index.js.map +1 -1
  625. package/es/hooks/useIsomorphicLayoutEffect.js +0 -1
  626. package/es/hooks/useIsomorphicLayoutEffect.js.map +1 -1
  627. package/es/index.css +65 -64
  628. package/es/index.js +21 -24
  629. package/es/index.js.map +1 -1
  630. package/es/utils/index.js +0 -3
  631. package/es/utils/index.js.map +1 -1
  632. package/package.json +5 -2
  633. package/styled-components/cjs/components/Autocomplete/Autocomplete.tokens.js +1 -0
  634. package/styled-components/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  635. package/styled-components/cjs/components/Calendar/Calendar.tokens.js +3 -0
  636. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  637. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -3
  638. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +6 -2
  639. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  640. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
  641. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +3 -3
  642. package/styled-components/cjs/components/DatePicker/DatePicker.tokens.js +5 -0
  643. package/styled-components/cjs/components/DatePicker/DatePickerBase.styles.js +1 -1
  644. package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  645. package/styled-components/cjs/components/Dropdown/Dropdown.styles.js +2 -2
  646. package/styled-components/cjs/components/Dropdown/Dropdown.tokens.js +2 -0
  647. package/styled-components/cjs/components/Notification/Notification.styles.js +1 -1
  648. package/styled-components/cjs/components/Notification/Notification.tokens.js +2 -0
  649. package/styled-components/cjs/components/Pagination/Pagination.js +5 -5
  650. package/styled-components/cjs/components/Pagination/Pagination.styles.js +1 -1
  651. package/styled-components/cjs/components/Pagination/Pagination.tokens.js +4 -1
  652. package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  653. package/styled-components/cjs/components/Tabs/tokens.js +7 -1
  654. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -13
  655. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  656. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +5 -20
  657. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  658. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  659. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +33 -72
  660. package/styled-components/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +33 -72
  661. package/styled-components/es/components/Autocomplete/Autocomplete.tokens.js +1 -0
  662. package/styled-components/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  663. package/styled-components/es/components/Calendar/Calendar.tokens.js +3 -0
  664. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  665. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -5
  666. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +5 -1
  667. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  668. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +5 -1
  669. package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +3 -3
  670. package/styled-components/es/components/DatePicker/DatePicker.tokens.js +5 -0
  671. package/styled-components/es/components/DatePicker/DatePickerBase.styles.js +1 -1
  672. package/styled-components/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  673. package/styled-components/es/components/Dropdown/Dropdown.styles.js +2 -2
  674. package/styled-components/es/components/Dropdown/Dropdown.tokens.js +2 -0
  675. package/styled-components/es/components/Notification/Notification.styles.js +1 -1
  676. package/styled-components/es/components/Notification/Notification.tokens.js +2 -0
  677. package/styled-components/es/components/Pagination/Pagination.js +5 -5
  678. package/styled-components/es/components/Pagination/Pagination.styles.js +1 -1
  679. package/styled-components/es/components/Pagination/Pagination.tokens.js +4 -1
  680. package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  681. package/styled-components/es/components/Tabs/tokens.js +7 -1
  682. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -14
  683. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  684. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +5 -21
  685. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  686. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  687. package/styled-components/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +33 -72
  688. package/styled-components/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +33 -72
  689. package/styled-components/package.json +2 -1
  690. package/types/components/Autocomplete/Autocomplete.tokens.d.ts +1 -0
  691. package/types/components/Autocomplete/Autocomplete.tokens.d.ts.map +1 -1
  692. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  693. package/types/components/Calendar/Calendar.tokens.d.ts +3 -0
  694. package/types/components/Calendar/Calendar.tokens.d.ts.map +1 -1
  695. package/types/components/Calendar/CalendarBase/CalendarBase.styles.d.ts.map +1 -1
  696. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.d.ts.map +1 -1
  697. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts +1 -0
  698. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts.map +1 -1
  699. package/types/components/Combobox/ComboboxNew/Combobox.styles.d.ts.map +1 -1
  700. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +4 -0
  701. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  702. package/types/components/DatePicker/DatePicker.tokens.d.ts +5 -0
  703. package/types/components/DatePicker/DatePicker.tokens.d.ts.map +1 -1
  704. package/types/components/DatePicker/DatePickerBase.styles.d.ts.map +1 -1
  705. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  706. package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
  707. package/types/components/Dropdown/Dropdown.tokens.d.ts +2 -0
  708. package/types/components/Dropdown/Dropdown.tokens.d.ts.map +1 -1
  709. package/types/components/Notification/Notification.styles.d.ts.map +1 -1
  710. package/types/components/Notification/Notification.tokens.d.ts +2 -0
  711. package/types/components/Notification/Notification.tokens.d.ts.map +1 -1
  712. package/types/components/Pagination/Pagination.d.ts.map +1 -1
  713. package/types/components/Pagination/Pagination.styles.d.ts.map +1 -1
  714. package/types/components/Pagination/Pagination.tokens.d.ts +3 -0
  715. package/types/components/Pagination/Pagination.tokens.d.ts.map +1 -1
  716. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  717. package/types/components/Tabs/TabItem.types.d.ts +8 -50
  718. package/types/components/Tabs/TabItem.types.d.ts.map +1 -1
  719. package/types/components/Tabs/Tabs.types.d.ts +2 -44
  720. package/types/components/Tabs/Tabs.types.d.ts.map +1 -1
  721. package/types/components/Tabs/createTabsController.d.ts +2 -2
  722. package/types/components/Tabs/createTabsController.d.ts.map +1 -1
  723. package/types/components/Tabs/tokens.d.ts +6 -0
  724. package/types/components/Tabs/tokens.d.ts.map +1 -1
  725. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.d.ts.map +1 -1
  726. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.d.ts.map +1 -1
  727. package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.d.ts +2 -2
  728. package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.d.ts.map +1 -1
  729. package/types/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.d.ts.map +1 -1
  730. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.d.ts.map +1 -1
  731. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts +2 -17
  732. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts.map +1 -1
  733. package/types/examples/plasma_b2c/components/Tabs/Tabs.d.ts +1 -1
  734. package/types/examples/plasma_b2c/components/Tabs/Tabs.d.ts.map +1 -1
  735. package/types/examples/plasma_web/components/Tabs/TabItem.d.ts +2 -17
  736. package/types/examples/plasma_web/components/Tabs/TabItem.d.ts.map +1 -1
  737. package/types/examples/plasma_web/components/Tabs/Tabs.d.ts +1 -1
  738. package/types/examples/plasma_web/components/Tabs/Tabs.d.ts.map +1 -1
  739. package/cjs/components/DatePicker/DatePickerBase.styles_mjc9xz.css +0 -2
  740. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1gljtdv.css +0 -2
  741. package/cjs/components/Tabs/ui/horizontal/const.js +0 -11
  742. package/cjs/components/Tabs/ui/horizontal/const.js.map +0 -1
  743. package/emotion/cjs/components/Tabs/ui/horizontal/const.js +0 -10
  744. package/emotion/es/components/Tabs/ui/horizontal/const.js +0 -4
  745. package/es/components/DatePicker/DatePickerBase.styles_mjc9xz.css +0 -2
  746. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1gljtdv.css +0 -2
  747. package/es/components/Tabs/ui/horizontal/const.js +0 -7
  748. package/es/components/Tabs/ui/horizontal/const.js.map +0 -1
  749. package/styled-components/cjs/components/Tabs/ui/horizontal/const.js +0 -10
  750. package/styled-components/es/components/Tabs/ui/horizontal/const.js +0 -4
  751. package/types/components/Tabs/ui/horizontal/const.d.ts +0 -2
  752. package/types/components/Tabs/ui/horizontal/const.d.ts.map +0 -1
@@ -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":";;;;;;;;;;;;;;;;;AAaA,IAAMA,cAAc,GAAG,EAAE,CAAA;AAEzB,IAAMC,cAAc,GAAGA,SAAjBA,cAAcA,CAAIC,KAAuB,EAAK;EAChD,OAAO,OAAOA,KAAK,KAAK,QAAQ,MAAAC,MAAA,CAAMD,KAAM,EAAA,KAAA,CAAA,GAAOA,KAAK,CAAA;AAC5D,CAAC,CAAA;AAED,IAAME,OAAO,gBAAGC,gBAAS,CAACC,uBAAa,CAAC,CAAA;AAAC,IAAAC,IAAA,GAlBvBA,SAkBuBA,IAAAA,GAAA;AAAA,EAAA,OAEZH,OAAO,CAAA;AAAA,CAAA,CAAA;AAApC,IAAMI,aAAa,gBAAGC,YAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,eAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAW3B,CAAA,CAAA;;AAED;AACA;AACA;;IAEaC,WAAW,GAAGA,SAAdA,WAAWA,CAAIC,IAAsE,EAAA;AAAA,EAAA,oBAC9FC,gBAAU,CACN,UAAAC,IAAA,EA0BIC,QAAQ,EACP;AAAA,IAAA,IAzBGC,EAAE,GAAAF,IAAA,CAAFE,EAAE;MACFC,IAAI,GAAAH,IAAA,CAAJG,IAAI;MACJC,MAAM,GAAAJ,IAAA,CAANI,MAAM;MACNC,SAAS,GAAAL,IAAA,CAATK,SAAS;MACTC,MAAM,GAAAN,IAAA,CAANM,MAAM;MAAAC,aAAA,GAAAP,IAAA,CACNQ,QAAQ;AAARA,MAAAA,QAAQ,GAAAD,aAAA,KAAG,KAAA,CAAA,GAAA,IAAI,GAAAA,aAAA;MACfE,KAAK,GAAAT,IAAA,CAALS,KAAK;MACLC,QAAQ,GAAA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AACF6C,MAAAA,GAAG,EAAEC,SAAAA;KACR;AACD7C,IAAAA,IAAI,EAAE;AACF4C,MAAAA,GAAG,EAAEE,WAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNhD,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;;"}
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":";;;;;;;;;;;;;;;;AAaA,IAAMA,cAAc,GAAG,EAAE,CAAA;AAEzB,IAAMC,cAAc,GAAGA,SAAjBA,cAAcA,CAAIC,KAAuB,EAAK;EAChD,OAAO,OAAOA,KAAK,KAAK,QAAQ,MAAAC,MAAA,CAAMD,KAAM,EAAA,KAAA,CAAA,GAAOA,KAAK,CAAA;AAC5D,CAAC,CAAA;AAED,IAAME,OAAO,gBAAGC,gBAAS,CAACC,uBAAa,CAAC,CAAA;AAAC,IAAAC,IAAA,GAlBvBA,SAkBuBA,IAAAA,GAAA;AAAA,EAAA,OAEZH,OAAO,CAAA;AAAA,CAAA,CAAA;AAApC,IAAMI,aAAa,gBAAGC,YAAM,CAAAF,IAAA,EAAA,CAAA,CAAA;AAAAG,EAAAA,IAAA,EAAA,eAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAW3B,CAAA,CAAA;;AAED;AACA;AACA;;IAEaC,WAAW,GAAGA,SAAdA,WAAWA,CAAIC,IAAsE,EAAA;AAAA,EAAA,oBAC9FC,gBAAU,CACN,UAAAC,IAAA,EA0BIC,QAAQ,EACP;AAAA,IAAA,IAzBGC,EAAE,GAAAF,IAAA,CAAFE,EAA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,gCAAiB,EAAErC,IAAAA,EAAAA,WAA+B,CAAC,EACnErB,IACQ,CACX,CACK,CAAC,CAAA;AAExB,GACJ,CAAC,CAAA;AAAA,EAAA;AAEE,IAAM2D,aAAa,GAAG;AACzBpE,EAAAA,IAAI,EAAE,SAAS;AACfqE,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAEnE,WAAW;AACnBoE,EAAAA,IAAI,EAAE,EAAE;AACRC,EAAAA,UAAU,EAAE;AACR5C,IAAAA,IAAI,EAAE;AACF6C,MAAAA,GAAG,EAAEC,SAAAA;KACR;AACD7C,IAAAA,IAAI,EAAE;AACF4C,MAAAA,GAAG,EAAEE,WAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNhD,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;;"}
@@ -3,8 +3,6 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var core = require('@linaria/core');
6
- require('react');
7
- require('focus-visible');
8
6
 
9
7
  var css = core.css;
10
8
 
@@ -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;;;;"}
@@ -4,7 +4,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
6
  var canUseDOM = require('../utils/canUseDOM.js');
7
- require('../utils/react.js');
8
7
 
9
8
  /**
10
9
  * 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,mBAAS,GAAGC,qBAAe,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,mBAAS,GAAGC,qBAAe,GAAGC;;;;"}