@salutejs/plasma-new-hope 0.176.0-canary.1514.11559014063.0 → 0.176.0-dev.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (271) hide show
  1. package/cjs/components/Counter/Counter.css +1 -1
  2. package/cjs/components/Counter/Counter.js +3 -12
  3. package/cjs/components/Counter/Counter.js.map +1 -1
  4. package/cjs/components/Counter/Counter.tokens.js +0 -4
  5. package/cjs/components/Counter/Counter.tokens.js.map +1 -1
  6. package/cjs/components/Counter/variations/_size/base.js +1 -1
  7. package/cjs/components/Counter/variations/_size/base.js.map +1 -1
  8. package/cjs/components/Counter/variations/_size/{base_4mz17d.css → base_1z0ohiy.css} +1 -1
  9. package/cjs/components/Slider/Slider.css +15 -13
  10. package/cjs/components/Slider/Slider.js +11 -2
  11. package/cjs/components/Slider/Slider.js.map +1 -1
  12. package/cjs/components/Slider/Slider.tokens.js +23 -17
  13. package/cjs/components/Slider/Slider.tokens.js.map +1 -1
  14. package/cjs/components/Slider/components/Double/Double.css +8 -8
  15. package/cjs/components/Slider/components/Double/Double.js +58 -23
  16. package/cjs/components/Slider/components/Double/Double.js.map +1 -1
  17. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +98 -0
  18. package/cjs/components/Slider/components/Single/Single.css +14 -14
  19. package/cjs/components/Slider/components/Single/Single.js +64 -33
  20. package/cjs/components/Slider/components/Single/Single.js.map +1 -1
  21. package/cjs/components/Slider/components/Single/Single.styles.js +4 -4
  22. package/cjs/components/Slider/components/Single/Single.styles.js.map +1 -1
  23. package/cjs/components/Slider/components/Single/Single.styles_1h7n2s2.css +6 -0
  24. package/cjs/components/Slider/components/SliderBase/SliderBase.css +5 -5
  25. package/cjs/components/Slider/components/SliderBase/SliderBase.js +31 -12
  26. package/cjs/components/Slider/components/SliderBase/SliderBase.js.map +1 -1
  27. package/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +7 -7
  28. package/cjs/components/Slider/components/SliderBase/SliderBase.styles.js.map +1 -1
  29. package/cjs/components/Slider/components/SliderBase/SliderBase.styles_1qt1224.css +5 -0
  30. package/cjs/components/Slider/ui/Handler/Handler.css +3 -3
  31. package/cjs/components/Slider/ui/Handler/Handler.js +49 -88
  32. package/cjs/components/Slider/ui/Handler/Handler.js.map +1 -1
  33. package/cjs/components/Slider/ui/Handler/Handler.styles.js +17 -7
  34. package/cjs/components/Slider/ui/Handler/Handler.styles.js.map +1 -1
  35. package/cjs/components/Slider/ui/Handler/Handler.styles_irtcgm.css +2 -0
  36. package/cjs/components/Slider/ui/Handler/computeKeyPressData.js +122 -0
  37. package/cjs/components/Slider/ui/Handler/computeKeyPressData.js.map +1 -0
  38. package/cjs/components/Slider/ui/Thumb/Thumb.css +1 -1
  39. package/cjs/components/Slider/ui/Thumb/Thumb.js +3 -2
  40. package/cjs/components/Slider/ui/Thumb/Thumb.js.map +1 -1
  41. package/cjs/components/Slider/ui/Thumb/Thumb.styles.js +1 -1
  42. package/cjs/components/Slider/ui/Thumb/Thumb.styles.js.map +1 -1
  43. package/cjs/components/Slider/ui/Thumb/Thumb.styles_uyn20e.css +1 -0
  44. package/cjs/components/Slider/utils/index.js +28 -10
  45. package/cjs/components/Slider/utils/index.js.map +1 -1
  46. package/cjs/components/Slider/variations/_view/base.js +1 -1
  47. package/cjs/components/Slider/variations/_view/base.js.map +1 -1
  48. package/cjs/components/Slider/variations/_view/base_1s3f6q8.css +1 -0
  49. package/cjs/index.css +16 -14
  50. package/cjs/utils/index.js.map +1 -1
  51. package/emotion/cjs/components/Counter/Counter.js +3 -12
  52. package/emotion/cjs/components/Counter/Counter.template-doc.mdx +2 -2
  53. package/emotion/cjs/components/Counter/Counter.tokens.js +1 -4
  54. package/emotion/cjs/components/Counter/variations/_size/base.js +1 -1
  55. package/emotion/cjs/components/Slider/Slider.js +10 -2
  56. package/emotion/cjs/components/Slider/Slider.template-doc.mdx +26 -0
  57. package/emotion/cjs/components/Slider/Slider.tokens.js +23 -17
  58. package/emotion/cjs/components/Slider/components/Double/Double.js +54 -19
  59. package/emotion/cjs/components/Slider/components/Single/Single.js +64 -33
  60. package/emotion/cjs/components/Slider/components/Single/Single.styles.js +18 -9
  61. package/emotion/cjs/components/Slider/components/SliderBase/SliderBase.js +31 -12
  62. package/emotion/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +10 -10
  63. package/emotion/cjs/components/Slider/ui/Handler/Handler.js +52 -88
  64. package/emotion/cjs/components/Slider/ui/Handler/Handler.styles.js +9 -15
  65. package/emotion/cjs/components/Slider/ui/Handler/computeKeyPressData.js +121 -0
  66. package/emotion/cjs/components/Slider/ui/Thumb/Thumb.js +3 -2
  67. package/emotion/cjs/components/Slider/ui/Thumb/Thumb.styles.js +3 -3
  68. package/emotion/cjs/components/Slider/utils/index.js +28 -10
  69. package/emotion/cjs/components/Slider/variations/_view/base.js +2 -1
  70. package/emotion/cjs/examples/plasma_b2c/components/Counter/Counter.config.js +9 -12
  71. package/emotion/cjs/examples/plasma_b2c/components/Counter/Counter.stories.tsx +5 -7
  72. package/emotion/cjs/examples/plasma_b2c/components/Slider/Slider.config.js +7 -7
  73. package/emotion/cjs/examples/plasma_b2c/components/Slider/Slider.stories.tsx +98 -16
  74. package/emotion/cjs/examples/plasma_web/components/Counter/Counter.config.js +9 -12
  75. package/emotion/cjs/examples/plasma_web/components/Counter/Counter.stories.tsx +5 -7
  76. package/emotion/cjs/examples/plasma_web/components/Slider/Slider.config.js +7 -7
  77. package/emotion/cjs/examples/plasma_web/components/Slider/Slider.stories.tsx +98 -15
  78. package/emotion/es/components/Counter/Counter.js +3 -12
  79. package/emotion/es/components/Counter/Counter.template-doc.mdx +2 -2
  80. package/emotion/es/components/Counter/Counter.tokens.js +0 -3
  81. package/emotion/es/components/Counter/variations/_size/base.js +2 -2
  82. package/emotion/es/components/Slider/Slider.js +11 -2
  83. package/emotion/es/components/Slider/Slider.template-doc.mdx +26 -0
  84. package/emotion/es/components/Slider/Slider.tokens.js +23 -17
  85. package/emotion/es/components/Slider/components/Double/Double.js +54 -19
  86. package/emotion/es/components/Slider/components/Single/Single.js +65 -34
  87. package/emotion/es/components/Slider/components/Single/Single.styles.js +17 -8
  88. package/emotion/es/components/Slider/components/SliderBase/SliderBase.js +31 -12
  89. package/emotion/es/components/Slider/components/SliderBase/SliderBase.styles.js +11 -11
  90. package/emotion/es/components/Slider/ui/Handler/Handler.js +51 -86
  91. package/emotion/es/components/Slider/ui/Handler/Handler.styles.js +10 -16
  92. package/emotion/es/components/Slider/ui/Handler/computeKeyPressData.js +115 -0
  93. package/emotion/es/components/Slider/ui/Thumb/Thumb.js +3 -2
  94. package/emotion/es/components/Slider/ui/Thumb/Thumb.styles.js +3 -3
  95. package/emotion/es/components/Slider/utils/index.js +28 -10
  96. package/emotion/es/components/Slider/variations/_view/base.js +2 -1
  97. package/emotion/es/examples/plasma_b2c/components/Counter/Counter.config.js +9 -12
  98. package/emotion/es/examples/plasma_b2c/components/Counter/Counter.stories.tsx +5 -7
  99. package/emotion/es/examples/plasma_b2c/components/Slider/Slider.config.js +7 -7
  100. package/emotion/es/examples/plasma_b2c/components/Slider/Slider.stories.tsx +98 -16
  101. package/emotion/es/examples/plasma_web/components/Counter/Counter.config.js +9 -12
  102. package/emotion/es/examples/plasma_web/components/Counter/Counter.stories.tsx +5 -7
  103. package/emotion/es/examples/plasma_web/components/Slider/Slider.config.js +7 -7
  104. package/emotion/es/examples/plasma_web/components/Slider/Slider.stories.tsx +98 -15
  105. package/es/components/Counter/Counter.css +1 -1
  106. package/es/components/Counter/Counter.js +3 -12
  107. package/es/components/Counter/Counter.js.map +1 -1
  108. package/es/components/Counter/Counter.tokens.js +1 -4
  109. package/es/components/Counter/Counter.tokens.js.map +1 -1
  110. package/es/components/Counter/variations/_size/base.js +1 -1
  111. package/es/components/Counter/variations/_size/base.js.map +1 -1
  112. package/es/components/Counter/variations/_size/{base_4mz17d.css → base_1z0ohiy.css} +1 -1
  113. package/es/components/Slider/Slider.css +15 -13
  114. package/es/components/Slider/Slider.js +11 -2
  115. package/es/components/Slider/Slider.js.map +1 -1
  116. package/es/components/Slider/Slider.tokens.js +23 -17
  117. package/es/components/Slider/Slider.tokens.js.map +1 -1
  118. package/es/components/Slider/components/Double/Double.css +8 -8
  119. package/es/components/Slider/components/Double/Double.js +54 -19
  120. package/es/components/Slider/components/Double/Double.js.map +1 -1
  121. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +98 -0
  122. package/es/components/Slider/components/Single/Single.css +14 -14
  123. package/es/components/Slider/components/Single/Single.js +65 -34
  124. package/es/components/Slider/components/Single/Single.js.map +1 -1
  125. package/es/components/Slider/components/Single/Single.styles.js +4 -4
  126. package/es/components/Slider/components/Single/Single.styles.js.map +1 -1
  127. package/es/components/Slider/components/Single/Single.styles_1h7n2s2.css +6 -0
  128. package/es/components/Slider/components/SliderBase/SliderBase.css +5 -5
  129. package/es/components/Slider/components/SliderBase/SliderBase.js +31 -12
  130. package/es/components/Slider/components/SliderBase/SliderBase.js.map +1 -1
  131. package/es/components/Slider/components/SliderBase/SliderBase.styles.js +7 -7
  132. package/es/components/Slider/components/SliderBase/SliderBase.styles.js.map +1 -1
  133. package/es/components/Slider/components/SliderBase/SliderBase.styles_1qt1224.css +5 -0
  134. package/es/components/Slider/ui/Handler/Handler.css +3 -3
  135. package/es/components/Slider/ui/Handler/Handler.js +48 -87
  136. package/es/components/Slider/ui/Handler/Handler.js.map +1 -1
  137. package/es/components/Slider/ui/Handler/Handler.styles.js +17 -7
  138. package/es/components/Slider/ui/Handler/Handler.styles.js.map +1 -1
  139. package/es/components/Slider/ui/Handler/Handler.styles_irtcgm.css +2 -0
  140. package/es/components/Slider/ui/Handler/computeKeyPressData.js +118 -0
  141. package/es/components/Slider/ui/Handler/computeKeyPressData.js.map +1 -0
  142. package/es/components/Slider/ui/Thumb/Thumb.css +1 -1
  143. package/es/components/Slider/ui/Thumb/Thumb.js +3 -2
  144. package/es/components/Slider/ui/Thumb/Thumb.js.map +1 -1
  145. package/es/components/Slider/ui/Thumb/Thumb.styles.js +1 -1
  146. package/es/components/Slider/ui/Thumb/Thumb.styles.js.map +1 -1
  147. package/es/components/Slider/ui/Thumb/Thumb.styles_uyn20e.css +1 -0
  148. package/es/components/Slider/utils/index.js +28 -10
  149. package/es/components/Slider/utils/index.js.map +1 -1
  150. package/es/components/Slider/variations/_view/base.js +1 -1
  151. package/es/components/Slider/variations/_view/base.js.map +1 -1
  152. package/es/components/Slider/variations/_view/base_1s3f6q8.css +1 -0
  153. package/es/index.css +16 -14
  154. package/es/utils/index.js.map +1 -1
  155. package/package.json +2 -2
  156. package/styled-components/cjs/components/Counter/Counter.js +3 -12
  157. package/styled-components/cjs/components/Counter/Counter.template-doc.mdx +2 -2
  158. package/styled-components/cjs/components/Counter/Counter.tokens.js +1 -4
  159. package/styled-components/cjs/components/Counter/variations/_size/base.js +1 -1
  160. package/styled-components/cjs/components/Slider/Slider.js +10 -2
  161. package/styled-components/cjs/components/Slider/Slider.template-doc.mdx +26 -0
  162. package/styled-components/cjs/components/Slider/Slider.tokens.js +23 -17
  163. package/styled-components/cjs/components/Slider/components/Double/Double.js +54 -19
  164. package/styled-components/cjs/components/Slider/components/Single/Single.js +64 -33
  165. package/styled-components/cjs/components/Slider/components/Single/Single.styles.js +6 -6
  166. package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.js +31 -12
  167. package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +6 -6
  168. package/styled-components/cjs/components/Slider/ui/Handler/Handler.js +52 -88
  169. package/styled-components/cjs/components/Slider/ui/Handler/Handler.styles.js +7 -4
  170. package/styled-components/cjs/components/Slider/ui/Handler/computeKeyPressData.js +121 -0
  171. package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.js +3 -2
  172. package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.styles.js +2 -2
  173. package/styled-components/cjs/components/Slider/utils/index.js +28 -10
  174. package/styled-components/cjs/components/Slider/variations/_view/base.js +2 -1
  175. package/styled-components/cjs/examples/plasma_b2c/components/Counter/Counter.config.js +2 -5
  176. package/styled-components/cjs/examples/plasma_b2c/components/Counter/Counter.stories.tsx +5 -7
  177. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.config.js +3 -3
  178. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.stories.tsx +98 -16
  179. package/styled-components/cjs/examples/plasma_web/components/Counter/Counter.config.js +2 -5
  180. package/styled-components/cjs/examples/plasma_web/components/Counter/Counter.stories.tsx +5 -7
  181. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.config.js +3 -3
  182. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.stories.tsx +98 -15
  183. package/styled-components/es/components/Counter/Counter.js +3 -12
  184. package/styled-components/es/components/Counter/Counter.template-doc.mdx +2 -2
  185. package/styled-components/es/components/Counter/Counter.tokens.js +0 -3
  186. package/styled-components/es/components/Counter/variations/_size/base.js +2 -2
  187. package/styled-components/es/components/Slider/Slider.js +11 -2
  188. package/styled-components/es/components/Slider/Slider.template-doc.mdx +26 -0
  189. package/styled-components/es/components/Slider/Slider.tokens.js +23 -17
  190. package/styled-components/es/components/Slider/components/Double/Double.js +54 -19
  191. package/styled-components/es/components/Slider/components/Single/Single.js +65 -34
  192. package/styled-components/es/components/Slider/components/Single/Single.styles.js +5 -5
  193. package/styled-components/es/components/Slider/components/SliderBase/SliderBase.js +31 -12
  194. package/styled-components/es/components/Slider/components/SliderBase/SliderBase.styles.js +7 -7
  195. package/styled-components/es/components/Slider/ui/Handler/Handler.js +51 -86
  196. package/styled-components/es/components/Slider/ui/Handler/Handler.styles.js +8 -5
  197. package/styled-components/es/components/Slider/ui/Handler/computeKeyPressData.js +115 -0
  198. package/styled-components/es/components/Slider/ui/Thumb/Thumb.js +3 -2
  199. package/styled-components/es/components/Slider/ui/Thumb/Thumb.styles.js +2 -2
  200. package/styled-components/es/components/Slider/utils/index.js +28 -10
  201. package/styled-components/es/components/Slider/variations/_view/base.js +2 -1
  202. package/styled-components/es/examples/plasma_b2c/components/Counter/Counter.config.js +2 -5
  203. package/styled-components/es/examples/plasma_b2c/components/Counter/Counter.stories.tsx +5 -7
  204. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.config.js +3 -3
  205. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.stories.tsx +98 -16
  206. package/styled-components/es/examples/plasma_web/components/Counter/Counter.config.js +2 -5
  207. package/styled-components/es/examples/plasma_web/components/Counter/Counter.stories.tsx +5 -7
  208. package/styled-components/es/examples/plasma_web/components/Slider/Slider.config.js +3 -3
  209. package/styled-components/es/examples/plasma_web/components/Slider/Slider.stories.tsx +98 -15
  210. package/types/components/Counter/Counter.d.ts.map +1 -1
  211. package/types/components/Counter/Counter.tokens.d.ts +0 -3
  212. package/types/components/Counter/Counter.tokens.d.ts.map +1 -1
  213. package/types/components/Counter/Counter.types.d.ts +2 -2
  214. package/types/components/Counter/variations/_size/base.d.ts.map +1 -1
  215. package/types/components/Slider/Slider.d.ts.map +1 -1
  216. package/types/components/Slider/Slider.tokens.d.ts +22 -16
  217. package/types/components/Slider/Slider.tokens.d.ts.map +1 -1
  218. package/types/components/Slider/components/Double/Double.d.ts.map +1 -1
  219. package/types/components/Slider/components/Double/Double.types.d.ts +1 -0
  220. package/types/components/Slider/components/Double/Double.types.d.ts.map +1 -1
  221. package/types/components/Slider/components/Single/Single.d.ts.map +1 -1
  222. package/types/components/Slider/components/Single/Single.styles.d.ts +1 -1
  223. package/types/components/Slider/components/Single/Single.styles.d.ts.map +1 -1
  224. package/types/components/Slider/components/Single/Single.types.d.ts +79 -7
  225. package/types/components/Slider/components/Single/Single.types.d.ts.map +1 -1
  226. package/types/components/Slider/components/SliderBase/SliderBase.d.ts.map +1 -1
  227. package/types/components/Slider/components/SliderBase/SliderBase.styles.d.ts +1 -1
  228. package/types/components/Slider/components/SliderBase/SliderBase.styles.d.ts.map +1 -1
  229. package/types/components/Slider/components/SliderBase/SliderBase.types.d.ts +6 -0
  230. package/types/components/Slider/components/SliderBase/SliderBase.types.d.ts.map +1 -1
  231. package/types/components/Slider/ui/Handler/Handler.d.ts.map +1 -1
  232. package/types/components/Slider/ui/Handler/Handler.styles.d.ts +6 -2
  233. package/types/components/Slider/ui/Handler/Handler.styles.d.ts.map +1 -1
  234. package/types/components/Slider/ui/Handler/Handler.types.d.ts +5 -1
  235. package/types/components/Slider/ui/Handler/Handler.types.d.ts.map +1 -1
  236. package/types/components/Slider/ui/Handler/computeKeyPressData.d.ts +12 -0
  237. package/types/components/Slider/ui/Handler/computeKeyPressData.d.ts.map +1 -0
  238. package/types/components/Slider/ui/Thumb/Thumb.d.ts +1 -1
  239. package/types/components/Slider/ui/Thumb/Thumb.d.ts.map +1 -1
  240. package/types/components/Slider/ui/Thumb/Thumb.styles.d.ts.map +1 -1
  241. package/types/components/Slider/ui/Thumb/Thumb.types.d.ts +1 -0
  242. package/types/components/Slider/ui/Thumb/Thumb.types.d.ts.map +1 -1
  243. package/types/components/Slider/utils/index.d.ts +26 -8
  244. package/types/components/Slider/utils/index.d.ts.map +1 -1
  245. package/types/components/Slider/variations/_view/base.d.ts.map +1 -1
  246. package/types/examples/plasma_b2c/components/Counter/Counter.config.d.ts +0 -3
  247. package/types/examples/plasma_b2c/components/Counter/Counter.config.d.ts.map +1 -1
  248. package/types/examples/plasma_b2c/components/Counter/Counter.d.ts +0 -3
  249. package/types/examples/plasma_b2c/components/Counter/Counter.d.ts.map +1 -1
  250. package/types/examples/plasma_b2c/components/Slider/Slider.config.d.ts.map +1 -1
  251. package/types/examples/plasma_b2c/components/Slider/Slider.d.ts +80 -2
  252. package/types/examples/plasma_b2c/components/Slider/Slider.d.ts.map +1 -1
  253. package/types/examples/plasma_web/components/Counter/Counter.config.d.ts +0 -3
  254. package/types/examples/plasma_web/components/Counter/Counter.config.d.ts.map +1 -1
  255. package/types/examples/plasma_web/components/Counter/Counter.d.ts +0 -3
  256. package/types/examples/plasma_web/components/Counter/Counter.d.ts.map +1 -1
  257. package/types/examples/plasma_web/components/Slider/Slider.config.d.ts.map +1 -1
  258. package/types/examples/plasma_web/components/Slider/Slider.d.ts +80 -2
  259. package/types/examples/plasma_web/components/Slider/Slider.d.ts.map +1 -1
  260. package/types/utils/index.d.ts +1 -1
  261. package/types/utils/index.d.ts.map +1 -1
  262. package/cjs/components/Slider/components/Single/Single.styles_1r9f1e0.css +0 -6
  263. package/cjs/components/Slider/components/SliderBase/SliderBase.styles_9s4eb3.css +0 -5
  264. package/cjs/components/Slider/ui/Handler/Handler.styles_8crx5z.css +0 -2
  265. package/cjs/components/Slider/ui/Thumb/Thumb.styles_4w4gzn.css +0 -1
  266. package/cjs/components/Slider/variations/_view/base_x642ct.css +0 -1
  267. package/es/components/Slider/components/Single/Single.styles_1r9f1e0.css +0 -6
  268. package/es/components/Slider/components/SliderBase/SliderBase.styles_9s4eb3.css +0 -5
  269. package/es/components/Slider/ui/Handler/Handler.styles_8crx5z.css +0 -2
  270. package/es/components/Slider/ui/Thumb/Thumb.styles_4w4gzn.css +0 -1
  271. package/es/components/Slider/variations/_view/base_x642ct.css +0 -1
@@ -18,37 +18,115 @@ export declare const Slider: import("react").FunctionComponent<import("../../../
18
18
  name: string;
19
19
  value?: undefined;
20
20
  defaultValue?: number | undefined;
21
+ } & {
22
+ orientation?: "horizontal" | undefined;
23
+ labelPlacement?: "none" | "left" | "top" | undefined;
24
+ scaleAlign?: "none" | "bottom" | "side" | undefined;
25
+ sliderAlign?: "none" | undefined;
26
+ reversed?: undefined;
27
+ labelReversed?: undefined;
21
28
  } & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
22
29
  onChangeCommitted?: ((value: number) => void) | undefined;
23
30
  ariaLabel?: string | undefined;
24
31
  showCurrentValue?: boolean | undefined;
25
32
  showRangeValues?: boolean | undefined;
33
+ rangeValuesPlacement?: string | undefined;
34
+ showScale?: boolean | undefined;
26
35
  hideMinValueDiff?: number | undefined;
27
36
  hideMaxValueDiff?: number | undefined;
28
- rangeValuesPlacement?: "inner" | "outer" | undefined;
29
37
  labelPlacement?: "inner" | "outer" | undefined;
38
+ labelContentLeft?: import("react").ReactNode;
39
+ labelContent?: import("react").ReactNode;
30
40
  multipleStepSize?: number | undefined;
31
41
  view?: string | undefined;
32
42
  size?: "m" | "s" | "l" | undefined;
33
43
  type?: "single" | undefined;
44
+ pointerSize?: "small" | "large" | "none" | undefined;
45
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("../../../../components/Slider/components/SliderBase/SliderBase.types").SliderBaseProps & import("../../../../components/Slider/components").SliderInternalProps & {
46
+ onChange?: ((event: import("../../../../types/FormType").FormTypeNumber) => void) | undefined;
47
+ name: string;
48
+ value?: undefined;
49
+ defaultValue?: number | undefined;
50
+ } & {
51
+ orientation: "vertical";
52
+ sliderAlign?: "none" | "center" | "left" | "right" | undefined;
53
+ scaleAlign?: undefined;
54
+ reversed?: boolean | undefined;
55
+ labelReversed?: boolean | undefined;
56
+ } & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
57
+ onChangeCommitted?: ((value: number) => void) | undefined;
58
+ ariaLabel?: string | undefined;
59
+ showCurrentValue?: boolean | undefined;
60
+ showRangeValues?: boolean | undefined;
61
+ rangeValuesPlacement?: string | undefined;
62
+ showScale?: boolean | undefined;
63
+ hideMinValueDiff?: number | undefined;
64
+ hideMaxValueDiff?: number | undefined;
65
+ labelPlacement?: "inner" | "outer" | undefined;
66
+ labelContentLeft?: import("react").ReactNode;
67
+ labelContent?: import("react").ReactNode;
68
+ multipleStepSize?: number | undefined;
69
+ view?: string | undefined;
70
+ size?: "m" | "s" | "l" | undefined;
71
+ type?: "single" | undefined;
72
+ pointerSize?: "small" | "large" | "none" | undefined;
73
+ } & import("react").RefAttributes<HTMLDivElement>) | (import("../../../../components/Slider/components/SliderBase/SliderBase.types").SliderBaseProps & import("../../../../components/Slider/components").SliderInternalProps & {
74
+ onChange?: ((value: number) => void) | undefined;
75
+ value: number;
76
+ name?: undefined;
77
+ defaultValue?: undefined;
78
+ } & {
79
+ orientation?: "horizontal" | undefined;
80
+ labelPlacement?: "none" | "left" | "top" | undefined;
81
+ scaleAlign?: "none" | "bottom" | "side" | undefined;
82
+ sliderAlign?: "none" | undefined;
83
+ reversed?: undefined;
84
+ labelReversed?: undefined;
85
+ } & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
86
+ onChangeCommitted?: ((value: number) => void) | undefined;
87
+ ariaLabel?: string | undefined;
88
+ showCurrentValue?: boolean | undefined;
89
+ showRangeValues?: boolean | undefined;
90
+ rangeValuesPlacement?: string | undefined;
91
+ showScale?: boolean | undefined;
92
+ hideMinValueDiff?: number | undefined;
93
+ hideMaxValueDiff?: number | undefined;
94
+ labelPlacement?: "inner" | "outer" | undefined;
95
+ labelContentLeft?: import("react").ReactNode;
96
+ labelContent?: import("react").ReactNode;
97
+ multipleStepSize?: number | undefined;
98
+ view?: string | undefined;
99
+ size?: "m" | "s" | "l" | undefined;
100
+ type?: "single" | undefined;
101
+ pointerSize?: "small" | "large" | "none" | undefined;
34
102
  } & import("react").RefAttributes<HTMLDivElement>) | (import("../../../../components/Slider/components/SliderBase/SliderBase.types").SliderBaseProps & import("../../../../components/Slider/components").SliderInternalProps & {
35
103
  onChange?: ((value: number) => void) | undefined;
36
104
  value: number;
37
105
  name?: undefined;
38
106
  defaultValue?: undefined;
107
+ } & {
108
+ orientation: "vertical";
109
+ sliderAlign?: "none" | "center" | "left" | "right" | undefined;
110
+ scaleAlign?: undefined;
111
+ reversed?: boolean | undefined;
112
+ labelReversed?: boolean | undefined;
39
113
  } & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & {
40
114
  onChangeCommitted?: ((value: number) => void) | undefined;
41
115
  ariaLabel?: string | undefined;
42
116
  showCurrentValue?: boolean | undefined;
43
117
  showRangeValues?: boolean | undefined;
118
+ rangeValuesPlacement?: string | undefined;
119
+ showScale?: boolean | undefined;
44
120
  hideMinValueDiff?: number | undefined;
45
121
  hideMaxValueDiff?: number | undefined;
46
- rangeValuesPlacement?: "inner" | "outer" | undefined;
47
122
  labelPlacement?: "inner" | "outer" | undefined;
123
+ labelContentLeft?: import("react").ReactNode;
124
+ labelContent?: import("react").ReactNode;
48
125
  multipleStepSize?: number | undefined;
49
126
  view?: string | undefined;
50
127
  size?: "m" | "s" | "l" | undefined;
51
128
  type?: "single" | undefined;
129
+ pointerSize?: "small" | "large" | "none" | undefined;
52
130
  } & import("react").RefAttributes<HTMLDivElement>) | (Omit<import("../../../../components/Slider").DoubleSliderProps, "onChange" | "defaultValue" | "value"> & {
53
131
  onChange?: ((event: import("../../../../types/FormType").FormTypeString) => void) | undefined;
54
132
  name?: string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Slider/Slider.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAA0B,CAAC;AAE9C;;;GAGG"}
1
+ {"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Slider/Slider.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAA0B,CAAC;AAE9C;;;GAGG"}
@@ -9,6 +9,6 @@ export { isEmpty } from './isEmpty';
9
9
  export * as constants from './constants';
10
10
  export * from './getPopoverPlacement';
11
11
  export { noop } from './noop';
12
- export declare const cx: (...classes: (string | undefined)[]) => string;
12
+ export declare const cx: (...classes: (string | boolean | undefined)[]) => string;
13
13
  export declare const composableStyle: (s: TemplateStringsArray, ...expr: Array<string | number | CSSProperties>) => string;
14
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,EAAE,eAAgB,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,WAAuD,CAAC;AAE7G,eAAO,MAAM,eAAe,MAAO,oBAAoB,WAAW,MAAM,MAAM,GAAG,MAAM,GAAG,aAAa,CAAC,KAAG,MAQ1G,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,EAAE,eAAgB,CAAC,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC,EAAE,WAAuD,CAAC;AAEvH,eAAO,MAAM,eAAe,MAAO,oBAAoB,WAAW,MAAM,MAAM,GAAG,MAAM,GAAG,aAAa,CAAC,KAAG,MAQ1G,CAAC"}
@@ -1,6 +0,0 @@
1
- .l1p4kc08{color:var(--plasma-slider-label-color);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:var(--plasma-slider-label-wrapper-gap);}
2
-
3
- .lozb535{font-family:var(--plasma-slider-label-font-family);font-size:var(--plasma-slider-label-font-size);font-style:var(--plasma-slider-label-font-style);font-weight:var(--plasma-slider-label-font-weight);-webkit-letter-spacing:var(--plasma-slider-label-letter-spacing);-moz-letter-spacing:var(--plasma-slider-label-letter-spacing);-ms-letter-spacing:var(--plasma-slider-label-letter-spacing);letter-spacing:var(--plasma-slider-label-letter-spacing);line-height:var(--plasma-slider-label-line-height);}
4
- .s1w9icbd{color:var(--plasma-slider-range-value-color);font-family:var(--plasma-slider-range-value-font-family);font-size:var(--plasma-slider-range-value-font-size);font-style:var(--plasma-slider-range-value-font-style);font-weight:var(--plasma-slider-range-value-font-weight);-webkit-letter-spacing:var(--plasma-slider-range-value-letter-spacing);-moz-letter-spacing:var(--plasma-slider-range-value-letter-spacing);-ms-letter-spacing:var(--plasma-slider-range-value-letter-spacing);letter-spacing:var(--plasma-slider-range-value-letter-spacing);line-height:var(--plasma-slider-range-value-line-height);-webkit-transition:opacity 0.1s ease-in-out;transition:opacity 0.1s ease-in-out;}.s1w9icbd.slider-hide-min-value,.s1w9icbd.slider-hide-max-value{opacity:0;}.s1w9icbd.slider-active-range-value{color:var(--plasma-slider-label-color);}
5
- .s1d2sfgl{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1;-ms-flex:1;flex:1;}.s1d2sfgl.slider-range-values-placement-outer .s1w9icbd{position:absolute;bottom:var(--plasma-slider-range-value-bottom-offset);left:0;}.s1d2sfgl.slider-range-values-placement-outer .s1w9icbd.slider-max-range-value{left:unset;right:0;}.s1d2sfgl.slider-range-values-placement-inner{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.s1d2sfgl.slider-range-values-placement-inner .s1w9icbd{margin-right:var(--plasma-slider-range-min-value-margin);}.s1d2sfgl.slider-range-values-placement-inner .s1w9icbd.slider-max-range-value{margin-right:0;margin-left:var(--plasma-slider-range-max-value-margin);}
6
- .ss3ujqx{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;opacity:var(--plasma-slider-disabled-opacity);}.ss3ujqx.slider-label-placement-outer{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.ss3ujqx.slider-label-placement-outer .l1p4kc08{margin-bottom:var(--plasma-slider-label-wrapper-margin-bottom);}.ss3ujqx.slider-label-placement-inner .l1p4kc08{margin-right:var(--plasma-slider-label-wrapper-margin-right);}
@@ -1,5 +0,0 @@
1
- .s33crq1{-webkit-flex:1;-ms-flex:1;flex:1;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;height:var(--plasma-slider-height);}
2
- .rnaoqfb{height:100%;}
3
- .r1bro5xo{position:relative;top:50%;height:var(--plasma-slider-rail-height);border-radius:var(--plasma-slider-rail-border-radius);background-color:var(--plasma-slider-rail-background-color);overflow:hidden;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);}
4
- .fdg7yhg{position:absolute;height:100%;top:0;left:0;background:var(--plasma-slider-fill-color);width:0;}
5
- .i17ya4q3{visibility:hidden;width:0;height:0;opacity:0;margin:0;padding:0;border:none;}
@@ -1,2 +0,0 @@
1
- .h1tnrnip{cursor:pointer;position:absolute;z-index:1;top:0;left:0;}
2
- .s12uu2lj{position:absolute;z-index:1;top:var(--plasma-slider-current-value-top-offset);text-align:center;width:100%;margin-left:-0.125rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-family:var(--plasma-slider-current-value-font-family);font-size:var(--plasma-slider-current-value-font-size);font-style:var(--plasma-slider-current-value-font-style);font-weight:var(--plasma-slider-current-value-font-weight);-webkit-letter-spacing:var(--plasma-slider-current-value-letter-spacing);-moz-letter-spacing:var(--plasma-slider-current-value-letter-spacing);-ms-letter-spacing:var(--plasma-slider-current-value-letter-spacing);letter-spacing:var(--plasma-slider-current-value-letter-spacing);line-height:var(--plasma-slider-current-value-line-height);}
@@ -1 +0,0 @@
1
- .tqbdf8b{width:var(--plasma-slider-thumb-size);height:var(--plasma-slider-thumb-size);position:relative;left:-0.125rem;top:-0.125rem;border-radius:50%;box-sizing:border-box;background:var(--plasma-slider-thumb-background-color);margin:0.125rem;-webkit-transition:border-color 0.1s ease-in-out;transition:border-color 0.1s ease-in-out;position:relative;}.tqbdf8b:after{background:var(--plasma-slider-thumb-border-color);margin:-0.125rem;content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;}.tqbdf8b:not([disabled]):hover:after,.tqbdf8b:not([disabled]):active:after{background:var(--plasma-slider-thumb-focus-border-color);}.tqbdf8b[disabled]{cursor:not-allowed;}.tqbdf8b:focus{outline:none;}.tqbdf8b::before{content:'';position:absolute;top:0.125rem;left:0.125rem;right:0.125rem;bottom:0.125rem;z-index:1;display:block;box-sizing:content-box;border:0.125rem solid transparent;border-radius:50%;-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.tqbdf8b.focus-visible:focus::before,.tqbdf8b[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.125rem var(--plasma-slider-thumb-focus-border-color);}
@@ -1,6 +0,0 @@
1
- .l1p4kc08{color:var(--plasma-slider-label-color);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:var(--plasma-slider-label-wrapper-gap);}
2
-
3
- .lozb535{font-family:var(--plasma-slider-label-font-family);font-size:var(--plasma-slider-label-font-size);font-style:var(--plasma-slider-label-font-style);font-weight:var(--plasma-slider-label-font-weight);-webkit-letter-spacing:var(--plasma-slider-label-letter-spacing);-moz-letter-spacing:var(--plasma-slider-label-letter-spacing);-ms-letter-spacing:var(--plasma-slider-label-letter-spacing);letter-spacing:var(--plasma-slider-label-letter-spacing);line-height:var(--plasma-slider-label-line-height);}
4
- .s1w9icbd{color:var(--plasma-slider-range-value-color);font-family:var(--plasma-slider-range-value-font-family);font-size:var(--plasma-slider-range-value-font-size);font-style:var(--plasma-slider-range-value-font-style);font-weight:var(--plasma-slider-range-value-font-weight);-webkit-letter-spacing:var(--plasma-slider-range-value-letter-spacing);-moz-letter-spacing:var(--plasma-slider-range-value-letter-spacing);-ms-letter-spacing:var(--plasma-slider-range-value-letter-spacing);letter-spacing:var(--plasma-slider-range-value-letter-spacing);line-height:var(--plasma-slider-range-value-line-height);-webkit-transition:opacity 0.1s ease-in-out;transition:opacity 0.1s ease-in-out;}.s1w9icbd.slider-hide-min-value,.s1w9icbd.slider-hide-max-value{opacity:0;}.s1w9icbd.slider-active-range-value{color:var(--plasma-slider-label-color);}
5
- .s1d2sfgl{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1;-ms-flex:1;flex:1;}.s1d2sfgl.slider-range-values-placement-outer .s1w9icbd{position:absolute;bottom:var(--plasma-slider-range-value-bottom-offset);left:0;}.s1d2sfgl.slider-range-values-placement-outer .s1w9icbd.slider-max-range-value{left:unset;right:0;}.s1d2sfgl.slider-range-values-placement-inner{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.s1d2sfgl.slider-range-values-placement-inner .s1w9icbd{margin-right:var(--plasma-slider-range-min-value-margin);}.s1d2sfgl.slider-range-values-placement-inner .s1w9icbd.slider-max-range-value{margin-right:0;margin-left:var(--plasma-slider-range-max-value-margin);}
6
- .ss3ujqx{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;opacity:var(--plasma-slider-disabled-opacity);}.ss3ujqx.slider-label-placement-outer{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.ss3ujqx.slider-label-placement-outer .l1p4kc08{margin-bottom:var(--plasma-slider-label-wrapper-margin-bottom);}.ss3ujqx.slider-label-placement-inner .l1p4kc08{margin-right:var(--plasma-slider-label-wrapper-margin-right);}
@@ -1,5 +0,0 @@
1
- .s33crq1{-webkit-flex:1;-ms-flex:1;flex:1;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;height:var(--plasma-slider-height);}
2
- .rnaoqfb{height:100%;}
3
- .r1bro5xo{position:relative;top:50%;height:var(--plasma-slider-rail-height);border-radius:var(--plasma-slider-rail-border-radius);background-color:var(--plasma-slider-rail-background-color);overflow:hidden;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);}
4
- .fdg7yhg{position:absolute;height:100%;top:0;left:0;background:var(--plasma-slider-fill-color);width:0;}
5
- .i17ya4q3{visibility:hidden;width:0;height:0;opacity:0;margin:0;padding:0;border:none;}
@@ -1,2 +0,0 @@
1
- .h1tnrnip{cursor:pointer;position:absolute;z-index:1;top:0;left:0;}
2
- .s12uu2lj{position:absolute;z-index:1;top:var(--plasma-slider-current-value-top-offset);text-align:center;width:100%;margin-left:-0.125rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-family:var(--plasma-slider-current-value-font-family);font-size:var(--plasma-slider-current-value-font-size);font-style:var(--plasma-slider-current-value-font-style);font-weight:var(--plasma-slider-current-value-font-weight);-webkit-letter-spacing:var(--plasma-slider-current-value-letter-spacing);-moz-letter-spacing:var(--plasma-slider-current-value-letter-spacing);-ms-letter-spacing:var(--plasma-slider-current-value-letter-spacing);letter-spacing:var(--plasma-slider-current-value-letter-spacing);line-height:var(--plasma-slider-current-value-line-height);}
@@ -1 +0,0 @@
1
- .tqbdf8b{width:var(--plasma-slider-thumb-size);height:var(--plasma-slider-thumb-size);position:relative;left:-0.125rem;top:-0.125rem;border-radius:50%;box-sizing:border-box;background:var(--plasma-slider-thumb-background-color);margin:0.125rem;-webkit-transition:border-color 0.1s ease-in-out;transition:border-color 0.1s ease-in-out;position:relative;}.tqbdf8b:after{background:var(--plasma-slider-thumb-border-color);margin:-0.125rem;content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;}.tqbdf8b:not([disabled]):hover:after,.tqbdf8b:not([disabled]):active:after{background:var(--plasma-slider-thumb-focus-border-color);}.tqbdf8b[disabled]{cursor:not-allowed;}.tqbdf8b:focus{outline:none;}.tqbdf8b::before{content:'';position:absolute;top:0.125rem;left:0.125rem;right:0.125rem;bottom:0.125rem;z-index:1;display:block;box-sizing:content-box;border:0.125rem solid transparent;border-radius:50%;-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.tqbdf8b.focus-visible:focus::before,.tqbdf8b[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.125rem var(--plasma-slider-thumb-focus-border-color);}