@salutejs/plasma-new-hope 0.179.0-canary.1500.11582881437.0 → 0.179.0-canary.1519.11587412765.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (220) 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 +12 -12
  7. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +12 -12
  8. package/cjs/components/Select/Select.css +12 -12
  9. package/cjs/components/Select/Select.tokens.js +2 -1
  10. package/cjs/components/Select/Select.tokens.js.map +1 -1
  11. package/cjs/components/Select/ui/Inner/Inner.css +12 -12
  12. package/cjs/components/Select/ui/Inner/ui/Item/Item.css +12 -12
  13. package/cjs/components/Select/ui/Target/Target.css +12 -12
  14. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +12 -12
  15. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
  16. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  17. package/{es/components/Select/ui/Target/ui/Textfield/Textfield.styles_11yj58s.css → cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_1damf5p.css} +1 -1
  18. package/cjs/components/Tabs/tokens.js +1 -2
  19. package/cjs/components/Tabs/tokens.js.map +1 -1
  20. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +5 -7
  21. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -14
  22. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  23. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  24. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  25. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/{HorizontalTabItem.styles_1vj7dbl.css → HorizontalTabItem.styles_hfqv5b.css} +1 -1
  26. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -7
  27. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +3 -14
  28. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js.map +1 -1
  29. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  30. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  31. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_16d3lah.css +5 -0
  32. package/cjs/index.css +22 -28
  33. package/emotion/cjs/components/Badge/Badge.js +4 -22
  34. package/emotion/cjs/components/Badge/Badge.tokens.js +1 -2
  35. package/emotion/cjs/components/Select/Select.tokens.js +2 -1
  36. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +12 -21
  37. package/emotion/cjs/components/Tabs/tokens.js +1 -2
  38. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -19
  39. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +6 -6
  40. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +3 -19
  41. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +6 -6
  42. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +14 -17
  43. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -5
  44. package/emotion/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +19 -51
  45. package/emotion/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -18
  46. package/emotion/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +6 -9
  47. package/emotion/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +19 -51
  48. package/emotion/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -18
  49. package/emotion/cjs/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.js +6 -9
  50. package/emotion/es/components/Badge/Badge.js +4 -23
  51. package/emotion/es/components/Badge/Badge.tokens.js +1 -2
  52. package/emotion/es/components/Select/Select.tokens.js +2 -1
  53. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +12 -21
  54. package/emotion/es/components/Tabs/tokens.js +1 -2
  55. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -20
  56. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +6 -6
  57. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +3 -20
  58. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +6 -6
  59. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.config.js +14 -17
  60. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -5
  61. package/emotion/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +19 -51
  62. package/emotion/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -18
  63. package/emotion/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +6 -9
  64. package/emotion/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +19 -51
  65. package/emotion/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -18
  66. package/emotion/es/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.js +6 -9
  67. package/es/components/Badge/Badge.css +0 -2
  68. package/es/components/Badge/Badge.js +5 -18
  69. package/es/components/Badge/Badge.js.map +1 -1
  70. package/es/components/Badge/Badge.tokens.js +1 -2
  71. package/es/components/Badge/Badge.tokens.js.map +1 -1
  72. package/es/components/Pagination/Pagination.css +12 -12
  73. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +12 -12
  74. package/es/components/Select/Select.css +12 -12
  75. package/es/components/Select/Select.tokens.js +2 -1
  76. package/es/components/Select/Select.tokens.js.map +1 -1
  77. package/es/components/Select/ui/Inner/Inner.css +12 -12
  78. package/es/components/Select/ui/Inner/ui/Item/Item.css +12 -12
  79. package/es/components/Select/ui/Target/Target.css +12 -12
  80. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +12 -12
  81. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
  82. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  83. package/{cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_11yj58s.css → es/components/Select/ui/Target/ui/Textfield/Textfield.styles_1damf5p.css} +1 -1
  84. package/es/components/Tabs/tokens.js +1 -2
  85. package/es/components/Tabs/tokens.js.map +1 -1
  86. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +5 -7
  87. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +4 -15
  88. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  89. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  90. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  91. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/{HorizontalTabItem.styles_1vj7dbl.css → HorizontalTabItem.styles_hfqv5b.css} +1 -1
  92. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -7
  93. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +4 -15
  94. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js.map +1 -1
  95. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  96. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  97. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_16d3lah.css +5 -0
  98. package/es/index.css +22 -28
  99. package/package.json +2 -2
  100. package/styled-components/cjs/components/Badge/Badge.js +4 -22
  101. package/styled-components/cjs/components/Badge/Badge.tokens.js +1 -2
  102. package/styled-components/cjs/components/Select/Select.tokens.js +2 -1
  103. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
  104. package/styled-components/cjs/components/Tabs/tokens.js +1 -2
  105. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -19
  106. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  107. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +3 -19
  108. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +2 -2
  109. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +0 -3
  110. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -5
  111. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +19 -51
  112. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -3
  113. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +0 -3
  114. package/styled-components/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +19 -51
  115. package/styled-components/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -3
  116. package/styled-components/cjs/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.js +0 -3
  117. package/styled-components/es/components/Badge/Badge.js +4 -23
  118. package/styled-components/es/components/Badge/Badge.tokens.js +1 -2
  119. package/styled-components/es/components/Select/Select.tokens.js +2 -1
  120. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
  121. package/styled-components/es/components/Tabs/tokens.js +1 -2
  122. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -20
  123. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  124. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +3 -20
  125. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +2 -2
  126. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.config.js +0 -3
  127. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -5
  128. package/styled-components/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +19 -51
  129. package/styled-components/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -3
  130. package/styled-components/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +0 -3
  131. package/styled-components/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +19 -51
  132. package/styled-components/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -3
  133. package/styled-components/es/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.js +0 -3
  134. package/types/components/Badge/Badge.d.ts +2 -10
  135. package/types/components/Badge/Badge.d.ts.map +1 -1
  136. package/types/components/Badge/Badge.tokens.d.ts +0 -1
  137. package/types/components/Badge/Badge.tokens.d.ts.map +1 -1
  138. package/types/components/Badge/Badge.types.d.ts +0 -5
  139. package/types/components/Badge/Badge.types.d.ts.map +1 -1
  140. package/types/components/Select/Select.tokens.d.ts +1 -0
  141. package/types/components/Select/Select.tokens.d.ts.map +1 -1
  142. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  143. package/types/components/Tabs/TabItem.types.d.ts +0 -5
  144. package/types/components/Tabs/TabItem.types.d.ts.map +1 -1
  145. package/types/components/Tabs/tokens.d.ts +0 -1
  146. package/types/components/Tabs/tokens.d.ts.map +1 -1
  147. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.d.ts +2 -9
  148. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.d.ts.map +1 -1
  149. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.d.ts.map +1 -1
  150. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.d.ts +2 -9
  151. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.d.ts.map +1 -1
  152. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.d.ts.map +1 -1
  153. package/types/examples/plasma_b2c/components/Badge/Badge.config.d.ts +0 -3
  154. package/types/examples/plasma_b2c/components/Badge/Badge.config.d.ts.map +1 -1
  155. package/types/examples/plasma_b2c/components/Badge/Badge.d.ts +0 -6
  156. package/types/examples/plasma_b2c/components/Badge/Badge.d.ts.map +1 -1
  157. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts +0 -6
  158. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts.map +1 -1
  159. package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.d.ts +0 -3
  160. package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.d.ts.map +1 -1
  161. package/types/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.d.ts +0 -3
  162. package/types/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.d.ts.map +1 -1
  163. package/types/examples/plasma_web/components/Badge/Badge.d.ts +0 -3
  164. package/types/examples/plasma_web/components/Badge/Badge.d.ts.map +1 -1
  165. package/types/examples/plasma_web/components/Tabs/TabItem.d.ts +0 -6
  166. package/types/examples/plasma_web/components/Tabs/TabItem.d.ts.map +1 -1
  167. package/types/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.d.ts +0 -3
  168. package/types/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.d.ts.map +1 -1
  169. package/types/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.d.ts +0 -3
  170. package/types/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.d.ts.map +1 -1
  171. package/cjs/components/Badge/variations/_truncate/base.js +0 -9
  172. package/cjs/components/Badge/variations/_truncate/base.js.map +0 -1
  173. package/cjs/components/Badge/variations/_truncate/base_nf9u2h.css +0 -1
  174. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -9
  175. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js.map +0 -1
  176. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base_1b34xv3.css +0 -1
  177. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_hh65kv.css +0 -5
  178. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -9
  179. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js.map +0 -1
  180. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base_1nwonlh.css +0 -1
  181. package/emotion/cjs/components/Badge/variations/_truncate/base.js +0 -10
  182. package/emotion/cjs/components/Badge/variations/_truncate/tokens.json +0 -1
  183. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -10
  184. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +0 -1
  185. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -10
  186. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +0 -1
  187. package/emotion/es/components/Badge/variations/_truncate/base.js +0 -4
  188. package/emotion/es/components/Badge/variations/_truncate/tokens.json +0 -1
  189. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -4
  190. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +0 -1
  191. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -4
  192. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +0 -1
  193. package/es/components/Badge/variations/_truncate/base.js +0 -5
  194. package/es/components/Badge/variations/_truncate/base.js.map +0 -1
  195. package/es/components/Badge/variations/_truncate/base_nf9u2h.css +0 -1
  196. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -5
  197. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js.map +0 -1
  198. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base_1b34xv3.css +0 -1
  199. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_hh65kv.css +0 -5
  200. package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -5
  201. package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js.map +0 -1
  202. package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base_1nwonlh.css +0 -1
  203. package/styled-components/cjs/components/Badge/variations/_truncate/base.js +0 -10
  204. package/styled-components/cjs/components/Badge/variations/_truncate/tokens.json +0 -1
  205. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -10
  206. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +0 -1
  207. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -10
  208. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +0 -1
  209. package/styled-components/es/components/Badge/variations/_truncate/base.js +0 -4
  210. package/styled-components/es/components/Badge/variations/_truncate/tokens.json +0 -1
  211. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.js +0 -4
  212. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/tokens.json +0 -1
  213. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.js +0 -4
  214. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/tokens.json +0 -1
  215. package/types/components/Badge/variations/_truncate/base.d.ts +0 -2
  216. package/types/components/Badge/variations/_truncate/base.d.ts.map +0 -1
  217. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.d.ts +0 -2
  218. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_truncate/base.d.ts.map +0 -1
  219. package/types/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.d.ts +0 -2
  220. package/types/components/Tabs/ui/vertical/VerticalTabItem/variations/_truncate/base.d.ts.map +0 -1
@@ -70,7 +70,7 @@ var InnerLabel = exports.InnerLabel = /*#__PURE__*/_styledComponents["default"].
70
70
  })(["color:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");text-align:left;"], _Select.constants.textfieldInnerLabelColor, _Select.constants.fontFamily, _Select.constants.fontSize, _Select.constants.fontStyle, _Select.constants.fontWeight, _Select.constants.fontLetterSpacing, _Select.constants.fontLineHeight);
71
71
  var ContentLeftWrapper = exports.ContentLeftWrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
72
72
  componentId: "plasma-new-hope__sc-1akl2tk-10"
73
- })(["flex:none;margin-left:-0.125rem;margin-right:0.375rem;line-height:0;"]);
73
+ })(["flex:none;margin-left:-0.125rem;margin-right:0.375rem;line-height:0;color:var(", ",--text-secondary);"], _Select.tokens.contentLeftColor);
74
74
  var Value = exports.Value = /*#__PURE__*/_styledComponents["default"].span.withConfig({
75
75
  componentId: "plasma-new-hope__sc-1akl2tk-11"
76
76
  })(["", ""], /*#__PURE__*/(0, _mixins.applyEllipsis)());
@@ -20,8 +20,7 @@ var classes = exports.classes = {
20
20
  tabsHasTopArrow: 'tabs-has-top-arrow',
21
21
  tabsHasBottomArrow: 'tabs-has-bottom-arrow',
22
22
  tabsClipScroll: 'tabs-clip-scroll',
23
- tabsClipShowAll: 'tabs-clip-show-all',
24
- tabsTruncate: 'tabs-truncate'
23
+ tabsClipShowAll: 'tabs-clip-show-all'
25
24
  };
26
25
  var tokens = exports.tokens = {
27
26
  disabledOpacity: '--plasma-tabs-disabled-opacity',
@@ -14,17 +14,11 @@ var _base = /*#__PURE__*/require("./variations/_view/base");
14
14
  var _base2 = /*#__PURE__*/require("./variations/_size/base");
15
15
  var _base3 = /*#__PURE__*/require("./variations/_pilled/base");
16
16
  var _base4 = /*#__PURE__*/require("./variations/_disabled/base");
17
- var _base5 = /*#__PURE__*/require("./variations/_truncate/base");
18
17
  var _HorizontalTabItem = /*#__PURE__*/require("./HorizontalTabItem.styles");
19
- var _excluded = ["size", "view", "isActive", "selected", "disabled", "pilled", "children", "value", "contentLeft", "contentRight", "animated", "onIndexChange", "itemIndex", "tabIndex", "className", "onClick", "maxItemWidth"];
18
+ var _excluded = ["size", "view", "isActive", "selected", "disabled", "pilled", "children", "value", "contentLeft", "contentRight", "animated", "onIndexChange", "itemIndex", "tabIndex", "className", "onClick"];
20
19
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
21
20
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
22
21
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
23
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
24
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
25
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
26
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
27
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
28
22
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
29
23
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
30
24
  var horizontalTabItemRoot = exports.horizontalTabItemRoot = function horizontalTabItemRoot(Root) {
@@ -48,13 +42,11 @@ var horizontalTabItemRoot = exports.horizontalTabItemRoot = function horizontalT
48
42
  tabIndex = props.tabIndex,
49
43
  className = props.className,
50
44
  onClick = props.onClick,
51
- maxWidth = props.maxItemWidth,
52
45
  rest = _objectWithoutProperties(props, _excluded);
53
46
  var innerRef = (0, _react.useRef)(null);
54
47
  var ref = (0, _plasmaCore.useForkRef)(outerRef, innerRef);
55
48
  var refs = (0, _react.useContext)(_TabsContext.TabsContext);
56
49
  var role = 'tab';
57
- var truncate = maxWidth !== 'auto';
58
50
  var pilledAttr = view !== 'clear' && pilled;
59
51
  var animatedClass = animated ? _tokens.classes.tabItemAnimated : undefined;
60
52
  var pilledClass = pilledAttr ? _tokens.classes.tabsPilled : undefined;
@@ -113,16 +105,11 @@ var horizontalTabItemRoot = exports.horizontalTabItemRoot = function horizontalT
113
105
  // TODO: убрать каст any, когда будут удалены deprecated props
114
106
  ,
115
107
  size: size,
116
- truncate: truncate,
117
108
  onFocus: onItemFocus,
118
109
  tabIndex: hasKeyNavigation ? navigationTabIndex : tabIndex,
119
- className: (0, _utils.cx)(pilledClass, selectedClass, animatedClass, truncate && _tokens.classes.tabsTruncate, className),
110
+ className: (0, _utils.cx)(pilledClass, selectedClass, animatedClass, className),
120
111
  onClick: handleClick
121
- }, rest, {
122
- style: _objectSpread(_objectSpread({}, rest.style), {}, {
123
- maxWidth: maxWidth
124
- })
125
- }), /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, contentLeft && /*#__PURE__*/_react["default"].createElement(_HorizontalTabItem.LeftContent, {
112
+ }, rest), /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, contentLeft && /*#__PURE__*/_react["default"].createElement(_HorizontalTabItem.LeftContent, {
126
113
  className: _tokens.classes.tabLeftContent
127
114
  }, contentLeft), /*#__PURE__*/_react["default"].createElement(_HorizontalTabItem.StyledContent, {
128
115
  className: _tokens.classes.tabContent
@@ -149,9 +136,6 @@ var horizontalTabItemConfig = exports.horizontalTabItemConfig = {
149
136
  },
150
137
  pilled: {
151
138
  css: _base3.base
152
- },
153
- truncate: {
154
- css: _base5.base
155
139
  }
156
140
  },
157
141
  defaults: {
@@ -10,7 +10,7 @@ var _mixins = /*#__PURE__*/require("../../../../../mixins");
10
10
  var _tokens = /*#__PURE__*/require("../../../tokens");
11
11
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
12
12
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
13
- var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;align-items:center;white-space:nowrap;gap:var(", ");padding:var(", ",var(", "));appearance:none;border:none;outline:none;cursor:pointer;-webkit-tap-highlight-color:transparent;&:first-child{margin-left:0;}", ";"], _tokens.tokens.itemContentGap, _tokens.tokens.itemPaddingClear, _tokens.tokens.itemPadding, /*#__PURE__*/(0, _mixins.addFocus)({
13
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;align-items:center;gap:var(", ");padding:var(", ",var(", "));appearance:none;border:none;outline:none;cursor:pointer;-webkit-tap-highlight-color:transparent;&:first-child{margin-left:0;}", ";"], _tokens.tokens.itemContentGap, _tokens.tokens.itemPaddingClear, _tokens.tokens.itemPadding, /*#__PURE__*/(0, _mixins.addFocus)({
14
14
  outlineSize: '0.063rem',
15
15
  outlineOffset: '-0.125rem',
16
16
  outlineColor: /*#__PURE__*/"var(".concat(_tokens.tokens.outlineFocusColor, ")"),
@@ -14,16 +14,10 @@ var _VerticalTabItem = /*#__PURE__*/require("./VerticalTabItem.styles");
14
14
  var _base = /*#__PURE__*/require("./variations/_view/base");
15
15
  var _base2 = /*#__PURE__*/require("./variations/_size/base");
16
16
  var _base3 = /*#__PURE__*/require("./variations/_disabled/base");
17
- var _base4 = /*#__PURE__*/require("./variations/_truncate/base");
18
- var _excluded = ["size", "view", "selected", "disabled", "children", "value", "contentLeft", "contentRight", "onIndexChange", "itemIndex", "tabIndex", "className", "onClick", "maxItemWidth"];
17
+ var _excluded = ["size", "view", "selected", "disabled", "children", "value", "contentLeft", "contentRight", "onIndexChange", "itemIndex", "tabIndex", "className", "onClick"];
19
18
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
20
19
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
21
20
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
22
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
23
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
24
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
25
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
26
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
27
21
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
28
22
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
29
23
  var verticalTabItemRoot = exports.verticalTabItemRoot = function verticalTabItemRoot(Root) {
@@ -42,13 +36,11 @@ var verticalTabItemRoot = exports.verticalTabItemRoot = function verticalTabItem
42
36
  tabIndex = props.tabIndex,
43
37
  className = props.className,
44
38
  onClick = props.onClick,
45
- maxWidth = props.maxItemWidth,
46
39
  rest = _objectWithoutProperties(props, _excluded);
47
40
  var innerRef = (0, _react.useRef)(null);
48
41
  var ref = (0, _plasmaCore.useForkRef)(outerRef, innerRef);
49
42
  var refs = (0, _react.useContext)(_TabsContext.TabsContext);
50
43
  var role = 'tab';
51
- var truncate = maxWidth !== 'auto';
52
44
  var selectedClass = selected ? _tokens.classes.selectedTabsItem : undefined;
53
45
  var hasKeyNavigation = itemIndex !== undefined && onIndexChange !== undefined;
54
46
  var navigationTabIndex = !disabled && (refs === null || refs === void 0 ? void 0 : refs.current) === itemIndex ? 0 : -1;
@@ -100,16 +92,11 @@ var verticalTabItemRoot = exports.verticalTabItemRoot = function verticalTabItem
100
92
  role: role,
101
93
  view: view,
102
94
  size: size,
103
- truncate: truncate,
104
95
  onFocus: onItemFocus,
105
96
  tabIndex: hasKeyNavigation ? navigationTabIndex : tabIndex,
106
- className: (0, _utils.cx)(selectedClass, truncate && _tokens.classes.tabsTruncate, className),
97
+ className: (0, _utils.cx)(selectedClass, className),
107
98
  onClick: handleClick
108
- }, rest, {
109
- style: _objectSpread(_objectSpread({}, rest.style), {}, {
110
- maxWidth: maxWidth
111
- })
112
- }), /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, contentLeft && /*#__PURE__*/_react["default"].createElement(_VerticalTabItem.LeftContent, {
99
+ }, rest), /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, contentLeft && /*#__PURE__*/_react["default"].createElement(_VerticalTabItem.LeftContent, {
113
100
  className: _tokens.classes.tabLeftContent
114
101
  }, contentLeft), /*#__PURE__*/_react["default"].createElement(_VerticalTabItem.StyledContent, {
115
102
  className: _tokens.classes.tabContent
@@ -133,9 +120,6 @@ var verticalTabItemConfig = exports.verticalTabItemConfig = {
133
120
  disabled: {
134
121
  css: _base3.base,
135
122
  attrs: true
136
- },
137
- truncate: {
138
- css: _base4.base
139
123
  }
140
124
  },
141
125
  defaults: {
@@ -12,7 +12,7 @@ var _templateObject;
12
12
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
13
13
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
14
14
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
15
- var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n position: relative;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n box-sizing: border-box;\n white-space: nowrap;\n\n gap: var(", ");\n padding: var(", ");\n\n appearance: none;\n border: none;\n outline: none;\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n\n ", ";\n"])), _tokens.tokens.itemContentGap, _tokens.tokens.itemPaddingOrientationVertical, /*#__PURE__*/(0, _mixins.addFocus)({
15
+ var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n position: relative;\n display: flex;\n align-items: center;\n justify-content: flex-start;\n box-sizing: border-box;\n align-items: center;\n\n gap: var(", ");\n padding: var(", ");\n\n appearance: none;\n border: none;\n outline: none;\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n\n ", ";\n"])), _tokens.tokens.itemContentGap, _tokens.tokens.itemPaddingOrientationVertical, /*#__PURE__*/(0, _mixins.addFocus)({
16
16
  outlineSize: '0.063rem',
17
17
  outlineOffset: '-0.125rem',
18
18
  outlineColor: /*#__PURE__*/"var(".concat(_tokens.tokens.outlineFocusColor, ")"),
@@ -24,7 +24,7 @@ var StyledContent = exports.StyledContent = /*#__PURE__*/_styledComponents["defa
24
24
  })(["display:inline-block;width:fit-content;padding:0 var(", ",var(", "));"], _tokens.tokens.itemContentPaddingClear, _tokens.tokens.itemContentPadding);
25
25
  var TabItemValue = exports.TabItemValue = /*#__PURE__*/_styledComponents["default"].span.withConfig({
26
26
  componentId: "plasma-new-hope__sc-1pflgj8-1"
27
- })(["white-space:nowrap;color:var(", ");"], _tokens.tokens.itemValueColor);
27
+ })(["color:var(", ");"], _tokens.tokens.itemValueColor);
28
28
  var RightContent = exports.RightContent = /*#__PURE__*/_styledComponents["default"].div.withConfig({
29
29
  componentId: "plasma-new-hope__sc-1pflgj8-2"
30
30
  })(["display:flex;color:inherit;&:hover{color:inherit;}"]);
@@ -35,9 +35,6 @@ var config = exports.config = {
35
35
  },
36
36
  clear: {
37
37
  "true": /*#__PURE__*/(0, _styledComponents.css)([""])
38
- },
39
- truncate: {
40
- "true": /*#__PURE__*/(0, _styledComponents.css)([""])
41
38
  }
42
39
  }
43
40
  };
@@ -31,9 +31,6 @@ const meta: Meta<typeof Badge> = {
31
31
  control: { type: 'boolean' },
32
32
  if: { arg: 'clear', truthy: false },
33
33
  },
34
- maxWidth: {
35
- control: { type: 'text' },
36
- },
37
34
  ...disableProps(['contentLeft', 'contentRight']),
38
35
  },
39
36
  };
@@ -67,7 +64,7 @@ export const Default: Story = {
67
64
  },
68
65
  },
69
66
  args: {
70
- text: 'Hello Kitty',
67
+ text: 'Hello',
71
68
  view: 'default',
72
69
  size: 'm',
73
70
  enableContentLeft: false,
@@ -75,7 +72,6 @@ export const Default: Story = {
75
72
  clear: false,
76
73
  pilled: false,
77
74
  transparent: false,
78
- maxWidth: '',
79
75
  },
80
76
  render: ({ enableContentLeft, enableContentRight, size, ...rest }: StoryProps) => {
81
77
  const iconSize = size === 'l' ? '1rem' : '0.75rem';
@@ -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: string) => {
35
34
  const iconSize = size === 'xs' ? 'xs' : 's';
@@ -77,12 +76,6 @@ const meta: Meta<StoryTabsProps> = {
77
76
  },
78
77
  if: { arg: 'helperText', eq: '' },
79
78
  },
80
- maxItemWidth: {
81
- control: {
82
- type: 'text',
83
- },
84
- if: { arg: 'stretch', truthy: false },
85
- },
86
79
  },
87
80
  };
88
81
 
@@ -97,14 +90,13 @@ const StoryHorizontalDefault = (props: HorizontalStoryTabsProps) => {
97
90
  contentRight: contentRightOption,
98
91
  hasDivider,
99
92
  stretch,
100
- maxItemWidth,
101
93
  helperText,
102
94
  } = props;
103
95
  const items = Array(itemQuantity).fill(0);
104
96
  const [index, setIndex] = useState(0);
105
97
 
106
98
  return (
107
- <Tabs clip="none" view="divider" hasDivider={hasDivider} stretch={stretch} disabled={disabled} size={size}>
99
+ <Tabs view="divider" hasDivider={hasDivider} stretch={stretch} disabled={disabled} size={size}>
108
100
  {items.map((_, i) => {
109
101
  if (helperText !== '') {
110
102
  return (
@@ -118,9 +110,8 @@ const StoryHorizontalDefault = (props: HorizontalStoryTabsProps) => {
118
110
  value={helperText}
119
111
  contentLeft={getContentLeft(contentLeftOption, size as Size)}
120
112
  size={size as Size}
121
- maxItemWidth={maxItemWidth}
122
113
  >
123
- {`${labels[i % labels.length]} ${i + 1}`}
114
+ {`Label${i + 1}`}
124
115
  </TabItem>
125
116
  );
126
117
  }
@@ -136,9 +127,8 @@ const StoryHorizontalDefault = (props: HorizontalStoryTabsProps) => {
136
127
  contentLeft={getContentLeft(contentLeftOption, size as Size)}
137
128
  contentRight={getContentRight(contentRightOption, size as Size)}
138
129
  size={size as Size}
139
- maxItemWidth={maxItemWidth}
140
130
  >
141
- {`${labels[i % labels.length]} ${i + 1}`}
131
+ {`Label${i + 1}`}
142
132
  </TabItem>
143
133
  );
144
134
  })}
@@ -157,7 +147,6 @@ const StoryHorizontalScroll = (props: HorizontalStoryTabsProps) => {
157
147
  hasDivider,
158
148
  helperText,
159
149
  width,
160
- maxItemWidth,
161
150
  } = props;
162
151
  const items = Array(itemQuantity).fill(0);
163
152
  const [index, setIndex] = useState(0);
@@ -177,9 +166,8 @@ const StoryHorizontalScroll = (props: HorizontalStoryTabsProps) => {
177
166
  value={helperText}
178
167
  contentLeft={getContentLeft(contentLeftOption, size as Size)}
179
168
  size={size as Size}
180
- maxItemWidth={maxItemWidth}
181
169
  >
182
- {`${labels[i % labels.length]} ${i + 1}`}
170
+ {`Label${i + 1}`}
183
171
  </TabItem>
184
172
  );
185
173
  }
@@ -195,9 +183,8 @@ const StoryHorizontalScroll = (props: HorizontalStoryTabsProps) => {
195
183
  contentLeft={getContentLeft(contentLeftOption, size as Size)}
196
184
  contentRight={getContentRight(contentRightOption, size as Size)}
197
185
  size={size as Size}
198
- maxItemWidth={maxItemWidth}
199
186
  >
200
- {`${labels[i % labels.length]} ${i + 1}`}
187
+ {`Label${i + 1}`}
201
188
  </TabItem>
202
189
  );
203
190
  })}
@@ -215,7 +202,6 @@ const StoryHorizontalShowAll = (props: HorizontalStoryTabsProps) => {
215
202
  contentRight: contentRightOption,
216
203
  hasDivider,
217
204
  helperText,
218
- maxItemWidth,
219
205
  } = props;
220
206
  const maxItemQuantity = 3;
221
207
  const items = Array(itemQuantity).fill(0);
@@ -248,9 +234,8 @@ const StoryHorizontalShowAll = (props: HorizontalStoryTabsProps) => {
248
234
  value={helperText}
249
235
  contentLeft={getContentLeft(contentLeftOption, size as Size)}
250
236
  size={size as Size}
251
- maxItemWidth={maxItemWidth}
252
237
  >
253
- {`${labels[i % labels.length]} ${i + 1}`}
238
+ {`Label${i + 1}`}
254
239
  </TabItem>
255
240
  );
256
241
  }
@@ -266,9 +251,8 @@ const StoryHorizontalShowAll = (props: HorizontalStoryTabsProps) => {
266
251
  contentLeft={getContentLeft(contentLeftOption, size as Size)}
267
252
  contentRight={getContentRight(contentRightOption, size as Size)}
268
253
  size={size as Size}
269
- maxItemWidth={maxItemWidth}
270
254
  >
271
- {`${labels[i % labels.length]} ${i + 1}`}
255
+ {`Label${i + 1}`}
272
256
  </TabItem>
273
257
  );
274
258
  })}
@@ -285,7 +269,6 @@ const StoryHorizontalShowAll = (props: HorizontalStoryTabsProps) => {
285
269
  tabIndex={!disabled ? 0 : -1}
286
270
  disabled={disabled}
287
271
  size={size as Size}
288
- maxItemWidth="auto"
289
272
  >
290
273
  ShowAll
291
274
  </TabItem>
@@ -302,10 +285,9 @@ export const HorizontalTabs: StoryObj<HorizontalStoryTabsProps> = {
302
285
  disabled: false,
303
286
  hasDivider: true,
304
287
  helperText: '',
305
- itemQuantity: 6,
288
+ itemQuantity: 8,
306
289
  stretch: false,
307
290
  width: '15rem',
308
- maxItemWidth: '',
309
291
  },
310
292
  argTypes: {
311
293
  contentLeft: {
@@ -361,7 +343,6 @@ const StoryVerticalDefault = (props: VerticalStoryTabsProps) => {
361
343
  contentRight: contentRightOption,
362
344
  hasDivider,
363
345
  helperText,
364
- maxItemWidth,
365
346
  } = props;
366
347
  const items = Array(itemQuantity).fill(0);
367
348
  const [index, setIndex] = useState(0);
@@ -382,9 +363,8 @@ const StoryVerticalDefault = (props: VerticalStoryTabsProps) => {
382
363
  value={helperText}
383
364
  contentLeft={getContentLeft(contentLeftOption, size as Size)}
384
365
  size={size as Size}
385
- maxItemWidth={maxItemWidth}
386
366
  >
387
- {`${labels[i % labels.length]} ${i + 1}`}
367
+ {`Label${i + 1}`}
388
368
  </TabItem>
389
369
  );
390
370
  }
@@ -401,9 +381,8 @@ const StoryVerticalDefault = (props: VerticalStoryTabsProps) => {
401
381
  contentLeft={getContentLeft(contentLeftOption, size as Size)}
402
382
  contentRight={getContentRight(contentRightOption, size as Size)}
403
383
  size={size as Size}
404
- maxItemWidth={maxItemWidth}
405
384
  >
406
- {`${labels[i % labels.length]} ${i + 1}`}
385
+ {`Label${i + 1}`}
407
386
  </TabItem>
408
387
  );
409
388
  })}
@@ -422,7 +401,6 @@ const StoryVerticalScroll = (props: VerticalStoryTabsProps) => {
422
401
  hasDivider,
423
402
  helperText,
424
403
  height,
425
- maxItemWidth,
426
404
  } = props;
427
405
  const items = Array(itemQuantity).fill(0);
428
406
  const [index, setIndex] = useState(0);
@@ -450,9 +428,8 @@ const StoryVerticalScroll = (props: VerticalStoryTabsProps) => {
450
428
  value={helperText}
451
429
  contentLeft={getContentLeft(contentLeftOption, size as Size)}
452
430
  size={size as Size}
453
- maxItemWidth={maxItemWidth}
454
431
  >
455
- {`${labels[i % labels.length]} ${i + 1}`}
432
+ {`Label${i + 1}`}
456
433
  </TabItem>
457
434
  );
458
435
  }
@@ -469,9 +446,8 @@ const StoryVerticalScroll = (props: VerticalStoryTabsProps) => {
469
446
  contentLeft={getContentLeft(contentLeftOption, size as Size)}
470
447
  contentRight={getContentRight(contentRightOption, size as Size)}
471
448
  size={size as Size}
472
- maxItemWidth={maxItemWidth}
473
449
  >
474
- {`${labels[i % labels.length]} ${i + 1}`}
450
+ {`Label${i + 1}`}
475
451
  </TabItem>
476
452
  );
477
453
  })}
@@ -489,7 +465,6 @@ const StoryVerticalShowAll = (props: VerticalStoryTabsProps) => {
489
465
  contentRight: contentRightOption,
490
466
  hasDivider,
491
467
  helperText,
492
- maxItemWidth,
493
468
  } = props;
494
469
  const maxItemQuantity = 3;
495
470
  const items = Array(itemQuantity).fill(0);
@@ -523,9 +498,8 @@ const StoryVerticalShowAll = (props: VerticalStoryTabsProps) => {
523
498
  value={helperText}
524
499
  contentLeft={getContentLeft(contentLeftOption, size as Size)}
525
500
  size={size as Size}
526
- maxItemWidth={maxItemWidth}
527
501
  >
528
- {`${labels[i % labels.length]} ${i + 1}`}
502
+ {`Label${i + 1}`}
529
503
  </TabItem>
530
504
  );
531
505
  }
@@ -542,9 +516,8 @@ const StoryVerticalShowAll = (props: VerticalStoryTabsProps) => {
542
516
  contentLeft={getContentLeft(contentLeftOption, size as Size)}
543
517
  contentRight={getContentRight(contentRightOption, size as Size)}
544
518
  size={size as Size}
545
- maxItemWidth={maxItemWidth}
546
519
  >
547
- {`${labels[i % labels.length]} ${i + 1}`}
520
+ {`Label${i + 1}`}
548
521
  </TabItem>
549
522
  );
550
523
  })}
@@ -561,7 +534,6 @@ const StoryVerticalShowAll = (props: VerticalStoryTabsProps) => {
561
534
  tabIndex={!disabled ? 0 : -1}
562
535
  disabled={disabled}
563
536
  size={size as Size}
564
- maxItemWidth="auto"
565
537
  >
566
538
  ShowAll
567
539
  </TabItem>
@@ -576,11 +548,10 @@ export const VerticalTabs: StoryObj<VerticalStoryTabsProps> = {
576
548
  size: 'xs',
577
549
  disabled: false,
578
550
  hasDivider: true,
579
- itemQuantity: 6,
551
+ itemQuantity: 8,
580
552
  orientation: 'vertical',
581
553
  helperText: '',
582
554
  height: '10rem',
583
- maxItemWidth: '',
584
555
  },
585
556
  argTypes: {
586
557
  contentLeft: {
@@ -633,7 +604,7 @@ export const VerticalTabs: StoryObj<VerticalStoryTabsProps> = {
633
604
  };
634
605
 
635
606
  const StoryHeaderDefault = (props: HorizontalStoryTabsProps) => {
636
- const { disabled, itemQuantity, size, helperText, maxItemWidth } = props;
607
+ const { disabled, itemQuantity, size, helperText } = props;
637
608
  const items = Array(itemQuantity).fill(0);
638
609
  const [index, setIndex] = useState(0);
639
610
 
@@ -649,7 +620,6 @@ const StoryHeaderDefault = (props: HorizontalStoryTabsProps) => {
649
620
  disabled={disabled}
650
621
  value={helperText}
651
622
  size={size as HeaderSize}
652
- maxItemWidth={maxItemWidth}
653
623
  >
654
624
  {`Label${i + 1}`}
655
625
  </TabItem>
@@ -659,7 +629,7 @@ const StoryHeaderDefault = (props: HorizontalStoryTabsProps) => {
659
629
  };
660
630
 
661
631
  const StoryHeaderScroll = (props: HorizontalStoryTabsProps) => {
662
- const { disabled, itemQuantity, size, helperText, width, maxItemWidth } = props;
632
+ const { disabled, itemQuantity, size, helperText, width } = props;
663
633
  const items = Array(itemQuantity).fill(0);
664
634
  const [index, setIndex] = useState(0);
665
635
 
@@ -675,9 +645,8 @@ const StoryHeaderScroll = (props: HorizontalStoryTabsProps) => {
675
645
  disabled={disabled}
676
646
  value={helperText}
677
647
  size={size as HeaderSize}
678
- maxItemWidth={maxItemWidth}
679
648
  >
680
- {`${labels[i % labels.length]} ${i + 1}`}
649
+ {`Label${i + 1}`}
681
650
  </TabItem>
682
651
  ))}
683
652
  </Tabs>
@@ -689,9 +658,8 @@ export const HeaderTabs: StoryObj<HorizontalStoryTabsProps> = {
689
658
  size: 'h5',
690
659
  disabled: false,
691
660
  helperText: '',
692
- itemQuantity: 4,
661
+ itemQuantity: 6,
693
662
  width: '12rem',
694
- maxItemWidth: '',
695
663
  },
696
664
  argTypes: {
697
665
  clip: {
@@ -34,9 +34,6 @@ var config = exports.config = {
34
34
  },
35
35
  pilled: {
36
36
  "true": /*#__PURE__*/(0, _styledComponents.css)(["", ":1.5rem;"], _Tabs.tabsTokens.itemPilledBorderRadius)
37
- },
38
- truncate: {
39
- "true": /*#__PURE__*/(0, _styledComponents.css)([""])
40
37
  }
41
38
  }
42
39
  };
@@ -23,9 +23,6 @@ var config = exports.config = {
23
23
  },
24
24
  disabled: {
25
25
  "true": /*#__PURE__*/(0, _styledComponents.css)(["", ":0.4;"], _Tabs.tabsTokens.disabledOpacity)
26
- },
27
- truncate: {
28
- "true": /*#__PURE__*/(0, _styledComponents.css)([""])
29
26
  }
30
27
  }
31
28
  };