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

Sign up to get free protection for your applications and to get access to all the features.
Files changed (381) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +1 -1
  2. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  3. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  4. package/cjs/components/Autocomplete/ui/TextField/{TextField.styles_1ye9068.css → TextField.styles_kcgaix.css} +1 -1
  5. package/cjs/components/Calendar/CalendarBase/CalendarBase.css +9 -9
  6. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +9 -9
  7. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.css +9 -9
  8. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +1 -1
  9. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  10. package/{es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1xijs8w.css → cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_zgya4j.css} +1 -1
  11. package/cjs/components/Combobox/ComboboxNew/Combobox.css +12 -12
  12. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +10 -10
  13. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  14. package/{es/components/Combobox/ComboboxNew/Combobox.styles_1nqrvms.css → cjs/components/Combobox/ComboboxNew/Combobox.styles_18a8p75.css} +1 -1
  15. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -26
  16. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  17. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +12 -12
  18. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +12 -12
  19. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +5 -5
  20. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  21. package/{es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles_1jh6ez1.css → cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles_1kzr84z.css} +2 -2
  22. package/cjs/components/Combobox/ComboboxOld/Combobox.css +4 -4
  23. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +4 -4
  24. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +4 -4
  25. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +4 -4
  26. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +4 -4
  27. package/cjs/components/DatePicker/RangeDate/RangeDate.css +9 -9
  28. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +9 -9
  29. package/cjs/components/DatePicker/SingleDate/SingleDate.css +9 -9
  30. package/cjs/components/Dropdown/Dropdown.css +4 -4
  31. package/cjs/components/Dropdown/Dropdown.tokens.js.map +1 -1
  32. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.css +4 -4
  33. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +1 -1
  34. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  35. package/cjs/components/Dropdown/ui/DropdownItem/{DropdownItem.styles_ksnuz.css → DropdownItem.styles_1b439rx.css} +1 -1
  36. package/cjs/components/Slider/Slider.css +15 -13
  37. package/cjs/components/Slider/Slider.js +11 -2
  38. package/cjs/components/Slider/Slider.js.map +1 -1
  39. package/cjs/components/Slider/Slider.tokens.js +23 -17
  40. package/cjs/components/Slider/Slider.tokens.js.map +1 -1
  41. package/cjs/components/Slider/components/Double/Double.css +8 -8
  42. package/cjs/components/Slider/components/Double/Double.js +58 -23
  43. package/cjs/components/Slider/components/Double/Double.js.map +1 -1
  44. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +98 -0
  45. package/cjs/components/Slider/components/Single/Single.css +14 -14
  46. package/cjs/components/Slider/components/Single/Single.js +64 -33
  47. package/cjs/components/Slider/components/Single/Single.js.map +1 -1
  48. package/cjs/components/Slider/components/Single/Single.styles.js +4 -4
  49. package/cjs/components/Slider/components/Single/Single.styles.js.map +1 -1
  50. package/cjs/components/Slider/components/Single/Single.styles_1h7n2s2.css +6 -0
  51. package/cjs/components/Slider/components/SliderBase/SliderBase.css +5 -5
  52. package/cjs/components/Slider/components/SliderBase/SliderBase.js +31 -12
  53. package/cjs/components/Slider/components/SliderBase/SliderBase.js.map +1 -1
  54. package/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +7 -7
  55. package/cjs/components/Slider/components/SliderBase/SliderBase.styles.js.map +1 -1
  56. package/cjs/components/Slider/components/SliderBase/SliderBase.styles_1qt1224.css +5 -0
  57. package/cjs/components/Slider/ui/Handler/Handler.css +3 -3
  58. package/cjs/components/Slider/ui/Handler/Handler.js +49 -88
  59. package/cjs/components/Slider/ui/Handler/Handler.js.map +1 -1
  60. package/cjs/components/Slider/ui/Handler/Handler.styles.js +17 -7
  61. package/cjs/components/Slider/ui/Handler/Handler.styles.js.map +1 -1
  62. package/cjs/components/Slider/ui/Handler/Handler.styles_irtcgm.css +2 -0
  63. package/cjs/components/Slider/ui/Handler/computeKeyPressData.js +122 -0
  64. package/cjs/components/Slider/ui/Handler/computeKeyPressData.js.map +1 -0
  65. package/cjs/components/Slider/ui/Thumb/Thumb.css +1 -1
  66. package/cjs/components/Slider/ui/Thumb/Thumb.js +3 -2
  67. package/cjs/components/Slider/ui/Thumb/Thumb.js.map +1 -1
  68. package/cjs/components/Slider/ui/Thumb/Thumb.styles.js +1 -1
  69. package/cjs/components/Slider/ui/Thumb/Thumb.styles.js.map +1 -1
  70. package/cjs/components/Slider/ui/Thumb/Thumb.styles_uyn20e.css +1 -0
  71. package/cjs/components/Slider/utils/index.js +28 -10
  72. package/cjs/components/Slider/utils/index.js.map +1 -1
  73. package/cjs/components/Slider/variations/_view/base.js +1 -1
  74. package/cjs/components/Slider/variations/_view/base.js.map +1 -1
  75. package/cjs/components/Slider/variations/_view/base_1s3f6q8.css +1 -0
  76. package/cjs/index.css +41 -39
  77. package/cjs/utils/index.js.map +1 -1
  78. package/emotion/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  79. package/emotion/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +9 -9
  80. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +7 -7
  81. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  82. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +12 -12
  83. package/emotion/cjs/components/Dropdown/Dropdown.tokens.js +0 -1
  84. package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +6 -6
  85. package/emotion/cjs/components/Slider/Slider.js +10 -2
  86. package/emotion/cjs/components/Slider/Slider.template-doc.mdx +26 -0
  87. package/emotion/cjs/components/Slider/Slider.tokens.js +23 -17
  88. package/emotion/cjs/components/Slider/components/Double/Double.js +54 -19
  89. package/emotion/cjs/components/Slider/components/Single/Single.js +64 -33
  90. package/emotion/cjs/components/Slider/components/Single/Single.styles.js +18 -9
  91. package/emotion/cjs/components/Slider/components/SliderBase/SliderBase.js +31 -12
  92. package/emotion/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +10 -10
  93. package/emotion/cjs/components/Slider/ui/Handler/Handler.js +52 -88
  94. package/emotion/cjs/components/Slider/ui/Handler/Handler.styles.js +9 -15
  95. package/emotion/cjs/components/Slider/ui/Handler/computeKeyPressData.js +121 -0
  96. package/emotion/cjs/components/Slider/ui/Thumb/Thumb.js +3 -2
  97. package/emotion/cjs/components/Slider/ui/Thumb/Thumb.styles.js +3 -3
  98. package/emotion/cjs/components/Slider/utils/index.js +28 -10
  99. package/emotion/cjs/components/Slider/variations/_view/base.js +2 -1
  100. package/emotion/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +12 -12
  101. package/emotion/cjs/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -5
  102. package/emotion/cjs/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -5
  103. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  104. package/emotion/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +7 -7
  105. package/emotion/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +5 -5
  106. package/emotion/cjs/examples/plasma_b2c/components/Slider/Slider.config.js +7 -7
  107. package/emotion/cjs/examples/plasma_b2c/components/Slider/Slider.stories.tsx +98 -16
  108. package/emotion/cjs/examples/plasma_b2c/components/Toast/Toast.config.js +5 -5
  109. package/emotion/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +12 -12
  110. package/emotion/cjs/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -5
  111. package/emotion/cjs/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -5
  112. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
  113. package/emotion/cjs/examples/plasma_web/components/DatePicker/DatePicker.config.js +7 -7
  114. package/emotion/cjs/examples/plasma_web/components/Dropdown/Dropdown.config.js +5 -5
  115. package/emotion/cjs/examples/plasma_web/components/Slider/Slider.config.js +7 -7
  116. package/emotion/cjs/examples/plasma_web/components/Slider/Slider.stories.tsx +98 -15
  117. package/emotion/cjs/examples/plasma_web/components/Toast/Toast.config.js +5 -5
  118. package/emotion/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  119. package/emotion/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +9 -9
  120. package/emotion/es/components/Combobox/ComboboxNew/Combobox.styles.js +7 -7
  121. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  122. package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +12 -12
  123. package/emotion/es/components/Dropdown/Dropdown.tokens.js +0 -1
  124. package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +6 -6
  125. package/emotion/es/components/Slider/Slider.js +11 -2
  126. package/emotion/es/components/Slider/Slider.template-doc.mdx +26 -0
  127. package/emotion/es/components/Slider/Slider.tokens.js +23 -17
  128. package/emotion/es/components/Slider/components/Double/Double.js +54 -19
  129. package/emotion/es/components/Slider/components/Single/Single.js +65 -34
  130. package/emotion/es/components/Slider/components/Single/Single.styles.js +17 -8
  131. package/emotion/es/components/Slider/components/SliderBase/SliderBase.js +31 -12
  132. package/emotion/es/components/Slider/components/SliderBase/SliderBase.styles.js +11 -11
  133. package/emotion/es/components/Slider/ui/Handler/Handler.js +51 -86
  134. package/emotion/es/components/Slider/ui/Handler/Handler.styles.js +10 -16
  135. package/emotion/es/components/Slider/ui/Handler/computeKeyPressData.js +115 -0
  136. package/emotion/es/components/Slider/ui/Thumb/Thumb.js +3 -2
  137. package/emotion/es/components/Slider/ui/Thumb/Thumb.styles.js +3 -3
  138. package/emotion/es/components/Slider/utils/index.js +28 -10
  139. package/emotion/es/components/Slider/variations/_view/base.js +2 -1
  140. package/emotion/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +12 -12
  141. package/emotion/es/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +5 -5
  142. package/emotion/es/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +5 -5
  143. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  144. package/emotion/es/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +7 -7
  145. package/emotion/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +5 -5
  146. package/emotion/es/examples/plasma_b2c/components/Slider/Slider.config.js +7 -7
  147. package/emotion/es/examples/plasma_b2c/components/Slider/Slider.stories.tsx +98 -16
  148. package/emotion/es/examples/plasma_b2c/components/Toast/Toast.config.js +5 -5
  149. package/emotion/es/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +12 -12
  150. package/emotion/es/examples/plasma_web/components/Calendar/CalendarBase.config.js +5 -5
  151. package/emotion/es/examples/plasma_web/components/Calendar/CalendarDouble.config.js +5 -5
  152. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
  153. package/emotion/es/examples/plasma_web/components/DatePicker/DatePicker.config.js +7 -7
  154. package/emotion/es/examples/plasma_web/components/Dropdown/Dropdown.config.js +5 -5
  155. package/emotion/es/examples/plasma_web/components/Slider/Slider.config.js +7 -7
  156. package/emotion/es/examples/plasma_web/components/Slider/Slider.stories.tsx +98 -15
  157. package/emotion/es/examples/plasma_web/components/Toast/Toast.config.js +5 -5
  158. package/es/components/Autocomplete/Autocomplete.css +1 -1
  159. package/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  160. package/es/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  161. package/es/components/Autocomplete/ui/TextField/{TextField.styles_1ye9068.css → TextField.styles_kcgaix.css} +1 -1
  162. package/es/components/Calendar/CalendarBase/CalendarBase.css +9 -9
  163. package/es/components/Calendar/CalendarDouble/CalendarDouble.css +9 -9
  164. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.css +9 -9
  165. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +1 -1
  166. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  167. package/{cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1xijs8w.css → es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_zgya4j.css} +1 -1
  168. package/es/components/Combobox/ComboboxNew/Combobox.css +12 -12
  169. package/es/components/Combobox/ComboboxNew/Combobox.styles.js +11 -11
  170. package/es/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  171. package/{cjs/components/Combobox/ComboboxNew/Combobox.styles_1nqrvms.css → es/components/Combobox/ComboboxNew/Combobox.styles_18a8p75.css} +1 -1
  172. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -26
  173. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  174. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +12 -12
  175. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +12 -12
  176. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +5 -5
  177. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  178. package/{cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles_1jh6ez1.css → es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles_1kzr84z.css} +2 -2
  179. package/es/components/Combobox/ComboboxOld/Combobox.css +4 -4
  180. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +4 -4
  181. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +4 -4
  182. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +4 -4
  183. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +4 -4
  184. package/es/components/DatePicker/RangeDate/RangeDate.css +9 -9
  185. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +9 -9
  186. package/es/components/DatePicker/SingleDate/SingleDate.css +9 -9
  187. package/es/components/Dropdown/Dropdown.css +4 -4
  188. package/es/components/Dropdown/Dropdown.tokens.js.map +1 -1
  189. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.css +4 -4
  190. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +1 -1
  191. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  192. package/es/components/Dropdown/ui/DropdownItem/{DropdownItem.styles_ksnuz.css → DropdownItem.styles_1b439rx.css} +1 -1
  193. package/es/components/Slider/Slider.css +15 -13
  194. package/es/components/Slider/Slider.js +11 -2
  195. package/es/components/Slider/Slider.js.map +1 -1
  196. package/es/components/Slider/Slider.tokens.js +23 -17
  197. package/es/components/Slider/Slider.tokens.js.map +1 -1
  198. package/es/components/Slider/components/Double/Double.css +8 -8
  199. package/es/components/Slider/components/Double/Double.js +54 -19
  200. package/es/components/Slider/components/Double/Double.js.map +1 -1
  201. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +98 -0
  202. package/es/components/Slider/components/Single/Single.css +14 -14
  203. package/es/components/Slider/components/Single/Single.js +65 -34
  204. package/es/components/Slider/components/Single/Single.js.map +1 -1
  205. package/es/components/Slider/components/Single/Single.styles.js +4 -4
  206. package/es/components/Slider/components/Single/Single.styles.js.map +1 -1
  207. package/es/components/Slider/components/Single/Single.styles_1h7n2s2.css +6 -0
  208. package/es/components/Slider/components/SliderBase/SliderBase.css +5 -5
  209. package/es/components/Slider/components/SliderBase/SliderBase.js +31 -12
  210. package/es/components/Slider/components/SliderBase/SliderBase.js.map +1 -1
  211. package/es/components/Slider/components/SliderBase/SliderBase.styles.js +7 -7
  212. package/es/components/Slider/components/SliderBase/SliderBase.styles.js.map +1 -1
  213. package/es/components/Slider/components/SliderBase/SliderBase.styles_1qt1224.css +5 -0
  214. package/es/components/Slider/ui/Handler/Handler.css +3 -3
  215. package/es/components/Slider/ui/Handler/Handler.js +48 -87
  216. package/es/components/Slider/ui/Handler/Handler.js.map +1 -1
  217. package/es/components/Slider/ui/Handler/Handler.styles.js +17 -7
  218. package/es/components/Slider/ui/Handler/Handler.styles.js.map +1 -1
  219. package/es/components/Slider/ui/Handler/Handler.styles_irtcgm.css +2 -0
  220. package/es/components/Slider/ui/Handler/computeKeyPressData.js +118 -0
  221. package/es/components/Slider/ui/Handler/computeKeyPressData.js.map +1 -0
  222. package/es/components/Slider/ui/Thumb/Thumb.css +1 -1
  223. package/es/components/Slider/ui/Thumb/Thumb.js +3 -2
  224. package/es/components/Slider/ui/Thumb/Thumb.js.map +1 -1
  225. package/es/components/Slider/ui/Thumb/Thumb.styles.js +1 -1
  226. package/es/components/Slider/ui/Thumb/Thumb.styles.js.map +1 -1
  227. package/es/components/Slider/ui/Thumb/Thumb.styles_uyn20e.css +1 -0
  228. package/es/components/Slider/utils/index.js +28 -10
  229. package/es/components/Slider/utils/index.js.map +1 -1
  230. package/es/components/Slider/variations/_view/base.js +1 -1
  231. package/es/components/Slider/variations/_view/base.js.map +1 -1
  232. package/es/components/Slider/variations/_view/base_1s3f6q8.css +1 -0
  233. package/es/index.css +41 -39
  234. package/es/utils/index.js.map +1 -1
  235. package/package.json +2 -2
  236. package/styled-components/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  237. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +1 -1
  238. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  239. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  240. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +3 -3
  241. package/styled-components/cjs/components/Dropdown/Dropdown.tokens.js +0 -1
  242. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +2 -2
  243. package/styled-components/cjs/components/Slider/Slider.js +10 -2
  244. package/styled-components/cjs/components/Slider/Slider.template-doc.mdx +26 -0
  245. package/styled-components/cjs/components/Slider/Slider.tokens.js +23 -17
  246. package/styled-components/cjs/components/Slider/components/Double/Double.js +54 -19
  247. package/styled-components/cjs/components/Slider/components/Single/Single.js +64 -33
  248. package/styled-components/cjs/components/Slider/components/Single/Single.styles.js +6 -6
  249. package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.js +31 -12
  250. package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +6 -6
  251. package/styled-components/cjs/components/Slider/ui/Handler/Handler.js +52 -88
  252. package/styled-components/cjs/components/Slider/ui/Handler/Handler.styles.js +7 -4
  253. package/styled-components/cjs/components/Slider/ui/Handler/computeKeyPressData.js +121 -0
  254. package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.js +3 -2
  255. package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.styles.js +2 -2
  256. package/styled-components/cjs/components/Slider/utils/index.js +28 -10
  257. package/styled-components/cjs/components/Slider/variations/_view/base.js +2 -1
  258. package/styled-components/cjs/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +4 -4
  259. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +1 -1
  260. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +1 -1
  261. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
  262. package/styled-components/cjs/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +1 -1
  263. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +1 -1
  264. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.config.js +3 -3
  265. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.stories.tsx +98 -16
  266. package/styled-components/cjs/examples/plasma_b2c/components/Toast/Toast.config.js +1 -1
  267. package/styled-components/cjs/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +4 -4
  268. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarBase.config.js +1 -1
  269. package/styled-components/cjs/examples/plasma_web/components/Calendar/CalendarDouble.config.js +1 -1
  270. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
  271. package/styled-components/cjs/examples/plasma_web/components/DatePicker/DatePicker.config.js +1 -1
  272. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Dropdown.config.js +1 -1
  273. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.config.js +3 -3
  274. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.stories.tsx +98 -15
  275. package/styled-components/cjs/examples/plasma_web/components/Toast/Toast.config.js +1 -1
  276. package/styled-components/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  277. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +1 -1
  278. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  279. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  280. package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +3 -3
  281. package/styled-components/es/components/Dropdown/Dropdown.tokens.js +0 -1
  282. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +2 -2
  283. package/styled-components/es/components/Slider/Slider.js +11 -2
  284. package/styled-components/es/components/Slider/Slider.template-doc.mdx +26 -0
  285. package/styled-components/es/components/Slider/Slider.tokens.js +23 -17
  286. package/styled-components/es/components/Slider/components/Double/Double.js +54 -19
  287. package/styled-components/es/components/Slider/components/Single/Single.js +65 -34
  288. package/styled-components/es/components/Slider/components/Single/Single.styles.js +5 -5
  289. package/styled-components/es/components/Slider/components/SliderBase/SliderBase.js +31 -12
  290. package/styled-components/es/components/Slider/components/SliderBase/SliderBase.styles.js +7 -7
  291. package/styled-components/es/components/Slider/ui/Handler/Handler.js +51 -86
  292. package/styled-components/es/components/Slider/ui/Handler/Handler.styles.js +8 -5
  293. package/styled-components/es/components/Slider/ui/Handler/computeKeyPressData.js +115 -0
  294. package/styled-components/es/components/Slider/ui/Thumb/Thumb.js +3 -2
  295. package/styled-components/es/components/Slider/ui/Thumb/Thumb.styles.js +2 -2
  296. package/styled-components/es/components/Slider/utils/index.js +28 -10
  297. package/styled-components/es/components/Slider/variations/_view/base.js +2 -1
  298. package/styled-components/es/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.js +4 -4
  299. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarBase.config.js +1 -1
  300. package/styled-components/es/examples/plasma_b2c/components/Calendar/CalendarDouble.config.js +1 -1
  301. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
  302. package/styled-components/es/examples/plasma_b2c/components/DatePicker/DatePicker.config.js +1 -1
  303. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +1 -1
  304. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.config.js +3 -3
  305. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.stories.tsx +98 -16
  306. package/styled-components/es/examples/plasma_b2c/components/Toast/Toast.config.js +1 -1
  307. package/styled-components/es/examples/plasma_web/components/Autocomplete/Autocomplete.config.js +4 -4
  308. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarBase.config.js +1 -1
  309. package/styled-components/es/examples/plasma_web/components/Calendar/CalendarDouble.config.js +1 -1
  310. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
  311. package/styled-components/es/examples/plasma_web/components/DatePicker/DatePicker.config.js +1 -1
  312. package/styled-components/es/examples/plasma_web/components/Dropdown/Dropdown.config.js +1 -1
  313. package/styled-components/es/examples/plasma_web/components/Slider/Slider.config.js +3 -3
  314. package/styled-components/es/examples/plasma_web/components/Slider/Slider.stories.tsx +98 -15
  315. package/styled-components/es/examples/plasma_web/components/Toast/Toast.config.js +1 -1
  316. package/types/components/Combobox/ComboboxNew/Combobox.styles.d.ts.map +1 -1
  317. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +0 -1
  318. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  319. package/types/components/Dropdown/Dropdown.tokens.d.ts +0 -1
  320. package/types/components/Dropdown/Dropdown.tokens.d.ts.map +1 -1
  321. package/types/components/Slider/Slider.d.ts.map +1 -1
  322. package/types/components/Slider/Slider.tokens.d.ts +22 -16
  323. package/types/components/Slider/Slider.tokens.d.ts.map +1 -1
  324. package/types/components/Slider/components/Double/Double.d.ts.map +1 -1
  325. package/types/components/Slider/components/Double/Double.types.d.ts +1 -0
  326. package/types/components/Slider/components/Double/Double.types.d.ts.map +1 -1
  327. package/types/components/Slider/components/Single/Single.d.ts.map +1 -1
  328. package/types/components/Slider/components/Single/Single.styles.d.ts +1 -1
  329. package/types/components/Slider/components/Single/Single.styles.d.ts.map +1 -1
  330. package/types/components/Slider/components/Single/Single.types.d.ts +79 -7
  331. package/types/components/Slider/components/Single/Single.types.d.ts.map +1 -1
  332. package/types/components/Slider/components/SliderBase/SliderBase.d.ts.map +1 -1
  333. package/types/components/Slider/components/SliderBase/SliderBase.styles.d.ts +1 -1
  334. package/types/components/Slider/components/SliderBase/SliderBase.styles.d.ts.map +1 -1
  335. package/types/components/Slider/components/SliderBase/SliderBase.types.d.ts +6 -0
  336. package/types/components/Slider/components/SliderBase/SliderBase.types.d.ts.map +1 -1
  337. package/types/components/Slider/ui/Handler/Handler.d.ts.map +1 -1
  338. package/types/components/Slider/ui/Handler/Handler.styles.d.ts +6 -2
  339. package/types/components/Slider/ui/Handler/Handler.styles.d.ts.map +1 -1
  340. package/types/components/Slider/ui/Handler/Handler.types.d.ts +5 -1
  341. package/types/components/Slider/ui/Handler/Handler.types.d.ts.map +1 -1
  342. package/types/components/Slider/ui/Handler/computeKeyPressData.d.ts +12 -0
  343. package/types/components/Slider/ui/Handler/computeKeyPressData.d.ts.map +1 -0
  344. package/types/components/Slider/ui/Thumb/Thumb.d.ts +1 -1
  345. package/types/components/Slider/ui/Thumb/Thumb.d.ts.map +1 -1
  346. package/types/components/Slider/ui/Thumb/Thumb.styles.d.ts.map +1 -1
  347. package/types/components/Slider/ui/Thumb/Thumb.types.d.ts +1 -0
  348. package/types/components/Slider/ui/Thumb/Thumb.types.d.ts.map +1 -1
  349. package/types/components/Slider/utils/index.d.ts +26 -8
  350. package/types/components/Slider/utils/index.d.ts.map +1 -1
  351. package/types/components/Slider/variations/_view/base.d.ts.map +1 -1
  352. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.config.d.ts.map +1 -1
  353. package/types/examples/plasma_b2c/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  354. package/types/examples/plasma_b2c/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  355. package/types/examples/plasma_b2c/components/Combobox/Combobox.config.d.ts.map +1 -1
  356. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.config.d.ts.map +1 -1
  357. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.config.d.ts.map +1 -1
  358. package/types/examples/plasma_b2c/components/Slider/Slider.config.d.ts.map +1 -1
  359. package/types/examples/plasma_b2c/components/Slider/Slider.d.ts +80 -2
  360. package/types/examples/plasma_b2c/components/Slider/Slider.d.ts.map +1 -1
  361. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.config.d.ts.map +1 -1
  362. package/types/examples/plasma_web/components/Calendar/CalendarBase.config.d.ts.map +1 -1
  363. package/types/examples/plasma_web/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
  364. package/types/examples/plasma_web/components/Combobox/Combobox.config.d.ts.map +1 -1
  365. package/types/examples/plasma_web/components/DatePicker/DatePicker.config.d.ts.map +1 -1
  366. package/types/examples/plasma_web/components/Dropdown/Dropdown.config.d.ts.map +1 -1
  367. package/types/examples/plasma_web/components/Slider/Slider.config.d.ts.map +1 -1
  368. package/types/examples/plasma_web/components/Slider/Slider.d.ts +80 -2
  369. package/types/examples/plasma_web/components/Slider/Slider.d.ts.map +1 -1
  370. package/types/utils/index.d.ts +1 -1
  371. package/types/utils/index.d.ts.map +1 -1
  372. package/cjs/components/Slider/components/Single/Single.styles_1r9f1e0.css +0 -6
  373. package/cjs/components/Slider/components/SliderBase/SliderBase.styles_9s4eb3.css +0 -5
  374. package/cjs/components/Slider/ui/Handler/Handler.styles_8crx5z.css +0 -2
  375. package/cjs/components/Slider/ui/Thumb/Thumb.styles_4w4gzn.css +0 -1
  376. package/cjs/components/Slider/variations/_view/base_x642ct.css +0 -1
  377. package/es/components/Slider/components/Single/Single.styles_1r9f1e0.css +0 -6
  378. package/es/components/Slider/components/SliderBase/SliderBase.styles_9s4eb3.css +0 -5
  379. package/es/components/Slider/ui/Handler/Handler.styles_8crx5z.css +0 -2
  380. package/es/components/Slider/ui/Thumb/Thumb.styles_4w4gzn.css +0 -1
  381. package/es/components/Slider/variations/_view/base_x642ct.css +0 -1
@@ -1,15 +1,15 @@
1
1
  import styled from 'styled-components';
2
2
  import { applyHidden } from '../../../../mixins';
3
- import { tokens } from '../../Slider.tokens';
4
- export var Slider = /*#__PURE__*/styled.div.withConfig({
3
+ import { classes, tokens } from '../../Slider.tokens';
4
+ export var Rail = /*#__PURE__*/styled.div.withConfig({
5
5
  componentId: "plasma-new-hope__sc-ik0bjb-0"
6
- })(["flex:1;position:relative;user-select:none;height:var(", ");"], tokens.height);
7
- export var RailWrap = /*#__PURE__*/styled.div.withConfig({
6
+ })(["position:relative;top:50%;height:var(", ");border-radius:var(", ");background-color:var(", ");overflow:hidden;transform:translateY(-50%);"], tokens.railThickness, tokens.railBorderRadius, tokens.railBackgroundColor);
7
+ export var Slider = /*#__PURE__*/styled.div.withConfig({
8
8
  componentId: "plasma-new-hope__sc-ik0bjb-1"
9
- })(["height:100%;"]);
10
- export var Rail = /*#__PURE__*/styled.div.withConfig({
9
+ })(["flex:1;position:relative;user-select:none;height:var(", ");&.", "{width:var(", ");height:auto;", "{top:0;left:50%;transform:translateX(-50%);width:var(", ");height:100%;}}"], tokens.size, classes.verticalOrientation, tokens.size, Rail, tokens.railThickness);
10
+ export var RailWrap = /*#__PURE__*/styled.div.withConfig({
11
11
  componentId: "plasma-new-hope__sc-ik0bjb-2"
12
- })(["position:relative;top:50%;height:var(", ");border-radius:var(", ");background-color:var(", ");overflow:hidden;transform:translateY(-50%);"], tokens.railHeight, tokens.railBorderRadius, tokens.railBackgroundColor);
12
+ })(["height:100%;"]);
13
13
  export var Fill = /*#__PURE__*/styled.div.withConfig({
14
14
  componentId: "plasma-new-hope__sc-ik0bjb-3"
15
15
  })(["position:absolute;height:100%;top:0;left:0;background:var(", ");width:0;"], tokens.fillColor);
@@ -1,5 +1,9 @@
1
- var _excluded = ["stepSize", "onChangeCommitted", "onChange", "xPosition", "min", "max", "bounds", "zIndex", "disabled", "side", "showCurrentValue", "startOffset", "endOffset", "value"];
1
+ 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); }
2
+ var _excluded = ["size", "orientation", "stepSize", "onChangeCommitted", "onChange", "position", "min", "max", "bounds", "zIndex", "disabled", "side", "showCurrentValue", "startOffset", "endOffset", "value", "valuePlacement"];
2
3
  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); }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
6
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
3
7
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
4
8
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
5
9
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
@@ -10,28 +14,23 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
10
14
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
11
15
  import React, { useRef, forwardRef } from 'react';
12
16
  import Draggable from 'react-draggable';
17
+ import { cx } from '../../../../utils';
13
18
  import { getSliderThumbValue, getOffsets } from '../../utils';
14
19
  import { Thumb } from '../Thumb/Thumb';
20
+ import { classes } from '../../Slider.tokens';
15
21
  import { HandlerStyled, StyledValue } from './Handler.styles';
22
+ import { computeKeyPressData } from './computeKeyPressData';
16
23
 
17
24
  // TODO: PLASMA-1707
18
25
 
19
- var KeyboardSupport = {
20
- PageUp: 33,
21
- PageDown: 34,
22
- End: 35,
23
- Home: 36,
24
- ArrowLeft: 37,
25
- ArrowUp: 38,
26
- ArrowRight: 39,
27
- ArrowDown: 40
28
- };
29
26
  export var Handler = /*#__PURE__*/forwardRef(function (_ref, ref) {
30
- var stepSize = _ref.stepSize,
27
+ var size = _ref.size,
28
+ orientation = _ref.orientation,
29
+ stepSize = _ref.stepSize,
31
30
  onChangeCommitted = _ref.onChangeCommitted,
32
31
  onChange = _ref.onChange,
33
- _ref$xPosition = _ref.xPosition,
34
- xPosition = _ref$xPosition === void 0 ? 0 : _ref$xPosition,
32
+ _ref$position = _ref.position,
33
+ position = _ref$position === void 0 ? 0 : _ref$position,
35
34
  min = _ref.min,
36
35
  max = _ref.max,
37
36
  _ref$bounds = _ref.bounds,
@@ -46,122 +45,88 @@ export var Handler = /*#__PURE__*/forwardRef(function (_ref, ref) {
46
45
  _ref$endOffset = _ref.endOffset,
47
46
  endOffset = _ref$endOffset === void 0 ? 0 : _ref$endOffset,
48
47
  value = _ref.value,
48
+ valuePlacement = _ref.valuePlacement,
49
49
  rest = _objectWithoutProperties(_ref, _excluded);
50
+ var isVertical = orientation === 'vertical';
50
51
  var lastOnChangeValue = useRef();
51
- var _getOffsets = getOffsets(ref, side),
52
+ var _getOffsets = getOffsets(ref, side, isVertical),
52
53
  _getOffsets2 = _slicedToArray(_getOffsets, 2),
53
- offsetLeft = _getOffsets2[0],
54
- offsetRight = _getOffsets2[1];
54
+ startClientOffset = _getOffsets2[0],
55
+ endClientOffset = _getOffsets2[1];
55
56
  var _bounds = _slicedToArray(bounds, 2),
56
- leftValueBound = _bounds[0],
57
- rightValueBound = _bounds[1];
58
- var leftPositionBound = leftValueBound ? (leftValueBound - min) * stepSize : null;
59
- var rightPositionBound = rightValueBound ? (rightValueBound - min) * stepSize : null;
60
- var position = typeof xPosition === 'number' ? {
61
- x: xPosition,
62
- y: 0
57
+ startValueBound = _bounds[0],
58
+ endValueBound = _bounds[1];
59
+ var startPositionBound = startValueBound ? (startValueBound - min) * stepSize : null;
60
+ var endPositionBound = endValueBound ? (endValueBound - min) * stepSize : null;
61
+ var dragPosition = typeof position === 'number' ? {
62
+ x: isVertical ? 0 : position,
63
+ y: isVertical ? position : 0
63
64
  } : undefined;
64
65
  var tabIndex = disabled ? -1 : 0;
65
- var computedBounds = {
66
- left: (leftPositionBound !== null && leftPositionBound !== void 0 ? leftPositionBound : 0) - (offsetLeft ? stepSize : 0),
67
- right: (rightPositionBound !== null && rightPositionBound !== void 0 ? rightPositionBound : stepSize * (max - min)) - (offsetRight ? stepSize : 0)
68
- };
69
- var showCurrentValueCondition = showCurrentValue && (xPosition >= startOffset && xPosition <= max * stepSize - endOffset || xPosition === 0 && value !== 0);
66
+ var computedBounds = _defineProperty(_defineProperty({}, isVertical ? 'top' : 'left', (startPositionBound !== null && startPositionBound !== void 0 ? startPositionBound : 0) - (startClientOffset ? stepSize : 0)), isVertical ? 'bottom' : 'right', (endPositionBound !== null && endPositionBound !== void 0 ? endPositionBound : stepSize * (max - min)) - (endClientOffset ? stepSize : 0));
67
+ var showCurrentValueCondition = showCurrentValue && (position >= startOffset && position <= max * stepSize - endOffset || position === 0 && value !== 0);
70
68
  var onDrag = function onDrag(_, data) {
71
- var newValue = getSliderThumbValue(data.x, stepSize, min, max);
69
+ var newValue = getSliderThumbValue(isVertical ? data.y : data.x, stepSize, min, max);
72
70
  if (lastOnChangeValue.current !== newValue) {
73
71
  onChange === null || onChange === void 0 || onChange(newValue, data);
74
72
  lastOnChangeValue.current = newValue;
75
73
  }
76
74
  };
77
75
  var onStop = function onStop(_, data) {
78
- var newValue = getSliderThumbValue(data.x, stepSize, min, max);
76
+ var newValue = getSliderThumbValue(isVertical ? data.y : data.x, stepSize, min, max);
79
77
  onChangeCommitted && onChangeCommitted(newValue, data);
80
78
  };
81
79
  var onKeyPress = function onKeyPress(event) {
82
80
  event.persist();
83
- var keyCode = event.keyCode,
84
- target = event.target;
85
- if (!Object.values(KeyboardSupport).includes(keyCode)) {
86
- return;
87
- }
88
- var ArrowUp = KeyboardSupport.ArrowUp,
89
- ArrowRight = KeyboardSupport.ArrowRight,
90
- ArrowDown = KeyboardSupport.ArrowDown,
91
- ArrowLeft = KeyboardSupport.ArrowLeft,
92
- Home = KeyboardSupport.Home,
93
- End = KeyboardSupport.End,
94
- PageDown = KeyboardSupport.PageDown,
95
- PageUp = KeyboardSupport.PageUp;
96
81
  var computedMultipleSteps = stepSize * (rest.multipleStepSize / 100 * max);
97
- var data = {
98
- x: 0,
99
- deltaX: stepSize,
100
- lastX: xPosition,
101
- y: 0,
102
- deltaY: 0,
103
- lastY: 0,
104
- node: target
105
- };
106
- switch (keyCode) {
107
- case ArrowUp:
108
- case ArrowRight:
109
- data.x = xPosition + stepSize;
110
- break;
111
- case ArrowDown:
112
- case ArrowLeft:
113
- data.x = xPosition - stepSize;
114
- data.deltaX = -stepSize;
115
- break;
116
- case PageUp:
117
- data.x = xPosition + computedMultipleSteps;
118
- data.deltaX = computedMultipleSteps;
119
- break;
120
- case PageDown:
121
- data.x = xPosition - computedMultipleSteps;
122
- data.deltaX = -computedMultipleSteps;
123
- break;
124
- case End:
125
- data.x = max * stepSize;
126
- break;
127
- case Home:
128
- data.x = 0;
129
- break;
130
- default:
131
- data.x = 0;
82
+ var data = computeKeyPressData(event, {
83
+ isVertical: isVertical,
84
+ stepSize: stepSize,
85
+ position: position,
86
+ max: max,
87
+ computedMultipleSteps: computedMultipleSteps
88
+ });
89
+ if (!data) {
90
+ return;
132
91
  }
133
92
  var left = computedBounds.left,
134
- right = computedBounds.right;
93
+ right = computedBounds.right,
94
+ top = computedBounds.top,
95
+ bottom = computedBounds.bottom;
135
96
 
136
97
  /*
137
98
  * INFO: Находим значение в диапазоне между указанными левой и правой границами.
99
+ * Или между верхней и нижней
138
100
  * Необходимо для правильного расчета положения SliderThumb.
139
101
  * см. функция clamp
140
102
  */
141
- var boundedValue = Math.max(Math.min(right, data.x), left);
103
+ var boundedValue = isVertical ? Math.max(Math.min(bottom, data.y), top) : Math.max(Math.min(right, data.x), left);
142
104
  var computedValue = getSliderThumbValue(boundedValue, stepSize, min, max);
143
105
  lastOnChangeValue.current = computedValue;
144
106
  onChangeCommitted && onChangeCommitted(computedValue, data);
145
107
  };
146
108
  return /*#__PURE__*/React.createElement(Draggable, {
147
- axis: "x",
109
+ axis: isVertical ? 'y' : 'x',
148
110
  bounds: computedBounds,
149
- grid: [stepSize, 1],
111
+ grid: isVertical ? [1, stepSize] : [stepSize, 1],
150
112
  onStop: onStop,
151
113
  onDrag: onDrag,
152
- position: position,
114
+ position: dragPosition,
153
115
  disabled: disabled
154
116
  }, /*#__PURE__*/React.createElement(HandlerStyled, {
155
117
  ref: ref,
156
118
  style: {
157
119
  zIndex: zIndex
158
120
  },
121
+ className: cx(isVertical && classes.verticalOrientation, valuePlacement === 'left' && classes.valuePlacementLeft),
122
+ isLarge: size === 'large',
159
123
  onKeyDown: onKeyPress
160
- }, /*#__PURE__*/React.createElement(Thumb, _extends({
124
+ }, size !== 'none' && /*#__PURE__*/React.createElement(Thumb, _extends({
161
125
  tabIndex: tabIndex,
162
126
  min: min,
163
127
  max: max,
164
128
  value: value,
165
- disabled: disabled
129
+ disabled: disabled,
130
+ orientation: orientation
166
131
  }, rest)), showCurrentValueCondition && /*#__PURE__*/React.createElement(StyledValue, null, value)));
167
132
  });
@@ -1,8 +1,11 @@
1
1
  import styled from 'styled-components';
2
- import { tokens } from '../../Slider.tokens';
3
- export var HandlerStyled = /*#__PURE__*/styled.div.withConfig({
4
- componentId: "plasma-new-hope__sc-a1py3c-0"
5
- })(["cursor:pointer;position:absolute;z-index:1;top:0;left:0;"]);
2
+ import { classes, tokens } from '../../Slider.tokens';
6
3
  export var StyledValue = /*#__PURE__*/styled.span.withConfig({
4
+ componentId: "plasma-new-hope__sc-a1py3c-0"
5
+ })(["position:absolute;z-index:1;top:var(", ");text-align:center;width:100%;margin-left:-0.125rem;display:flex;justify-content:center;font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");"], tokens.currentValueTopOffset, tokens.valueFontFamily, tokens.valueFontSize, tokens.valueFontStyle, tokens.valueFontWeight, tokens.valueLetterSpacing, tokens.valueLineHeight);
6
+ export var HandlerStyled = /*#__PURE__*/styled.div.withConfig({
7
7
  componentId: "plasma-new-hope__sc-a1py3c-1"
8
- })(["position:absolute;z-index:1;top:var(", ");text-align:center;width:100%;margin-left:-0.125rem;display:flex;justify-content:center;font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");"], tokens.currentValueTopOffset, tokens.currentValueFontFamily, tokens.currentValueFontSize, tokens.currentValueFontStyle, tokens.currentValueFontWeight, tokens.currentValueLetterSpacing, tokens.currentValueLineHeight);
8
+ })(["cursor:pointer;position:absolute;z-index:1;top:0;left:0;bottom:0;display:flex;align-items:center;justify-content:center;--thumb-size:", ";&.", "{right:0;bottom:auto;align-items:flex-start;justify-content:center;", "{margin:0;top:0;bottom:0;right:0;left:calc(var(", ") - (var(", ") - var(--thumb-size)) / 2 + 0.25rem);align-items:center;justify-content:flex-start;}}&.", "{", "{left:auto;right:calc(var(", ") - (var(", ") - var(--thumb-size)) / 2 + 0.3125rem);justify-content:flex-end;}}"], function (_ref) {
9
+ var isLarge = _ref.isLarge;
10
+ return isLarge ? "var(".concat(tokens.thumbSizeLarge, ")") : "var(".concat(tokens.thumbSize, ")");
11
+ }, classes.verticalOrientation, StyledValue, tokens.size, tokens.size, classes.valuePlacementLeft, StyledValue, tokens.size, tokens.size);
@@ -0,0 +1,115 @@
1
+ var KeyboardSupport = {
2
+ PageUp: 33,
3
+ PageDown: 34,
4
+ End: 35,
5
+ Home: 36,
6
+ ArrowLeft: 37,
7
+ ArrowUp: 38,
8
+ ArrowRight: 39,
9
+ ArrowDown: 40
10
+ };
11
+ var ArrowUp = KeyboardSupport.ArrowUp,
12
+ ArrowRight = KeyboardSupport.ArrowRight,
13
+ ArrowDown = KeyboardSupport.ArrowDown,
14
+ ArrowLeft = KeyboardSupport.ArrowLeft,
15
+ Home = KeyboardSupport.Home,
16
+ End = KeyboardSupport.End,
17
+ PageDown = KeyboardSupport.PageDown,
18
+ PageUp = KeyboardSupport.PageUp;
19
+ var computeVerticalMovement = function computeVerticalMovement(event, _ref) {
20
+ var stepSize = _ref.stepSize,
21
+ position = _ref.position,
22
+ max = _ref.max,
23
+ computedMultipleSteps = _ref.computedMultipleSteps;
24
+ var keyCode = event.keyCode,
25
+ target = event.target;
26
+ var data = {
27
+ x: 0,
28
+ deltaX: 0,
29
+ lastX: 0,
30
+ y: 0,
31
+ deltaY: stepSize,
32
+ lastY: position,
33
+ node: target
34
+ };
35
+ switch (keyCode) {
36
+ case ArrowUp:
37
+ case ArrowRight:
38
+ data.y = position - stepSize;
39
+ data.deltaY = -stepSize;
40
+ break;
41
+ case ArrowDown:
42
+ case ArrowLeft:
43
+ data.y = position + stepSize;
44
+ break;
45
+ case PageUp:
46
+ data.y = position - computedMultipleSteps;
47
+ data.deltaY = -computedMultipleSteps;
48
+ break;
49
+ case PageDown:
50
+ data.y = position + computedMultipleSteps;
51
+ data.deltaY = computedMultipleSteps;
52
+ break;
53
+ case End:
54
+ data.y = max * stepSize;
55
+ break;
56
+ case Home:
57
+ data.y = 0;
58
+ break;
59
+ default:
60
+ data.y = 0;
61
+ }
62
+ return data;
63
+ };
64
+ var computeHorizontalMovement = function computeHorizontalMovement(event, _ref2) {
65
+ var stepSize = _ref2.stepSize,
66
+ position = _ref2.position,
67
+ max = _ref2.max,
68
+ computedMultipleSteps = _ref2.computedMultipleSteps;
69
+ var keyCode = event.keyCode,
70
+ target = event.target;
71
+ var data = {
72
+ x: 0,
73
+ deltaX: stepSize,
74
+ lastX: position,
75
+ y: 0,
76
+ deltaY: 0,
77
+ lastY: 0,
78
+ node: target
79
+ };
80
+ switch (keyCode) {
81
+ case ArrowUp:
82
+ case ArrowRight:
83
+ data.x = position + stepSize;
84
+ break;
85
+ case ArrowDown:
86
+ case ArrowLeft:
87
+ data.x = position - stepSize;
88
+ data.deltaX = -stepSize;
89
+ break;
90
+ case PageUp:
91
+ data.x = position + computedMultipleSteps;
92
+ data.deltaX = computedMultipleSteps;
93
+ break;
94
+ case PageDown:
95
+ data.x = position - computedMultipleSteps;
96
+ data.deltaX = -computedMultipleSteps;
97
+ break;
98
+ case End:
99
+ data.x = max * stepSize;
100
+ break;
101
+ case Home:
102
+ data.x = 0;
103
+ break;
104
+ default:
105
+ data.x = 0;
106
+ }
107
+ return data;
108
+ };
109
+ export var computeKeyPressData = function computeKeyPressData(event, params) {
110
+ var keyCode = event.keyCode;
111
+ if (!Object.values(KeyboardSupport).includes(keyCode)) {
112
+ return null;
113
+ }
114
+ return params.isVertical ? computeVerticalMovement(event, params) : computeHorizontalMovement(event, params);
115
+ };
@@ -1,4 +1,4 @@
1
- var _excluded = ["min", "max", "value", "ariaValueMin", "ariaLabel", "disabled"];
1
+ var _excluded = ["min", "max", "value", "ariaValueMin", "ariaLabel", "disabled", "orientation"];
2
2
  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); }
3
3
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
4
4
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
@@ -12,6 +12,7 @@ export var Thumb = function Thumb(_ref) {
12
12
  ariaValueMin = _ref$ariaValueMin === void 0 ? min : _ref$ariaValueMin,
13
13
  ariaLabel = _ref.ariaLabel,
14
14
  disabled = _ref.disabled,
15
+ orientation = _ref.orientation,
15
16
  rest = _objectWithoutProperties(_ref, _excluded);
16
17
  return /*#__PURE__*/React.createElement(ThumbBase, _extends({
17
18
  role: "slider",
@@ -20,6 +21,6 @@ export var Thumb = function Thumb(_ref) {
20
21
  "aria-valuemax": max,
21
22
  "aria-valuenow": value,
22
23
  disabled: disabled,
23
- "aria-orientation": "horizontal"
24
+ "aria-orientation": orientation
24
25
  }, rest));
25
26
  };
@@ -3,8 +3,8 @@ import { addFocus } from '../../../../mixins';
3
3
  import { tokens } from '../../Slider.tokens';
4
4
  export var ThumbBase = /*#__PURE__*/styled.div.withConfig({
5
5
  componentId: "plasma-new-hope__sc-13botku-0"
6
- })(["width:var(", ");height:var(", ");position:relative;left:-0.125rem;top:-0.125rem;border-radius:50%;box-sizing:border-box;background:var(", ");margin:0.125rem;transition:border-color 0.1s ease-in-out;&:after{background:var(", ");margin:-0.125rem;content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;}&:not([disabled]):hover:after,&:not([disabled]):active:after{background:var(", ");}&[disabled]{cursor:not-allowed;}&:focus{outline:none;}", ""], tokens.thumbSize, tokens.thumbSize, tokens.thumbBackgroundColor, tokens.thumbBorderColor, tokens.thumbFocusBorderColor, /*#__PURE__*/addFocus({
7
- outlineOffset: '0.125rem',
6
+ })(["width:var(--thumb-size);height:var(--thumb-size);min-width:var(--thumb-size);min-height:var(--thumb-size);position:relative;border-radius:50%;box-sizing:border-box;background:var(", ");margin:0.0625rem;transition:border-color 0.1s ease-in-out;&:after{background:var(", ");margin:-0.0625rem;content:'';position:absolute;inset:0;z-index:-1;border-radius:inherit;}&:not([disabled]):hover:after,&:not([disabled]):active:after{background:var(", ");}&[disabled]{cursor:not-allowed;}&:focus{outline:none;}", ""], tokens.thumbBackgroundColor, tokens.thumbBorderColor, tokens.thumbFocusBorderColor, /*#__PURE__*/addFocus({
7
+ outlineOffset: '0.0625rem',
8
8
  outlineSize: '0.125rem',
9
9
  outlineRadius: '50%',
10
10
  outlineColor: /*#__PURE__*/"var(".concat(tokens.thumbFocusBorderColor, ")")
@@ -6,8 +6,8 @@
6
6
  * @param {number} max
7
7
  * @return {number}
8
8
  */
9
- export function getSliderThumbValue(handleCenterXRelative, stepSize, min, max) {
10
- var newValue = Math.round(handleCenterXRelative / stepSize) + min;
9
+ export function getSliderThumbValue(handleCenterPosRelative, stepSize, min, max) {
10
+ var newValue = Math.round(handleCenterPosRelative / stepSize) + min;
11
11
  return Math.min(Math.max(newValue, min), max);
12
12
  }
13
13
 
@@ -18,11 +18,11 @@ export function getSliderThumbValue(handleCenterXRelative, stepSize, min, max) {
18
18
  * @param {'left' | 'right'} side
19
19
  * @return Array<number>
20
20
  */
21
- export function getOffsets(ref, side) {
21
+ export function getOffsets(ref, side, isVertical) {
22
22
  if (!ref || !('current' in ref) || !ref.current || !side) {
23
23
  return [0, 0];
24
24
  }
25
- var size = ref.current.clientWidth;
25
+ var size = isVertical ? ref.current.clientHeight : ref.current.clientWidth;
26
26
  if (side === 'left') {
27
27
  return [0, size];
28
28
  }
@@ -33,15 +33,33 @@ export function getOffsets(ref, side) {
33
33
  }
34
34
  export var sizeData = {
35
35
  s: {
36
- indent: 0.5,
37
- fontSizeMultiplier: 16
36
+ small: {
37
+ indent: 0.5,
38
+ fontSizeMultiplier: 16
39
+ },
40
+ large: {
41
+ indent: 0.625,
42
+ fontSizeMultiplier: 16
43
+ }
38
44
  },
39
45
  m: {
40
- indent: 0.75,
41
- fontSizeMultiplier: 16
46
+ small: {
47
+ indent: 0.5,
48
+ fontSizeMultiplier: 16
49
+ },
50
+ large: {
51
+ indent: 0.625,
52
+ fontSizeMultiplier: 16
53
+ }
42
54
  },
43
55
  l: {
44
- indent: 0.75,
45
- fontSizeMultiplier: 16
56
+ small: {
57
+ indent: 0.5,
58
+ fontSizeMultiplier: 16
59
+ },
60
+ large: {
61
+ indent: 0.625,
62
+ fontSizeMultiplier: 16
63
+ }
46
64
  }
47
65
  };
@@ -1,2 +1,3 @@
1
1
  import { css } from 'styled-components';
2
- export var base = /*#__PURE__*/css([""]);
2
+ import { classes } from '../../Slider.tokens';
3
+ export var base = /*#__PURE__*/css(["&.", "{height:100%;display:inline-flex;}"], classes.verticalOrientation);
@@ -8,10 +8,10 @@ export var config = {
8
8
  },
9
9
  variations: {
10
10
  view: {
11
- "default": /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--text-tertiary);", ":var(--surface-transparent-primary);", ":var(--surface-transparent-secondary);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-tertiary);", ":var(--text-primary);", ":var(--text-secondary);", ":var(--text-accent);", ":var(--surface-solid-card);", ":0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);", ":var(--plasma-colors-transparent);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-accent);", ":var(--text-primary);"], tokens.textFieldColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldPlaceholderColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.background, tokens.boxShadow, tokens.itemBackground, tokens.itemBackgroundHover, tokens.itemColor, tokens.focusColor, tokens.infiniteLoaderSpinnerColor),
12
- positive: /*#__PURE__*/css(["", ":var(--plasma-colors-primary);", ":var(--text-tertiary);", ":var(--surface-transparent-positive);", ":var(--surface-transparent-positive-active);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-tertiary);", ":var(--text-primary);", ":var(--text-positive);", ":var(--text-accent);", ":var(--surface-solid-card);", ":0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);", ":var(--plasma-colors-transparent);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-accent);", ":var(--text-primary);"], tokens.textFieldColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldPlaceholderColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.background, tokens.boxShadow, tokens.itemBackground, tokens.itemBackgroundHover, tokens.itemColor, tokens.focusColor, tokens.infiniteLoaderSpinnerColor),
13
- warning: /*#__PURE__*/css(["", ":var(--plasma-colors-primary);", ":var(--text-tertiary);", ":var(--surface-transparent-warning);", ":var(--surface-transparent-warning-active);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-tertiary);", ":var(--text-primary);", ":var(--text-warning);", ":var(--text-accent);", ":var(--surface-solid-card);", ":0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);", ":var(--plasma-colors-transparent);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-accent);", ":var(--text-primary);"], tokens.textFieldColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldPlaceholderColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.background, tokens.boxShadow, tokens.itemBackground, tokens.itemBackgroundHover, tokens.itemColor, tokens.focusColor, tokens.infiniteLoaderSpinnerColor),
14
- negative: /*#__PURE__*/css(["", ":var(--plasma-colors-primary);", ":var(--surface-transparent-negative);", ":var(--surface-transparent-negative-active);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-tertiary);", ":var(--text-primary);", ":var(--text-negative);", ":var(--text-accent);", ":var(--surface-solid-card);", ":0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);", ":var(--plasma-colors-transparent);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-accent);", ":var(--text-primary);"], tokens.textFieldColor, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldPlaceholderColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.background, tokens.boxShadow, tokens.itemBackground, tokens.itemBackgroundHover, tokens.itemColor, tokens.focusColor, tokens.infiniteLoaderSpinnerColor)
11
+ "default": /*#__PURE__*/css(["", ":var(--text-primary);", ":var(--text-tertiary);", ":var(--surface-transparent-primary);", ":var(--surface-transparent-secondary);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-tertiary);", ":var(--text-primary);", ":var(--text-secondary);", ":var(--text-accent);", ":var(--surface-solid-card);", ":0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);", ":var(--plasma-colors-transparent);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-accent);", ":", ";", ":", ";", ":var(--text-primary);"], tokens.textFieldColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldPlaceholderColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.background, tokens.boxShadow, tokens.itemBackground, tokens.itemBackgroundHover, tokens.itemColor, tokens.focusColor, tokens.textFieldContentSlotColor, tokens.textFieldColor, tokens.textFieldContentSlotRightColor, tokens.textFieldColor, tokens.infiniteLoaderSpinnerColor),
12
+ positive: /*#__PURE__*/css(["", ":var(--plasma-colors-primary);", ":var(--text-tertiary);", ":var(--surface-transparent-positive);", ":var(--surface-transparent-positive-active);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-tertiary);", ":var(--text-primary);", ":var(--text-positive);", ":var(--text-accent);", ":var(--surface-solid-card);", ":0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);", ":var(--plasma-colors-transparent);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-accent);", ":", ";", ":", ";", ":var(--text-primary);"], tokens.textFieldColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldPlaceholderColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.background, tokens.boxShadow, tokens.itemBackground, tokens.itemBackgroundHover, tokens.itemColor, tokens.focusColor, tokens.textFieldContentSlotColor, tokens.textFieldColor, tokens.textFieldContentSlotRightColor, tokens.textFieldColor, tokens.infiniteLoaderSpinnerColor),
13
+ warning: /*#__PURE__*/css(["", ":var(--plasma-colors-primary);", ":var(--text-tertiary);", ":var(--surface-transparent-warning);", ":var(--surface-transparent-warning-active);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-tertiary);", ":var(--text-primary);", ":var(--text-warning);", ":var(--text-accent);", ":var(--surface-solid-card);", ":0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);", ":var(--plasma-colors-transparent);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-accent);", ":", ";", ":", ";", ":var(--text-primary);"], tokens.textFieldColor, tokens.textFieldPlaceholderColorFocus, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldPlaceholderColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.background, tokens.boxShadow, tokens.itemBackground, tokens.itemBackgroundHover, tokens.itemColor, tokens.focusColor, tokens.textFieldContentSlotColor, tokens.textFieldColor, tokens.textFieldContentSlotRightColor, tokens.textFieldColor, tokens.infiniteLoaderSpinnerColor),
14
+ negative: /*#__PURE__*/css(["", ":var(--plasma-colors-primary);", ":var(--surface-transparent-negative);", ":var(--surface-transparent-negative-active);", ":var(--text-accent);", ":var(--text-secondary);", ":var(--text-tertiary);", ":var(--text-tertiary);", ":var(--text-primary);", ":var(--text-negative);", ":var(--text-accent);", ":var(--surface-solid-card);", ":0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);", ":var(--plasma-colors-transparent);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-accent);", ":", ";", ":", ";", ":var(--text-primary);"], tokens.textFieldColor, tokens.textFieldBackgroundColor, tokens.textFieldBackgroundColorFocus, tokens.textFieldCaretColor, tokens.textFieldPlaceholderColor, tokens.textFieldTextBeforeColor, tokens.textFieldTextAfterColor, tokens.textFieldLabelColor, tokens.textFieldLeftHelperColor, tokens.textFieldFocusColor, tokens.background, tokens.boxShadow, tokens.itemBackground, tokens.itemBackgroundHover, tokens.itemColor, tokens.focusColor, tokens.textFieldContentSlotColor, tokens.textFieldColor, tokens.textFieldContentSlotRightColor, tokens.textFieldColor, tokens.infiniteLoaderSpinnerColor)
15
15
  },
16
16
  size: {
17
17
  l: /*#__PURE__*/css(["", ":3.5rem;", ":1.0625rem 1.125rem 1.0625rem 1.125rem;", ":0.875rem;", ":-0.0625rem 0.5rem -0.0625rem -0.125rem;", ":-0.0625rem -0.125rem -0.0625rem 0.75rem;", ":0 0.25rem 0 0;", ":0 0 0 0.25rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0.75rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.5625rem 0 0.125rem 0;", ":1.5625rem 0 0.5625rem 0;", ":0.875rem;", ":0.125rem;", ":1.0625rem 1rem;", ":0.75rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":2rem 1rem 1rem 1rem;", ":0.5rem;", ":1.5rem;", ":0.5rem;"], tokens.textFieldHeight, tokens.textFieldPadding, tokens.textFieldBorderRadius, tokens.textFieldLeftContentMargin, tokens.textFieldRightContentMargin, tokens.textFieldTextBeforeMargin, tokens.textFieldTextAfterMargin, tokens.textFieldFontFamily, tokens.textFieldFontSize, tokens.textFieldFontStyle, tokens.textFieldFontWeight, tokens.textFieldLetterSpacing, tokens.textFieldLineHeight, tokens.textFieldLabelOffset, tokens.textFieldLabelFontFamily, tokens.textFieldLabelFontSize, tokens.textFieldLabelFontStyle, tokens.textFieldLabelFontWeight, tokens.textFieldLabelLetterSpacing, tokens.textFieldLabelLineHeight, tokens.textFieldLeftHelperOffset, tokens.textFieldLeftHelperFontFamily, tokens.textFieldLeftHelperFontSize, tokens.textFieldLeftHelperFontStyle, tokens.textFieldLeftHelperFontWeight, tokens.textFieldLeftHelperLetterSpacing, tokens.textFieldLeftHelperLineHeight, tokens.textFieldLabelInnerPadding, tokens.textFieldContentLabelInnerPadding, tokens.borderRadius, tokens.padding, tokens.itemPadding, tokens.itemBorderRadius, tokens.itemFontFamily, tokens.itemFontSize, tokens.itemFontStyle, tokens.itemFontWeight, tokens.itemFontLetterSpacing, tokens.itemFontLineHeight, tokens.emptyStatePadding, tokens.emptyStateGap, tokens.infiniteLoaderSpinnerSize, tokens.infiniteLoaderGap),
@@ -7,7 +7,7 @@ export var config = {
7
7
  },
8
8
  variations: {
9
9
  view: {
10
- "default": /*#__PURE__*/css(["", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":transparent;", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-accent);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-accent);", ":var(--surface-solid-default);", ":var(--text-secondary);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--surface-accent);"], calendarBaseTokens.calendarSelectedItemBackground, calendarBaseTokens.calendarSelectedItemColor, calendarBaseTokens.calendarSelectableItemBackgroundHover, calendarBaseTokens.calendarCurrentItemBorderColor, calendarBaseTokens.calendarCurrentItemBackgroundHover, calendarBaseTokens.calendarCurrentItemColorHover, calendarBaseTokens.calendarCurrentItemChildBackgroundHover, calendarBaseTokens.calendarActiveItemBackground, calendarBaseTokens.calendarActiveItemColor, calendarBaseTokens.calendarHoveredItemBackground, calendarBaseTokens.calendarHoveredItemColor, calendarBaseTokens.calendarRangeBackground, calendarBaseTokens.calendarOutlineFocusColor, calendarBaseTokens.calendarContentPrimaryColor, calendarBaseTokens.calendarContentSecondaryColor, calendarBaseTokens.calendarDayOfWeekColor, calendarBaseTokens.iconButtonColor, calendarBaseTokens.iconButtonBackgroundColor, calendarBaseTokens.iconButtonColorHover, calendarBaseTokens.iconButtonBackgroundColorHover, calendarBaseTokens.iconButtonColorActive, calendarBaseTokens.iconButtonBackgroundColorActive, calendarBaseTokens.iconButtonFocusColor)
10
+ "default": /*#__PURE__*/css(["", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":transparent;", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-accent);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-accent);", ":var(--surface-solid-default);", ":var(--text-secondary);", ":", ";", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--surface-accent);"], calendarBaseTokens.calendarSelectedItemBackground, calendarBaseTokens.calendarSelectedItemColor, calendarBaseTokens.calendarSelectableItemBackgroundHover, calendarBaseTokens.calendarCurrentItemBorderColor, calendarBaseTokens.calendarCurrentItemBackgroundHover, calendarBaseTokens.calendarCurrentItemColorHover, calendarBaseTokens.calendarCurrentItemChildBackgroundHover, calendarBaseTokens.calendarActiveItemBackground, calendarBaseTokens.calendarActiveItemColor, calendarBaseTokens.calendarHoveredItemBackground, calendarBaseTokens.calendarHoveredItemColor, calendarBaseTokens.calendarRangeBackground, calendarBaseTokens.calendarOutlineFocusColor, calendarBaseTokens.calendarContentPrimaryColor, calendarBaseTokens.calendarContentSecondaryColor, calendarBaseTokens.calendarHeaderArrowColor, calendarBaseTokens.calendarContentPrimaryColor, calendarBaseTokens.calendarDayOfWeekColor, calendarBaseTokens.iconButtonColor, calendarBaseTokens.iconButtonBackgroundColor, calendarBaseTokens.iconButtonColorHover, calendarBaseTokens.iconButtonBackgroundColorHover, calendarBaseTokens.iconButtonColorActive, calendarBaseTokens.iconButtonBackgroundColorActive, calendarBaseTokens.iconButtonFocusColor)
11
11
  },
12
12
  size: {
13
13
  l: /*#__PURE__*/css(["", ":24.5rem;", ":25rem;", ":0.5rem 0.5rem 0 0.5rem;", ":0.75rem;", ":7.8125rem;", ":5.25rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.5rem 0.5rem 0 0.5rem;", ":0.75rem;", ":11.75rem;", ":10.5rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.5rem 0.5rem 0 0.5rem;", ":0.75rem;", ":7.8125rem;", ":5.25rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.5rem 0 0 0;", ":0.75rem;", ":3.5rem;", ":3rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.063rem;", ":0.5rem;", ":0 0 0 1rem;", ":0.5rem;", ":var(--plasma-typo-h4-font-family);", ":var(--plasma-typo-h4-font-size);", ":var(--plasma-typo-h4-font-style);", ":var(--plasma-typo-h4-letter-spacing);", ":var(--plasma-typo-h4-line-height);", ":var(--plasma-typo-h4-font-weight);", ":var(--plasma-typo-h4-bold-font-weight);", ":3.5rem;", ":3.5rem;", ":1.5rem;", ":0.875rem;"], calendarBaseTokens.calendarWidth, calendarBaseTokens.calendarHeight, calendarBaseTokens.calendarYearsPadding, calendarBaseTokens.calendarYearItemBorderRadius, calendarBaseTokens.calendarYearItemWidth, calendarBaseTokens.calendarYearItemHeight, calendarBaseTokens.calendarYearFontFamily, calendarBaseTokens.calendarYearFontSize, calendarBaseTokens.calendarYearFontStyle, calendarBaseTokens.calendarYearFontLetterSpacing, calendarBaseTokens.calendarYearFontLineHeight, calendarBaseTokens.calendarYearFontWeight, calendarBaseTokens.calendarYearSelectedFontWeight, calendarBaseTokens.calendarQuartersPadding, calendarBaseTokens.calendarQuarterItemBorderRadius, calendarBaseTokens.calendarQuarterItemWidth, calendarBaseTokens.calendarQuarterItemHeight, calendarBaseTokens.calendarQuarterFontFamily, calendarBaseTokens.calendarQuarterFontSize, calendarBaseTokens.calendarQuarterFontStyle, calendarBaseTokens.calendarQuarterFontLetterSpacing, calendarBaseTokens.calendarQuarterFontLineHeight, calendarBaseTokens.calendarQuarterFontWeight, calendarBaseTokens.calendarQuarterSelectedFontWeight, calendarBaseTokens.calendarMonthsPadding, calendarBaseTokens.calendarMonthItemBorderRadius, calendarBaseTokens.calendarMonthItemWidth, calendarBaseTokens.calendarMonthItemHeight, calendarBaseTokens.calendarMonthFontFamily, calendarBaseTokens.calendarMonthFontSize, calendarBaseTokens.calendarMonthFontStyle, calendarBaseTokens.calendarMonthFontLetterSpacing, calendarBaseTokens.calendarMonthFontLineHeight, calendarBaseTokens.calendarMonthFontWeight, calendarBaseTokens.calendarMonthSelectedFontWeight, calendarBaseTokens.calendarDaysPadding, calendarBaseTokens.calendarDayItemBorderRadius, calendarBaseTokens.calendarDayItemWidth, calendarBaseTokens.calendarDayItemHeight, calendarBaseTokens.calendarDayFontFamily, calendarBaseTokens.calendarDayFontSize, calendarBaseTokens.calendarDayFontStyle, calendarBaseTokens.calendarDayFontLetterSpacing, calendarBaseTokens.calendarDayFontLineHeight, calendarBaseTokens.calendarDayFontWeight, calendarBaseTokens.calendarDaySelectedFontWeight, calendarBaseTokens.calendarCurrentItemBorderWidth, calendarBaseTokens.calendarHeaderArrowGap, calendarBaseTokens.calendarHeaderPadding, calendarBaseTokens.calendarHeaderDateGap, calendarBaseTokens.calendarHeaderFontFamily, calendarBaseTokens.calendarHeaderFontSize, calendarBaseTokens.calendarHeaderFontStyle, calendarBaseTokens.calendarHeaderFontLetterSpacing, calendarBaseTokens.calendarHeaderFontLineHeight, calendarBaseTokens.calendarHeaderFontWeight, calendarBaseTokens.calendarHeaderFontWeightBold, calendarBaseTokens.iconButtonHeight, calendarBaseTokens.iconButtonWidth, calendarBaseTokens.iconButtonPadding, calendarBaseTokens.iconButtonRadius),
@@ -7,7 +7,7 @@ export var config = {
7
7
  },
8
8
  variations: {
9
9
  view: {
10
- "default": /*#__PURE__*/css(["", ":var(--surface-transparent-secondary);", ":transparent;", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":transparent;", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-accent);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-accent);", ":var(--surface-solid-default);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--surface-accent);"], calendarDoubleTokens.calendarSeparatorBackground, calendarDoubleTokens.calendarBackgroundColor, calendarDoubleTokens.calendarSelectedItemBackground, calendarDoubleTokens.calendarSelectedItemColor, calendarDoubleTokens.calendarSelectableItemBackgroundHover, calendarDoubleTokens.calendarCurrentItemBorderColor, calendarDoubleTokens.calendarCurrentItemBackgroundHover, calendarDoubleTokens.calendarCurrentItemColorHover, calendarDoubleTokens.calendarCurrentItemChildBackgroundHover, calendarDoubleTokens.calendarActiveItemBackground, calendarDoubleTokens.calendarActiveItemColor, calendarDoubleTokens.calendarHoveredItemBackground, calendarDoubleTokens.calendarHoveredItemColor, calendarDoubleTokens.calendarRangeBackground, calendarDoubleTokens.calendarOutlineFocusColor, calendarDoubleTokens.calendarContentPrimaryColor, calendarDoubleTokens.calendarContentSecondaryColor, calendarDoubleTokens.iconButtonColor, calendarDoubleTokens.iconButtonBackgroundColor, calendarDoubleTokens.iconButtonColorHover, calendarDoubleTokens.iconButtonBackgroundColorHover, calendarDoubleTokens.iconButtonColorActive, calendarDoubleTokens.iconButtonBackgroundColorActive, calendarDoubleTokens.iconButtonFocusColor)
10
+ "default": /*#__PURE__*/css(["", ":var(--surface-transparent-secondary);", ":transparent;", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":transparent;", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-solid-default);", ":var(--inverse-text-primary);", ":var(--surface-accent);", ":var(--text-primary);", ":var(--surface-transparent-secondary);", ":var(--surface-accent);", ":var(--surface-solid-default);", ":", ";", ":var(--text-secondary);", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--surface-accent);"], calendarDoubleTokens.calendarSeparatorBackground, calendarDoubleTokens.calendarBackgroundColor, calendarDoubleTokens.calendarSelectedItemBackground, calendarDoubleTokens.calendarSelectedItemColor, calendarDoubleTokens.calendarSelectableItemBackgroundHover, calendarDoubleTokens.calendarCurrentItemBorderColor, calendarDoubleTokens.calendarCurrentItemBackgroundHover, calendarDoubleTokens.calendarCurrentItemColorHover, calendarDoubleTokens.calendarCurrentItemChildBackgroundHover, calendarDoubleTokens.calendarActiveItemBackground, calendarDoubleTokens.calendarActiveItemColor, calendarDoubleTokens.calendarHoveredItemBackground, calendarDoubleTokens.calendarHoveredItemColor, calendarDoubleTokens.calendarRangeBackground, calendarDoubleTokens.calendarOutlineFocusColor, calendarDoubleTokens.calendarContentPrimaryColor, calendarDoubleTokens.calendarHeaderArrowColor, calendarDoubleTokens.calendarContentPrimaryColor, calendarDoubleTokens.calendarContentSecondaryColor, calendarDoubleTokens.iconButtonColor, calendarDoubleTokens.iconButtonBackgroundColor, calendarDoubleTokens.iconButtonColorHover, calendarDoubleTokens.iconButtonBackgroundColorHover, calendarDoubleTokens.iconButtonColorActive, calendarDoubleTokens.iconButtonBackgroundColorActive, calendarDoubleTokens.iconButtonFocusColor)
11
11
  },
12
12
  size: {
13
13
  l: /*#__PURE__*/css(["", ":51.063rem;", ":25rem;", ":0.5rem 0.5rem 0 0.5rem;", ":0.75rem;", ":7.8125rem;", ":5.25rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.5rem 0.5rem 0 0.5rem;", ":0.75rem;", ":11.75rem;", ":10.5rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.5rem 0.5rem 0 0.5rem;", ":0.75rem;", ":7.8125rem;", ":5.25rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.75rem;", ":3.5rem;", ":3rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-bold-font-weight);", ":0.063rem;", ":0.5rem;", ":0.5rem 0 0 0;", ":0 0 0 1rem;", ":0.5rem;", ":var(--plasma-typo-h4-font-family);", ":var(--plasma-typo-h4-font-size);", ":var(--plasma-typo-h4-font-style);", ":var(--plasma-typo-h4-letter-spacing);", ":var(--plasma-typo-h4-line-height);", ":var(--plasma-typo-h4-font-weight);", ":var(--plasma-typo-h4-bold-font-weight);", ":3.5rem;", ":3.5rem;", ":1.5rem;", ":0.875rem;"], calendarDoubleTokens.calendarWidth, calendarDoubleTokens.calendarHeight, calendarDoubleTokens.calendarYearsPadding, calendarDoubleTokens.calendarYearItemBorderRadius, calendarDoubleTokens.calendarYearItemWidth, calendarDoubleTokens.calendarYearItemHeight, calendarDoubleTokens.calendarYearFontFamily, calendarDoubleTokens.calendarYearFontSize, calendarDoubleTokens.calendarYearFontStyle, calendarDoubleTokens.calendarYearFontLetterSpacing, calendarDoubleTokens.calendarYearFontLineHeight, calendarDoubleTokens.calendarYearFontWeight, calendarDoubleTokens.calendarYearSelectedFontWeight, calendarDoubleTokens.calendarQuartersPadding, calendarDoubleTokens.calendarQuarterItemBorderRadius, calendarDoubleTokens.calendarQuarterItemWidth, calendarDoubleTokens.calendarQuarterItemHeight, calendarDoubleTokens.calendarQuarterFontFamily, calendarDoubleTokens.calendarQuarterFontSize, calendarDoubleTokens.calendarQuarterFontStyle, calendarDoubleTokens.calendarQuarterFontLetterSpacing, calendarDoubleTokens.calendarQuarterFontLineHeight, calendarDoubleTokens.calendarQuarterFontWeight, calendarDoubleTokens.calendarQuarterSelectedFontWeight, calendarDoubleTokens.calendarMonthsPadding, calendarDoubleTokens.calendarMonthItemBorderRadius, calendarDoubleTokens.calendarMonthItemWidth, calendarDoubleTokens.calendarMonthItemHeight, calendarDoubleTokens.calendarMonthFontFamily, calendarDoubleTokens.calendarMonthFontSize, calendarDoubleTokens.calendarMonthFontStyle, calendarDoubleTokens.calendarMonthFontLetterSpacing, calendarDoubleTokens.calendarMonthFontLineHeight, calendarDoubleTokens.calendarMonthFontWeight, calendarDoubleTokens.calendarMonthSelectedFontWeight, calendarDoubleTokens.calendarDayItemBorderRadius, calendarDoubleTokens.calendarDayItemWidth, calendarDoubleTokens.calendarDayItemHeight, calendarDoubleTokens.calendarDayFontFamily, calendarDoubleTokens.calendarDayFontSize, calendarDoubleTokens.calendarDayFontStyle, calendarDoubleTokens.calendarDayFontLetterSpacing, calendarDoubleTokens.calendarDayFontLineHeight, calendarDoubleTokens.calendarDayFontWeight, calendarDoubleTokens.calendarDaySelectedFontWeight, calendarDoubleTokens.calendarCurrentItemBorderWidth, calendarDoubleTokens.calendarHeaderArrowGap, calendarDoubleTokens.calendarDaysPadding, calendarDoubleTokens.calendarHeaderPadding, calendarDoubleTokens.calendarHeaderDateGap, calendarDoubleTokens.calendarHeaderFontFamily, calendarDoubleTokens.calendarHeaderFontSize, calendarDoubleTokens.calendarHeaderFontStyle, calendarDoubleTokens.calendarHeaderFontLetterSpacing, calendarDoubleTokens.calendarHeaderFontLineHeight, calendarDoubleTokens.calendarHeaderFontWeight, calendarDoubleTokens.calendarHeaderFontWeightBold, calendarDoubleTokens.iconButtonHeight, calendarDoubleTokens.iconButtonWidth, calendarDoubleTokens.iconButtonPadding, calendarDoubleTokens.iconButtonRadius),