@alfalab/core-components-tabs 8.7.1 → 8.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/components/primary-tablist/Component.collapsible.js +1 -1
  2. package/components/primary-tablist/Component.d.ts +1 -1
  3. package/components/primary-tablist/Component.desktop.js +1 -1
  4. package/components/primary-tablist/Component.js +2 -2
  5. package/components/primary-tablist/Component.mobile.js +2 -2
  6. package/components/primary-tablist/index.css +132 -132
  7. package/components/primary-tablist/mobile.css +220 -220
  8. package/components/scroll-controls/Component.js +1 -1
  9. package/components/scroll-controls/index.css +12 -12
  10. package/components/scrollable-container/Component.d.ts +5 -1
  11. package/components/scrollable-container/Component.js +3 -3
  12. package/components/scrollable-container/index.css +6 -6
  13. package/components/secondary-tablist/Component.d.ts +1 -1
  14. package/components/secondary-tablist/Component.desktop.js +1 -1
  15. package/components/secondary-tablist/Component.js +2 -2
  16. package/components/secondary-tablist/Component.mobile.js +2 -2
  17. package/components/secondary-tablist/index.css +11 -11
  18. package/components/secondary-tablist/mobile.css +13 -13
  19. package/components/tab/Component.js +1 -1
  20. package/components/tab/index.css +3 -3
  21. package/components/tabs/Component.js +2 -2
  22. package/cssm/components/primary-tablist/Component.d.ts +1 -1
  23. package/cssm/components/primary-tablist/Component.js +2 -2
  24. package/cssm/components/scrollable-container/Component.d.ts +5 -1
  25. package/cssm/components/scrollable-container/Component.js +2 -2
  26. package/cssm/components/secondary-tablist/Component.d.ts +1 -1
  27. package/cssm/components/secondary-tablist/Component.js +2 -2
  28. package/cssm/components/tabs/Component.js +2 -2
  29. package/cssm/typings.d.ts +4 -0
  30. package/esm/components/primary-tablist/Component.collapsible.js +1 -1
  31. package/esm/components/primary-tablist/Component.d.ts +1 -1
  32. package/esm/components/primary-tablist/Component.desktop.js +1 -1
  33. package/esm/components/primary-tablist/Component.js +2 -2
  34. package/esm/components/primary-tablist/Component.mobile.js +2 -2
  35. package/esm/components/primary-tablist/index.css +132 -132
  36. package/esm/components/primary-tablist/mobile.css +220 -220
  37. package/esm/components/scroll-controls/Component.js +1 -1
  38. package/esm/components/scroll-controls/index.css +12 -12
  39. package/esm/components/scrollable-container/Component.d.ts +5 -1
  40. package/esm/components/scrollable-container/Component.js +3 -3
  41. package/esm/components/scrollable-container/index.css +6 -6
  42. package/esm/components/secondary-tablist/Component.d.ts +1 -1
  43. package/esm/components/secondary-tablist/Component.desktop.js +1 -1
  44. package/esm/components/secondary-tablist/Component.js +2 -2
  45. package/esm/components/secondary-tablist/Component.mobile.js +2 -2
  46. package/esm/components/secondary-tablist/index.css +11 -11
  47. package/esm/components/secondary-tablist/mobile.css +13 -13
  48. package/esm/components/tab/Component.js +1 -1
  49. package/esm/components/tab/index.css +3 -3
  50. package/esm/components/tabs/Component.js +2 -2
  51. package/esm/index.module-9817743e.js +4 -0
  52. package/esm/index.module-9dc5e1af.js +4 -0
  53. package/esm/typings.d.ts +4 -0
  54. package/index.module-4265e676.js +6 -0
  55. package/index.module-543239dc.js +6 -0
  56. package/modern/components/primary-tablist/Component.collapsible.js +1 -1
  57. package/modern/components/primary-tablist/Component.d.ts +1 -1
  58. package/modern/components/primary-tablist/Component.desktop.js +1 -1
  59. package/modern/components/primary-tablist/Component.js +2 -2
  60. package/modern/components/primary-tablist/Component.mobile.js +2 -2
  61. package/modern/components/primary-tablist/index.css +132 -132
  62. package/modern/components/primary-tablist/mobile.css +220 -220
  63. package/modern/components/scroll-controls/Component.js +1 -1
  64. package/modern/components/scroll-controls/index.css +12 -12
  65. package/modern/components/scrollable-container/Component.d.ts +5 -1
  66. package/modern/components/scrollable-container/Component.js +3 -3
  67. package/modern/components/scrollable-container/index.css +6 -6
  68. package/modern/components/secondary-tablist/Component.d.ts +1 -1
  69. package/modern/components/secondary-tablist/Component.desktop.js +1 -1
  70. package/modern/components/secondary-tablist/Component.js +2 -2
  71. package/modern/components/secondary-tablist/Component.mobile.js +2 -2
  72. package/modern/components/secondary-tablist/index.css +11 -11
  73. package/modern/components/secondary-tablist/mobile.css +13 -13
  74. package/modern/components/tab/Component.js +1 -1
  75. package/modern/components/tab/index.css +3 -3
  76. package/modern/components/tabs/Component.js +2 -2
  77. package/modern/index.module-17dbd674.js +4 -0
  78. package/modern/index.module-3bc1e97c.js +4 -0
  79. package/modern/typings.d.ts +4 -0
  80. package/package.json +2 -2
  81. package/src/components/primary-tablist/Component.tsx +6 -1
  82. package/src/components/scrollable-container/Component.tsx +10 -1
  83. package/src/components/secondary-tablist/Component.tsx +5 -1
  84. package/src/components/tabs/Component.tsx +2 -1
  85. package/src/typings.ts +4 -0
  86. package/typings.d.ts +4 -0
  87. package/esm/index.module-7f53615c.js +0 -4
  88. package/esm/index.module-f25eb728.js +0 -4
  89. package/index.module-1eb43fb9.js +0 -6
  90. package/index.module-c88e5a5a.js +0 -6
  91. package/modern/index.module-8121bd57.js +0 -4
  92. package/modern/index.module-c6da7192.js +0 -4
@@ -6,7 +6,7 @@ import { ChevronLeftCompactSIcon } from '@alfalab/icons-glyph/ChevronLeftCompact
6
6
  import { ChevronRightCompactSIcon } from '@alfalab/icons-glyph/ChevronRightCompactSIcon';
7
7
  import { getDisabledState, scrollIntoFirstTab, scrollIntoLastTab } from './utils.js';
8
8
 
9
- const styles = {"component":"tabs__component_1hetu","primary":"tabs__primary_1hetu","button":"tabs__button_1hetu","xl":"tabs__xl_1hetu","secondary":"tabs__secondary_1hetu","xs":"tabs__xs_1hetu","borderVisible":"tabs__borderVisible_1hetu"};
9
+ const styles = {"component":"tabs__component_1tz6i","primary":"tabs__primary_1tz6i","button":"tabs__button_1tz6i","xl":"tabs__xl_1tz6i","secondary":"tabs__secondary_1tz6i","xs":"tabs__xs_1tz6i","borderVisible":"tabs__borderVisible_1tz6i"};
10
10
  require('./index.css')
11
11
 
12
12
  const ScrollControls = forwardRef(({ containerRef, view, size: sizeProp, className }, ref) => {
@@ -1,4 +1,4 @@
1
- /* hash: domqp */
1
+ /* hash: 1po5e */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root {
4
4
  --color-light-neutral-translucent-300: rgba(15, 25, 55, 0.1);
@@ -44,14 +44,14 @@
44
44
  /* size l */
45
45
 
46
46
  /* size xl */
47
- } .tabs__component_1hetu {
47
+ } .tabs__component_1tz6i {
48
48
  position: relative;
49
49
  display: flex;
50
50
  flex-shrink: 0;
51
- } .tabs__primary_1hetu {
51
+ } .tabs__primary_1tz6i {
52
52
  align-items: flex-start;
53
53
  justify-content: flex-end
54
- } .tabs__primary_1hetu:after {
54
+ } .tabs__primary_1tz6i:after {
55
55
  content: '';
56
56
  display: block;
57
57
  position: absolute;
@@ -59,18 +59,18 @@
59
59
  height: 1px;
60
60
  width: 100%;
61
61
  background-color: var(--primary-tablist-bottom-border-color);
62
- } .tabs__primary_1hetu {
62
+ } .tabs__primary_1tz6i {
63
63
 
64
- .tabs__button_1hetu:first-child {
64
+ .tabs__button_1tz6i:first-child {
65
65
  padding-left: var(--gap-xs);
66
66
  margin-right: var(--gap-xs);
67
67
  }
68
- } .tabs__primary_1hetu.tabs__xl_1hetu .tabs__button_1hetu:first-child {
68
+ } .tabs__primary_1tz6i.tabs__xl_1tz6i .tabs__button_1tz6i:first-child {
69
69
  margin-right: var(--gap-2xs);
70
- } .tabs__secondary_1hetu {
70
+ } .tabs__secondary_1tz6i {
71
71
  align-items: center;
72
72
  justify-content: center
73
- } .tabs__secondary_1hetu:before {
73
+ } .tabs__secondary_1tz6i:before {
74
74
  content: '';
75
75
  display: block;
76
76
  position: absolute;
@@ -80,12 +80,12 @@
80
80
  background-color: transparent;
81
81
  transition: background-color 0.3s ease;
82
82
  bottom: 0;
83
- } .tabs__secondary_1hetu.tabs__xs_1hetu {
83
+ } .tabs__secondary_1tz6i.tabs__xs_1tz6i {
84
84
  width: 76px;
85
85
 
86
- .tabs__button_1hetu:first-child {
86
+ .tabs__button_1tz6i:first-child {
87
87
  margin-right: var(--gap-2xs);
88
88
  }
89
- } .tabs__borderVisible_1hetu:before {
89
+ } .tabs__borderVisible_1tz6i:before {
90
90
  background-color: var(--color-light-neutral-translucent-300);
91
91
  }
@@ -31,6 +31,10 @@ type ScrollableContainerProps = {
31
31
  * Размер
32
32
  */
33
33
  size: TabsProps['size'];
34
+ /**
35
+ * Дополнительные инлайн стили для заголовка
36
+ */
37
+ inlineStyle?: React.CSSProperties;
34
38
  };
35
- declare const ScrollableContainer: ({ containerWrapperClassName, containerClassName, scrollControlsClassName, children, activeChild, fullWidthScroll, view, size, platform, }: ScrollableContainerProps & Pick<TabsProps, 'fullWidthScroll'> & PlatformProps) => React.JSX.Element;
39
+ declare const ScrollableContainer: ({ containerWrapperClassName, containerClassName, scrollControlsClassName, children, activeChild, fullWidthScroll, view, size, platform, inlineStyle, }: ScrollableContainerProps & Pick<TabsProps, 'fullWidthScroll'> & PlatformProps) => React.JSX.Element;
36
40
  export { ScrollableContainerProps, ScrollableContainer };
@@ -3,7 +3,7 @@ import cn from 'classnames';
3
3
  import { compute } from 'compute-scroll-into-view';
4
4
  import { ScrollControls } from '../scroll-controls/Component.js';
5
5
 
6
- const styles = {"scrollableContainerWrapper":"tabs__scrollableContainerWrapper_13pvh","container":"tabs__container_13pvh","fullWidthScroll":"tabs__fullWidthScroll_13pvh"};
6
+ const styles = {"scrollableContainerWrapper":"tabs__scrollableContainerWrapper_7kfpd","container":"tabs__container_7kfpd","fullWidthScroll":"tabs__fullWidthScroll_7kfpd"};
7
7
  require('./index.css')
8
8
 
9
9
  /**
@@ -14,7 +14,7 @@ const isOverflown = ({ clientWidth, scrollWidth }, controlsNode) => {
14
14
  const controlsWidth = controlsNode?.offsetWidth || 0;
15
15
  return scrollWidth > clientWidth + controlsWidth;
16
16
  };
17
- const ScrollableContainer = ({ containerWrapperClassName, containerClassName, scrollControlsClassName, children, activeChild, fullWidthScroll, view, size, platform, }) => {
17
+ const ScrollableContainer = ({ containerWrapperClassName, containerClassName, scrollControlsClassName, children, activeChild, fullWidthScroll, view, size, platform, inlineStyle, }) => {
18
18
  const containerRef = useRef(null);
19
19
  const controlsRef = useRef(null);
20
20
  const [overflown, setOverflown] = useState(false);
@@ -55,7 +55,7 @@ const ScrollableContainer = ({ containerWrapperClassName, containerClassName, sc
55
55
  }
56
56
  return () => { };
57
57
  }, [platform]);
58
- return (React.createElement("div", { className: cn(styles.scrollableContainerWrapper, containerWrapperClassName) },
58
+ return (React.createElement("div", { className: cn(styles.scrollableContainerWrapper, containerWrapperClassName), style: inlineStyle },
59
59
  React.createElement("div", { ref: containerRef, className: cn(styles.container, containerClassName, {
60
60
  [styles.fullWidthScroll]: fullWidthScroll,
61
61
  }) }, children),
@@ -1,4 +1,4 @@
1
- /* hash: 5f0v0 */
1
+ /* hash: iyxp1 */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -42,9 +42,9 @@
42
42
  /* size l */
43
43
 
44
44
  /* size xl */
45
- } .tabs__scrollableContainerWrapper_13pvh {
45
+ } .tabs__scrollableContainerWrapper_7kfpd {
46
46
  display: flex;
47
- } .tabs__container_13pvh {
47
+ } .tabs__container_7kfpd {
48
48
  position: relative;
49
49
  overflow-x: auto;
50
50
  overflow-y: hidden;
@@ -55,11 +55,11 @@
55
55
  /* focus-outline fix */
56
56
  margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
57
57
  padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs)
58
- } .tabs__container_13pvh::-webkit-scrollbar {
58
+ } .tabs__container_7kfpd::-webkit-scrollbar {
59
59
  display: none;
60
- } .tabs__container_13pvh > * {
60
+ } .tabs__container_7kfpd > * {
61
61
  flex-shrink: 0;
62
- } .tabs__fullWidthScroll_13pvh {
62
+ } .tabs__fullWidthScroll_7kfpd {
63
63
  padding-left: 0;
64
64
  margin: var(--gap-2xs-neg) var(--gap-m-neg);
65
65
  }
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
3
  import { PlatformProps, SecondaryTabListProps, Styles } from "../../typings";
4
- declare const SecondaryTabList: ({ styles, className, containerClassName, size, titles, selectedId, scrollable, fullWidthScroll, tagSize, onChange, dataTestId, TagComponent, platform, tagShape, tagView, }: SecondaryTabListProps & Styles & PlatformProps) => React.JSX.Element;
4
+ declare const SecondaryTabList: ({ styles, className, containerClassName, size, titles, selectedId, scrollable, fullWidthScroll, tagSize, onChange, dataTestId, TagComponent, platform, tagShape, tagView, inlineStyle, }: SecondaryTabListProps & Styles & PlatformProps) => React.JSX.Element;
5
5
  export { SecondaryTabList };
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { TagDesktop } from '@alfalab/core-components-tag/modern/desktop';
3
3
  import { SecondaryTabList } from './Component.js';
4
- import { c as commonStyles } from '../../index.module-8121bd57.js';
4
+ import { c as commonStyles } from '../../index.module-3bc1e97c.js';
5
5
 
6
6
  const SecondaryTabListDesktop = ({ size = 's', ...restProps }) => (React.createElement(SecondaryTabList, { ...restProps, TagComponent: TagDesktop, size: size, styles: commonStyles, tagSize: size, platform: 'desktop' }));
7
7
 
@@ -3,7 +3,7 @@ import cn from 'classnames';
3
3
  import { useTabs } from '../../hooks/use-tabs.js';
4
4
  import { ScrollableContainer } from '../scrollable-container/Component.js';
5
5
 
6
- const SecondaryTabList = ({ styles = {}, className, containerClassName, size, titles = [], selectedId = titles.length ? titles[0].id : undefined, scrollable = true, fullWidthScroll, tagSize = 'xs', onChange, dataTestId, TagComponent, platform, tagShape, tagView, }) => {
6
+ const SecondaryTabList = ({ styles = {}, className, containerClassName, size, titles = [], selectedId = titles.length ? titles[0].id : undefined, scrollable = true, fullWidthScroll, tagSize = 'xs', onChange, dataTestId, TagComponent, platform, tagShape, tagView, inlineStyle, }) => {
7
7
  const { focusedTab, selectedTab, getTabListItemProps } = useTabs({
8
8
  titles,
9
9
  selectedId,
@@ -20,7 +20,7 @@ const SecondaryTabList = ({ styles = {}, className, containerClassName, size, ti
20
20
  return (React.createElement(TagComponent, { ...getTabListItemProps(index), shape: tagShape, view: tagView, key: item.id, className: cn(styles.title, item.toggleClassName), checked: item.id === selectedId, size: tagSize, rightAddons: item.rightAddons }, item.title));
21
21
  })));
22
22
  };
23
- return scrollable ? (React.createElement(ScrollableContainer, { activeChild: focusedTab || selectedTab, containerClassName: containerClassName, fullWidthScroll: fullWidthScroll, view: 'secondary', size: size, platform: platform }, renderContent())) : (React.createElement("div", { className: cn(styles.container, containerClassName) }, renderContent()));
23
+ return scrollable ? (React.createElement(ScrollableContainer, { activeChild: focusedTab || selectedTab, containerClassName: containerClassName, fullWidthScroll: fullWidthScroll, view: 'secondary', size: size, platform: platform, inlineStyle: inlineStyle }, renderContent())) : (React.createElement("div", { className: cn(styles.container, containerClassName), style: inlineStyle }, renderContent()));
24
24
  };
25
25
 
26
26
  export { SecondaryTabList };
@@ -2,9 +2,9 @@ import React from 'react';
2
2
  import cn from 'classnames';
3
3
  import { TagMobile } from '@alfalab/core-components-tag/modern/mobile';
4
4
  import { SecondaryTabList } from './Component.js';
5
- import { c as commonStyles } from '../../index.module-8121bd57.js';
5
+ import { c as commonStyles } from '../../index.module-3bc1e97c.js';
6
6
 
7
- const mobileStyles = {"title":"tabs__title_ymzw1 tabs__title_1rzwq","mobile":"tabs__mobile_ymzw1"};
7
+ const mobileStyles = {"title":"tabs__title_1j4ax tabs__title_1hw8d","mobile":"tabs__mobile_1j4ax"};
8
8
  require('./mobile.css')
9
9
 
10
10
  const styles = {
@@ -1,4 +1,4 @@
1
- /* hash: 1b5pn */
1
+ /* hash: 1jhpj */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -50,29 +50,29 @@
50
50
 
51
51
  /* size xl */
52
52
  --secondary-tablist-xl-gaps: var(--gap-m);
53
- } .tabs__component_1rzwq {
53
+ } .tabs__component_1hw8d {
54
54
  position: relative;
55
55
  display: inline-flex;
56
- } .tabs__fullWidthScroll_1rzwq {
56
+ } .tabs__fullWidthScroll_1hw8d {
57
57
  margin: 0 var(--gap-m);
58
- } .tabs__container_1rzwq {
58
+ } .tabs__container_1hw8d {
59
59
  overflow: hidden;
60
60
 
61
61
  /* focus-outline fix */
62
62
  margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
63
63
  padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs);
64
- } .tabs__title_1rzwq {
64
+ } .tabs__title_1hw8d {
65
65
  white-space: nowrap;
66
- } /* sizes */ .tabs__xxs_1rzwq .tabs__title_1rzwq + .tabs__title_1rzwq {
66
+ } /* sizes */ .tabs__xxs_1hw8d .tabs__title_1hw8d + .tabs__title_1hw8d {
67
67
  margin-left: var(--secondary-tablist-xxs-gaps);
68
- } .tabs__xs_1rzwq .tabs__title_1rzwq + .tabs__title_1rzwq {
68
+ } .tabs__xs_1hw8d .tabs__title_1hw8d + .tabs__title_1hw8d {
69
69
  margin-left: var(--secondary-tablist-xs-gaps);
70
- } .tabs__s_1rzwq .tabs__title_1rzwq + .tabs__title_1rzwq {
70
+ } .tabs__s_1hw8d .tabs__title_1hw8d + .tabs__title_1hw8d {
71
71
  margin-left: var(--secondary-tablist-s-gaps);
72
- } .tabs__m_1rzwq .tabs__title_1rzwq + .tabs__title_1rzwq {
72
+ } .tabs__m_1hw8d .tabs__title_1hw8d + .tabs__title_1hw8d {
73
73
  margin-left: var(--secondary-tablist-m-gaps);
74
- } .tabs__l_1rzwq .tabs__title_1rzwq + .tabs__title_1rzwq {
74
+ } .tabs__l_1hw8d .tabs__title_1hw8d + .tabs__title_1hw8d {
75
75
  margin-left: var(--secondary-tablist-l-gaps);
76
- } .tabs__xl_1rzwq .tabs__title_1rzwq + .tabs__title_1rzwq {
76
+ } .tabs__xl_1hw8d .tabs__title_1hw8d + .tabs__title_1hw8d {
77
77
  margin-left: var(--secondary-tablist-xl-gaps);
78
78
  }
@@ -1,4 +1,4 @@
1
- /* hash: zfvej */
1
+ /* hash: 1czs8 */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  }/* deprecated */:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  }:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -51,30 +51,30 @@
51
51
 
52
52
  /* size xl */
53
53
  --secondary-tablist-xl-gaps: var(--gap-m);
54
- }.tabs__component_1rzwq {
54
+ }.tabs__component_1hw8d {
55
55
  position: relative;
56
56
  display: inline-flex;
57
- }.tabs__fullWidthScroll_1rzwq {
57
+ }.tabs__fullWidthScroll_1hw8d {
58
58
  margin: 0 var(--gap-m);
59
- }.tabs__container_1rzwq {
59
+ }.tabs__container_1hw8d {
60
60
  overflow: hidden;
61
61
 
62
62
  /* focus-outline fix */
63
63
  margin: var(--gap-2xs-neg) 0 var(--gap-2xs-neg) var(--gap-2xs-neg);
64
64
  padding: var(--gap-2xs) 0 var(--gap-2xs) var(--gap-2xs);
65
- }.tabs__title_1rzwq {
65
+ }.tabs__title_1hw8d {
66
66
  white-space: nowrap;
67
- }/* sizes */.tabs__xxs_1rzwq .tabs__title_1rzwq + .tabs__title_1rzwq {
67
+ }/* sizes */.tabs__xxs_1hw8d .tabs__title_1hw8d + .tabs__title_1hw8d {
68
68
  margin-left: var(--secondary-tablist-xxs-gaps);
69
- }.tabs__xs_1rzwq .tabs__title_1rzwq + .tabs__title_1rzwq {
69
+ }.tabs__xs_1hw8d .tabs__title_1hw8d + .tabs__title_1hw8d {
70
70
  margin-left: var(--secondary-tablist-xs-gaps);
71
- }.tabs__s_1rzwq .tabs__title_1rzwq + .tabs__title_1rzwq {
71
+ }.tabs__s_1hw8d .tabs__title_1hw8d + .tabs__title_1hw8d {
72
72
  margin-left: var(--secondary-tablist-s-gaps);
73
- }.tabs__m_1rzwq .tabs__title_1rzwq + .tabs__title_1rzwq {
73
+ }.tabs__m_1hw8d .tabs__title_1hw8d + .tabs__title_1hw8d {
74
74
  margin-left: var(--secondary-tablist-m-gaps);
75
- }.tabs__l_1rzwq .tabs__title_1rzwq + .tabs__title_1rzwq {
75
+ }.tabs__l_1hw8d .tabs__title_1hw8d + .tabs__title_1hw8d {
76
76
  margin-left: var(--secondary-tablist-l-gaps);
77
- }.tabs__xl_1rzwq .tabs__title_1rzwq + .tabs__title_1rzwq {
77
+ }.tabs__xl_1hw8d .tabs__title_1hw8d + .tabs__title_1hw8d {
78
78
  margin-left: var(--secondary-tablist-xl-gaps);
79
79
  } :root {
80
80
  --color-dark-indigo: #0b1f35; /* deprecated */
@@ -1663,7 +1663,7 @@
1663
1663
 
1664
1664
  /* size xl */
1665
1665
  --secondary-tablist-xl-gaps: var(--gap-m);
1666
- } .tabs__title_ymzw1 {
1667
- } .tabs__mobile_ymzw1 .tabs__title_ymzw1 + .tabs__title_ymzw1 {
1666
+ } .tabs__title_1j4ax {
1667
+ } .tabs__mobile_1j4ax .tabs__title_1j4ax + .tabs__title_1j4ax {
1668
1668
  margin-left: var(--secondary-tablist-mobile-gaps);
1669
1669
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- const styles = {"component":"tabs__component_j1e97","hidden":"tabs__hidden_j1e97"};
4
+ const styles = {"component":"tabs__component_1wlzk","hidden":"tabs__hidden_1wlzk"};
5
5
  require('./index.css')
6
6
 
7
7
  const Tab = ({ children, hidden, className, disabled, dataTestId }) => children ? (React.createElement("div", { className: cn(styles.component, {
@@ -1,8 +1,8 @@
1
- /* hash: vq2op */
2
- .tabs__component_j1e97 {
1
+ /* hash: i65uo */
2
+ .tabs__component_1wlzk {
3
3
  outline: none;
4
4
  }
5
5
 
6
- .tabs__hidden_j1e97 {
6
+ .tabs__hidden_1wlzk {
7
7
  display: none;
8
8
  }
@@ -13,8 +13,8 @@ const Tabs = ({ TabList, className, containerClassName, size, defaultMatchMediaV
13
13
  toggleRef,
14
14
  }));
15
15
  const tabs = tabsArray.filter((tab) => tab.props.id === selectedId || tab.props.keepMounted || keepMounted);
16
- return (React.createElement("div", { className: className, style: style },
17
- React.createElement(TabList, { containerClassName: containerClassName, size: size, titles: titles, selectedId: selectedId, scrollable: scrollable, collapsedTabsIds: collapsedTabsIds, onChange: onChange, dataTestId: dataTestId, defaultMatchMediaValue: defaultMatchMediaValue, fullWidthScroll: fullWidthScroll, breakpoint: breakpoint, tagShape: tagShape, tagView: tagView, textStyle: textStyle }),
16
+ return (React.createElement("div", { className: className },
17
+ React.createElement(TabList, { containerClassName: containerClassName, size: size, titles: titles, selectedId: selectedId, scrollable: scrollable, collapsedTabsIds: collapsedTabsIds, onChange: onChange, dataTestId: dataTestId, defaultMatchMediaValue: defaultMatchMediaValue, fullWidthScroll: fullWidthScroll, breakpoint: breakpoint, tagShape: tagShape, tagView: tagView, textStyle: textStyle, inlineStyle: style }),
18
18
  tabs.map((tab) => cloneElement(tab, { hidden: tab.props.id !== selectedId }))));
19
19
  };
20
20
 
@@ -0,0 +1,4 @@
1
+ const styles = {"component":"tabs__component_od4ww","desktop":"tabs__desktop_od4ww","paragraph-primary-large":"tabs__paragraph-primary-large_od4ww","title":"tabs__title_od4ww","paragraph-primary-medium":"tabs__paragraph-primary-medium_od4ww","paragraph-primary-small":"tabs__paragraph-primary-small_od4ww","action-primary-large":"tabs__action-primary-large_od4ww","action-primary-medium":"tabs__action-primary-medium_od4ww","action-primary-small":"tabs__action-primary-small_od4ww","accent-primary-large":"tabs__accent-primary-large_od4ww","accent-primary-medium":"tabs__accent-primary-medium_od4ww","accent-primary-small":"tabs__accent-primary-small_od4ww","pickerWrapper":"tabs__pickerWrapper_od4ww","option":"tabs__option_od4ww","scrollControls":"tabs__scrollControls_od4ww","headline-system-xlarge":"tabs__headline-system-xlarge_od4ww","headline-system-large":"tabs__headline-system-large_od4ww","headline-system-medium":"tabs__headline-system-medium_od4ww","headline-system-small":"tabs__headline-system-small_od4ww","headline-system-xsmall":"tabs__headline-system-xsmall_od4ww","headline-xlarge":"tabs__headline-xlarge_od4ww","headline-large":"tabs__headline-large_od4ww","headline-medium":"tabs__headline-medium_od4ww","headline-small":"tabs__headline-small_od4ww","headline-xsmall":"tabs__headline-xsmall_od4ww","fullWidthScroll":"tabs__fullWidthScroll_od4ww","container":"tabs__container_od4ww","disabled":"tabs__disabled_od4ww","focused":"tabs__focused_od4ww","collapsed":"tabs__collapsed_od4ww","selected":"tabs__selected_od4ww","line":"tabs__line_od4ww","s":"tabs__s_od4ww","xs":"tabs__xs_od4ww","xxs":"tabs__xxs_od4ww","m":"tabs__m_od4ww","l":"tabs__l_od4ww","xl":"tabs__xl_od4ww","rightAddons":"tabs__rightAddons_od4ww","rightAddonsMarginZero":"tabs__rightAddonsMarginZero_od4ww"};
2
+ require('./components/primary-tablist/index.css')
3
+
4
+ export { styles as s };
@@ -0,0 +1,4 @@
1
+ const commonStyles = {"component":"tabs__component_1hw8d","fullWidthScroll":"tabs__fullWidthScroll_1hw8d","container":"tabs__container_1hw8d","title":"tabs__title_1hw8d","xxs":"tabs__xxs_1hw8d","xs":"tabs__xs_1hw8d","s":"tabs__s_1hw8d","m":"tabs__m_1hw8d","l":"tabs__l_1hw8d","xl":"tabs__xl_1hw8d"};
2
+ require('./components/secondary-tablist/index.css')
3
+
4
+ export { commonStyles as c };
@@ -155,6 +155,10 @@ type TabListProps = Pick<TabsProps, 'className' | 'containerClassName' | 'size'
155
155
  * @default 1024
156
156
  */
157
157
  breakpoint?: number;
158
+ /**
159
+ * Дополнительные инлайн стили для заголовка
160
+ */
161
+ inlineStyle?: React.CSSProperties;
158
162
  };
159
163
  type SecondaryTabListProps = TabListProps & {
160
164
  tagSize?: TagProps['size'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-tabs",
3
- "version": "8.7.1",
3
+ "version": "8.8.0",
4
4
  "description": "Tabs components",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -16,7 +16,7 @@
16
16
  "dependencies": {
17
17
  "@alfalab/core-components-keyboard-focusable": "^4.1.0",
18
18
  "@alfalab/core-components-tag": "^8.2.0",
19
- "@alfalab/core-components-picker-button": "^11.6.7",
19
+ "@alfalab/core-components-picker-button": "^11.7.0",
20
20
  "@alfalab/core-components-badge": "^5.5.1",
21
21
  "@alfalab/core-components-mq": "^4.2.0",
22
22
  "@alfalab/hooks": "^1.13.0",
@@ -23,6 +23,7 @@ export const PrimaryTabList = ({
23
23
  dataTestId,
24
24
  platform,
25
25
  textStyle,
26
+ inlineStyle,
26
27
  }: TabListProps & Styles & PlatformProps) => {
27
28
  const lineRef = useRef<HTMLDivElement>(null);
28
29
 
@@ -89,11 +90,15 @@ export const PrimaryTabList = ({
89
90
  view='primary'
90
91
  size={textStyle ? undefined : size}
91
92
  platform={platform}
93
+ inlineStyle={inlineStyle}
92
94
  >
93
95
  {renderContent()}
94
96
  </ScrollableContainer>
95
97
  ) : (
96
- <div className={cn(styles.container, wrapperClassName, containerClassName)}>
98
+ <div
99
+ className={cn(styles.container, wrapperClassName, containerClassName)}
100
+ style={inlineStyle}
101
+ >
97
102
  {renderContent()}
98
103
  </div>
99
104
  );
@@ -47,6 +47,11 @@ export type ScrollableContainerProps = {
47
47
  * Размер
48
48
  */
49
49
  size: TabsProps['size'];
50
+
51
+ /**
52
+ * Дополнительные инлайн стили для заголовка
53
+ */
54
+ inlineStyle?: React.CSSProperties;
50
55
  };
51
56
 
52
57
  const isOverflown = (
@@ -68,6 +73,7 @@ export const ScrollableContainer = ({
68
73
  view,
69
74
  size,
70
75
  platform,
76
+ inlineStyle,
71
77
  }: ScrollableContainerProps & Pick<TabsProps, 'fullWidthScroll'> & PlatformProps) => {
72
78
  const containerRef = useRef<HTMLDivElement>(null);
73
79
  const controlsRef = useRef<HTMLDivElement>(null);
@@ -118,7 +124,10 @@ export const ScrollableContainer = ({
118
124
  }, [platform]);
119
125
 
120
126
  return (
121
- <div className={cn(styles.scrollableContainerWrapper, containerWrapperClassName)}>
127
+ <div
128
+ className={cn(styles.scrollableContainerWrapper, containerWrapperClassName)}
129
+ style={inlineStyle}
130
+ >
122
131
  <div
123
132
  ref={containerRef}
124
133
  className={cn(styles.container, containerClassName, {
@@ -21,6 +21,7 @@ export const SecondaryTabList = ({
21
21
  platform,
22
22
  tagShape,
23
23
  tagView,
24
+ inlineStyle,
24
25
  }: SecondaryTabListProps & Styles & PlatformProps) => {
25
26
  const { focusedTab, selectedTab, getTabListItemProps } = useTabs({
26
27
  titles,
@@ -69,10 +70,13 @@ export const SecondaryTabList = ({
69
70
  view='secondary'
70
71
  size={size}
71
72
  platform={platform}
73
+ inlineStyle={inlineStyle}
72
74
  >
73
75
  {renderContent()}
74
76
  </ScrollableContainer>
75
77
  ) : (
76
- <div className={cn(styles.container, containerClassName)}>{renderContent()}</div>
78
+ <div className={cn(styles.container, containerClassName)} style={inlineStyle}>
79
+ {renderContent()}
80
+ </div>
77
81
  );
78
82
  };
@@ -52,7 +52,7 @@ export const Tabs = ({
52
52
  );
53
53
 
54
54
  return (
55
- <div className={className} style={style}>
55
+ <div className={className}>
56
56
  <TabList
57
57
  containerClassName={containerClassName}
58
58
  size={size}
@@ -68,6 +68,7 @@ export const Tabs = ({
68
68
  tagShape={tagShape}
69
69
  tagView={tagView}
70
70
  textStyle={textStyle}
71
+ inlineStyle={style}
71
72
  />
72
73
 
73
74
  {tabs.map((tab) => cloneElement(tab, { hidden: tab.props.id !== selectedId }))}
package/src/typings.ts CHANGED
@@ -221,6 +221,10 @@ export type TabListProps = Pick<
221
221
  * @default 1024
222
222
  */
223
223
  breakpoint?: number;
224
+ /**
225
+ * Дополнительные инлайн стили для заголовка
226
+ */
227
+ inlineStyle?: React.CSSProperties;
224
228
  };
225
229
 
226
230
  export type SecondaryTabListProps = TabListProps & {
package/typings.d.ts CHANGED
@@ -155,6 +155,10 @@ type TabListProps = Pick<TabsProps, 'className' | 'containerClassName' | 'size'
155
155
  * @default 1024
156
156
  */
157
157
  breakpoint?: number;
158
+ /**
159
+ * Дополнительные инлайн стили для заголовка
160
+ */
161
+ inlineStyle?: React.CSSProperties;
158
162
  };
159
163
  type SecondaryTabListProps = TabListProps & {
160
164
  tagSize?: TagProps['size'];
@@ -1,4 +0,0 @@
1
- var styles = {"component":"tabs__component_15a3z","desktop":"tabs__desktop_15a3z","paragraph-primary-large":"tabs__paragraph-primary-large_15a3z","title":"tabs__title_15a3z","paragraph-primary-medium":"tabs__paragraph-primary-medium_15a3z","paragraph-primary-small":"tabs__paragraph-primary-small_15a3z","action-primary-large":"tabs__action-primary-large_15a3z","action-primary-medium":"tabs__action-primary-medium_15a3z","action-primary-small":"tabs__action-primary-small_15a3z","accent-primary-large":"tabs__accent-primary-large_15a3z","accent-primary-medium":"tabs__accent-primary-medium_15a3z","accent-primary-small":"tabs__accent-primary-small_15a3z","pickerWrapper":"tabs__pickerWrapper_15a3z","option":"tabs__option_15a3z","scrollControls":"tabs__scrollControls_15a3z","headline-system-xlarge":"tabs__headline-system-xlarge_15a3z","headline-system-large":"tabs__headline-system-large_15a3z","headline-system-medium":"tabs__headline-system-medium_15a3z","headline-system-small":"tabs__headline-system-small_15a3z","headline-system-xsmall":"tabs__headline-system-xsmall_15a3z","headline-xlarge":"tabs__headline-xlarge_15a3z","headline-large":"tabs__headline-large_15a3z","headline-medium":"tabs__headline-medium_15a3z","headline-small":"tabs__headline-small_15a3z","headline-xsmall":"tabs__headline-xsmall_15a3z","fullWidthScroll":"tabs__fullWidthScroll_15a3z","container":"tabs__container_15a3z","disabled":"tabs__disabled_15a3z","focused":"tabs__focused_15a3z","collapsed":"tabs__collapsed_15a3z","selected":"tabs__selected_15a3z","line":"tabs__line_15a3z","s":"tabs__s_15a3z","xs":"tabs__xs_15a3z","xxs":"tabs__xxs_15a3z","m":"tabs__m_15a3z","l":"tabs__l_15a3z","xl":"tabs__xl_15a3z","rightAddons":"tabs__rightAddons_15a3z","rightAddonsMarginZero":"tabs__rightAddonsMarginZero_15a3z"};
2
- require('./components/primary-tablist/index.css')
3
-
4
- export { styles as s };
@@ -1,4 +0,0 @@
1
- var commonStyles = {"component":"tabs__component_1rzwq","fullWidthScroll":"tabs__fullWidthScroll_1rzwq","container":"tabs__container_1rzwq","title":"tabs__title_1rzwq","xxs":"tabs__xxs_1rzwq","xs":"tabs__xs_1rzwq","s":"tabs__s_1rzwq","m":"tabs__m_1rzwq","l":"tabs__l_1rzwq","xl":"tabs__xl_1rzwq"};
2
- require('./components/secondary-tablist/index.css')
3
-
4
- export { commonStyles as c };
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var styles = {"component":"tabs__component_15a3z","desktop":"tabs__desktop_15a3z","paragraph-primary-large":"tabs__paragraph-primary-large_15a3z","title":"tabs__title_15a3z","paragraph-primary-medium":"tabs__paragraph-primary-medium_15a3z","paragraph-primary-small":"tabs__paragraph-primary-small_15a3z","action-primary-large":"tabs__action-primary-large_15a3z","action-primary-medium":"tabs__action-primary-medium_15a3z","action-primary-small":"tabs__action-primary-small_15a3z","accent-primary-large":"tabs__accent-primary-large_15a3z","accent-primary-medium":"tabs__accent-primary-medium_15a3z","accent-primary-small":"tabs__accent-primary-small_15a3z","pickerWrapper":"tabs__pickerWrapper_15a3z","option":"tabs__option_15a3z","scrollControls":"tabs__scrollControls_15a3z","headline-system-xlarge":"tabs__headline-system-xlarge_15a3z","headline-system-large":"tabs__headline-system-large_15a3z","headline-system-medium":"tabs__headline-system-medium_15a3z","headline-system-small":"tabs__headline-system-small_15a3z","headline-system-xsmall":"tabs__headline-system-xsmall_15a3z","headline-xlarge":"tabs__headline-xlarge_15a3z","headline-large":"tabs__headline-large_15a3z","headline-medium":"tabs__headline-medium_15a3z","headline-small":"tabs__headline-small_15a3z","headline-xsmall":"tabs__headline-xsmall_15a3z","fullWidthScroll":"tabs__fullWidthScroll_15a3z","container":"tabs__container_15a3z","disabled":"tabs__disabled_15a3z","focused":"tabs__focused_15a3z","collapsed":"tabs__collapsed_15a3z","selected":"tabs__selected_15a3z","line":"tabs__line_15a3z","s":"tabs__s_15a3z","xs":"tabs__xs_15a3z","xxs":"tabs__xxs_15a3z","m":"tabs__m_15a3z","l":"tabs__l_15a3z","xl":"tabs__xl_15a3z","rightAddons":"tabs__rightAddons_15a3z","rightAddonsMarginZero":"tabs__rightAddonsMarginZero_15a3z"};
4
- require('./components/primary-tablist/index.css')
5
-
6
- exports.styles = styles;
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var commonStyles = {"component":"tabs__component_1rzwq","fullWidthScroll":"tabs__fullWidthScroll_1rzwq","container":"tabs__container_1rzwq","title":"tabs__title_1rzwq","xxs":"tabs__xxs_1rzwq","xs":"tabs__xs_1rzwq","s":"tabs__s_1rzwq","m":"tabs__m_1rzwq","l":"tabs__l_1rzwq","xl":"tabs__xl_1rzwq"};
4
- require('./components/secondary-tablist/index.css')
5
-
6
- exports.commonStyles = commonStyles;
@@ -1,4 +0,0 @@
1
- const commonStyles = {"component":"tabs__component_1rzwq","fullWidthScroll":"tabs__fullWidthScroll_1rzwq","container":"tabs__container_1rzwq","title":"tabs__title_1rzwq","xxs":"tabs__xxs_1rzwq","xs":"tabs__xs_1rzwq","s":"tabs__s_1rzwq","m":"tabs__m_1rzwq","l":"tabs__l_1rzwq","xl":"tabs__xl_1rzwq"};
2
- require('./components/secondary-tablist/index.css')
3
-
4
- export { commonStyles as c };
@@ -1,4 +0,0 @@
1
- const styles = {"component":"tabs__component_15a3z","desktop":"tabs__desktop_15a3z","paragraph-primary-large":"tabs__paragraph-primary-large_15a3z","title":"tabs__title_15a3z","paragraph-primary-medium":"tabs__paragraph-primary-medium_15a3z","paragraph-primary-small":"tabs__paragraph-primary-small_15a3z","action-primary-large":"tabs__action-primary-large_15a3z","action-primary-medium":"tabs__action-primary-medium_15a3z","action-primary-small":"tabs__action-primary-small_15a3z","accent-primary-large":"tabs__accent-primary-large_15a3z","accent-primary-medium":"tabs__accent-primary-medium_15a3z","accent-primary-small":"tabs__accent-primary-small_15a3z","pickerWrapper":"tabs__pickerWrapper_15a3z","option":"tabs__option_15a3z","scrollControls":"tabs__scrollControls_15a3z","headline-system-xlarge":"tabs__headline-system-xlarge_15a3z","headline-system-large":"tabs__headline-system-large_15a3z","headline-system-medium":"tabs__headline-system-medium_15a3z","headline-system-small":"tabs__headline-system-small_15a3z","headline-system-xsmall":"tabs__headline-system-xsmall_15a3z","headline-xlarge":"tabs__headline-xlarge_15a3z","headline-large":"tabs__headline-large_15a3z","headline-medium":"tabs__headline-medium_15a3z","headline-small":"tabs__headline-small_15a3z","headline-xsmall":"tabs__headline-xsmall_15a3z","fullWidthScroll":"tabs__fullWidthScroll_15a3z","container":"tabs__container_15a3z","disabled":"tabs__disabled_15a3z","focused":"tabs__focused_15a3z","collapsed":"tabs__collapsed_15a3z","selected":"tabs__selected_15a3z","line":"tabs__line_15a3z","s":"tabs__s_15a3z","xs":"tabs__xs_15a3z","xxs":"tabs__xxs_15a3z","m":"tabs__m_15a3z","l":"tabs__l_15a3z","xl":"tabs__xl_15a3z","rightAddons":"tabs__rightAddons_15a3z","rightAddonsMarginZero":"tabs__rightAddonsMarginZero_15a3z"};
2
- require('./components/primary-tablist/index.css')
3
-
4
- export { styles as s };