@salutejs/plasma-new-hope 0.175.2-dev.0 → 0.175.3-canary.1502.11570570852.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (338) hide show
  1. package/cjs/components/Slider/Slider.css +15 -13
  2. package/cjs/components/Slider/Slider.js +11 -2
  3. package/cjs/components/Slider/Slider.js.map +1 -1
  4. package/cjs/components/Slider/Slider.tokens.js +23 -17
  5. package/cjs/components/Slider/Slider.tokens.js.map +1 -1
  6. package/cjs/components/Slider/components/Double/Double.css +8 -8
  7. package/cjs/components/Slider/components/Double/Double.js +58 -23
  8. package/cjs/components/Slider/components/Double/Double.js.map +1 -1
  9. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +98 -0
  10. package/cjs/components/Slider/components/Single/Single.css +14 -14
  11. package/cjs/components/Slider/components/Single/Single.js +64 -33
  12. package/cjs/components/Slider/components/Single/Single.js.map +1 -1
  13. package/cjs/components/Slider/components/Single/Single.styles.js +4 -4
  14. package/cjs/components/Slider/components/Single/Single.styles.js.map +1 -1
  15. package/cjs/components/Slider/components/Single/Single.styles_1h7n2s2.css +6 -0
  16. package/cjs/components/Slider/components/SliderBase/SliderBase.css +5 -5
  17. package/cjs/components/Slider/components/SliderBase/SliderBase.js +31 -12
  18. package/cjs/components/Slider/components/SliderBase/SliderBase.js.map +1 -1
  19. package/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +7 -7
  20. package/cjs/components/Slider/components/SliderBase/SliderBase.styles.js.map +1 -1
  21. package/cjs/components/Slider/components/SliderBase/SliderBase.styles_1qt1224.css +5 -0
  22. package/cjs/components/Slider/ui/Handler/Handler.css +3 -3
  23. package/cjs/components/Slider/ui/Handler/Handler.js +49 -88
  24. package/cjs/components/Slider/ui/Handler/Handler.js.map +1 -1
  25. package/cjs/components/Slider/ui/Handler/Handler.styles.js +17 -7
  26. package/cjs/components/Slider/ui/Handler/Handler.styles.js.map +1 -1
  27. package/cjs/components/Slider/ui/Handler/Handler.styles_irtcgm.css +2 -0
  28. package/cjs/components/Slider/ui/Handler/computeKeyPressData.js +122 -0
  29. package/cjs/components/Slider/ui/Handler/computeKeyPressData.js.map +1 -0
  30. package/cjs/components/Slider/ui/Thumb/Thumb.css +1 -1
  31. package/cjs/components/Slider/ui/Thumb/Thumb.js +3 -2
  32. package/cjs/components/Slider/ui/Thumb/Thumb.js.map +1 -1
  33. package/cjs/components/Slider/ui/Thumb/Thumb.styles.js +1 -1
  34. package/cjs/components/Slider/ui/Thumb/Thumb.styles.js.map +1 -1
  35. package/cjs/components/Slider/ui/Thumb/Thumb.styles_uyn20e.css +1 -0
  36. package/cjs/components/Slider/utils/index.js +28 -10
  37. package/cjs/components/Slider/utils/index.js.map +1 -1
  38. package/cjs/components/Slider/variations/_view/base.js +1 -1
  39. package/cjs/components/Slider/variations/_view/base.js.map +1 -1
  40. package/cjs/components/Slider/variations/_view/base_1s3f6q8.css +1 -0
  41. package/cjs/components/Tabs/createTabsController.js.map +1 -1
  42. package/cjs/components/Tabs/tokens.js +2 -0
  43. package/cjs/components/Tabs/tokens.js.map +1 -1
  44. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -1
  45. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  46. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.css +5 -5
  47. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +20 -8
  48. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
  49. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +1 -1
  50. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js.map +1 -1
  51. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/{HorizontalTabs.styles_16kuvxt.css → HorizontalTabs.styles_p9rk79.css} +1 -1
  52. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  53. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js.map +1 -1
  54. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/{base_9miwn.css → base_4ob3q5.css} +1 -1
  55. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.css +4 -4
  56. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +7 -6
  57. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
  58. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +1 -1
  59. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js.map +1 -1
  60. package/cjs/components/Tabs/ui/vertical/VerticalTabs/{VerticalTabs.styles_1fr5ovg.css → VerticalTabs.styles_1r1hidh.css} +1 -1
  61. package/cjs/index.css +24 -22
  62. package/cjs/utils/index.js.map +1 -1
  63. package/emotion/cjs/components/Slider/Slider.js +10 -2
  64. package/emotion/cjs/components/Slider/Slider.template-doc.mdx +26 -0
  65. package/emotion/cjs/components/Slider/Slider.tokens.js +23 -17
  66. package/emotion/cjs/components/Slider/components/Double/Double.js +54 -19
  67. package/emotion/cjs/components/Slider/components/Single/Single.js +64 -33
  68. package/emotion/cjs/components/Slider/components/Single/Single.styles.js +18 -9
  69. package/emotion/cjs/components/Slider/components/SliderBase/SliderBase.js +31 -12
  70. package/emotion/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +10 -10
  71. package/emotion/cjs/components/Slider/ui/Handler/Handler.js +52 -88
  72. package/emotion/cjs/components/Slider/ui/Handler/Handler.styles.js +9 -15
  73. package/emotion/cjs/components/Slider/ui/Handler/computeKeyPressData.js +121 -0
  74. package/emotion/cjs/components/Slider/ui/Thumb/Thumb.js +3 -2
  75. package/emotion/cjs/components/Slider/ui/Thumb/Thumb.styles.js +3 -3
  76. package/emotion/cjs/components/Slider/utils/index.js +28 -10
  77. package/emotion/cjs/components/Slider/variations/_view/base.js +2 -1
  78. package/emotion/cjs/components/Tabs/tokens.js +2 -0
  79. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -1
  80. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +20 -8
  81. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +4 -4
  82. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  83. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +7 -6
  84. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +4 -4
  85. package/emotion/cjs/examples/plasma_b2c/components/Slider/Slider.config.js +7 -7
  86. package/emotion/cjs/examples/plasma_b2c/components/Slider/Slider.stories.tsx +98 -16
  87. package/emotion/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +72 -33
  88. package/emotion/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -15
  89. package/emotion/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +15 -15
  90. package/emotion/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +6 -6
  91. package/emotion/cjs/examples/plasma_web/components/Slider/Slider.config.js +7 -7
  92. package/emotion/cjs/examples/plasma_web/components/Slider/Slider.stories.tsx +98 -15
  93. package/emotion/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +72 -33
  94. package/emotion/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -15
  95. package/emotion/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.js +15 -15
  96. package/emotion/cjs/examples/plasma_web/components/Tabs/vertical/VerticalTabs.config.js +6 -6
  97. package/emotion/es/components/Slider/Slider.js +11 -2
  98. package/emotion/es/components/Slider/Slider.template-doc.mdx +26 -0
  99. package/emotion/es/components/Slider/Slider.tokens.js +23 -17
  100. package/emotion/es/components/Slider/components/Double/Double.js +54 -19
  101. package/emotion/es/components/Slider/components/Single/Single.js +65 -34
  102. package/emotion/es/components/Slider/components/Single/Single.styles.js +17 -8
  103. package/emotion/es/components/Slider/components/SliderBase/SliderBase.js +31 -12
  104. package/emotion/es/components/Slider/components/SliderBase/SliderBase.styles.js +11 -11
  105. package/emotion/es/components/Slider/ui/Handler/Handler.js +51 -86
  106. package/emotion/es/components/Slider/ui/Handler/Handler.styles.js +10 -16
  107. package/emotion/es/components/Slider/ui/Handler/computeKeyPressData.js +115 -0
  108. package/emotion/es/components/Slider/ui/Thumb/Thumb.js +3 -2
  109. package/emotion/es/components/Slider/ui/Thumb/Thumb.styles.js +3 -3
  110. package/emotion/es/components/Slider/utils/index.js +28 -10
  111. package/emotion/es/components/Slider/variations/_view/base.js +2 -1
  112. package/emotion/es/components/Tabs/tokens.js +2 -0
  113. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -1
  114. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +21 -9
  115. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +4 -4
  116. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  117. package/emotion/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +8 -7
  118. package/emotion/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +4 -4
  119. package/emotion/es/examples/plasma_b2c/components/Slider/Slider.config.js +7 -7
  120. package/emotion/es/examples/plasma_b2c/components/Slider/Slider.stories.tsx +98 -16
  121. package/emotion/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +72 -33
  122. package/emotion/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -15
  123. package/emotion/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +15 -15
  124. package/emotion/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +6 -6
  125. package/emotion/es/examples/plasma_web/components/Slider/Slider.config.js +7 -7
  126. package/emotion/es/examples/plasma_web/components/Slider/Slider.stories.tsx +98 -15
  127. package/emotion/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +72 -33
  128. package/emotion/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +15 -15
  129. package/emotion/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.js +15 -15
  130. package/emotion/es/examples/plasma_web/components/Tabs/vertical/VerticalTabs.config.js +6 -6
  131. package/es/components/Slider/Slider.css +15 -13
  132. package/es/components/Slider/Slider.js +11 -2
  133. package/es/components/Slider/Slider.js.map +1 -1
  134. package/es/components/Slider/Slider.tokens.js +23 -17
  135. package/es/components/Slider/Slider.tokens.js.map +1 -1
  136. package/es/components/Slider/components/Double/Double.css +8 -8
  137. package/es/components/Slider/components/Double/Double.js +54 -19
  138. package/es/components/Slider/components/Double/Double.js.map +1 -1
  139. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +98 -0
  140. package/es/components/Slider/components/Single/Single.css +14 -14
  141. package/es/components/Slider/components/Single/Single.js +65 -34
  142. package/es/components/Slider/components/Single/Single.js.map +1 -1
  143. package/es/components/Slider/components/Single/Single.styles.js +4 -4
  144. package/es/components/Slider/components/Single/Single.styles.js.map +1 -1
  145. package/es/components/Slider/components/Single/Single.styles_1h7n2s2.css +6 -0
  146. package/es/components/Slider/components/SliderBase/SliderBase.css +5 -5
  147. package/es/components/Slider/components/SliderBase/SliderBase.js +31 -12
  148. package/es/components/Slider/components/SliderBase/SliderBase.js.map +1 -1
  149. package/es/components/Slider/components/SliderBase/SliderBase.styles.js +7 -7
  150. package/es/components/Slider/components/SliderBase/SliderBase.styles.js.map +1 -1
  151. package/es/components/Slider/components/SliderBase/SliderBase.styles_1qt1224.css +5 -0
  152. package/es/components/Slider/ui/Handler/Handler.css +3 -3
  153. package/es/components/Slider/ui/Handler/Handler.js +48 -87
  154. package/es/components/Slider/ui/Handler/Handler.js.map +1 -1
  155. package/es/components/Slider/ui/Handler/Handler.styles.js +17 -7
  156. package/es/components/Slider/ui/Handler/Handler.styles.js.map +1 -1
  157. package/es/components/Slider/ui/Handler/Handler.styles_irtcgm.css +2 -0
  158. package/es/components/Slider/ui/Handler/computeKeyPressData.js +118 -0
  159. package/es/components/Slider/ui/Handler/computeKeyPressData.js.map +1 -0
  160. package/es/components/Slider/ui/Thumb/Thumb.css +1 -1
  161. package/es/components/Slider/ui/Thumb/Thumb.js +3 -2
  162. package/es/components/Slider/ui/Thumb/Thumb.js.map +1 -1
  163. package/es/components/Slider/ui/Thumb/Thumb.styles.js +1 -1
  164. package/es/components/Slider/ui/Thumb/Thumb.styles.js.map +1 -1
  165. package/es/components/Slider/ui/Thumb/Thumb.styles_uyn20e.css +1 -0
  166. package/es/components/Slider/utils/index.js +28 -10
  167. package/es/components/Slider/utils/index.js.map +1 -1
  168. package/es/components/Slider/variations/_view/base.js +1 -1
  169. package/es/components/Slider/variations/_view/base.js.map +1 -1
  170. package/es/components/Slider/variations/_view/base_1s3f6q8.css +1 -0
  171. package/es/components/Tabs/createTabsController.js.map +1 -1
  172. package/es/components/Tabs/tokens.js +2 -0
  173. package/es/components/Tabs/tokens.js.map +1 -1
  174. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -1
  175. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js.map +1 -1
  176. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.css +5 -5
  177. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +21 -9
  178. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js.map +1 -1
  179. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +1 -1
  180. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js.map +1 -1
  181. package/es/components/Tabs/ui/horizontal/HorizontalTabs/{HorizontalTabs.styles_16kuvxt.css → HorizontalTabs.styles_p9rk79.css} +1 -1
  182. package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  183. package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js.map +1 -1
  184. package/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/{base_9miwn.css → base_4ob3q5.css} +1 -1
  185. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.css +4 -4
  186. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +8 -7
  187. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js.map +1 -1
  188. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +1 -1
  189. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js.map +1 -1
  190. package/es/components/Tabs/ui/vertical/VerticalTabs/{VerticalTabs.styles_1fr5ovg.css → VerticalTabs.styles_1r1hidh.css} +1 -1
  191. package/es/index.css +24 -22
  192. package/es/utils/index.js.map +1 -1
  193. package/package.json +2 -2
  194. package/styled-components/cjs/components/Slider/Slider.js +10 -2
  195. package/styled-components/cjs/components/Slider/Slider.template-doc.mdx +26 -0
  196. package/styled-components/cjs/components/Slider/Slider.tokens.js +23 -17
  197. package/styled-components/cjs/components/Slider/components/Double/Double.js +54 -19
  198. package/styled-components/cjs/components/Slider/components/Single/Single.js +64 -33
  199. package/styled-components/cjs/components/Slider/components/Single/Single.styles.js +6 -6
  200. package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.js +31 -12
  201. package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +6 -6
  202. package/styled-components/cjs/components/Slider/ui/Handler/Handler.js +52 -88
  203. package/styled-components/cjs/components/Slider/ui/Handler/Handler.styles.js +7 -4
  204. package/styled-components/cjs/components/Slider/ui/Handler/computeKeyPressData.js +121 -0
  205. package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.js +3 -2
  206. package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.styles.js +2 -2
  207. package/styled-components/cjs/components/Slider/utils/index.js +28 -10
  208. package/styled-components/cjs/components/Slider/variations/_view/base.js +2 -1
  209. package/styled-components/cjs/components/Tabs/tokens.js +2 -0
  210. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -1
  211. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +20 -8
  212. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +2 -2
  213. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  214. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +7 -6
  215. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +2 -2
  216. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.config.js +3 -3
  217. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.stories.tsx +98 -16
  218. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +72 -33
  219. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +2 -2
  220. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +3 -3
  221. package/styled-components/cjs/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +1 -1
  222. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.config.js +3 -3
  223. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.stories.tsx +98 -15
  224. package/styled-components/cjs/examples/plasma_web/components/Tabs/Tabs.stories.tsx +72 -33
  225. package/styled-components/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +2 -2
  226. package/styled-components/cjs/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.js +3 -3
  227. package/styled-components/cjs/examples/plasma_web/components/Tabs/vertical/VerticalTabs.config.js +1 -1
  228. package/styled-components/es/components/Slider/Slider.js +11 -2
  229. package/styled-components/es/components/Slider/Slider.template-doc.mdx +26 -0
  230. package/styled-components/es/components/Slider/Slider.tokens.js +23 -17
  231. package/styled-components/es/components/Slider/components/Double/Double.js +54 -19
  232. package/styled-components/es/components/Slider/components/Single/Single.js +65 -34
  233. package/styled-components/es/components/Slider/components/Single/Single.styles.js +5 -5
  234. package/styled-components/es/components/Slider/components/SliderBase/SliderBase.js +31 -12
  235. package/styled-components/es/components/Slider/components/SliderBase/SliderBase.styles.js +7 -7
  236. package/styled-components/es/components/Slider/ui/Handler/Handler.js +51 -86
  237. package/styled-components/es/components/Slider/ui/Handler/Handler.styles.js +8 -5
  238. package/styled-components/es/components/Slider/ui/Handler/computeKeyPressData.js +115 -0
  239. package/styled-components/es/components/Slider/ui/Thumb/Thumb.js +3 -2
  240. package/styled-components/es/components/Slider/ui/Thumb/Thumb.styles.js +2 -2
  241. package/styled-components/es/components/Slider/utils/index.js +28 -10
  242. package/styled-components/es/components/Slider/variations/_view/base.js +2 -1
  243. package/styled-components/es/components/Tabs/tokens.js +2 -0
  244. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.js +3 -1
  245. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +21 -9
  246. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.js +2 -2
  247. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.js +1 -1
  248. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +8 -7
  249. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.js +2 -2
  250. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.config.js +3 -3
  251. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.stories.tsx +98 -16
  252. package/styled-components/es/examples/plasma_b2c/components/Tabs/Tabs.stories.tsx +72 -33
  253. package/styled-components/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabItem.config.js +2 -2
  254. package/styled-components/es/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.js +3 -3
  255. package/styled-components/es/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.js +1 -1
  256. package/styled-components/es/examples/plasma_web/components/Slider/Slider.config.js +3 -3
  257. package/styled-components/es/examples/plasma_web/components/Slider/Slider.stories.tsx +98 -15
  258. package/styled-components/es/examples/plasma_web/components/Tabs/Tabs.stories.tsx +72 -33
  259. package/styled-components/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabItem.config.js +2 -2
  260. package/styled-components/es/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.js +3 -3
  261. package/styled-components/es/examples/plasma_web/components/Tabs/vertical/VerticalTabs.config.js +1 -1
  262. package/types/components/Slider/Slider.d.ts.map +1 -1
  263. package/types/components/Slider/Slider.tokens.d.ts +22 -16
  264. package/types/components/Slider/Slider.tokens.d.ts.map +1 -1
  265. package/types/components/Slider/components/Double/Double.d.ts.map +1 -1
  266. package/types/components/Slider/components/Double/Double.types.d.ts +1 -0
  267. package/types/components/Slider/components/Double/Double.types.d.ts.map +1 -1
  268. package/types/components/Slider/components/Single/Single.d.ts.map +1 -1
  269. package/types/components/Slider/components/Single/Single.styles.d.ts +1 -1
  270. package/types/components/Slider/components/Single/Single.styles.d.ts.map +1 -1
  271. package/types/components/Slider/components/Single/Single.types.d.ts +79 -7
  272. package/types/components/Slider/components/Single/Single.types.d.ts.map +1 -1
  273. package/types/components/Slider/components/SliderBase/SliderBase.d.ts.map +1 -1
  274. package/types/components/Slider/components/SliderBase/SliderBase.styles.d.ts +1 -1
  275. package/types/components/Slider/components/SliderBase/SliderBase.styles.d.ts.map +1 -1
  276. package/types/components/Slider/components/SliderBase/SliderBase.types.d.ts +6 -0
  277. package/types/components/Slider/components/SliderBase/SliderBase.types.d.ts.map +1 -1
  278. package/types/components/Slider/ui/Handler/Handler.d.ts.map +1 -1
  279. package/types/components/Slider/ui/Handler/Handler.styles.d.ts +6 -2
  280. package/types/components/Slider/ui/Handler/Handler.styles.d.ts.map +1 -1
  281. package/types/components/Slider/ui/Handler/Handler.types.d.ts +5 -1
  282. package/types/components/Slider/ui/Handler/Handler.types.d.ts.map +1 -1
  283. package/types/components/Slider/ui/Handler/computeKeyPressData.d.ts +12 -0
  284. package/types/components/Slider/ui/Handler/computeKeyPressData.d.ts.map +1 -0
  285. package/types/components/Slider/ui/Thumb/Thumb.d.ts +1 -1
  286. package/types/components/Slider/ui/Thumb/Thumb.d.ts.map +1 -1
  287. package/types/components/Slider/ui/Thumb/Thumb.styles.d.ts.map +1 -1
  288. package/types/components/Slider/ui/Thumb/Thumb.types.d.ts +1 -0
  289. package/types/components/Slider/ui/Thumb/Thumb.types.d.ts.map +1 -1
  290. package/types/components/Slider/utils/index.d.ts +26 -8
  291. package/types/components/Slider/utils/index.d.ts.map +1 -1
  292. package/types/components/Slider/variations/_view/base.d.ts.map +1 -1
  293. package/types/components/Tabs/TabItem.types.d.ts +50 -8
  294. package/types/components/Tabs/TabItem.types.d.ts.map +1 -1
  295. package/types/components/Tabs/Tabs.types.d.ts +44 -2
  296. package/types/components/Tabs/Tabs.types.d.ts.map +1 -1
  297. package/types/components/Tabs/createTabsController.d.ts +2 -2
  298. package/types/components/Tabs/createTabsController.d.ts.map +1 -1
  299. package/types/components/Tabs/index.d.ts +2 -2
  300. package/types/components/Tabs/index.d.ts.map +1 -1
  301. package/types/components/Tabs/tokens.d.ts +2 -0
  302. package/types/components/Tabs/tokens.d.ts.map +1 -1
  303. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.d.ts.map +1 -1
  304. package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.d.ts +2 -2
  305. package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.d.ts.map +1 -1
  306. package/types/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.styles.d.ts.map +1 -1
  307. package/types/components/Tabs/ui/horizontal/HorizontalTabs/variations/_view/base.d.ts.map +1 -1
  308. package/types/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.styles.d.ts.map +1 -1
  309. package/types/examples/plasma_b2c/components/Slider/Slider.config.d.ts.map +1 -1
  310. package/types/examples/plasma_b2c/components/Slider/Slider.d.ts +80 -2
  311. package/types/examples/plasma_b2c/components/Slider/Slider.d.ts.map +1 -1
  312. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts +21 -6
  313. package/types/examples/plasma_b2c/components/Tabs/TabItem.d.ts.map +1 -1
  314. package/types/examples/plasma_b2c/components/Tabs/Tabs.d.ts +2 -2
  315. package/types/examples/plasma_b2c/components/Tabs/Tabs.d.ts.map +1 -1
  316. package/types/examples/plasma_b2c/components/Tabs/horizontal/HorizontalTabs.config.d.ts.map +1 -1
  317. package/types/examples/plasma_b2c/components/Tabs/vertical/VerticalTabs.config.d.ts.map +1 -1
  318. package/types/examples/plasma_web/components/Slider/Slider.config.d.ts.map +1 -1
  319. package/types/examples/plasma_web/components/Slider/Slider.d.ts +80 -2
  320. package/types/examples/plasma_web/components/Slider/Slider.d.ts.map +1 -1
  321. package/types/examples/plasma_web/components/Tabs/TabItem.d.ts +21 -6
  322. package/types/examples/plasma_web/components/Tabs/TabItem.d.ts.map +1 -1
  323. package/types/examples/plasma_web/components/Tabs/Tabs.d.ts +2 -2
  324. package/types/examples/plasma_web/components/Tabs/Tabs.d.ts.map +1 -1
  325. package/types/examples/plasma_web/components/Tabs/horizontal/HorizontalTabs.config.d.ts.map +1 -1
  326. package/types/examples/plasma_web/components/Tabs/vertical/VerticalTabs.config.d.ts.map +1 -1
  327. package/types/utils/index.d.ts +1 -1
  328. package/types/utils/index.d.ts.map +1 -1
  329. package/cjs/components/Slider/components/Single/Single.styles_1r9f1e0.css +0 -6
  330. package/cjs/components/Slider/components/SliderBase/SliderBase.styles_9s4eb3.css +0 -5
  331. package/cjs/components/Slider/ui/Handler/Handler.styles_8crx5z.css +0 -2
  332. package/cjs/components/Slider/ui/Thumb/Thumb.styles_4w4gzn.css +0 -1
  333. package/cjs/components/Slider/variations/_view/base_x642ct.css +0 -1
  334. package/es/components/Slider/components/Single/Single.styles_1r9f1e0.css +0 -6
  335. package/es/components/Slider/components/SliderBase/SliderBase.styles_9s4eb3.css +0 -5
  336. package/es/components/Slider/ui/Handler/Handler.styles_8crx5z.css +0 -2
  337. package/es/components/Slider/ui/Thumb/Thumb.styles_4w4gzn.css +0 -1
  338. package/es/components/Slider/variations/_view/base_x642ct.css +0 -1
@@ -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,I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AM,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;
@@ -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,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
+ {"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 +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;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
+ {"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,4 +1,8 @@
1
1
  /// <reference types="react" />
2
- export declare const HandlerStyled: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
- export declare const StyledValue: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & Record<never, unknown>>;
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
+ }>;
4
8
  //# 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,aAAa,qKAMzB,CAAC;AAEF,eAAO,MAAM,WAAW,uKAevB,CAAC"}
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"}
@@ -6,8 +6,10 @@ 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';
9
11
  bounds?: number[];
10
- xPosition?: number;
12
+ position?: number;
11
13
  zIndex?: number;
12
14
  disabled?: boolean;
13
15
  value?: number;
@@ -15,9 +17,11 @@ export interface HandlerProps {
15
17
  ariaValueMin?: number;
16
18
  hasHoverAnimation?: boolean;
17
19
  showCurrentValue?: boolean;
20
+ valuePlacement?: 'left' | 'right';
18
21
  startOffset?: number;
19
22
  endOffset?: number;
20
23
  onChange?(value: number, data: DraggableData): void;
24
+ onMouseDown?(): void;
21
25
  onMouseEnter?(): void;
22
26
  onMouseLeave?(): void;
23
27
  }
@@ -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,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,I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C,IAAI,IAAI,CAAC;CACzB"}
@@ -0,0 +1,12 @@
1
+ import { KeyboardEvent } from 'react';
2
+ import type { DraggableData } from 'react-draggable';
3
+ interface Params {
4
+ isVertical: boolean;
5
+ stepSize: number;
6
+ position: number;
7
+ max: number;
8
+ computedMultipleSteps: number;
9
+ }
10
+ export declare const computeKeyPressData: (event: KeyboardEvent<HTMLDivElement>, params: Params) => DraggableData | null;
11
+ export {};
12
+ //# sourceMappingURL=computeKeyPressData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"computeKeyPressData.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/ui/Handler/computeKeyPressData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAarD,UAAU,MAAM;IACZ,UAAU,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,MAAM,CAAC;IACZ,qBAAqB,EAAE,MAAM,CAAC;CACjC;AAkGD,eAAO,MAAM,mBAAmB,UAAW,cAAc,cAAc,CAAC,UAAU,MAAM,yBAQvF,CAAC"}
@@ -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, ...rest }: ThumbProps) => JSX.Element;
3
+ export declare const Thumb: ({ min, max, value, ariaValueMin, ariaLabel, disabled, orientation, ...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,oEAA2E,UAAU,gBAatG,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,iFASf,UAAU,gBAaZ,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;;EAyCrB,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;;EA0CrB,CAAC"}
@@ -8,5 +8,6 @@ export interface ThumbProps {
8
8
  ariaValueMin?: number;
9
9
  hasHoverAnimation?: boolean;
10
10
  disabled?: boolean;
11
+ orientation: 'horizontal' | 'vertical';
11
12
  }
12
13
  //# sourceMappingURL=Thumb.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Thumb.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/ui/Thumb/Thumb.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB"}
1
+ {"version":3,"file":"Thumb.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/ui/Thumb/Thumb.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACvB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,YAAY,GAAG,UAAU,CAAC;CAC1C"}
@@ -7,7 +7,7 @@ import { MutableRefObject } from 'react';
7
7
  * @param {number} max
8
8
  * @return {number}
9
9
  */
10
- export declare function getSliderThumbValue(handleCenterXRelative: number, stepSize: number, min: number, max: number): number;
10
+ export declare function getSliderThumbValue(handleCenterPosRelative: number, stepSize: number, min: number, max: number): number;
11
11
  /**
12
12
  * Расчитывает значение отступа слайдера на основе его положения (справа, слева) на отрезке слайдера.
13
13
  * Значение используется для правильного расчета ограничения движения слайдера.
@@ -15,19 +15,37 @@ export declare function getSliderThumbValue(handleCenterXRelative: number, stepS
15
15
  * @param {'left' | 'right'} side
16
16
  * @return Array<number>
17
17
  */
18
- export declare function getOffsets(ref: ((instance: HTMLDivElement | null) => void) | MutableRefObject<HTMLDivElement | null> | null, side?: 'left' | 'right'): number[];
18
+ export declare function getOffsets(ref: ((instance: HTMLDivElement | null) => void) | MutableRefObject<HTMLDivElement | null> | null, side?: 'left' | 'right', isVertical?: boolean): number[];
19
19
  export declare const sizeData: {
20
20
  s: {
21
- indent: number;
22
- fontSizeMultiplier: number;
21
+ small: {
22
+ indent: number;
23
+ fontSizeMultiplier: number;
24
+ };
25
+ large: {
26
+ indent: number;
27
+ fontSizeMultiplier: number;
28
+ };
23
29
  };
24
30
  m: {
25
- indent: number;
26
- fontSizeMultiplier: number;
31
+ small: {
32
+ indent: number;
33
+ fontSizeMultiplier: number;
34
+ };
35
+ large: {
36
+ indent: number;
37
+ fontSizeMultiplier: number;
38
+ };
27
39
  };
28
40
  l: {
29
- indent: number;
30
- fontSizeMultiplier: number;
41
+ small: {
42
+ indent: number;
43
+ fontSizeMultiplier: number;
44
+ };
45
+ large: {
46
+ indent: number;
47
+ fontSizeMultiplier: number;
48
+ };
31
49
  };
32
50
  };
33
51
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Slider/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAEzC;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,qBAAqB,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,UAI5G;AAED;;;;;;GAMG;AACH,wBAAgB,UAAU,CACtB,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAC,GAAG,gBAAgB,CAAC,cAAc,GAAG,IAAI,CAAC,GAAG,IAAI,EACjG,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GACxB,MAAM,EAAE,CAgBV;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;;;;CAapB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Slider/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAEzC;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,uBAAuB,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,UAI9G;AAED;;;;;;GAMG;AACH,wBAAgB,UAAU,CACtB,GAAG,EAAE,CAAC,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAC,GAAG,gBAAgB,CAAC,cAAc,GAAG,IAAI,CAAC,GAAG,IAAI,EACjG,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,EACvB,UAAU,CAAC,EAAE,OAAO,GACrB,MAAM,EAAE,CAgBV;AAED,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+BpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/variations/_view/base.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Slider/variations/_view/base.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAKhB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { ButtonHTMLAttributes, ReactNode } from 'react';
2
2
  import type { AsProps } from '../../types';
3
- declare type RightContent = {
3
+ export declare type RightContent = {
4
4
  /**
5
5
  * Значение таба
6
6
  */
@@ -29,10 +29,6 @@ export interface BaseTabItemProps extends ButtonHTMLAttributes<HTMLButtonElement
29
29
  * @default false
30
30
  */
31
31
  disabled?: boolean;
32
- /**
33
- * Контент слева
34
- */
35
- contentLeft?: ReactNode;
36
32
  /**
37
33
  * Контент справа
38
34
  */
@@ -51,13 +47,19 @@ export declare type CustomHorizontalTabItemProps = {
51
47
  * Расположение табов
52
48
  */
53
49
  orientation?: 'horizontal';
50
+ /**
51
+ * Контент слева
52
+ */
53
+ contentLeft?: ReactNode;
54
54
  /**
55
55
  * TabItem c округлым border-radius
56
+ * @deprecated
56
57
  * @default false
57
58
  */
58
59
  pilled?: boolean;
59
60
  /**
60
61
  * Фон TabItem меняется с анимацией
62
+ * @deprecated
61
63
  * @default true
62
64
  */
63
65
  animated?: boolean;
@@ -68,18 +70,59 @@ export declare type CustomHorizontalTabItemProps = {
68
70
  /**
69
71
  * Размер TabItem
70
72
  */
71
- size?: string;
73
+ size?: 'xs' | 's' | 'm' | 'l';
72
74
  /**
73
75
  * Активен ли TabItem
74
76
  * @deprecated Используйте свойство `selected`
75
77
  */
76
78
  isActive?: boolean;
77
79
  } & RightContent;
80
+ export declare type CustomHeaderTabItemProps = {
81
+ /**
82
+ * Расположение табов
83
+ */
84
+ orientation?: 'horizontal';
85
+ /**
86
+ * Контент слева
87
+ */
88
+ contentLeft?: never;
89
+ /**
90
+ * TabItem c округлым border-radius
91
+ * @deprecated
92
+ * @default false
93
+ */
94
+ pilled?: never;
95
+ /**
96
+ * Фон TabItem меняется с анимацией
97
+ * @deprecated
98
+ * @default true
99
+ */
100
+ animated?: never;
101
+ /**
102
+ * Вид TabItem
103
+ */
104
+ view?: string;
105
+ /**
106
+ * Размер TabItem
107
+ */
108
+ size: 'h5' | 'h4' | 'h3' | 'h2' | 'h1';
109
+ /**
110
+ * Активен ли TabItem
111
+ * @deprecated Используйте свойство `selected`
112
+ */
113
+ isActive?: never;
114
+ } & Extract<RightContent, {
115
+ contentRight?: never;
116
+ }>;
78
117
  export declare type CustomVerticalTabItemProps = {
79
118
  /**
80
119
  * Расположение табов
81
120
  */
82
121
  orientation: 'vertical';
122
+ /**
123
+ * Контент слева
124
+ */
125
+ contentLeft?: ReactNode;
83
126
  /**
84
127
  * Вид TabItem
85
128
  */
@@ -89,8 +132,7 @@ export declare type CustomVerticalTabItemProps = {
89
132
  */
90
133
  size?: string;
91
134
  } & RightContent;
92
- export declare type HorizontalTabItemProps = BaseTabItemProps & CustomHorizontalTabItemProps;
135
+ export declare type HorizontalTabItemProps = BaseTabItemProps & (CustomHorizontalTabItemProps | CustomHeaderTabItemProps);
93
136
  export declare type VerticalTabItemProps = BaseTabItemProps & CustomVerticalTabItemProps;
94
137
  export declare type TabItemProps = HorizontalTabItemProps | VerticalTabItemProps;
95
- export {};
96
138
  //# sourceMappingURL=TabItem.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TabItem.types.d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AY,GAAG,sBAAsB,GAAG,oBAAoB,CAAC"}
@@ -24,6 +24,11 @@ export declare type CustomHorizontalTabsProps = {
24
24
  * Расположение табов
25
25
  */
26
26
  orientation?: 'horizontal';
27
+ /**
28
+ * Наличие divider
29
+ * @default true
30
+ */
31
+ hasDivider?: boolean;
27
32
  /**
28
33
  * Табы растянуты на доступную область
29
34
  * @default false
@@ -31,6 +36,7 @@ export declare type CustomHorizontalTabsProps = {
31
36
  stretch?: boolean;
32
37
  /**
33
38
  * Табы c округлым border-radius
39
+ * @deprecated
34
40
  * @default false
35
41
  */
36
42
  pilled?: boolean;
@@ -41,7 +47,7 @@ export declare type CustomHorizontalTabsProps = {
41
47
  /**
42
48
  * Размер табов
43
49
  */
44
- size?: string;
50
+ size?: 'xs' | 's' | 'm' | 'l';
45
51
  /**
46
52
  * Уберет скругление с выбранной стороны и подвинет контейнер
47
53
  * @deprecated
@@ -51,6 +57,41 @@ export declare type CustomHorizontalTabsProps = {
51
57
  right?: string;
52
58
  };
53
59
  };
60
+ export declare type CustomHeaderTabsProps = {
61
+ /**
62
+ * Расположение табов
63
+ */
64
+ orientation?: 'horizontal';
65
+ /**
66
+ * Наличие divider
67
+ * @default true
68
+ */
69
+ hasDivider?: never;
70
+ /**
71
+ * Табы растянуты на доступную область
72
+ * @default false
73
+ */
74
+ stretch?: never;
75
+ /**
76
+ * Табы c округлым border-radius
77
+ * @deprecated
78
+ * @default false
79
+ */
80
+ pilled?: never;
81
+ /**
82
+ * Вид табов
83
+ */
84
+ view?: string;
85
+ /**
86
+ * Размер табов
87
+ */
88
+ size: 'h5' | 'h4' | 'h3' | 'h2' | 'h1';
89
+ /**
90
+ * Уберет скругление с выбранной стороны и подвинет контейнер
91
+ * @deprecated
92
+ */
93
+ outsideScroll?: never;
94
+ };
54
95
  export declare type CustomVerticalTabsProps = {
55
96
  /**
56
97
  * Расположение табов
@@ -70,7 +111,8 @@ export declare type CustomVerticalTabsProps = {
70
111
  */
71
112
  size?: string;
72
113
  };
73
- export declare type HorizontalTabsProps = BaseTabsProps & CustomHorizontalTabsProps;
114
+ export declare type HorizontalTabsProps = BaseTabsProps & (CustomHorizontalTabsProps | CustomHeaderTabsProps);
115
+ export declare type HorizontalCommonTabsProps = BaseTabsProps & CustomHorizontalTabsProps;
74
116
  export declare type VerticalTabsProps = BaseTabsProps & CustomVerticalTabsProps;
75
117
  export declare type TabsProps = HorizontalTabsProps | VerticalTabsProps;
76
118
  //# sourceMappingURL=Tabs.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.types.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/Tabs.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,WAAW,aAAc,SAAQ,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO;IAC1E;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC5B;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,oBAAY,yBAAyB,GAAG;IACpC;;OAEG;IACH,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC/D,CAAC;AAEF,oBAAY,uBAAuB,GAAG;IAClC;;OAEG;IACH,WAAW,EAA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AAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC/D,CAAC;AAEF,oBAAY,qBAAqB,GAAG;IAChC;;OAEG;IACH,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B;;;OAGG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,CAAC;IACf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACvC;;;OAGG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC;CACzB,CAAC;AAEF,oBAAY,uBAAuB,GAAG;IAClC;;OAEG;IACH,WAAW,EAAE,UAAU,CAAC;IACxB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,mBAAmB,GAAG,aAAa,GAAG,CAAC,yBAAyB,GAAG,qBAAqB,CAAC,CAAC;AAEtG,oBAAY,yBAAyB,GAAG,aAAa,GAAG,yBAAyB,CAAC;AAElF,oBAAY,iBAAiB,GAAG,aAAa,GAAG,uBAAuB,CAAC;AAExE,oBAAY,SAAS,GAAG,mBAAmB,GAAG,iBAAiB,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import React, { ForwardRefExoticComponent, RefAttributes } from 'react';
2
2
  import { HorizontalTabItemProps } from './TabItem.types';
3
- import { HorizontalTabsProps } from './Tabs.types';
4
- export interface TabsControllerProps extends HorizontalTabsProps {
3
+ import { HorizontalCommonTabsProps, HorizontalTabsProps } from './Tabs.types';
4
+ export interface TabsControllerProps extends HorizontalCommonTabsProps {
5
5
  items: Array<{
6
6
  label: string;
7
7
  } & HorizontalTabItemProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"createTabsController.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/createTabsController.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,yBAAyB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEpF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAEnD,MAAM,WAAW,mBAAoB,SAAQ,mBAAmB;IAC5D,KAAK,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,sBAAsB,CAAC,CAAC;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,cAAc,EAAE,CAAC,SAAS,mBAAmB,EACxF,aAAa,EAAE,yBAAyB,CAAC,mBAAmB,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC,EAC7F,aAAa,EAAE,yBAAyB,CAAC,sBAAsB,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC,sFAwBnG"}
1
+ {"version":3,"file":"createTabsController.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/createTabsController.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,yBAAyB,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEpF,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,yBAAyB,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAE9E,MAAM,WAAW,mBAAoB,SAAQ,yBAAyB;IAClE,KAAK,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,GAAG,sBAAsB,CAAC,CAAC;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,cAAc,EAAE,CAAC,SAAS,mBAAmB,EACxF,aAAa,EAAE,yBAAyB,CAAC,mBAAmB,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC,EAC7F,aAAa,EAAE,yBAAyB,CAAC,sBAAsB,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC,sFAwBnG"}
@@ -6,6 +6,6 @@ export { tokens as tabsTokens } from './tokens';
6
6
  export { TabItemRefs, TabsContext } from './TabsContext';
7
7
  export { createTabsController } from './createTabsController';
8
8
  export type { TabsControllerProps } from './createTabsController';
9
- export type { HorizontalTabsProps } from './Tabs.types';
10
- export type { HorizontalTabItemProps } from './TabItem.types';
9
+ export type { HorizontalTabsProps, BaseTabsProps } from './Tabs.types';
10
+ export type { HorizontalTabItemProps, BaseTabItemProps, RightContent } from './TabItem.types';
11
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAC;AACzG,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,qDAAqD,CAAC;AACrH,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC/F,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AAC3G,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,YAAY,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAClE,YAAY,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACxD,YAAY,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,+CAA+C,CAAC;AACzG,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,qDAAqD,CAAC;AACrH,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAC/F,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AAC3G,OAAO,EAAE,MAAM,IAAI,UAAU,EAAE,MAAM,UAAU,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,YAAY,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAClE,YAAY,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AACvE,YAAY,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC"}
@@ -33,6 +33,8 @@ export declare const tokens: {
33
33
  itemSelectedDividerColorHover: string;
34
34
  outlineFocusColor: string;
35
35
  arrowColor: string;
36
+ arrowColorHover: string;
37
+ arrowColorActive: string;
36
38
  tabsFilledBackgroundColor: string;
37
39
  tabsBackgroundColor: string;
38
40
  tabsBorderRadius: string;
@@ -1 +1 @@
1
- {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;CAiBnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwElB,CAAC"}
1
+ {"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;CAiBnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0ElB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"HorizontalTabItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiE,MAAM,OAAO,CAAC;AAGtF,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAInD,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAQhE,eAAO,MAAM,qBAAqB,SAAU,UAAU,cAAc,EAAE,sBAAsB,CAAC,kGA+GvF,CAAC;AAEP,eAAO,MAAM,uBAAuB;;;mBAjHQ,UAAU,cAAc,EAAE,sBAAsB,CAAC;;;;;;;;;;;;;;;;;;;;CAwI5F,CAAC"}
1
+ {"version":3,"file":"HorizontalTabItem.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiE,MAAM,OAAO,CAAC;AAGtF,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAInD,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAQhE,eAAO,MAAM,qBAAqB,SAAU,UAAU,cAAc,EAAE,sBAAsB,CAAC,kGAgHvF,CAAC;AAEP,eAAO,MAAM,uBAAuB;;;mBAlHQ,UAAU,cAAc,EAAE,sBAAsB,CAAC;;;;;;;;;;;;;;;;;;;;CAyI5F,CAAC"}