@salutejs/plasma-new-hope 0.175.0-canary.1452.11549482324.0 → 0.175.0-canary.1504.11549657359.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (262) hide show
  1. package/cjs/components/Pagination/Pagination.css +13 -13
  2. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +13 -13
  3. package/cjs/components/Select/Select.css +13 -13
  4. package/cjs/components/Select/Select.styles.js +1 -1
  5. package/cjs/components/Select/Select.styles.js.map +1 -1
  6. package/cjs/components/Select/Select.styles_768h42.css +5 -0
  7. package/cjs/components/Select/Select.tokens.js +16 -4
  8. package/cjs/components/Select/Select.tokens.js.map +1 -1
  9. package/cjs/components/Select/ui/Inner/Inner.css +13 -13
  10. package/cjs/components/Select/ui/Inner/ui/Item/Item.css +13 -13
  11. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +1 -1
  12. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  13. package/cjs/components/Select/ui/Inner/ui/Item/{Item.styles_baxa65.css → Item.styles_8oe5oy.css} +2 -2
  14. package/cjs/components/Slider/Slider.css +13 -15
  15. package/cjs/components/Slider/Slider.js +2 -11
  16. package/cjs/components/Slider/Slider.js.map +1 -1
  17. package/cjs/components/Slider/Slider.tokens.js +17 -23
  18. package/cjs/components/Slider/Slider.tokens.js.map +1 -1
  19. package/cjs/components/Slider/components/Double/Double.css +8 -8
  20. package/cjs/components/Slider/components/Double/Double.js +23 -58
  21. package/cjs/components/Slider/components/Double/Double.js.map +1 -1
  22. package/cjs/components/Slider/components/Single/Single.css +14 -14
  23. package/cjs/components/Slider/components/Single/Single.js +33 -64
  24. package/cjs/components/Slider/components/Single/Single.js.map +1 -1
  25. package/cjs/components/Slider/components/Single/Single.styles.js +4 -4
  26. package/cjs/components/Slider/components/Single/Single.styles.js.map +1 -1
  27. package/cjs/components/Slider/components/Single/Single.styles_1r9f1e0.css +6 -0
  28. package/cjs/components/Slider/components/SliderBase/SliderBase.css +5 -5
  29. package/cjs/components/Slider/components/SliderBase/SliderBase.js +12 -31
  30. package/cjs/components/Slider/components/SliderBase/SliderBase.js.map +1 -1
  31. package/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +7 -7
  32. package/cjs/components/Slider/components/SliderBase/SliderBase.styles.js.map +1 -1
  33. package/cjs/components/Slider/components/SliderBase/SliderBase.styles_9s4eb3.css +5 -0
  34. package/cjs/components/Slider/ui/Handler/Handler.css +3 -3
  35. package/cjs/components/Slider/ui/Handler/Handler.js +88 -49
  36. package/cjs/components/Slider/ui/Handler/Handler.js.map +1 -1
  37. package/cjs/components/Slider/ui/Handler/Handler.styles.js +7 -17
  38. package/cjs/components/Slider/ui/Handler/Handler.styles.js.map +1 -1
  39. package/cjs/components/Slider/ui/Handler/Handler.styles_8crx5z.css +2 -0
  40. package/cjs/components/Slider/ui/Thumb/Thumb.css +1 -1
  41. package/cjs/components/Slider/ui/Thumb/Thumb.js +2 -3
  42. package/cjs/components/Slider/ui/Thumb/Thumb.js.map +1 -1
  43. package/cjs/components/Slider/ui/Thumb/Thumb.styles.js +1 -1
  44. package/cjs/components/Slider/ui/Thumb/Thumb.styles.js.map +1 -1
  45. package/cjs/components/Slider/ui/Thumb/Thumb.styles_4w4gzn.css +1 -0
  46. package/cjs/components/Slider/utils/index.js +10 -28
  47. package/cjs/components/Slider/utils/index.js.map +1 -1
  48. package/cjs/components/Slider/variations/_view/base.js +1 -1
  49. package/cjs/components/Slider/variations/_view/base.js.map +1 -1
  50. package/cjs/components/Slider/variations/_view/base_x642ct.css +1 -0
  51. package/cjs/index.css +26 -28
  52. package/cjs/utils/index.js.map +1 -1
  53. package/emotion/cjs/components/Select/Select.styles.js +5 -5
  54. package/emotion/cjs/components/Select/Select.tokens.js +16 -4
  55. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +10 -10
  56. package/emotion/cjs/components/Slider/Slider.js +2 -10
  57. package/emotion/cjs/components/Slider/Slider.template-doc.mdx +0 -26
  58. package/emotion/cjs/components/Slider/Slider.tokens.js +17 -23
  59. package/emotion/cjs/components/Slider/components/Double/Double.js +19 -54
  60. package/emotion/cjs/components/Slider/components/Single/Single.js +33 -64
  61. package/emotion/cjs/components/Slider/components/Single/Single.styles.js +9 -18
  62. package/emotion/cjs/components/Slider/components/SliderBase/SliderBase.js +12 -31
  63. package/emotion/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +10 -10
  64. package/emotion/cjs/components/Slider/ui/Handler/Handler.js +88 -52
  65. package/emotion/cjs/components/Slider/ui/Handler/Handler.styles.js +15 -9
  66. package/emotion/cjs/components/Slider/ui/Thumb/Thumb.js +2 -3
  67. package/emotion/cjs/components/Slider/ui/Thumb/Thumb.styles.js +3 -3
  68. package/emotion/cjs/components/Slider/utils/index.js +10 -28
  69. package/emotion/cjs/components/Slider/variations/_view/base.js +1 -2
  70. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.config.js +17 -17
  71. package/emotion/cjs/examples/plasma_b2c/components/Slider/Slider.config.js +7 -7
  72. package/emotion/cjs/examples/plasma_b2c/components/Slider/Slider.stories.tsx +16 -98
  73. package/emotion/cjs/examples/plasma_web/components/Select/Select.config.js +17 -17
  74. package/emotion/cjs/examples/plasma_web/components/Slider/Slider.config.js +7 -7
  75. package/emotion/cjs/examples/plasma_web/components/Slider/Slider.stories.tsx +15 -98
  76. package/emotion/es/components/Select/Select.styles.js +5 -5
  77. package/emotion/es/components/Select/Select.tokens.js +16 -4
  78. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.styles.js +10 -10
  79. package/emotion/es/components/Slider/Slider.js +2 -11
  80. package/emotion/es/components/Slider/Slider.template-doc.mdx +0 -26
  81. package/emotion/es/components/Slider/Slider.tokens.js +17 -23
  82. package/emotion/es/components/Slider/components/Double/Double.js +19 -54
  83. package/emotion/es/components/Slider/components/Single/Single.js +34 -65
  84. package/emotion/es/components/Slider/components/Single/Single.styles.js +8 -17
  85. package/emotion/es/components/Slider/components/SliderBase/SliderBase.js +12 -31
  86. package/emotion/es/components/Slider/components/SliderBase/SliderBase.styles.js +11 -11
  87. package/emotion/es/components/Slider/ui/Handler/Handler.js +86 -51
  88. package/emotion/es/components/Slider/ui/Handler/Handler.styles.js +16 -10
  89. package/emotion/es/components/Slider/ui/Thumb/Thumb.js +2 -3
  90. package/emotion/es/components/Slider/ui/Thumb/Thumb.styles.js +3 -3
  91. package/emotion/es/components/Slider/utils/index.js +10 -28
  92. package/emotion/es/components/Slider/variations/_view/base.js +1 -2
  93. package/emotion/es/examples/plasma_b2c/components/Select/Select.config.js +17 -17
  94. package/emotion/es/examples/plasma_b2c/components/Slider/Slider.config.js +7 -7
  95. package/emotion/es/examples/plasma_b2c/components/Slider/Slider.stories.tsx +16 -98
  96. package/emotion/es/examples/plasma_web/components/Select/Select.config.js +17 -17
  97. package/emotion/es/examples/plasma_web/components/Slider/Slider.config.js +7 -7
  98. package/emotion/es/examples/plasma_web/components/Slider/Slider.stories.tsx +15 -98
  99. package/es/components/Pagination/Pagination.css +13 -13
  100. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +13 -13
  101. package/es/components/Select/Select.css +13 -13
  102. package/es/components/Select/Select.styles.js +1 -1
  103. package/es/components/Select/Select.styles.js.map +1 -1
  104. package/es/components/Select/Select.styles_768h42.css +5 -0
  105. package/es/components/Select/Select.tokens.js +16 -4
  106. package/es/components/Select/Select.tokens.js.map +1 -1
  107. package/es/components/Select/ui/Inner/Inner.css +13 -13
  108. package/es/components/Select/ui/Inner/ui/Item/Item.css +13 -13
  109. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +1 -1
  110. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  111. package/es/components/Select/ui/Inner/ui/Item/{Item.styles_baxa65.css → Item.styles_8oe5oy.css} +2 -2
  112. package/es/components/Slider/Slider.css +13 -15
  113. package/es/components/Slider/Slider.js +2 -11
  114. package/es/components/Slider/Slider.js.map +1 -1
  115. package/es/components/Slider/Slider.tokens.js +17 -23
  116. package/es/components/Slider/Slider.tokens.js.map +1 -1
  117. package/es/components/Slider/components/Double/Double.css +8 -8
  118. package/es/components/Slider/components/Double/Double.js +19 -54
  119. package/es/components/Slider/components/Double/Double.js.map +1 -1
  120. package/es/components/Slider/components/Single/Single.css +14 -14
  121. package/es/components/Slider/components/Single/Single.js +34 -65
  122. package/es/components/Slider/components/Single/Single.js.map +1 -1
  123. package/es/components/Slider/components/Single/Single.styles.js +4 -4
  124. package/es/components/Slider/components/Single/Single.styles.js.map +1 -1
  125. package/es/components/Slider/components/Single/Single.styles_1r9f1e0.css +6 -0
  126. package/es/components/Slider/components/SliderBase/SliderBase.css +5 -5
  127. package/es/components/Slider/components/SliderBase/SliderBase.js +12 -31
  128. package/es/components/Slider/components/SliderBase/SliderBase.js.map +1 -1
  129. package/es/components/Slider/components/SliderBase/SliderBase.styles.js +7 -7
  130. package/es/components/Slider/components/SliderBase/SliderBase.styles.js.map +1 -1
  131. package/es/components/Slider/components/SliderBase/SliderBase.styles_9s4eb3.css +5 -0
  132. package/es/components/Slider/ui/Handler/Handler.css +3 -3
  133. package/es/components/Slider/ui/Handler/Handler.js +87 -48
  134. package/es/components/Slider/ui/Handler/Handler.js.map +1 -1
  135. package/es/components/Slider/ui/Handler/Handler.styles.js +7 -17
  136. package/es/components/Slider/ui/Handler/Handler.styles.js.map +1 -1
  137. package/es/components/Slider/ui/Handler/Handler.styles_8crx5z.css +2 -0
  138. package/es/components/Slider/ui/Thumb/Thumb.css +1 -1
  139. package/es/components/Slider/ui/Thumb/Thumb.js +2 -3
  140. package/es/components/Slider/ui/Thumb/Thumb.js.map +1 -1
  141. package/es/components/Slider/ui/Thumb/Thumb.styles.js +1 -1
  142. package/es/components/Slider/ui/Thumb/Thumb.styles.js.map +1 -1
  143. package/es/components/Slider/ui/Thumb/Thumb.styles_4w4gzn.css +1 -0
  144. package/es/components/Slider/utils/index.js +10 -28
  145. package/es/components/Slider/utils/index.js.map +1 -1
  146. package/es/components/Slider/variations/_view/base.js +1 -1
  147. package/es/components/Slider/variations/_view/base.js.map +1 -1
  148. package/es/components/Slider/variations/_view/base_x642ct.css +1 -0
  149. package/es/index.css +26 -28
  150. package/es/utils/index.js.map +1 -1
  151. package/package.json +2 -2
  152. package/styled-components/cjs/components/Select/Select.styles.js +2 -2
  153. package/styled-components/cjs/components/Select/Select.tokens.js +16 -4
  154. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +2 -2
  155. package/styled-components/cjs/components/Slider/Slider.js +2 -10
  156. package/styled-components/cjs/components/Slider/Slider.template-doc.mdx +0 -26
  157. package/styled-components/cjs/components/Slider/Slider.tokens.js +17 -23
  158. package/styled-components/cjs/components/Slider/components/Double/Double.js +19 -54
  159. package/styled-components/cjs/components/Slider/components/Single/Single.js +33 -64
  160. package/styled-components/cjs/components/Slider/components/Single/Single.styles.js +6 -6
  161. package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.js +12 -31
  162. package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +6 -6
  163. package/styled-components/cjs/components/Slider/ui/Handler/Handler.js +88 -52
  164. package/styled-components/cjs/components/Slider/ui/Handler/Handler.styles.js +4 -7
  165. package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.js +2 -3
  166. package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.styles.js +2 -2
  167. package/styled-components/cjs/components/Slider/utils/index.js +10 -28
  168. package/styled-components/cjs/components/Slider/variations/_view/base.js +1 -2
  169. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +14 -14
  170. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.config.js +3 -3
  171. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.stories.tsx +16 -98
  172. package/styled-components/cjs/examples/plasma_web/components/Select/Select.config.js +14 -14
  173. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.config.js +3 -3
  174. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.stories.tsx +15 -98
  175. package/styled-components/es/components/Select/Select.styles.js +2 -2
  176. package/styled-components/es/components/Select/Select.tokens.js +16 -4
  177. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.styles.js +2 -2
  178. package/styled-components/es/components/Slider/Slider.js +2 -11
  179. package/styled-components/es/components/Slider/Slider.template-doc.mdx +0 -26
  180. package/styled-components/es/components/Slider/Slider.tokens.js +17 -23
  181. package/styled-components/es/components/Slider/components/Double/Double.js +19 -54
  182. package/styled-components/es/components/Slider/components/Single/Single.js +34 -65
  183. package/styled-components/es/components/Slider/components/Single/Single.styles.js +5 -5
  184. package/styled-components/es/components/Slider/components/SliderBase/SliderBase.js +12 -31
  185. package/styled-components/es/components/Slider/components/SliderBase/SliderBase.styles.js +7 -7
  186. package/styled-components/es/components/Slider/ui/Handler/Handler.js +86 -51
  187. package/styled-components/es/components/Slider/ui/Handler/Handler.styles.js +5 -8
  188. package/styled-components/es/components/Slider/ui/Thumb/Thumb.js +2 -3
  189. package/styled-components/es/components/Slider/ui/Thumb/Thumb.styles.js +2 -2
  190. package/styled-components/es/components/Slider/utils/index.js +10 -28
  191. package/styled-components/es/components/Slider/variations/_view/base.js +1 -2
  192. package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +14 -14
  193. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.config.js +3 -3
  194. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.stories.tsx +16 -98
  195. package/styled-components/es/examples/plasma_web/components/Select/Select.config.js +14 -14
  196. package/styled-components/es/examples/plasma_web/components/Slider/Slider.config.js +3 -3
  197. package/styled-components/es/examples/plasma_web/components/Slider/Slider.stories.tsx +15 -98
  198. package/types/components/Select/Select.tokens.d.ts +15 -3
  199. package/types/components/Select/Select.tokens.d.ts.map +1 -1
  200. package/types/components/Slider/Slider.d.ts.map +1 -1
  201. package/types/components/Slider/Slider.tokens.d.ts +16 -22
  202. package/types/components/Slider/Slider.tokens.d.ts.map +1 -1
  203. package/types/components/Slider/components/Double/Double.d.ts.map +1 -1
  204. package/types/components/Slider/components/Double/Double.types.d.ts +0 -1
  205. package/types/components/Slider/components/Double/Double.types.d.ts.map +1 -1
  206. package/types/components/Slider/components/Single/Single.d.ts.map +1 -1
  207. package/types/components/Slider/components/Single/Single.styles.d.ts +1 -1
  208. package/types/components/Slider/components/Single/Single.styles.d.ts.map +1 -1
  209. package/types/components/Slider/components/Single/Single.types.d.ts +7 -79
  210. package/types/components/Slider/components/Single/Single.types.d.ts.map +1 -1
  211. package/types/components/Slider/components/SliderBase/SliderBase.d.ts.map +1 -1
  212. package/types/components/Slider/components/SliderBase/SliderBase.styles.d.ts +1 -1
  213. package/types/components/Slider/components/SliderBase/SliderBase.styles.d.ts.map +1 -1
  214. package/types/components/Slider/components/SliderBase/SliderBase.types.d.ts +0 -6
  215. package/types/components/Slider/components/SliderBase/SliderBase.types.d.ts.map +1 -1
  216. package/types/components/Slider/ui/Handler/Handler.d.ts.map +1 -1
  217. package/types/components/Slider/ui/Handler/Handler.styles.d.ts +2 -6
  218. package/types/components/Slider/ui/Handler/Handler.styles.d.ts.map +1 -1
  219. package/types/components/Slider/ui/Handler/Handler.types.d.ts +1 -5
  220. package/types/components/Slider/ui/Handler/Handler.types.d.ts.map +1 -1
  221. package/types/components/Slider/ui/Thumb/Thumb.d.ts +1 -1
  222. package/types/components/Slider/ui/Thumb/Thumb.d.ts.map +1 -1
  223. package/types/components/Slider/ui/Thumb/Thumb.styles.d.ts.map +1 -1
  224. package/types/components/Slider/ui/Thumb/Thumb.types.d.ts +0 -1
  225. package/types/components/Slider/ui/Thumb/Thumb.types.d.ts.map +1 -1
  226. package/types/components/Slider/utils/index.d.ts +8 -26
  227. package/types/components/Slider/utils/index.d.ts.map +1 -1
  228. package/types/components/Slider/variations/_view/base.d.ts.map +1 -1
  229. package/types/examples/plasma_b2c/components/Select/Select.config.d.ts.map +1 -1
  230. package/types/examples/plasma_b2c/components/Slider/Slider.config.d.ts.map +1 -1
  231. package/types/examples/plasma_b2c/components/Slider/Slider.d.ts +2 -80
  232. package/types/examples/plasma_b2c/components/Slider/Slider.d.ts.map +1 -1
  233. package/types/examples/plasma_web/components/Select/Select.config.d.ts.map +1 -1
  234. package/types/examples/plasma_web/components/Slider/Slider.config.d.ts.map +1 -1
  235. package/types/examples/plasma_web/components/Slider/Slider.d.ts +2 -80
  236. package/types/examples/plasma_web/components/Slider/Slider.d.ts.map +1 -1
  237. package/types/utils/index.d.ts +1 -1
  238. package/types/utils/index.d.ts.map +1 -1
  239. package/cjs/components/Select/Select.styles_1nzals0.css +0 -5
  240. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +0 -98
  241. package/cjs/components/Slider/components/Single/Single.styles_1h7n2s2.css +0 -6
  242. package/cjs/components/Slider/components/SliderBase/SliderBase.styles_1qt1224.css +0 -5
  243. package/cjs/components/Slider/ui/Handler/Handler.styles_irtcgm.css +0 -2
  244. package/cjs/components/Slider/ui/Handler/computeKeyPressData.js +0 -122
  245. package/cjs/components/Slider/ui/Handler/computeKeyPressData.js.map +0 -1
  246. package/cjs/components/Slider/ui/Thumb/Thumb.styles_uyn20e.css +0 -1
  247. package/cjs/components/Slider/variations/_view/base_1s3f6q8.css +0 -1
  248. package/emotion/cjs/components/Slider/ui/Handler/computeKeyPressData.js +0 -121
  249. package/emotion/es/components/Slider/ui/Handler/computeKeyPressData.js +0 -115
  250. package/es/components/Select/Select.styles_1nzals0.css +0 -5
  251. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +0 -98
  252. package/es/components/Slider/components/Single/Single.styles_1h7n2s2.css +0 -6
  253. package/es/components/Slider/components/SliderBase/SliderBase.styles_1qt1224.css +0 -5
  254. package/es/components/Slider/ui/Handler/Handler.styles_irtcgm.css +0 -2
  255. package/es/components/Slider/ui/Handler/computeKeyPressData.js +0 -118
  256. package/es/components/Slider/ui/Handler/computeKeyPressData.js.map +0 -1
  257. package/es/components/Slider/ui/Thumb/Thumb.styles_uyn20e.css +0 -1
  258. package/es/components/Slider/variations/_view/base_1s3f6q8.css +0 -1
  259. package/styled-components/cjs/components/Slider/ui/Handler/computeKeyPressData.js +0 -121
  260. package/styled-components/es/components/Slider/ui/Handler/computeKeyPressData.js +0 -115
  261. package/types/components/Slider/ui/Handler/computeKeyPressData.d.ts +0 -12
  262. package/types/components/Slider/ui/Handler/computeKeyPressData.d.ts.map +0 -1
@@ -4,18 +4,14 @@ import styled from 'styled-components';
4
4
  import { disableProps } from '@salutejs/plasma-sb-utils';
5
5
  import type { StoryObj, Meta } from '@storybook/react';
6
6
 
7
- import { IconMic } from '../../../../components/_Icon';
8
7
  import { WithTheme } from '../../../_helpers';
9
8
 
10
9
  import { Slider } from './Slider';
11
10
 
12
11
  const sizes = ['l', 'm', 's'];
13
- const pointerSizes = ['small', 'large', 'none'];
14
12
  const views = ['default', 'accent', 'gradient'];
15
- const sliderAligns = ['center', 'left', 'right', 'none'];
16
- const labelPlacements = ['top', 'left'];
17
- const scaleAligns = ['side', 'bottom'];
18
- const orientations: Array<string> = ['vertical', 'horizontal'];
13
+ const labelPlacements = ['outer', 'inner'];
14
+ const rangeValuesPlacement = ['outer', 'inner'];
19
15
 
20
16
  const meta: Meta<typeof Slider> = {
21
17
  title: 'plasma_web/Slider',
@@ -34,24 +30,9 @@ const meta: Meta<typeof Slider> = {
34
30
  type: 'inline-radio',
35
31
  },
36
32
  },
37
- pointerSize: {
38
- options: pointerSizes,
39
- control: {
40
- type: 'inline-radio',
41
- },
42
- },
43
- orientation: {
44
- options: orientations,
45
- control: {
46
- type: 'select',
47
- },
48
- },
49
33
  ...disableProps([
50
34
  'value',
51
35
  'onChangeCommitted',
52
- 'onChangeTextField',
53
- 'onBlurTextField',
54
- 'onKeyDownTextField',
55
36
  'ariaLabel',
56
37
  'onChange',
57
38
  'fontSizeMultiplier',
@@ -59,14 +40,6 @@ const meta: Meta<typeof Slider> = {
59
40
  'settings',
60
41
  'hasHoverAnimation',
61
42
  'type',
62
- 'labelContentLeft',
63
- 'rangeValuesPlacement',
64
- 'name',
65
- 'defaultValue',
66
- 'labelContent',
67
- 'showRangeValues',
68
- 'hideMinValueDiff',
69
- 'hideMaxValueDiff',
70
43
  ]),
71
44
  },
72
45
  };
@@ -79,9 +52,8 @@ type StorySingleProps = StoryProps;
79
52
  type StorySingle = StoryObj<StorySingleProps>;
80
53
  type StoryDouble = StoryObj<StoryProps>;
81
54
 
82
- const SliderWrapper = styled.div<{ isVertical?: boolean }>`
83
- width: ${({ isVertical }) => (isVertical ? 'auto' : '25rem')};
84
- height: ${({ isVertical }) => (isVertical ? '25rem' : 'auto')};
55
+ const SliderWrapper = styled.div`
56
+ width: 25rem;
85
57
  `;
86
58
 
87
59
  const StoryDefault = (args: StorySingleProps) => {
@@ -95,86 +67,41 @@ const StoryDefault = (args: StorySingleProps) => {
95
67
  setValue(values);
96
68
  };
97
69
 
98
- const { hasIcon, showIcon, orientation, labelPlacement, labelVerticalPlacement, ...rest } = args;
99
- const isVertical = orientation === 'vertical';
100
-
101
70
  return (
102
- <SliderWrapper isVertical={isVertical}>
103
- <Slider
104
- value={value}
105
- orientation={orientation}
106
- labelPlacement={labelPlacement}
107
- labelContent={showIcon ? <IconMic size={rest.size === 's' ? 'xs' : 's'} /> : null}
108
- onChangeCommitted={onChangeCommittedHandle}
109
- onChange={onChangeHandle}
110
- {...rest}
111
- />
71
+ <SliderWrapper>
72
+ <Slider value={value} onChangeCommitted={onChangeCommittedHandle} onChange={onChangeHandle} {...args} />
112
73
  </SliderWrapper>
113
74
  );
114
75
  };
115
76
 
116
77
  export const Default: StorySingle = {
117
78
  argTypes: {
118
- sliderAlign: {
119
- options: sliderAligns,
120
- control: {
121
- type: 'inline-radio',
122
- },
123
- if: { arg: 'orientation', eq: 'vertical' },
124
- },
125
79
  labelPlacement: {
126
80
  options: labelPlacements,
127
81
  control: {
128
82
  type: 'inline-radio',
129
83
  },
130
- if: { arg: 'orientation', eq: 'horizontal' },
131
- },
132
- labelReversed: {
133
- control: {
134
- type: 'boolean',
135
- expanded: true,
136
- },
137
- if: { arg: 'orientation', eq: 'vertical' },
138
- },
139
- scaleAlign: {
140
- options: scaleAligns,
141
- control: {
142
- type: 'inline-radio',
143
- },
144
- if: { arg: 'orientation', eq: 'horizontal' },
145
84
  },
146
- orientation: {
147
- options: orientations,
85
+ rangeValuesPlacement: {
86
+ options: rangeValuesPlacement,
148
87
  control: {
149
88
  type: 'inline-radio',
150
89
  },
151
90
  },
152
- reversed: {
153
- control: {
154
- type: 'boolean',
155
- },
156
- if: { arg: 'orientation', eq: 'vertical' },
157
- },
158
91
  },
159
92
  args: {
160
93
  view: 'default',
161
94
  size: 'm',
162
- pointerSize: 'small',
163
95
  min: 0,
164
96
  max: 100,
165
- orientation: 'horizontal',
166
- ariaLabel: 'Цена микрофона',
97
+ disabled: false,
98
+ ariaLabel: 'Цена товара',
167
99
  multipleStepSize: 10,
168
- label: 'Цена микрофона',
169
- labelPlacement: 'top',
170
- sliderAlign: 'center',
171
- scaleAlign: 'bottom',
172
- showScale: true,
100
+ label: 'Цена товара',
101
+ labelPlacement: 'outer',
102
+ rangeValuesPlacement: 'outer',
103
+ showRangeValues: true,
173
104
  showCurrentValue: false,
174
- showIcon: true,
175
- reversed: false,
176
- labelReversed: false,
177
- disabled: false,
178
105
  },
179
106
  render: (args) => <StoryDefault {...args} />,
180
107
  };
@@ -214,7 +141,7 @@ const StoryMultipleValues = (args: StoryProps) => {
214
141
  };
215
142
 
216
143
  return (
217
- <SliderWrapper isVertical={args.orientation === 'vertical'}>
144
+ <SliderWrapper>
218
145
  <Slider
219
146
  value={value}
220
147
  onKeyDownTextField={onKeyDownTextField}
@@ -231,7 +158,6 @@ export const MultipleValues: StoryDouble = {
231
158
  args: {
232
159
  view: 'default',
233
160
  size: 'm',
234
- pointerSize: 'small',
235
161
  min: 0,
236
162
  max: 100,
237
163
  disabled: false,
@@ -239,14 +165,5 @@ export const MultipleValues: StoryDouble = {
239
165
  ariaLabel: ['Минимальная цена товара', 'Максимальная цена товара'],
240
166
  multipleStepSize: 10,
241
167
  },
242
- argTypes: {
243
- pointerSize: {
244
- options: ['small', 'large'],
245
- control: {
246
- type: 'inline-radio',
247
- },
248
- },
249
- ...disableProps(['orientation']),
250
- },
251
168
  render: (args) => <StoryMultipleValues {...args} />,
252
169
  };
@@ -20,6 +20,18 @@ export declare const tokens: {
20
20
  fontWeight: string;
21
21
  fontLetterSpacing: string;
22
22
  fontLineHeight: string;
23
+ labelFontFamily: string;
24
+ labelFontSize: string;
25
+ labelFontStyle: string;
26
+ labelFontWeight: string;
27
+ labelFontLetterSpacing: string;
28
+ labelFontLineHeight: string;
29
+ helperTextFontFamily: string;
30
+ helperTextFontSize: string;
31
+ helperTextFontStyle: string;
32
+ helperTextFontWeight: string;
33
+ helperTextFontLetterSpacing: string;
34
+ helperTextFontLineHeight: string;
23
35
  itemHeight: string;
24
36
  itemBorderRadius: string;
25
37
  itemPadding: string;
@@ -27,6 +39,7 @@ export declare const tokens: {
27
39
  itemIconSize: string;
28
40
  itemIconSizeTight: string;
29
41
  itemIconMargin: string;
42
+ itemBackgroundHover: string;
30
43
  checkboxTriggerSize: string;
31
44
  checkboxTriggerSizeTight: string;
32
45
  checkboxTriggerBorderRadius: string;
@@ -79,16 +92,15 @@ export declare const tokens: {
79
92
  helperTextOffset: string;
80
93
  spinnerSize: string;
81
94
  spinnerSizeTight: string;
95
+ disclosureIconColor: string;
96
+ disclosureIconColorHover: string;
82
97
  };
83
98
  export declare const constants: {
84
99
  focusColor: string;
85
100
  focusSize: string;
86
101
  background: string;
87
102
  boxShadow: string;
88
- disclosureIconColor: string;
89
- disclosureIconColorHover: string;
90
103
  itemBackground: string;
91
- itemBackgroundHover: string;
92
104
  textfieldTargetColor: string;
93
105
  textfieldOuterLabelColor: string;
94
106
  textfieldInnerLabelColor: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Select.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;CAWnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgFlB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;CAoBrB,CAAC"}
1
+ {"version":3,"file":"Select.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;CAWnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkGlB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;CAiBrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/Slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,eAAe,CAAC;AAQ1E,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAW7C,eAAO,MAAM,UAAU,SAAU,qCAAqC,cAAc,EAAE,WAAW,CAAC,uFAmB5F,CAAC;AAEP,eAAO,MAAM,YAAY;;;mBArBQ,qCAAqC,cAAc,EAAE,WAAW,CAAC;;;;;;;;;;;;;;;;;;CA0CjG,CAAC"}
1
+ {"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/Slider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,eAAe,CAAC;AAO1E,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAU7C,eAAO,MAAM,UAAU,SAAU,qCAAqC,cAAc,EAAE,WAAW,CAAC,uFAQ5F,CAAC;AAEP,eAAO,MAAM,YAAY;;;mBAVQ,qCAAqC,cAAc,EAAE,WAAW,CAAC;;;;;;;;;;;;;;;;;;CA+BjG,CAAC"}
@@ -1,12 +1,6 @@
1
1
  export declare const classes: {
2
2
  labelPlacementOuter: string;
3
3
  labelPlacementInner: string;
4
- labelPlacementBottom: string;
5
- labelAlignLeft: string;
6
- labelAlignCenter: string;
7
- labelAlignRight: string;
8
- labelAlignNone: string;
9
- labelContentReversed: string;
10
4
  rangeValuesPlacementOuter: string;
11
5
  rangeValuesPlacementInner: string;
12
6
  maxRangeValue: string;
@@ -16,16 +10,12 @@ export declare const classes: {
16
10
  firstTextField: string;
17
11
  secondTextField: string;
18
12
  activeRangeValue: string;
19
- verticalOrientation: string;
20
- valuePlacementLeft: string;
21
- reversed: string;
22
13
  };
23
14
  export declare const tokens: {
24
- size: string;
15
+ height: string;
25
16
  labelWrapperGap: string;
26
17
  labelWrapperMarginBottom: string;
27
18
  labelWrapperMarginRight: string;
28
- labelWrapperVerticalMargin: string;
29
19
  labelColor: string;
30
20
  labelFontFamily: string;
31
21
  labelFontSize: string;
@@ -33,27 +23,31 @@ export declare const tokens: {
33
23
  labelFontWeight: string;
34
24
  labelLetterSpacing: string;
35
25
  labelLineHeight: string;
26
+ rangeMinValueMargin: string;
27
+ rangeMaxValueMargin: string;
36
28
  rangeValueBottomOffset: string;
37
- rangeValueHorizontalMargin: string;
38
- rangeValueHorizontalOffset: string;
39
- rangeValueVerticalMargin: string;
40
29
  rangeValueColor: string;
41
- valueFontFamily: string;
42
- valueFontSize: string;
43
- valueFontStyle: string;
44
- valueFontWeight: string;
45
- valueLetterSpacing: string;
46
- valueLineHeight: string;
30
+ rangeValueFontFamily: string;
31
+ rangeValueFontSize: string;
32
+ rangeValueFontStyle: string;
33
+ rangeValueFontWeight: string;
34
+ rangeValueLetterSpacing: string;
35
+ rangeValueLineHeight: string;
47
36
  doubleWrapperGap: string;
48
37
  thumbSize: string;
49
- thumbSizeLarge: string;
50
38
  thumbBorder: string;
51
39
  thumbBorderColor: string;
52
40
  thumbBackgroundColor: string;
53
41
  thumbFocusBorderColor: string;
54
42
  currentValueTopOffset: string;
43
+ currentValueFontFamily: string;
44
+ currentValueFontSize: string;
45
+ currentValueFontStyle: string;
46
+ currentValueFontWeight: string;
47
+ currentValueLetterSpacing: string;
48
+ currentValueLineHeight: string;
55
49
  railBackgroundColor: string;
56
- railThickness: string;
50
+ railHeight: string;
57
51
  railBorderRadius: string;
58
52
  railIndent: string;
59
53
  fillColor: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Slider.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/Slider.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;CAqBnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqElB,CAAC"}
1
+ {"version":3,"file":"Slider.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Slider/Slider.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;CAYnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyElB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Double.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/components/Double/Double.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAA0C,MAAM,OAAO,CAAC;AAUxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAkBnD,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAwW9C,CAAC"}
1
+ {"version":3,"file":"Double.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/components/Double/Double.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAA0C,MAAM,OAAO,CAAC;AAUxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAkBnD,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA4U9C,CAAC"}
@@ -63,6 +63,5 @@ export interface DoubleSliderProps extends SliderBaseProps, SliderInternalProps,
63
63
  size?: 's' | 'm' | 'l';
64
64
  name?: string;
65
65
  type?: 'double';
66
- pointerSize?: 'small' | 'large';
67
66
  }
68
67
  //# sourceMappingURL=Double.types.d.ts.map
@@ -1 +1 @@
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,GAAG,cAAc,CAAC;IACrE;;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;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,QAAQ,CAAC;IAEhB,WAAW,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;CACnC"}
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,GAAG,cAAc,CAAC;IACrE;;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;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,QAAQ,CAAC;CACnB"}
@@ -1 +1 @@
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;AAWhC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGxD,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA8P9C,CAAC"}
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;AAWhC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAUxD,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA6L9C,CAAC"}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  export declare const LabelWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
- export declare const LabelContent: 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
4
  export declare const Label: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLLabelElement> & import("react").LabelHTMLAttributes<HTMLLabelElement> & Record<never, unknown>>;
5
5
  export declare const StyledRangeValue: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
6
6
  export declare const SliderBaseWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
@@ -1 +1 @@
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,YAAY,qKAExB,CAAC;AAEF,eAAO,MAAM,KAAK,8KAOjB,CAAC;AAEF,eAAO,MAAM,gBAAgB,uKAkB5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKA8B7B,CAAC;AAEF,eAAO,MAAM,aAAa,qKA2IzB,CAAC"}
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,4 +1,4 @@
1
- import type { HTMLAttributes, ReactNode } from 'react';
1
+ import type { HTMLAttributes } from 'react';
2
2
  import type { SliderBaseProps, SliderInternalProps } from '../SliderBase/SliderBase.types';
3
3
  import { FormTypeNumber } from '../../../../types/FormType';
4
4
  declare type SingleSliderPropsUnion = {
@@ -36,54 +36,7 @@ declare type SingleSliderPropsUnion = {
36
36
  */
37
37
  defaultValue?: never;
38
38
  };
39
- declare type SingleSliderOrientationPropsUnion = {
40
- /**
41
- * Ориентация Slider.
42
- * @default `horizontal`
43
- */
44
- orientation?: 'horizontal';
45
- /**
46
- * Расположение подписи.
47
- * @default top
48
- * @description
49
- * Может принимать три значения:
50
- * top - отображение справа
51
- * left - отображение слева
52
- * none - скрывает подпись
53
- */
54
- labelPlacement?: 'top' | 'left' | 'none';
55
- /**
56
- * Расположение значений минимума и максимума интервала.
57
- * @default top
58
- * @description
59
- * Может принимать три значения:
60
- * side - отображение по сторонам
61
- * bottom - отображение снизу
62
- * none - скрывает значения
63
- */
64
- scaleAlign?: 'side' | 'bottom' | 'none';
65
- /**
66
- * Выравнивание элементов в Slider.
67
- */
68
- sliderAlign?: never | 'none';
69
- reversed?: never;
70
- labelReversed?: never;
71
- } | {
72
- /**
73
- * Ориентация Slider.
74
- * @default `horizontal`
75
- */
76
- orientation: 'vertical';
77
- /**
78
- * Выравнивание элементов в Slider.
79
- * @default 'left'
80
- */
81
- sliderAlign?: 'center' | 'left' | 'right' | 'none';
82
- scaleAlign?: never;
83
- reversed?: boolean;
84
- labelReversed?: boolean;
85
- };
86
- export declare type SingleSliderProps = SliderBaseProps & SliderInternalProps & SingleSliderPropsUnion & SingleSliderOrientationPropsUnion & Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'defaultValue'> & {
39
+ export declare type SingleSliderProps = SliderBaseProps & SliderInternalProps & SingleSliderPropsUnion & Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'defaultValue'> & {
87
40
  /**
88
41
  * Вызывается при отпускании ползунка
89
42
  */
@@ -98,18 +51,8 @@ export declare type SingleSliderProps = SliderBaseProps & SliderInternalProps &
98
51
  showCurrentValue?: boolean;
99
52
  /**
100
53
  * Отображать ли значения минимума и максимума интервала.
101
- * @deprecated
102
54
  */
103
55
  showRangeValues?: boolean;
104
- /**
105
- * Расположение значений минимума и максимума интервала.
106
- * @deprecated
107
- */
108
- rangeValuesPlacement?: string;
109
- /**
110
- * Отображать ли значения минимума и максимума интервала.
111
- */
112
- showScale?: boolean;
113
56
  /**
114
57
  * Разница между текущим значением и минимальным, при котором минимальное будет скрыто.
115
58
  */
@@ -119,20 +62,15 @@ export declare type SingleSliderProps = SliderBaseProps & SliderInternalProps &
119
62
  */
120
63
  hideMaxValueDiff?: number;
121
64
  /**
122
- * Расположение подписи.
123
- * @deprecated
65
+ * Расположение значений минимума и максимума интервала.
124
66
  * @default `outer`
125
67
  */
126
- labelPlacement?: 'inner' | 'outer';
127
- /**
128
- * Слот под контент слева от подписи (например, иконку)
129
- * @deprecated
130
- */
131
- labelContentLeft?: ReactNode;
68
+ rangeValuesPlacement?: 'inner' | 'outer';
132
69
  /**
133
- * Слот под контент рядом с подписью (например, иконку)
70
+ * Расположение подписи.
71
+ * @default `outer`
134
72
  */
135
- labelContent?: ReactNode;
73
+ labelPlacement?: 'inner' | 'outer';
136
74
  /**
137
75
  * Размера увеличенного шага (для клавиш PageUp, PageDown).
138
76
  * Указывает процентное отношение от максимально возможного значения.
@@ -142,16 +80,6 @@ export declare type SingleSliderProps = SliderBaseProps & SliderInternalProps &
142
80
  view?: string;
143
81
  size?: 's' | 'm' | 'l';
144
82
  type?: 'single';
145
- /**
146
- * Размер ползунка
147
- * @default small
148
- * @description
149
- * Может принимать три значения:
150
- * small - размер s;
151
- * large - размер l;
152
- * none - скрыть ползунок
153
- */
154
- pointerSize?: 'small' | 'large' | 'none';
155
83
  };
156
84
  export {};
157
85
  //# sourceMappingURL=Single.types.d.ts.map
@@ -1 +1 @@
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,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,OAAO,KAAK,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAC3F,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5D,aAAK,sBAAsB,GACrB;IACI;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IAC3C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IACd;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB,GACD;IACI;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC;IACb;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;CACxB,CAAC;AAER,aAAK,iCAAiC,GAChC;IACI;;;OAGG;IACH,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B;;;;;;;;OAQG;IACH,cAAc,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,MAAM,CAAC;IACzC;;;;;;;;OAQG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;IACxC;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAE7B,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,aAAa,CAAC,EAAE,KAAK,CAAC;CACzB,GACD;IACI;;;OAGG;IACH,WAAW,EAAE,UAAU,CAAC;IACxB;;;OAGG;IACH,WAAW,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;IACnD,UAAU,CAAC,EAAE,KAAK,CAAC;IAEnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAER,oBAAY,iBAAiB,GAAG,eAAe,GAC3C,mBAAmB,GACnB,sBAAsB,GACtB,iCAAiC,GACjC,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,GAAG,cAAc,CAAC,GAAG;IAChE;;OAEG;IACH,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;OAGG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IAEnC;;;OAGG;IACH,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAE7B;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IAEzB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;IACvB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAEhB;;;;;;;;OAQG;IACH,WAAW,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;CAC5C,CAAC"}
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;AAC3F,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAE5D,aAAK,sBAAsB,GACrB;IACI;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IAC3C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IACd;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACzB,GACD;IACI;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC;IACb;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;CACxB,CAAC;AAER,oBAAY,iBAAiB,GAAG,eAAe,GAC3C,mBAAmB,GACnB,sBAAsB,GACtB,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,GAAG,cAAc,CAAC,GAAG;IAChE;;OAEG;IACH,iBAAiB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C;;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;IACvB,IAAI,CAAC,EAAE,QAAQ,CAAC;CACnB,CAAC"}
@@ -1 +1 @@
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;AAOvF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAG1D,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAAC,eAAe,CAAC,CA2FnE,CAAC"}
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,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- export declare const Rail: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
2
  export declare const Slider: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
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
5
  export declare const Fill: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
6
  export declare const InputHidden: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & Record<never, unknown>>;
7
7
  //# sourceMappingURL=SliderBase.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SliderBase.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/components/SliderBase/SliderBase.styles.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,IAAI,qKAWhB,CAAC;AAEF,eAAO,MAAM,MAAM,qKAkBlB,CAAC;AAEF,eAAO,MAAM,QAAQ,qKAEpB,CAAC;AAEF,eAAO,MAAM,IAAI,qKAOhB,CAAC;AAEF,eAAO,MAAM,WAAW,8KAEvB,CAAC"}
1
+ {"version":3,"file":"SliderBase.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/components/SliderBase/SliderBase.styles.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,MAAM,qKAKlB,CAAC;AAEF,eAAO,MAAM,QAAQ,qKAEpB,CAAC;AAEF,eAAO,MAAM,IAAI,qKAWhB,CAAC;AAEF,eAAO,MAAM,IAAI,qKAOhB,CAAC;AAEF,eAAO,MAAM,WAAW,8KAEvB,CAAC"}
@@ -28,9 +28,6 @@ export interface SliderBaseProps {
28
28
  */
29
29
  disabled?: boolean;
30
30
  labelPlacement?: string;
31
- /**
32
- * Расположение значений минимума и максимума интервала.
33
- */
34
31
  rangeValuesPlacement?: string;
35
32
  }
36
33
  export interface SliderInternalProps {
@@ -40,9 +37,6 @@ export interface SliderInternalProps {
40
37
  settings?: SliderSettings;
41
38
  }
42
39
  export interface SliderViewProps extends SliderBaseProps, SliderInternalProps {
43
- orientation: 'horizontal' | 'vertical';
44
- size: string;
45
- sliderAlign?: string;
46
40
  railFillWidth: number;
47
41
  setStepSize(stepSize: number): void;
48
42
  railFillXPosition?: number;
@@ -1 +1 @@
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;;OAEG;IACH,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,WAAW,EAAE,YAAY,GAAG,UAAU,CAAC;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,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
+ {"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 +1 @@
1
- {"version":3,"file":"Handler.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/ui/Handler/Handler.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4C,MAAM,OAAO,CAAC;AAQjE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAKpD,OAAO,QAAQ,iBAAiB,CAAC;IAC7B,UAAiB,cAAc;QAC3B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;KAC7B;CACJ;AAED,eAAO,MAAM,OAAO,qFAmInB,CAAC"}
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,8 +1,4 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledValue: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & {
3
- isLargeThumb?: boolean | undefined;
4
- }>;
5
- export declare const HandlerStyled: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
6
- isLarge?: boolean | undefined;
7
- }>;
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>>;
8
4
  //# sourceMappingURL=Handler.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Handler.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/ui/Handler/Handler.styles.ts"],"names":[],"mappings":";AAIA,eAAO,MAAM,WAAW;;EAevB,CAAC;AAEF,eAAO,MAAM,aAAa;;EAqCzB,CAAC"}
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"}
@@ -6,10 +6,8 @@ export interface HandlerProps {
6
6
  multipleStepSize: number;
7
7
  onChangeCommitted?(value: number, data: DraggableData): void;
8
8
  side?: 'left' | 'right';
9
- size?: 'small' | 'large' | 'none';
10
- orientation: 'horizontal' | 'vertical';
11
9
  bounds?: number[];
12
- position?: number;
10
+ xPosition?: number;
13
11
  zIndex?: number;
14
12
  disabled?: boolean;
15
13
  value?: number;
@@ -17,11 +15,9 @@ export interface HandlerProps {
17
15
  ariaValueMin?: number;
18
16
  hasHoverAnimation?: boolean;
19
17
  showCurrentValue?: boolean;
20
- valuePlacement?: 'left' | 'right';
21
18
  startOffset?: number;
22
19
  endOffset?: number;
23
20
  onChange?(value: number, data: DraggableData): void;
24
- onMouseDown?(): void;
25
21
  onMouseEnter?(): void;
26
22
  onMouseLeave?(): void;
27
23
  }
@@ -1 +1 @@
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,IAAI,CAAC,EAAE,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;IAClC,WAAW,EAAE,YAAY,GAAG,UAAU,CAAC;IACvC,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,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,cAAc,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAClC,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,WAAW,CAAC,IAAI,IAAI,CAAC;IACrB,YAAY,CAAC,IAAI,IAAI,CAAC;IACtB,YAAY,CAAC,IAAI,IAAI,CAAC;CACzB"}
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 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import type { ThumbProps } from './Thumb.types';
3
- export declare const Thumb: ({ min, max, value, ariaValueMin, ariaLabel, disabled, orientation, ...rest }: ThumbProps) => JSX.Element;
3
+ export declare const Thumb: ({ min, max, value, ariaValueMin, ariaLabel, disabled, ...rest }: ThumbProps) => JSX.Element;
4
4
  //# sourceMappingURL=Thumb.d.ts.map
@@ -1 +1 @@
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,iFASf,UAAU,gBAaZ,CAAC"}
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 +1 @@
1
- {"version":3,"file":"Thumb.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/ui/Thumb/Thumb.styles.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,SAAS;;EA0CrB,CAAC"}
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"}