@salutejs/plasma-new-hope 0.172.0-canary.1493.11403245502.0 → 0.172.0-canary.1495.11435163325.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (138) hide show
  1. package/cjs/components/Tabs/createTabsController.js.map +1 -1
  2. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +1 -0
  3. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  4. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +1 -0
  5. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
  6. package/cjs/index.js +0 -6
  7. package/cjs/index.js.map +1 -1
  8. package/emotion/cjs/components/Tabs/Tabs.template-doc.mdx +4 -22
  9. package/emotion/cjs/components/Tabs/index.js +0 -26
  10. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +1 -0
  11. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +1 -0
  12. package/emotion/cjs/examples/plasma_b2c/components/Tabs/TabItem.js +0 -6
  13. package/emotion/cjs/examples/plasma_b2c/components/Tabs/Tabs.js +1 -7
  14. package/emotion/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +22 -64
  15. package/emotion/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -19
  16. package/emotion/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +15 -19
  17. package/emotion/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +22 -64
  18. package/emotion/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -19
  19. package/emotion/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.js +15 -19
  20. package/emotion/es/components/Tabs/Tabs.template-doc.mdx +4 -22
  21. package/emotion/es/components/Tabs/index.js +0 -2
  22. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +1 -0
  23. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +1 -0
  24. package/emotion/es/examples/plasma_b2c/components/Tabs/TabItem.js +1 -7
  25. package/emotion/es/examples/plasma_b2c/components/Tabs/Tabs.js +2 -8
  26. package/emotion/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +22 -64
  27. package/emotion/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -19
  28. package/emotion/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +15 -19
  29. package/emotion/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +22 -64
  30. package/emotion/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -19
  31. package/emotion/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.js +15 -19
  32. package/es/components/Tabs/createTabsController.js.map +1 -1
  33. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +1 -0
  34. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  35. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +1 -0
  36. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
  37. package/es/index.js +0 -2
  38. package/es/index.js.map +1 -1
  39. package/package.json +4 -4
  40. package/styled-components/cjs/components/Tabs/Tabs.template-doc.mdx +4 -22
  41. package/styled-components/cjs/components/Tabs/index.js +0 -26
  42. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +1 -0
  43. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +1 -0
  44. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/TabItem.js +0 -6
  45. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/Tabs.js +1 -7
  46. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +22 -64
  47. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -4
  48. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +0 -4
  49. package/styled-components/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +22 -64
  50. package/styled-components/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -4
  51. package/styled-components/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.js +0 -4
  52. package/styled-components/es/components/Tabs/Tabs.template-doc.mdx +4 -22
  53. package/styled-components/es/components/Tabs/index.js +0 -2
  54. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +1 -0
  55. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +1 -0
  56. package/styled-components/es/examples/plasma_b2c/components/Tabs/TabItem.js +1 -7
  57. package/styled-components/es/examples/plasma_b2c/components/Tabs/Tabs.js +2 -8
  58. package/styled-components/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +22 -64
  59. package/styled-components/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -4
  60. package/styled-components/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +0 -4
  61. package/styled-components/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +22 -64
  62. package/styled-components/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -4
  63. package/styled-components/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.js +0 -4
  64. package/types/components/Tabs/TabItem.types.d.ts +10 -52
  65. package/types/components/Tabs/TabItem.types.d.ts.map +1 -1
  66. package/types/components/Tabs/Tabs.types.d.ts +2 -39
  67. package/types/components/Tabs/Tabs.types.d.ts.map +1 -1
  68. package/types/components/Tabs/createTabsController.d.ts +3 -3
  69. package/types/components/Tabs/createTabsController.d.ts.map +1 -1
  70. package/types/components/Tabs/index.d.ts +1 -3
  71. package/types/components/Tabs/index.d.ts.map +1 -1
  72. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.d.ts.map +1 -1
  73. package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.d.ts +2 -2
  74. package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.d.ts.map +1 -1
  75. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts +1 -74
  76. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts.map +1 -1
  77. package/types/examples/plasma_b2c/components/Tabs/Tabs.d.ts +2 -22
  78. package/types/examples/plasma_b2c/components/Tabs/Tabs.d.ts.map +1 -1
  79. package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.d.ts +0 -4
  80. package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.d.ts.map +1 -1
  81. package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.d.ts +0 -4
  82. package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.d.ts.map +1 -1
  83. package/types/examples/plasma_web/components/Tabs/TabItem.d.ts +0 -18
  84. package/types/examples/plasma_web/components/Tabs/TabItem.d.ts.map +1 -1
  85. package/types/examples/plasma_web/components/Tabs/Tabs.d.ts +1 -1
  86. package/types/examples/plasma_web/components/Tabs/Tabs.d.ts.map +1 -1
  87. package/types/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.d.ts +0 -4
  88. package/types/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.d.ts.map +1 -1
  89. package/types/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.d.ts +0 -4
  90. package/types/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.d.ts.map +1 -1
  91. package/cjs/components/Tabs/ui/header/HeaderTabItem/HeaderTabItem.css +0 -13
  92. package/cjs/components/Tabs/ui/header/HeaderTabItem/HeaderTabItem.js +0 -37
  93. package/cjs/components/Tabs/ui/header/HeaderTabItem/HeaderTabItem.js.map +0 -1
  94. package/cjs/components/Tabs/ui/header/HeaderTabs/HeaderTabs.css +0 -16
  95. package/cjs/components/Tabs/ui/header/HeaderTabs/HeaderTabs.js +0 -37
  96. package/cjs/components/Tabs/ui/header/HeaderTabs/HeaderTabs.js.map +0 -1
  97. package/emotion/cjs/components/Tabs/ui/header/HeaderTabItem/HeaderTabItem.js +0 -34
  98. package/emotion/cjs/components/Tabs/ui/header/HeaderTabs/HeaderTabs.js +0 -34
  99. package/emotion/cjs/examples/plasma_b2c/components/Tabs/header/HeaderTabItem.config.js +0 -29
  100. package/emotion/cjs/examples/plasma_b2c/components/Tabs/header/HeaderTabs.config.js +0 -30
  101. package/emotion/cjs/examples/plasma_web/components/Tabs/header/HeaderTabItem.config.js +0 -29
  102. package/emotion/cjs/examples/plasma_web/components/Tabs/header/HeaderTabs.config.js +0 -30
  103. package/emotion/es/components/Tabs/ui/header/HeaderTabItem/HeaderTabItem.js +0 -28
  104. package/emotion/es/components/Tabs/ui/header/HeaderTabs/HeaderTabs.js +0 -28
  105. package/emotion/es/examples/plasma_b2c/components/Tabs/header/HeaderTabItem.config.js +0 -23
  106. package/emotion/es/examples/plasma_b2c/components/Tabs/header/HeaderTabs.config.js +0 -24
  107. package/emotion/es/examples/plasma_web/components/Tabs/header/HeaderTabItem.config.js +0 -23
  108. package/emotion/es/examples/plasma_web/components/Tabs/header/HeaderTabs.config.js +0 -24
  109. package/es/components/Tabs/ui/header/HeaderTabItem/HeaderTabItem.css +0 -13
  110. package/es/components/Tabs/ui/header/HeaderTabItem/HeaderTabItem.js +0 -32
  111. package/es/components/Tabs/ui/header/HeaderTabItem/HeaderTabItem.js.map +0 -1
  112. package/es/components/Tabs/ui/header/HeaderTabs/HeaderTabs.css +0 -16
  113. package/es/components/Tabs/ui/header/HeaderTabs/HeaderTabs.js +0 -32
  114. package/es/components/Tabs/ui/header/HeaderTabs/HeaderTabs.js.map +0 -1
  115. package/styled-components/cjs/components/Tabs/ui/header/HeaderTabItem/HeaderTabItem.js +0 -34
  116. package/styled-components/cjs/components/Tabs/ui/header/HeaderTabs/HeaderTabs.js +0 -34
  117. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/header/HeaderTabItem.config.js +0 -29
  118. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/header/HeaderTabs.config.js +0 -30
  119. package/styled-components/cjs/examples/plasma_web/components/Tabs/header/HeaderTabItem.config.js +0 -29
  120. package/styled-components/cjs/examples/plasma_web/components/Tabs/header/HeaderTabs.config.js +0 -30
  121. package/styled-components/es/components/Tabs/ui/header/HeaderTabItem/HeaderTabItem.js +0 -28
  122. package/styled-components/es/components/Tabs/ui/header/HeaderTabs/HeaderTabs.js +0 -28
  123. package/styled-components/es/examples/plasma_b2c/components/Tabs/header/HeaderTabItem.config.js +0 -23
  124. package/styled-components/es/examples/plasma_b2c/components/Tabs/header/HeaderTabs.config.js +0 -24
  125. package/styled-components/es/examples/plasma_web/components/Tabs/header/HeaderTabItem.config.js +0 -23
  126. package/styled-components/es/examples/plasma_web/components/Tabs/header/HeaderTabs.config.js +0 -24
  127. package/types/components/Tabs/ui/header/HeaderTabItem/HeaderTabItem.d.ts +0 -25
  128. package/types/components/Tabs/ui/header/HeaderTabItem/HeaderTabItem.d.ts.map +0 -1
  129. package/types/components/Tabs/ui/header/HeaderTabs/HeaderTabs.d.ts +0 -25
  130. package/types/components/Tabs/ui/header/HeaderTabs/HeaderTabs.d.ts.map +0 -1
  131. package/types/examples/plasma_b2c/components/Tabs/header/HeaderTabItem.config.d.ts +0 -22
  132. package/types/examples/plasma_b2c/components/Tabs/header/HeaderTabItem.config.d.ts.map +0 -1
  133. package/types/examples/plasma_b2c/components/Tabs/header/HeaderTabs.config.d.ts +0 -23
  134. package/types/examples/plasma_b2c/components/Tabs/header/HeaderTabs.config.d.ts.map +0 -1
  135. package/types/examples/plasma_web/components/Tabs/header/HeaderTabItem.config.d.ts +0 -22
  136. package/types/examples/plasma_web/components/Tabs/header/HeaderTabItem.config.d.ts.map +0 -1
  137. package/types/examples/plasma_web/components/Tabs/header/HeaderTabs.config.d.ts +0 -23
  138. package/types/examples/plasma_web/components/Tabs/header/HeaderTabs.config.d.ts.map +0 -1
@@ -17,10 +17,6 @@ export var config = {
17
17
  s: /*#__PURE__*/css(["", ":0.5rem;", ":auto;", ":2.5rem;", ":0 0.625rem;", ":0 0.5rem;", ":1.75rem;", ":0.25rem;", ":0.125rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);"], tabsTokens.itemBorderRadius, tabsTokens.itemWidth, tabsTokens.itemHeight, tabsTokens.itemPadding, tabsTokens.itemPaddingPilled, tabsTokens.itemMarginLeft, tabsTokens.itemContentGap, tabsTokens.itemContentPadding, tabsTokens.fontFamily, tabsTokens.fontSize, tabsTokens.fontStyle, tabsTokens.fontWeight, tabsTokens.letterSpacing, tabsTokens.lineHeight),
18
18
  m: /*#__PURE__*/css(["", ":0.625rem;", ":auto;", ":3rem;", ":0 0.625rem;", ":0 0.5rem;", ":1.75rem;", ":0.375rem;", ":0.125rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);"], tabsTokens.itemBorderRadius, tabsTokens.itemWidth, tabsTokens.itemHeight, tabsTokens.itemPadding, tabsTokens.itemPaddingPilled, tabsTokens.itemMarginLeft, tabsTokens.itemContentGap, tabsTokens.itemContentPadding, tabsTokens.fontFamily, tabsTokens.fontSize, tabsTokens.fontStyle, tabsTokens.fontWeight, tabsTokens.letterSpacing, tabsTokens.lineHeight),
19
19
  l: /*#__PURE__*/css(["", ":0.75rem;", ":auto;", ":3.5rem;", ":0 0.875rem;", ":0 0.75rem;", ":1.75rem;", ":0.5rem;", ":0.125rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);"], tabsTokens.itemBorderRadius, tabsTokens.itemWidth, tabsTokens.itemHeight, tabsTokens.itemPadding, tabsTokens.itemPaddingPilled, tabsTokens.itemMarginLeft, tabsTokens.itemContentGap, tabsTokens.itemContentPadding, tabsTokens.fontFamily, tabsTokens.fontSize, tabsTokens.fontStyle, tabsTokens.fontWeight, tabsTokens.letterSpacing, tabsTokens.lineHeight),
20
- /**
21
- * @deprecated
22
- * вместо h1-h5 использовать HorizontalTabItem со свойством header
23
- */
24
20
  h5: /*#__PURE__*/css(["", ":0.375rem;", ":auto;", ":3rem;", ":0rem;", ":1.75rem;", ":0.625rem;", ":var(--plasma-typo-h5-font-family);", ":var(--plasma-typo-h5-font-size);", ":var(--plasma-typo-h5-font-style);", ":var(--plasma-typo-h5-font-weight);", ":var(--plasma-typo-h5-letter-spacing);", ":var(--plasma-typo-h5-line-height);"], tabsTokens.itemBorderRadius, tabsTokens.itemWidth, tabsTokens.itemHeight, tabsTokens.itemPadding, tabsTokens.itemMarginLeft, tabsTokens.itemContentGap, tabsTokens.fontFamily, tabsTokens.fontSize, tabsTokens.fontStyle, tabsTokens.fontWeight, tabsTokens.letterSpacing, tabsTokens.lineHeight),
25
21
  h4: /*#__PURE__*/css(["", ":0.375rem;", ":auto;", ":3.25rem;", ":0rem;", ":2rem;", ":0.625rem;", ":var(--plasma-typo-h4-font-family);", ":var(--plasma-typo-h4-font-size);", ":var(--plasma-typo-h4-font-style);", ":var(--plasma-typo-h4-font-weight);", ":var(--plasma-typo-h4-letter-spacing);", ":var(--plasma-typo-h4-line-height);"], tabsTokens.itemBorderRadius, tabsTokens.itemWidth, tabsTokens.itemHeight, tabsTokens.itemPadding, tabsTokens.itemMarginLeft, tabsTokens.itemContentGap, tabsTokens.fontFamily, tabsTokens.fontSize, tabsTokens.fontStyle, tabsTokens.fontWeight, tabsTokens.letterSpacing, tabsTokens.lineHeight),
26
22
  h3: /*#__PURE__*/css(["", ":0.5rem;", ":auto;", ":3.875rem;", ":0rem;", ":2.25rem;", ":0.75rem;", ":var(--plasma-typo-h3-font-family);", ":var(--plasma-typo-h3-font-size);", ":var(--plasma-typo-h3-font-style);", ":var(--plasma-typo-h3-font-weight);", ":var(--plasma-typo-h3-letter-spacing);", ":var(--plasma-typo-h3-line-height);"], tabsTokens.itemBorderRadius, tabsTokens.itemWidth, tabsTokens.itemHeight, tabsTokens.itemPadding, tabsTokens.itemMarginLeft, tabsTokens.itemContentGap, tabsTokens.fontFamily, tabsTokens.fontSize, tabsTokens.fontStyle, tabsTokens.fontWeight, tabsTokens.letterSpacing, tabsTokens.lineHeight),
@@ -16,10 +16,6 @@ export var config = {
16
16
  s: /*#__PURE__*/css(["", ":0.625rem;", ":fit-content;", ":auto;", ":0rem;", ":0.25rem;"], tabsTokens.tabsBorderRadius, tabsTokens.tabsWidth, tabsTokens.tabsHeight, tabsTokens.arrowInnerPadding, tabsTokens.arrowOuterPadding),
17
17
  m: /*#__PURE__*/css(["", ":0.75rem;", ":fit-content;", ":auto;", ":0rem;", ":0.625rem;"], tabsTokens.tabsBorderRadius, tabsTokens.tabsWidth, tabsTokens.tabsHeight, tabsTokens.arrowInnerPadding, tabsTokens.arrowOuterPadding),
18
18
  l: /*#__PURE__*/css(["", ":0.75rem;", ":fit-content;", ":auto;", ":0rem;", ":0.75rem;"], tabsTokens.tabsBorderRadius, tabsTokens.tabsWidth, tabsTokens.tabsHeight, tabsTokens.arrowInnerPadding, tabsTokens.arrowOuterPadding),
19
- /**
20
- * @deprecated
21
- * вместо h1-h5 использовать HorizontalTabs со свойством header
22
- */
23
19
  h5: /*#__PURE__*/css(["", ":0.5rem;", ":fit-content;", ":auto;", ":0.25rem;", ":0rem;"], tabsTokens.tabsBorderRadius, tabsTokens.tabsWidth, tabsTokens.tabsHeight, tabsTokens.arrowInnerPadding, tabsTokens.arrowOuterPadding),
24
20
  h4: /*#__PURE__*/css(["", ":0.5rem;", ":fit-content;", ":auto;", ":0.25rem;", ":0rem;"], tabsTokens.tabsBorderRadius, tabsTokens.tabsWidth, tabsTokens.tabsHeight, tabsTokens.arrowInnerPadding, tabsTokens.arrowOuterPadding),
25
21
  h3: /*#__PURE__*/css(["", ":0.625rem;", ":fit-content;", ":auto;", ":0.375rem;", ":0rem;"], tabsTokens.tabsBorderRadius, tabsTokens.tabsWidth, tabsTokens.tabsHeight, tabsTokens.arrowInnerPadding, tabsTokens.arrowOuterPadding),
@@ -29,6 +29,14 @@ export interface BaseTabItemProps extends ButtonHTMLAttributes<HTMLButtonElement
29
29
  * @default false
30
30
  */
31
31
  disabled?: boolean;
32
+ /**
33
+ * Контент слева
34
+ */
35
+ contentLeft?: ReactNode;
36
+ /**
37
+ * Контент справа
38
+ */
39
+ contentRight?: ReactNode;
32
40
  /**
33
41
  * Callback, необходимый для клавиатурной навигации
34
42
  */
@@ -43,14 +51,6 @@ export declare type CustomHorizontalTabItemProps = {
43
51
  * Расположение табов
44
52
  */
45
53
  orientation?: 'horizontal';
46
- /**
47
- * Являются ли табы header
48
- */
49
- header?: false;
50
- /**
51
- * Контент слева
52
- */
53
- contentLeft?: ReactNode;
54
54
  /**
55
55
  * TabItem c округлым border-radius
56
56
  * @default false
@@ -75,54 +75,11 @@ export declare type CustomHorizontalTabItemProps = {
75
75
  */
76
76
  isActive?: boolean;
77
77
  } & RightContent;
78
- export declare type CustomHeaderTabItemProps = {
79
- /**
80
- * Расположение табов
81
- */
82
- orientation?: 'horizontal';
83
- /**
84
- * Являются ли табы header
85
- */
86
- header: true;
87
- /**
88
- * Контент слева
89
- */
90
- contentLeft?: never;
91
- /**
92
- * TabItem c округлым border-radius
93
- * @default false
94
- */
95
- pilled?: never;
96
- /**
97
- * Фон TabItem меняется с анимацией
98
- * @default true
99
- */
100
- animated?: never;
101
- /**
102
- * Вид TabItem
103
- */
104
- view?: string;
105
- /**
106
- * Размер TabItem
107
- */
108
- size?: string;
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;
94
+ export declare type TabItemProps = HorizontalTabItemProps | VerticalTabItemProps;
137
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,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,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,MAAM,CAAC,EAAE,KAAK,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;;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,wBAAwB,GAAG;IACnC;;OAEG;IACH,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B;;OAEG;IACH,MAAM,EAAE,IAAI,CAAC;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB;;;OAGG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC;IACf;;;OAGG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;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"}
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,10 +24,6 @@ export declare type CustomHorizontalTabsProps = {
24
24
  * Расположение табов
25
25
  */
26
26
  orientation?: 'horizontal';
27
- /**
28
- * Являются ли табы header
29
- */
30
- header?: false;
31
27
  /**
32
28
  * Табы растянуты на доступную область
33
29
  * @default false
@@ -55,39 +51,6 @@ export declare type CustomHorizontalTabsProps = {
55
51
  right?: string;
56
52
  };
57
53
  };
58
- export declare type CustomHeaderTabsProps = {
59
- /**
60
- * Расположение табов
61
- */
62
- orientation?: 'horizontal';
63
- /**
64
- * Являются ли табы header
65
- */
66
- header: true;
67
- /**
68
- * Табы растянуты на доступную область
69
- * @default false
70
- */
71
- stretch?: never;
72
- /**
73
- * Табы c округлым border-radius
74
- * @default false
75
- */
76
- pilled?: never;
77
- /**
78
- * Вид табов
79
- */
80
- view?: string;
81
- /**
82
- * Размер табов
83
- */
84
- size?: string;
85
- /**
86
- * Уберет скругление с выбранной стороны и подвинет контейнер
87
- * @deprecated
88
- */
89
- outsideScroll?: never;
90
- };
91
54
  export declare type CustomVerticalTabsProps = {
92
55
  /**
93
56
  * Расположение табов
@@ -107,7 +70,7 @@ export declare type CustomVerticalTabsProps = {
107
70
  */
108
71
  size?: string;
109
72
  };
110
- export declare type HorizontalCommonTabsProps = BaseTabsProps & CustomHorizontalTabsProps;
111
- export declare type HorizontalTabsProps = BaseTabsProps & (CustomHorizontalTabsProps | CustomHeaderTabsProps);
73
+ export declare type HorizontalTabsProps = BaseTabsProps & CustomHorizontalTabsProps;
112
74
  export declare type VerticalTabsProps = BaseTabsProps & CustomVerticalTabsProps;
75
+ export declare type TabsProps = HorizontalTabsProps | VerticalTabsProps;
113
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;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC;IACf;;;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,qBAAqB,GAAG;IAChC;;OAEG;IACH,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B;;OAEG;IACH,MAAM,EAAE,IAAI,CAAC;IACb;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB;;;OAGG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC;CACzB,CAAC;AAGF,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,yBAAyB,GAAG,aAAa,GAAG,yBAAyB,CAAC;AAElF,oBAAY,mBAAmB,GAAG,aAAa,GAAG,CAAC,yBAAyB,GAAG,qBAAqB,CAAC,CAAC;AAEtG,oBAAY,iBAAiB,GAAG,aAAa,GAAG,uBAAuB,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 } 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>;
@@ -17,5 +17,5 @@ export interface TabsControllerProps extends HorizontalCommonTabsProps {
17
17
  * Функция для создания `TabController`, которая дает возможность
18
18
  * кастомизировать стили, при этом сохраняя единый интерфейс и функционал.
19
19
  */
20
- export declare function createTabsController<T extends HTMLDivElement, P extends TabsControllerProps>(ListComponent: ForwardRefExoticComponent<HorizontalCommonTabsProps & RefAttributes<HTMLDivElement>>, ItemComponent: ForwardRefExoticComponent<HorizontalTabItemProps & RefAttributes<HTMLDivElement>>): React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<T>>;
20
+ export declare function createTabsController<T extends HTMLDivElement, P extends TabsControllerProps>(ListComponent: ForwardRefExoticComponent<HorizontalTabsProps & RefAttributes<HTMLDivElement>>, ItemComponent: ForwardRefExoticComponent<HorizontalTabItemProps & RefAttributes<HTMLDivElement>>): React.ForwardRefExoticComponent<React.PropsWithoutRef<P> & React.RefAttributes<T>>;
21
21
  //# sourceMappingURL=createTabsController.d.ts.map
@@ -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,MAAM,cAAc,CAAC;AAEzD,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,yBAAyB,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC,EACnG,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"}
@@ -2,12 +2,10 @@ export { horizontalTabsRoot, horizontalTabsConfig } from './ui/horizontal/Horizo
2
2
  export { horizontalTabItemRoot, horizontalTabItemConfig } from './ui/horizontal/HorizontalTabItem/HorizontalTabItem';
3
3
  export { verticalTabsRoot, verticalTabsConfig } from './ui/vertical/VerticalTabs/VerticalTabs';
4
4
  export { verticalTabItemRoot, verticalTabItemConfig } from './ui/vertical/VerticalTabItem/VerticalTabItem';
5
- export { headerTabsRoot, headerTabsConfig } from './ui/header/HeaderTabs/HeaderTabs';
6
- export { headerTabItemRoot, headerTabItemConfig } from './ui/header/HeaderTabItem/HeaderTabItem';
7
5
  export { tokens as tabsTokens } from './tokens';
8
6
  export { TabItemRefs, TabsContext } from './TabsContext';
9
7
  export { createTabsController } from './createTabsController';
10
8
  export type { TabsControllerProps } from './createTabsController';
11
- export type { HorizontalTabsProps, HorizontalCommonTabsProps } from './Tabs.types';
9
+ export type { HorizontalTabsProps } from './Tabs.types';
12
10
  export type { HorizontalTabItemProps } from './TabItem.types';
13
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAC;AACzG,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,qDAAqD,CAAC;AACrH,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC/F,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AAC3G,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrF,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AACjG,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,YAAY,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAClE,YAAY,EAAE,mBAAmB,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AACnF,YAAY,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAC;AACzG,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,qDAAqD,CAAC;AACrH,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC/F,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AAC3G,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,YAAY,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAClE,YAAY,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACxD,YAAY,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC"}
@@ -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;AAQhE,eAAO,MAAM,qBAAqB,SAAU,UAAU,cAAc,EAAE,sBAAsB,CAAC,kGA8GvF,CAAC;AAEP,eAAO,MAAM,uBAAuB;;;mBAhHQ,UAAU,cAAc,EAAE,sBAAsB,CAAC;;;;;;;;;;;;;;;;;;;;CAuI5F,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;AAiB/D,eAAO,MAAM,kBAAkB,SAAU,UAAU,cAAc,EAAE,mBAAmB,CAAC,+FA4MjF,CAAC;AAEP,eAAO,MAAM,oBAAoB;;;mBA9MQ,UAAU,cAAc,EAAE,mBAAmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;CA0OtF,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"}
@@ -25,8 +25,6 @@ declare const HorizontalTabItem: React.FunctionComponent<import("../../../../eng
25
25
  };
26
26
  }> & ((import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
27
27
  orientation?: "horizontal" | undefined;
28
- header?: false | undefined;
29
- contentLeft?: React.ReactNode;
30
28
  pilled?: boolean | undefined;
31
29
  animated?: boolean | undefined;
32
30
  view?: string | undefined;
@@ -37,8 +35,6 @@ declare const HorizontalTabItem: React.FunctionComponent<import("../../../../eng
37
35
  contentRight?: undefined;
38
36
  } & React.RefAttributes<HTMLDivElement>) | (import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
39
37
  orientation?: "horizontal" | undefined;
40
- header?: false | undefined;
41
- contentLeft?: React.ReactNode;
42
38
  pilled?: boolean | undefined;
43
39
  animated?: boolean | undefined;
44
40
  view?: string | undefined;
@@ -47,18 +43,6 @@ declare const HorizontalTabItem: React.FunctionComponent<import("../../../../eng
47
43
  } & {
48
44
  value?: undefined;
49
45
  contentRight?: React.ReactNode;
50
- } & React.RefAttributes<HTMLDivElement>) | (import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
51
- orientation?: "horizontal" | undefined;
52
- header: true;
53
- contentLeft?: undefined;
54
- pilled?: undefined;
55
- animated?: undefined;
56
- view?: string | undefined;
57
- size?: string | undefined;
58
- isActive?: undefined;
59
- } & {
60
- value?: string | number | undefined;
61
- contentRight?: undefined;
62
46
  } & React.RefAttributes<HTMLDivElement>))>;
63
47
  declare const VerticalTabItem: React.FunctionComponent<import("../../../../engines/types").PropsType<{
64
48
  view: {
@@ -75,7 +59,6 @@ declare const VerticalTabItem: React.FunctionComponent<import("../../../../engin
75
59
  };
76
60
  }> & ((import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
77
61
  orientation: "vertical";
78
- contentLeft?: React.ReactNode;
79
62
  view?: string | undefined;
80
63
  size?: string | undefined;
81
64
  } & {
@@ -83,69 +66,13 @@ declare const VerticalTabItem: React.FunctionComponent<import("../../../../engin
83
66
  contentRight?: undefined;
84
67
  } & React.RefAttributes<HTMLButtonElement>) | (import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
85
68
  orientation: "vertical";
86
- contentLeft?: React.ReactNode;
87
69
  view?: string | undefined;
88
70
  size?: string | undefined;
89
71
  } & {
90
72
  value?: undefined;
91
73
  contentRight?: React.ReactNode;
92
74
  } & React.RefAttributes<HTMLButtonElement>))>;
93
- declare const HeaderTabItem: React.FunctionComponent<import("../../../../engines/types").PropsType<{
94
- view: {
95
- divider: import("@linaria/core").LinariaClassName;
96
- };
97
- size: {
98
- h5: import("@linaria/core").LinariaClassName;
99
- h4: import("@linaria/core").LinariaClassName;
100
- h3: import("@linaria/core").LinariaClassName;
101
- h2: import("@linaria/core").LinariaClassName;
102
- h1: import("@linaria/core").LinariaClassName;
103
- };
104
- disabled: {
105
- true: import("@linaria/core").LinariaClassName;
106
- };
107
- }> & ((import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
108
- orientation?: "horizontal" | undefined;
109
- header?: false | undefined;
110
- contentLeft?: React.ReactNode;
111
- pilled?: boolean | undefined;
112
- animated?: boolean | undefined;
113
- view?: string | undefined;
114
- size?: string | undefined;
115
- isActive?: boolean | undefined;
116
- } & {
117
- value?: string | number | undefined;
118
- contentRight?: undefined;
119
- } & React.RefAttributes<HTMLDivElement>) | (import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
120
- orientation?: "horizontal" | undefined;
121
- header?: false | undefined;
122
- contentLeft?: React.ReactNode;
123
- pilled?: boolean | undefined;
124
- animated?: boolean | undefined;
125
- view?: string | undefined;
126
- size?: string | undefined;
127
- isActive?: boolean | undefined;
128
- } & {
129
- value?: undefined;
130
- contentRight?: React.ReactNode;
131
- } & React.RefAttributes<HTMLDivElement>) | (import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
132
- orientation?: "horizontal" | undefined;
133
- header: true;
134
- contentLeft?: undefined;
135
- pilled?: undefined;
136
- animated?: undefined;
137
- view?: string | undefined;
138
- size?: string | undefined;
139
- isActive?: undefined;
140
- } & {
141
- value?: string | number | undefined;
142
- contentRight?: undefined;
143
- } & React.RefAttributes<HTMLDivElement>))>;
144
- declare type TabItemProps = (ComponentProps<typeof HorizontalTabItem> & {
145
- header?: false;
146
- }) | (ComponentProps<typeof HeaderTabItem> & {
147
- header: true;
148
- }) | ComponentProps<typeof VerticalTabItem>;
75
+ declare type TabItemProps = ComponentProps<typeof HorizontalTabItem> | ComponentProps<typeof VerticalTabItem>;
149
76
  export declare const TabItem: (props: TabItemProps) => JSX.Element;
150
77
  export {};
151
78
  //# sourceMappingURL=TabItem.d.ts.map
@@ -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;AAU9C,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0CAA2C,CAAC;AAGnE,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6CAAyC,CAAC;AAG/D,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0CAAuC,CAAC;AAE3D,aAAK,YAAY,GACX,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,GAAG;IAAE,MAAM,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC,GAC/D,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,GAAG;IAAE,MAAM,EAAE,IAAI,CAAA;CAAE,CAAC,GACzD,cAAc,CAAC,OAAO,eAAe,CAAC,CAAC;AAE7C,eAAO,MAAM,OAAO,UAAW,YAAY,gBAU1C,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;
@@ -40,27 +40,7 @@ declare const VerticalTabs: React.FunctionComponent<import("../../../../engines/
40
40
  true: import("@linaria/core").LinariaClassName;
41
41
  };
42
42
  }> & import("../../../../components/Tabs/Tabs.types").BaseTabsProps & import("../../../../components/Tabs/Tabs.types").CustomVerticalTabsProps & React.RefAttributes<HTMLDivElement>>;
43
- declare const HeaderTabs: React.FunctionComponent<import("../../../../engines/types").PropsType<{
44
- view: {
45
- clear: import("@linaria/core").LinariaClassName;
46
- divider: import("@linaria/core").LinariaClassName;
47
- };
48
- size: {
49
- h5: import("@linaria/core").LinariaClassName;
50
- h4: import("@linaria/core").LinariaClassName;
51
- h3: import("@linaria/core").LinariaClassName;
52
- h2: import("@linaria/core").LinariaClassName;
53
- h1: import("@linaria/core").LinariaClassName;
54
- };
55
- disabled: {
56
- true: import("@linaria/core").LinariaClassName;
57
- };
58
- }> & ((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>))>;
59
- declare type TabsProps = (ComponentProps<typeof HorizontalTabs> & {
60
- header?: false;
61
- }) | (ComponentProps<typeof HeaderTabs> & {
62
- header: true;
63
- }) | ComponentProps<typeof VerticalTabs>;
43
+ declare type TabsProps = ComponentProps<typeof HorizontalTabs> | ComponentProps<typeof VerticalTabs>;
64
44
  export declare const Tabs: (props: TabsProps) => JSX.Element;
65
45
  export {};
66
46
  //# sourceMappingURL=Tabs.d.ts.map
@@ -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;AAU9C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;6WAAwC,CAAC;AAG7D,QAAA,MAAM,YAAY;;;;;;;;;;;;;qLAAsC,CAAC;AAGzD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;6WAAoC,CAAC;AAErD,aAAK,SAAS,GACR,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,GAAG;IAAE,MAAM,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC,GAC5D,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,GAAG;IAAE,MAAM,EAAE,IAAI,CAAA;CAAE,CAAC,GACtD,cAAc,CAAC,OAAO,YAAY,CAAC,CAAC;AAE1C,eAAO,MAAM,IAAI,UAAW,SAAS,gBAUpC,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"}
@@ -15,10 +15,6 @@ export declare const config: {
15
15
  s: import("@linaria/core").LinariaClassName;
16
16
  m: import("@linaria/core").LinariaClassName;
17
17
  l: import("@linaria/core").LinariaClassName;
18
- /**
19
- * @deprecated
20
- * вместо h1-h5 использовать HorizontalTabItem со свойством header
21
- */
22
18
  h5: import("@linaria/core").LinariaClassName;
23
19
  h4: import("@linaria/core").LinariaClassName;
24
20
  h3: import("@linaria/core").LinariaClassName;
@@ -1 +1 @@
1
- {"version":3,"file":"HorizontalTabItem.config.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;YAmLP;;;eAGG;;;;;;;;;;;;;;CAwFd,CAAC"}
1
+ {"version":3,"file":"HorizontalTabItem.config.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0QlB,CAAC"}
@@ -14,10 +14,6 @@ export declare const config: {
14
14
  s: import("@linaria/core").LinariaClassName;
15
15
  m: import("@linaria/core").LinariaClassName;
16
16
  l: import("@linaria/core").LinariaClassName;
17
- /**
18
- * @deprecated
19
- * вместо h1-h5 использовать HorizontalTabs со свойством header
20
- */
21
17
  h5: import("@linaria/core").LinariaClassName;
22
18
  h4: import("@linaria/core").LinariaClassName;
23
19
  h3: import("@linaria/core").LinariaClassName;
@@ -1 +1 @@
1
- {"version":3,"file":"HorizontalTabs.config.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;YAgEP;;;eAGG;;;;;;;;;;;;;;;;;CAqDd,CAAC"}
1
+ {"version":3,"file":"HorizontalTabs.config.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoHlB,CAAC"}
@@ -25,8 +25,6 @@ declare const HorizontalTabItem: React.FunctionComponent<import("../../../../eng
25
25
  };
26
26
  }> & ((import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
27
27
  orientation?: "horizontal" | undefined;
28
- header?: false | undefined;
29
- contentLeft?: React.ReactNode;
30
28
  pilled?: boolean | undefined;
31
29
  animated?: boolean | undefined;
32
30
  view?: string | undefined;
@@ -37,8 +35,6 @@ declare const HorizontalTabItem: React.FunctionComponent<import("../../../../eng
37
35
  contentRight?: undefined;
38
36
  } & React.RefAttributes<HTMLDivElement>) | (import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
39
37
  orientation?: "horizontal" | undefined;
40
- header?: false | undefined;
41
- contentLeft?: React.ReactNode;
42
38
  pilled?: boolean | undefined;
43
39
  animated?: boolean | undefined;
44
40
  view?: string | undefined;
@@ -47,18 +43,6 @@ declare const HorizontalTabItem: React.FunctionComponent<import("../../../../eng
47
43
  } & {
48
44
  value?: undefined;
49
45
  contentRight?: React.ReactNode;
50
- } & React.RefAttributes<HTMLDivElement>) | (import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
51
- orientation?: "horizontal" | undefined;
52
- header: true;
53
- contentLeft?: undefined;
54
- pilled?: undefined;
55
- animated?: undefined;
56
- view?: string | undefined;
57
- size?: string | undefined;
58
- isActive?: undefined;
59
- } & {
60
- value?: string | number | undefined;
61
- contentRight?: undefined;
62
46
  } & React.RefAttributes<HTMLDivElement>))>;
63
47
  declare const VerticalTabItem: React.FunctionComponent<import("../../../../engines/types").PropsType<{
64
48
  view: {
@@ -75,7 +59,6 @@ declare const VerticalTabItem: React.FunctionComponent<import("../../../../engin
75
59
  };
76
60
  }> & ((import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
77
61
  orientation: "vertical";
78
- contentLeft?: React.ReactNode;
79
62
  view?: string | undefined;
80
63
  size?: string | undefined;
81
64
  } & {
@@ -83,7 +66,6 @@ declare const VerticalTabItem: React.FunctionComponent<import("../../../../engin
83
66
  contentRight?: undefined;
84
67
  } & React.RefAttributes<HTMLButtonElement>) | (import("../../../../components/Tabs/TabItem.types").BaseTabItemProps & {
85
68
  orientation: "vertical";
86
- contentLeft?: React.ReactNode;
87
69
  view?: string | undefined;
88
70
  size?: string | undefined;
89
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"}
@@ -15,10 +15,6 @@ export declare const config: {
15
15
  s: import("@linaria/core").LinariaClassName;
16
16
  m: import("@linaria/core").LinariaClassName;
17
17
  l: import("@linaria/core").LinariaClassName;
18
- /**
19
- * @deprecated
20
- * вместо h1-h5 использовать HorizontalTabItem со свойством header
21
- */
22
18
  h5: import("@linaria/core").LinariaClassName;
23
19
  h4: import("@linaria/core").LinariaClassName;
24
20
  h3: import("@linaria/core").LinariaClassName;
@@ -1 +1 @@
1
- {"version":3,"file":"HorizontalTabItem.config.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;YAmLP;;;eAGG;;;;;;;;;;;;;;CAwFd,CAAC"}
1
+ {"version":3,"file":"HorizontalTabItem.config.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0QlB,CAAC"}
@@ -14,10 +14,6 @@ export declare const config: {
14
14
  s: import("@linaria/core").LinariaClassName;
15
15
  m: import("@linaria/core").LinariaClassName;
16
16
  l: import("@linaria/core").LinariaClassName;
17
- /**
18
- * @deprecated
19
- * вместо h1-h5 использовать HorizontalTabs со свойством header
20
- */
21
17
  h5: import("@linaria/core").LinariaClassName;
22
18
  h4: import("@linaria/core").LinariaClassName;
23
19
  h3: import("@linaria/core").LinariaClassName;
@@ -1 +1 @@
1
- {"version":3,"file":"HorizontalTabs.config.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;YAgEP;;;eAGG;;;;;;;;;;;;;;;;;CAqDd,CAAC"}
1
+ {"version":3,"file":"HorizontalTabs.config.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoHlB,CAAC"}