@salutejs/plasma-new-hope 0.83.0-canary.1194.9174145281.0 → 0.83.0-canary.1208.9176013022.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (439) hide show
  1. package/cjs/components/Combobox/hooks/useFocusController.js +0 -1
  2. package/cjs/components/Combobox/hooks/useFocusController.js.map +1 -1
  3. package/cjs/components/Range/Range.css +63 -0
  4. package/cjs/components/Range/Range.js +146 -0
  5. package/cjs/components/Range/Range.js.map +1 -0
  6. package/cjs/components/Range/Range.styles.js +63 -0
  7. package/cjs/components/Range/Range.styles.js.map +1 -0
  8. package/cjs/components/Range/Range.styles_mc4w65.css +8 -0
  9. package/cjs/components/Range/Range.tokens.js +105 -0
  10. package/cjs/components/Range/Range.tokens.js.map +1 -0
  11. package/cjs/components/Range/utils/index.js +24 -0
  12. package/cjs/components/Range/utils/index.js.map +1 -0
  13. package/cjs/components/{Slider → Range}/variations/_disabled/base.js +2 -2
  14. package/cjs/components/Range/variations/_disabled/base.js.map +1 -0
  15. package/cjs/components/Range/variations/_disabled/base_1ufizo4.css +1 -0
  16. package/cjs/components/{Slider/variations/_view → Range/variations/_readonly}/base.js +2 -2
  17. package/cjs/components/Range/variations/_readonly/base.js.map +1 -0
  18. package/cjs/components/Range/variations/_readonly/base_hzmd8h.css +1 -0
  19. package/cjs/components/Range/variations/_size/base.js +9 -0
  20. package/cjs/components/Range/variations/_size/base.js.map +1 -0
  21. package/cjs/components/Range/variations/_size/base_16xiubi.css +1 -0
  22. package/cjs/components/{Slider/variations/_size → Range/variations/_view}/base.js +2 -2
  23. package/cjs/components/Range/variations/_view/base.js.map +1 -0
  24. package/cjs/components/Range/variations/_view/base_5iz3nr.css +1 -0
  25. package/cjs/components/TextField/TextField.js +6 -9
  26. package/cjs/components/TextField/TextField.js.map +1 -1
  27. package/cjs/components/TextField/TextField.styles.js +13 -1
  28. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  29. package/cjs/components/TextField/{TextField.styles_1b1mddp.css → TextField.styles_aqmut.css} +2 -0
  30. package/cjs/components/TextField/TextField.tokens.js +5 -0
  31. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  32. package/cjs/components/TextField/variations/_label-placement/inner.js +1 -1
  33. package/cjs/components/TextField/variations/_label-placement/inner.js.map +1 -1
  34. package/cjs/components/TextField/variations/_label-placement/inner_7c08qb.css +1 -0
  35. package/cjs/components/TextField/variations/_size/base.js +1 -1
  36. package/cjs/components/TextField/variations/_size/base.js.map +1 -1
  37. package/cjs/components/TextField/variations/_size/{base_1khzr9t.css → base_ntoddv.css} +1 -1
  38. package/cjs/components/TextField/variations/_view/base.js +1 -1
  39. package/cjs/components/TextField/variations/_view/base.js.map +1 -1
  40. package/cjs/components/TextField/variations/_view/{base_1qd77x6.css → base_19gxyva.css} +1 -1
  41. package/cjs/engines/common.js +0 -4
  42. package/cjs/engines/common.js.map +1 -1
  43. package/cjs/engines/index.js.map +1 -1
  44. package/cjs/index.css +20 -26
  45. package/cjs/index.js +5 -14
  46. package/cjs/index.js.map +1 -1
  47. package/cjs/utils/index.js.map +1 -1
  48. package/es/components/Combobox/hooks/useFocusController.js +0 -1
  49. package/es/components/Combobox/hooks/useFocusController.js.map +1 -1
  50. package/es/components/Range/Range.css +63 -0
  51. package/es/components/Range/Range.js +141 -0
  52. package/es/components/Range/Range.js.map +1 -0
  53. package/es/components/Range/Range.styles.js +52 -0
  54. package/es/components/Range/Range.styles.js.map +1 -0
  55. package/es/components/Range/Range.styles_mc4w65.css +8 -0
  56. package/es/components/Range/Range.tokens.js +100 -0
  57. package/es/components/Range/Range.tokens.js.map +1 -0
  58. package/es/components/Range/utils/index.js +19 -0
  59. package/es/components/Range/utils/index.js.map +1 -0
  60. package/es/components/{Slider/variations/_size → Range/variations/_disabled}/base.js +2 -2
  61. package/es/components/Range/variations/_disabled/base.js.map +1 -0
  62. package/es/components/Range/variations/_disabled/base_1ufizo4.css +1 -0
  63. package/es/components/{Slider/variations/_view → Range/variations/_readonly}/base.js +2 -2
  64. package/es/components/Range/variations/_readonly/base.js.map +1 -0
  65. package/es/components/Range/variations/_readonly/base_hzmd8h.css +1 -0
  66. package/es/components/Range/variations/_size/base.js +5 -0
  67. package/es/components/Range/variations/_size/base.js.map +1 -0
  68. package/es/components/Range/variations/_size/base_16xiubi.css +1 -0
  69. package/es/components/{Slider/variations/_disabled → Range/variations/_view}/base.js +2 -2
  70. package/es/components/Range/variations/_view/base.js.map +1 -0
  71. package/es/components/Range/variations/_view/base_5iz3nr.css +1 -0
  72. package/es/components/TextField/TextField.js +7 -10
  73. package/es/components/TextField/TextField.js.map +1 -1
  74. package/es/components/TextField/TextField.styles.js +12 -2
  75. package/es/components/TextField/TextField.styles.js.map +1 -1
  76. package/es/components/TextField/{TextField.styles_1b1mddp.css → TextField.styles_aqmut.css} +2 -0
  77. package/es/components/TextField/TextField.tokens.js +5 -0
  78. package/es/components/TextField/TextField.tokens.js.map +1 -1
  79. package/es/components/TextField/variations/_label-placement/inner.js +1 -1
  80. package/es/components/TextField/variations/_label-placement/inner.js.map +1 -1
  81. package/es/components/TextField/variations/_label-placement/inner_7c08qb.css +1 -0
  82. package/es/components/TextField/variations/_size/base.js +1 -1
  83. package/es/components/TextField/variations/_size/base.js.map +1 -1
  84. package/es/components/TextField/variations/_size/{base_1khzr9t.css → base_ntoddv.css} +1 -1
  85. package/es/components/TextField/variations/_view/base.js +1 -1
  86. package/es/components/TextField/variations/_view/base.js.map +1 -1
  87. package/es/components/TextField/variations/_view/{base_1qd77x6.css → base_19gxyva.css} +1 -1
  88. package/es/engines/common.js +0 -4
  89. package/es/engines/common.js.map +1 -1
  90. package/es/engines/index.js.map +1 -1
  91. package/es/index.css +20 -26
  92. package/es/index.js +2 -8
  93. package/es/index.js.map +1 -1
  94. package/es/utils/index.js.map +1 -1
  95. package/package.json +2 -3
  96. package/styled-components/cjs/components/Range/Range.js +148 -0
  97. package/styled-components/cjs/components/Range/Range.styles.js +39 -0
  98. package/styled-components/cjs/components/Range/Range.template-doc.mdx +323 -0
  99. package/styled-components/cjs/components/Range/Range.tokens.js +103 -0
  100. package/styled-components/cjs/components/Range/index.js +25 -0
  101. package/styled-components/cjs/components/Range/utils/index.js +22 -0
  102. package/styled-components/cjs/components/{Slider → Range}/variations/_disabled/base.js +2 -1
  103. package/styled-components/cjs/components/Range/variations/_disabled/tokens.json +4 -0
  104. package/styled-components/cjs/components/Range/variations/_readonly/base.js +10 -0
  105. package/styled-components/cjs/components/Range/variations/_readonly/tokens.json +4 -0
  106. package/styled-components/cjs/components/Range/variations/_size/base.js +10 -0
  107. package/styled-components/cjs/components/Range/variations/_size/tokens.json +26 -0
  108. package/styled-components/cjs/components/Range/variations/_view/base.js +10 -0
  109. package/styled-components/cjs/components/Range/variations/_view/tokens.json +6 -0
  110. package/styled-components/cjs/components/TextField/TextField.js +6 -9
  111. package/styled-components/cjs/components/TextField/TextField.styles.js +7 -1
  112. package/styled-components/cjs/components/TextField/TextField.tokens.js +5 -0
  113. package/styled-components/cjs/components/TextField/variations/_label-placement/inner.js +1 -1
  114. package/styled-components/cjs/components/TextField/variations/_size/base.js +1 -1
  115. package/styled-components/cjs/components/TextField/variations/_view/base.js +1 -1
  116. package/styled-components/cjs/engines/common.js +0 -4
  117. package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.config.js +31 -0
  118. package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.js +11 -0
  119. package/styled-components/cjs/examples/plasma_b2c/components/Range/Range.stories.tsx +312 -0
  120. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +8 -8
  121. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +2 -0
  122. package/styled-components/cjs/examples/plasma_web/components/Range/Range.config.js +31 -0
  123. package/styled-components/cjs/examples/plasma_web/components/Range/Range.js +11 -0
  124. package/styled-components/cjs/examples/plasma_web/components/Range/Range.stories.tsx +312 -0
  125. package/styled-components/cjs/hooks/index.js +1 -8
  126. package/styled-components/cjs/index.js +4 -4
  127. package/styled-components/cjs/utils/index.js +0 -7
  128. package/styled-components/es/components/Range/Range.js +139 -0
  129. package/styled-components/es/components/Range/Range.styles.js +31 -0
  130. package/styled-components/es/components/Range/Range.template-doc.mdx +323 -0
  131. package/styled-components/es/components/Range/Range.tokens.js +97 -0
  132. package/styled-components/es/components/Range/index.js +2 -0
  133. package/styled-components/es/components/Range/utils/index.js +16 -0
  134. package/styled-components/es/components/Range/variations/_disabled/base.js +3 -0
  135. package/styled-components/es/components/Range/variations/_disabled/tokens.json +4 -0
  136. package/styled-components/es/components/Range/variations/_readonly/base.js +4 -0
  137. package/styled-components/es/components/Range/variations/_readonly/tokens.json +4 -0
  138. package/styled-components/es/components/Range/variations/_size/base.js +4 -0
  139. package/styled-components/es/components/Range/variations/_size/tokens.json +26 -0
  140. package/styled-components/es/components/Range/variations/_view/base.js +4 -0
  141. package/styled-components/es/components/Range/variations/_view/tokens.json +6 -0
  142. package/styled-components/es/components/TextField/TextField.js +7 -10
  143. package/styled-components/es/components/TextField/TextField.styles.js +6 -0
  144. package/styled-components/es/components/TextField/TextField.tokens.js +5 -0
  145. package/styled-components/es/components/TextField/variations/_label-placement/inner.js +2 -2
  146. package/styled-components/es/components/TextField/variations/_size/base.js +2 -2
  147. package/styled-components/es/components/TextField/variations/_view/base.js +2 -2
  148. package/styled-components/es/engines/common.js +0 -4
  149. package/styled-components/es/examples/plasma_b2c/components/Range/Range.config.js +25 -0
  150. package/styled-components/es/examples/plasma_b2c/components/Range/Range.js +5 -0
  151. package/styled-components/es/examples/plasma_b2c/components/Range/Range.stories.tsx +312 -0
  152. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +8 -8
  153. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +2 -0
  154. package/styled-components/es/examples/plasma_web/components/Range/Range.config.js +25 -0
  155. package/styled-components/es/examples/plasma_web/components/Range/Range.js +5 -0
  156. package/styled-components/es/examples/plasma_web/components/Range/Range.stories.tsx +312 -0
  157. package/styled-components/es/hooks/index.js +1 -2
  158. package/styled-components/es/index.js +1 -1
  159. package/styled-components/es/utils/index.js +0 -1
  160. package/types/components/Range/Range.d.ts +31 -0
  161. package/types/components/Range/Range.d.ts.map +1 -0
  162. package/types/components/{Slider/components/Double/Double.styles.d.ts → Range/Range.styles.d.ts} +15 -10
  163. package/types/components/Range/Range.styles.d.ts.map +1 -0
  164. package/types/components/Range/Range.tokens.d.ts +98 -0
  165. package/types/components/Range/Range.tokens.d.ts.map +1 -0
  166. package/types/components/Range/Range.types.d.ts +143 -0
  167. package/types/components/Range/Range.types.d.ts.map +1 -0
  168. package/types/components/Range/index.d.ts +4 -0
  169. package/types/components/Range/index.d.ts.map +1 -0
  170. package/types/components/Range/utils/index.d.ts +5 -0
  171. package/types/components/Range/utils/index.d.ts.map +1 -0
  172. package/types/components/Range/variations/_disabled/base.d.ts.map +1 -0
  173. package/types/components/Range/variations/_readonly/base.d.ts.map +1 -0
  174. package/types/components/Range/variations/_size/base.d.ts.map +1 -0
  175. package/types/components/Range/variations/_view/base.d.ts +2 -0
  176. package/types/components/Range/variations/_view/base.d.ts.map +1 -0
  177. package/types/components/TextField/TextField.d.ts.map +1 -1
  178. package/types/components/TextField/TextField.styles.d.ts +2 -0
  179. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  180. package/types/components/TextField/TextField.tokens.d.ts +5 -0
  181. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  182. package/types/components/TextField/TextField.types.d.ts +8 -0
  183. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  184. package/types/components/TextField/variations/_label-placement/inner.d.ts.map +1 -1
  185. package/types/components/TextField/variations/_size/base.d.ts.map +1 -1
  186. package/types/components/TextField/variations/_view/base.d.ts.map +1 -1
  187. package/types/engines/common.d.ts +3 -3
  188. package/types/engines/common.d.ts.map +1 -1
  189. package/types/engines/index.d.ts +1 -1
  190. package/types/engines/index.d.ts.map +1 -1
  191. package/types/engines/types.d.ts +0 -4
  192. package/types/engines/types.d.ts.map +1 -1
  193. package/types/examples/{plasma_web/components/Slider/Slider.config.d.ts → plasma_b2c/components/Range/Range.config.d.ts} +5 -3
  194. package/types/examples/plasma_b2c/components/Range/Range.config.d.ts.map +1 -0
  195. package/types/examples/plasma_b2c/components/Range/Range.d.ts +127 -0
  196. package/types/examples/plasma_b2c/components/Range/Range.d.ts.map +1 -0
  197. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -1
  198. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +4 -0
  199. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
  200. package/types/examples/{plasma_b2c/components/Slider/Slider.config.d.ts → plasma_web/components/Range/Range.config.d.ts} +5 -3
  201. package/types/examples/plasma_web/components/Range/Range.config.d.ts.map +1 -0
  202. package/types/examples/plasma_web/components/Range/Range.d.ts +127 -0
  203. package/types/examples/plasma_web/components/Range/Range.d.ts.map +1 -0
  204. package/types/examples/plasma_web/components/TextField/TextField.d.ts +4 -0
  205. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
  206. package/types/examples/sds_engineer/components/TextField/TextField.d.ts +4 -0
  207. package/types/examples/sds_engineer/components/TextField/TextField.d.ts.map +1 -1
  208. package/types/hooks/index.d.ts +0 -1
  209. package/types/hooks/index.d.ts.map +1 -1
  210. package/types/index.d.ts +1 -1
  211. package/types/index.d.ts.map +1 -1
  212. package/types/utils/index.d.ts +0 -1
  213. package/types/utils/index.d.ts.map +1 -1
  214. package/cjs/components/Slider/Slider.css +0 -69
  215. package/cjs/components/Slider/Slider.js +0 -48
  216. package/cjs/components/Slider/Slider.js.map +0 -1
  217. package/cjs/components/Slider/Slider.tokens.js +0 -79
  218. package/cjs/components/Slider/Slider.tokens.js.map +0 -1
  219. package/cjs/components/Slider/components/Double/Double.css +0 -62
  220. package/cjs/components/Slider/components/Double/Double.js +0 -306
  221. package/cjs/components/Slider/components/Double/Double.js.map +0 -1
  222. package/cjs/components/Slider/components/Double/Double.styles.js +0 -61
  223. package/cjs/components/Slider/components/Double/Double.styles.js.map +0 -1
  224. package/cjs/components/Slider/components/Double/Double.styles_1jhda4u.css +0 -7
  225. package/cjs/components/Slider/components/Single/Single.css +0 -16
  226. package/cjs/components/Slider/components/Single/Single.js +0 -164
  227. package/cjs/components/Slider/components/Single/Single.js.map +0 -1
  228. package/cjs/components/Slider/components/Single/Single.styles.js +0 -45
  229. package/cjs/components/Slider/components/Single/Single.styles.js.map +0 -1
  230. package/cjs/components/Slider/components/Single/Single.styles_1r9f1e0.css +0 -6
  231. package/cjs/components/Slider/components/SliderBase/SliderBase.css +0 -4
  232. package/cjs/components/Slider/components/SliderBase/SliderBase.js +0 -82
  233. package/cjs/components/Slider/components/SliderBase/SliderBase.js.map +0 -1
  234. package/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +0 -33
  235. package/cjs/components/Slider/components/SliderBase/SliderBase.styles.js.map +0 -1
  236. package/cjs/components/Slider/components/SliderBase/SliderBase.styles_7is2ll.css +0 -4
  237. package/cjs/components/Slider/ui/Handler/Handler.css +0 -4
  238. package/cjs/components/Slider/ui/Handler/Handler.js +0 -167
  239. package/cjs/components/Slider/ui/Handler/Handler.js.map +0 -1
  240. package/cjs/components/Slider/ui/Handler/Handler.styles.js +0 -21
  241. package/cjs/components/Slider/ui/Handler/Handler.styles.js.map +0 -1
  242. package/cjs/components/Slider/ui/Handler/Handler.styles_8crx5z.css +0 -2
  243. package/cjs/components/Slider/ui/Thumb/Thumb.css +0 -1
  244. package/cjs/components/Slider/ui/Thumb/Thumb.js +0 -31
  245. package/cjs/components/Slider/ui/Thumb/Thumb.js.map +0 -1
  246. package/cjs/components/Slider/ui/Thumb/Thumb.styles.js +0 -15
  247. package/cjs/components/Slider/ui/Thumb/Thumb.styles.js.map +0 -1
  248. package/cjs/components/Slider/ui/Thumb/Thumb.styles_4w4gzn.css +0 -1
  249. package/cjs/components/Slider/utils/index.js +0 -56
  250. package/cjs/components/Slider/utils/index.js.map +0 -1
  251. package/cjs/components/Slider/variations/_disabled/base.js.map +0 -1
  252. package/cjs/components/Slider/variations/_disabled/base_x642ct.css +0 -1
  253. package/cjs/components/Slider/variations/_size/base.js.map +0 -1
  254. package/cjs/components/Slider/variations/_size/base_x642ct.css +0 -1
  255. package/cjs/components/Slider/variations/_view/base.js.map +0 -1
  256. package/cjs/components/Slider/variations/_view/base_x642ct.css +0 -1
  257. package/cjs/components/TextField/variations/_label-placement/inner_gqlcj2.css +0 -1
  258. package/cjs/hooks/useIsomorphicLayoutEffect.js +0 -15
  259. package/cjs/hooks/useIsomorphicLayoutEffect.js.map +0 -1
  260. package/cjs/utils/canUseDOM.js +0 -12
  261. package/cjs/utils/canUseDOM.js.map +0 -1
  262. package/es/components/Slider/Slider.css +0 -69
  263. package/es/components/Slider/Slider.js +0 -43
  264. package/es/components/Slider/Slider.js.map +0 -1
  265. package/es/components/Slider/Slider.tokens.js +0 -74
  266. package/es/components/Slider/Slider.tokens.js.map +0 -1
  267. package/es/components/Slider/components/Double/Double.css +0 -62
  268. package/es/components/Slider/components/Double/Double.js +0 -302
  269. package/es/components/Slider/components/Double/Double.js.map +0 -1
  270. package/es/components/Slider/components/Double/Double.styles.js +0 -51
  271. package/es/components/Slider/components/Double/Double.styles.js.map +0 -1
  272. package/es/components/Slider/components/Double/Double.styles_1jhda4u.css +0 -7
  273. package/es/components/Slider/components/Single/Single.css +0 -16
  274. package/es/components/Slider/components/Single/Single.js +0 -160
  275. package/es/components/Slider/components/Single/Single.js.map +0 -1
  276. package/es/components/Slider/components/Single/Single.styles.js +0 -36
  277. package/es/components/Slider/components/Single/Single.styles.js.map +0 -1
  278. package/es/components/Slider/components/Single/Single.styles_1r9f1e0.css +0 -6
  279. package/es/components/Slider/components/SliderBase/SliderBase.css +0 -4
  280. package/es/components/Slider/components/SliderBase/SliderBase.js +0 -78
  281. package/es/components/Slider/components/SliderBase/SliderBase.js.map +0 -1
  282. package/es/components/Slider/components/SliderBase/SliderBase.styles.js +0 -26
  283. package/es/components/Slider/components/SliderBase/SliderBase.styles.js.map +0 -1
  284. package/es/components/Slider/components/SliderBase/SliderBase.styles_7is2ll.css +0 -4
  285. package/es/components/Slider/ui/Handler/Handler.css +0 -4
  286. package/es/components/Slider/ui/Handler/Handler.js +0 -163
  287. package/es/components/Slider/ui/Handler/Handler.js.map +0 -1
  288. package/es/components/Slider/ui/Handler/Handler.styles.js +0 -16
  289. package/es/components/Slider/ui/Handler/Handler.styles.js.map +0 -1
  290. package/es/components/Slider/ui/Handler/Handler.styles_8crx5z.css +0 -2
  291. package/es/components/Slider/ui/Thumb/Thumb.css +0 -1
  292. package/es/components/Slider/ui/Thumb/Thumb.js +0 -27
  293. package/es/components/Slider/ui/Thumb/Thumb.js.map +0 -1
  294. package/es/components/Slider/ui/Thumb/Thumb.styles.js +0 -11
  295. package/es/components/Slider/ui/Thumb/Thumb.styles.js.map +0 -1
  296. package/es/components/Slider/ui/Thumb/Thumb.styles_4w4gzn.css +0 -1
  297. package/es/components/Slider/utils/index.js +0 -50
  298. package/es/components/Slider/utils/index.js.map +0 -1
  299. package/es/components/Slider/variations/_disabled/base.js.map +0 -1
  300. package/es/components/Slider/variations/_disabled/base_x642ct.css +0 -1
  301. package/es/components/Slider/variations/_size/base.js.map +0 -1
  302. package/es/components/Slider/variations/_size/base_x642ct.css +0 -1
  303. package/es/components/Slider/variations/_view/base.js.map +0 -1
  304. package/es/components/Slider/variations/_view/base_x642ct.css +0 -1
  305. package/es/components/TextField/variations/_label-placement/inner_gqlcj2.css +0 -1
  306. package/es/hooks/useIsomorphicLayoutEffect.js +0 -11
  307. package/es/hooks/useIsomorphicLayoutEffect.js.map +0 -1
  308. package/es/utils/canUseDOM.js +0 -8
  309. package/es/utils/canUseDOM.js.map +0 -1
  310. package/styled-components/cjs/components/Slider/Slider.js +0 -47
  311. package/styled-components/cjs/components/Slider/Slider.tokens.js +0 -77
  312. package/styled-components/cjs/components/Slider/components/Double/Double.js +0 -318
  313. package/styled-components/cjs/components/Slider/components/Double/Double.styles.js +0 -36
  314. package/styled-components/cjs/components/Slider/components/Double/Double.types.js +0 -5
  315. package/styled-components/cjs/components/Slider/components/Single/Single.js +0 -176
  316. package/styled-components/cjs/components/Slider/components/Single/Single.styles.js +0 -27
  317. package/styled-components/cjs/components/Slider/components/Single/Single.types.js +0 -5
  318. package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.js +0 -83
  319. package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +0 -21
  320. package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.types.js +0 -5
  321. package/styled-components/cjs/components/Slider/components/index.js +0 -27
  322. package/styled-components/cjs/components/Slider/index.js +0 -32
  323. package/styled-components/cjs/components/Slider/ui/Handler/Handler.js +0 -176
  324. package/styled-components/cjs/components/Slider/ui/Handler/Handler.styles.js +0 -15
  325. package/styled-components/cjs/components/Slider/ui/Handler/Handler.types.js +0 -5
  326. package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.js +0 -32
  327. package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.styles.js +0 -18
  328. package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.types.js +0 -5
  329. package/styled-components/cjs/components/Slider/ui/index.js +0 -63
  330. package/styled-components/cjs/components/Slider/utils/index.js +0 -55
  331. package/styled-components/cjs/components/Slider/variations/_disabled/tokens.json +0 -4
  332. package/styled-components/cjs/components/Slider/variations/_size/base.js +0 -8
  333. package/styled-components/cjs/components/Slider/variations/_size/tokens.json +0 -0
  334. package/styled-components/cjs/components/Slider/variations/_view/base.js +0 -8
  335. package/styled-components/cjs/components/Slider/variations/_view/tokens.json +0 -0
  336. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.config.js +0 -29
  337. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.js +0 -16
  338. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.stories.tsx +0 -169
  339. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.config.js +0 -29
  340. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.js +0 -16
  341. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.stories.tsx +0 -168
  342. package/styled-components/cjs/hooks/useIsomorphicLayoutEffect.js +0 -12
  343. package/styled-components/cjs/utils/canUseDOM.js +0 -11
  344. package/styled-components/es/components/Slider/Slider.js +0 -38
  345. package/styled-components/es/components/Slider/Slider.tokens.js +0 -71
  346. package/styled-components/es/components/Slider/components/Double/Double.js +0 -310
  347. package/styled-components/es/components/Slider/components/Double/Double.styles.js +0 -29
  348. package/styled-components/es/components/Slider/components/Double/Double.types.js +0 -1
  349. package/styled-components/es/components/Slider/components/Single/Single.js +0 -168
  350. package/styled-components/es/components/Slider/components/Single/Single.styles.js +0 -20
  351. package/styled-components/es/components/Slider/components/Single/Single.types.js +0 -1
  352. package/styled-components/es/components/Slider/components/SliderBase/SliderBase.js +0 -74
  353. package/styled-components/es/components/Slider/components/SliderBase/SliderBase.styles.js +0 -14
  354. package/styled-components/es/components/Slider/components/SliderBase/SliderBase.types.js +0 -1
  355. package/styled-components/es/components/Slider/components/index.js +0 -3
  356. package/styled-components/es/components/Slider/index.js +0 -3
  357. package/styled-components/es/components/Slider/ui/Handler/Handler.js +0 -167
  358. package/styled-components/es/components/Slider/ui/Handler/Handler.styles.js +0 -8
  359. package/styled-components/es/components/Slider/ui/Handler/Handler.types.js +0 -1
  360. package/styled-components/es/components/Slider/ui/Thumb/Thumb.js +0 -25
  361. package/styled-components/es/components/Slider/ui/Thumb/Thumb.styles.js +0 -11
  362. package/styled-components/es/components/Slider/ui/Thumb/Thumb.types.js +0 -1
  363. package/styled-components/es/components/Slider/ui/index.js +0 -5
  364. package/styled-components/es/components/Slider/utils/index.js +0 -47
  365. package/styled-components/es/components/Slider/variations/_disabled/base.js +0 -2
  366. package/styled-components/es/components/Slider/variations/_disabled/tokens.json +0 -4
  367. package/styled-components/es/components/Slider/variations/_size/base.js +0 -2
  368. package/styled-components/es/components/Slider/variations/_size/tokens.json +0 -0
  369. package/styled-components/es/components/Slider/variations/_view/base.js +0 -2
  370. package/styled-components/es/components/Slider/variations/_view/tokens.json +0 -0
  371. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.config.js +0 -23
  372. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.js +0 -10
  373. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.stories.tsx +0 -169
  374. package/styled-components/es/examples/plasma_web/components/Slider/Slider.config.js +0 -23
  375. package/styled-components/es/examples/plasma_web/components/Slider/Slider.js +0 -10
  376. package/styled-components/es/examples/plasma_web/components/Slider/Slider.stories.tsx +0 -168
  377. package/styled-components/es/hooks/useIsomorphicLayoutEffect.js +0 -7
  378. package/styled-components/es/utils/canUseDOM.js +0 -5
  379. package/types/components/Slider/Slider.d.ts +0 -27
  380. package/types/components/Slider/Slider.d.ts.map +0 -1
  381. package/types/components/Slider/Slider.tokens.d.ts +0 -72
  382. package/types/components/Slider/Slider.tokens.d.ts.map +0 -1
  383. package/types/components/Slider/Slider.types.d.ts +0 -3
  384. package/types/components/Slider/Slider.types.d.ts.map +0 -1
  385. package/types/components/Slider/components/Double/Double.d.ts +0 -4
  386. package/types/components/Slider/components/Double/Double.d.ts.map +0 -1
  387. package/types/components/Slider/components/Double/Double.styles.d.ts.map +0 -1
  388. package/types/components/Slider/components/Double/Double.types.d.ts +0 -65
  389. package/types/components/Slider/components/Double/Double.types.d.ts.map +0 -1
  390. package/types/components/Slider/components/Single/Single.d.ts +0 -4
  391. package/types/components/Slider/components/Single/Single.d.ts.map +0 -1
  392. package/types/components/Slider/components/Single/Single.styles.d.ts +0 -8
  393. package/types/components/Slider/components/Single/Single.styles.d.ts.map +0 -1
  394. package/types/components/Slider/components/Single/Single.types.d.ts +0 -55
  395. package/types/components/Slider/components/Single/Single.types.d.ts.map +0 -1
  396. package/types/components/Slider/components/SliderBase/SliderBase.d.ts +0 -4
  397. package/types/components/Slider/components/SliderBase/SliderBase.d.ts.map +0 -1
  398. package/types/components/Slider/components/SliderBase/SliderBase.styles.d.ts +0 -6
  399. package/types/components/Slider/components/SliderBase/SliderBase.styles.d.ts.map +0 -1
  400. package/types/components/Slider/components/SliderBase/SliderBase.types.d.ts +0 -45
  401. package/types/components/Slider/components/SliderBase/SliderBase.types.d.ts.map +0 -1
  402. package/types/components/Slider/components/index.d.ts +0 -6
  403. package/types/components/Slider/components/index.d.ts.map +0 -1
  404. package/types/components/Slider/index.d.ts +0 -6
  405. package/types/components/Slider/index.d.ts.map +0 -1
  406. package/types/components/Slider/ui/Handler/Handler.d.ts +0 -9
  407. package/types/components/Slider/ui/Handler/Handler.d.ts.map +0 -1
  408. package/types/components/Slider/ui/Handler/Handler.styles.d.ts +0 -4
  409. package/types/components/Slider/ui/Handler/Handler.styles.d.ts.map +0 -1
  410. package/types/components/Slider/ui/Handler/Handler.types.d.ts +0 -24
  411. package/types/components/Slider/ui/Handler/Handler.types.d.ts.map +0 -1
  412. package/types/components/Slider/ui/Thumb/Thumb.d.ts +0 -4
  413. package/types/components/Slider/ui/Thumb/Thumb.d.ts.map +0 -1
  414. package/types/components/Slider/ui/Thumb/Thumb.styles.d.ts +0 -5
  415. package/types/components/Slider/ui/Thumb/Thumb.styles.d.ts.map +0 -1
  416. package/types/components/Slider/ui/Thumb/Thumb.types.d.ts +0 -12
  417. package/types/components/Slider/ui/Thumb/Thumb.types.d.ts.map +0 -1
  418. package/types/components/Slider/ui/index.d.ts +0 -6
  419. package/types/components/Slider/ui/index.d.ts.map +0 -1
  420. package/types/components/Slider/utils/index.d.ts +0 -33
  421. package/types/components/Slider/utils/index.d.ts.map +0 -1
  422. package/types/components/Slider/variations/_disabled/base.d.ts.map +0 -1
  423. package/types/components/Slider/variations/_size/base.d.ts.map +0 -1
  424. package/types/components/Slider/variations/_view/base.d.ts.map +0 -1
  425. package/types/examples/plasma_b2c/components/Slider/Slider.config.d.ts.map +0 -1
  426. package/types/examples/plasma_b2c/components/Slider/Slider.d.ts +0 -21
  427. package/types/examples/plasma_b2c/components/Slider/Slider.d.ts.map +0 -1
  428. package/types/examples/plasma_web/components/Slider/Slider.config.d.ts.map +0 -1
  429. package/types/examples/plasma_web/components/Slider/Slider.d.ts +0 -21
  430. package/types/examples/plasma_web/components/Slider/Slider.d.ts.map +0 -1
  431. package/types/hooks/useIsomorphicLayoutEffect.d.ts +0 -6
  432. package/types/hooks/useIsomorphicLayoutEffect.d.ts.map +0 -1
  433. package/types/utils/canUseDOM.d.ts +0 -6
  434. package/types/utils/canUseDOM.d.ts.map +0 -1
  435. /package/styled-components/cjs/components/{Slider/Slider.types.js → Range/Range.types.js} +0 -0
  436. /package/styled-components/es/components/{Slider/Slider.types.js → Range/Range.types.js} +0 -0
  437. /package/types/components/{Slider → Range}/variations/_disabled/base.d.ts +0 -0
  438. /package/types/components/{Slider/variations/_size → Range/variations/_readonly}/base.d.ts +0 -0
  439. /package/types/components/{Slider/variations/_view → Range/variations/_size}/base.d.ts +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"Double.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/components/Double/Double.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEpF,OAAO,KAAK,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAE3F,MAAM,WAAW,iBACb,SAAQ,eAAe,EACnB,mBAAmB,EACnB,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IACpD;;OAEG;IACH,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB;;OAEG;IACH,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IAC9C;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACrC;;OAEG;IACH,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IACpF;;OAEG;IACH,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IACjF;;OAEG;IACH,kBAAkB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,aAAa,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IACvF;;OAEG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC;IAC7B;;OAEG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC;IACzB;;OAEG;IACH,eAAe,CAAC,EAAE,KAAK,CAAC;IACxB;;OAEG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC;IACzB;;OAEG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC;IACzB;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC;IACvB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;CAC1B"}
@@ -1,4 +0,0 @@
1
- import type { FC } from 'react';
2
- import type { SingleSliderProps } from './Single.types';
3
- export declare const SingleSlider: FC<SingleSliderProps>;
4
- //# sourceMappingURL=Single.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Single.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/components/Single/Single.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAShC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAUxD,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAsK9C,CAAC"}
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const LabelWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
- export declare const LabelContentLeft: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
- export declare const Label: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLLabelElement> & import("react").LabelHTMLAttributes<HTMLLabelElement> & Record<never, unknown>>;
5
- export declare const StyledRangeValue: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
6
- export declare const SliderBaseWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
7
- export declare const SingleWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
8
- //# sourceMappingURL=Single.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Single.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/components/Single/Single.styles.ts"],"names":[],"mappings":";AAIA,eAAO,MAAM,YAAY,qKAKxB,CAAC;AAEF,eAAO,MAAM,gBAAgB,qKAAe,CAAC;AAE7C,eAAO,MAAM,KAAK,8KAOjB,CAAC;AAEF,eAAO,MAAM,gBAAgB,uKAkB5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKA8B7B,CAAC;AAEF,eAAO,MAAM,aAAa,qKAiBzB,CAAC"}
@@ -1,55 +0,0 @@
1
- import type { HTMLAttributes } from 'react';
2
- import type { SliderBaseProps, SliderInternalProps } from '../SliderBase/SliderBase.types';
3
- export interface SingleSliderProps extends SliderBaseProps, SliderInternalProps, Omit<HTMLAttributes<HTMLDivElement>, 'onChange'> {
4
- /**
5
- * Текущее знaчение
6
- */
7
- value: number;
8
- /**
9
- * Вызывается при отпускании ползунка
10
- */
11
- onChangeCommitted?: (value: number) => void;
12
- /**
13
- * Вызывается при перемещении ползунка
14
- */
15
- onChange?: (value: number) => void;
16
- /**
17
- * Ярлык, определяющий назначение ползунка, например «Минимальная цена» [a11y].
18
- */
19
- ariaLabel?: string;
20
- /**
21
- * Отображать ли текущее значение.
22
- */
23
- showCurrentValue?: boolean;
24
- /**
25
- * Отображать ли значения минимума и максимума интервала.
26
- */
27
- showRangeValues?: boolean;
28
- /**
29
- * Разница между текущим значением и минимальным, при котором минимальное будет скрыто.
30
- */
31
- hideMinValueDiff?: number;
32
- /**
33
- * Разница между текущим значением и максимальным, при котором максимальное будет скрыто.
34
- */
35
- hideMaxValueDiff?: number;
36
- /**
37
- * Расположение значений минимума и максимума интервала.
38
- * @default `outer`
39
- */
40
- rangeValuesPlacement?: 'inner' | 'outer';
41
- /**
42
- * Расположение подписи.
43
- * @default `outer`
44
- */
45
- labelPlacement?: 'inner' | 'outer';
46
- /**
47
- * Размера увеличенного шага (для клавиш PageUp, PageDown).
48
- * Указывает процентное отношение от максимально возможного значения.
49
- * Указав значение 20 при максимуме в 100, получим 20%.
50
- */
51
- multipleStepSize?: number;
52
- view?: string;
53
- size?: 's' | 'm' | 'l';
54
- }
55
- //# sourceMappingURL=Single.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Single.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/components/Single/Single.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAE3F,MAAM,WAAW,iBACb,SAAQ,eAAe,EACnB,mBAAmB,EACnB,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IACpD;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;OAGG;IACH,oBAAoB,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACzC;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACnC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;CAC1B"}
@@ -1,4 +0,0 @@
1
- import React, { PropsWithChildren } from 'react';
2
- import type { SliderViewProps } from './SliderBase.types';
3
- export declare const SliderBase: React.FC<PropsWithChildren<SliderViewProps>>;
4
- //# sourceMappingURL=SliderBase.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SliderBase.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/components/SliderBase/SliderBase.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAwC,MAAM,OAAO,CAAC;AAKvF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAG1D,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAAC,eAAe,CAAC,CA2EnE,CAAC"}
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const Slider: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
- export declare const RailWrap: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
- export declare const Rail: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
- export declare const Fill: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
- //# sourceMappingURL=SliderBase.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SliderBase.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/components/SliderBase/SliderBase.styles.ts"],"names":[],"mappings":";AAIA,eAAO,MAAM,MAAM,qKAKlB,CAAC;AAEF,eAAO,MAAM,QAAQ,qKAEpB,CAAC;AAEF,eAAO,MAAM,IAAI,qKAWhB,CAAC;AAEF,eAAO,MAAM,IAAI,qKAOhB,CAAC"}
@@ -1,45 +0,0 @@
1
- import type { ReactNode } from 'react';
2
- import type { DraggableData } from 'react-draggable';
3
- export declare type SliderSettings = Partial<{
4
- indent?: number;
5
- fontSizeMultiplier?: number;
6
- backgroundColor?: string;
7
- fillColor?: string;
8
- }>;
9
- export interface SliderBaseProps {
10
- /**
11
- * Минимальное значение
12
- */
13
- min: number;
14
- /**
15
- * Максимальное значение
16
- */
17
- max: number;
18
- /**
19
- * подпись к слайдеру
20
- */
21
- label?: string;
22
- /**
23
- * Слот под контент слева от подписи (например иконку)
24
- */
25
- labelContentLeft?: ReactNode;
26
- /**
27
- * Компонент неактивен
28
- */
29
- disabled?: boolean;
30
- labelPlacement?: string;
31
- rangeValuesPlacement?: string;
32
- }
33
- export interface SliderInternalProps {
34
- /**
35
- * Настройки внешнего вида slider
36
- */
37
- settings?: SliderSettings;
38
- }
39
- export interface SliderViewProps extends SliderBaseProps, SliderInternalProps {
40
- railFillWidth: number;
41
- setStepSize(stepSize: number): void;
42
- railFillXPosition?: number;
43
- onChange?(value: number, data: DraggableData): void;
44
- }
45
- //# sourceMappingURL=SliderBase.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SliderBase.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/components/SliderBase/SliderBase.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,oBAAY,cAAc,GAAG,OAAO,CAAC;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC,CAAC;AAEH,MAAM,WAAW,eAAe;IAC5B;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oBAAoB,CAAC,EAAE,MAAM,CAAC;CACjC;AAED,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC;CAC7B;AAED,MAAM,WAAW,eAAgB,SAAQ,eAAe,EAAE,mBAAmB;IACzE,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,aAAa,GAAG,IAAI,CAAC;CACvD"}
@@ -1,6 +0,0 @@
1
- export * from './Single/Single';
2
- export * from './Double/Double';
3
- export type { SingleSliderProps } from './Single/Single.types';
4
- export type { DoubleSliderProps } from './Double/Double.types';
5
- export type { SliderInternalProps, SliderSettings } from './SliderBase/SliderBase.types';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Slider/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAEhC,YAAY,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,YAAY,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,YAAY,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC"}
@@ -1,6 +0,0 @@
1
- export { sliderConfig, sliderRoot } from './Slider';
2
- export { tokens as sliderTokens } from './Slider.tokens';
3
- export { ThumbBase } from './ui';
4
- export type { SliderProps } from './Slider.types';
5
- export type { SliderSettings, SingleSliderProps, DoubleSliderProps } from './components';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEzD,OAAO,EAAE,SAAS,EAAE,MAAM,MAAM,CAAC;AAEjC,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClD,YAAY,EAAE,cAAc,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC"}
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import type { HandlerProps } from './Handler.types';
3
- declare module 'react-draggable' {
4
- interface DraggableProps {
5
- children: React.ReactNode;
6
- }
7
- }
8
- export declare const Handler: React.ForwardRefExoticComponent<HandlerProps & React.RefAttributes<HTMLDivElement>>;
9
- //# sourceMappingURL=Handler.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Handler.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/ui/Handler/Handler.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4C,MAAM,OAAO,CAAC;AAOjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAIpD,OAAO,QAAQ,iBAAiB,CAAC;IAC7B,UAAiB,cAAc;QAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;KAC7B;CACJ;AAaD,eAAO,MAAM,OAAO,qFAyInB,CAAC"}
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const HandlerStyled: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
- export declare const StyledValue: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
4
- //# sourceMappingURL=Handler.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Handler.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/ui/Handler/Handler.styles.ts"],"names":[],"mappings":";AAIA,eAAO,MAAM,aAAa,qKAMzB,CAAC;AAEF,eAAO,MAAM,WAAW,uKAevB,CAAC"}
@@ -1,24 +0,0 @@
1
- import type { DraggableData } from 'react-draggable';
2
- export interface HandlerProps {
3
- stepSize: number;
4
- min: number;
5
- max: number;
6
- multipleStepSize: number;
7
- onChangeCommitted?(value: number, data: DraggableData): void;
8
- side?: 'left' | 'right';
9
- bounds?: number[];
10
- xPosition?: number;
11
- zIndex?: number;
12
- disabled?: boolean;
13
- value?: number;
14
- ariaLabel?: string;
15
- ariaValueMin?: number;
16
- hasHoverAnimation?: boolean;
17
- showCurrentValue?: boolean;
18
- startOffset?: number;
19
- endOffset?: number;
20
- onChange?(value: number, data: DraggableData): void;
21
- onMouseEnter?(): void;
22
- onMouseLeave?(): void;
23
- }
24
- //# sourceMappingURL=Handler.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Handler.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/ui/Handler/Handler.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,WAAW,YAAY;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,aAAa,GAAG,IAAI,CAAC;IAC7D,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,aAAa,GAAG,IAAI,CAAC;IACpD,YAAY,CAAC,IAAI,IAAI,CAAC;IACtB,YAAY,CAAC,IAAI,IAAI,CAAC;CACzB"}
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import type { ThumbProps } from './Thumb.types';
3
- export declare const Thumb: ({ min, max, value, ariaValueMin, ariaLabel, disabled, ...rest }: ThumbProps) => JSX.Element;
4
- //# sourceMappingURL=Thumb.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Thumb.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/ui/Thumb/Thumb.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAGhD,eAAO,MAAM,KAAK,oEAA2E,UAAU,gBAatG,CAAC"}
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const ThumbBase: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
3
- disabled?: boolean | undefined;
4
- }>;
5
- //# sourceMappingURL=Thumb.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Thumb.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/ui/Thumb/Thumb.styles.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,SAAS;;EAyCrB,CAAC"}
@@ -1,12 +0,0 @@
1
- export interface ThumbProps {
2
- min: number;
3
- max: number;
4
- multipleStepSize: number;
5
- tabIndex: number;
6
- value?: number;
7
- ariaLabel?: string;
8
- ariaValueMin?: number;
9
- hasHoverAnimation?: boolean;
10
- disabled?: boolean;
11
- }
12
- //# sourceMappingURL=Thumb.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Thumb.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/ui/Thumb/Thumb.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB"}
@@ -1,6 +0,0 @@
1
- export * from './Handler/Handler';
2
- export * from './Thumb/Thumb';
3
- export { ThumbBase } from './Thumb/Thumb.styles';
4
- export * from './Handler/Handler.types';
5
- export * from './Thumb/Thumb.types';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Slider/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAE9B,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC"}
@@ -1,33 +0,0 @@
1
- import { MutableRefObject } from 'react';
2
- /**
3
- * Расчитать значение слайдера с учетом его координат и шага изменений.
4
- * @param {number} handleCenterXRelative
5
- * @param {number} stepSize
6
- * @param {number} min
7
- * @param {number} max
8
- * @return {number}
9
- */
10
- export declare function getSliderThumbValue(handleCenterXRelative: number, stepSize: number, min: number, max: number): number;
11
- /**
12
- * Расчитывает значение отступа слайдера на основе его положения (справа, слева) на отрезке слайдера.
13
- * Значение используется для правильного расчета ограничения движения слайдера.
14
- * @param ref
15
- * @param {'left' | 'right'} side
16
- * @return Array<number>
17
- */
18
- export declare function getOffsets(ref: ((instance: HTMLDivElement | null) => void) | MutableRefObject<HTMLDivElement | null> | null, side?: 'left' | 'right'): number[];
19
- export declare const sizeData: {
20
- s: {
21
- indent: number;
22
- fontSizeMultiplier: number;
23
- };
24
- m: {
25
- indent: number;
26
- fontSizeMultiplier: number;
27
- };
28
- l: {
29
- indent: number;
30
- fontSizeMultiplier: number;
31
- };
32
- };
33
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Slider/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAEzC;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,qBAAqB,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,UAI5G;AAED;;;;;;GAMG;AACH,wBAAgB,UAAU,CACtB,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAC,GAAG,gBAAgB,CAAC,cAAc,GAAG,IAAI,CAAC,GAAG,IAAI,EACjG,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GACxB,MAAM,EAAE,CAgBV;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;;;;CAapB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/variations/_disabled/base.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/variations/_size/base.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/variations/_view/base.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Slider.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Slider/Slider.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;CA8OlB,CAAC"}
@@ -1,21 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const Slider: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
3
- view: {
4
- default: import("@linaria/core").LinariaClassName;
5
- accent: import("@linaria/core").LinariaClassName;
6
- gradient: import("@linaria/core").LinariaClassName;
7
- };
8
- size: {
9
- l: import("@linaria/core").LinariaClassName;
10
- m: import("@linaria/core").LinariaClassName;
11
- s: import("@linaria/core").LinariaClassName;
12
- };
13
- disabled: {
14
- true: import("@linaria/core").LinariaClassName;
15
- };
16
- }> & ((import("../../../../components/Slider").SingleSliderProps & import("react").RefAttributes<HTMLDivElement>) | (import("../../../../components/Slider").DoubleSliderProps & import("react").RefAttributes<HTMLDivElement>))>;
17
- /**
18
- * Слайдер позволяет определить числовое значение в пределах указанного промежутка.
19
- * Можно указать два значения.
20
- */
21
- //# sourceMappingURL=Slider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Slider/Slider.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;iOAA0B,CAAC;AAE9C;;;GAGG"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Slider.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Slider/Slider.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;CA8OlB,CAAC"}
@@ -1,21 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const Slider: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
3
- view: {
4
- default: import("@linaria/core").LinariaClassName;
5
- accent: import("@linaria/core").LinariaClassName;
6
- gradient: import("@linaria/core").LinariaClassName;
7
- };
8
- size: {
9
- l: import("@linaria/core").LinariaClassName;
10
- m: import("@linaria/core").LinariaClassName;
11
- s: import("@linaria/core").LinariaClassName;
12
- };
13
- disabled: {
14
- true: import("@linaria/core").LinariaClassName;
15
- };
16
- }> & ((import("../../../../components/Slider").SingleSliderProps & import("react").RefAttributes<HTMLDivElement>) | (import("../../../../components/Slider").DoubleSliderProps & import("react").RefAttributes<HTMLDivElement>))>;
17
- /**
18
- * Слайдер позволяет определить числовое значение в пределах указанного промежутка.
19
- * Можно указать два значения.
20
- */
21
- //# sourceMappingURL=Slider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Slider/Slider.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;iOAA0B,CAAC;AAE9C;;;GAGG"}
@@ -1,6 +0,0 @@
1
- import { useEffect } from 'react';
2
- /**
3
- * Runs effect safely on server.
4
- */
5
- export declare const useIsomorphicLayoutEffect: typeof useEffect;
6
- //# sourceMappingURL=useIsomorphicLayoutEffect.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useIsomorphicLayoutEffect.d.ts","sourceRoot":"","sources":["../../src/hooks/useIsomorphicLayoutEffect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,SAAS,EAAE,MAAM,OAAO,CAAC;AAInD;;GAEG;AACH,eAAO,MAAM,yBAAyB,kBAA0C,CAAC"}
@@ -1,6 +0,0 @@
1
- /**
2
- * This constant tells you whether can DOM be used.
3
- * https://github.com/facebook/react/blob/master/packages/shared/ExecutionEnvironment.js
4
- */
5
- export declare const canUseDOM: boolean;
6
- //# sourceMappingURL=canUseDOM.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"canUseDOM.d.ts","sourceRoot":"","sources":["../../src/utils/canUseDOM.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,SAAS,SAIrB,CAAC"}