@salutejs/plasma-new-hope 0.82.1-canary.1210.9126725322.0 → 0.83.0-canary.1194.9157747369.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (332) hide show
  1. package/cjs/components/Combobox/hooks/useFocusController.js +1 -0
  2. package/cjs/components/Combobox/hooks/useFocusController.js.map +1 -1
  3. package/cjs/components/Slider/Slider.css +69 -0
  4. package/cjs/components/Slider/Slider.js +48 -0
  5. package/cjs/components/Slider/Slider.js.map +1 -0
  6. package/cjs/components/Slider/Slider.tokens.js +79 -0
  7. package/cjs/components/Slider/Slider.tokens.js.map +1 -0
  8. package/cjs/components/Slider/components/Double/Double.css +62 -0
  9. package/cjs/components/Slider/components/Double/Double.js +288 -0
  10. package/cjs/components/Slider/components/Double/Double.js.map +1 -0
  11. package/cjs/components/Slider/components/Double/Double.styles.js +61 -0
  12. package/cjs/components/Slider/components/Double/Double.styles.js.map +1 -0
  13. package/cjs/components/Slider/components/Double/Double.styles_1jhda4u.css +7 -0
  14. package/cjs/components/Slider/components/Single/Single.css +16 -0
  15. package/cjs/components/Slider/components/Single/Single.js +164 -0
  16. package/cjs/components/Slider/components/Single/Single.js.map +1 -0
  17. package/cjs/components/Slider/components/Single/Single.styles.js +45 -0
  18. package/cjs/components/Slider/components/Single/Single.styles.js.map +1 -0
  19. package/cjs/components/Slider/components/Single/Single.styles_1r9f1e0.css +6 -0
  20. package/cjs/components/Slider/components/SliderBase/SliderBase.css +4 -0
  21. package/cjs/components/Slider/components/SliderBase/SliderBase.js +82 -0
  22. package/cjs/components/Slider/components/SliderBase/SliderBase.js.map +1 -0
  23. package/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +33 -0
  24. package/cjs/components/Slider/components/SliderBase/SliderBase.styles.js.map +1 -0
  25. package/cjs/components/Slider/components/SliderBase/SliderBase.styles_7is2ll.css +4 -0
  26. package/cjs/components/Slider/ui/Handler/Handler.css +4 -0
  27. package/cjs/components/Slider/ui/Handler/Handler.js +174 -0
  28. package/cjs/components/Slider/ui/Handler/Handler.js.map +1 -0
  29. package/cjs/components/Slider/ui/Handler/Handler.styles.js +21 -0
  30. package/cjs/components/Slider/ui/Handler/Handler.styles.js.map +1 -0
  31. package/cjs/components/Slider/ui/Handler/Handler.styles_8crx5z.css +2 -0
  32. package/cjs/components/Slider/ui/Thumb/Thumb.css +1 -0
  33. package/cjs/components/Slider/ui/Thumb/Thumb.js +31 -0
  34. package/cjs/components/Slider/ui/Thumb/Thumb.js.map +1 -0
  35. package/cjs/components/Slider/ui/Thumb/Thumb.styles.js +15 -0
  36. package/cjs/components/Slider/ui/Thumb/Thumb.styles.js.map +1 -0
  37. package/cjs/components/Slider/ui/Thumb/Thumb.styles_4w4gzn.css +1 -0
  38. package/cjs/components/Slider/utils/index.js +56 -0
  39. package/cjs/components/Slider/utils/index.js.map +1 -0
  40. package/cjs/components/Slider/variations/_disabled/base.js +9 -0
  41. package/cjs/components/Slider/variations/_disabled/base.js.map +1 -0
  42. package/cjs/components/Slider/variations/_disabled/base_x642ct.css +1 -0
  43. package/cjs/components/Slider/variations/_size/base.js +9 -0
  44. package/cjs/components/Slider/variations/_size/base.js.map +1 -0
  45. package/cjs/components/Slider/variations/_size/base_x642ct.css +1 -0
  46. package/cjs/components/Slider/variations/_view/base.js +9 -0
  47. package/cjs/components/Slider/variations/_view/base.js.map +1 -0
  48. package/cjs/components/Slider/variations/_view/base_x642ct.css +1 -0
  49. package/cjs/components/TextField/TextField.js +12 -3
  50. package/cjs/components/TextField/TextField.js.map +1 -1
  51. package/cjs/engines/common.js +4 -0
  52. package/cjs/engines/common.js.map +1 -1
  53. package/cjs/engines/index.js.map +1 -1
  54. package/cjs/hooks/useIsomorphicLayoutEffect.js +15 -0
  55. package/cjs/hooks/useIsomorphicLayoutEffect.js.map +1 -0
  56. package/cjs/index.css +25 -0
  57. package/cjs/index.js +14 -0
  58. package/cjs/index.js.map +1 -1
  59. package/cjs/utils/canUseDOM.js +12 -0
  60. package/cjs/utils/canUseDOM.js.map +1 -0
  61. package/cjs/utils/index.js.map +1 -1
  62. package/es/components/Combobox/hooks/useFocusController.js +1 -0
  63. package/es/components/Combobox/hooks/useFocusController.js.map +1 -1
  64. package/es/components/Slider/Slider.css +69 -0
  65. package/es/components/Slider/Slider.js +43 -0
  66. package/es/components/Slider/Slider.js.map +1 -0
  67. package/es/components/Slider/Slider.tokens.js +74 -0
  68. package/es/components/Slider/Slider.tokens.js.map +1 -0
  69. package/es/components/Slider/components/Double/Double.css +62 -0
  70. package/es/components/Slider/components/Double/Double.js +284 -0
  71. package/es/components/Slider/components/Double/Double.js.map +1 -0
  72. package/es/components/Slider/components/Double/Double.styles.js +51 -0
  73. package/es/components/Slider/components/Double/Double.styles.js.map +1 -0
  74. package/es/components/Slider/components/Double/Double.styles_1jhda4u.css +7 -0
  75. package/es/components/Slider/components/Single/Single.css +16 -0
  76. package/es/components/Slider/components/Single/Single.js +160 -0
  77. package/es/components/Slider/components/Single/Single.js.map +1 -0
  78. package/es/components/Slider/components/Single/Single.styles.js +36 -0
  79. package/es/components/Slider/components/Single/Single.styles.js.map +1 -0
  80. package/es/components/Slider/components/Single/Single.styles_1r9f1e0.css +6 -0
  81. package/es/components/Slider/components/SliderBase/SliderBase.css +4 -0
  82. package/es/components/Slider/components/SliderBase/SliderBase.js +78 -0
  83. package/es/components/Slider/components/SliderBase/SliderBase.js.map +1 -0
  84. package/es/components/Slider/components/SliderBase/SliderBase.styles.js +26 -0
  85. package/es/components/Slider/components/SliderBase/SliderBase.styles.js.map +1 -0
  86. package/es/components/Slider/components/SliderBase/SliderBase.styles_7is2ll.css +4 -0
  87. package/es/components/Slider/ui/Handler/Handler.css +4 -0
  88. package/es/components/Slider/ui/Handler/Handler.js +170 -0
  89. package/es/components/Slider/ui/Handler/Handler.js.map +1 -0
  90. package/es/components/Slider/ui/Handler/Handler.styles.js +16 -0
  91. package/es/components/Slider/ui/Handler/Handler.styles.js.map +1 -0
  92. package/es/components/Slider/ui/Handler/Handler.styles_8crx5z.css +2 -0
  93. package/es/components/Slider/ui/Thumb/Thumb.css +1 -0
  94. package/es/components/Slider/ui/Thumb/Thumb.js +27 -0
  95. package/es/components/Slider/ui/Thumb/Thumb.js.map +1 -0
  96. package/es/components/Slider/ui/Thumb/Thumb.styles.js +11 -0
  97. package/es/components/Slider/ui/Thumb/Thumb.styles.js.map +1 -0
  98. package/es/components/Slider/ui/Thumb/Thumb.styles_4w4gzn.css +1 -0
  99. package/es/components/Slider/utils/index.js +50 -0
  100. package/es/components/Slider/utils/index.js.map +1 -0
  101. package/es/components/Slider/variations/_disabled/base.js +5 -0
  102. package/es/components/Slider/variations/_disabled/base.js.map +1 -0
  103. package/es/components/Slider/variations/_disabled/base_x642ct.css +1 -0
  104. package/es/components/Slider/variations/_size/base.js +5 -0
  105. package/es/components/Slider/variations/_size/base.js.map +1 -0
  106. package/es/components/Slider/variations/_size/base_x642ct.css +1 -0
  107. package/es/components/Slider/variations/_view/base.js +5 -0
  108. package/es/components/Slider/variations/_view/base.js.map +1 -0
  109. package/es/components/Slider/variations/_view/base_x642ct.css +1 -0
  110. package/es/components/TextField/TextField.js +12 -3
  111. package/es/components/TextField/TextField.js.map +1 -1
  112. package/es/engines/common.js +4 -0
  113. package/es/engines/common.js.map +1 -1
  114. package/es/engines/index.js.map +1 -1
  115. package/es/hooks/useIsomorphicLayoutEffect.js +11 -0
  116. package/es/hooks/useIsomorphicLayoutEffect.js.map +1 -0
  117. package/es/index.css +25 -0
  118. package/es/index.js +8 -0
  119. package/es/index.js.map +1 -1
  120. package/es/utils/canUseDOM.js +8 -0
  121. package/es/utils/canUseDOM.js.map +1 -0
  122. package/es/utils/index.js.map +1 -1
  123. package/package.json +3 -2
  124. package/styled-components/cjs/components/Avatar/Avatar.template-doc.mdx +1 -3
  125. package/styled-components/cjs/components/Badge/Badge.template-doc.mdx +9 -9
  126. package/styled-components/cjs/components/Button/Button.template-doc.mdx +9 -8
  127. package/styled-components/cjs/components/Checkbox/Checkbox.template-doc.mdx +2 -2
  128. package/styled-components/cjs/components/Chip/Chip.template-doc.mdx +1 -1
  129. package/styled-components/cjs/components/Combobox/Combobox.template-doc.mdx +14 -14
  130. package/styled-components/cjs/components/Counter/Counter.template-doc.mdx +5 -5
  131. package/styled-components/cjs/components/Drawer/Drawer.template-doc.mdx +3 -3
  132. package/styled-components/cjs/components/Dropdown/Dropdown.template-doc.mdx +261 -262
  133. package/styled-components/cjs/components/Image/Image.template-doc.mdx +1 -1
  134. package/styled-components/cjs/components/Link/Link.template-doc.mdx +4 -4
  135. package/styled-components/cjs/components/Modal/Modal.template-doc.mdx +33 -85
  136. package/styled-components/cjs/components/Notification/Notification.template-doc.mdx +2 -1
  137. package/styled-components/cjs/components/Popover/Popover.template-doc.mdx +3 -3
  138. package/styled-components/cjs/components/Popup/Popup.template-doc.mdx +74 -70
  139. package/styled-components/cjs/components/Radiobox/Radiobox.template-doc.mdx +1 -2
  140. package/styled-components/cjs/components/Segment/Segment.template-doc.mdx +2 -2
  141. package/styled-components/cjs/components/Skeleton/Skeleton.template-doc.mdx +4 -4
  142. package/styled-components/cjs/components/Slider/Slider.js +47 -0
  143. package/styled-components/cjs/components/Slider/Slider.tokens.js +77 -0
  144. package/styled-components/cjs/components/Slider/Slider.types.js +5 -0
  145. package/styled-components/cjs/components/Slider/components/Double/Double.js +300 -0
  146. package/styled-components/cjs/components/Slider/components/Double/Double.styles.js +36 -0
  147. package/styled-components/cjs/components/Slider/components/Double/Double.types.js +5 -0
  148. package/styled-components/cjs/components/Slider/components/Single/Single.js +176 -0
  149. package/styled-components/cjs/components/Slider/components/Single/Single.styles.js +27 -0
  150. package/styled-components/cjs/components/Slider/components/Single/Single.types.js +5 -0
  151. package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.js +83 -0
  152. package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +21 -0
  153. package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.types.js +5 -0
  154. package/styled-components/cjs/components/Slider/components/index.js +27 -0
  155. package/styled-components/cjs/components/Slider/index.js +32 -0
  156. package/styled-components/cjs/components/Slider/ui/Handler/Handler.js +183 -0
  157. package/styled-components/cjs/components/Slider/ui/Handler/Handler.styles.js +15 -0
  158. package/styled-components/cjs/components/Slider/ui/Handler/Handler.types.js +5 -0
  159. package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.js +32 -0
  160. package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.styles.js +18 -0
  161. package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.types.js +5 -0
  162. package/styled-components/cjs/components/Slider/ui/index.js +63 -0
  163. package/styled-components/cjs/components/Slider/utils/index.js +55 -0
  164. package/styled-components/cjs/components/Slider/variations/_disabled/base.js +8 -0
  165. package/styled-components/cjs/components/Slider/variations/_disabled/tokens.json +4 -0
  166. package/styled-components/cjs/components/Slider/variations/_size/base.js +8 -0
  167. package/styled-components/cjs/components/Slider/variations/_size/tokens.json +0 -0
  168. package/styled-components/cjs/components/Slider/variations/_view/base.js +8 -0
  169. package/styled-components/cjs/components/Slider/variations/_view/tokens.json +0 -0
  170. package/styled-components/cjs/components/Tabs/Tabs.template-doc.mdx +1 -1
  171. package/styled-components/cjs/components/TextField/TextField.js +12 -3
  172. package/styled-components/cjs/components/TextField/TextField.template-doc.mdx +2 -2
  173. package/styled-components/cjs/engines/common.js +4 -0
  174. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.config.js +29 -0
  175. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.js +16 -0
  176. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.stories.tsx +164 -0
  177. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.config.js +29 -0
  178. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.js +16 -0
  179. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.stories.tsx +163 -0
  180. package/styled-components/cjs/hooks/index.js +8 -1
  181. package/styled-components/cjs/hooks/useIsomorphicLayoutEffect.js +12 -0
  182. package/styled-components/cjs/index.js +11 -0
  183. package/styled-components/cjs/utils/canUseDOM.js +11 -0
  184. package/styled-components/cjs/utils/index.js +7 -0
  185. package/styled-components/es/components/Avatar/Avatar.template-doc.mdx +1 -3
  186. package/styled-components/es/components/Badge/Badge.template-doc.mdx +9 -9
  187. package/styled-components/es/components/Button/Button.template-doc.mdx +9 -8
  188. package/styled-components/es/components/Checkbox/Checkbox.template-doc.mdx +2 -2
  189. package/styled-components/es/components/Chip/Chip.template-doc.mdx +1 -1
  190. package/styled-components/es/components/Combobox/Combobox.template-doc.mdx +14 -14
  191. package/styled-components/es/components/Counter/Counter.template-doc.mdx +5 -5
  192. package/styled-components/es/components/Drawer/Drawer.template-doc.mdx +3 -3
  193. package/styled-components/es/components/Dropdown/Dropdown.template-doc.mdx +261 -262
  194. package/styled-components/es/components/Image/Image.template-doc.mdx +1 -1
  195. package/styled-components/es/components/Link/Link.template-doc.mdx +4 -4
  196. package/styled-components/es/components/Modal/Modal.template-doc.mdx +33 -85
  197. package/styled-components/es/components/Notification/Notification.template-doc.mdx +2 -1
  198. package/styled-components/es/components/Popover/Popover.template-doc.mdx +3 -3
  199. package/styled-components/es/components/Popup/Popup.template-doc.mdx +74 -70
  200. package/styled-components/es/components/Radiobox/Radiobox.template-doc.mdx +1 -2
  201. package/styled-components/es/components/Segment/Segment.template-doc.mdx +2 -2
  202. package/styled-components/es/components/Skeleton/Skeleton.template-doc.mdx +4 -4
  203. package/styled-components/es/components/Slider/Slider.js +38 -0
  204. package/styled-components/es/components/Slider/Slider.tokens.js +71 -0
  205. package/styled-components/es/components/Slider/Slider.types.js +1 -0
  206. package/styled-components/es/components/Slider/components/Double/Double.js +292 -0
  207. package/styled-components/es/components/Slider/components/Double/Double.styles.js +29 -0
  208. package/styled-components/es/components/Slider/components/Double/Double.types.js +1 -0
  209. package/styled-components/es/components/Slider/components/Single/Single.js +168 -0
  210. package/styled-components/es/components/Slider/components/Single/Single.styles.js +20 -0
  211. package/styled-components/es/components/Slider/components/Single/Single.types.js +1 -0
  212. package/styled-components/es/components/Slider/components/SliderBase/SliderBase.js +74 -0
  213. package/styled-components/es/components/Slider/components/SliderBase/SliderBase.styles.js +14 -0
  214. package/styled-components/es/components/Slider/components/SliderBase/SliderBase.types.js +1 -0
  215. package/styled-components/es/components/Slider/components/index.js +3 -0
  216. package/styled-components/es/components/Slider/index.js +3 -0
  217. package/styled-components/es/components/Slider/ui/Handler/Handler.js +174 -0
  218. package/styled-components/es/components/Slider/ui/Handler/Handler.styles.js +8 -0
  219. package/styled-components/es/components/Slider/ui/Handler/Handler.types.js +1 -0
  220. package/styled-components/es/components/Slider/ui/Thumb/Thumb.js +25 -0
  221. package/styled-components/es/components/Slider/ui/Thumb/Thumb.styles.js +11 -0
  222. package/styled-components/es/components/Slider/ui/Thumb/Thumb.types.js +1 -0
  223. package/styled-components/es/components/Slider/ui/index.js +5 -0
  224. package/styled-components/es/components/Slider/utils/index.js +47 -0
  225. package/styled-components/es/components/Slider/variations/_disabled/base.js +2 -0
  226. package/styled-components/es/components/Slider/variations/_disabled/tokens.json +4 -0
  227. package/styled-components/es/components/Slider/variations/_size/base.js +2 -0
  228. package/styled-components/es/components/Slider/variations/_size/tokens.json +0 -0
  229. package/styled-components/es/components/Slider/variations/_view/base.js +2 -0
  230. package/styled-components/es/components/Slider/variations/_view/tokens.json +0 -0
  231. package/styled-components/es/components/Tabs/Tabs.template-doc.mdx +1 -1
  232. package/styled-components/es/components/TextField/TextField.js +12 -3
  233. package/styled-components/es/components/TextField/TextField.template-doc.mdx +2 -2
  234. package/styled-components/es/engines/common.js +4 -0
  235. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.config.js +23 -0
  236. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.js +10 -0
  237. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.stories.tsx +164 -0
  238. package/styled-components/es/examples/plasma_web/components/Slider/Slider.config.js +23 -0
  239. package/styled-components/es/examples/plasma_web/components/Slider/Slider.js +10 -0
  240. package/styled-components/es/examples/plasma_web/components/Slider/Slider.stories.tsx +163 -0
  241. package/styled-components/es/hooks/index.js +2 -1
  242. package/styled-components/es/hooks/useIsomorphicLayoutEffect.js +7 -0
  243. package/styled-components/es/index.js +2 -1
  244. package/styled-components/es/utils/canUseDOM.js +5 -0
  245. package/styled-components/es/utils/index.js +1 -0
  246. package/types/components/Slider/Slider.d.ts +27 -0
  247. package/types/components/Slider/Slider.d.ts.map +1 -0
  248. package/types/components/Slider/Slider.tokens.d.ts +72 -0
  249. package/types/components/Slider/Slider.tokens.d.ts.map +1 -0
  250. package/types/components/Slider/Slider.types.d.ts +3 -0
  251. package/types/components/Slider/Slider.types.d.ts.map +1 -0
  252. package/types/components/Slider/components/Double/Double.d.ts +4 -0
  253. package/types/components/Slider/components/Double/Double.d.ts.map +1 -0
  254. package/types/components/Slider/components/Double/Double.styles.d.ts +43 -0
  255. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -0
  256. package/types/components/Slider/components/Double/Double.types.d.ts +65 -0
  257. package/types/components/Slider/components/Double/Double.types.d.ts.map +1 -0
  258. package/types/components/Slider/components/Single/Single.d.ts +4 -0
  259. package/types/components/Slider/components/Single/Single.d.ts.map +1 -0
  260. package/types/components/Slider/components/Single/Single.styles.d.ts +8 -0
  261. package/types/components/Slider/components/Single/Single.styles.d.ts.map +1 -0
  262. package/types/components/Slider/components/Single/Single.types.d.ts +55 -0
  263. package/types/components/Slider/components/Single/Single.types.d.ts.map +1 -0
  264. package/types/components/Slider/components/SliderBase/SliderBase.d.ts +4 -0
  265. package/types/components/Slider/components/SliderBase/SliderBase.d.ts.map +1 -0
  266. package/types/components/Slider/components/SliderBase/SliderBase.styles.d.ts +6 -0
  267. package/types/components/Slider/components/SliderBase/SliderBase.styles.d.ts.map +1 -0
  268. package/types/components/Slider/components/SliderBase/SliderBase.types.d.ts +45 -0
  269. package/types/components/Slider/components/SliderBase/SliderBase.types.d.ts.map +1 -0
  270. package/types/components/Slider/components/index.d.ts +6 -0
  271. package/types/components/Slider/components/index.d.ts.map +1 -0
  272. package/types/components/Slider/index.d.ts +6 -0
  273. package/types/components/Slider/index.d.ts.map +1 -0
  274. package/types/components/Slider/ui/Handler/Handler.d.ts +9 -0
  275. package/types/components/Slider/ui/Handler/Handler.d.ts.map +1 -0
  276. package/types/components/Slider/ui/Handler/Handler.styles.d.ts +4 -0
  277. package/types/components/Slider/ui/Handler/Handler.styles.d.ts.map +1 -0
  278. package/types/components/Slider/ui/Handler/Handler.types.d.ts +24 -0
  279. package/types/components/Slider/ui/Handler/Handler.types.d.ts.map +1 -0
  280. package/types/components/Slider/ui/Thumb/Thumb.d.ts +4 -0
  281. package/types/components/Slider/ui/Thumb/Thumb.d.ts.map +1 -0
  282. package/types/components/Slider/ui/Thumb/Thumb.styles.d.ts +5 -0
  283. package/types/components/Slider/ui/Thumb/Thumb.styles.d.ts.map +1 -0
  284. package/types/components/Slider/ui/Thumb/Thumb.types.d.ts +12 -0
  285. package/types/components/Slider/ui/Thumb/Thumb.types.d.ts.map +1 -0
  286. package/types/components/Slider/ui/index.d.ts +6 -0
  287. package/types/components/Slider/ui/index.d.ts.map +1 -0
  288. package/types/components/Slider/utils/index.d.ts +33 -0
  289. package/types/components/Slider/utils/index.d.ts.map +1 -0
  290. package/types/components/Slider/variations/_disabled/base.d.ts +2 -0
  291. package/types/components/Slider/variations/_disabled/base.d.ts.map +1 -0
  292. package/types/components/Slider/variations/_size/base.d.ts +2 -0
  293. package/types/components/Slider/variations/_size/base.d.ts.map +1 -0
  294. package/types/components/Slider/variations/_view/base.d.ts +2 -0
  295. package/types/components/Slider/variations/_view/base.d.ts.map +1 -0
  296. package/types/components/TextField/TextField.d.ts.map +1 -1
  297. package/types/engines/common.d.ts +3 -3
  298. package/types/engines/common.d.ts.map +1 -1
  299. package/types/engines/index.d.ts +1 -1
  300. package/types/engines/index.d.ts.map +1 -1
  301. package/types/engines/types.d.ts +4 -0
  302. package/types/engines/types.d.ts.map +1 -1
  303. package/types/examples/plasma_b2c/components/Slider/Slider.config.d.ts +22 -0
  304. package/types/examples/plasma_b2c/components/Slider/Slider.config.d.ts.map +1 -0
  305. package/types/examples/plasma_b2c/components/Slider/Slider.d.ts +21 -0
  306. package/types/examples/plasma_b2c/components/Slider/Slider.d.ts.map +1 -0
  307. package/types/examples/plasma_web/components/Slider/Slider.config.d.ts +22 -0
  308. package/types/examples/plasma_web/components/Slider/Slider.config.d.ts.map +1 -0
  309. package/types/examples/plasma_web/components/Slider/Slider.d.ts +21 -0
  310. package/types/examples/plasma_web/components/Slider/Slider.d.ts.map +1 -0
  311. package/types/hooks/index.d.ts +1 -0
  312. package/types/hooks/index.d.ts.map +1 -1
  313. package/types/hooks/useIsomorphicLayoutEffect.d.ts +6 -0
  314. package/types/hooks/useIsomorphicLayoutEffect.d.ts.map +1 -0
  315. package/types/index.d.ts +1 -0
  316. package/types/index.d.ts.map +1 -1
  317. package/types/utils/canUseDOM.d.ts +6 -0
  318. package/types/utils/canUseDOM.d.ts.map +1 -0
  319. package/types/utils/index.d.ts +1 -0
  320. package/types/utils/index.d.ts.map +1 -1
  321. package/styled-components/cjs/components/Cell/Cell.template-doc.mdx +0 -68
  322. package/styled-components/cjs/components/Divider/Divider.template-docs.mdx +0 -57
  323. package/styled-components/cjs/components/IconButton/IconButton.template-doc.mdx +0 -156
  324. package/styled-components/cjs/components/Pagination/Pagination.template-doc.mdx +0 -130
  325. package/styled-components/cjs/components/Progress/Progress.template-doc.mdx +0 -33
  326. package/styled-components/cjs/components/Toolbar/Toolbar.template-doc.mdx +0 -120
  327. package/styled-components/es/components/Cell/Cell.template-doc.mdx +0 -68
  328. package/styled-components/es/components/Divider/Divider.template-docs.mdx +0 -57
  329. package/styled-components/es/components/IconButton/IconButton.template-doc.mdx +0 -156
  330. package/styled-components/es/components/Pagination/Pagination.template-doc.mdx +0 -130
  331. package/styled-components/es/components/Progress/Progress.template-doc.mdx +0 -33
  332. package/styled-components/es/components/Toolbar/Toolbar.template-doc.mdx +0 -120
@@ -11,98 +11,46 @@ import { PropsTable, Description } from '@site/src/components';
11
11
 
12
12
  ## Использование
13
13
 
14
- Перед использованием убедитесь, что `PopupProvider` подключен.
15
- Компонент Modal во многом схож с Popup, добавляет при этом подложку(`overlay`), а также блокирует scroll и focus.
14
+ ### Провайдер контекста
15
+ Поместите `ModalsProvider` в [корень приложения](../../#корень-приложения) или там, где будете применять модальные окна:
16
16
 
17
- ```tsx live
18
- import React, { useState } from 'react';
19
- import { surfaceSolidSecondary } from '@salutejs/{{ vertical }}/tokens';
20
- import { SSRProvider, Button, Modal, PopupProvider } from '@salutejs/{{ package }}';
17
+ ```tsx title="index.ts"
18
+ import ReactDOM from 'react-dom';
19
+ import { ModalsProvider } from '@salutejs/{{ package }}';
21
20
 
22
- export function App() {
23
- const [isOpenA, setIsOpenA] = useState(false);
24
- const [isOpenB, setIsOpenB] = useState(false);
21
+ import { App } from './App';
25
22
 
26
- return (
27
- <SSRProvider>
28
- <PopupProvider>
29
- <div style=\{{ height: "300px" }}>
30
- <div style=\{{ display: 'flex', flexDirection: 'column' }}>
31
- <Button text="Открыть A" onClick={() => setIsOpenA(true)} />
32
- </div>
33
- <Modal
34
- id="modalA"
35
- onClose={() => setIsOpenA(false)}
36
- isOpen={isOpenA}
37
- placement="center"
38
- offset={[0, 0]}
39
- >
40
- <div style=\{{ background: `${surfaceSolidSecondary}`, padding: "1rem" }}>
41
- <Button onClick={() => setIsOpenA(false)}>Close</Button>
42
- <Button text="Открыть B" onClick={() => setIsOpenB(true)} />
43
- Content
44
- </div>
45
- <Modal
46
- id="modalB"
47
- onClose={() => setIsOpenB(false)}
48
- isOpen={isOpenB}
49
- placement="right"
50
- offset={[0, 0]}
51
- >
52
- <div style=\{{ background: `${surfaceSolidSecondary}`, padding: "1rem" }}>
53
- <Button onClick={() => setIsOpenB(false)}>Close</Button>
54
- Content
55
- </div>
56
- </Modal>
57
- </Modal>
58
- </div>
59
- </PopupProvider>
60
- </SSRProvider>
61
- );
62
- }
23
+ ReactDOM.render(
24
+ <ModalsProvider>
25
+ <App />
26
+ </ModalsProvider>,
27
+ document.getElementById('root')
28
+ );
63
29
  ```
64
30
 
65
- ## Подключение анимации
66
- Подключение анимации аналогично тому, как это происходит в `Popup` - через свойство `withAnimation`(управление через `popupClasses`, `modalClasses`).
67
- Для добавления анимации в оверлей необходимо использовать класс `.modal-overlay` через переменную `modalClasses.overlay` из пакета.
68
-
69
- Пример:
70
-
71
- ```tsx
72
- import styled from 'styled-components';
73
- import { Modal } from '@salutejs/{{ package }}';
74
-
75
- const StyledModal = styled(Modal)`
76
- && > .${popupClasses.root}, .${modalClasses.overlay} {
77
- animation: fadeIn 1s forwards;
78
- }
31
+ ### Вызов модального окна
32
+ После подключения `ModalsProvider` поместите компонент `Modal` туда, где необходимо применить модальное окно:
79
33
 
80
- &&.${popupClasses.endAnimation} .${popupClasses.root} {
81
- animation: fadeOut 1s forwards;
82
- }
83
-
84
- &&.${popupClasses.endAnimation} .${modalClasses.overlay} {
85
- animation: fadeOut 1s forwards;
86
- }
87
-
88
- @keyframes fadeIn {
89
- from {
90
- opacity: 0;
91
- }
34
+ ```tsx live
35
+ import React from 'react';
36
+ import { Modal, Headline3, P1, Button } from '@salutejs/{{ package }}';
92
37
 
93
- to {
94
- opacity: 1;
95
- }
96
- }
38
+ export function App() {
39
+ const [isOpen, setIsOpen] = React.useState(false);
97
40
 
98
- @keyframes fadeOut {
99
- from {
100
- opacity: 1;
101
- }
41
+ const close = React.useCallback(() => {
42
+ setIsOpen(false);
43
+ }, []);
102
44
 
103
- to {
104
- opacity: 0;
105
- }
106
- }
107
- `;
45
+ return (
46
+ <div>
47
+ <Button text="Открыть модальное окно" onClick={() => setIsOpen(!isOpen)} />
48
+ <Modal isOpen={isOpen} onClose={close}>
49
+ <Headline3 mb={10}>Модальное окно</Headline3>
50
+ <P1>Содержимое модального окна.</P1>
51
+ <Button text="Закрыть" onClick={close} />
52
+ </Modal>
53
+ </div>
54
+ );
55
+ }
108
56
  ```
@@ -34,7 +34,8 @@ ReactDOM.render(
34
34
  ```
35
35
 
36
36
  ### Вызов уведомления
37
- После подключения `NotificationsProvider` станет возможен вызов функции `addNotification`,который приведет к отображению оповещения.
37
+ После подключения `NotificationsProvider` станет возможен вызов функции `addNotification`,
38
+ который приведет к отображению оповещения.
38
39
  Функция принимает значения свойств компонента `Notification`:
39
40
 
40
41
  ```tsx live
@@ -12,7 +12,7 @@ import { PropsTable, Description } from '@site/src/components';
12
12
  ```tsx live
13
13
  import React from 'react';
14
14
  import styled from "styled-components";
15
- import { surfaceSolidTertiary } from "@salutejs/{{ vertical }}/tokens";
15
+ import { surfaceSolid03 } from "@salutejs/plasma-tokens/brands/{{ theme }}";
16
16
  import { Popover, Button } from '@salutejs/{{ package }}';
17
17
 
18
18
  export function App() {
@@ -26,7 +26,7 @@ export function App() {
26
26
  position: absolute;
27
27
  width: 0.5rem;
28
28
  height: 0.5rem;
29
- background: ${surfaceSolidTertiary};
29
+ background: ${surfaceSolid03};
30
30
  }
31
31
 
32
32
  &::before {
@@ -37,7 +37,7 @@ export function App() {
37
37
  `;
38
38
 
39
39
  const StyledContent = styled.div`
40
- background: ${surfaceSolidTertiary};
40
+ background: ${surfaceSolid03};
41
41
  padding: 1rem;
42
42
 
43
43
  display: flex;
@@ -1,79 +1,45 @@
1
1
  ---
2
- id: popup
3
- title: Popup
2
+ id: popupBase
3
+ title: PopupBase
4
4
  ---
5
5
 
6
6
  import { PropsTable, Description } from '@site/src/components';
7
7
 
8
- # Popup
9
- <Description name="Popup" />
10
- <PropsTable name="Popup" />
8
+ # PopupBase
9
+ <Description name="PopupBase" />
10
+ <PropsTable name="PopupBase" />
11
11
 
12
12
  ### Провайдер контекста
13
13
 
14
- Поместите `PopupProvider` в [корень приложения](../../#корень-приложения) или там, где будете применять Popup:
14
+ Поместите `PopupBaseProvider` в [корень приложения](../../#корень-приложения) или там, где будете применять PopupBase:
15
15
 
16
16
  ```tsx title="index.ts"
17
17
  import ReactDOM from 'react-dom';
18
- import { PopupProvider } from '@salutejs/sdds-serv';
18
+ import { PopupBaseProvider } from '@salutejs/{{ package }}';
19
19
 
20
20
  import { App } from './App';
21
21
 
22
22
  ReactDOM.render(
23
- <PopupProvider>
23
+ <PopupBaseProvider>
24
24
  <App />
25
- </PopupProvider>,
25
+ </PopupBaseProvider>,
26
26
  document.getElementById('root')
27
27
  );
28
28
  ```
29
29
 
30
30
  ### Использование
31
31
 
32
- Popup можно использовать как и на всем окне, так и в отдельном фрейме - свойство `frame`.
33
-
32
+ PopupBase можно использовать как и на всем окне, так и в отдельном фрейме - свойство `frame`.
34
33
  Также это свойство поддерживает передачу id элемента, в котором будет использоваться компонент.
35
-
36
34
  Само позиционирование можно указать с помощью свойства `placement`(center - по умолчанию; left, right, top, bottom и их комбинации),
37
- а также определить отступы от точки с помощью `offset`.
35
+ а также определить отступы от точки с помощью `offset`.
38
36
 
39
37
  ```tsx live
40
38
  import React, { useRef } from 'react';
41
- import styled from 'styled-components';
42
- import { surfaceSolidTertiary, surfaceSolidSecondary } from '@salutejs/{{ vertical }}/tokens';
43
-
44
- import { SSRProvider, Button, Popup, PopupProvider } from '@salutejs/{{ package }}';
39
+ import { surfaceSolid03, surfaceSolid02 } from '@salutejs/plasma-tokens/brands/{{ theme }}';
40
+ import { SSRProvider, Button, PopupBase, PopupBaseProvider } from '@salutejs/{{ package }}';
45
41
 
46
42
  export function App() {
47
- const StyledButton = styled(Button)`
48
- margin-top: 1rem;
49
- width: 15rem;
50
- `;
51
-
52
- const StyledWrapper = styled.div`
53
- height: 500px;
54
- `;
55
-
56
- const OtherContent = styled.div`
57
- margin-top: 1rem;
58
- width: 400px;
59
- height: 500px;
60
- background: ${surfaceSolidTertiary};
61
- position: absolute;
62
-
63
- display: flex;
64
- align-items: flex-start;
65
- justify-content: center;
66
- padding: 1rem;
67
-
68
- bottom: 0;
69
- right: 0;
70
- `;
71
-
72
- const Content = styled.div`
73
- background: ${surfaceSolidSecondary};
74
- padding: 1rem;
75
- `;
76
-
77
43
  const [isOpenA, setIsOpenA] = React.useState(false);
78
44
  const [isOpenB, setIsOpenB] = React.useState(false);
79
45
 
@@ -81,28 +47,59 @@ export function App() {
81
47
 
82
48
  return (
83
49
  <SSRProvider>
84
- <PopupProvider>
85
- <StyledWrapper>
50
+ <PopupBaseProvider>
51
+ <div style=\{{height: "500px"}}>
86
52
  <div style=\{{ display: 'flex', flexDirection: 'column' }}>
87
- <StyledButton text="Открыть в document" onClick={() => setIsOpenB(true)} />
88
- <StyledButton text="Открыть во Frame" onClick={() => setIsOpenA(true)} />
53
+ <Button
54
+ style=\{{
55
+ marginTop: "1rem",
56
+ width: "15rem"
57
+ }}
58
+ text="Открыть в document"
59
+ onClick={() => setIsOpenB(true)}
60
+ />
61
+ <Button
62
+ style=\{{
63
+ marginTop: "1rem",
64
+ width: "15rem"
65
+ }}
66
+ text="Открыть во Frame"
67
+ onClick={() => setIsOpenA(true)}
68
+ />
89
69
  </div>
90
- <Popup
70
+ <PopupBase
91
71
  id="popupA"
92
72
  frame={ref}
93
73
  isOpen={isOpenA}
94
74
  placement="center"
95
75
  offset={[0, 0]}
96
76
  >
97
- <Content>
77
+ <div style=\{{ background: surfaceSolid02, padding: "1rem" }}>
98
78
  <Button onClick={() => setIsOpenA(false)}>Close</Button>
99
79
  <>Content</>
100
- </Content>
101
- </Popup>
102
- <OtherContent ref={ref}>
80
+ </div>
81
+ </PopupBase>
82
+ <div
83
+ ref={ref}
84
+ style=\{{
85
+ marginTop: "1rem",
86
+ width: "400px",
87
+ height: "500px",
88
+ background: surfaceSolid03,
89
+ position: "absolute",
90
+
91
+ display: "flex",
92
+ alignItems: "flex-start",
93
+ justifyContent: "center",
94
+ padding: "1rem",
95
+
96
+ bottom: 0,
97
+ right: 0
98
+ }}
99
+ >
103
100
  <>Frame</>
104
- </OtherContent>
105
- <Popup
101
+ </div>
102
+ <PopupBase
106
103
  id="popupB"
107
104
  frame="document"
108
105
  isOpen={isOpenB}
@@ -113,9 +110,9 @@ export function App() {
113
110
  <Button onClick={() => setIsOpenB(false)}>Close</Button>
114
111
  <>Content</>
115
112
  </Content>
116
- </Popup>
117
- </StyledWrapper>
118
- </PopupProvider>
113
+ </PopupBase>
114
+ </div>
115
+ </PopupBaseProvider>
119
116
  </SSRProvider>
120
117
  );
121
118
  }
@@ -124,19 +121,19 @@ export function App() {
124
121
  ## Подключение анимации
125
122
 
126
123
  Для подключения анимации нужно добавить параметр `withAnimation`.
127
- Само управление происходит с помощью классов через переменные `endAnimation`, `endTransition` из объекта `PopupClasses` для `Popup`.
128
- Для добавления анимации необходимо использовать класс `.popup-root` через переменную `PopupClasses.root` из пакета.
124
+ Само управление происходит с помощью классов через переменные `endAnimation`, `endTransition` из объекта `popupBaseClasses` для `PopupBase`.
125
+ Для добавления анимации необходимо использовать класс `.popup-base-root` через переменную `popupBaseClasses.root` из пакета.
129
126
 
130
127
  Пример:
131
128
 
132
129
  ```tsx
133
- const StyledPopupTransition = styled(Popup)`
134
- && > .${PopupClasses.root} {
130
+ const StyledPopupTransition = styled(PopupBase)`
131
+ && > .${popupBaseClasses.root} {
135
132
  opacity: 1;
136
133
  transition: opacity 0.5s 0.1s;
137
134
  }
138
135
 
139
- &&.${PopupClasses.endTransition} > .${PopupClasses.root} {
136
+ &&.${popupBaseClasses.endTransition} > .${popupBaseClasses.root} {
140
137
  opacity: 0;
141
138
  transition: opacity 0.5s 0.1s;
142
139
  }
@@ -146,12 +143,12 @@ const StyledPopupTransition = styled(Popup)`
146
143
  или
147
144
 
148
145
  ```tsx
149
- const StyledPopupAnimation = styled(Popup)`
150
- && > .${PopupClasses.root} {
146
+ const StyledPopupAnimation = styled(PopupBase)`
147
+ && > .${popupBaseClasses.root} {
151
148
  animation: fadeIn 1s forwards;
152
149
  }
153
150
 
154
- &&.${PopupClasses.endAnimation} > .${PopupClasses.root} {
151
+ &&.${popupBaseClasses.endAnimation} > .${popupBaseClasses.root} {
155
152
  animation: fadeOut 1s forwards;
156
153
  }
157
154
 
@@ -185,7 +182,14 @@ const StyledPopupAnimation = styled(Popup)`
185
182
  return (
186
183
  <>
187
184
  <div>
188
- <StyledButton text="Открыть" onClick={() => setIsOpen(true)} />
185
+ <Button
186
+ style=\{{
187
+ marginTop: "1rem",
188
+ width: "15rem"
189
+ }}
190
+ text="Открыть"
191
+ onClick={() => setIsOpen(true)}
192
+ />
189
193
  </div>
190
194
  <StyledPopupAnimation
191
195
  id="popup-id"
@@ -27,9 +27,8 @@ export function App() {
27
27
  }
28
28
  ```
29
29
 
30
- ## RadioGroup
30
+ ## Группа радиокнопок
31
31
  Компоненты `Radiobox` следует объединять в `RadioGroup`
32
-
33
32
  ```tsx live
34
33
  <RadioGroup aria-labelledby="radiogroup-title-id">
35
34
  <H3 id="radiogroup-title-id">Заголовок</H3>
@@ -25,8 +25,8 @@ import { PropsTable, Description } from '@site/src/components';
25
25
  Внутри данного провайдера есть доступ к хуку `useSegment`.
26
26
 
27
27
  ```tsx live
28
- import React from 'react';
29
- import { SegmentGroup, SegmentItem, SegmentProvider, useSegment } from '@salutejs/{{ package }}';
28
+ import React, { useState } from 'react';
29
+ import { SegmentGroup, SegmentItem, SegmentProvider } from '@salutejs/{{ package }}';
30
30
 
31
31
  export function App() {
32
32
  const items = Array(8).fill(0);
@@ -6,7 +6,7 @@ title: Skeleton
6
6
  import { PropsTable, Description } from '@site/src/components';
7
7
 
8
8
  # Skeleton
9
- Набор компонентов для создания скелетов загрузки (placeholders).
9
+ Набор компонентов для создания скелетов загрузки (плейсхолдеров).
10
10
 
11
11
  ## LineSkeleton
12
12
  <Description name="LineSkeleton" />
@@ -77,13 +77,13 @@ export function App() {
77
77
  ```
78
78
 
79
79
  ## Доступность
80
- При использовании hook `withSkeleton` необходимо воспользоваться атрибутами WAI ARIA. Пример с кнопкой:
80
+ При использование хока `withSkeleton` необходимо воспользоваться атрибутами WAI ARIA. Пример с кнопкой:
81
81
 
82
82
  ```tsx
83
83
  import React, { useState } from 'react';
84
84
  import { Button } from '@salutejs/{{ package }}';
85
85
 
86
- const ButtonSkeleton = withSkeleton<ButtonProps & WithSkeletonProps>(Button);
86
+ const ButtonSkeleton = withSkeleton<ButtonProps & WithSkeletonProps>(BasicButton);
87
87
 
88
88
  export default function App () {
89
89
  const [skeleton, setSkeleton] = useState(false);
@@ -100,4 +100,4 @@ export default function App () {
100
100
  }
101
101
  ```
102
102
 
103
- Таким образом, при `skeleton=true` и `aria-busy=true` screen-reader будет оповещать о соответствующем статусе компонента.
103
+ Таким образом, при `skeleton=true` и `aria-busy=true` скринридер будет оповещать о соответствующем статусе компонента.
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
+ Object.defineProperty(exports, "__esModule", {
5
+ value: true
6
+ });
7
+ exports.sliderRoot = exports.sliderConfig = void 0;
8
+ var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react"));
9
+ var _base = /*#__PURE__*/require("./variations/_view/base");
10
+ var _base2 = /*#__PURE__*/require("./variations/_size/base");
11
+ var _base3 = /*#__PURE__*/require("./variations/_disabled/base");
12
+ var _components = /*#__PURE__*/require("./components");
13
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
14
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
15
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
16
+ var isSingleValueProps = function isSingleValueProps(props) {
17
+ return typeof props.value === 'number';
18
+ };
19
+ var sliderRoot = exports.sliderRoot = function sliderRoot(Root) {
20
+ return /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
21
+ return /*#__PURE__*/_react["default"].createElement(Root, _extends({
22
+ ref: ref
23
+ }, props), isSingleValueProps(props) && /*#__PURE__*/_react["default"].createElement(_components.SingleSlider, props), !isSingleValueProps(props) && /*#__PURE__*/_react["default"].createElement(_components.DoubleSlider, props));
24
+ });
25
+ };
26
+ var sliderConfig = exports.sliderConfig = {
27
+ name: 'Slider',
28
+ tag: 'div',
29
+ layout: sliderRoot,
30
+ base: '',
31
+ variations: {
32
+ view: {
33
+ css: _base.base
34
+ },
35
+ size: {
36
+ css: _base2.base
37
+ },
38
+ disabled: {
39
+ css: _base3.base,
40
+ attrs: true
41
+ }
42
+ },
43
+ defaults: {
44
+ view: 'default',
45
+ size: 'm'
46
+ }
47
+ };
@@ -0,0 +1,77 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.tokens = exports.classes = void 0;
7
+ var classes = exports.classes = {
8
+ labelPlacementOuter: 'slider-label-placement-outer',
9
+ labelPlacementInner: 'slider-label-placement-inner',
10
+ rangeValuesPlacementOuter: 'slider-range-values-placement-outer',
11
+ rangeValuesPlacementInner: 'slider-range-values-placement-inner',
12
+ maxRangeValue: 'slider-max-range-value',
13
+ hideMinValue: 'slider-hide-min-value',
14
+ hideMaxValue: 'slider-hide-max-value',
15
+ textFieldActive: 'slider-text-field-active',
16
+ firstTextField: 'slider-first-text-field',
17
+ secondTextField: 'slider-second-text-field',
18
+ activeRangeValue: 'slider-active-range-value'
19
+ };
20
+ var tokens = exports.tokens = {
21
+ height: '--plasma-slider-height',
22
+ labelWrapperGap: '--plasma-slider-label-wrapper-gap',
23
+ labelWrapperMarginBottom: '--plasma-slider-label-wrapper-margin-bottom',
24
+ labelWrapperMarginRight: '--plasma-slider-label-wrapper-margin-right',
25
+ labelColor: '--plasma-slider-label-color',
26
+ labelFontFamily: '--plasma-slider-label-font-family',
27
+ labelFontSize: '--plasma-slider-label-font-size',
28
+ labelFontStyle: '--plasma-slider-label-font-style',
29
+ labelFontWeight: '--plasma-slider-label-font-weight',
30
+ labelLetterSpacing: '--plasma-slider-label-letter-spacing',
31
+ labelLineHeight: '--plasma-slider-label-line-height',
32
+ rangeMinValueMargin: '--plasma-slider-range-min-value-margin',
33
+ rangeMaxValueMargin: '--plasma-slider-range-max-value-margin',
34
+ rangeValueBottomOffset: '--plasma-slider-range-value-bottom-offset',
35
+ rangeValueColor: '--plasma-slider-range-value-color',
36
+ rangeValueFontFamily: '--plasma-slider-range-value-font-family',
37
+ rangeValueFontSize: '--plasma-slider-range-value-font-size',
38
+ rangeValueFontStyle: '--plasma-slider-range-value-font-style',
39
+ rangeValueFontWeight: '--plasma-slider-range-value-font-weight',
40
+ rangeValueLetterSpacing: '--plasma-slider-range-value-letter-spacing',
41
+ rangeValueLineHeight: '--plasma-slider-range-value-line-height',
42
+ doubleWrapperGap: '--plasma-slider-double-wrapper-gap',
43
+ thumbSize: '--plasma-slider-thumb-size',
44
+ thumbBorder: '--plasma-slider-thumb-border',
45
+ thumbBorderColor: '--plasma-slider-thumb-border-color',
46
+ thumbBackgroundColor: '--plasma-slider-thumb-background-color',
47
+ thumbFocusBorderColor: '--plasma-slider-thumb-focus-border-color',
48
+ currentValueTopOffset: '--plasma-slider-current-value-top-offset',
49
+ currentValueFontFamily: '--plasma-slider-current-value-font-family',
50
+ currentValueFontSize: '--plasma-slider-current-value-font-size',
51
+ currentValueFontStyle: '--plasma-slider-current-value-font-style',
52
+ currentValueFontWeight: '--plasma-slider-current-value-font-weight',
53
+ currentValueLetterSpacing: '--plasma-slider-current-value-letter-spacing',
54
+ currentValueLineHeight: '--plasma-slider-current-value-line-height',
55
+ railBackgroundColor: '--plasma-slider-rail-background-color',
56
+ railHeight: '--plasma-slider-rail-height',
57
+ railBorderRadius: '--plasma-slider-rail-border-radius',
58
+ railIndent: '--plasma-slider-rail-indent',
59
+ fillColor: '--plasma-slider-fill-color',
60
+ textFieldWrapperGap: '--plasma-slider-text-field-wrapper-gap',
61
+ textFieldFontFamily: '--plasma-slider-text-field-font-family',
62
+ textFieldFontSize: '--plasma-slider-text-field-font-size',
63
+ textFieldFontStyle: '--plasma-slider-text-field-font-style',
64
+ textFieldFontWeight: '--plasma-slider-text-field-font-weight',
65
+ textFieldLetterSpacing: '--plasma-slider-text-field-letter-spacing',
66
+ textFieldLineHeight: '--plasma-slider-text-field-line-height',
67
+ textFieldHeight: '--plasma-slider-text-field-height',
68
+ textFieldPadding: '--plasma-slider-text-field-padding',
69
+ textFieldBorderRadius: '--plasma-slider-text-field-border-radius',
70
+ textFieldColor: '--plasma-slider-text-field-color',
71
+ textFieldActiveColor: '--plasma-slider-text-field-active-color',
72
+ textFieldBackgroundColor: '--plasma-slider-text-field-background-color',
73
+ textFieldCaretColor: '--plasma-slider-text-field-caret-color',
74
+ textFieldPlaceholderColor: '--plasma-slider-text-field-placeholder-color',
75
+ textFiledFocusColor: '--plasma-slider-text-field-focus-color',
76
+ disabledOpacity: '--plasma-slider-disabled-opacity'
77
+ };
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });