@salutejs/plasma-new-hope 0.173.1-canary.1502.11462220468.0 → 0.173.1-dev.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (505) hide show
  1. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -1
  2. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +1 -1
  3. package/cjs/components/Attach/Attach.js +3 -4
  4. package/cjs/components/Attach/Attach.js.map +1 -1
  5. package/cjs/components/Attach/components/AttachButton/AttachButton.js +0 -1
  6. package/cjs/components/Attach/components/AttachButton/AttachButton.js.map +1 -1
  7. package/cjs/components/Attach/ui/Button/Button.styles.js +0 -1
  8. package/cjs/components/Attach/ui/Button/Button.styles.js.map +1 -1
  9. package/cjs/components/Attach/ui/Cell/Cell.styles.js +0 -2
  10. package/cjs/components/Attach/ui/Cell/Cell.styles.js.map +1 -1
  11. package/cjs/components/Attach/ui/IconButton/IconButton.styles.js +0 -1
  12. package/cjs/components/Attach/ui/IconButton/IconButton.styles.js.map +1 -1
  13. package/cjs/components/Attach/utils/getFileicon.js +3 -4
  14. package/cjs/components/Attach/utils/getFileicon.js.map +1 -1
  15. package/cjs/components/Attach/utils/index.js +0 -3
  16. package/cjs/components/Attach/utils/index.js.map +1 -1
  17. package/cjs/components/Autocomplete/Autocomplete.js +5 -6
  18. package/cjs/components/Autocomplete/Autocomplete.js.map +1 -1
  19. package/cjs/components/Autocomplete/Autocomplete.styles.js +2 -3
  20. package/cjs/components/Autocomplete/Autocomplete.styles.js.map +1 -1
  21. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -2
  22. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  23. package/cjs/components/Avatar/Avatar.js +2 -3
  24. package/cjs/components/Avatar/Avatar.js.map +1 -1
  25. package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js +2 -4
  26. package/cjs/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
  27. package/cjs/components/Button/Button.styles.js +0 -3
  28. package/cjs/components/Button/Button.styles.js.map +1 -1
  29. package/cjs/components/Calendar/CalendarBase/CalendarBase.js +5 -5
  30. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.js +8 -8
  31. package/cjs/components/Calendar/hooks/useDays.js +2 -2
  32. package/cjs/components/Calendar/hooks/useKeyNavigation.js +1 -1
  33. package/cjs/components/Calendar/hooks/useMonths.js +2 -2
  34. package/cjs/components/Calendar/hooks/useQuarters.js +2 -2
  35. package/cjs/components/Calendar/hooks/useYears.js +2 -2
  36. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js +4 -4
  37. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -6
  38. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  39. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +0 -1
  40. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  41. package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.js +4 -4
  42. package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +4 -4
  43. package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.js +4 -4
  44. package/cjs/components/Combobox/ComboboxNew/Combobox.js +11 -12
  45. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  46. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +2 -4
  47. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  48. package/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js +0 -2
  49. package/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  50. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.js +1 -2
  51. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.js.map +1 -1
  52. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +5 -6
  53. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  54. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +1 -3
  55. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  56. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -2
  57. package/cjs/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  58. package/cjs/components/Combobox/ComboboxOld/Combobox.js +4 -10
  59. package/cjs/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
  60. package/cjs/components/Combobox/ComboboxOld/Combobox.styles.js +0 -1
  61. package/cjs/components/Combobox/ComboboxOld/Combobox.styles.js.map +1 -1
  62. package/cjs/components/Combobox/ComboboxOld/hooks/useFocusController.js +0 -1
  63. package/cjs/components/Combobox/ComboboxOld/hooks/useFocusController.js.map +1 -1
  64. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js +1 -2
  65. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js.map +1 -1
  66. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js +1 -10
  67. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js.map +1 -1
  68. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js +1 -10
  69. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js.map +1 -1
  70. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js +1 -10
  71. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js.map +1 -1
  72. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js +1 -10
  73. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js.map +1 -1
  74. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js +0 -2
  75. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
  76. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.js +1 -1
  77. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js +1 -2
  78. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js.map +1 -1
  79. package/cjs/components/DatePicker/DatePickerBase.styles.js +1 -7
  80. package/cjs/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  81. package/cjs/components/DatePicker/RangeDate/RangeDate.js +1 -1
  82. package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js +0 -1
  83. package/cjs/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -1
  84. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -2
  85. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  86. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +2 -5
  87. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -1
  88. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +0 -1
  89. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  90. package/cjs/components/Drawer/Drawer.js +5 -10
  91. package/cjs/components/Drawer/Drawer.js.map +1 -1
  92. package/cjs/components/Drawer/Drawer.styles.js +0 -4
  93. package/cjs/components/Drawer/Drawer.styles.js.map +1 -1
  94. package/cjs/components/Drawer/hooks/useDrawer.js +0 -4
  95. package/cjs/components/Drawer/hooks/useDrawer.js.map +1 -1
  96. package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.js +0 -7
  97. package/cjs/components/Drawer/ui/DrawerContent/DrawerContent.js.map +1 -1
  98. package/cjs/components/Drawer/ui/DrawerFooter/DrawerFooter.js +0 -7
  99. package/cjs/components/Drawer/ui/DrawerFooter/DrawerFooter.js.map +1 -1
  100. package/cjs/components/Drawer/ui/DrawerHeader/DrawerHeader.js +0 -3
  101. package/cjs/components/Drawer/ui/DrawerHeader/DrawerHeader.js.map +1 -1
  102. package/cjs/components/Dropdown/Dropdown.js +3 -10
  103. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  104. package/cjs/components/Dropdown/Dropdown.styles.js +2 -3
  105. package/cjs/components/Dropdown/Dropdown.styles.js.map +1 -1
  106. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +1 -9
  107. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  108. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +1 -2
  109. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  110. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +0 -2
  111. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -1
  112. package/cjs/components/Dropdown/ui/DropdownOld/Dropdown.styles.js +0 -1
  113. package/cjs/components/Dropdown/ui/DropdownOld/Dropdown.styles.js.map +1 -1
  114. package/cjs/components/Editable/Editable.js +3 -4
  115. package/cjs/components/Editable/Editable.js.map +1 -1
  116. package/cjs/components/Editable/utils/clearSelection.js +0 -2
  117. package/cjs/components/Editable/utils/clearSelection.js.map +1 -1
  118. package/cjs/components/Editable/utils/selectText.js +0 -2
  119. package/cjs/components/Editable/utils/selectText.js.map +1 -1
  120. package/cjs/components/EmptyState/EmptyState.styles.js +1 -2
  121. package/cjs/components/EmptyState/EmptyState.styles.js.map +1 -1
  122. package/cjs/components/IconButton/IconButton.js +1 -1
  123. package/cjs/components/IconButton/IconButton.styles.js +0 -8
  124. package/cjs/components/IconButton/IconButton.styles.js.map +1 -1
  125. package/cjs/components/Modal/Modal.js +6 -8
  126. package/cjs/components/Modal/Modal.js.map +1 -1
  127. package/cjs/components/Modal/hooks/useModal.js +0 -4
  128. package/cjs/components/Modal/hooks/useModal.js.map +1 -1
  129. package/cjs/components/Notification/Notification.styles.js +2 -3
  130. package/cjs/components/Notification/Notification.styles.js.map +1 -1
  131. package/cjs/components/Notification/NotificationsPortal.js +3 -4
  132. package/cjs/components/Notification/NotificationsPortal.js.map +1 -1
  133. package/cjs/components/Pagination/Pagination.styles.js +1 -2
  134. package/cjs/components/Pagination/Pagination.styles.js.map +1 -1
  135. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -2
  136. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  137. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.js +1 -2
  138. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.js.map +1 -1
  139. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.styles.js +1 -2
  140. package/cjs/components/Panel/ui/PanelHeader/PanelHeader.styles.js.map +1 -1
  141. package/cjs/components/Popover/Popover.js +1 -1
  142. package/cjs/components/Popup/Popup.js +2 -2
  143. package/cjs/components/Popup/PopupContext.js +1 -1
  144. package/cjs/components/Range/Range.styles.js +0 -1
  145. package/cjs/components/Range/Range.styles.js.map +1 -1
  146. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js +4 -5
  147. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js.map +1 -1
  148. package/cjs/components/Select/Select.js +11 -12
  149. package/cjs/components/Select/Select.js.map +1 -1
  150. package/cjs/components/Select/Select.styles.js +2 -5
  151. package/cjs/components/Select/Select.styles.js.map +1 -1
  152. package/cjs/components/Select/hooks/usePathMaps.js +0 -2
  153. package/cjs/components/Select/hooks/usePathMaps.js.map +1 -1
  154. package/cjs/components/Select/ui/Inner/Inner.js +1 -2
  155. package/cjs/components/Select/ui/Inner/Inner.js.map +1 -1
  156. package/cjs/components/Select/ui/Inner/ui/Item/Item.js +4 -5
  157. package/cjs/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  158. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +0 -1
  159. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  160. package/cjs/components/Select/ui/Target/ui/Button/Button.js +1 -1
  161. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +1 -3
  162. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  163. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -2
  164. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -4
  165. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  166. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +1 -2
  167. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -1
  168. package/cjs/components/Select/utils/getButtonLabel.js +0 -2
  169. package/cjs/components/Select/utils/getButtonLabel.js.map +1 -1
  170. package/cjs/components/Sheet/Sheet.js +3 -3
  171. package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js +2 -4
  172. package/cjs/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
  173. package/cjs/components/Skeleton/RectSkeleton/RectSkeleton.js +2 -4
  174. package/cjs/components/Skeleton/RectSkeleton/RectSkeleton.js.map +1 -1
  175. package/cjs/components/Slider/Slider.js +0 -8
  176. package/cjs/components/Slider/Slider.js.map +1 -1
  177. package/cjs/components/Slider/components/Double/Double.js +1 -2
  178. package/cjs/components/Slider/components/Double/Double.js.map +1 -1
  179. package/cjs/components/Slider/components/Double/Double.styles.js +0 -1
  180. package/cjs/components/Slider/components/Double/Double.styles.js.map +1 -1
  181. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js +0 -3
  182. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js.map +1 -1
  183. package/cjs/components/Slider/components/Single/Single.js +1 -2
  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 +0 -1
  188. package/cjs/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
  189. package/cjs/components/Tabs/createTabsController.js.map +1 -1
  190. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -8
  191. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  192. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.css +1 -1
  193. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +7 -18
  194. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
  195. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  196. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js.map +1 -1
  197. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/{base_4ob3q5.css → base_9miwn.css} +1 -1
  198. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +2 -3
  199. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
  200. package/cjs/components/TextArea/TextArea.js +2 -2
  201. package/cjs/components/TextArea/TextArea.styles.js +2 -3
  202. package/cjs/components/TextArea/TextArea.styles.js.map +1 -1
  203. package/cjs/components/TextArea/ui/Hint/Hint.js +1 -2
  204. package/cjs/components/TextArea/ui/Hint/Hint.js.map +1 -1
  205. package/cjs/components/TextField/TextField.js +3 -3
  206. package/cjs/components/TextField/TextField.styles.js +1 -2
  207. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  208. package/cjs/components/TextField/ui/Hint/Hint.js +1 -2
  209. package/cjs/components/TextField/ui/Hint/Hint.js.map +1 -1
  210. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -2
  211. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  212. package/cjs/components/Toast/Toast.styles.js +1 -1
  213. package/cjs/components/Toast/ToastController.js +1 -1
  214. package/cjs/components/Toast/utils.js +1 -2
  215. package/cjs/components/Toast/utils.js.map +1 -1
  216. package/cjs/components/Toolbar/ui/ToolbarDivider/ToolbarDivider.js +1 -1
  217. package/cjs/components/Tooltip/Tooltip.js +2 -3
  218. package/cjs/components/Tooltip/Tooltip.js.map +1 -1
  219. package/cjs/engines/index.js +0 -2
  220. package/cjs/engines/index.js.map +1 -1
  221. package/cjs/hooks/useIsomorphicLayoutEffect.js +0 -1
  222. package/cjs/hooks/useIsomorphicLayoutEffect.js.map +1 -1
  223. package/cjs/index.css +1 -1
  224. package/cjs/index.js +48 -51
  225. package/cjs/index.js.map +1 -1
  226. package/cjs/utils/index.js +0 -5
  227. package/cjs/utils/index.js.map +1 -1
  228. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -13
  229. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +5 -20
  230. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  231. package/emotion/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +33 -72
  232. package/emotion/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +33 -72
  233. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -14
  234. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +5 -21
  235. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  236. package/emotion/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +33 -72
  237. package/emotion/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +33 -72
  238. package/emotion/package.json +2 -1
  239. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js +0 -1
  240. package/es/components/Accordion/ui/AccordionItem/AccordionItem.styles.js.map +1 -1
  241. package/es/components/Attach/Attach.js +3 -4
  242. package/es/components/Attach/Attach.js.map +1 -1
  243. package/es/components/Attach/components/AttachButton/AttachButton.js +0 -1
  244. package/es/components/Attach/components/AttachButton/AttachButton.js.map +1 -1
  245. package/es/components/Attach/ui/Button/Button.styles.js +0 -1
  246. package/es/components/Attach/ui/Button/Button.styles.js.map +1 -1
  247. package/es/components/Attach/ui/Cell/Cell.styles.js +0 -2
  248. package/es/components/Attach/ui/Cell/Cell.styles.js.map +1 -1
  249. package/es/components/Attach/ui/IconButton/IconButton.styles.js +0 -1
  250. package/es/components/Attach/ui/IconButton/IconButton.styles.js.map +1 -1
  251. package/es/components/Attach/utils/getFileicon.js +3 -4
  252. package/es/components/Attach/utils/getFileicon.js.map +1 -1
  253. package/es/components/Attach/utils/index.js +0 -3
  254. package/es/components/Attach/utils/index.js.map +1 -1
  255. package/es/components/Autocomplete/Autocomplete.js +5 -6
  256. package/es/components/Autocomplete/Autocomplete.js.map +1 -1
  257. package/es/components/Autocomplete/Autocomplete.styles.js +2 -3
  258. package/es/components/Autocomplete/Autocomplete.styles.js.map +1 -1
  259. package/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -2
  260. package/es/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  261. package/es/components/Avatar/Avatar.js +2 -3
  262. package/es/components/Avatar/Avatar.js.map +1 -1
  263. package/es/components/Breadcrumbs/Breadcrumbs.styles.js +2 -4
  264. package/es/components/Breadcrumbs/Breadcrumbs.styles.js.map +1 -1
  265. package/es/components/Button/Button.styles.js +0 -3
  266. package/es/components/Button/Button.styles.js.map +1 -1
  267. package/es/components/Calendar/CalendarBase/CalendarBase.js +5 -5
  268. package/es/components/Calendar/CalendarDouble/CalendarDouble.js +8 -8
  269. package/es/components/Calendar/hooks/useDays.js +2 -2
  270. package/es/components/Calendar/hooks/useKeyNavigation.js +1 -1
  271. package/es/components/Calendar/hooks/useMonths.js +2 -2
  272. package/es/components/Calendar/hooks/useQuarters.js +2 -2
  273. package/es/components/Calendar/hooks/useYears.js +2 -2
  274. package/es/components/Calendar/ui/CalendarDays/CalendarDays.js +4 -4
  275. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -6
  276. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  277. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +0 -1
  278. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  279. package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.js +4 -4
  280. package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.js +4 -4
  281. package/es/components/Calendar/ui/CalendarYears/CalendarYears.js +4 -4
  282. package/es/components/Combobox/ComboboxNew/Combobox.js +11 -12
  283. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  284. package/es/components/Combobox/ComboboxNew/Combobox.styles.js +2 -4
  285. package/es/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  286. package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js +0 -2
  287. package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  288. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.js +1 -2
  289. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.js.map +1 -1
  290. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +5 -6
  291. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  292. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +1 -3
  293. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  294. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js +1 -2
  295. package/es/components/Combobox/ComboboxNew/ui/Target/Target.styles.js.map +1 -1
  296. package/es/components/Combobox/ComboboxOld/Combobox.js +4 -10
  297. package/es/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
  298. package/es/components/Combobox/ComboboxOld/Combobox.styles.js +0 -1
  299. package/es/components/Combobox/ComboboxOld/Combobox.styles.js.map +1 -1
  300. package/es/components/Combobox/ComboboxOld/hooks/useFocusController.js +0 -1
  301. package/es/components/Combobox/ComboboxOld/hooks/useFocusController.js.map +1 -1
  302. package/es/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js +1 -2
  303. package/es/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.js.map +1 -1
  304. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js +1 -10
  305. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js.map +1 -1
  306. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js +1 -10
  307. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js.map +1 -1
  308. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js +1 -10
  309. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js.map +1 -1
  310. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js +1 -10
  311. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js.map +1 -1
  312. package/es/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js +0 -2
  313. package/es/components/Combobox/ComboboxOld/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
  314. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.js +1 -1
  315. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js +1 -2
  316. package/es/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.js.map +1 -1
  317. package/es/components/DatePicker/DatePickerBase.styles.js +1 -7
  318. package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  319. package/es/components/DatePicker/RangeDate/RangeDate.js +1 -1
  320. package/es/components/DatePicker/RangeDate/RangeDate.styles.js +0 -1
  321. package/es/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -1
  322. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js +1 -2
  323. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.js.map +1 -1
  324. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +2 -5
  325. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js.map +1 -1
  326. package/es/components/DatePicker/SingleDate/SingleDate.styles.js +0 -1
  327. package/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  328. package/es/components/Drawer/Drawer.js +5 -10
  329. package/es/components/Drawer/Drawer.js.map +1 -1
  330. package/es/components/Drawer/Drawer.styles.js +0 -4
  331. package/es/components/Drawer/Drawer.styles.js.map +1 -1
  332. package/es/components/Drawer/hooks/useDrawer.js +0 -4
  333. package/es/components/Drawer/hooks/useDrawer.js.map +1 -1
  334. package/es/components/Drawer/ui/DrawerContent/DrawerContent.js +0 -7
  335. package/es/components/Drawer/ui/DrawerContent/DrawerContent.js.map +1 -1
  336. package/es/components/Drawer/ui/DrawerFooter/DrawerFooter.js +0 -7
  337. package/es/components/Drawer/ui/DrawerFooter/DrawerFooter.js.map +1 -1
  338. package/es/components/Drawer/ui/DrawerHeader/DrawerHeader.js +0 -3
  339. package/es/components/Drawer/ui/DrawerHeader/DrawerHeader.js.map +1 -1
  340. package/es/components/Dropdown/Dropdown.js +3 -10
  341. package/es/components/Dropdown/Dropdown.js.map +1 -1
  342. package/es/components/Dropdown/Dropdown.styles.js +2 -3
  343. package/es/components/Dropdown/Dropdown.styles.js.map +1 -1
  344. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +1 -9
  345. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  346. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +1 -2
  347. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  348. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +0 -2
  349. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -1
  350. package/es/components/Dropdown/ui/DropdownOld/Dropdown.styles.js +0 -1
  351. package/es/components/Dropdown/ui/DropdownOld/Dropdown.styles.js.map +1 -1
  352. package/es/components/Editable/Editable.js +3 -4
  353. package/es/components/Editable/Editable.js.map +1 -1
  354. package/es/components/Editable/utils/clearSelection.js +0 -2
  355. package/es/components/Editable/utils/clearSelection.js.map +1 -1
  356. package/es/components/Editable/utils/selectText.js +0 -2
  357. package/es/components/Editable/utils/selectText.js.map +1 -1
  358. package/es/components/EmptyState/EmptyState.styles.js +1 -2
  359. package/es/components/EmptyState/EmptyState.styles.js.map +1 -1
  360. package/es/components/IconButton/IconButton.js +1 -1
  361. package/es/components/IconButton/IconButton.styles.js +0 -8
  362. package/es/components/IconButton/IconButton.styles.js.map +1 -1
  363. package/es/components/Modal/Modal.js +6 -8
  364. package/es/components/Modal/Modal.js.map +1 -1
  365. package/es/components/Modal/hooks/useModal.js +0 -4
  366. package/es/components/Modal/hooks/useModal.js.map +1 -1
  367. package/es/components/Notification/Notification.styles.js +2 -3
  368. package/es/components/Notification/Notification.styles.js.map +1 -1
  369. package/es/components/Notification/NotificationsPortal.js +3 -4
  370. package/es/components/Notification/NotificationsPortal.js.map +1 -1
  371. package/es/components/Pagination/Pagination.styles.js +1 -2
  372. package/es/components/Pagination/Pagination.styles.js.map +1 -1
  373. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -2
  374. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  375. package/es/components/Panel/ui/PanelHeader/PanelHeader.js +1 -2
  376. package/es/components/Panel/ui/PanelHeader/PanelHeader.js.map +1 -1
  377. package/es/components/Panel/ui/PanelHeader/PanelHeader.styles.js +1 -2
  378. package/es/components/Panel/ui/PanelHeader/PanelHeader.styles.js.map +1 -1
  379. package/es/components/Popover/Popover.js +1 -1
  380. package/es/components/Popup/Popup.js +2 -2
  381. package/es/components/Popup/PopupContext.js +1 -1
  382. package/es/components/Range/Range.styles.js +0 -1
  383. package/es/components/Range/Range.styles.js.map +1 -1
  384. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.js +4 -5
  385. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.js.map +1 -1
  386. package/es/components/Select/Select.js +11 -12
  387. package/es/components/Select/Select.js.map +1 -1
  388. package/es/components/Select/Select.styles.js +2 -5
  389. package/es/components/Select/Select.styles.js.map +1 -1
  390. package/es/components/Select/hooks/usePathMaps.js +0 -2
  391. package/es/components/Select/hooks/usePathMaps.js.map +1 -1
  392. package/es/components/Select/ui/Inner/Inner.js +1 -2
  393. package/es/components/Select/ui/Inner/Inner.js.map +1 -1
  394. package/es/components/Select/ui/Inner/ui/Item/Item.js +4 -5
  395. package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  396. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +0 -1
  397. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  398. package/es/components/Select/ui/Target/ui/Button/Button.js +1 -1
  399. package/es/components/Select/ui/Target/ui/Button/Button.styles.js +1 -3
  400. package/es/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  401. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -2
  402. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -4
  403. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  404. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +1 -2
  405. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -1
  406. package/es/components/Select/utils/getButtonLabel.js +0 -2
  407. package/es/components/Select/utils/getButtonLabel.js.map +1 -1
  408. package/es/components/Sheet/Sheet.js +3 -3
  409. package/es/components/Skeleton/LineSkeleton/LineSkeleton.js +2 -4
  410. package/es/components/Skeleton/LineSkeleton/LineSkeleton.js.map +1 -1
  411. package/es/components/Skeleton/RectSkeleton/RectSkeleton.js +2 -4
  412. package/es/components/Skeleton/RectSkeleton/RectSkeleton.js.map +1 -1
  413. package/es/components/Slider/Slider.js +0 -8
  414. package/es/components/Slider/Slider.js.map +1 -1
  415. package/es/components/Slider/components/Double/Double.js +1 -2
  416. package/es/components/Slider/components/Double/Double.js.map +1 -1
  417. package/es/components/Slider/components/Double/Double.styles.js +0 -1
  418. package/es/components/Slider/components/Double/Double.styles.js.map +1 -1
  419. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js +0 -3
  420. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.js.map +1 -1
  421. package/es/components/Slider/components/Single/Single.js +1 -2
  422. package/es/components/Slider/components/Single/Single.js.map +1 -1
  423. package/es/components/Slider/components/SliderBase/SliderBase.js +1 -1
  424. package/es/components/Steps/Steps.js +1 -1
  425. package/es/components/Steps/ui/StepItem/StepItem.styles.js +0 -1
  426. package/es/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
  427. package/es/components/Tabs/createTabsController.js.map +1 -1
  428. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +4 -9
  429. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  430. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.css +1 -1
  431. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +8 -19
  432. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
  433. package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  434. package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js.map +1 -1
  435. package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/{base_4ob3q5.css → base_9miwn.css} +1 -1
  436. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +2 -3
  437. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
  438. package/es/components/TextArea/TextArea.js +2 -2
  439. package/es/components/TextArea/TextArea.styles.js +2 -3
  440. package/es/components/TextArea/TextArea.styles.js.map +1 -1
  441. package/es/components/TextArea/ui/Hint/Hint.js +1 -2
  442. package/es/components/TextArea/ui/Hint/Hint.js.map +1 -1
  443. package/es/components/TextField/TextField.js +3 -3
  444. package/es/components/TextField/TextField.styles.js +1 -2
  445. package/es/components/TextField/TextField.styles.js.map +1 -1
  446. package/es/components/TextField/ui/Hint/Hint.js +1 -2
  447. package/es/components/TextField/ui/Hint/Hint.js.map +1 -1
  448. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -2
  449. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  450. package/es/components/Toast/Toast.styles.js +1 -1
  451. package/es/components/Toast/ToastController.js +1 -1
  452. package/es/components/Toast/utils.js +1 -2
  453. package/es/components/Toast/utils.js.map +1 -1
  454. package/es/components/Toolbar/ui/ToolbarDivider/ToolbarDivider.js +1 -1
  455. package/es/components/Tooltip/Tooltip.js +2 -3
  456. package/es/components/Tooltip/Tooltip.js.map +1 -1
  457. package/es/engines/index.js +0 -2
  458. package/es/engines/index.js.map +1 -1
  459. package/es/hooks/useIsomorphicLayoutEffect.js +0 -1
  460. package/es/hooks/useIsomorphicLayoutEffect.js.map +1 -1
  461. package/es/index.css +1 -1
  462. package/es/index.js +21 -24
  463. package/es/index.js.map +1 -1
  464. package/es/utils/index.js +0 -3
  465. package/es/utils/index.js.map +1 -1
  466. package/package.json +5 -2
  467. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -13
  468. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +5 -20
  469. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  470. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +33 -72
  471. package/styled-components/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +33 -72
  472. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -14
  473. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +5 -21
  474. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  475. package/styled-components/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +33 -72
  476. package/styled-components/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +33 -72
  477. package/styled-components/package.json +2 -1
  478. package/types/components/Tabs/TabItem.types.d.ts +8 -50
  479. package/types/components/Tabs/TabItem.types.d.ts.map +1 -1
  480. package/types/components/Tabs/Tabs.types.d.ts +2 -44
  481. package/types/components/Tabs/Tabs.types.d.ts.map +1 -1
  482. package/types/components/Tabs/createTabsController.d.ts +2 -2
  483. package/types/components/Tabs/createTabsController.d.ts.map +1 -1
  484. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.d.ts.map +1 -1
  485. package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.d.ts +2 -2
  486. package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.d.ts.map +1 -1
  487. package/types/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.d.ts.map +1 -1
  488. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts +2 -17
  489. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts.map +1 -1
  490. package/types/examples/plasma_b2c/components/Tabs/Tabs.d.ts +1 -1
  491. package/types/examples/plasma_b2c/components/Tabs/Tabs.d.ts.map +1 -1
  492. package/types/examples/plasma_web/components/Tabs/TabItem.d.ts +2 -17
  493. package/types/examples/plasma_web/components/Tabs/TabItem.d.ts.map +1 -1
  494. package/types/examples/plasma_web/components/Tabs/Tabs.d.ts +1 -1
  495. package/types/examples/plasma_web/components/Tabs/Tabs.d.ts.map +1 -1
  496. package/cjs/components/Tabs/ui/horizontal/const.js +0 -11
  497. package/cjs/components/Tabs/ui/horizontal/const.js.map +0 -1
  498. package/emotion/cjs/components/Tabs/ui/horizontal/const.js +0 -10
  499. package/emotion/es/components/Tabs/ui/horizontal/const.js +0 -4
  500. package/es/components/Tabs/ui/horizontal/const.js +0 -7
  501. package/es/components/Tabs/ui/horizontal/const.js.map +0 -1
  502. package/styled-components/cjs/components/Tabs/ui/horizontal/const.js +0 -10
  503. package/styled-components/es/components/Tabs/ui/horizontal/const.js +0 -4
  504. package/types/components/Tabs/ui/horizontal/const.d.ts +0 -2
  505. package/types/components/Tabs/ui/horizontal/const.d.ts.map +0 -1
@@ -12,7 +12,6 @@ import { Tabs } from './Tabs';
12
12
  import { TabItem } from './TabItem';
13
13
 
14
14
  const clips = ['none', 'scroll', 'showAll'];
15
- const headerClips = ['none', 'scroll'];
16
15
  const sizes = ['xs', 's', 'm', 'l'] as const;
17
16
  const headerSizes = ['h5', 'h4', 'h3', 'h2', 'h1'] as const;
18
17
 
@@ -21,6 +20,7 @@ type HeaderSize = typeof headerSizes[number];
21
20
 
22
21
  type CustomStoryTabsProps = {
23
22
  itemQuantity: number;
23
+ hasDivider: boolean;
24
24
  contentLeft: string;
25
25
  contentRight: string;
26
26
  stretch: boolean;
@@ -30,12 +30,12 @@ type CustomStoryTabsProps = {
30
30
  const contentLeftOptions = ['none', 'icon'];
31
31
  const contentRightOptions = ['none', 'counter', 'icon'];
32
32
 
33
- const getContentLeft = (contentLeftOption: string, size: string) => {
33
+ const getContentLeft = (contentLeftOption: string, size: Size) => {
34
34
  const iconSize = size === 'xs' ? 'xs' : 's';
35
35
  return contentLeftOption === 'icon' ? <IconMic size={iconSize} color="inherit" /> : undefined;
36
36
  };
37
37
 
38
- const getContentRight = (contentRightOption: string, size: string) => {
38
+ const getContentRight = (contentRightOption: string, size: Size) => {
39
39
  const iconSize = size === 'xs' ? 'xs' : 's';
40
40
  const counterSize = size === 'xs' ? 'xxs' : 'xs';
41
41
 
@@ -96,7 +96,7 @@ const StoryHorizontalDefault = (props: HorizontalStoryTabsProps) => {
96
96
  const [index, setIndex] = useState(0);
97
97
 
98
98
  return (
99
- <Tabs view="divider" hasDivider={hasDivider} stretch={stretch} disabled={disabled} size={size}>
99
+ <Tabs view={hasDivider ? 'divider' : 'clear'} stretch={stretch} disabled={disabled} size={size}>
100
100
  {items.map((_, i) => {
101
101
  if (helperText !== '') {
102
102
  return (
@@ -152,7 +152,7 @@ const StoryHorizontalScroll = (props: HorizontalStoryTabsProps) => {
152
152
  const [index, setIndex] = useState(0);
153
153
 
154
154
  return (
155
- <Tabs clip={clip} view="divider" hasDivider={hasDivider} disabled={disabled} size={size} style={{ width }}>
155
+ <Tabs clip={clip} view={hasDivider ? 'divider' : 'clear'} disabled={disabled} size={size} style={{ width }}>
156
156
  {items.map((_, i) => {
157
157
  if (helperText !== '') {
158
158
  return (
@@ -220,7 +220,7 @@ const StoryHorizontalShowAll = (props: HorizontalStoryTabsProps) => {
220
220
  });
221
221
 
222
222
  return (
223
- <Tabs clip={clip} view="divider" hasDivider={hasDivider} disabled={disabled} size={size}>
223
+ <Tabs clip={clip} view={hasDivider ? 'divider' : 'clear'} disabled={disabled} size={size}>
224
224
  {visibleItems.map((_, i) => {
225
225
  if (helperText !== '') {
226
226
  return (
@@ -603,47 +603,31 @@ export const VerticalTabs: StoryObj<VerticalStoryTabsProps> = {
603
603
  },
604
604
  };
605
605
 
606
- const StoryHeaderDefault = (props: HorizontalStoryTabsProps) => {
607
- const { disabled, itemQuantity, size, helperText } = props;
608
- const items = Array(itemQuantity).fill(0);
609
- const [index, setIndex] = useState(0);
610
-
611
- return (
612
- <Tabs view="clear" disabled={disabled} size={size as HeaderSize}>
613
- {items.map((_, i) => (
614
- <TabItem
615
- key={`item:${i}`}
616
- view="clear"
617
- selected={i === index}
618
- onClick={() => !disabled && setIndex(i)}
619
- tabIndex={!disabled ? 0 : -1}
620
- disabled={disabled}
621
- value={helperText}
622
- size={size as HeaderSize}
623
- >
624
- {`Label${i + 1}`}
625
- </TabItem>
626
- ))}
627
- </Tabs>
628
- );
629
- };
630
-
631
- const StoryHeaderScroll = (props: HorizontalStoryTabsProps) => {
632
- const { disabled, itemQuantity, size, helperText, width } = props;
606
+ const StoryHeaderTabs = (props: StoryTabsProps) => {
607
+ const {
608
+ disabled,
609
+ itemQuantity,
610
+ size,
611
+ contentLeft: contentLeftOption,
612
+ contentRight: contentRightOption,
613
+ hasDivider,
614
+ stretch,
615
+ } = props;
633
616
  const items = Array(itemQuantity).fill(0);
634
617
  const [index, setIndex] = useState(0);
635
618
 
636
619
  return (
637
- <Tabs view="clear" disabled={disabled} size={size as HeaderSize} style={{ width }}>
620
+ <Tabs view={hasDivider ? 'divider' : 'clear'} disabled={disabled} size={size} stretch={stretch}>
638
621
  {items.map((_, i) => (
639
622
  <TabItem
640
623
  key={`item:${i}`}
641
- view="clear"
624
+ view="divider"
642
625
  selected={i === index}
643
626
  onClick={() => !disabled && setIndex(i)}
644
627
  tabIndex={!disabled ? 0 : -1}
645
628
  disabled={disabled}
646
- value={helperText}
629
+ contentLeft={getContentLeft(contentLeftOption, size as Size)}
630
+ contentRight={getContentRight(contentRightOption, size as Size)}
647
631
  size={size as HeaderSize}
648
632
  >
649
633
  {`Label${i + 1}`}
@@ -653,60 +637,37 @@ const StoryHeaderScroll = (props: HorizontalStoryTabsProps) => {
653
637
  );
654
638
  };
655
639
 
656
- export const HeaderTabs: StoryObj<HorizontalStoryTabsProps> = {
640
+ export const HeaderTabs: StoryObj<StoryTabsProps> = {
657
641
  args: {
658
642
  size: 'h5',
659
643
  disabled: false,
660
- helperText: '',
661
- itemQuantity: 6,
662
- width: '12rem',
644
+ hasDivider: true,
645
+ itemQuantity: 4,
663
646
  },
664
647
  argTypes: {
665
- clip: {
666
- options: headerClips,
648
+ size: {
649
+ options: headerSizes,
667
650
  control: {
668
651
  type: 'select',
669
652
  },
670
653
  },
671
- width: {
672
- control: {
673
- type: 'text',
674
- },
675
- if: { arg: 'clip', eq: 'scroll' },
676
- },
677
- stretch: {
678
- table: {
679
- disable: true,
680
- },
681
- },
682
654
  contentLeft: {
683
- table: {
684
- disable: true,
655
+ options: contentLeftOptions,
656
+ control: {
657
+ type: 'select',
685
658
  },
686
659
  },
687
660
  contentRight: {
688
- table: {
689
- disable: true,
661
+ options: contentRightOptions,
662
+ control: {
663
+ type: 'select',
690
664
  },
691
665
  },
692
- hasDivider: {
666
+ clip: {
693
667
  table: {
694
668
  disable: true,
695
669
  },
696
670
  },
697
- size: {
698
- options: headerSizes,
699
- control: {
700
- type: 'select',
701
- },
702
- },
703
- },
704
- render: (args) => {
705
- switch (args.clip) {
706
- case 'scroll':
707
- return <StoryHeaderScroll {...args} />;
708
- default:
709
- return <StoryHeaderDefault {...args} />;
710
- }
711
671
  },
672
+ render: (args) => <StoryHeaderTabs {...args} />,
712
673
  };
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "module": "es/index.js",
3
3
  "main": "cjs/index.js",
4
- "types": "../types/index.d.ts"
4
+ "types": "../types/index.d.ts",
5
+ "sideEffects": false
5
6
  }
@@ -1,6 +1,6 @@
1
1
  import type { ButtonHTMLAttributes, ReactNode } from 'react';
2
2
  import type { AsProps } from '../../types';
3
- export declare type RightContent = {
3
+ declare type RightContent = {
4
4
  /**
5
5
  * Значение таба
6
6
  */
@@ -29,6 +29,10 @@ export interface BaseTabItemProps extends ButtonHTMLAttributes<HTMLButtonElement
29
29
  * @default false
30
30
  */
31
31
  disabled?: boolean;
32
+ /**
33
+ * Контент слева
34
+ */
35
+ contentLeft?: ReactNode;
32
36
  /**
33
37
  * Контент справа
34
38
  */
@@ -47,19 +51,13 @@ export declare type CustomHorizontalTabItemProps = {
47
51
  * Расположение табов
48
52
  */
49
53
  orientation?: 'horizontal';
50
- /**
51
- * Контент слева
52
- */
53
- contentLeft?: ReactNode;
54
54
  /**
55
55
  * TabItem c округлым border-radius
56
- * @deprecated
57
56
  * @default false
58
57
  */
59
58
  pilled?: boolean;
60
59
  /**
61
60
  * Фон TabItem меняется с анимацией
62
- * @deprecated
63
61
  * @default true
64
62
  */
65
63
  animated?: boolean;
@@ -70,59 +68,18 @@ export declare type CustomHorizontalTabItemProps = {
70
68
  /**
71
69
  * Размер TabItem
72
70
  */
73
- size?: 'xs' | 's' | 'm' | 'l';
71
+ size?: string;
74
72
  /**
75
73
  * Активен ли TabItem
76
74
  * @deprecated Используйте свойство `selected`
77
75
  */
78
76
  isActive?: boolean;
79
77
  } & RightContent;
80
- export declare type CustomHeaderTabItemProps = {
81
- /**
82
- * Расположение табов
83
- */
84
- orientation?: 'horizontal';
85
- /**
86
- * Контент слева
87
- */
88
- contentLeft?: never;
89
- /**
90
- * TabItem c округлым border-radius
91
- * @deprecated
92
- * @default false
93
- */
94
- pilled?: never;
95
- /**
96
- * Фон TabItem меняется с анимацией
97
- * @deprecated
98
- * @default true
99
- */
100
- animated?: never;
101
- /**
102
- * Вид TabItem
103
- */
104
- view?: string;
105
- /**
106
- * Размер TabItem
107
- */
108
- size: 'h5' | 'h4' | 'h3' | 'h2' | 'h1';
109
- /**
110
- * Активен ли TabItem
111
- * @deprecated Используйте свойство `selected`
112
- */
113
- isActive?: never;
114
- } & Extract<RightContent, {
115
- contentRight?: never;
116
- }>;
117
78
  export declare type CustomVerticalTabItemProps = {
118
79
  /**
119
80
  * Расположение табов
120
81
  */
121
82
  orientation: 'vertical';
122
- /**
123
- * Контент слева
124
- */
125
- contentLeft?: ReactNode;
126
83
  /**
127
84
  * Вид TabItem
128
85
  */
@@ -132,7 +89,8 @@ export declare type CustomVerticalTabItemProps = {
132
89
  */
133
90
  size?: string;
134
91
  } & RightContent;
135
- export declare type HorizontalTabItemProps = BaseTabItemProps & (CustomHorizontalTabItemProps | CustomHeaderTabItemProps);
92
+ export declare type HorizontalTabItemProps = BaseTabItemProps & CustomHorizontalTabItemProps;
136
93
  export declare type VerticalTabItemProps = BaseTabItemProps & CustomVerticalTabItemProps;
137
94
  export declare type TabItemProps = HorizontalTabItemProps | VerticalTabItemProps;
95
+ export {};
138
96
  //# sourceMappingURL=TabItem.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TabItem.types.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/TabItem.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,oBAAY,YAAY,GAClB;IACI;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;CACxB,GACD;IACI;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IACd;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;CAC5B,CAAC;AAER,MAAM,WAAW,gBAAiB,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,OAAO;IACtF;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IAEzB;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,oBAAY,4BAA4B,GAAG;IACvC;;OAEG;IACH,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IAC9B;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,GAAG,YAAY,CAAC;AAEjB,oBAAY,wBAAwB,GAAG;IACnC;;OAEG;IACH,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACvC;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;CACpB,GAAG,OAAO,CAAC,YAAY,EAAE;IAAE,YAAY,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC,CAAC;AAEpD,oBAAY,0BAA0B,GAAG;IACrC;;OAEG;IACH,WAAW,EAAE,UAAU,CAAC;IACxB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,YAAY,CAAC;AAEjB,oBAAY,sBAAsB,GAAG,gBAAgB,GAAG,CAAC,4BAA4B,GAAG,wBAAwB,CAAC,CAAC;AAElH,oBAAY,oBAAoB,GAAG,gBAAgB,GAAG,0BAA0B,CAAC;AAEjF,oBAAY,YAAY,GAAG,sBAAsB,GAAG,oBAAoB,CAAC"}
1
+ {"version":3,"file":"TabItem.types.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/TabItem.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,aAAK,YAAY,GACX;IACI;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;CACxB,GACD;IACI;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IACd;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;CAC5B,CAAC;AAER,MAAM,WAAW,gBAAiB,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,OAAO;IACtF;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IAEzB;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,oBAAY,4BAA4B,GAAG;IACvC;;OAEG;IACH,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB,GAAG,YAAY,CAAC;AAEjB,oBAAY,0BAA0B,GAAG;IACrC;;OAEG;IACH,WAAW,EAAE,UAAU,CAAC;IACxB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,YAAY,CAAC;AAEjB,oBAAY,sBAAsB,GAAG,gBAAgB,GAAG,4BAA4B,CAAC;AAErF,oBAAY,oBAAoB,GAAG,gBAAgB,GAAG,0BAA0B,CAAC;AAEjF,oBAAY,YAAY,GAAG,sBAAsB,GAAG,oBAAoB,CAAC"}
@@ -24,11 +24,6 @@ export declare type CustomHorizontalTabsProps = {
24
24
  * Расположение табов
25
25
  */
26
26
  orientation?: 'horizontal';
27
- /**
28
- * Наличие divider
29
- * @default true
30
- */
31
- hasDivider?: boolean;
32
27
  /**
33
28
  * Табы растянуты на доступную область
34
29
  * @default false
@@ -36,7 +31,6 @@ export declare type CustomHorizontalTabsProps = {
36
31
  stretch?: boolean;
37
32
  /**
38
33
  * Табы c округлым border-radius
39
- * @deprecated
40
34
  * @default false
41
35
  */
42
36
  pilled?: boolean;
@@ -47,7 +41,7 @@ export declare type CustomHorizontalTabsProps = {
47
41
  /**
48
42
  * Размер табов
49
43
  */
50
- size?: 'xs' | 's' | 'm' | 'l';
44
+ size?: string;
51
45
  /**
52
46
  * Уберет скругление с выбранной стороны и подвинет контейнер
53
47
  * @deprecated
@@ -57,41 +51,6 @@ export declare type CustomHorizontalTabsProps = {
57
51
  right?: string;
58
52
  };
59
53
  };
60
- export declare type CustomHeaderTabsProps = {
61
- /**
62
- * Расположение табов
63
- */
64
- orientation?: 'horizontal';
65
- /**
66
- * Наличие divider
67
- * @default true
68
- */
69
- hasDivider?: never;
70
- /**
71
- * Табы растянуты на доступную область
72
- * @default false
73
- */
74
- stretch?: never;
75
- /**
76
- * Табы c округлым border-radius
77
- * @deprecated
78
- * @default false
79
- */
80
- pilled?: never;
81
- /**
82
- * Вид табов
83
- */
84
- view?: string;
85
- /**
86
- * Размер табов
87
- */
88
- size: 'h5' | 'h4' | 'h3' | 'h2' | 'h1';
89
- /**
90
- * Уберет скругление с выбранной стороны и подвинет контейнер
91
- * @deprecated
92
- */
93
- outsideScroll?: never;
94
- };
95
54
  export declare type CustomVerticalTabsProps = {
96
55
  /**
97
56
  * Расположение табов
@@ -111,8 +70,7 @@ export declare type CustomVerticalTabsProps = {
111
70
  */
112
71
  size?: string;
113
72
  };
114
- export declare type HorizontalTabsProps = BaseTabsProps & (CustomHorizontalTabsProps | CustomHeaderTabsProps);
115
- export declare type HorizontalCommonTabsProps = BaseTabsProps & CustomHorizontalTabsProps;
73
+ export declare type HorizontalTabsProps = BaseTabsProps & CustomHorizontalTabsProps;
116
74
  export declare type VerticalTabsProps = BaseTabsProps & CustomVerticalTabsProps;
117
75
  export declare type TabsProps = HorizontalTabsProps | VerticalTabsProps;
118
76
  //# sourceMappingURL=Tabs.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.types.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/Tabs.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,WAAW,aAAc,SAAQ,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO;IAC1E;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC5B;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,oBAAY,yBAAyB,GAAG;IACpC;;OAEG;IACH,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IAC9B;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC/D,CAAC;AAEF,oBAAY,qBAAqB,GAAG;IAChC;;OAEG;IACH,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B;;;OAGG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACvC;;;OAGG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC;CACzB,CAAC;AAEF,oBAAY,uBAAuB,GAAG;IAClC;;OAEG;IACH,WAAW,EAAE,UAAU,CAAC;IACxB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,mBAAmB,GAAG,aAAa,GAAG,CAAC,yBAAyB,GAAG,qBAAqB,CAAC,CAAC;AAEtG,oBAAY,yBAAyB,GAAG,aAAa,GAAG,yBAAyB,CAAC;AAElF,oBAAY,iBAAiB,GAAG,aAAa,GAAG,uBAAuB,CAAC;AAExE,oBAAY,SAAS,GAAG,mBAAmB,GAAG,iBAAiB,CAAC"}
1
+ {"version":3,"file":"Tabs.types.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/Tabs.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,WAAW,aAAc,SAAQ,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO;IAC1E;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC5B;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,oBAAY,yBAAyB,GAAG;IACpC;;OAEG;IACH,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC/D,CAAC;AAEF,oBAAY,uBAAuB,GAAG;IAClC;;OAEG;IACH,WAAW,EAAE,UAAU,CAAC;IACxB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,mBAAmB,GAAG,aAAa,GAAG,yBAAyB,CAAC;AAE5E,oBAAY,iBAAiB,GAAG,aAAa,GAAG,uBAAuB,CAAC;AAExE,oBAAY,SAAS,GAAG,mBAAmB,GAAG,iBAAiB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import React, { ForwardRefExoticComponent, RefAttributes } from 'react';
2
2
  import { HorizontalTabItemProps } from './TabItem.types';
3
- import { HorizontalCommonTabsProps, HorizontalTabsProps } from './Tabs.types';
4
- export interface TabsControllerProps extends HorizontalCommonTabsProps {
3
+ import { HorizontalTabsProps } from './Tabs.types';
4
+ export interface TabsControllerProps extends HorizontalTabsProps {
5
5
  items: Array<{
6
6
  label: string;
7
7
  } & HorizontalTabItemProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"createTabsController.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/createTabsController.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,yBAAyB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEpF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAE9E,MAAM,WAAW,mBAAoB,SAAQ,yBAAyB;IAClE,KAAK,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,sBAAsB,CAAC,CAAC;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,cAAc,EAAE,CAAC,SAAS,mBAAmB,EACxF,aAAa,EAAE,yBAAyB,CAAC,mBAAmB,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC,EAC7F,aAAa,EAAE,yBAAyB,CAAC,sBAAsB,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC,sFAwBnG"}
1
+ {"version":3,"file":"createTabsController.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/createTabsController.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,yBAAyB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEpF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,WAAW,mBAAoB,SAAQ,mBAAmB;IAC5D,KAAK,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,sBAAsB,CAAC,CAAC;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,cAAc,EAAE,CAAC,SAAS,mBAAmB,EACxF,aAAa,EAAE,yBAAyB,CAAC,mBAAmB,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC,EAC7F,aAAa,EAAE,yBAAyB,CAAC,sBAAsB,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC,sFAwBnG"}
@@ -1 +1 @@
1
- {"version":3,"file":"HorizontalTabItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiE,MAAM,OAAO,CAAC;AAGtF,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAInD,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAShE,eAAO,MAAM,qBAAqB,SAAU,UAAU,cAAc,EAAE,sBAAsB,CAAC,kGA+GvF,CAAC;AAEP,eAAO,MAAM,uBAAuB;;;mBAjHQ,UAAU,cAAc,EAAE,sBAAsB,CAAC;;;;;;;;;;;;;;;;;;;;CAwI5F,CAAC"}
1
+ {"version":3,"file":"HorizontalTabItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiE,MAAM,OAAO,CAAC;AAGtF,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAInD,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAQhE,eAAO,MAAM,qBAAqB,SAAU,UAAU,cAAc,EAAE,sBAAsB,CAAC,kGA+GvF,CAAC;AAEP,eAAO,MAAM,uBAAuB;;;mBAjHQ,UAAU,cAAc,EAAE,sBAAsB,CAAC;;;;;;;;;;;;;;;;;;;;CAwI5F,CAAC"}
@@ -1,11 +1,11 @@
1
1
  import React from 'react';
2
2
  import type { RootProps } from '../../../../../engines/types';
3
3
  import type { HorizontalTabsProps } from '../../../Tabs.types';
4
- export declare const horizontalTabsRoot: (Root: RootProps<HTMLDivElement, HorizontalTabsProps>) => React.ForwardRefExoticComponent<HorizontalTabsProps & React.RefAttributes<HTMLDivElement>>;
4
+ export declare const horizontalTabsRoot: (Root: RootProps<HTMLDivElement, HorizontalTabsProps>) => React.ForwardRefExoticComponent<import("../../../Tabs.types").BaseTabsProps & import("../../../Tabs.types").CustomHorizontalTabsProps & React.RefAttributes<HTMLDivElement>>;
5
5
  export declare const horizontalTabsConfig: {
6
6
  name: string;
7
7
  tag: string;
8
- layout: (Root: RootProps<HTMLDivElement, HorizontalTabsProps>) => React.ForwardRefExoticComponent<HorizontalTabsProps & React.RefAttributes<HTMLDivElement>>;
8
+ layout: (Root: RootProps<HTMLDivElement, HorizontalTabsProps>) => React.ForwardRefExoticComponent<import("../../../Tabs.types").BaseTabsProps & import("../../../Tabs.types").CustomHorizontalTabsProps & React.RefAttributes<HTMLDivElement>>;
9
9
  base: import("@linaria/core").LinariaClassName;
10
10
  variations: {
11
11
  size: {
@@ -1 +1 @@
1
- {"version":3,"file":"HorizontalTabs.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuF,MAAM,OAAO,CAAC;AAI5G,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAK9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAkB/D,eAAO,MAAM,kBAAkB,SAAU,UAAU,cAAc,EAAE,mBAAmB,CAAC,+FAwNjF,CAAC;AAEP,eAAO,MAAM,oBAAoB;;;mBA1NQ,UAAU,cAAc,EAAE,mBAAmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;CAsPtF,CAAC"}
1
+ {"version":3,"file":"HorizontalTabs.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuF,MAAM,OAAO,CAAC;AAI5G,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAK9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAiB/D,eAAO,MAAM,kBAAkB,SAAU,UAAU,cAAc,EAAE,mBAAmB,CAAC,iLA6MjF,CAAC;AAEP,eAAO,MAAM,oBAAoB;;;mBA/MQ,UAAU,cAAc,EAAE,mBAAmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;CA2OtF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CA+BhB,CAAC"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAyBhB,CAAC"}
@@ -25,37 +25,24 @@ declare const HorizontalTabItem: React.FunctionComponent<import("../../../../eng
25
25
  };
26
26
  }> & ((import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
27
27
  orientation?: "horizontal" | undefined;
28
- contentLeft?: React.ReactNode;
29
28
  pilled?: boolean | undefined;
30
29
  animated?: boolean | undefined;
31
30
  view?: string | undefined;
32
- size?: "m" | "s" | "xs" | "l" | undefined;
31
+ size?: string | undefined;
33
32
  isActive?: boolean | undefined;
34
33
  } & {
35
34
  value?: string | number | undefined;
36
35
  contentRight?: undefined;
37
36
  } & React.RefAttributes<HTMLDivElement>) | (import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
38
37
  orientation?: "horizontal" | undefined;
39
- contentLeft?: React.ReactNode;
40
38
  pilled?: boolean | undefined;
41
39
  animated?: boolean | undefined;
42
40
  view?: string | undefined;
43
- size?: "m" | "s" | "xs" | "l" | undefined;
41
+ size?: string | undefined;
44
42
  isActive?: boolean | undefined;
45
43
  } & {
46
44
  value?: undefined;
47
45
  contentRight?: React.ReactNode;
48
- } & React.RefAttributes<HTMLDivElement>) | (import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
49
- orientation?: "horizontal" | undefined;
50
- contentLeft?: undefined;
51
- pilled?: undefined;
52
- animated?: undefined;
53
- view?: string | undefined;
54
- size: "h1" | "h2" | "h3" | "h4" | "h5";
55
- isActive?: undefined;
56
- } & {
57
- value?: string | number | undefined;
58
- contentRight?: undefined;
59
46
  } & React.RefAttributes<HTMLDivElement>))>;
60
47
  declare const VerticalTabItem: React.FunctionComponent<import("../../../../engines/types").PropsType<{
61
48
  view: {
@@ -72,7 +59,6 @@ declare const VerticalTabItem: React.FunctionComponent<import("../../../../engin
72
59
  };
73
60
  }> & ((import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
74
61
  orientation: "vertical";
75
- contentLeft?: React.ReactNode;
76
62
  view?: string | undefined;
77
63
  size?: string | undefined;
78
64
  } & {
@@ -80,7 +66,6 @@ declare const VerticalTabItem: React.FunctionComponent<import("../../../../engin
80
66
  contentRight?: undefined;
81
67
  } & React.RefAttributes<HTMLButtonElement>) | (import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
82
68
  orientation: "vertical";
83
- contentLeft?: React.ReactNode;
84
69
  view?: string | undefined;
85
70
  size?: string | undefined;
86
71
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"TabItem.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Tabs/TabItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAS9C,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0CAA2C,CAAC;AAGnE,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6CAAyC,CAAC;AAE/D,aAAK,YAAY,GAAG,cAAc,CAAC,OAAO,iBAAiB,CAAC,GAAG,cAAc,CAAC,OAAO,eAAe,CAAC,CAAC;AAEtG,eAAO,MAAM,OAAO,UAAW,YAAY,gBAM1C,CAAC"}
1
+ {"version":3,"file":"TabItem.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Tabs/TabItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAS9C,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0CAA2C,CAAC;AAGnE,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;6CAAyC,CAAC;AAE/D,aAAK,YAAY,GAAG,cAAc,CAAC,OAAO,iBAAiB,CAAC,GAAG,cAAc,CAAC,OAAO,eAAe,CAAC,CAAC;AAEtG,eAAO,MAAM,OAAO,UAAW,YAAY,gBAM1C,CAAC"}
@@ -25,7 +25,7 @@ declare const HorizontalTabs: React.FunctionComponent<import("../../../../engine
25
25
  pilled: {
26
26
  true: import("@linaria/core").LinariaClassName;
27
27
  };
28
- }> & ((import("../../../../components/Tabs/Tabs.types").BaseTabsProps & import("../../../../components/Tabs/Tabs.types").CustomHorizontalTabsProps & React.RefAttributes<HTMLDivElement>) | (import("../../../../components/Tabs/Tabs.types").BaseTabsProps & import("../../../../components/Tabs/Tabs.types").CustomHeaderTabsProps & React.RefAttributes<HTMLDivElement>))>;
28
+ }> & import("../../../../components/Tabs/Tabs.types").BaseTabsProps & import("../../../../components/Tabs/Tabs.types").CustomHorizontalTabsProps & React.RefAttributes<HTMLDivElement>>;
29
29
  declare const VerticalTabs: React.FunctionComponent<import("../../../../engines/types").PropsType<{
30
30
  view: {
31
31
  divider: import("@linaria/core").LinariaClassName;
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAW9C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;6WAAwC,CAAC;AAC7D,QAAA,MAAM,YAAY;;;;;;;;;;;;;qLAAsC,CAAC;AAEzD,aAAK,SAAS,GAAG,cAAc,CAAC,OAAO,cAAc,CAAC,GAAG,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC;AAE7F,eAAO,MAAM,IAAI,UAAW,SAAS,gBAMpC,CAAC"}
1
+ {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAW9C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;uLAAwC,CAAC;AAC7D,QAAA,MAAM,YAAY;;;;;;;;;;;;;qLAAsC,CAAC;AAEzD,aAAK,SAAS,GAAG,cAAc,CAAC,OAAO,cAAc,CAAC,GAAG,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC;AAE7F,eAAO,MAAM,IAAI,UAAW,SAAS,gBAMpC,CAAC"}
@@ -25,37 +25,24 @@ declare const HorizontalTabItem: React.FunctionComponent<import("../../../../eng
25
25
  };
26
26
  }> & ((import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
27
27
  orientation?: "horizontal" | undefined;
28
- contentLeft?: React.ReactNode;
29
28
  pilled?: boolean | undefined;
30
29
  animated?: boolean | undefined;
31
30
  view?: string | undefined;
32
- size?: "m" | "s" | "xs" | "l" | undefined;
31
+ size?: string | undefined;
33
32
  isActive?: boolean | undefined;
34
33
  } & {
35
34
  value?: string | number | undefined;
36
35
  contentRight?: undefined;
37
36
  } & React.RefAttributes<HTMLDivElement>) | (import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
38
37
  orientation?: "horizontal" | undefined;
39
- contentLeft?: React.ReactNode;
40
38
  pilled?: boolean | undefined;
41
39
  animated?: boolean | undefined;
42
40
  view?: string | undefined;
43
- size?: "m" | "s" | "xs" | "l" | undefined;
41
+ size?: string | undefined;
44
42
  isActive?: boolean | undefined;
45
43
  } & {
46
44
  value?: undefined;
47
45
  contentRight?: React.ReactNode;
48
- } & React.RefAttributes<HTMLDivElement>) | (import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
49
- orientation?: "horizontal" | undefined;
50
- contentLeft?: undefined;
51
- pilled?: undefined;
52
- animated?: undefined;
53
- view?: string | undefined;
54
- size: "h1" | "h2" | "h3" | "h4" | "h5";
55
- isActive?: undefined;
56
- } & {
57
- value?: string | number | undefined;
58
- contentRight?: undefined;
59
46
  } & React.RefAttributes<HTMLDivElement>))>;
60
47
  declare const VerticalTabItem: React.FunctionComponent<import("../../../../engines/types").PropsType<{
61
48
  view: {
@@ -72,7 +59,6 @@ declare const VerticalTabItem: React.FunctionComponent<import("../../../../engin
72
59
  };
73
60
  }> & ((import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
74
61
  orientation: "vertical";
75
- contentLeft?: React.ReactNode;
76
62
  view?: string | undefined;
77
63
  size?: string | undefined;
78
64
  } & {
@@ -80,7 +66,6 @@ declare const VerticalTabItem: React.FunctionComponent<import("../../../../engin
80
66
  contentRight?: undefined;
81
67
  } & React.RefAttributes<HTMLButtonElement>) | (import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
82
68
  orientation: "vertical";
83
- contentLeft?: React.ReactNode;
84
69
  view?: string | undefined;
85
70
  size?: string | undefined;
86
71
  } & {
@@ -1 +1 @@
1
- {"version":3,"file":"TabItem.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Tabs/TabItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAS9C,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0CAA2C,CAAC;AAGnE,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6CAAyC,CAAC;AAE/D,aAAK,YAAY,GAAG,cAAc,CAAC,OAAO,iBAAiB,CAAC,GAAG,cAAc,CAAC,OAAO,eAAe,CAAC,CAAC;AAEtG,eAAO,MAAM,OAAO,UAAW,YAAY,gBAM1C,CAAC"}
1
+ {"version":3,"file":"TabItem.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Tabs/TabItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAS9C,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0CAA2C,CAAC;AAGnE,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;6CAAyC,CAAC;AAE/D,aAAK,YAAY,GAAG,cAAc,CAAC,OAAO,iBAAiB,CAAC,GAAG,cAAc,CAAC,OAAO,eAAe,CAAC,CAAC;AAEtG,eAAO,MAAM,OAAO,UAAW,YAAY,gBAM1C,CAAC"}
@@ -25,7 +25,7 @@ declare const HorizontalTabs: React.FunctionComponent<import("../../../../engine
25
25
  pilled: {
26
26
  true: import("@linaria/core").LinariaClassName;
27
27
  };
28
- }> & ((import("../../../../components/Tabs/Tabs.types").BaseTabsProps & import("../../../../components/Tabs/Tabs.types").CustomHorizontalTabsProps & React.RefAttributes<HTMLDivElement>) | (import("../../../../components/Tabs/Tabs.types").BaseTabsProps & import("../../../../components/Tabs/Tabs.types").CustomHeaderTabsProps & React.RefAttributes<HTMLDivElement>))>;
28
+ }> & import("../../../../components/Tabs/Tabs.types").BaseTabsProps & import("../../../../components/Tabs/Tabs.types").CustomHorizontalTabsProps & React.RefAttributes<HTMLDivElement>>;
29
29
  declare const VerticalTabs: React.FunctionComponent<import("../../../../engines/types").PropsType<{
30
30
  view: {
31
31
  divider: import("@linaria/core").LinariaClassName;
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAW9C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;6WAAwC,CAAC;AAC7D,QAAA,MAAM,YAAY;;;;;;;;;;;;;qLAAsC,CAAC;AAEzD,aAAK,SAAS,GAAG,cAAc,CAAC,OAAO,cAAc,CAAC,GAAG,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC;AAE7F,eAAO,MAAM,IAAI,UAAW,SAAS,gBAMpC,CAAC"}
1
+ {"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAW9C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;uLAAwC,CAAC;AAC7D,QAAA,MAAM,YAAY;;;;;;;;;;;;;qLAAsC,CAAC;AAEzD,aAAK,SAAS,GAAG,cAAc,CAAC,OAAO,cAAc,CAAC,GAAG,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC;AAE7F,eAAO,MAAM,IAAI,UAAW,SAAS,gBAMpC,CAAC"}
@@ -1,11 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var headerSizes = ['h1', 'h2', 'h3', 'h4', 'h5'];
6
- var isHeaderSize = function isHeaderSize(size) {
7
- return headerSizes.includes(size);
8
- };
9
-
10
- exports.isHeaderSize = isHeaderSize;
11
- //# sourceMappingURL=const.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"const.js","sources":["../../../../../src/components/Tabs/ui/horizontal/const.ts"],"sourcesContent":["const headerSizes = ['h1', 'h2', 'h3', 'h4', 'h5'] as const;\ntype HeaderSize = typeof headerSizes[number];\n\nexport const isHeaderSize = (size: string): size is HeaderSize => {\n return headerSizes.includes(size as HeaderSize);\n};\n"],"names":["headerSizes","isHeaderSize","size","includes"],"mappings":";;;;AAAA,IAAMA,WAAW,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAU,CAAA;IAG9CC,YAAY,GAAG,SAAfA,YAAYA,CAAIC,IAAY,EAAyB;AAC9D,EAAA,OAAOF,WAAW,CAACG,QAAQ,CAACD,IAAkB,CAAC,CAAA;AACnD;;;;"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.isHeaderSize = void 0;
7
- var headerSizes = ['h1', 'h2', 'h3', 'h4', 'h5'];
8
- var isHeaderSize = exports.isHeaderSize = function isHeaderSize(size) {
9
- return headerSizes.includes(size);
10
- };