@salutejs/plasma-new-hope 0.187.0-canary.1539.11742294440.0 → 0.187.0-dev.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (370) hide show
  1. package/cjs/components/NumberInput/NumberInput.css +52 -0
  2. package/cjs/components/NumberInput/NumberInput.js +205 -0
  3. package/cjs/components/NumberInput/NumberInput.js.map +1 -0
  4. package/cjs/components/NumberInput/NumberInput.styles.js +9 -0
  5. package/cjs/components/NumberInput/NumberInput.styles.js.map +1 -0
  6. package/cjs/components/NumberInput/NumberInput.styles_jeawjl.css +1 -0
  7. package/cjs/components/NumberInput/NumberInput.tokens.js +102 -0
  8. package/cjs/components/NumberInput/NumberInput.tokens.js.map +1 -0
  9. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +19 -0
  10. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.js.map +1 -0
  11. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +22 -0
  12. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js.map +1 -0
  13. package/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles_x642ct.css +1 -0
  14. package/cjs/components/NumberInput/ui/Input/Input.css +15 -0
  15. package/cjs/components/NumberInput/ui/Input/Input.js +205 -0
  16. package/cjs/components/NumberInput/ui/Input/Input.js.map +1 -0
  17. package/cjs/components/NumberInput/ui/Input/Input.styles.js +96 -0
  18. package/cjs/components/NumberInput/ui/Input/Input.styles.js.map +1 -0
  19. package/cjs/components/NumberInput/ui/Input/Input.styles_fhgb95.css +8 -0
  20. package/cjs/components/NumberInput/utils/index.js +12 -0
  21. package/cjs/components/NumberInput/utils/index.js.map +1 -0
  22. package/cjs/components/{Switch/_toggleSize → NumberInput/variations/_background-type}/base.js +2 -2
  23. package/cjs/components/NumberInput/variations/_background-type/base.js.map +1 -0
  24. package/cjs/components/NumberInput/variations/_background-type/base_dx9knv.css +1 -0
  25. package/cjs/components/NumberInput/variations/_disabled/base.js +9 -0
  26. package/cjs/components/NumberInput/variations/_disabled/base.js.map +1 -0
  27. package/cjs/components/NumberInput/variations/_disabled/base_1sl0mh8.css +1 -0
  28. package/cjs/components/NumberInput/variations/_segmentation/base.js +9 -0
  29. package/cjs/components/NumberInput/variations/_segmentation/base.js.map +1 -0
  30. package/cjs/components/NumberInput/variations/_segmentation/base_14s5rot.css +1 -0
  31. package/cjs/components/NumberInput/variations/_shape/base.js +9 -0
  32. package/cjs/components/NumberInput/variations/_shape/base.js.map +1 -0
  33. package/cjs/components/NumberInput/variations/_shape/base_k05biw.css +1 -0
  34. package/cjs/components/NumberInput/variations/_size/base.js +9 -0
  35. package/cjs/components/NumberInput/variations/_size/base.js.map +1 -0
  36. package/cjs/components/NumberInput/variations/_size/base_yqdmk4.css +1 -0
  37. package/cjs/components/NumberInput/variations/_view/base.js +9 -0
  38. package/cjs/components/NumberInput/variations/_view/base.js.map +1 -0
  39. package/cjs/components/NumberInput/variations/_view/base_tnfbb5.css +1 -0
  40. package/cjs/components/Switch/Switch.css +7 -11
  41. package/cjs/components/Switch/Switch.js +7 -16
  42. package/cjs/components/Switch/Switch.js.map +1 -1
  43. package/cjs/components/Switch/Switch.styles.js +4 -16
  44. package/cjs/components/Switch/Switch.styles.js.map +1 -1
  45. package/cjs/components/Switch/Switch.styles_1kk0qzz.css +4 -0
  46. package/cjs/components/Switch/Switch.tokens.js +0 -11
  47. package/cjs/components/Switch/Switch.tokens.js.map +1 -1
  48. package/cjs/components/Switch/_focused/base.js +1 -1
  49. package/{es/components/Switch/_focused/base_sz3n0x.css → cjs/components/Switch/_focused/base_j4murk.css} +1 -1
  50. package/cjs/components/Switch/_size/base.js +1 -1
  51. package/cjs/components/Switch/_size/base.js.map +1 -1
  52. package/cjs/components/Switch/_size/base_1rjzpi4.css +1 -0
  53. package/cjs/components/Switch/_view/base.js +1 -1
  54. package/cjs/components/Switch/_view/base.js.map +1 -1
  55. package/cjs/components/Switch/_view/base_1mtyz12.css +1 -0
  56. package/cjs/index.css +30 -11
  57. package/cjs/index.js +6 -0
  58. package/cjs/index.js.map +1 -1
  59. package/emotion/cjs/components/NumberInput/NumberInput.js +214 -0
  60. package/emotion/cjs/components/NumberInput/NumberInput.styles.js +17 -0
  61. package/emotion/cjs/components/NumberInput/NumberInput.template-doc.mdx +214 -0
  62. package/emotion/cjs/components/NumberInput/NumberInput.tokens.js +99 -0
  63. package/emotion/cjs/components/NumberInput/NumberInput.types.js +5 -0
  64. package/emotion/cjs/components/NumberInput/index.js +31 -0
  65. package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +18 -0
  66. package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +16 -0
  67. package/emotion/cjs/components/NumberInput/ui/ActionButton/ActionButton.types.js +5 -0
  68. package/emotion/cjs/components/NumberInput/ui/Input/Input.js +213 -0
  69. package/emotion/cjs/components/NumberInput/ui/Input/Input.styles.js +81 -0
  70. package/emotion/cjs/components/NumberInput/ui/Input/Input.types.js +5 -0
  71. package/emotion/cjs/components/NumberInput/ui/index.js +19 -0
  72. package/emotion/cjs/components/NumberInput/utils/index.js +9 -0
  73. package/emotion/cjs/components/NumberInput/variations/_background-type/base.js +10 -0
  74. package/emotion/cjs/components/NumberInput/variations/_background-type/tokens.json +6 -0
  75. package/emotion/cjs/components/NumberInput/variations/_disabled/base.js +9 -0
  76. package/emotion/cjs/components/NumberInput/variations/_disabled/tokens.json +4 -0
  77. package/emotion/cjs/components/NumberInput/variations/_segmentation/base.js +12 -0
  78. package/emotion/cjs/components/NumberInput/variations/_segmentation/tokens.json +1 -0
  79. package/emotion/cjs/components/NumberInput/variations/_shape/base.js +11 -0
  80. package/emotion/cjs/components/NumberInput/variations/_shape/tokens.json +1 -0
  81. package/emotion/cjs/components/NumberInput/variations/_size/base.js +13 -0
  82. package/emotion/cjs/components/NumberInput/variations/_size/tokens.json +22 -0
  83. package/emotion/cjs/components/NumberInput/variations/_view/base.js +13 -0
  84. package/emotion/cjs/components/NumberInput/variations/_view/tokens.json +14 -0
  85. package/emotion/cjs/components/Switch/Switch.js +8 -17
  86. package/emotion/cjs/components/Switch/Switch.styles.js +5 -21
  87. package/emotion/cjs/components/Switch/Switch.template-doc.mdx +1 -37
  88. package/emotion/cjs/components/Switch/Switch.tokens.js +0 -11
  89. package/emotion/cjs/components/Switch/_size/base.js +1 -1
  90. package/emotion/cjs/components/Switch/_view/base.js +1 -1
  91. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +46 -0
  92. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +11 -0
  93. package/emotion/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
  94. package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.config.js +4 -11
  95. package/emotion/cjs/examples/plasma_b2c/components/Switch/Switch.stories.tsx +1 -7
  96. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +46 -0
  97. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +11 -0
  98. package/emotion/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
  99. package/emotion/cjs/examples/plasma_web/components/Switch/Switch.config.js +4 -11
  100. package/emotion/cjs/examples/plasma_web/components/Switch/Switch.stories.tsx +1 -14
  101. package/emotion/cjs/index.js +11 -0
  102. package/emotion/es/components/NumberInput/NumberInput.js +206 -0
  103. package/emotion/es/components/NumberInput/NumberInput.styles.js +11 -0
  104. package/emotion/es/components/NumberInput/NumberInput.template-doc.mdx +214 -0
  105. package/emotion/es/components/NumberInput/NumberInput.tokens.js +93 -0
  106. package/emotion/es/components/NumberInput/NumberInput.types.js +1 -0
  107. package/emotion/es/components/NumberInput/index.js +2 -0
  108. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.js +11 -0
  109. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +9 -0
  110. package/emotion/es/components/NumberInput/ui/ActionButton/ActionButton.types.js +1 -0
  111. package/emotion/es/components/NumberInput/ui/Input/Input.js +204 -0
  112. package/emotion/es/components/NumberInput/ui/Input/Input.styles.js +74 -0
  113. package/emotion/es/components/NumberInput/ui/Input/Input.types.js +1 -0
  114. package/emotion/es/components/NumberInput/ui/index.js +2 -0
  115. package/emotion/es/components/NumberInput/utils/index.js +3 -0
  116. package/emotion/es/components/NumberInput/variations/_background-type/base.js +4 -0
  117. package/emotion/es/components/NumberInput/variations/_background-type/tokens.json +6 -0
  118. package/emotion/es/components/NumberInput/variations/_disabled/base.js +3 -0
  119. package/emotion/es/components/NumberInput/variations/_disabled/tokens.json +4 -0
  120. package/emotion/es/components/NumberInput/variations/_segmentation/base.js +6 -0
  121. package/emotion/es/components/NumberInput/variations/_segmentation/tokens.json +1 -0
  122. package/emotion/es/components/NumberInput/variations/_shape/base.js +5 -0
  123. package/emotion/es/components/NumberInput/variations/_shape/tokens.json +1 -0
  124. package/emotion/es/components/NumberInput/variations/_size/base.js +7 -0
  125. package/emotion/es/components/NumberInput/variations/_size/tokens.json +22 -0
  126. package/emotion/es/components/NumberInput/variations/_view/base.js +7 -0
  127. package/emotion/es/components/NumberInput/variations/_view/tokens.json +14 -0
  128. package/emotion/es/components/Switch/Switch.js +4 -13
  129. package/emotion/es/components/Switch/Switch.styles.js +4 -20
  130. package/emotion/es/components/Switch/Switch.template-doc.mdx +1 -37
  131. package/emotion/es/components/Switch/Switch.tokens.js +0 -11
  132. package/emotion/es/components/Switch/_size/base.js +2 -2
  133. package/emotion/es/components/Switch/_view/base.js +2 -2
  134. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +40 -0
  135. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +5 -0
  136. package/emotion/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
  137. package/emotion/es/examples/plasma_b2c/components/Switch/Switch.config.js +4 -11
  138. package/emotion/es/examples/plasma_b2c/components/Switch/Switch.stories.tsx +1 -7
  139. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +40 -0
  140. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.js +5 -0
  141. package/emotion/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
  142. package/emotion/es/examples/plasma_web/components/Switch/Switch.config.js +4 -11
  143. package/emotion/es/examples/plasma_web/components/Switch/Switch.stories.tsx +1 -14
  144. package/emotion/es/index.js +2 -1
  145. package/es/components/NumberInput/NumberInput.css +52 -0
  146. package/es/components/NumberInput/NumberInput.js +200 -0
  147. package/es/components/NumberInput/NumberInput.js.map +1 -0
  148. package/es/components/NumberInput/NumberInput.styles.js +5 -0
  149. package/es/components/NumberInput/NumberInput.styles.js.map +1 -0
  150. package/es/components/NumberInput/NumberInput.styles_jeawjl.css +1 -0
  151. package/es/components/NumberInput/NumberInput.tokens.js +96 -0
  152. package/es/components/NumberInput/NumberInput.tokens.js.map +1 -0
  153. package/es/components/NumberInput/ui/ActionButton/ActionButton.js +15 -0
  154. package/es/components/NumberInput/ui/ActionButton/ActionButton.js.map +1 -0
  155. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +18 -0
  156. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js.map +1 -0
  157. package/es/components/NumberInput/ui/ActionButton/ActionButton.styles_x642ct.css +1 -0
  158. package/es/components/NumberInput/ui/Input/Input.css +15 -0
  159. package/es/components/NumberInput/ui/Input/Input.js +201 -0
  160. package/es/components/NumberInput/ui/Input/Input.js.map +1 -0
  161. package/es/components/NumberInput/ui/Input/Input.styles.js +85 -0
  162. package/es/components/NumberInput/ui/Input/Input.styles.js.map +1 -0
  163. package/es/components/NumberInput/ui/Input/Input.styles_fhgb95.css +8 -0
  164. package/es/components/NumberInput/utils/index.js +6 -0
  165. package/es/components/NumberInput/utils/index.js.map +1 -0
  166. package/es/components/{Switch/_toggleSize → NumberInput/variations/_background-type}/base.js +2 -2
  167. package/es/components/NumberInput/variations/_background-type/base.js.map +1 -0
  168. package/es/components/NumberInput/variations/_background-type/base_dx9knv.css +1 -0
  169. package/es/components/NumberInput/variations/_disabled/base.js +5 -0
  170. package/es/components/NumberInput/variations/_disabled/base.js.map +1 -0
  171. package/es/components/NumberInput/variations/_disabled/base_1sl0mh8.css +1 -0
  172. package/es/components/NumberInput/variations/_segmentation/base.js +5 -0
  173. package/es/components/NumberInput/variations/_segmentation/base.js.map +1 -0
  174. package/es/components/NumberInput/variations/_segmentation/base_14s5rot.css +1 -0
  175. package/es/components/NumberInput/variations/_shape/base.js +5 -0
  176. package/es/components/NumberInput/variations/_shape/base.js.map +1 -0
  177. package/es/components/NumberInput/variations/_shape/base_k05biw.css +1 -0
  178. package/es/components/NumberInput/variations/_size/base.js +5 -0
  179. package/es/components/NumberInput/variations/_size/base.js.map +1 -0
  180. package/es/components/NumberInput/variations/_size/base_yqdmk4.css +1 -0
  181. package/es/components/NumberInput/variations/_view/base.js +5 -0
  182. package/es/components/NumberInput/variations/_view/base.js.map +1 -0
  183. package/es/components/NumberInput/variations/_view/base_tnfbb5.css +1 -0
  184. package/es/components/Switch/Switch.css +7 -11
  185. package/es/components/Switch/Switch.js +8 -17
  186. package/es/components/Switch/Switch.js.map +1 -1
  187. package/es/components/Switch/Switch.styles.js +5 -15
  188. package/es/components/Switch/Switch.styles.js.map +1 -1
  189. package/es/components/Switch/Switch.styles_1kk0qzz.css +4 -0
  190. package/es/components/Switch/Switch.tokens.js +0 -11
  191. package/es/components/Switch/Switch.tokens.js.map +1 -1
  192. package/es/components/Switch/_focused/base.js +1 -1
  193. package/{cjs/components/Switch/_focused/base_sz3n0x.css → es/components/Switch/_focused/base_j4murk.css} +1 -1
  194. package/es/components/Switch/_size/base.js +1 -1
  195. package/es/components/Switch/_size/base.js.map +1 -1
  196. package/es/components/Switch/_size/base_1rjzpi4.css +1 -0
  197. package/es/components/Switch/_view/base.js +1 -1
  198. package/es/components/Switch/_view/base.js.map +1 -1
  199. package/es/components/Switch/_view/base_1mtyz12.css +1 -0
  200. package/es/index.css +30 -11
  201. package/es/index.js +2 -0
  202. package/es/index.js.map +1 -1
  203. package/package.json +2 -2
  204. package/styled-components/cjs/components/NumberInput/NumberInput.js +214 -0
  205. package/styled-components/cjs/components/NumberInput/NumberInput.styles.js +8 -0
  206. package/styled-components/cjs/components/NumberInput/NumberInput.template-doc.mdx +214 -0
  207. package/styled-components/cjs/components/NumberInput/NumberInput.tokens.js +99 -0
  208. package/styled-components/cjs/components/NumberInput/NumberInput.types.js +5 -0
  209. package/styled-components/cjs/components/NumberInput/index.js +31 -0
  210. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.js +18 -0
  211. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.styles.js +15 -0
  212. package/styled-components/cjs/components/NumberInput/ui/ActionButton/ActionButton.types.js +5 -0
  213. package/styled-components/cjs/components/NumberInput/ui/Input/Input.js +213 -0
  214. package/styled-components/cjs/components/NumberInput/ui/Input/Input.styles.js +48 -0
  215. package/styled-components/cjs/components/NumberInput/ui/Input/Input.types.js +5 -0
  216. package/styled-components/cjs/components/NumberInput/ui/index.js +19 -0
  217. package/styled-components/cjs/components/NumberInput/utils/index.js +9 -0
  218. package/styled-components/cjs/components/NumberInput/variations/_background-type/base.js +10 -0
  219. package/styled-components/cjs/components/NumberInput/variations/_background-type/tokens.json +6 -0
  220. package/styled-components/cjs/components/NumberInput/variations/_disabled/base.js +9 -0
  221. package/styled-components/cjs/components/NumberInput/variations/_disabled/tokens.json +4 -0
  222. package/styled-components/cjs/components/NumberInput/variations/_segmentation/base.js +12 -0
  223. package/styled-components/cjs/components/NumberInput/variations/_segmentation/tokens.json +1 -0
  224. package/styled-components/cjs/components/NumberInput/variations/_shape/base.js +11 -0
  225. package/styled-components/cjs/components/NumberInput/variations/_shape/tokens.json +1 -0
  226. package/styled-components/cjs/components/NumberInput/variations/_size/base.js +13 -0
  227. package/styled-components/cjs/components/NumberInput/variations/_size/tokens.json +22 -0
  228. package/styled-components/cjs/components/NumberInput/variations/_view/base.js +13 -0
  229. package/styled-components/cjs/components/NumberInput/variations/_view/tokens.json +14 -0
  230. package/styled-components/cjs/components/Switch/Switch.js +8 -17
  231. package/styled-components/cjs/components/Switch/Switch.styles.js +5 -11
  232. package/styled-components/cjs/components/Switch/Switch.template-doc.mdx +1 -37
  233. package/styled-components/cjs/components/Switch/Switch.tokens.js +0 -11
  234. package/styled-components/cjs/components/Switch/_size/base.js +1 -1
  235. package/styled-components/cjs/components/Switch/_view/base.js +1 -1
  236. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +46 -0
  237. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.js +11 -0
  238. package/styled-components/cjs/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
  239. package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.config.js +2 -9
  240. package/styled-components/cjs/examples/plasma_b2c/components/Switch/Switch.stories.tsx +1 -7
  241. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.config.js +46 -0
  242. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.js +11 -0
  243. package/styled-components/cjs/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
  244. package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.config.js +2 -9
  245. package/styled-components/cjs/examples/plasma_web/components/Switch/Switch.stories.tsx +1 -14
  246. package/styled-components/cjs/index.js +11 -0
  247. package/styled-components/es/components/NumberInput/NumberInput.js +206 -0
  248. package/styled-components/es/components/NumberInput/NumberInput.styles.js +2 -0
  249. package/styled-components/es/components/NumberInput/NumberInput.template-doc.mdx +214 -0
  250. package/styled-components/es/components/NumberInput/NumberInput.tokens.js +93 -0
  251. package/styled-components/es/components/NumberInput/NumberInput.types.js +1 -0
  252. package/styled-components/es/components/NumberInput/index.js +2 -0
  253. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.js +11 -0
  254. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.styles.js +8 -0
  255. package/styled-components/es/components/NumberInput/ui/ActionButton/ActionButton.types.js +1 -0
  256. package/styled-components/es/components/NumberInput/ui/Input/Input.js +204 -0
  257. package/styled-components/es/components/NumberInput/ui/Input/Input.styles.js +41 -0
  258. package/styled-components/es/components/NumberInput/ui/Input/Input.types.js +1 -0
  259. package/styled-components/es/components/NumberInput/ui/index.js +2 -0
  260. package/styled-components/es/components/NumberInput/utils/index.js +3 -0
  261. package/styled-components/es/components/NumberInput/variations/_background-type/base.js +4 -0
  262. package/styled-components/es/components/NumberInput/variations/_background-type/tokens.json +6 -0
  263. package/styled-components/es/components/NumberInput/variations/_disabled/base.js +3 -0
  264. package/styled-components/es/components/NumberInput/variations/_disabled/tokens.json +4 -0
  265. package/styled-components/es/components/NumberInput/variations/_segmentation/base.js +6 -0
  266. package/styled-components/es/components/NumberInput/variations/_segmentation/tokens.json +1 -0
  267. package/styled-components/es/components/NumberInput/variations/_shape/base.js +5 -0
  268. package/styled-components/es/components/NumberInput/variations/_shape/tokens.json +1 -0
  269. package/styled-components/es/components/NumberInput/variations/_size/base.js +7 -0
  270. package/styled-components/es/components/NumberInput/variations/_size/tokens.json +22 -0
  271. package/styled-components/es/components/NumberInput/variations/_view/base.js +7 -0
  272. package/styled-components/es/components/NumberInput/variations/_view/tokens.json +14 -0
  273. package/styled-components/es/components/Switch/Switch.js +4 -13
  274. package/styled-components/es/components/Switch/Switch.styles.js +4 -10
  275. package/styled-components/es/components/Switch/Switch.template-doc.mdx +1 -37
  276. package/styled-components/es/components/Switch/Switch.tokens.js +0 -11
  277. package/styled-components/es/components/Switch/_size/base.js +2 -2
  278. package/styled-components/es/components/Switch/_view/base.js +2 -2
  279. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.config.js +40 -0
  280. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.js +5 -0
  281. package/styled-components/es/examples/plasma_b2c/components/NumberInput/NumberInput.stories.tsx +108 -0
  282. package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.config.js +2 -9
  283. package/styled-components/es/examples/plasma_b2c/components/Switch/Switch.stories.tsx +1 -7
  284. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.config.js +40 -0
  285. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.js +5 -0
  286. package/styled-components/es/examples/plasma_web/components/NumberInput/NumberInput.stories.tsx +108 -0
  287. package/styled-components/es/examples/plasma_web/components/Switch/Switch.config.js +2 -9
  288. package/styled-components/es/examples/plasma_web/components/Switch/Switch.stories.tsx +1 -14
  289. package/styled-components/es/index.js +2 -1
  290. package/types/components/NumberInput/NumberInput.d.ts +38 -0
  291. package/types/components/NumberInput/NumberInput.d.ts.map +1 -0
  292. package/types/components/NumberInput/NumberInput.styles.d.ts +2 -0
  293. package/types/components/NumberInput/NumberInput.styles.d.ts.map +1 -0
  294. package/types/components/NumberInput/NumberInput.tokens.d.ts +88 -0
  295. package/types/components/NumberInput/NumberInput.tokens.d.ts.map +1 -0
  296. package/types/components/NumberInput/NumberInput.types.d.ts +112 -0
  297. package/types/components/NumberInput/NumberInput.types.d.ts.map +1 -0
  298. package/types/components/NumberInput/index.d.ts +3 -0
  299. package/types/components/NumberInput/index.d.ts.map +1 -0
  300. package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts +4 -0
  301. package/types/components/NumberInput/ui/ActionButton/ActionButton.d.ts.map +1 -0
  302. package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts +45 -0
  303. package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts.map +1 -0
  304. package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts +7 -0
  305. package/types/components/NumberInput/ui/ActionButton/ActionButton.types.d.ts.map +1 -0
  306. package/types/components/NumberInput/ui/Input/Input.d.ts +19 -0
  307. package/types/components/NumberInput/ui/Input/Input.d.ts.map +1 -0
  308. package/types/components/NumberInput/ui/Input/Input.styles.d.ts +30 -0
  309. package/types/components/NumberInput/ui/Input/Input.styles.d.ts.map +1 -0
  310. package/types/components/NumberInput/ui/Input/Input.types.d.ts +19 -0
  311. package/types/components/NumberInput/ui/Input/Input.types.d.ts.map +1 -0
  312. package/types/components/NumberInput/ui/index.d.ts +3 -0
  313. package/types/components/NumberInput/ui/index.d.ts.map +1 -0
  314. package/types/components/NumberInput/utils/index.d.ts +4 -0
  315. package/types/components/NumberInput/utils/index.d.ts.map +1 -0
  316. package/types/components/NumberInput/variations/_background-type/base.d.ts.map +1 -0
  317. package/types/components/NumberInput/variations/_disabled/base.d.ts +2 -0
  318. package/types/components/NumberInput/variations/_disabled/base.d.ts.map +1 -0
  319. package/types/components/NumberInput/variations/_segmentation/base.d.ts +2 -0
  320. package/types/components/NumberInput/variations/_segmentation/base.d.ts.map +1 -0
  321. package/types/components/NumberInput/variations/_shape/base.d.ts +2 -0
  322. package/types/components/NumberInput/variations/_shape/base.d.ts.map +1 -0
  323. package/types/components/NumberInput/variations/_size/base.d.ts +2 -0
  324. package/types/components/NumberInput/variations/_size/base.d.ts.map +1 -0
  325. package/types/components/NumberInput/variations/_view/base.d.ts +2 -0
  326. package/types/components/NumberInput/variations/_view/base.d.ts.map +1 -0
  327. package/types/components/Switch/Switch.d.ts +0 -3
  328. package/types/components/Switch/Switch.d.ts.map +1 -1
  329. package/types/components/Switch/Switch.styles.d.ts +0 -2
  330. package/types/components/Switch/Switch.styles.d.ts.map +1 -1
  331. package/types/components/Switch/Switch.tokens.d.ts +0 -9
  332. package/types/components/Switch/Switch.tokens.d.ts.map +1 -1
  333. package/types/components/Switch/Switch.types.d.ts +2 -10
  334. package/types/components/Switch/Switch.types.d.ts.map +1 -1
  335. package/types/components/Switch/_size/base.d.ts.map +1 -1
  336. package/types/components/Switch/_view/base.d.ts.map +1 -1
  337. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts +39 -0
  338. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.config.d.ts.map +1 -0
  339. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts +82 -0
  340. package/types/examples/plasma_b2c/components/NumberInput/NumberInput.d.ts.map +1 -0
  341. package/types/examples/plasma_b2c/components/Switch/Switch.config.d.ts +0 -7
  342. package/types/examples/plasma_b2c/components/Switch/Switch.config.d.ts.map +1 -1
  343. package/types/examples/plasma_b2c/components/Switch/Switch.d.ts +0 -6
  344. package/types/examples/plasma_b2c/components/Switch/Switch.d.ts.map +1 -1
  345. package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts +39 -0
  346. package/types/examples/plasma_web/components/NumberInput/NumberInput.config.d.ts.map +1 -0
  347. package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts +82 -0
  348. package/types/examples/plasma_web/components/NumberInput/NumberInput.d.ts.map +1 -0
  349. package/types/examples/plasma_web/components/Switch/Switch.config.d.ts +0 -7
  350. package/types/examples/plasma_web/components/Switch/Switch.config.d.ts.map +1 -1
  351. package/types/examples/plasma_web/components/Switch/Switch.d.ts +0 -6
  352. package/types/examples/plasma_web/components/Switch/Switch.d.ts.map +1 -1
  353. package/types/index.d.ts +1 -0
  354. package/types/index.d.ts.map +1 -1
  355. package/cjs/components/Switch/Switch.styles_bei7bh.css +0 -6
  356. package/cjs/components/Switch/_size/base_1tcl212.css +0 -1
  357. package/cjs/components/Switch/_toggleSize/base.js.map +0 -1
  358. package/cjs/components/Switch/_toggleSize/base_6i0904.css +0 -1
  359. package/cjs/components/Switch/_view/base_yxkf3s.css +0 -1
  360. package/emotion/cjs/components/Switch/_toggleSize/base.js +0 -10
  361. package/emotion/es/components/Switch/_toggleSize/base.js +0 -4
  362. package/es/components/Switch/Switch.styles_bei7bh.css +0 -6
  363. package/es/components/Switch/_size/base_1tcl212.css +0 -1
  364. package/es/components/Switch/_toggleSize/base.js.map +0 -1
  365. package/es/components/Switch/_toggleSize/base_6i0904.css +0 -1
  366. package/es/components/Switch/_view/base_yxkf3s.css +0 -1
  367. package/styled-components/cjs/components/Switch/_toggleSize/base.js +0 -10
  368. package/styled-components/es/components/Switch/_toggleSize/base.js +0 -4
  369. package/types/components/Switch/_toggleSize/base.d.ts.map +0 -1
  370. /package/types/components/{Switch/_toggleSize → NumberInput/variations/_background-type}/base.d.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/NumberInput/variations/_segmentation/base.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,IAAI,0CAoIhB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const base: import("@linaria/core").LinariaClassName;
2
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/NumberInput/variations/_shape/base.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,IAAI,0CAIhB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const base: import("@linaria/core").LinariaClassName;
2
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/NumberInput/variations/_size/base.ts"],"names":[],"mappings":"AAeA,eAAO,MAAM,IAAI,0CA+ChB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const base: import("@linaria/core").LinariaClassName;
2
+ //# sourceMappingURL=base.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/NumberInput/variations/_view/base.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,IAAI,0CA4FhB,CAAC"}
@@ -14,9 +14,6 @@ export declare const switchConfig: {
14
14
  view: {
15
15
  css: import("@linaria/core").LinariaClassName;
16
16
  };
17
- toggleSize: {
18
- css: import("@linaria/core").LinariaClassName;
19
- };
20
17
  disabled: {
21
18
  css: import("@linaria/core").LinariaClassName;
22
19
  attrs: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAS1C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,eAAO,MAAM,UAAU,SAAU,UAAU,gBAAgB,EAAE,WAAW,CAAC,yFA0DnE,CAAC;AAEP,eAAO,MAAM,YAAY;;;;mBA5DQ,UAAU,gBAAgB,EAAE,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;CAuFxE,CAAC"}
1
+ {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAQ1C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,eAAO,MAAM,UAAU,SAAU,UAAU,gBAAgB,EAAE,WAAW,CAAC,yFAoDnE,CAAC;AAEP,eAAO,MAAM,YAAY;;;;mBAtDQ,UAAU,gBAAgB,EAAE,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;CA8ExE,CAAC"}
@@ -1,7 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  export declare const base: import("@linaria/core").LinariaClassName;
3
- export declare const StyledContent: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
- export declare const StyledDescription: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
3
  export declare const StyledInput: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & Record<never, unknown>>;
6
4
  export declare const StyledLabel: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
7
5
  export declare const StyledTrigger: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.styles.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI,0CAYhB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAkBzB,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAE7B,CAAC;AAEF,eAAO,MAAM,WAAW,8KASvB,CAAC;AAEF,eAAO,MAAM,WAAW,uKAKvB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAmBzB,CAAC"}
1
+ {"version":3,"file":"Switch.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.styles.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,IAAI,0CAwBhB,CAAC;AAEF,eAAO,MAAM,WAAW,8KASvB,CAAC;AAEF,eAAO,MAAM,WAAW,uKAKvB,CAAC;AAEF,eAAO,MAAM,aAAa,qKAmBzB,CAAC"}
@@ -5,19 +5,10 @@ export declare const tokens: {
5
5
  fontWeight: string;
6
6
  letterSpacing: string;
7
7
  lineHeight: string;
8
- descriptionFontFamily: string;
9
- descriptionFontStyle: string;
10
- descriptionFontSize: string;
11
- descriptionFontWeight: string;
12
- descriptionLetterSpacing: string;
13
- descriptionLineHeight: string;
14
8
  labelColor: string;
15
9
  labelOffset: string;
16
- descriptionColor: string;
17
- descriptionOffset: string;
18
10
  /** Прозрачность для всего компонента в состоянии disabled */
19
11
  disabledOpacity: string;
20
- verticalGap: string;
21
12
  trackWidth: string;
22
13
  trackHeight: string;
23
14
  trackBorderRadius: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;IAwBf,6DAA6D;;;;;;;;;;;;;;;;;;;CA0BhE,CAAC;AAEF,eAAO,MAAM,OAAO;;;CAGnB,CAAC"}
1
+ {"version":3,"file":"Switch.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;;;;IAYf,6DAA6D;;;;;;;;;;;;;;;;;;CAyBhE,CAAC;AAEF,eAAO,MAAM,OAAO;;;CAGnB,CAAC"}
@@ -4,24 +4,16 @@ export interface SwitchPropsPropsBase {
4
4
  * Метка-подпись к элементу
5
5
  */
6
6
  label?: string;
7
- /**
8
- * Дополнительное описание
9
- */
10
- description?: string;
11
7
  }
12
8
  export interface SwitchPropsVariations extends SwitchPropsPropsBase {
13
9
  /**
14
- * Размер компонента.
10
+ * Размер контрола.
15
11
  */
16
12
  size?: string;
17
13
  /**
18
- * Вид компонента.
14
+ * Вид контрола.
19
15
  */
20
16
  view?: string;
21
- /**
22
- * Размер toggle.
23
- */
24
- toggleSize?: string;
25
17
  /**
26
18
  * Расположение подпись
27
19
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.types.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;IAC/D;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAEnC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,EAAE,qBAAqB;CAAG"}
1
+ {"version":3,"file":"Switch.types.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAEvD,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,qBAAsB,SAAQ,oBAAoB;IAC/D;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,aAAa,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAEnC;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,EAAE,qBAAqB;CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/_size/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAuBhB,CAAC"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/_size/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CA8BhB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/_view/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAiChB,CAAC"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/_view/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAyBhB,CAAC"}
@@ -0,0 +1,39 @@
1
+ export declare const config: {
2
+ defaults: {
3
+ view: string;
4
+ size: string;
5
+ shape: string;
6
+ inputBackgroundType: string;
7
+ };
8
+ variations: {
9
+ view: {
10
+ default: import("@linaria/core").LinariaClassName;
11
+ secondary: import("@linaria/core").LinariaClassName;
12
+ accent: import("@linaria/core").LinariaClassName;
13
+ clear: import("@linaria/core").LinariaClassName;
14
+ };
15
+ size: {
16
+ l: import("@linaria/core").LinariaClassName;
17
+ m: import("@linaria/core").LinariaClassName;
18
+ s: import("@linaria/core").LinariaClassName;
19
+ xs: import("@linaria/core").LinariaClassName;
20
+ };
21
+ shape: {
22
+ cornered: import("@linaria/core").LinariaClassName;
23
+ pilled: import("@linaria/core").LinariaClassName;
24
+ };
25
+ inputBackgroundType: {
26
+ fill: import("@linaria/core").LinariaClassName;
27
+ clear: import("@linaria/core").LinariaClassName;
28
+ };
29
+ segmentation: {
30
+ default: import("@linaria/core").LinariaClassName;
31
+ segmented: import("@linaria/core").LinariaClassName;
32
+ solid: import("@linaria/core").LinariaClassName;
33
+ };
34
+ disabled: {
35
+ true: import("@linaria/core").LinariaClassName;
36
+ };
37
+ };
38
+ };
39
+ //# sourceMappingURL=NumberInput.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NumberInput.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/NumberInput/NumberInput.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsRlB,CAAC"}
@@ -0,0 +1,82 @@
1
+ /// <reference types="react" />
2
+ export declare const NumberInput: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
3
+ view: {
4
+ default: import("@linaria/core").LinariaClassName;
5
+ secondary: import("@linaria/core").LinariaClassName;
6
+ accent: import("@linaria/core").LinariaClassName;
7
+ clear: import("@linaria/core").LinariaClassName;
8
+ };
9
+ size: {
10
+ l: import("@linaria/core").LinariaClassName;
11
+ m: import("@linaria/core").LinariaClassName;
12
+ s: import("@linaria/core").LinariaClassName;
13
+ xs: import("@linaria/core").LinariaClassName;
14
+ };
15
+ shape: {
16
+ cornered: import("@linaria/core").LinariaClassName;
17
+ pilled: import("@linaria/core").LinariaClassName;
18
+ };
19
+ inputBackgroundType: {
20
+ fill: import("@linaria/core").LinariaClassName;
21
+ clear: import("@linaria/core").LinariaClassName;
22
+ };
23
+ segmentation: {
24
+ default: import("@linaria/core").LinariaClassName;
25
+ segmented: import("@linaria/core").LinariaClassName;
26
+ solid: import("@linaria/core").LinariaClassName;
27
+ };
28
+ disabled: {
29
+ true: import("@linaria/core").LinariaClassName;
30
+ };
31
+ }> & (({
32
+ value?: number | undefined;
33
+ min?: number | undefined;
34
+ max?: number | undefined;
35
+ step?: number | undefined;
36
+ isLoading?: boolean | undefined;
37
+ loader?: import("react").ReactNode;
38
+ size?: string | undefined;
39
+ view?: string | undefined;
40
+ clear?: boolean | undefined;
41
+ shape?: string | undefined;
42
+ disabled?: boolean | undefined;
43
+ textBefore?: string | undefined;
44
+ textAfter?: string | undefined;
45
+ customIncrementButton?: import("react").ReactNode;
46
+ incrementIcon?: import("react").ReactNode;
47
+ customDecrementButton?: import("react").ReactNode;
48
+ decrementIcon?: import("react").ReactNode;
49
+ isManualInput?: boolean | undefined;
50
+ onChange?: ((event: import("react").SyntheticEvent<HTMLInputElement, Event> | null, value: string | number) => void) | undefined;
51
+ onIncrement?: ((value: number) => void) | undefined;
52
+ onDecrement?: ((value: number) => void) | undefined;
53
+ } & {
54
+ segmentation?: "clear" | undefined;
55
+ inputBackgroundType?: undefined;
56
+ } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
57
+ value?: number | undefined;
58
+ min?: number | undefined;
59
+ max?: number | undefined;
60
+ step?: number | undefined;
61
+ isLoading?: boolean | undefined;
62
+ loader?: import("react").ReactNode;
63
+ size?: string | undefined;
64
+ view?: string | undefined;
65
+ clear?: boolean | undefined;
66
+ shape?: string | undefined;
67
+ disabled?: boolean | undefined;
68
+ textBefore?: string | undefined;
69
+ textAfter?: string | undefined;
70
+ customIncrementButton?: import("react").ReactNode;
71
+ incrementIcon?: import("react").ReactNode;
72
+ customDecrementButton?: import("react").ReactNode;
73
+ decrementIcon?: import("react").ReactNode;
74
+ isManualInput?: boolean | undefined;
75
+ onChange?: ((event: import("react").SyntheticEvent<HTMLInputElement, Event> | null, value: string | number) => void) | undefined;
76
+ onIncrement?: ((value: number) => void) | undefined;
77
+ onDecrement?: ((value: number) => void) | undefined;
78
+ } & {
79
+ segmentation?: string | undefined;
80
+ inputBackgroundType?: string | undefined;
81
+ } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
82
+ //# sourceMappingURL=NumberInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/NumberInput/NumberInput.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mJAA0B,CAAC"}
@@ -2,19 +2,12 @@ export declare const config: {
2
2
  defaults: {
3
3
  view: string;
4
4
  size: string;
5
- toggleSize: string;
6
5
  labelPosition: string;
7
6
  focused: string;
8
7
  };
9
8
  variations: {
10
9
  size: {
11
- s: import("@linaria/core").LinariaClassName;
12
10
  m: import("@linaria/core").LinariaClassName;
13
- l: import("@linaria/core").LinariaClassName;
14
- };
15
- toggleSize: {
16
- l: import("@linaria/core").LinariaClassName;
17
- s: import("@linaria/core").LinariaClassName;
18
11
  };
19
12
  view: {
20
13
  default: import("@linaria/core").LinariaClassName;
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Switch/Switch.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsGlB,CAAC"}
1
+ {"version":3,"file":"Switch.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Switch/Switch.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;CAgDlB,CAAC"}
@@ -1,13 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  export declare const Switch: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
3
3
  size: {
4
- s: import("@linaria/core").LinariaClassName;
5
4
  m: import("@linaria/core").LinariaClassName;
6
- l: import("@linaria/core").LinariaClassName;
7
- };
8
- toggleSize: {
9
- l: import("@linaria/core").LinariaClassName;
10
- s: import("@linaria/core").LinariaClassName;
11
5
  };
12
6
  view: {
13
7
  default: import("@linaria/core").LinariaClassName;
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Switch/Switch.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;2GAA0B,CAAC"}
1
+ {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Switch/Switch.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,MAAM;;;;;;;;;;;;;2GAA0B,CAAC"}
@@ -0,0 +1,39 @@
1
+ export declare const config: {
2
+ defaults: {
3
+ view: string;
4
+ size: string;
5
+ shape: string;
6
+ inputBackgroundType: string;
7
+ };
8
+ variations: {
9
+ view: {
10
+ default: import("@linaria/core").LinariaClassName;
11
+ secondary: import("@linaria/core").LinariaClassName;
12
+ accent: import("@linaria/core").LinariaClassName;
13
+ clear: import("@linaria/core").LinariaClassName;
14
+ };
15
+ size: {
16
+ l: import("@linaria/core").LinariaClassName;
17
+ m: import("@linaria/core").LinariaClassName;
18
+ s: import("@linaria/core").LinariaClassName;
19
+ xs: import("@linaria/core").LinariaClassName;
20
+ };
21
+ shape: {
22
+ cornered: import("@linaria/core").LinariaClassName;
23
+ pilled: import("@linaria/core").LinariaClassName;
24
+ };
25
+ inputBackgroundType: {
26
+ fill: import("@linaria/core").LinariaClassName;
27
+ clear: import("@linaria/core").LinariaClassName;
28
+ };
29
+ segmentation: {
30
+ default: import("@linaria/core").LinariaClassName;
31
+ segmented: import("@linaria/core").LinariaClassName;
32
+ solid: import("@linaria/core").LinariaClassName;
33
+ };
34
+ disabled: {
35
+ true: import("@linaria/core").LinariaClassName;
36
+ };
37
+ };
38
+ };
39
+ //# sourceMappingURL=NumberInput.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NumberInput.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/NumberInput/NumberInput.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0RlB,CAAC"}
@@ -0,0 +1,82 @@
1
+ /// <reference types="react" />
2
+ export declare const NumberInput: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
3
+ view: {
4
+ default: import("@linaria/core").LinariaClassName;
5
+ secondary: import("@linaria/core").LinariaClassName;
6
+ accent: import("@linaria/core").LinariaClassName;
7
+ clear: import("@linaria/core").LinariaClassName;
8
+ };
9
+ size: {
10
+ l: import("@linaria/core").LinariaClassName;
11
+ m: import("@linaria/core").LinariaClassName;
12
+ s: import("@linaria/core").LinariaClassName;
13
+ xs: import("@linaria/core").LinariaClassName;
14
+ };
15
+ shape: {
16
+ cornered: import("@linaria/core").LinariaClassName;
17
+ pilled: import("@linaria/core").LinariaClassName;
18
+ };
19
+ inputBackgroundType: {
20
+ fill: import("@linaria/core").LinariaClassName;
21
+ clear: import("@linaria/core").LinariaClassName;
22
+ };
23
+ segmentation: {
24
+ default: import("@linaria/core").LinariaClassName;
25
+ segmented: import("@linaria/core").LinariaClassName;
26
+ solid: import("@linaria/core").LinariaClassName;
27
+ };
28
+ disabled: {
29
+ true: import("@linaria/core").LinariaClassName;
30
+ };
31
+ }> & (({
32
+ value?: number | undefined;
33
+ min?: number | undefined;
34
+ max?: number | undefined;
35
+ step?: number | undefined;
36
+ isLoading?: boolean | undefined;
37
+ loader?: import("react").ReactNode;
38
+ size?: string | undefined;
39
+ view?: string | undefined;
40
+ clear?: boolean | undefined;
41
+ shape?: string | undefined;
42
+ disabled?: boolean | undefined;
43
+ textBefore?: string | undefined;
44
+ textAfter?: string | undefined;
45
+ customIncrementButton?: import("react").ReactNode;
46
+ incrementIcon?: import("react").ReactNode;
47
+ customDecrementButton?: import("react").ReactNode;
48
+ decrementIcon?: import("react").ReactNode;
49
+ isManualInput?: boolean | undefined;
50
+ onChange?: ((event: import("react").SyntheticEvent<HTMLInputElement, Event> | null, value: string | number) => void) | undefined;
51
+ onIncrement?: ((value: number) => void) | undefined;
52
+ onDecrement?: ((value: number) => void) | undefined;
53
+ } & {
54
+ segmentation?: "clear" | undefined;
55
+ inputBackgroundType?: undefined;
56
+ } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
57
+ value?: number | undefined;
58
+ min?: number | undefined;
59
+ max?: number | undefined;
60
+ step?: number | undefined;
61
+ isLoading?: boolean | undefined;
62
+ loader?: import("react").ReactNode;
63
+ size?: string | undefined;
64
+ view?: string | undefined;
65
+ clear?: boolean | undefined;
66
+ shape?: string | undefined;
67
+ disabled?: boolean | undefined;
68
+ textBefore?: string | undefined;
69
+ textAfter?: string | undefined;
70
+ customIncrementButton?: import("react").ReactNode;
71
+ incrementIcon?: import("react").ReactNode;
72
+ customDecrementButton?: import("react").ReactNode;
73
+ decrementIcon?: import("react").ReactNode;
74
+ isManualInput?: boolean | undefined;
75
+ onChange?: ((event: import("react").SyntheticEvent<HTMLInputElement, Event> | null, value: string | number) => void) | undefined;
76
+ onIncrement?: ((value: number) => void) | undefined;
77
+ onDecrement?: ((value: number) => void) | undefined;
78
+ } & {
79
+ segmentation?: string | undefined;
80
+ inputBackgroundType?: string | undefined;
81
+ } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "size"> & import("react").RefAttributes<HTMLInputElement>))>;
82
+ //# sourceMappingURL=NumberInput.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NumberInput.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/NumberInput/NumberInput.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mJAA0B,CAAC"}
@@ -2,19 +2,12 @@ export declare const config: {
2
2
  defaults: {
3
3
  view: string;
4
4
  size: string;
5
- toggleSize: string;
6
5
  labelPosition: string;
7
6
  focused: string;
8
7
  };
9
8
  variations: {
10
9
  size: {
11
- s: import("@linaria/core").LinariaClassName;
12
10
  m: import("@linaria/core").LinariaClassName;
13
- l: import("@linaria/core").LinariaClassName;
14
- };
15
- toggleSize: {
16
- l: import("@linaria/core").LinariaClassName;
17
- s: import("@linaria/core").LinariaClassName;
18
11
  };
19
12
  view: {
20
13
  default: import("@linaria/core").LinariaClassName;
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Switch/Switch.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsGlB,CAAC"}
1
+ {"version":3,"file":"Switch.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Switch/Switch.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;CAgDlB,CAAC"}
@@ -1,13 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  export declare const Switch: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
3
3
  size: {
4
- s: import("@linaria/core").LinariaClassName;
5
4
  m: import("@linaria/core").LinariaClassName;
6
- l: import("@linaria/core").LinariaClassName;
7
- };
8
- toggleSize: {
9
- l: import("@linaria/core").LinariaClassName;
10
- s: import("@linaria/core").LinariaClassName;
11
5
  };
12
6
  view: {
13
7
  default: import("@linaria/core").LinariaClassName;
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Switch/Switch.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;2GAA0B,CAAC"}
1
+ {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Switch/Switch.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,MAAM;;;;;;;;;;;;;2GAA0B,CAAC"}
package/types/index.d.ts CHANGED
@@ -60,4 +60,5 @@ export * from './components/Editable';
60
60
  export * from './components/Mask';
61
61
  export * from './components/Attach';
62
62
  export * from './components/ViewContainer';
63
+ export * from './components/NumberInput';
63
64
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC"}
@@ -1,6 +0,0 @@
1
- .b1fcyfkl{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:var(--plasma-switch-vertical-gap);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);}.b1fcyfkl:focus{outline:0 none;}
2
- .s10fscgc{width:100%;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.s10fscgc.switch-label-position-before{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;--plasma_private-switch__label-offset:0 var(--plasma-switch__label-offset) 0 0;}.s10fscgc.switch-label-position-after{-webkit-box-pack:start;-webkit-justify-content:start;-ms-flex-pack:start;justify-content:start;-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;--plasma_private-switch__label-offset:0 0 0 var(--plasma-switch__label-offset);}
3
- .sdjnckq{position:relative;}
4
- .ssthlx1{position:absolute;right:0;margin:0;opacity:0;}.ssthlx1:focus{outline:0 none;}
5
- .s1ilr5eq{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
6
- .s2cs3kf{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transition:background-color 0.15s ease-in-out 0.1s;transition:background-color 0.15s ease-in-out 0.1s;}.s2cs3kf::after{content:'';position:absolute;right:auto;left:0;-webkit-transition:width 0.15s ease-in-out 0s,left 0.3s ease-in-out 0s,right 0.3s ease-in-out 0s;transition:width 0.15s ease-in-out 0s,left 0.3s ease-in-out 0s,right 0.3s ease-in-out 0s;}.ssthlx1:checked ~ .s2cs3kf::after{right:0;left:auto;}
@@ -1 +0,0 @@
1
- .bm1v11h .s10fscgc{font-family:var(--plasma-switch-font-family);font-style:var(--plasma-switch-font-style);font-weight:var(--plasma-switch-font-weight);-webkit-letter-spacing:var(--plasma-switch-letter-spacing);-moz-letter-spacing:var(--plasma-switch-letter-spacing);-ms-letter-spacing:var(--plasma-switch-letter-spacing);letter-spacing:var(--plasma-switch-letter-spacing);line-height:var(--plasma-switch-line-height);font-size:var(--plasma-switch-font-size);}.bm1v11h .sdjnckq{font-family:var(--plasma-switch-description-font-family);font-style:var(--plasma-switch-description-font-style);font-weight:var(--plasma-switch-description-font-weight);-webkit-letter-spacing:var(--plasma-switch-description-letter-spacing);-moz-letter-spacing:var(--plasma-switch-description-letter-spacing);-ms-letter-spacing:var(--plasma-switch-description-letter-spacing);letter-spacing:var(--plasma-switch-description-letter-spacing);line-height:var(--plasma-switch-description-line-height);font-size:var(--plasma-switch-description-font-size);}.bm1v11h .s1ilr5eq{margin:var(--plasma_private-switch__label-offset,0);}
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.js","sources":["../../../../src/components/Switch/_toggleSize/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { tokens } from '../Switch.tokens';\nimport { StyledTrigger } from '../Switch.styles';\n\nexport const base = css`\n ${StyledTrigger} {\n flex: 0 0 var(${tokens.trackWidth});\n width: var(${tokens.trackWidth});\n height: var(${tokens.trackHeight});\n border-radius: var(${tokens.trackBorderRadius});\n\n &::after {\n width: var(${tokens.thumbSize});\n height: var(${tokens.thumbSize});\n border-radius: var(${tokens.thumbBorderRadius});\n margin: auto var(${tokens.thumbOffset});\n }\n }\n\n :active:not([disabled]) ${StyledTrigger}::after {\n width: calc(var(${tokens.thumbSize}) * var(${tokens.thumbPressScale}, 1));\n }\n`;\n"],"names":["base"],"mappings":";;;;AAKO,IAAMA,IAAI,GAkBhB;;;;"}
@@ -1 +0,0 @@
1
- .b1wld3h3 .s2cs3kf{-webkit-flex:0 0 var(--plasma-switch__track-width);-ms-flex:0 0 var(--plasma-switch__track-width);flex:0 0 var(--plasma-switch__track-width);width:var(--plasma-switch__track-width);height:var(--plasma-switch__track-height);border-radius:var(--plasma-switch__track-border-radius);}.b1wld3h3 .s2cs3kf::after{width:var(--plasma-switch__thumb-size);height:var(--plasma-switch__thumb-size);border-radius:var(--plasma-switch__thumb-border-radius);margin:auto var(--plasma-switch__thumb-offset);}.b1wld3h3:active:not([disabled]) .s2cs3kf::after{width:calc(var(--plasma-switch__thumb-size) * var(--plasma-switch__thumb-scale,1));}
@@ -1 +0,0 @@
1
- .b1g0jmh3 .s2cs3kf{background-color:var(--plasma-switch__track_checked_false-bg-color);}.b1g0jmh3 .ssthlx1:not([disabled]) ~ .s2cs3kf:hover{background-color:var(--plasma-switch__track_checked_false_hovered_true-bg-color,var(--plasma-switch__track_checked_false-bg-color));}.b1g0jmh3 .ssthlx1:checked ~ .s2cs3kf{background-color:var(--plasma-switch__track_checked_true-bg-color);}.b1g0jmh3 .ssthlx1:checked:not([disabled]) ~ .s2cs3kf:hover{background-color:var(--plasma-switch__track_checked_true_hovered_true-bg-color,var(--plasma-switch__track_checked_true-bg-color));}.b1g0jmh3 .s2cs3kf::after{background-color:var(--plasma-switch__thumb-bg-color);box-shadow:var(--plasma-switch__thumb-box-shadow);}.b1g0jmh3 .ssthlx1:checked ~ .s2cs3kf::after{box-shadow:var(--plasma-switch__thumb-box-shadow_checked_true,var(--plasma-switch__thumb-box-shadow));}.b1g0jmh3 .s1ilr5eq{color:var(--plasma-switch__label-color);}.b1g0jmh3 .sdjnckq{color:var(--plasma-switch__description-color);}
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.base = void 0;
7
- var _react = /*#__PURE__*/require("@emotion/react");
8
- var _Switch = /*#__PURE__*/require("../Switch.tokens");
9
- var _Switch2 = /*#__PURE__*/require("../Switch.styles");
10
- var base = exports.base = /*#__PURE__*/(0, _react.css)(_Switch2.StyledTrigger, "{flex:0 0 var(", _Switch.tokens.trackWidth, ");width:var(", _Switch.tokens.trackWidth, ");height:var(", _Switch.tokens.trackHeight, ");border-radius:var(", _Switch.tokens.trackBorderRadius, ");&::after{width:var(", _Switch.tokens.thumbSize, ");height:var(", _Switch.tokens.thumbSize, ");border-radius:var(", _Switch.tokens.thumbBorderRadius, ");margin:auto var(", _Switch.tokens.thumbOffset, ");}}:active:not([disabled]) ", _Switch2.StyledTrigger, "::after{width:calc(var(", _Switch.tokens.thumbSize, ") * var(", _Switch.tokens.thumbPressScale, ", 1));};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU3dpdGNoL190b2dnbGVTaXplL2Jhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS3VCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU3dpdGNoL190b2dnbGVTaXplL2Jhc2UudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IHRva2VucyB9IGZyb20gJy4uL1N3aXRjaC50b2tlbnMnO1xuaW1wb3J0IHsgU3R5bGVkVHJpZ2dlciB9IGZyb20gJy4uL1N3aXRjaC5zdHlsZXMnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAke1N0eWxlZFRyaWdnZXJ9IHtcbiAgICAgICAgZmxleDogMCAwIHZhcigke3Rva2Vucy50cmFja1dpZHRofSk7XG4gICAgICAgIHdpZHRoOiB2YXIoJHt0b2tlbnMudHJhY2tXaWR0aH0pO1xuICAgICAgICBoZWlnaHQ6IHZhcigke3Rva2Vucy50cmFja0hlaWdodH0pO1xuICAgICAgICBib3JkZXItcmFkaXVzOiB2YXIoJHt0b2tlbnMudHJhY2tCb3JkZXJSYWRpdXN9KTtcblxuICAgICAgICAmOjphZnRlciB7XG4gICAgICAgICAgICB3aWR0aDogdmFyKCR7dG9rZW5zLnRodW1iU2l6ZX0pO1xuICAgICAgICAgICAgaGVpZ2h0OiB2YXIoJHt0b2tlbnMudGh1bWJTaXplfSk7XG4gICAgICAgICAgICBib3JkZXItcmFkaXVzOiB2YXIoJHt0b2tlbnMudGh1bWJCb3JkZXJSYWRpdXN9KTtcbiAgICAgICAgICAgIG1hcmdpbjogYXV0byB2YXIoJHt0b2tlbnMudGh1bWJPZmZzZXR9KTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIDphY3RpdmU6bm90KFtkaXNhYmxlZF0pICR7U3R5bGVkVHJpZ2dlcn06OmFmdGVyIHtcbiAgICAgICAgd2lkdGg6IGNhbGModmFyKCR7dG9rZW5zLnRodW1iU2l6ZX0pICogdmFyKCR7dG9rZW5zLnRodW1iUHJlc3NTY2FsZX0sIDEpKTtcbiAgICB9XG5gO1xuIl19 */"));
@@ -1,4 +0,0 @@
1
- import { css } from '@emotion/react';
2
- import { tokens } from '../Switch.tokens';
3
- import { StyledTrigger } from '../Switch.styles';
4
- export var base = /*#__PURE__*/css(StyledTrigger, "{flex:0 0 var(", tokens.trackWidth, ");width:var(", tokens.trackWidth, ");height:var(", tokens.trackHeight, ");border-radius:var(", tokens.trackBorderRadius, ");&::after{width:var(", tokens.thumbSize, ");height:var(", tokens.thumbSize, ");border-radius:var(", tokens.thumbBorderRadius, ");margin:auto var(", tokens.thumbOffset, ");}}:active:not([disabled]) ", StyledTrigger, "::after{width:calc(var(", tokens.thumbSize, ") * var(", tokens.thumbPressScale, ", 1));};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU3dpdGNoL190b2dnbGVTaXplL2Jhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS3VCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU3dpdGNoL190b2dnbGVTaXplL2Jhc2UudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IHRva2VucyB9IGZyb20gJy4uL1N3aXRjaC50b2tlbnMnO1xuaW1wb3J0IHsgU3R5bGVkVHJpZ2dlciB9IGZyb20gJy4uL1N3aXRjaC5zdHlsZXMnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAke1N0eWxlZFRyaWdnZXJ9IHtcbiAgICAgICAgZmxleDogMCAwIHZhcigke3Rva2Vucy50cmFja1dpZHRofSk7XG4gICAgICAgIHdpZHRoOiB2YXIoJHt0b2tlbnMudHJhY2tXaWR0aH0pO1xuICAgICAgICBoZWlnaHQ6IHZhcigke3Rva2Vucy50cmFja0hlaWdodH0pO1xuICAgICAgICBib3JkZXItcmFkaXVzOiB2YXIoJHt0b2tlbnMudHJhY2tCb3JkZXJSYWRpdXN9KTtcblxuICAgICAgICAmOjphZnRlciB7XG4gICAgICAgICAgICB3aWR0aDogdmFyKCR7dG9rZW5zLnRodW1iU2l6ZX0pO1xuICAgICAgICAgICAgaGVpZ2h0OiB2YXIoJHt0b2tlbnMudGh1bWJTaXplfSk7XG4gICAgICAgICAgICBib3JkZXItcmFkaXVzOiB2YXIoJHt0b2tlbnMudGh1bWJCb3JkZXJSYWRpdXN9KTtcbiAgICAgICAgICAgIG1hcmdpbjogYXV0byB2YXIoJHt0b2tlbnMudGh1bWJPZmZzZXR9KTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIDphY3RpdmU6bm90KFtkaXNhYmxlZF0pICR7U3R5bGVkVHJpZ2dlcn06OmFmdGVyIHtcbiAgICAgICAgd2lkdGg6IGNhbGModmFyKCR7dG9rZW5zLnRodW1iU2l6ZX0pICogdmFyKCR7dG9rZW5zLnRodW1iUHJlc3NTY2FsZX0sIDEpKTtcbiAgICB9XG5gO1xuIl19 */"));
@@ -1,6 +0,0 @@
1
- .b1fcyfkl{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:var(--plasma-switch-vertical-gap);cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);}.b1fcyfkl:focus{outline:0 none;}
2
- .s10fscgc{width:100%;position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.s10fscgc.switch-label-position-before{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;--plasma_private-switch__label-offset:0 var(--plasma-switch__label-offset) 0 0;}.s10fscgc.switch-label-position-after{-webkit-box-pack:start;-webkit-justify-content:start;-ms-flex-pack:start;justify-content:start;-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;--plasma_private-switch__label-offset:0 0 0 var(--plasma-switch__label-offset);}
3
- .sdjnckq{position:relative;}
4
- .ssthlx1{position:absolute;right:0;margin:0;opacity:0;}.ssthlx1:focus{outline:0 none;}
5
- .s1ilr5eq{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
6
- .s2cs3kf{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transition:background-color 0.15s ease-in-out 0.1s;transition:background-color 0.15s ease-in-out 0.1s;}.s2cs3kf::after{content:'';position:absolute;right:auto;left:0;-webkit-transition:width 0.15s ease-in-out 0s,left 0.3s ease-in-out 0s,right 0.3s ease-in-out 0s;transition:width 0.15s ease-in-out 0s,left 0.3s ease-in-out 0s,right 0.3s ease-in-out 0s;}.ssthlx1:checked ~ .s2cs3kf::after{right:0;left:auto;}
@@ -1 +0,0 @@
1
- .bm1v11h .s10fscgc{font-family:var(--plasma-switch-font-family);font-style:var(--plasma-switch-font-style);font-weight:var(--plasma-switch-font-weight);-webkit-letter-spacing:var(--plasma-switch-letter-spacing);-moz-letter-spacing:var(--plasma-switch-letter-spacing);-ms-letter-spacing:var(--plasma-switch-letter-spacing);letter-spacing:var(--plasma-switch-letter-spacing);line-height:var(--plasma-switch-line-height);font-size:var(--plasma-switch-font-size);}.bm1v11h .sdjnckq{font-family:var(--plasma-switch-description-font-family);font-style:var(--plasma-switch-description-font-style);font-weight:var(--plasma-switch-description-font-weight);-webkit-letter-spacing:var(--plasma-switch-description-letter-spacing);-moz-letter-spacing:var(--plasma-switch-description-letter-spacing);-ms-letter-spacing:var(--plasma-switch-description-letter-spacing);letter-spacing:var(--plasma-switch-description-letter-spacing);line-height:var(--plasma-switch-description-line-height);font-size:var(--plasma-switch-description-font-size);}.bm1v11h .s1ilr5eq{margin:var(--plasma_private-switch__label-offset,0);}
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.js","sources":["../../../../src/components/Switch/_toggleSize/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { tokens } from '../Switch.tokens';\nimport { StyledTrigger } from '../Switch.styles';\n\nexport const base = css`\n ${StyledTrigger} {\n flex: 0 0 var(${tokens.trackWidth});\n width: var(${tokens.trackWidth});\n height: var(${tokens.trackHeight});\n border-radius: var(${tokens.trackBorderRadius});\n\n &::after {\n width: var(${tokens.thumbSize});\n height: var(${tokens.thumbSize});\n border-radius: var(${tokens.thumbBorderRadius});\n margin: auto var(${tokens.thumbOffset});\n }\n }\n\n :active:not([disabled]) ${StyledTrigger}::after {\n width: calc(var(${tokens.thumbSize}) * var(${tokens.thumbPressScale}, 1));\n }\n`;\n"],"names":["base"],"mappings":"AAKO,IAAMA,IAAI,GAkBhB;;;;"}
@@ -1 +0,0 @@
1
- .b1wld3h3 .s2cs3kf{-webkit-flex:0 0 var(--plasma-switch__track-width);-ms-flex:0 0 var(--plasma-switch__track-width);flex:0 0 var(--plasma-switch__track-width);width:var(--plasma-switch__track-width);height:var(--plasma-switch__track-height);border-radius:var(--plasma-switch__track-border-radius);}.b1wld3h3 .s2cs3kf::after{width:var(--plasma-switch__thumb-size);height:var(--plasma-switch__thumb-size);border-radius:var(--plasma-switch__thumb-border-radius);margin:auto var(--plasma-switch__thumb-offset);}.b1wld3h3:active:not([disabled]) .s2cs3kf::after{width:calc(var(--plasma-switch__thumb-size) * var(--plasma-switch__thumb-scale,1));}
@@ -1 +0,0 @@
1
- .b1g0jmh3 .s2cs3kf{background-color:var(--plasma-switch__track_checked_false-bg-color);}.b1g0jmh3 .ssthlx1:not([disabled]) ~ .s2cs3kf:hover{background-color:var(--plasma-switch__track_checked_false_hovered_true-bg-color,var(--plasma-switch__track_checked_false-bg-color));}.b1g0jmh3 .ssthlx1:checked ~ .s2cs3kf{background-color:var(--plasma-switch__track_checked_true-bg-color);}.b1g0jmh3 .ssthlx1:checked:not([disabled]) ~ .s2cs3kf:hover{background-color:var(--plasma-switch__track_checked_true_hovered_true-bg-color,var(--plasma-switch__track_checked_true-bg-color));}.b1g0jmh3 .s2cs3kf::after{background-color:var(--plasma-switch__thumb-bg-color);box-shadow:var(--plasma-switch__thumb-box-shadow);}.b1g0jmh3 .ssthlx1:checked ~ .s2cs3kf::after{box-shadow:var(--plasma-switch__thumb-box-shadow_checked_true,var(--plasma-switch__thumb-box-shadow));}.b1g0jmh3 .s1ilr5eq{color:var(--plasma-switch__label-color);}.b1g0jmh3 .sdjnckq{color:var(--plasma-switch__description-color);}
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.base = void 0;
7
- var _styledComponents = /*#__PURE__*/require("styled-components");
8
- var _Switch = /*#__PURE__*/require("../Switch.tokens");
9
- var _Switch2 = /*#__PURE__*/require("../Switch.styles");
10
- var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["", "{flex:0 0 var(", ");width:var(", ");height:var(", ");border-radius:var(", ");&::after{width:var(", ");height:var(", ");border-radius:var(", ");margin:auto var(", ");}}:active:not([disabled]) ", "::after{width:calc(var(", ") * var(", ",1));}"], _Switch2.StyledTrigger, _Switch.tokens.trackWidth, _Switch.tokens.trackWidth, _Switch.tokens.trackHeight, _Switch.tokens.trackBorderRadius, _Switch.tokens.thumbSize, _Switch.tokens.thumbSize, _Switch.tokens.thumbBorderRadius, _Switch.tokens.thumbOffset, _Switch2.StyledTrigger, _Switch.tokens.thumbSize, _Switch.tokens.thumbPressScale);
@@ -1,4 +0,0 @@
1
- import { css } from 'styled-components';
2
- import { tokens } from '../Switch.tokens';
3
- import { StyledTrigger } from '../Switch.styles';
4
- export var base = /*#__PURE__*/css(["", "{flex:0 0 var(", ");width:var(", ");height:var(", ");border-radius:var(", ");&::after{width:var(", ");height:var(", ");border-radius:var(", ");margin:auto var(", ");}}:active:not([disabled]) ", "::after{width:calc(var(", ") * var(", ",1));}"], StyledTrigger, tokens.trackWidth, tokens.trackWidth, tokens.trackHeight, tokens.trackBorderRadius, tokens.thumbSize, tokens.thumbSize, tokens.thumbBorderRadius, tokens.thumbOffset, StyledTrigger, tokens.thumbSize, tokens.thumbPressScale);
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/_toggleSize/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAkBhB,CAAC"}