@salutejs/plasma-new-hope 0.175.0-canary.1500.11549138907.0 → 0.175.0-dev.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (223) hide show
  1. package/cjs/components/Badge/Badge.css +0 -2
  2. package/cjs/components/Badge/Badge.js +4 -17
  3. package/cjs/components/Badge/Badge.js.map +1 -1
  4. package/cjs/components/Badge/Badge.tokens.js +1 -2
  5. package/cjs/components/Badge/Badge.tokens.js.map +1 -1
  6. package/cjs/components/Pagination/Pagination.css +13 -13
  7. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +13 -13
  8. package/cjs/components/Select/Select.css +13 -13
  9. package/cjs/components/Select/Select.styles.js +1 -1
  10. package/cjs/components/Select/Select.styles.js.map +1 -1
  11. package/cjs/components/Select/Select.styles_768h42.css +5 -0
  12. package/cjs/components/Select/Select.tokens.js +16 -4
  13. package/cjs/components/Select/Select.tokens.js.map +1 -1
  14. package/cjs/components/Select/ui/Inner/Inner.css +13 -13
  15. package/cjs/components/Select/ui/Inner/ui/Item/Item.css +13 -13
  16. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +1 -1
  17. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  18. package/cjs/components/Select/ui/Inner/ui/Item/{Item.styles_baxa65.css → Item.styles_8oe5oy.css} +2 -2
  19. package/cjs/components/Tabs/tokens.js +1 -2
  20. package/cjs/components/Tabs/tokens.js.map +1 -1
  21. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +5 -7
  22. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -14
  23. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  24. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  25. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  26. package/{es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_1vj7dbl.css → cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_hfqv5b.css} +1 -1
  27. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -7
  28. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +3 -14
  29. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js.map +1 -1
  30. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  31. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  32. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_16d3lah.css +5 -0
  33. package/cjs/index.css +23 -29
  34. package/cjs/utils/index.js.map +1 -1
  35. package/emotion/cjs/components/Badge/Badge.js +4 -22
  36. package/emotion/cjs/components/Badge/Badge.tokens.js +1 -2
  37. package/emotion/cjs/components/Select/Select.styles.js +5 -5
  38. package/emotion/cjs/components/Select/Select.tokens.js +16 -4
  39. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +10 -10
  40. package/emotion/cjs/components/Tabs/tokens.js +1 -2
  41. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -19
  42. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +6 -6
  43. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +3 -19
  44. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +6 -6
  45. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +14 -17
  46. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -5
  47. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.config.js +17 -17
  48. package/emotion/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +16 -49
  49. package/emotion/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -18
  50. package/emotion/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +6 -9
  51. package/emotion/cjs/examples/plasma_web/components/Select/Select.config.js +17 -17
  52. package/emotion/es/components/Badge/Badge.js +4 -23
  53. package/emotion/es/components/Badge/Badge.tokens.js +1 -2
  54. package/emotion/es/components/Select/Select.styles.js +5 -5
  55. package/emotion/es/components/Select/Select.tokens.js +16 -4
  56. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.styles.js +10 -10
  57. package/emotion/es/components/Tabs/tokens.js +1 -2
  58. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -20
  59. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +6 -6
  60. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +3 -20
  61. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +6 -6
  62. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.config.js +14 -17
  63. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -5
  64. package/emotion/es/examples/plasma_b2c/components/Select/Select.config.js +17 -17
  65. package/emotion/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +16 -49
  66. package/emotion/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -18
  67. package/emotion/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +6 -9
  68. package/emotion/es/examples/plasma_web/components/Select/Select.config.js +17 -17
  69. package/es/components/Badge/Badge.css +0 -2
  70. package/es/components/Badge/Badge.js +5 -18
  71. package/es/components/Badge/Badge.js.map +1 -1
  72. package/es/components/Badge/Badge.tokens.js +1 -2
  73. package/es/components/Badge/Badge.tokens.js.map +1 -1
  74. package/es/components/Pagination/Pagination.css +13 -13
  75. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +13 -13
  76. package/es/components/Select/Select.css +13 -13
  77. package/es/components/Select/Select.styles.js +1 -1
  78. package/es/components/Select/Select.styles.js.map +1 -1
  79. package/es/components/Select/Select.styles_768h42.css +5 -0
  80. package/es/components/Select/Select.tokens.js +16 -4
  81. package/es/components/Select/Select.tokens.js.map +1 -1
  82. package/es/components/Select/ui/Inner/Inner.css +13 -13
  83. package/es/components/Select/ui/Inner/ui/Item/Item.css +13 -13
  84. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +1 -1
  85. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  86. package/es/components/Select/ui/Inner/ui/Item/{Item.styles_baxa65.css → Item.styles_8oe5oy.css} +2 -2
  87. package/es/components/Tabs/tokens.js +1 -2
  88. package/es/components/Tabs/tokens.js.map +1 -1
  89. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +5 -7
  90. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +4 -15
  91. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  92. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  93. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  94. package/{cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_1vj7dbl.css → es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_hfqv5b.css} +1 -1
  95. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -7
  96. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +4 -15
  97. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js.map +1 -1
  98. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  99. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  100. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_16d3lah.css +5 -0
  101. package/es/index.css +23 -29
  102. package/es/utils/index.js.map +1 -1
  103. package/package.json +2 -2
  104. package/styled-components/cjs/components/Badge/Badge.js +4 -22
  105. package/styled-components/cjs/components/Badge/Badge.tokens.js +1 -2
  106. package/styled-components/cjs/components/Select/Select.styles.js +2 -2
  107. package/styled-components/cjs/components/Select/Select.tokens.js +16 -4
  108. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +2 -2
  109. package/styled-components/cjs/components/Tabs/tokens.js +1 -2
  110. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -19
  111. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  112. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +3 -19
  113. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +2 -2
  114. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +0 -3
  115. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -5
  116. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +14 -14
  117. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +16 -49
  118. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -3
  119. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +0 -3
  120. package/styled-components/cjs/examples/plasma_web/components/Select/Select.config.js +14 -14
  121. package/styled-components/es/components/Badge/Badge.js +4 -23
  122. package/styled-components/es/components/Badge/Badge.tokens.js +1 -2
  123. package/styled-components/es/components/Select/Select.styles.js +2 -2
  124. package/styled-components/es/components/Select/Select.tokens.js +16 -4
  125. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.styles.js +2 -2
  126. package/styled-components/es/components/Tabs/tokens.js +1 -2
  127. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -20
  128. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  129. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +3 -20
  130. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +2 -2
  131. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.config.js +0 -3
  132. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -5
  133. package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +14 -14
  134. package/styled-components/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +16 -49
  135. package/styled-components/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -3
  136. package/styled-components/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +0 -3
  137. package/styled-components/es/examples/plasma_web/components/Select/Select.config.js +14 -14
  138. package/types/components/Badge/Badge.d.ts +2 -10
  139. package/types/components/Badge/Badge.d.ts.map +1 -1
  140. package/types/components/Badge/Badge.tokens.d.ts +0 -1
  141. package/types/components/Badge/Badge.tokens.d.ts.map +1 -1
  142. package/types/components/Badge/Badge.types.d.ts +0 -5
  143. package/types/components/Badge/Badge.types.d.ts.map +1 -1
  144. package/types/components/Select/Select.tokens.d.ts +15 -3
  145. package/types/components/Select/Select.tokens.d.ts.map +1 -1
  146. package/types/components/Tabs/TabItem.types.d.ts +0 -5
  147. package/types/components/Tabs/TabItem.types.d.ts.map +1 -1
  148. package/types/components/Tabs/tokens.d.ts +0 -1
  149. package/types/components/Tabs/tokens.d.ts.map +1 -1
  150. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.d.ts +2 -9
  151. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.d.ts.map +1 -1
  152. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.d.ts.map +1 -1
  153. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.d.ts +2 -9
  154. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.d.ts.map +1 -1
  155. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.d.ts.map +1 -1
  156. package/types/examples/plasma_b2c/components/Badge/Badge.config.d.ts +0 -3
  157. package/types/examples/plasma_b2c/components/Badge/Badge.config.d.ts.map +1 -1
  158. package/types/examples/plasma_b2c/components/Badge/Badge.d.ts +0 -6
  159. package/types/examples/plasma_b2c/components/Badge/Badge.d.ts.map +1 -1
  160. package/types/examples/plasma_b2c/components/Select/Select.config.d.ts.map +1 -1
  161. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts +0 -6
  162. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts.map +1 -1
  163. package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.d.ts +0 -3
  164. package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.d.ts.map +1 -1
  165. package/types/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.d.ts +0 -3
  166. package/types/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.d.ts.map +1 -1
  167. package/types/examples/plasma_web/components/Badge/Badge.d.ts +0 -3
  168. package/types/examples/plasma_web/components/Badge/Badge.d.ts.map +1 -1
  169. package/types/examples/plasma_web/components/Select/Select.config.d.ts.map +1 -1
  170. package/types/utils/index.d.ts +1 -1
  171. package/types/utils/index.d.ts.map +1 -1
  172. package/cjs/components/Badge/variations/_truncate/base.js +0 -9
  173. package/cjs/components/Badge/variations/_truncate/base.js.map +0 -1
  174. package/cjs/components/Badge/variations/_truncate/base_nf9u2h.css +0 -1
  175. package/cjs/components/Select/Select.styles_1nzals0.css +0 -5
  176. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -9
  177. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js.map +0 -1
  178. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base_1b34xv3.css +0 -1
  179. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_6ssvos.css +0 -5
  180. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -9
  181. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js.map +0 -1
  182. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base_1nwonlh.css +0 -1
  183. package/emotion/cjs/components/Badge/variations/_truncate/base.js +0 -10
  184. package/emotion/cjs/components/Badge/variations/_truncate/tokens.json +0 -1
  185. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -10
  186. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +0 -1
  187. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -10
  188. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +0 -1
  189. package/emotion/es/components/Badge/variations/_truncate/base.js +0 -4
  190. package/emotion/es/components/Badge/variations/_truncate/tokens.json +0 -1
  191. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -4
  192. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +0 -1
  193. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -4
  194. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +0 -1
  195. package/es/components/Badge/variations/_truncate/base.js +0 -5
  196. package/es/components/Badge/variations/_truncate/base.js.map +0 -1
  197. package/es/components/Badge/variations/_truncate/base_nf9u2h.css +0 -1
  198. package/es/components/Select/Select.styles_1nzals0.css +0 -5
  199. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -5
  200. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js.map +0 -1
  201. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base_1b34xv3.css +0 -1
  202. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_6ssvos.css +0 -5
  203. package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -5
  204. package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js.map +0 -1
  205. package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base_1nwonlh.css +0 -1
  206. package/styled-components/cjs/components/Badge/variations/_truncate/base.js +0 -10
  207. package/styled-components/cjs/components/Badge/variations/_truncate/tokens.json +0 -1
  208. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -10
  209. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +0 -1
  210. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -10
  211. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +0 -1
  212. package/styled-components/es/components/Badge/variations/_truncate/base.js +0 -4
  213. package/styled-components/es/components/Badge/variations/_truncate/tokens.json +0 -1
  214. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -4
  215. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +0 -1
  216. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -4
  217. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +0 -1
  218. package/types/components/Badge/variations/_truncate/base.d.ts +0 -2
  219. package/types/components/Badge/variations/_truncate/base.d.ts.map +0 -1
  220. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.d.ts +0 -2
  221. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.d.ts.map +0 -1
  222. package/types/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.d.ts +0 -2
  223. package/types/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.d.ts.map +0 -1
@@ -29,7 +29,6 @@ type CustomStoryTabsProps = {
29
29
 
30
30
  const contentLeftOptions = ['none', 'icon'];
31
31
  const contentRightOptions = ['none', 'counter', 'icon'];
32
- const labels = ['Label', 'Middle label', 'Very long label'];
33
32
 
34
33
  const getContentLeft = (contentLeftOption: string, size: Size) => {
35
34
  const iconSize = size === 'xs' ? 'xs' : 's';
@@ -58,9 +57,6 @@ const meta: Meta<StoryTabsProps> = {
58
57
  title: 'plasma_b2c/Tabs',
59
58
  component: Tabs,
60
59
  decorators: [WithTheme],
61
- args: {
62
- maxWidth: '',
63
- },
64
60
  argTypes: {
65
61
  ...disableProps([
66
62
  'orientation',
@@ -80,12 +76,6 @@ const meta: Meta<StoryTabsProps> = {
80
76
  },
81
77
  if: { arg: 'helperText', eq: '' },
82
78
  },
83
- maxWidth: {
84
- control: {
85
- type: 'text',
86
- },
87
- if: { arg: 'stretch', truthy: false },
88
- },
89
79
  },
90
80
  };
91
81
 
@@ -100,14 +90,13 @@ const StoryHorizontalDefault = (props: HorizontalStoryTabsProps) => {
100
90
  contentRight: contentRightOption,
101
91
  hasDivider,
102
92
  stretch,
103
- maxWidth,
104
93
  helperText,
105
94
  } = props;
106
95
  const items = Array(itemQuantity).fill(0);
107
96
  const [index, setIndex] = useState(0);
108
97
 
109
98
  return (
110
- <Tabs clip="none" view={hasDivider ? 'divider' : 'clear'} stretch={stretch} disabled={disabled} size={size}>
99
+ <Tabs view={hasDivider ? 'divider' : 'clear'} stretch={stretch} disabled={disabled} size={size}>
111
100
  {items.map((_, i) => {
112
101
  if (helperText !== '') {
113
102
  return (
@@ -121,9 +110,8 @@ const StoryHorizontalDefault = (props: HorizontalStoryTabsProps) => {
121
110
  value={helperText}
122
111
  contentLeft={getContentLeft(contentLeftOption, size as Size)}
123
112
  size={size as Size}
124
- maxWidth={maxWidth}
125
113
  >
126
- {`${labels[i % labels.length]} ${i + 1}`}
114
+ {`Label${i + 1}`}
127
115
  </TabItem>
128
116
  );
129
117
  }
@@ -139,9 +127,8 @@ const StoryHorizontalDefault = (props: HorizontalStoryTabsProps) => {
139
127
  contentLeft={getContentLeft(contentLeftOption, size as Size)}
140
128
  contentRight={getContentRight(contentRightOption, size as Size)}
141
129
  size={size as Size}
142
- maxWidth={maxWidth}
143
130
  >
144
- {`${labels[i % labels.length]} ${i + 1}`}
131
+ {`Label${i + 1}`}
145
132
  </TabItem>
146
133
  );
147
134
  })}
@@ -160,7 +147,6 @@ const StoryHorizontalScroll = (props: HorizontalStoryTabsProps) => {
160
147
  hasDivider,
161
148
  helperText,
162
149
  width,
163
- maxWidth,
164
150
  } = props;
165
151
  const items = Array(itemQuantity).fill(0);
166
152
  const [index, setIndex] = useState(0);
@@ -180,9 +166,8 @@ const StoryHorizontalScroll = (props: HorizontalStoryTabsProps) => {
180
166
  value={helperText}
181
167
  contentLeft={getContentLeft(contentLeftOption, size as Size)}
182
168
  size={size as Size}
183
- maxWidth={maxWidth}
184
169
  >
185
- {`${labels[i % labels.length]} ${i + 1}`}
170
+ {`Label${i + 1}`}
186
171
  </TabItem>
187
172
  );
188
173
  }
@@ -198,9 +183,8 @@ const StoryHorizontalScroll = (props: HorizontalStoryTabsProps) => {
198
183
  contentLeft={getContentLeft(contentLeftOption, size as Size)}
199
184
  contentRight={getContentRight(contentRightOption, size as Size)}
200
185
  size={size as Size}
201
- maxWidth={maxWidth}
202
186
  >
203
- {`${labels[i % labels.length]} ${i + 1}`}
187
+ {`Label${i + 1}`}
204
188
  </TabItem>
205
189
  );
206
190
  })}
@@ -218,7 +202,6 @@ const StoryHorizontalShowAll = (props: HorizontalStoryTabsProps) => {
218
202
  contentRight: contentRightOption,
219
203
  hasDivider,
220
204
  helperText,
221
- maxWidth,
222
205
  } = props;
223
206
  const maxItemQuantity = 3;
224
207
  const items = Array(itemQuantity).fill(0);
@@ -251,9 +234,8 @@ const StoryHorizontalShowAll = (props: HorizontalStoryTabsProps) => {
251
234
  value={helperText}
252
235
  contentLeft={getContentLeft(contentLeftOption, size as Size)}
253
236
  size={size as Size}
254
- maxWidth={maxWidth}
255
237
  >
256
- {`${labels[i % labels.length]} ${i + 1}`}
238
+ {`Label${i + 1}`}
257
239
  </TabItem>
258
240
  );
259
241
  }
@@ -269,9 +251,8 @@ const StoryHorizontalShowAll = (props: HorizontalStoryTabsProps) => {
269
251
  contentLeft={getContentLeft(contentLeftOption, size as Size)}
270
252
  contentRight={getContentRight(contentRightOption, size as Size)}
271
253
  size={size as Size}
272
- maxWidth={maxWidth}
273
254
  >
274
- {`${labels[i % labels.length]} ${i + 1}`}
255
+ {`Label${i + 1}`}
275
256
  </TabItem>
276
257
  );
277
258
  })}
@@ -288,7 +269,6 @@ const StoryHorizontalShowAll = (props: HorizontalStoryTabsProps) => {
288
269
  tabIndex={!disabled ? 0 : -1}
289
270
  disabled={disabled}
290
271
  size={size as Size}
291
- maxWidth="auto"
292
272
  >
293
273
  ShowAll
294
274
  </TabItem>
@@ -305,7 +285,7 @@ export const HorizontalTabs: StoryObj<HorizontalStoryTabsProps> = {
305
285
  disabled: false,
306
286
  hasDivider: true,
307
287
  helperText: '',
308
- itemQuantity: 6,
288
+ itemQuantity: 8,
309
289
  stretch: false,
310
290
  width: '15rem',
311
291
  },
@@ -363,7 +343,6 @@ const StoryVerticalDefault = (props: VerticalStoryTabsProps) => {
363
343
  contentRight: contentRightOption,
364
344
  hasDivider,
365
345
  helperText,
366
- maxWidth,
367
346
  } = props;
368
347
  const items = Array(itemQuantity).fill(0);
369
348
  const [index, setIndex] = useState(0);
@@ -384,9 +363,8 @@ const StoryVerticalDefault = (props: VerticalStoryTabsProps) => {
384
363
  value={helperText}
385
364
  contentLeft={getContentLeft(contentLeftOption, size as Size)}
386
365
  size={size as Size}
387
- maxWidth={maxWidth}
388
366
  >
389
- {`${labels[i % labels.length]} ${i + 1}`}
367
+ {`Label${i + 1}`}
390
368
  </TabItem>
391
369
  );
392
370
  }
@@ -403,9 +381,8 @@ const StoryVerticalDefault = (props: VerticalStoryTabsProps) => {
403
381
  contentLeft={getContentLeft(contentLeftOption, size as Size)}
404
382
  contentRight={getContentRight(contentRightOption, size as Size)}
405
383
  size={size as Size}
406
- maxWidth={maxWidth}
407
384
  >
408
- {`${labels[i % labels.length]} ${i + 1}`}
385
+ {`Label${i + 1}`}
409
386
  </TabItem>
410
387
  );
411
388
  })}
@@ -424,7 +401,6 @@ const StoryVerticalScroll = (props: VerticalStoryTabsProps) => {
424
401
  hasDivider,
425
402
  helperText,
426
403
  height,
427
- maxWidth,
428
404
  } = props;
429
405
  const items = Array(itemQuantity).fill(0);
430
406
  const [index, setIndex] = useState(0);
@@ -452,9 +428,8 @@ const StoryVerticalScroll = (props: VerticalStoryTabsProps) => {
452
428
  value={helperText}
453
429
  contentLeft={getContentLeft(contentLeftOption, size as Size)}
454
430
  size={size as Size}
455
- maxWidth={maxWidth}
456
431
  >
457
- {`${labels[i % labels.length]} ${i + 1}`}
432
+ {`Label${i + 1}`}
458
433
  </TabItem>
459
434
  );
460
435
  }
@@ -471,9 +446,8 @@ const StoryVerticalScroll = (props: VerticalStoryTabsProps) => {
471
446
  contentLeft={getContentLeft(contentLeftOption, size as Size)}
472
447
  contentRight={getContentRight(contentRightOption, size as Size)}
473
448
  size={size as Size}
474
- maxWidth={maxWidth}
475
449
  >
476
- {`${labels[i % labels.length]} ${i + 1}`}
450
+ {`Label${i + 1}`}
477
451
  </TabItem>
478
452
  );
479
453
  })}
@@ -491,7 +465,6 @@ const StoryVerticalShowAll = (props: VerticalStoryTabsProps) => {
491
465
  contentRight: contentRightOption,
492
466
  hasDivider,
493
467
  helperText,
494
- maxWidth,
495
468
  } = props;
496
469
  const maxItemQuantity = 3;
497
470
  const items = Array(itemQuantity).fill(0);
@@ -525,9 +498,8 @@ const StoryVerticalShowAll = (props: VerticalStoryTabsProps) => {
525
498
  value={helperText}
526
499
  contentLeft={getContentLeft(contentLeftOption, size as Size)}
527
500
  size={size as Size}
528
- maxWidth={maxWidth}
529
501
  >
530
- {`${labels[i % labels.length]} ${i + 1}`}
502
+ {`Label${i + 1}`}
531
503
  </TabItem>
532
504
  );
533
505
  }
@@ -544,9 +516,8 @@ const StoryVerticalShowAll = (props: VerticalStoryTabsProps) => {
544
516
  contentLeft={getContentLeft(contentLeftOption, size as Size)}
545
517
  contentRight={getContentRight(contentRightOption, size as Size)}
546
518
  size={size as Size}
547
- maxWidth={maxWidth}
548
519
  >
549
- {`${labels[i % labels.length]} ${i + 1}`}
520
+ {`Label${i + 1}`}
550
521
  </TabItem>
551
522
  );
552
523
  })}
@@ -563,7 +534,6 @@ const StoryVerticalShowAll = (props: VerticalStoryTabsProps) => {
563
534
  tabIndex={!disabled ? 0 : -1}
564
535
  disabled={disabled}
565
536
  size={size as Size}
566
- maxWidth="auto"
567
537
  >
568
538
  ShowAll
569
539
  </TabItem>
@@ -578,11 +548,10 @@ export const VerticalTabs: StoryObj<VerticalStoryTabsProps> = {
578
548
  size: 'xs',
579
549
  disabled: false,
580
550
  hasDivider: true,
581
- itemQuantity: 6,
551
+ itemQuantity: 8,
582
552
  orientation: 'vertical',
583
553
  helperText: '',
584
554
  height: '10rem',
585
- maxWidth: '',
586
555
  },
587
556
  argTypes: {
588
557
  contentLeft: {
@@ -643,7 +612,6 @@ const StoryHeaderTabs = (props: StoryTabsProps) => {
643
612
  contentRight: contentRightOption,
644
613
  hasDivider,
645
614
  stretch,
646
- maxWidth,
647
615
  } = props;
648
616
  const items = Array(itemQuantity).fill(0);
649
617
  const [index, setIndex] = useState(0);
@@ -661,9 +629,8 @@ const StoryHeaderTabs = (props: StoryTabsProps) => {
661
629
  contentLeft={getContentLeft(contentLeftOption, size as Size)}
662
630
  contentRight={getContentRight(contentRightOption, size as Size)}
663
631
  size={size as HeaderSize}
664
- maxWidth={maxWidth}
665
632
  >
666
- {`${labels[i % labels.length]} ${i + 1}`}
633
+ {`Label${i + 1}`}
667
634
  </TabItem>
668
635
  ))}
669
636
  </Tabs>