@salutejs/plasma-new-hope 0.185.0-canary.1500.11703995241.0 → 0.185.0-canary.1511.11704579010.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (422) hide show
  1. package/cjs/components/Badge/Badge.css +3 -3
  2. package/cjs/components/Badge/Badge.js +3 -10
  3. package/cjs/components/Badge/Badge.js.map +1 -1
  4. package/cjs/components/Badge/Badge.styles.js +5 -5
  5. package/cjs/components/Badge/Badge.styles.js.map +1 -1
  6. package/cjs/components/Badge/Badge.styles_8pi3br.css +4 -0
  7. package/cjs/components/Badge/Badge.tokens.js +1 -2
  8. package/cjs/components/Badge/Badge.tokens.js.map +1 -1
  9. package/cjs/components/NumberInput/NumberInput.css +52 -0
  10. package/cjs/components/NumberInput/NumberInput.js +205 -0
  11. package/cjs/components/NumberInput/NumberInput.js.map +1 -0
  12. package/cjs/components/NumberInput/NumberInput.styles.js +9 -0
  13. package/cjs/components/NumberInput/NumberInput.styles.js.map +1 -0
  14. package/cjs/components/NumberInput/NumberInput.styles_jeawjl.css +1 -0
  15. package/cjs/components/NumberInput/NumberInput.tokens.js +102 -0
  16. package/cjs/components/NumberInput/NumberInput.tokens.js.map +1 -0
  17. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +19 -0
  18. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.js.map +1 -0
  19. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +22 -0
  20. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js.map +1 -0
  21. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles_x642ct.css +1 -0
  22. package/cjs/components/NumberInput/ui/Input/Input.css +15 -0
  23. package/cjs/components/NumberInput/ui/Input/Input.js +204 -0
  24. package/cjs/components/NumberInput/ui/Input/Input.js.map +1 -0
  25. package/cjs/components/NumberInput/ui/Input/Input.styles.js +96 -0
  26. package/cjs/components/NumberInput/ui/Input/Input.styles.js.map +1 -0
  27. package/cjs/components/NumberInput/ui/Input/Input.styles_fhgb95.css +8 -0
  28. package/cjs/components/NumberInput/utils/index.js +12 -0
  29. package/cjs/components/NumberInput/utils/index.js.map +1 -0
  30. package/cjs/components/NumberInput/variations/_background-type/base.js +9 -0
  31. package/cjs/components/NumberInput/variations/_background-type/base.js.map +1 -0
  32. package/cjs/components/NumberInput/variations/_background-type/base_dx9knv.css +1 -0
  33. package/cjs/components/NumberInput/variations/_disabled/base.js +9 -0
  34. package/cjs/components/NumberInput/variations/_disabled/base.js.map +1 -0
  35. package/cjs/components/NumberInput/variations/_disabled/base_1sl0mh8.css +1 -0
  36. package/cjs/components/NumberInput/variations/_segmentation/base.js +9 -0
  37. package/cjs/components/NumberInput/variations/_segmentation/base.js.map +1 -0
  38. package/cjs/components/NumberInput/variations/_segmentation/base_14s5rot.css +1 -0
  39. package/cjs/components/NumberInput/variations/_shape/base.js +9 -0
  40. package/cjs/components/NumberInput/variations/_shape/base.js.map +1 -0
  41. package/cjs/components/NumberInput/variations/_shape/base_k05biw.css +1 -0
  42. package/cjs/components/NumberInput/variations/_size/base.js +9 -0
  43. package/cjs/components/NumberInput/variations/_size/base.js.map +1 -0
  44. package/cjs/components/NumberInput/variations/_size/base_yqdmk4.css +1 -0
  45. package/cjs/components/NumberInput/variations/_view/base.js +9 -0
  46. package/cjs/components/NumberInput/variations/_view/base.js.map +1 -0
  47. package/cjs/components/NumberInput/variations/_view/base_tnfbb5.css +1 -0
  48. package/cjs/components/Tabs/tokens.js +1 -2
  49. package/cjs/components/Tabs/tokens.js.map +1 -1
  50. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +6 -6
  51. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -9
  52. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  53. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +6 -6
  54. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  55. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_uaaqqg.css +5 -0
  56. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_view/base.js +1 -1
  57. package/{es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_view/base_j8lg9u.css → cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_view/base_4zingj.css} +1 -1
  58. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +6 -6
  59. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +3 -9
  60. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js.map +1 -1
  61. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +6 -6
  62. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  63. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_1g7zipg.css +5 -0
  64. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_view/base.js +1 -1
  65. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/variations/_view/{base_12fk3xi.css → base_fueiq8.css} +1 -1
  66. package/cjs/index.css +38 -15
  67. package/cjs/index.js +6 -0
  68. package/cjs/index.js.map +1 -1
  69. package/emotion/cjs/components/Badge/Badge.js +3 -15
  70. package/emotion/cjs/components/Badge/Badge.styles.js +13 -4
  71. package/emotion/cjs/components/Badge/Badge.tokens.js +1 -2
  72. package/emotion/cjs/components/NumberInput/NumberInput.js +214 -0
  73. package/emotion/cjs/components/NumberInput/NumberInput.styles.js +17 -0
  74. package/emotion/cjs/components/NumberInput/NumberInput.template-doc.mdx +214 -0
  75. package/emotion/cjs/components/NumberInput/NumberInput.tokens.js +99 -0
  76. package/emotion/cjs/components/NumberInput/NumberInput.types.js +5 -0
  77. package/emotion/cjs/components/NumberInput/index.js +31 -0
  78. package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +18 -0
  79. package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +16 -0
  80. package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.types.js +5 -0
  81. package/emotion/cjs/components/NumberInput/ui/Input/Input.js +212 -0
  82. package/emotion/cjs/components/NumberInput/ui/Input/Input.styles.js +81 -0
  83. package/emotion/cjs/components/NumberInput/ui/Input/Input.types.js +5 -0
  84. package/emotion/cjs/components/NumberInput/ui/index.js +19 -0
  85. package/emotion/cjs/components/NumberInput/utils/index.js +9 -0
  86. package/emotion/cjs/components/NumberInput/variations/_background-type/base.js +10 -0
  87. package/emotion/cjs/components/NumberInput/variations/_background-type/tokens.json +6 -0
  88. package/emotion/cjs/components/NumberInput/variations/_disabled/base.js +9 -0
  89. package/emotion/cjs/components/NumberInput/variations/_disabled/tokens.json +4 -0
  90. package/emotion/cjs/components/NumberInput/variations/_segmentation/base.js +12 -0
  91. package/emotion/cjs/components/NumberInput/variations/_segmentation/tokens.json +1 -0
  92. package/emotion/cjs/components/NumberInput/variations/_shape/base.js +11 -0
  93. package/emotion/cjs/components/NumberInput/variations/_shape/tokens.json +1 -0
  94. package/emotion/cjs/components/NumberInput/variations/_size/base.js +13 -0
  95. package/emotion/cjs/components/NumberInput/variations/_size/tokens.json +22 -0
  96. package/emotion/cjs/components/NumberInput/variations/_view/base.js +13 -0
  97. package/emotion/cjs/components/NumberInput/variations/_view/tokens.json +14 -0
  98. package/emotion/cjs/components/Tabs/tokens.js +1 -2
  99. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -14
  100. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +12 -12
  101. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +3 -14
  102. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +12 -12
  103. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +14 -17
  104. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -5
  105. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +46 -0
  106. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +11 -0
  107. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
  108. package/emotion/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +19 -51
  109. package/emotion/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -18
  110. package/emotion/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +6 -9
  111. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +46 -0
  112. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +11 -0
  113. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
  114. package/emotion/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +19 -51
  115. package/emotion/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -18
  116. package/emotion/cjs/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.js +6 -9
  117. package/emotion/cjs/index.js +11 -0
  118. package/emotion/es/components/Badge/Badge.js +3 -16
  119. package/emotion/es/components/Badge/Badge.styles.js +14 -5
  120. package/emotion/es/components/Badge/Badge.tokens.js +1 -2
  121. package/emotion/es/components/NumberInput/NumberInput.js +206 -0
  122. package/emotion/es/components/NumberInput/NumberInput.styles.js +11 -0
  123. package/emotion/es/components/NumberInput/NumberInput.template-doc.mdx +214 -0
  124. package/emotion/es/components/NumberInput/NumberInput.tokens.js +93 -0
  125. package/emotion/es/components/NumberInput/NumberInput.types.js +1 -0
  126. package/emotion/es/components/NumberInput/index.js +2 -0
  127. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.js +11 -0
  128. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +9 -0
  129. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.types.js +1 -0
  130. package/emotion/es/components/NumberInput/ui/Input/Input.js +203 -0
  131. package/emotion/es/components/NumberInput/ui/Input/Input.styles.js +74 -0
  132. package/emotion/es/components/NumberInput/ui/Input/Input.types.js +1 -0
  133. package/emotion/es/components/NumberInput/ui/index.js +2 -0
  134. package/emotion/es/components/NumberInput/utils/index.js +3 -0
  135. package/emotion/es/components/NumberInput/variations/_background-type/base.js +4 -0
  136. package/emotion/es/components/NumberInput/variations/_background-type/tokens.json +6 -0
  137. package/emotion/es/components/NumberInput/variations/_disabled/base.js +3 -0
  138. package/emotion/es/components/NumberInput/variations/_disabled/tokens.json +4 -0
  139. package/emotion/es/components/NumberInput/variations/_segmentation/base.js +6 -0
  140. package/emotion/es/components/NumberInput/variations/_segmentation/tokens.json +1 -0
  141. package/emotion/es/components/NumberInput/variations/_shape/base.js +5 -0
  142. package/emotion/es/components/NumberInput/variations/_shape/tokens.json +1 -0
  143. package/emotion/es/components/NumberInput/variations/_size/base.js +7 -0
  144. package/emotion/es/components/NumberInput/variations/_size/tokens.json +22 -0
  145. package/emotion/es/components/NumberInput/variations/_view/base.js +7 -0
  146. package/emotion/es/components/NumberInput/variations/_view/tokens.json +14 -0
  147. package/emotion/es/components/Tabs/tokens.js +1 -2
  148. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -15
  149. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +13 -13
  150. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +3 -15
  151. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +13 -13
  152. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.config.js +14 -17
  153. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -5
  154. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +40 -0
  155. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +5 -0
  156. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
  157. package/emotion/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +19 -51
  158. package/emotion/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -18
  159. package/emotion/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +6 -9
  160. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +40 -0
  161. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.js +5 -0
  162. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
  163. package/emotion/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +19 -51
  164. package/emotion/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -18
  165. package/emotion/es/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.js +6 -9
  166. package/emotion/es/index.js +2 -1
  167. package/es/components/Badge/Badge.css +3 -3
  168. package/es/components/Badge/Badge.js +4 -11
  169. package/es/components/Badge/Badge.js.map +1 -1
  170. package/es/components/Badge/Badge.styles.js +5 -5
  171. package/es/components/Badge/Badge.styles.js.map +1 -1
  172. package/es/components/Badge/Badge.styles_8pi3br.css +4 -0
  173. package/es/components/Badge/Badge.tokens.js +1 -2
  174. package/es/components/Badge/Badge.tokens.js.map +1 -1
  175. package/es/components/NumberInput/NumberInput.css +52 -0
  176. package/es/components/NumberInput/NumberInput.js +200 -0
  177. package/es/components/NumberInput/NumberInput.js.map +1 -0
  178. package/es/components/NumberInput/NumberInput.styles.js +5 -0
  179. package/es/components/NumberInput/NumberInput.styles.js.map +1 -0
  180. package/es/components/NumberInput/NumberInput.styles_jeawjl.css +1 -0
  181. package/es/components/NumberInput/NumberInput.tokens.js +96 -0
  182. package/es/components/NumberInput/NumberInput.tokens.js.map +1 -0
  183. package/es/components/NumberInput/ui/ActionButton/ActionButton.js +15 -0
  184. package/es/components/NumberInput/ui/ActionButton/ActionButton.js.map +1 -0
  185. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +18 -0
  186. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js.map +1 -0
  187. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles_x642ct.css +1 -0
  188. package/es/components/NumberInput/ui/Input/Input.css +15 -0
  189. package/es/components/NumberInput/ui/Input/Input.js +200 -0
  190. package/es/components/NumberInput/ui/Input/Input.js.map +1 -0
  191. package/es/components/NumberInput/ui/Input/Input.styles.js +85 -0
  192. package/es/components/NumberInput/ui/Input/Input.styles.js.map +1 -0
  193. package/es/components/NumberInput/ui/Input/Input.styles_fhgb95.css +8 -0
  194. package/es/components/NumberInput/utils/index.js +6 -0
  195. package/es/components/NumberInput/utils/index.js.map +1 -0
  196. package/es/components/NumberInput/variations/_background-type/base.js +5 -0
  197. package/es/components/NumberInput/variations/_background-type/base.js.map +1 -0
  198. package/es/components/NumberInput/variations/_background-type/base_dx9knv.css +1 -0
  199. package/es/components/NumberInput/variations/_disabled/base.js +5 -0
  200. package/es/components/NumberInput/variations/_disabled/base.js.map +1 -0
  201. package/es/components/NumberInput/variations/_disabled/base_1sl0mh8.css +1 -0
  202. package/es/components/NumberInput/variations/_segmentation/base.js +5 -0
  203. package/es/components/NumberInput/variations/_segmentation/base.js.map +1 -0
  204. package/es/components/NumberInput/variations/_segmentation/base_14s5rot.css +1 -0
  205. package/es/components/NumberInput/variations/_shape/base.js +5 -0
  206. package/es/components/NumberInput/variations/_shape/base.js.map +1 -0
  207. package/es/components/NumberInput/variations/_shape/base_k05biw.css +1 -0
  208. package/es/components/NumberInput/variations/_size/base.js +5 -0
  209. package/es/components/NumberInput/variations/_size/base.js.map +1 -0
  210. package/es/components/NumberInput/variations/_size/base_yqdmk4.css +1 -0
  211. package/es/components/NumberInput/variations/_view/base.js +5 -0
  212. package/es/components/NumberInput/variations/_view/base.js.map +1 -0
  213. package/es/components/NumberInput/variations/_view/base_tnfbb5.css +1 -0
  214. package/es/components/Tabs/tokens.js +1 -2
  215. package/es/components/Tabs/tokens.js.map +1 -1
  216. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +6 -6
  217. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +4 -10
  218. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  219. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +6 -6
  220. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  221. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_uaaqqg.css +5 -0
  222. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_view/base.js +1 -1
  223. package/{cjs/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_view/base_j8lg9u.css → es/components/Tabs/ui/horizontal/HorizontalTabItem/variations/_view/base_4zingj.css} +1 -1
  224. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +6 -6
  225. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +4 -10
  226. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js.map +1 -1
  227. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +6 -6
  228. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  229. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_1g7zipg.css +5 -0
  230. package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_view/base.js +1 -1
  231. package/es/components/Tabs/ui/vertical/VerticalTabItem/variations/_view/{base_12fk3xi.css → base_fueiq8.css} +1 -1
  232. package/es/index.css +38 -15
  233. package/es/index.js +2 -0
  234. package/es/index.js.map +1 -1
  235. package/package.json +2 -2
  236. package/styled-components/cjs/components/Badge/Badge.js +3 -15
  237. package/styled-components/cjs/components/Badge/Badge.styles.js +2 -2
  238. package/styled-components/cjs/components/Badge/Badge.tokens.js +1 -2
  239. package/styled-components/cjs/components/NumberInput/NumberInput.js +214 -0
  240. package/styled-components/cjs/components/NumberInput/NumberInput.styles.js +8 -0
  241. package/styled-components/cjs/components/NumberInput/NumberInput.template-doc.mdx +214 -0
  242. package/styled-components/cjs/components/NumberInput/NumberInput.tokens.js +99 -0
  243. package/styled-components/cjs/components/NumberInput/NumberInput.types.js +5 -0
  244. package/styled-components/cjs/components/NumberInput/index.js +31 -0
  245. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +18 -0
  246. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +15 -0
  247. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.types.js +5 -0
  248. package/styled-components/cjs/components/NumberInput/ui/Input/Input.js +212 -0
  249. package/styled-components/cjs/components/NumberInput/ui/Input/Input.styles.js +48 -0
  250. package/styled-components/cjs/components/NumberInput/ui/Input/Input.types.js +5 -0
  251. package/styled-components/cjs/components/NumberInput/ui/index.js +19 -0
  252. package/styled-components/cjs/components/NumberInput/utils/index.js +9 -0
  253. package/styled-components/cjs/components/NumberInput/variations/_background-type/base.js +10 -0
  254. package/styled-components/cjs/components/NumberInput/variations/_background-type/tokens.json +6 -0
  255. package/styled-components/cjs/components/NumberInput/variations/_disabled/base.js +9 -0
  256. package/styled-components/cjs/components/NumberInput/variations/_disabled/tokens.json +4 -0
  257. package/styled-components/cjs/components/NumberInput/variations/_segmentation/base.js +12 -0
  258. package/styled-components/cjs/components/NumberInput/variations/_segmentation/tokens.json +1 -0
  259. package/styled-components/cjs/components/NumberInput/variations/_shape/base.js +11 -0
  260. package/styled-components/cjs/components/NumberInput/variations/_shape/tokens.json +1 -0
  261. package/styled-components/cjs/components/NumberInput/variations/_size/base.js +13 -0
  262. package/styled-components/cjs/components/NumberInput/variations/_size/tokens.json +22 -0
  263. package/styled-components/cjs/components/NumberInput/variations/_view/base.js +13 -0
  264. package/styled-components/cjs/components/NumberInput/variations/_view/tokens.json +14 -0
  265. package/styled-components/cjs/components/Tabs/tokens.js +1 -2
  266. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -14
  267. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +8 -8
  268. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +3 -14
  269. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +9 -9
  270. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +0 -3
  271. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -5
  272. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +46 -0
  273. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +11 -0
  274. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
  275. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +19 -51
  276. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -3
  277. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +0 -3
  278. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +46 -0
  279. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +11 -0
  280. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
  281. package/styled-components/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +19 -51
  282. package/styled-components/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -3
  283. package/styled-components/cjs/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.js +0 -3
  284. package/styled-components/cjs/index.js +11 -0
  285. package/styled-components/es/components/Badge/Badge.js +3 -16
  286. package/styled-components/es/components/Badge/Badge.styles.js +3 -3
  287. package/styled-components/es/components/Badge/Badge.tokens.js +1 -2
  288. package/styled-components/es/components/NumberInput/NumberInput.js +206 -0
  289. package/styled-components/es/components/NumberInput/NumberInput.styles.js +2 -0
  290. package/styled-components/es/components/NumberInput/NumberInput.template-doc.mdx +214 -0
  291. package/styled-components/es/components/NumberInput/NumberInput.tokens.js +93 -0
  292. package/styled-components/es/components/NumberInput/NumberInput.types.js +1 -0
  293. package/styled-components/es/components/NumberInput/index.js +2 -0
  294. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.js +11 -0
  295. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +8 -0
  296. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.types.js +1 -0
  297. package/styled-components/es/components/NumberInput/ui/Input/Input.js +203 -0
  298. package/styled-components/es/components/NumberInput/ui/Input/Input.styles.js +41 -0
  299. package/styled-components/es/components/NumberInput/ui/Input/Input.types.js +1 -0
  300. package/styled-components/es/components/NumberInput/ui/index.js +2 -0
  301. package/styled-components/es/components/NumberInput/utils/index.js +3 -0
  302. package/styled-components/es/components/NumberInput/variations/_background-type/base.js +4 -0
  303. package/styled-components/es/components/NumberInput/variations/_background-type/tokens.json +6 -0
  304. package/styled-components/es/components/NumberInput/variations/_disabled/base.js +3 -0
  305. package/styled-components/es/components/NumberInput/variations/_disabled/tokens.json +4 -0
  306. package/styled-components/es/components/NumberInput/variations/_segmentation/base.js +6 -0
  307. package/styled-components/es/components/NumberInput/variations/_segmentation/tokens.json +1 -0
  308. package/styled-components/es/components/NumberInput/variations/_shape/base.js +5 -0
  309. package/styled-components/es/components/NumberInput/variations/_shape/tokens.json +1 -0
  310. package/styled-components/es/components/NumberInput/variations/_size/base.js +7 -0
  311. package/styled-components/es/components/NumberInput/variations/_size/tokens.json +22 -0
  312. package/styled-components/es/components/NumberInput/variations/_view/base.js +7 -0
  313. package/styled-components/es/components/NumberInput/variations/_view/tokens.json +14 -0
  314. package/styled-components/es/components/Tabs/tokens.js +1 -2
  315. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -15
  316. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +9 -9
  317. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.js +3 -15
  318. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +10 -10
  319. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.config.js +0 -3
  320. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +1 -5
  321. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +40 -0
  322. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +5 -0
  323. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
  324. package/styled-components/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +19 -51
  325. package/styled-components/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -3
  326. package/styled-components/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.js +0 -3
  327. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +40 -0
  328. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.js +5 -0
  329. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
  330. package/styled-components/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +19 -51
  331. package/styled-components/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +0 -3
  332. package/styled-components/es/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.js +0 -3
  333. package/styled-components/es/index.js +2 -1
  334. package/types/components/Badge/Badge.d.ts.map +1 -1
  335. package/types/components/Badge/Badge.styles.d.ts +1 -1
  336. package/types/components/Badge/Badge.styles.d.ts.map +1 -1
  337. package/types/components/Badge/Badge.tokens.d.ts +0 -1
  338. package/types/components/Badge/Badge.tokens.d.ts.map +1 -1
  339. package/types/components/Badge/Badge.types.d.ts +0 -5
  340. package/types/components/Badge/Badge.types.d.ts.map +1 -1
  341. package/types/components/NumberInput/NumberInput.d.ts +38 -0
  342. package/types/components/NumberInput/NumberInput.d.ts.map +1 -0
  343. package/types/components/NumberInput/NumberInput.styles.d.ts +2 -0
  344. package/types/components/NumberInput/NumberInput.styles.d.ts.map +1 -0
  345. package/types/components/NumberInput/NumberInput.tokens.d.ts +88 -0
  346. package/types/components/NumberInput/NumberInput.tokens.d.ts.map +1 -0
  347. package/types/components/NumberInput/NumberInput.types.d.ts +112 -0
  348. package/types/components/NumberInput/NumberInput.types.d.ts.map +1 -0
  349. package/types/components/NumberInput/index.d.ts +3 -0
  350. package/types/components/NumberInput/index.d.ts.map +1 -0
  351. package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts +4 -0
  352. package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts.map +1 -0
  353. package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts +45 -0
  354. package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts.map +1 -0
  355. package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts +7 -0
  356. package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts.map +1 -0
  357. package/types/components/NumberInput/ui/Input/Input.d.ts +19 -0
  358. package/types/components/NumberInput/ui/Input/Input.d.ts.map +1 -0
  359. package/types/components/NumberInput/ui/Input/Input.styles.d.ts +30 -0
  360. package/types/components/NumberInput/ui/Input/Input.styles.d.ts.map +1 -0
  361. package/types/components/NumberInput/ui/Input/Input.types.d.ts +19 -0
  362. package/types/components/NumberInput/ui/Input/Input.types.d.ts.map +1 -0
  363. package/types/components/NumberInput/ui/index.d.ts +3 -0
  364. package/types/components/NumberInput/ui/index.d.ts.map +1 -0
  365. package/types/components/NumberInput/utils/index.d.ts +4 -0
  366. package/types/components/NumberInput/utils/index.d.ts.map +1 -0
  367. package/types/components/NumberInput/variations/_background-type/base.d.ts +2 -0
  368. package/types/components/NumberInput/variations/_background-type/base.d.ts.map +1 -0
  369. package/types/components/NumberInput/variations/_disabled/base.d.ts +2 -0
  370. package/types/components/NumberInput/variations/_disabled/base.d.ts.map +1 -0
  371. package/types/components/NumberInput/variations/_segmentation/base.d.ts +2 -0
  372. package/types/components/NumberInput/variations/_segmentation/base.d.ts.map +1 -0
  373. package/types/components/NumberInput/variations/_shape/base.d.ts +2 -0
  374. package/types/components/NumberInput/variations/_shape/base.d.ts.map +1 -0
  375. package/types/components/NumberInput/variations/_size/base.d.ts +2 -0
  376. package/types/components/NumberInput/variations/_size/base.d.ts.map +1 -0
  377. package/types/components/NumberInput/variations/_view/base.d.ts +2 -0
  378. package/types/components/NumberInput/variations/_view/base.d.ts.map +1 -0
  379. package/types/components/Tabs/TabItem.types.d.ts +0 -5
  380. package/types/components/Tabs/TabItem.types.d.ts.map +1 -1
  381. package/types/components/Tabs/tokens.d.ts +0 -1
  382. package/types/components/Tabs/tokens.d.ts.map +1 -1
  383. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.d.ts.map +1 -1
  384. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.d.ts +1 -1
  385. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.d.ts.map +1 -1
  386. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.d.ts.map +1 -1
  387. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.d.ts +1 -1
  388. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.d.ts.map +1 -1
  389. package/types/examples/plasma_b2c/components/Badge/Badge.config.d.ts +0 -3
  390. package/types/examples/plasma_b2c/components/Badge/Badge.config.d.ts.map +1 -1
  391. package/types/examples/plasma_b2c/components/Badge/Badge.d.ts +0 -6
  392. package/types/examples/plasma_b2c/components/Badge/Badge.d.ts.map +1 -1
  393. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts +39 -0
  394. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts.map +1 -0
  395. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts +82 -0
  396. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts.map +1 -0
  397. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts +0 -6
  398. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts.map +1 -1
  399. package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.d.ts +0 -3
  400. package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.d.ts.map +1 -1
  401. package/types/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.d.ts +0 -3
  402. package/types/examples/plasma_b2c/components/Tabs/vertical/VerticalTabItem.config.d.ts.map +1 -1
  403. package/types/examples/plasma_web/components/Badge/Badge.d.ts +0 -3
  404. package/types/examples/plasma_web/components/Badge/Badge.d.ts.map +1 -1
  405. package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts +39 -0
  406. package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts.map +1 -0
  407. package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts +82 -0
  408. package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts.map +1 -0
  409. package/types/examples/plasma_web/components/Tabs/TabItem.d.ts +0 -6
  410. package/types/examples/plasma_web/components/Tabs/TabItem.d.ts.map +1 -1
  411. package/types/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.d.ts +0 -3
  412. package/types/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.d.ts.map +1 -1
  413. package/types/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.d.ts +0 -3
  414. package/types/examples/plasma_web/components/Tabs/vertical/VerticalTabItem.config.d.ts.map +1 -1
  415. package/types/index.d.ts +1 -0
  416. package/types/index.d.ts.map +1 -1
  417. package/cjs/components/Badge/Badge.styles_hhbwyi.css +0 -4
  418. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_1yi1gll.css +0 -5
  419. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_17vv6lq.css +0 -5
  420. package/es/components/Badge/Badge.styles_hhbwyi.css +0 -4
  421. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_1yi1gll.css +0 -5
  422. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles_17vv6lq.css +0 -5
@@ -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: {
@@ -28,9 +28,6 @@ export var config = {
28
28
  },
29
29
  pilled: {
30
30
  "true": /*#__PURE__*/css(["", ":1.5rem;"], tabsTokens.itemPilledBorderRadius)
31
- },
32
- truncate: {
33
- "true": /*#__PURE__*/css([""])
34
31
  }
35
32
  }
36
33
  };
@@ -17,9 +17,6 @@ export var config = {
17
17
  },
18
18
  disabled: {
19
19
  "true": /*#__PURE__*/css(["", ":0.4;"], tabsTokens.disabledOpacity)
20
- },
21
- truncate: {
22
- "true": /*#__PURE__*/css([""])
23
20
  }
24
21
  }
25
22
  };
@@ -61,4 +61,5 @@ export * from './components/EmptyState';
61
61
  export * from './components/Editable';
62
62
  export * from './components/Mask';
63
63
  export * from './components/Attach';
64
- export * from './components/ViewContainer';
64
+ export * from './components/ViewContainer';
65
+ export * from './components/NumberInput';
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAQ/C,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAIhE,eAAO,MAAM,SAAS,SAAU,UAAU,cAAc,EAAE,cAAc,CAAC,sFA4CnE,CAAC;AAEP,eAAO,MAAM,WAAW;;;mBA9CQ,UAAU,cAAc,EAAE,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;CA2ExE,CAAC"}
1
+ {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAQ/C,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAIhE,eAAO,MAAM,SAAS,SAAU,UAAU,cAAc,EAAE,cAAc,CAAC,sFAqCnE,CAAC;AAEP,eAAO,MAAM,WAAW;;;mBAvCQ,UAAU,cAAc,EAAE,cAAc,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;CAoExE,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
+ export declare const base: import("@linaria/core").LinariaClassName;
2
3
  export declare const StyledContentLeft: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
4
  export declare const StyledContentMain: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
4
5
  export declare const StyledContentRight: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
- export declare const base: import("@linaria/core").LinariaClassName;
6
6
  //# sourceMappingURL=Badge.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.styles.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,iBAAiB,qKAI7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,uKAAgB,CAAC;AAE/C,eAAO,MAAM,kBAAkB,qKAI9B,CAAC;AAEF,eAAO,MAAM,IAAI,0CAiBhB,CAAC"}
1
+ {"version":3,"file":"Badge.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.styles.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,IAAI,0CAOhB,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAI7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,uKAAgB,CAAC;AAE/C,eAAO,MAAM,kBAAkB,qKAI9B,CAAC"}
@@ -2,7 +2,6 @@ export declare const classes: {
2
2
  badgePilled: string;
3
3
  badgeTransparent: string;
4
4
  badgeClear: string;
5
- badgeTruncate: string;
6
5
  };
7
6
  export declare const tokens: {
8
7
  background: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;CAKnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;CA0BlB,CAAC"}
1
+ {"version":3,"file":"Badge.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;CAInB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;CA0BlB,CAAC"}
@@ -58,11 +58,6 @@ declare type CustomBadgeProps = {
58
58
  * Слот для контента справа, например `Icon`
59
59
  */
60
60
  contentRight?: ReactNode;
61
- /**
62
- * Обрезает контент по максимальной ширине и добавляет ...
63
- * @default 'auto'
64
- */
65
- maxWidth?: string;
66
61
  /**
67
62
  * Размер Badge
68
63
  * @default
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.types.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE1E,aAAK,cAAc,GACb;IACI;;;;OAIG;IACH,KAAK,CAAC,EAAE,IAAI,CAAC;IACb;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC;IACf;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC;CACvB,GACD;IACI;;OAEG;IACH,MAAM,CAAC,EAAE,IAAI,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;CACjB,GACD;IACI;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;CACjB,CAAC;AAER,aAAK,gBAAgB,GAAG;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,iBAAiB,CAAC;AAEtB,oBAAY,UAAU,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,gBAAgB,GAAG,cAAc,CAAC;AAC5F,oBAAY,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC,GACvD,gBAAgB,GAAG;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC"}
1
+ {"version":3,"file":"Badge.types.d.ts","sourceRoot":"","sources":["../../../src/components/Badge/Badge.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE1E,aAAK,cAAc,GACb;IACI;;;;OAIG;IACH,KAAK,CAAC,EAAE,IAAI,CAAC;IACb;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC;IACf;;;;OAIG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC;CACvB,GACD;IACI;;OAEG;IACH,MAAM,CAAC,EAAE,IAAI,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;CACjB,GACD;IACI;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;CACjB,CAAC;AAER,aAAK,gBAAgB,GAAG;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,iBAAiB,CAAC;AAEtB,oBAAY,UAAU,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,gBAAgB,GAAG,cAAc,CAAC;AAC5F,oBAAY,cAAc,GAAG,cAAc,CAAC,cAAc,CAAC,GACvD,gBAAgB,GAAG;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC"}
@@ -0,0 +1,38 @@
1
+ import React from 'react';
2
+ import type { RootProps } from '../../engines';
3
+ import type { NumberInputProps, NumberInputRootProps } from './NumberInput.types';
4
+ export declare const numberInputRoot: (Root: RootProps<HTMLDivElement, NumberInputRootProps>) => React.ForwardRefExoticComponent<NumberInputProps & React.RefAttributes<HTMLInputElement>>;
5
+ export declare const numberInputConfig: {
6
+ name: string;
7
+ tag: string;
8
+ layout: (Root: RootProps<HTMLDivElement, NumberInputRootProps>) => React.ForwardRefExoticComponent<NumberInputProps & React.RefAttributes<HTMLInputElement>>;
9
+ base: import("@linaria/core").LinariaClassName;
10
+ variations: {
11
+ view: {
12
+ css: import("@linaria/core").LinariaClassName;
13
+ };
14
+ size: {
15
+ css: import("@linaria/core").LinariaClassName;
16
+ };
17
+ shape: {
18
+ css: import("@linaria/core").LinariaClassName;
19
+ };
20
+ inputBackgroundType: {
21
+ css: import("@linaria/core").LinariaClassName;
22
+ };
23
+ segmentation: {
24
+ css: import("@linaria/core").LinariaClassName;
25
+ };
26
+ disabled: {
27
+ css: import("@linaria/core").LinariaClassName;
28
+ attrs: boolean;
29
+ };
30
+ };
31
+ defaults: {
32
+ view: string;
33
+ size: string;
34
+ shape: string;
35
+ segmentation: string;
36
+ };
37
+ };
38
+ //# sourceMappingURL=NumberInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../src/components/NumberInput/NumberInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyD,MAAM,OAAO,CAAC;AAE9E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAI/C,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAWlF,eAAO,MAAM,eAAe,SAAU,UAAU,cAAc,EAAE,oBAAoB,CAAC,8FAkLhF,CAAC;AAEN,eAAO,MAAM,iBAAiB;;;mBApLQ,UAAU,cAAc,EAAE,oBAAoB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoNpF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const base: import("@linaria/core").LinariaClassName;
2
+ //# sourceMappingURL=NumberInput.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NumberInput.styles.d.ts","sourceRoot":"","sources":["../../../src/components/NumberInput/NumberInput.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAGhB,CAAC"}
@@ -0,0 +1,88 @@
1
+ export declare const classes: {
2
+ actionButtonDecrement: string;
3
+ actionButtonDecrementDisabled: string;
4
+ actionButtonIncrement: string;
5
+ actionButtonIncrementDisabled: string;
6
+ textBefore: string;
7
+ textAfter: string;
8
+ solidView: string;
9
+ segmentedView: string;
10
+ clearView: string;
11
+ errorAnimation: string;
12
+ disabled: string;
13
+ loading: string;
14
+ focused: string;
15
+ manualInput: string;
16
+ };
17
+ export declare const privateTokens: {
18
+ inputWidth: string;
19
+ segmentationBorderRadius: string;
20
+ segmentationInputBorderRadius: string;
21
+ topBoxShadow: string;
22
+ bottomBoxShadow: string;
23
+ leftBoxShadow: string;
24
+ rightBoxShadow: string;
25
+ };
26
+ export declare const tokens: {
27
+ rootMinWidth: string;
28
+ disabledOpacity: string;
29
+ rootBorderWidth: string;
30
+ wrapperBorderColor: string;
31
+ wrapperBorderColorFocus: string;
32
+ iconButtonColor: string;
33
+ iconButtonBackgroundColor: string;
34
+ iconButtonColorHover: string;
35
+ iconButtonColorSolidHover: string;
36
+ iconButtonBackgroundColorHover: string;
37
+ iconButtonColorActive: string;
38
+ iconButtonColorSolidActive: string;
39
+ iconButtonBackgroundColorActive: string;
40
+ actionButtonDisabledOpacity: string;
41
+ iconButtonHeight: string;
42
+ iconButtonWidth: string;
43
+ iconButtonPadding: string;
44
+ iconButtonRadius: string;
45
+ iconButtonSegmentationRadius: string;
46
+ iconButtonFontFamily: string;
47
+ iconButtonFontSize: string;
48
+ iconButtonFontStyle: string;
49
+ iconButtonFontWeight: string;
50
+ iconButtonLetterSpacing: string;
51
+ iconButtonLineHeight: string;
52
+ inputWrapperBorderWidth: string;
53
+ inputWrapperMargin: string;
54
+ inputWrapperBorderRadius: string;
55
+ textWrapperHeight: string;
56
+ textWrapperPadding: string;
57
+ fontFamily: string;
58
+ fontStyle: string;
59
+ fontSize: string;
60
+ fontWeight: string;
61
+ letterSpacing: string;
62
+ lineHeight: string;
63
+ textBeforeMarginRight: string;
64
+ textAfterMarginLeft: string;
65
+ caretColor: string;
66
+ caretColorSolid: string;
67
+ color: string;
68
+ colorSolid: string;
69
+ backgroundColor: string;
70
+ backgroundColorHover: string;
71
+ backgroundColorFocus: string;
72
+ backgroundColorSolidFocus: string;
73
+ backgroundColorSolid: string;
74
+ borderColor: string;
75
+ borderColorHover: string;
76
+ borderColorFocus: string;
77
+ borderColorSolidFocus: string;
78
+ borderColorSolid: string;
79
+ additionalTextColor: string;
80
+ additionalTextColorSolid: string;
81
+ errorColor: string;
82
+ backgroundErrorColor: string;
83
+ borderErrorColor: string;
84
+ loaderSpinnerSize: string;
85
+ loaderSpinnerColor: string;
86
+ loaderSpinnerColorSolid: string;
87
+ };
88
+ //# sourceMappingURL=NumberInput.tokens.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NumberInput.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/NumberInput/NumberInput.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;CAenB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;CAQzB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4ElB,CAAC"}
@@ -0,0 +1,112 @@
1
+ import type { SyntheticEvent, InputHTMLAttributes, ReactNode, HTMLAttributes } from 'react';
2
+ declare type SegmentationProps = {
3
+ /**
4
+ * Форма границ компонента.
5
+ */
6
+ segmentation?: 'clear';
7
+ /**
8
+ * Фон поля ввода.
9
+ */
10
+ inputBackgroundType?: never;
11
+ } | {
12
+ segmentation?: string;
13
+ inputBackgroundType?: string;
14
+ };
15
+ export declare type NumberInputProps = {
16
+ /**
17
+ * Числовое значение.
18
+ */
19
+ value?: number;
20
+ /**
21
+ * Минимальное значение.
22
+ */
23
+ min?: number;
24
+ /**
25
+ * Максимальное значение.
26
+ */
27
+ max?: number;
28
+ /**
29
+ * Шаг изменения значения.
30
+ * @default 1
31
+ */
32
+ step?: number;
33
+ /**
34
+ * Контрол в состоянии загрузки.
35
+ */
36
+ isLoading?: boolean;
37
+ /**
38
+ * Слот для контента загрузки.
39
+ */
40
+ loader?: ReactNode;
41
+ /**
42
+ * Размер контрола.
43
+ */
44
+ size?: string;
45
+ /**
46
+ * Вид компонента.
47
+ */
48
+ view?: string;
49
+ /**
50
+ * view применяется с clear-токенами
51
+ */
52
+ clear?: boolean;
53
+ /**
54
+ * Форма контрола.
55
+ */
56
+ shape?: string;
57
+ /**
58
+ * Компонент неактивен.
59
+ */
60
+ disabled?: boolean;
61
+ /**
62
+ * Слот для вспомогательного текста слева.
63
+ */
64
+ textBefore?: string;
65
+ /**
66
+ * Слот для вспомогательного текста справа.
67
+ */
68
+ textAfter?: string;
69
+ /**
70
+ * Пользовательская кнопка увеличения.
71
+ */
72
+ customIncrementButton?: ReactNode;
73
+ /**
74
+ * Иконка кнопки увеличения.
75
+ */
76
+ incrementIcon?: ReactNode;
77
+ /**
78
+ * Пользовательская кнопка уменьшения.
79
+ */
80
+ customDecrementButton?: ReactNode;
81
+ /**
82
+ * Иконка кнопки уменьшения.
83
+ */
84
+ decrementIcon?: ReactNode;
85
+ /**
86
+ * Доступность ввода значения вручную.
87
+ */
88
+ isManualInput?: boolean;
89
+ /**
90
+ * Вызывается при изменении значения.
91
+ */
92
+ onChange?: (event: SyntheticEvent<HTMLInputElement> | null, value: number | string) => void;
93
+ /**
94
+ * Вызывается при нажатии на кнопку увеличения значения.
95
+ */
96
+ onIncrement?: (value: number) => void;
97
+ /**
98
+ * Вызывается при нажатии на кнопку уменьшения значения.
99
+ */
100
+ onDecrement?: (value: number) => void;
101
+ } & SegmentationProps & Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'onChange' | 'value'>;
102
+ export declare type NumberInputRootProps = {
103
+ size?: string;
104
+ view?: string;
105
+ shape?: string;
106
+ segmentation?: string;
107
+ clear?: boolean;
108
+ disabled?: boolean;
109
+ isLoading?: boolean;
110
+ } & HTMLAttributes<HTMLDivElement>;
111
+ export {};
112
+ //# sourceMappingURL=NumberInput.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NumberInput.types.d.ts","sourceRoot":"","sources":["../../../src/components/NumberInput/NumberInput.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5F,aAAK,iBAAiB,GAChB;IACI;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,mBAAmB,CAAC,EAAE,KAAK,CAAC;CAC/B,GACD;IACI,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC;AAER,oBAAY,gBAAgB,GAAG;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,qBAAqB,CAAC,EAAE,SAAS,CAAC;IAClC;;OAEG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B;;OAEG;IACH,qBAAqB,CAAC,EAAE,SAAS,CAAC;IAClC;;OAEG;IACH,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,KAAK,IAAI,CAAC;IAC5F;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC,GAAG,iBAAiB,GACjB,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,UAAU,GAAG,OAAO,CAAC,CAAC;AAE/E,oBAAY,oBAAoB,GAAG;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { numberInputRoot, numberInputConfig } from './NumberInput';
2
+ export { tokens as numberInputTokens, classes as numberInputClasses } from './NumberInput.tokens';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/NumberInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,MAAM,IAAI,iBAAiB,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import type { ActionButtonProps } from './ActionButton.types';
3
+ export declare const ActionButton: FC<ActionButtonProps>;
4
+ //# sourceMappingURL=ActionButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActionButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/NumberInput/ui/ActionButton/ActionButton.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGlC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAE9D,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAM9C,CAAC"}