@salutejs/plasma-new-hope 0.176.0-canary.1506.11556906282.0 → 0.176.0-canary.1506.11570845312.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (381) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +1 -1
  2. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  3. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  4. package/cjs/components/Autocomplete/ui/TextField/{TextField.styles_1ye9068.css → TextField.styles_kcgaix.css} +1 -1
  5. package/cjs/components/Calendar/CalendarBase/CalendarBase.css +9 -9
  6. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +9 -9
  7. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.css +9 -9
  8. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +1 -1
  9. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  10. package/{es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1xijs8w.css → cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_zgya4j.css} +1 -1
  11. package/cjs/components/Combobox/ComboboxNew/Combobox.css +12 -12
  12. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +10 -10
  13. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  14. package/{es/components/Combobox/ComboboxNew/Combobox.styles_1nqrvms.css → cjs/components/Combobox/ComboboxNew/Combobox.styles_18a8p75.css} +1 -1
  15. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -26
  16. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  17. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +12 -12
  18. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +12 -12
  19. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +5 -5
  20. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  21. package/{es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles_1jh6ez1.css → cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles_1kzr84z.css} +2 -2
  22. package/cjs/components/Combobox/ComboboxOld/Combobox.css +4 -4
  23. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +4 -4
  24. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +4 -4
  25. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +4 -4
  26. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +4 -4
  27. package/cjs/components/DatePicker/RangeDate/RangeDate.css +9 -9
  28. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +9 -9
  29. package/cjs/components/DatePicker/SingleDate/SingleDate.css +9 -9
  30. package/cjs/components/Dropdown/Dropdown.css +4 -4
  31. package/cjs/components/Dropdown/Dropdown.tokens.js.map +1 -1
  32. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.css +4 -4
  33. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +1 -1
  34. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  35. package/cjs/components/Dropdown/ui/DropdownItem/{DropdownItem.styles_ksnuz.css → DropdownItem.styles_1b439rx.css} +1 -1
  36. package/cjs/components/Slider/Slider.css +15 -13
  37. package/cjs/components/Slider/Slider.js +11 -2
  38. package/cjs/components/Slider/Slider.js.map +1 -1
  39. package/cjs/components/Slider/Slider.tokens.js +23 -17
  40. package/cjs/components/Slider/Slider.tokens.js.map +1 -1
  41. package/cjs/components/Slider/components/Double/Double.css +8 -8
  42. package/cjs/components/Slider/components/Double/Double.js +58 -23
  43. package/cjs/components/Slider/components/Double/Double.js.map +1 -1
  44. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +98 -0
  45. package/cjs/components/Slider/components/Single/Single.css +14 -14
  46. package/cjs/components/Slider/components/Single/Single.js +64 -33
  47. package/cjs/components/Slider/components/Single/Single.js.map +1 -1
  48. package/cjs/components/Slider/components/Single/Single.styles.js +4 -4
  49. package/cjs/components/Slider/components/Single/Single.styles.js.map +1 -1
  50. package/cjs/components/Slider/components/Single/Single.styles_1h7n2s2.css +6 -0
  51. package/cjs/components/Slider/components/SliderBase/SliderBase.css +5 -5
  52. package/cjs/components/Slider/components/SliderBase/SliderBase.js +31 -12
  53. package/cjs/components/Slider/components/SliderBase/SliderBase.js.map +1 -1
  54. package/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +7 -7
  55. package/cjs/components/Slider/components/SliderBase/SliderBase.styles.js.map +1 -1
  56. package/cjs/components/Slider/components/SliderBase/SliderBase.styles_1qt1224.css +5 -0
  57. package/cjs/components/Slider/ui/Handler/Handler.css +3 -3
  58. package/cjs/components/Slider/ui/Handler/Handler.js +49 -88
  59. package/cjs/components/Slider/ui/Handler/Handler.js.map +1 -1
  60. package/cjs/components/Slider/ui/Handler/Handler.styles.js +17 -7
  61. package/cjs/components/Slider/ui/Handler/Handler.styles.js.map +1 -1
  62. package/cjs/components/Slider/ui/Handler/Handler.styles_irtcgm.css +2 -0
  63. package/cjs/components/Slider/ui/Handler/computeKeyPressData.js +122 -0
  64. package/cjs/components/Slider/ui/Handler/computeKeyPressData.js.map +1 -0
  65. package/cjs/components/Slider/ui/Thumb/Thumb.css +1 -1
  66. package/cjs/components/Slider/ui/Thumb/Thumb.js +3 -2
  67. package/cjs/components/Slider/ui/Thumb/Thumb.js.map +1 -1
  68. package/cjs/components/Slider/ui/Thumb/Thumb.styles.js +1 -1
  69. package/cjs/components/Slider/ui/Thumb/Thumb.styles.js.map +1 -1
  70. package/cjs/components/Slider/ui/Thumb/Thumb.styles_uyn20e.css +1 -0
  71. package/cjs/components/Slider/utils/index.js +28 -10
  72. package/cjs/components/Slider/utils/index.js.map +1 -1
  73. package/cjs/components/Slider/variations/_view/base.js +1 -1
  74. package/cjs/components/Slider/variations/_view/base.js.map +1 -1
  75. package/cjs/components/Slider/variations/_view/base_1s3f6q8.css +1 -0
  76. package/cjs/index.css +41 -39
  77. package/cjs/utils/index.js.map +1 -1
  78. package/emotion/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  79. package/emotion/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +9 -9
  80. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +7 -7
  81. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  82. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +12 -12
  83. package/emotion/cjs/components/Dropdown/Dropdown.tokens.js +0 -1
  84. package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +6 -6
  85. package/emotion/cjs/components/Slider/Slider.js +10 -2
  86. package/emotion/cjs/components/Slider/Slider.template-doc.mdx +26 -0
  87. package/emotion/cjs/components/Slider/Slider.tokens.js +23 -17
  88. package/emotion/cjs/components/Slider/components/Double/Double.js +54 -19
  89. package/emotion/cjs/components/Slider/components/Single/Single.js +64 -33
  90. package/emotion/cjs/components/Slider/components/Single/Single.styles.js +18 -9
  91. package/emotion/cjs/components/Slider/components/SliderBase/SliderBase.js +31 -12
  92. package/emotion/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +10 -10
  93. package/emotion/cjs/components/Slider/ui/Handler/Handler.js +52 -88
  94. package/emotion/cjs/components/Slider/ui/Handler/Handler.styles.js +9 -15
  95. package/emotion/cjs/components/Slider/ui/Handler/computeKeyPressData.js +121 -0
  96. package/emotion/cjs/components/Slider/ui/Thumb/Thumb.js +3 -2
  97. package/emotion/cjs/components/Slider/ui/Thumb/Thumb.styles.js +3 -3
  98. package/emotion/cjs/components/Slider/utils/index.js +28 -10
  99. package/emotion/cjs/components/Slider/variations/_view/base.js +2 -1
  100. package/emotion/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +12 -12
  101. package/emotion/cjs/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -5
  102. package/emotion/cjs/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -5
  103. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  104. package/emotion/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +7 -7
  105. package/emotion/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +5 -5
  106. package/emotion/cjs/examples/plasma_b2c/components/Slider/Slider.config.js +7 -7
  107. package/emotion/cjs/examples/plasma_b2c/components/Slider/Slider.stories.tsx +98 -16
  108. package/emotion/cjs/examples/plasma_b2c/components/Toast/Toast.config.js +5 -5
  109. package/emotion/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +12 -12
  110. package/emotion/cjs/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -5
  111. package/emotion/cjs/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -5
  112. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
  113. package/emotion/cjs/examples/plasma_web/components/DatePicker/DatePicker.config.js +7 -7
  114. package/emotion/cjs/examples/plasma_web/components/Dropdown/Dropdown.config.js +5 -5
  115. package/emotion/cjs/examples/plasma_web/components/Slider/Slider.config.js +7 -7
  116. package/emotion/cjs/examples/plasma_web/components/Slider/Slider.stories.tsx +98 -15
  117. package/emotion/cjs/examples/plasma_web/components/Toast/Toast.config.js +5 -5
  118. package/emotion/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  119. package/emotion/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +9 -9
  120. package/emotion/es/components/Combobox/ComboboxNew/Combobox.styles.js +7 -7
  121. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  122. package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +12 -12
  123. package/emotion/es/components/Dropdown/Dropdown.tokens.js +0 -1
  124. package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +6 -6
  125. package/emotion/es/components/Slider/Slider.js +11 -2
  126. package/emotion/es/components/Slider/Slider.template-doc.mdx +26 -0
  127. package/emotion/es/components/Slider/Slider.tokens.js +23 -17
  128. package/emotion/es/components/Slider/components/Double/Double.js +54 -19
  129. package/emotion/es/components/Slider/components/Single/Single.js +65 -34
  130. package/emotion/es/components/Slider/components/Single/Single.styles.js +17 -8
  131. package/emotion/es/components/Slider/components/SliderBase/SliderBase.js +31 -12
  132. package/emotion/es/components/Slider/components/SliderBase/SliderBase.styles.js +11 -11
  133. package/emotion/es/components/Slider/ui/Handler/Handler.js +51 -86
  134. package/emotion/es/components/Slider/ui/Handler/Handler.styles.js +10 -16
  135. package/emotion/es/components/Slider/ui/Handler/computeKeyPressData.js +115 -0
  136. package/emotion/es/components/Slider/ui/Thumb/Thumb.js +3 -2
  137. package/emotion/es/components/Slider/ui/Thumb/Thumb.styles.js +3 -3
  138. package/emotion/es/components/Slider/utils/index.js +28 -10
  139. package/emotion/es/components/Slider/variations/_view/base.js +2 -1
  140. package/emotion/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +12 -12
  141. package/emotion/es/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -5
  142. package/emotion/es/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -5
  143. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  144. package/emotion/es/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +7 -7
  145. package/emotion/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +5 -5
  146. package/emotion/es/examples/plasma_b2c/components/Slider/Slider.config.js +7 -7
  147. package/emotion/es/examples/plasma_b2c/components/Slider/Slider.stories.tsx +98 -16
  148. package/emotion/es/examples/plasma_b2c/components/Toast/Toast.config.js +5 -5
  149. package/emotion/es/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +12 -12
  150. package/emotion/es/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -5
  151. package/emotion/es/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -5
  152. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
  153. package/emotion/es/examples/plasma_web/components/DatePicker/DatePicker.config.js +7 -7
  154. package/emotion/es/examples/plasma_web/components/Dropdown/Dropdown.config.js +5 -5
  155. package/emotion/es/examples/plasma_web/components/Slider/Slider.config.js +7 -7
  156. package/emotion/es/examples/plasma_web/components/Slider/Slider.stories.tsx +98 -15
  157. package/emotion/es/examples/plasma_web/components/Toast/Toast.config.js +5 -5
  158. package/es/components/Autocomplete/Autocomplete.css +1 -1
  159. package/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  160. package/es/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  161. package/es/components/Autocomplete/ui/TextField/{TextField.styles_1ye9068.css → TextField.styles_kcgaix.css} +1 -1
  162. package/es/components/Calendar/CalendarBase/CalendarBase.css +9 -9
  163. package/es/components/Calendar/CalendarDouble/CalendarDouble.css +9 -9
  164. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.css +9 -9
  165. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +1 -1
  166. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  167. package/{cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1xijs8w.css → es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_zgya4j.css} +1 -1
  168. package/es/components/Combobox/ComboboxNew/Combobox.css +12 -12
  169. package/es/components/Combobox/ComboboxNew/Combobox.styles.js +11 -11
  170. package/es/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  171. package/{cjs/components/Combobox/ComboboxNew/Combobox.styles_1nqrvms.css → es/components/Combobox/ComboboxNew/Combobox.styles_18a8p75.css} +1 -1
  172. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -26
  173. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  174. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +12 -12
  175. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +12 -12
  176. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +5 -5
  177. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  178. package/{cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles_1jh6ez1.css → es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles_1kzr84z.css} +2 -2
  179. package/es/components/Combobox/ComboboxOld/Combobox.css +4 -4
  180. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +4 -4
  181. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +4 -4
  182. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +4 -4
  183. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +4 -4
  184. package/es/components/DatePicker/RangeDate/RangeDate.css +9 -9
  185. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +9 -9
  186. package/es/components/DatePicker/SingleDate/SingleDate.css +9 -9
  187. package/es/components/Dropdown/Dropdown.css +4 -4
  188. package/es/components/Dropdown/Dropdown.tokens.js.map +1 -1
  189. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.css +4 -4
  190. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +1 -1
  191. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  192. package/es/components/Dropdown/ui/DropdownItem/{DropdownItem.styles_ksnuz.css → DropdownItem.styles_1b439rx.css} +1 -1
  193. package/es/components/Slider/Slider.css +15 -13
  194. package/es/components/Slider/Slider.js +11 -2
  195. package/es/components/Slider/Slider.js.map +1 -1
  196. package/es/components/Slider/Slider.tokens.js +23 -17
  197. package/es/components/Slider/Slider.tokens.js.map +1 -1
  198. package/es/components/Slider/components/Double/Double.css +8 -8
  199. package/es/components/Slider/components/Double/Double.js +54 -19
  200. package/es/components/Slider/components/Double/Double.js.map +1 -1
  201. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +98 -0
  202. package/es/components/Slider/components/Single/Single.css +14 -14
  203. package/es/components/Slider/components/Single/Single.js +65 -34
  204. package/es/components/Slider/components/Single/Single.js.map +1 -1
  205. package/es/components/Slider/components/Single/Single.styles.js +4 -4
  206. package/es/components/Slider/components/Single/Single.styles.js.map +1 -1
  207. package/es/components/Slider/components/Single/Single.styles_1h7n2s2.css +6 -0
  208. package/es/components/Slider/components/SliderBase/SliderBase.css +5 -5
  209. package/es/components/Slider/components/SliderBase/SliderBase.js +31 -12
  210. package/es/components/Slider/components/SliderBase/SliderBase.js.map +1 -1
  211. package/es/components/Slider/components/SliderBase/SliderBase.styles.js +7 -7
  212. package/es/components/Slider/components/SliderBase/SliderBase.styles.js.map +1 -1
  213. package/es/components/Slider/components/SliderBase/SliderBase.styles_1qt1224.css +5 -0
  214. package/es/components/Slider/ui/Handler/Handler.css +3 -3
  215. package/es/components/Slider/ui/Handler/Handler.js +48 -87
  216. package/es/components/Slider/ui/Handler/Handler.js.map +1 -1
  217. package/es/components/Slider/ui/Handler/Handler.styles.js +17 -7
  218. package/es/components/Slider/ui/Handler/Handler.styles.js.map +1 -1
  219. package/es/components/Slider/ui/Handler/Handler.styles_irtcgm.css +2 -0
  220. package/es/components/Slider/ui/Handler/computeKeyPressData.js +118 -0
  221. package/es/components/Slider/ui/Handler/computeKeyPressData.js.map +1 -0
  222. package/es/components/Slider/ui/Thumb/Thumb.css +1 -1
  223. package/es/components/Slider/ui/Thumb/Thumb.js +3 -2
  224. package/es/components/Slider/ui/Thumb/Thumb.js.map +1 -1
  225. package/es/components/Slider/ui/Thumb/Thumb.styles.js +1 -1
  226. package/es/components/Slider/ui/Thumb/Thumb.styles.js.map +1 -1
  227. package/es/components/Slider/ui/Thumb/Thumb.styles_uyn20e.css +1 -0
  228. package/es/components/Slider/utils/index.js +28 -10
  229. package/es/components/Slider/utils/index.js.map +1 -1
  230. package/es/components/Slider/variations/_view/base.js +1 -1
  231. package/es/components/Slider/variations/_view/base.js.map +1 -1
  232. package/es/components/Slider/variations/_view/base_1s3f6q8.css +1 -0
  233. package/es/index.css +41 -39
  234. package/es/utils/index.js.map +1 -1
  235. package/package.json +2 -2
  236. package/styled-components/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  237. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +1 -1
  238. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  239. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  240. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +3 -3
  241. package/styled-components/cjs/components/Dropdown/Dropdown.tokens.js +0 -1
  242. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +2 -2
  243. package/styled-components/cjs/components/Slider/Slider.js +10 -2
  244. package/styled-components/cjs/components/Slider/Slider.template-doc.mdx +26 -0
  245. package/styled-components/cjs/components/Slider/Slider.tokens.js +23 -17
  246. package/styled-components/cjs/components/Slider/components/Double/Double.js +54 -19
  247. package/styled-components/cjs/components/Slider/components/Single/Single.js +64 -33
  248. package/styled-components/cjs/components/Slider/components/Single/Single.styles.js +6 -6
  249. package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.js +31 -12
  250. package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +6 -6
  251. package/styled-components/cjs/components/Slider/ui/Handler/Handler.js +52 -88
  252. package/styled-components/cjs/components/Slider/ui/Handler/Handler.styles.js +7 -4
  253. package/styled-components/cjs/components/Slider/ui/Handler/computeKeyPressData.js +121 -0
  254. package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.js +3 -2
  255. package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.styles.js +2 -2
  256. package/styled-components/cjs/components/Slider/utils/index.js +28 -10
  257. package/styled-components/cjs/components/Slider/variations/_view/base.js +2 -1
  258. package/styled-components/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +4 -4
  259. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +1 -1
  260. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +1 -1
  261. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
  262. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +1 -1
  263. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +1 -1
  264. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.config.js +3 -3
  265. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.stories.tsx +98 -16
  266. package/styled-components/cjs/examples/plasma_b2c/components/Toast/Toast.config.js +1 -1
  267. package/styled-components/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +4 -4
  268. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarBase.config.js +1 -1
  269. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarDouble.config.js +1 -1
  270. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
  271. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.config.js +1 -1
  272. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Dropdown.config.js +1 -1
  273. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.config.js +3 -3
  274. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.stories.tsx +98 -15
  275. package/styled-components/cjs/examples/plasma_web/components/Toast/Toast.config.js +1 -1
  276. package/styled-components/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  277. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +1 -1
  278. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  279. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  280. package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +3 -3
  281. package/styled-components/es/components/Dropdown/Dropdown.tokens.js +0 -1
  282. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +2 -2
  283. package/styled-components/es/components/Slider/Slider.js +11 -2
  284. package/styled-components/es/components/Slider/Slider.template-doc.mdx +26 -0
  285. package/styled-components/es/components/Slider/Slider.tokens.js +23 -17
  286. package/styled-components/es/components/Slider/components/Double/Double.js +54 -19
  287. package/styled-components/es/components/Slider/components/Single/Single.js +65 -34
  288. package/styled-components/es/components/Slider/components/Single/Single.styles.js +5 -5
  289. package/styled-components/es/components/Slider/components/SliderBase/SliderBase.js +31 -12
  290. package/styled-components/es/components/Slider/components/SliderBase/SliderBase.styles.js +7 -7
  291. package/styled-components/es/components/Slider/ui/Handler/Handler.js +51 -86
  292. package/styled-components/es/components/Slider/ui/Handler/Handler.styles.js +8 -5
  293. package/styled-components/es/components/Slider/ui/Handler/computeKeyPressData.js +115 -0
  294. package/styled-components/es/components/Slider/ui/Thumb/Thumb.js +3 -2
  295. package/styled-components/es/components/Slider/ui/Thumb/Thumb.styles.js +2 -2
  296. package/styled-components/es/components/Slider/utils/index.js +28 -10
  297. package/styled-components/es/components/Slider/variations/_view/base.js +2 -1
  298. package/styled-components/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +4 -4
  299. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +1 -1
  300. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +1 -1
  301. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
  302. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +1 -1
  303. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +1 -1
  304. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.config.js +3 -3
  305. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.stories.tsx +98 -16
  306. package/styled-components/es/examples/plasma_b2c/components/Toast/Toast.config.js +1 -1
  307. package/styled-components/es/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +4 -4
  308. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarBase.config.js +1 -1
  309. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarDouble.config.js +1 -1
  310. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
  311. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.config.js +1 -1
  312. package/styled-components/es/examples/plasma_web/components/Dropdown/Dropdown.config.js +1 -1
  313. package/styled-components/es/examples/plasma_web/components/Slider/Slider.config.js +3 -3
  314. package/styled-components/es/examples/plasma_web/components/Slider/Slider.stories.tsx +98 -15
  315. package/styled-components/es/examples/plasma_web/components/Toast/Toast.config.js +1 -1
  316. package/types/components/Combobox/ComboboxNew/Combobox.styles.d.ts.map +1 -1
  317. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +0 -1
  318. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  319. package/types/components/Dropdown/Dropdown.tokens.d.ts +0 -1
  320. package/types/components/Dropdown/Dropdown.tokens.d.ts.map +1 -1
  321. package/types/components/Slider/Slider.d.ts.map +1 -1
  322. package/types/components/Slider/Slider.tokens.d.ts +22 -16
  323. package/types/components/Slider/Slider.tokens.d.ts.map +1 -1
  324. package/types/components/Slider/components/Double/Double.d.ts.map +1 -1
  325. package/types/components/Slider/components/Double/Double.types.d.ts +1 -0
  326. package/types/components/Slider/components/Double/Double.types.d.ts.map +1 -1
  327. package/types/components/Slider/components/Single/Single.d.ts.map +1 -1
  328. package/types/components/Slider/components/Single/Single.styles.d.ts +1 -1
  329. package/types/components/Slider/components/Single/Single.styles.d.ts.map +1 -1
  330. package/types/components/Slider/components/Single/Single.types.d.ts +79 -7
  331. package/types/components/Slider/components/Single/Single.types.d.ts.map +1 -1
  332. package/types/components/Slider/components/SliderBase/SliderBase.d.ts.map +1 -1
  333. package/types/components/Slider/components/SliderBase/SliderBase.styles.d.ts +1 -1
  334. package/types/components/Slider/components/SliderBase/SliderBase.styles.d.ts.map +1 -1
  335. package/types/components/Slider/components/SliderBase/SliderBase.types.d.ts +6 -0
  336. package/types/components/Slider/components/SliderBase/SliderBase.types.d.ts.map +1 -1
  337. package/types/components/Slider/ui/Handler/Handler.d.ts.map +1 -1
  338. package/types/components/Slider/ui/Handler/Handler.styles.d.ts +6 -2
  339. package/types/components/Slider/ui/Handler/Handler.styles.d.ts.map +1 -1
  340. package/types/components/Slider/ui/Handler/Handler.types.d.ts +5 -1
  341. package/types/components/Slider/ui/Handler/Handler.types.d.ts.map +1 -1
  342. package/types/components/Slider/ui/Handler/computeKeyPressData.d.ts +12 -0
  343. package/types/components/Slider/ui/Handler/computeKeyPressData.d.ts.map +1 -0
  344. package/types/components/Slider/ui/Thumb/Thumb.d.ts +1 -1
  345. package/types/components/Slider/ui/Thumb/Thumb.d.ts.map +1 -1
  346. package/types/components/Slider/ui/Thumb/Thumb.styles.d.ts.map +1 -1
  347. package/types/components/Slider/ui/Thumb/Thumb.types.d.ts +1 -0
  348. package/types/components/Slider/ui/Thumb/Thumb.types.d.ts.map +1 -1
  349. package/types/components/Slider/utils/index.d.ts +26 -8
  350. package/types/components/Slider/utils/index.d.ts.map +1 -1
  351. package/types/components/Slider/variations/_view/base.d.ts.map +1 -1
  352. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.d.ts.map +1 -1
  353. package/types/examples/plasma_b2c/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  354. package/types/examples/plasma_b2c/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  355. package/types/examples/plasma_b2c/components/Combobox/Combobox.config.d.ts.map +1 -1
  356. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.config.d.ts.map +1 -1
  357. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.config.d.ts.map +1 -1
  358. package/types/examples/plasma_b2c/components/Slider/Slider.config.d.ts.map +1 -1
  359. package/types/examples/plasma_b2c/components/Slider/Slider.d.ts +80 -2
  360. package/types/examples/plasma_b2c/components/Slider/Slider.d.ts.map +1 -1
  361. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.config.d.ts.map +1 -1
  362. package/types/examples/plasma_web/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  363. package/types/examples/plasma_web/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  364. package/types/examples/plasma_web/components/Combobox/Combobox.config.d.ts.map +1 -1
  365. package/types/examples/plasma_web/components/DatePicker/DatePicker.config.d.ts.map +1 -1
  366. package/types/examples/plasma_web/components/Dropdown/Dropdown.config.d.ts.map +1 -1
  367. package/types/examples/plasma_web/components/Slider/Slider.config.d.ts.map +1 -1
  368. package/types/examples/plasma_web/components/Slider/Slider.d.ts +80 -2
  369. package/types/examples/plasma_web/components/Slider/Slider.d.ts.map +1 -1
  370. package/types/utils/index.d.ts +1 -1
  371. package/types/utils/index.d.ts.map +1 -1
  372. package/cjs/components/Slider/components/Single/Single.styles_1r9f1e0.css +0 -6
  373. package/cjs/components/Slider/components/SliderBase/SliderBase.styles_9s4eb3.css +0 -5
  374. package/cjs/components/Slider/ui/Handler/Handler.styles_8crx5z.css +0 -2
  375. package/cjs/components/Slider/ui/Thumb/Thumb.styles_4w4gzn.css +0 -1
  376. package/cjs/components/Slider/variations/_view/base_x642ct.css +0 -1
  377. package/es/components/Slider/components/Single/Single.styles_1r9f1e0.css +0 -6
  378. package/es/components/Slider/components/SliderBase/SliderBase.styles_9s4eb3.css +0 -5
  379. package/es/components/Slider/ui/Handler/Handler.styles_8crx5z.css +0 -2
  380. package/es/components/Slider/ui/Thumb/Thumb.styles_4w4gzn.css +0 -1
  381. package/es/components/Slider/variations/_view/base_x642ct.css +0 -1
@@ -13,7 +13,7 @@ export var config = {
13
13
  xs: /*#__PURE__*/css(["", ":0.125rem;", ":10rem;", ":0.5rem;", ":1rem;", ":0.5rem;", ":0.25rem 0.5rem;", ":0.375rem;", ":0.25rem;", ":0.5rem;", ":0.25rem;", ":0.5rem;", ":0.125rem;", ":0.125rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0rem;", ":0rem;", ":0rem;", ":0rem;", ":0.125rem;", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], tokens.padding, tokens.width, tokens.borderRadius, tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemBorderRadius, tokens.dividerMarginTop, tokens.dividerMarginRight, tokens.dividerMarginBottom, tokens.dividerMarginLeft, tokens.dividerMarginTopTight, tokens.dividerMarginBottomTight, tokens.itemFontFamily, tokens.itemFontSize, tokens.itemFontStyle, tokens.itemFontWeightBold, tokens.itemFontLetterSpacing, tokens.itemFontLineHeight, tokens.cellPadding, tokens.cellPaddingLeftContent, tokens.cellPaddingContent, tokens.cellPaddingRightContent, tokens.cellTextboxGap, tokens.cellGap, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight)
14
14
  },
15
15
  view: {
16
- "default": /*#__PURE__*/css(["", ":var(--surface-transparent-tertiary);"], tokens.dividerColor)
16
+ "default": /*#__PURE__*/css(["", ":var(--surface-transparent-secondary);", ":var(--surface-transparent-tertiary);"], tokens.itemBackgroundHover, tokens.dividerColor)
17
17
  }
18
18
  }
19
19
  };
@@ -12,9 +12,9 @@ export var config = {
12
12
  gradient: /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--text-secondary);", ":var(--surface-solid-tertiary);", ":var(--on-light-surface-solid-card);", ":var(--surface-accent-gradient);", ":var(--surface-solid-tertiary);", ":var(--surface-accent-gradient);", ":var(--text-secondary);", ":var(--surface-transparent-primary);", ":var(--text-primary);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-primary);"], sliderTokens.labelColor, sliderTokens.rangeValueColor, sliderTokens.thumbBorderColor, sliderTokens.thumbBackgroundColor, sliderTokens.thumbFocusBorderColor, sliderTokens.railBackgroundColor, sliderTokens.fillColor, sliderTokens.textFieldColor, sliderTokens.textFieldBackgroundColor, sliderTokens.textFieldCaretColor, sliderTokens.textFieldPlaceholderColor, sliderTokens.textFiledFocusColor, sliderTokens.textFieldActiveColor)
13
13
  },
14
14
  size: {
15
- l: /*#__PURE__*/css(["", ":1.5rem;", ":0.375rem;", ":0.25rem;", ":0.25rem;", ":0.875rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0.75rem;", ":0.75rem;", ":-1.25rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":1.5rem;", ":0.125rem solid;", ":1.625rem;", ":var(--plasma-typo-text-s-font-family);", ":var(--plasma-typo-text-s-font-size);", ":var(--plasma-typo-text-s-font-style);", ":var(--plasma-typo-text-s-font-weight);", ":var(--plasma-typo-text-s-letter-spacing);", ":var(--plasma-typo-text-s-line-height);", ":0.25rem;", ":0.125rem;", ":0.75rem;", ":0.125rem;", ":3.5rem;", ":1.25rem 1rem 1.25rem 1rem;", ":0.75rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);"], sliderTokens.height, sliderTokens.doubleWrapperGap, sliderTokens.labelWrapperGap, sliderTokens.labelWrapperMarginBottom, sliderTokens.labelWrapperMarginRight, sliderTokens.labelFontFamily, sliderTokens.labelFontSize, sliderTokens.labelFontStyle, sliderTokens.labelFontWeight, sliderTokens.labelLetterSpacing, sliderTokens.labelLineHeight, sliderTokens.rangeMinValueMargin, sliderTokens.rangeMaxValueMargin, sliderTokens.rangeValueBottomOffset, sliderTokens.rangeValueFontFamily, sliderTokens.rangeValueFontSize, sliderTokens.rangeValueFontStyle, sliderTokens.rangeValueFontWeight, sliderTokens.rangeValueLetterSpacing, sliderTokens.rangeValueLineHeight, sliderTokens.thumbSize, sliderTokens.thumbBorder, sliderTokens.currentValueTopOffset, sliderTokens.currentValueFontFamily, sliderTokens.currentValueFontSize, sliderTokens.currentValueFontStyle, sliderTokens.currentValueFontWeight, sliderTokens.currentValueLetterSpacing, sliderTokens.currentValueLineHeight, sliderTokens.railHeight, sliderTokens.railBorderRadius, sliderTokens.railIndent, sliderTokens.textFieldWrapperGap, sliderTokens.textFieldHeight, sliderTokens.textFieldPadding, sliderTokens.textFieldBorderRadius, sliderTokens.textFieldFontFamily, sliderTokens.textFieldFontSize, sliderTokens.textFieldFontStyle, sliderTokens.textFieldFontWeight, sliderTokens.textFieldLetterSpacing, sliderTokens.textFieldLineHeight),
16
- m: /*#__PURE__*/css(["", ":1.5rem;", ":0.375rem;", ":0.25rem;", ":0.25rem;", ":0.875rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":0.75rem;", ":0.75rem;", ":-1.25rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":1.5rem;", ":0.125rem solid;", ":1.75rem;", ":var(--plasma-typo-text-xs-font-family);", ":var(--plasma-typo-text-xs-font-size);", ":var(--plasma-typo-text-xs-font-style);", ":var(--plasma-typo-text-xs-font-weight);", ":var(--plasma-typo-text-xs-letter-spacing);", ":var(--plasma-typo-text-xs-line-height);", ":0.25rem;", ":0.125rem;", ":0.75rem;", ":0.125rem;", ":3rem;", ":0.875rem 1rem 0.875rem 1rem;", ":0.75rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);"], sliderTokens.height, sliderTokens.doubleWrapperGap, sliderTokens.labelWrapperGap, sliderTokens.labelWrapperMarginBottom, sliderTokens.labelWrapperMarginRight, sliderTokens.labelFontFamily, sliderTokens.labelFontSize, sliderTokens.labelFontStyle, sliderTokens.labelFontWeight, sliderTokens.labelLetterSpacing, sliderTokens.labelLineHeight, sliderTokens.rangeMinValueMargin, sliderTokens.rangeMaxValueMargin, sliderTokens.rangeValueBottomOffset, sliderTokens.rangeValueFontFamily, sliderTokens.rangeValueFontSize, sliderTokens.rangeValueFontStyle, sliderTokens.rangeValueFontWeight, sliderTokens.rangeValueLetterSpacing, sliderTokens.rangeValueLineHeight, sliderTokens.thumbSize, sliderTokens.thumbBorder, sliderTokens.currentValueTopOffset, sliderTokens.currentValueFontFamily, sliderTokens.currentValueFontSize, sliderTokens.currentValueFontStyle, sliderTokens.currentValueFontWeight, sliderTokens.currentValueLetterSpacing, sliderTokens.currentValueLineHeight, sliderTokens.railHeight, sliderTokens.railBorderRadius, sliderTokens.railIndent, sliderTokens.textFieldWrapperGap, sliderTokens.textFieldHeight, sliderTokens.textFieldPadding, sliderTokens.textFieldBorderRadius, sliderTokens.textFieldFontFamily, sliderTokens.textFieldFontSize, sliderTokens.textFieldFontStyle, sliderTokens.textFieldFontWeight, sliderTokens.textFieldLetterSpacing, sliderTokens.textFieldLineHeight),
17
- s: /*#__PURE__*/css(["", ":1rem;", ":0.375rem;", ":0.25rem;", ":0.25rem;", ":0.875rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":0.5rem;", ":0.5rem;", ":-1.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":1rem;", ":0.125rem solid;", ":1.25rem;", ":var(--plasma-typo-text-xs-font-family);", ":var(--plasma-typo-text-xs-font-size);", ":var(--plasma-typo-text-xs-font-style);", ":var(--plasma-typo-text-xs-font-weight);", ":var(--plasma-typo-text-xs-letter-spacing);", ":var(--plasma-typo-text-xs-line-height);", ":0.25rem;", ":0.125rem;", ":0.75rem;", ":0.125rem;", ":2.5rem;", ":0.5rem 1rem 0.5rem 1rem;", ":0.625rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);"], sliderTokens.height, sliderTokens.doubleWrapperGap, sliderTokens.labelWrapperGap, sliderTokens.labelWrapperMarginBottom, sliderTokens.labelWrapperMarginRight, sliderTokens.labelFontFamily, sliderTokens.labelFontSize, sliderTokens.labelFontStyle, sliderTokens.labelFontWeight, sliderTokens.labelLetterSpacing, sliderTokens.labelLineHeight, sliderTokens.rangeMinValueMargin, sliderTokens.rangeMaxValueMargin, sliderTokens.rangeValueBottomOffset, sliderTokens.rangeValueFontFamily, sliderTokens.rangeValueFontSize, sliderTokens.rangeValueFontStyle, sliderTokens.rangeValueFontWeight, sliderTokens.rangeValueLetterSpacing, sliderTokens.rangeValueLineHeight, sliderTokens.thumbSize, sliderTokens.thumbBorder, sliderTokens.currentValueTopOffset, sliderTokens.currentValueFontFamily, sliderTokens.currentValueFontSize, sliderTokens.currentValueFontStyle, sliderTokens.currentValueFontWeight, sliderTokens.currentValueLetterSpacing, sliderTokens.currentValueLineHeight, sliderTokens.railHeight, sliderTokens.railBorderRadius, sliderTokens.railIndent, sliderTokens.textFieldWrapperGap, sliderTokens.textFieldHeight, sliderTokens.textFieldPadding, sliderTokens.textFieldBorderRadius, sliderTokens.textFieldFontFamily, sliderTokens.textFieldFontSize, sliderTokens.textFieldFontStyle, sliderTokens.textFieldFontWeight, sliderTokens.textFieldLetterSpacing, sliderTokens.textFieldLineHeight)
15
+ l: /*#__PURE__*/css(["", ":1.5rem;", ":0.375rem;", ":0.25rem;", ":0.25rem;", ":0.875rem;", ":1rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0.75rem;", ":0.875rem;", ":0.875rem;", ":0.75rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":1rem;", ":1.25rem;", ":0.0625rem solid;", ":1.625rem;", ":0.25rem;", ":0.125rem;", ":0.75rem;", ":0.125rem;", ":3.5rem;", ":1.25rem 1rem 1.25rem 1rem;", ":0.75rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);"], sliderTokens.size, sliderTokens.doubleWrapperGap, sliderTokens.labelWrapperGap, sliderTokens.labelWrapperMarginBottom, sliderTokens.labelWrapperMarginRight, sliderTokens.labelWrapperVerticalMargin, sliderTokens.labelFontFamily, sliderTokens.labelFontSize, sliderTokens.labelFontStyle, sliderTokens.labelFontWeight, sliderTokens.labelLetterSpacing, sliderTokens.labelLineHeight, sliderTokens.rangeValueHorizontalMargin, sliderTokens.rangeValueBottomOffset, sliderTokens.rangeValueHorizontalOffset, sliderTokens.rangeValueVerticalMargin, sliderTokens.valueFontFamily, sliderTokens.valueFontSize, sliderTokens.valueFontStyle, sliderTokens.valueFontWeight, sliderTokens.valueLetterSpacing, sliderTokens.valueLineHeight, sliderTokens.thumbSize, sliderTokens.thumbSizeLarge, sliderTokens.thumbBorder, sliderTokens.currentValueTopOffset, sliderTokens.railThickness, sliderTokens.railBorderRadius, sliderTokens.railIndent, sliderTokens.textFieldWrapperGap, sliderTokens.textFieldHeight, sliderTokens.textFieldPadding, sliderTokens.textFieldBorderRadius, sliderTokens.textFieldFontFamily, sliderTokens.textFieldFontSize, sliderTokens.textFieldFontStyle, sliderTokens.textFieldFontWeight, sliderTokens.textFieldLetterSpacing, sliderTokens.textFieldLineHeight),
16
+ m: /*#__PURE__*/css(["", ":1.5rem;", ":0.375rem;", ":0.25rem;", ":0.25rem;", ":0.875rem;", ":0.75rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":0.75rem;", ":0.75rem;", ":0.875rem;", ":0.625rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":1rem;", ":1.25rem;", ":0.0625rem solid;", ":1.75rem;", ":0.25rem;", ":0.125rem;", ":0.75rem;", ":0.125rem;", ":3rem;", ":0.875rem 1rem 0.875rem 1rem;", ":0.75rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);"], sliderTokens.size, sliderTokens.doubleWrapperGap, sliderTokens.labelWrapperGap, sliderTokens.labelWrapperMarginBottom, sliderTokens.labelWrapperMarginRight, sliderTokens.labelWrapperVerticalMargin, sliderTokens.labelFontFamily, sliderTokens.labelFontSize, sliderTokens.labelFontStyle, sliderTokens.labelFontWeight, sliderTokens.labelLetterSpacing, sliderTokens.labelLineHeight, sliderTokens.rangeValueHorizontalMargin, sliderTokens.rangeValueBottomOffset, sliderTokens.rangeValueHorizontalOffset, sliderTokens.rangeValueVerticalMargin, sliderTokens.valueFontFamily, sliderTokens.valueFontSize, sliderTokens.valueFontStyle, sliderTokens.valueFontWeight, sliderTokens.valueLetterSpacing, sliderTokens.valueLineHeight, sliderTokens.thumbSize, sliderTokens.thumbSizeLarge, sliderTokens.thumbBorder, sliderTokens.currentValueTopOffset, sliderTokens.railThickness, sliderTokens.railBorderRadius, sliderTokens.railIndent, sliderTokens.textFieldWrapperGap, sliderTokens.textFieldHeight, sliderTokens.textFieldPadding, sliderTokens.textFieldBorderRadius, sliderTokens.textFieldFontFamily, sliderTokens.textFieldFontSize, sliderTokens.textFieldFontStyle, sliderTokens.textFieldFontWeight, sliderTokens.textFieldLetterSpacing, sliderTokens.textFieldLineHeight),
17
+ s: /*#__PURE__*/css(["", ":1rem;", ":0.375rem;", ":0.25rem;", ":0.25rem;", ":0.875rem;", ":0.625rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":0.5rem;", ":0.625rem;", ":0.625rem;", ":0.5rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":1rem;", ":1.25rem;", ":0.0625rem solid;", ":1.25rem;", ":0.25rem;", ":0.125rem;", ":0.75rem;", ":0.125rem;", ":2.5rem;", ":0.5rem 1rem 0.5rem 1rem;", ":0.625rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);"], sliderTokens.size, sliderTokens.doubleWrapperGap, sliderTokens.labelWrapperGap, sliderTokens.labelWrapperMarginBottom, sliderTokens.labelWrapperMarginRight, sliderTokens.labelWrapperVerticalMargin, sliderTokens.labelFontFamily, sliderTokens.labelFontSize, sliderTokens.labelFontStyle, sliderTokens.labelFontWeight, sliderTokens.labelLetterSpacing, sliderTokens.labelLineHeight, sliderTokens.rangeValueHorizontalMargin, sliderTokens.rangeValueBottomOffset, sliderTokens.rangeValueHorizontalOffset, sliderTokens.rangeValueVerticalMargin, sliderTokens.valueFontFamily, sliderTokens.valueFontSize, sliderTokens.valueFontStyle, sliderTokens.valueFontWeight, sliderTokens.valueLetterSpacing, sliderTokens.valueLineHeight, sliderTokens.thumbSize, sliderTokens.thumbSizeLarge, sliderTokens.thumbBorder, sliderTokens.currentValueTopOffset, sliderTokens.railThickness, sliderTokens.railBorderRadius, sliderTokens.railIndent, sliderTokens.textFieldWrapperGap, sliderTokens.textFieldHeight, sliderTokens.textFieldPadding, sliderTokens.textFieldBorderRadius, sliderTokens.textFieldFontFamily, sliderTokens.textFieldFontSize, sliderTokens.textFieldFontStyle, sliderTokens.textFieldFontWeight, sliderTokens.textFieldLetterSpacing, sliderTokens.textFieldLineHeight)
18
18
  },
19
19
  disabled: {
20
20
  "true": /*#__PURE__*/css(["", ":0.4;"], sliderTokens.disabledOpacity)
@@ -4,14 +4,18 @@ 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';
7
8
  import { WithTheme } from '../../../_helpers';
8
9
 
9
10
  import { Slider } from './Slider';
10
11
 
11
12
  const sizes = ['l', 'm', 's'];
13
+ const pointerSizes = ['small', 'large', 'none'];
12
14
  const views = ['default', 'accent', 'gradient'];
13
- const labelPlacements = ['outer', 'inner'];
14
- const rangeValuesPlacement = ['outer', 'inner'];
15
+ const sliderAligns = ['center', 'left', 'right', 'none'];
16
+ const labelPlacements = ['top', 'left'];
17
+ const scaleAligns = ['side', 'bottom'];
18
+ const orientations: Array<string> = ['vertical', 'horizontal'];
15
19
 
16
20
  const meta: Meta<typeof Slider> = {
17
21
  title: 'plasma_web/Slider',
@@ -30,9 +34,24 @@ const meta: Meta<typeof Slider> = {
30
34
  type: 'inline-radio',
31
35
  },
32
36
  },
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
+ },
33
49
  ...disableProps([
34
50
  'value',
35
51
  'onChangeCommitted',
52
+ 'onChangeTextField',
53
+ 'onBlurTextField',
54
+ 'onKeyDownTextField',
36
55
  'ariaLabel',
37
56
  'onChange',
38
57
  'fontSizeMultiplier',
@@ -40,6 +59,14 @@ const meta: Meta<typeof Slider> = {
40
59
  'settings',
41
60
  'hasHoverAnimation',
42
61
  'type',
62
+ 'labelContentLeft',
63
+ 'rangeValuesPlacement',
64
+ 'name',
65
+ 'defaultValue',
66
+ 'labelContent',
67
+ 'showRangeValues',
68
+ 'hideMinValueDiff',
69
+ 'hideMaxValueDiff',
43
70
  ]),
44
71
  },
45
72
  };
@@ -52,8 +79,9 @@ type StorySingleProps = StoryProps;
52
79
  type StorySingle = StoryObj<StorySingleProps>;
53
80
  type StoryDouble = StoryObj<StoryProps>;
54
81
 
55
- const SliderWrapper = styled.div`
56
- width: 25rem;
82
+ const SliderWrapper = styled.div<{ isVertical?: boolean }>`
83
+ width: ${({ isVertical }) => (isVertical ? 'auto' : '25rem')};
84
+ height: ${({ isVertical }) => (isVertical ? '25rem' : 'auto')};
57
85
  `;
58
86
 
59
87
  const StoryDefault = (args: StorySingleProps) => {
@@ -67,41 +95,86 @@ const StoryDefault = (args: StorySingleProps) => {
67
95
  setValue(values);
68
96
  };
69
97
 
98
+ const { hasIcon, showIcon, orientation, labelPlacement, labelVerticalPlacement, ...rest } = args;
99
+ const isVertical = orientation === 'vertical';
100
+
70
101
  return (
71
- <SliderWrapper>
72
- <Slider value={value} onChangeCommitted={onChangeCommittedHandle} onChange={onChangeHandle} {...args} />
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
+ />
73
112
  </SliderWrapper>
74
113
  );
75
114
  };
76
115
 
77
116
  export const Default: StorySingle = {
78
117
  argTypes: {
118
+ sliderAlign: {
119
+ options: sliderAligns,
120
+ control: {
121
+ type: 'inline-radio',
122
+ },
123
+ if: { arg: 'orientation', eq: 'vertical' },
124
+ },
79
125
  labelPlacement: {
80
126
  options: labelPlacements,
81
127
  control: {
82
128
  type: 'inline-radio',
83
129
  },
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' },
84
145
  },
85
- rangeValuesPlacement: {
86
- options: rangeValuesPlacement,
146
+ orientation: {
147
+ options: orientations,
87
148
  control: {
88
149
  type: 'inline-radio',
89
150
  },
90
151
  },
152
+ reversed: {
153
+ control: {
154
+ type: 'boolean',
155
+ },
156
+ if: { arg: 'orientation', eq: 'vertical' },
157
+ },
91
158
  },
92
159
  args: {
93
160
  view: 'default',
94
161
  size: 'm',
162
+ pointerSize: 'small',
95
163
  min: 0,
96
164
  max: 100,
97
- disabled: false,
98
- ariaLabel: 'Цена товара',
165
+ orientation: 'horizontal',
166
+ ariaLabel: 'Цена микрофона',
99
167
  multipleStepSize: 10,
100
- label: 'Цена товара',
101
- labelPlacement: 'outer',
102
- rangeValuesPlacement: 'outer',
103
- showRangeValues: true,
168
+ label: 'Цена микрофона',
169
+ labelPlacement: 'top',
170
+ sliderAlign: 'center',
171
+ scaleAlign: 'bottom',
172
+ showScale: true,
104
173
  showCurrentValue: false,
174
+ showIcon: true,
175
+ reversed: false,
176
+ labelReversed: false,
177
+ disabled: false,
105
178
  },
106
179
  render: (args) => <StoryDefault {...args} />,
107
180
  };
@@ -141,7 +214,7 @@ const StoryMultipleValues = (args: StoryProps) => {
141
214
  };
142
215
 
143
216
  return (
144
- <SliderWrapper>
217
+ <SliderWrapper isVertical={args.orientation === 'vertical'}>
145
218
  <Slider
146
219
  value={value}
147
220
  onKeyDownTextField={onKeyDownTextField}
@@ -158,6 +231,7 @@ export const MultipleValues: StoryDouble = {
158
231
  args: {
159
232
  view: 'default',
160
233
  size: 'm',
234
+ pointerSize: 'small',
161
235
  min: 0,
162
236
  max: 100,
163
237
  disabled: false,
@@ -165,5 +239,14 @@ export const MultipleValues: StoryDouble = {
165
239
  ariaLabel: ['Минимальная цена товара', 'Максимальная цена товара'],
166
240
  multipleStepSize: 10,
167
241
  },
242
+ argTypes: {
243
+ pointerSize: {
244
+ options: ['small', 'large'],
245
+ control: {
246
+ type: 'inline-radio',
247
+ },
248
+ },
249
+ ...disableProps(['orientation']),
250
+ },
168
251
  render: (args) => <StoryMultipleValues {...args} />,
169
252
  };
@@ -12,7 +12,7 @@ export var config = {
12
12
  light: /*#__PURE__*/css(["", ":var(--on-light-text-primary);", ":var(--on-light-surface-solid-primary-brightness);", ":var(--on-light-text-secondary);", ":var(--on-light-text-secondary);"], toastTokens.color, toastTokens.background, toastTokens.closeIconColor, toastTokens.closeIconColorOnHover)
13
13
  },
14
14
  size: {
15
- m: /*#__PURE__*/css(["", ":0.75rem;", ":calc(100vw - 5rem);", ":0.5625rem 0.75rem;", ":1rem;", ":1rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":-0.0625rem 0.375rem -0.0625rem -0.125rem;", ":-0.0625rem -0.25rem -0.0625rem 0.5rem;"], toastTokens.borderRadius, toastTokens.maxWidth, toastTokens.padding, toastTokens.closeIconButtonSize, toastTokens.closeIconSize, toastTokens.fontFamily, toastTokens.fontSize, toastTokens.fontStyle, toastTokens.fontWeight, toastTokens.letterSpacing, toastTokens.lineHeight, toastTokens.leftContentMargin, toastTokens.closeIconMargin)
15
+ m: /*#__PURE__*/css(["", ":0.75rem;", ":calc(100vw - 5rem);", ":0.5625rem 0.75rem;", ":1rem;", ":1.5rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":-0.0625rem 0.375rem -0.0625rem -0.125rem;", ":-0.0625rem -0.25rem -0.0625rem 0.5rem;"], toastTokens.borderRadius, toastTokens.maxWidth, toastTokens.padding, toastTokens.closeIconButtonSize, toastTokens.closeIconSize, toastTokens.fontFamily, toastTokens.fontSize, toastTokens.fontStyle, toastTokens.fontWeight, toastTokens.letterSpacing, toastTokens.lineHeight, toastTokens.leftContentMargin, toastTokens.closeIconMargin)
16
16
  },
17
17
  pilled: {
18
18
  "true": /*#__PURE__*/css(["", ":1.5rem;", ":-0.0625rem 0.375rem -0.0625rem -0.25rem;", ":-0.0625rem -0.25rem -0.0625rem 0.375rem;"], toastTokens.pilledBorderRadius, toastTokens.leftContentMargin, toastTokens.closeIconMargin)
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.styles.ts"],"names":[],"mappings":";AAOA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAMjD,eAAO,MAAM,EAAE;mBACI,aAAa,CAAC,cAAc,CAAC;iBAC/B,aAAa,CAAC,YAAY,CAAC;gBAC5B,aAAa,CAAC,WAAW,CAAC;;EAoBzC,CAAC;AAEF,eAAO,MAAM,gBAAgB;cAA0B,OAAO;EAgB7D,CAAC;AAEF,eAAO,MAAM,WAAW,oGAAuC,CAAC;AAEhE,eAAO,MAAM,IAAI,0CAAQ,CAAC;AAE1B,eAAO,MAAM,gBAAgB,oQAS5B,CAAC"}
1
+ {"version":3,"file":"Combobox.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.styles.ts"],"names":[],"mappings":";AAOA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAMjD,eAAO,MAAM,EAAE;mBACI,aAAa,CAAC,cAAc,CAAC;iBAC/B,aAAa,CAAC,YAAY,CAAC;gBAC5B,aAAa,CAAC,WAAW,CAAC;;EAoBzC,CAAC;AAEF,eAAO,MAAM,gBAAgB;cAA0B,OAAO;EAc7D,CAAC;AAEF,eAAO,MAAM,WAAW,oGAAuC,CAAC;AAEhE,eAAO,MAAM,IAAI,0CAAQ,CAAC;AAE1B,eAAO,MAAM,gBAAgB,oQAS5B,CAAC"}
@@ -30,7 +30,6 @@ export declare const tokens: {
30
30
  itemIconSize: string;
31
31
  itemIconSizeTight: string;
32
32
  itemIconMargin: string;
33
- itemBackground: string;
34
33
  itemBackgroundHover: string;
35
34
  cellPadding: string;
36
35
  cellPaddingLeftContent: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.tokens.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;CAYnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyJlB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;CAuBrB,CAAC"}
1
+ {"version":3,"file":"Combobox.tokens.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;CAYnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwJlB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;CAuBrB,CAAC"}
@@ -136,7 +136,6 @@ export declare const constants: {
136
136
  boxShadow: string;
137
137
  disclosureIconColor: string;
138
138
  itemBackground: string;
139
- itemBackgroundHover: string;
140
139
  opacity: string;
141
140
  cellTitleColor: string;
142
141
  cellBackgroundColor: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;CAMnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoIlB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;CAUrB,CAAC"}
1
+ {"version":3,"file":"Dropdown.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;CAMnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoIlB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;CASrB,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;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
+ {"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,6 +1,12 @@
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;
4
10
  rangeValuesPlacementOuter: string;
5
11
  rangeValuesPlacementInner: string;
6
12
  maxRangeValue: string;
@@ -10,12 +16,16 @@ export declare const classes: {
10
16
  firstTextField: string;
11
17
  secondTextField: string;
12
18
  activeRangeValue: string;
19
+ verticalOrientation: string;
20
+ valuePlacementLeft: string;
21
+ reversed: string;
13
22
  };
14
23
  export declare const tokens: {
15
- height: string;
24
+ size: string;
16
25
  labelWrapperGap: string;
17
26
  labelWrapperMarginBottom: string;
18
27
  labelWrapperMarginRight: string;
28
+ labelWrapperVerticalMargin: string;
19
29
  labelColor: string;
20
30
  labelFontFamily: string;
21
31
  labelFontSize: string;
@@ -23,31 +33,27 @@ export declare const tokens: {
23
33
  labelFontWeight: string;
24
34
  labelLetterSpacing: string;
25
35
  labelLineHeight: string;
26
- rangeMinValueMargin: string;
27
- rangeMaxValueMargin: string;
28
36
  rangeValueBottomOffset: string;
37
+ rangeValueHorizontalMargin: string;
38
+ rangeValueHorizontalOffset: string;
39
+ rangeValueVerticalMargin: string;
29
40
  rangeValueColor: string;
30
- rangeValueFontFamily: string;
31
- rangeValueFontSize: string;
32
- rangeValueFontStyle: string;
33
- rangeValueFontWeight: string;
34
- rangeValueLetterSpacing: string;
35
- rangeValueLineHeight: string;
41
+ valueFontFamily: string;
42
+ valueFontSize: string;
43
+ valueFontStyle: string;
44
+ valueFontWeight: string;
45
+ valueLetterSpacing: string;
46
+ valueLineHeight: string;
36
47
  doubleWrapperGap: string;
37
48
  thumbSize: string;
49
+ thumbSizeLarge: string;
38
50
  thumbBorder: string;
39
51
  thumbBorderColor: string;
40
52
  thumbBackgroundColor: string;
41
53
  thumbFocusBorderColor: string;
42
54
  currentValueTopOffset: string;
43
- currentValueFontFamily: string;
44
- currentValueFontSize: string;
45
- currentValueFontStyle: string;
46
- currentValueFontWeight: string;
47
- currentValueLetterSpacing: string;
48
- currentValueLineHeight: string;
49
55
  railBackgroundColor: string;
50
- railHeight: string;
56
+ railThickness: string;
51
57
  railBorderRadius: string;
52
58
  railIndent: string;
53
59
  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;;;;;;;;;;;;CAYnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyElB,CAAC"}
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 +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,CA4U9C,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,CAwW9C,CAAC"}
@@ -63,5 +63,6 @@ export interface DoubleSliderProps extends SliderBaseProps, SliderInternalProps,
63
63
  size?: 's' | 'm' | 'l';
64
64
  name?: string;
65
65
  type?: 'double';
66
+ pointerSize?: 'small' | 'large';
66
67
  }
67
68
  //# 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;CACnB"}
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 +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;AAUxD,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA6L9C,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;AAGxD,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA8P9C,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 LabelContentLeft: 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>>;
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,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
+ {"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,4 +1,4 @@
1
- import type { HTMLAttributes } from 'react';
1
+ import type { HTMLAttributes, ReactNode } 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,7 +36,54 @@ declare type SingleSliderPropsUnion = {
36
36
  */
37
37
  defaultValue?: never;
38
38
  };
39
- export declare type SingleSliderProps = SliderBaseProps & SliderInternalProps & SingleSliderPropsUnion & Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'defaultValue'> & {
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'> & {
40
87
  /**
41
88
  * Вызывается при отпускании ползунка
42
89
  */
@@ -51,8 +98,18 @@ export declare type SingleSliderProps = SliderBaseProps & SliderInternalProps &
51
98
  showCurrentValue?: boolean;
52
99
  /**
53
100
  * Отображать ли значения минимума и максимума интервала.
101
+ * @deprecated
54
102
  */
55
103
  showRangeValues?: boolean;
104
+ /**
105
+ * Расположение значений минимума и максимума интервала.
106
+ * @deprecated
107
+ */
108
+ rangeValuesPlacement?: string;
109
+ /**
110
+ * Отображать ли значения минимума и максимума интервала.
111
+ */
112
+ showScale?: boolean;
56
113
  /**
57
114
  * Разница между текущим значением и минимальным, при котором минимальное будет скрыто.
58
115
  */
@@ -61,16 +118,21 @@ export declare type SingleSliderProps = SliderBaseProps & SliderInternalProps &
61
118
  * Разница между текущим значением и максимальным, при котором максимальное будет скрыто.
62
119
  */
63
120
  hideMaxValueDiff?: number;
64
- /**
65
- * Расположение значений минимума и максимума интервала.
66
- * @default `outer`
67
- */
68
- rangeValuesPlacement?: 'inner' | 'outer';
69
121
  /**
70
122
  * Расположение подписи.
123
+ * @deprecated
71
124
  * @default `outer`
72
125
  */
73
126
  labelPlacement?: 'inner' | 'outer';
127
+ /**
128
+ * Слот под контент слева от подписи (например, иконку)
129
+ * @deprecated
130
+ */
131
+ labelContentLeft?: ReactNode;
132
+ /**
133
+ * Слот под контент рядом с подписью (например, иконку)
134
+ */
135
+ labelContent?: ReactNode;
74
136
  /**
75
137
  * Размера увеличенного шага (для клавиш PageUp, PageDown).
76
138
  * Указывает процентное отношение от максимально возможного значения.
@@ -80,6 +142,16 @@ export declare type SingleSliderProps = SliderBaseProps & SliderInternalProps &
80
142
  view?: string;
81
143
  size?: 's' | 'm' | 'l';
82
144
  type?: 'single';
145
+ /**
146
+ * Размер ползунка
147
+ * @default small
148
+ * @description
149
+ * Может принимать три значения:
150
+ * small - размер s;
151
+ * large - размер l;
152
+ * none - скрыть ползунок
153
+ */
154
+ pointerSize?: 'small' | 'large' | 'none';
83
155
  };
84
156
  export {};
85
157
  //# 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,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
+ {"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 +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;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
+ {"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,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>>;
2
3
  export declare const Slider: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
4
  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,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"}
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"}
@@ -28,6 +28,9 @@ export interface SliderBaseProps {
28
28
  */
29
29
  disabled?: boolean;
30
30
  labelPlacement?: string;
31
+ /**
32
+ * Расположение значений минимума и максимума интервала.
33
+ */
31
34
  rangeValuesPlacement?: string;
32
35
  }
33
36
  export interface SliderInternalProps {
@@ -37,6 +40,9 @@ export interface SliderInternalProps {
37
40
  settings?: SliderSettings;
38
41
  }
39
42
  export interface SliderViewProps extends SliderBaseProps, SliderInternalProps {
43
+ orientation: 'horizontal' | 'vertical';
44
+ size: string;
45
+ sliderAlign?: string;
40
46
  railFillWidth: number;
41
47
  setStepSize(stepSize: number): void;
42
48
  railFillXPosition?: number;