@salutejs/plasma-new-hope 0.78.0-canary.1185.8922773956.0 → 0.78.0-canary.1194.8928068974.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (598) hide show
  1. package/cjs/components/Combobox/Combobox.css +7 -17
  2. package/cjs/components/Combobox/hooks/useFocusController.js +1 -0
  3. package/cjs/components/Combobox/hooks/useFocusController.js.map +1 -1
  4. package/cjs/components/Combobox/ui/ComboboxDivider/ComboboxDivider.css +6 -15
  5. package/cjs/components/Combobox/ui/ComboboxDivider/ComboboxDivider.js +2 -2
  6. package/cjs/components/Combobox/ui/ComboboxFooter/ComboboxFooter.css +6 -15
  7. package/cjs/components/Combobox/ui/ComboboxFooter/ComboboxFooter.js +2 -2
  8. package/cjs/components/Combobox/ui/ComboboxGroup/ComboboxGroup.css +6 -15
  9. package/cjs/components/Combobox/ui/ComboboxGroup/ComboboxGroup.js +2 -2
  10. package/cjs/components/Combobox/ui/ComboboxHeader/ComboboxHeader.css +6 -15
  11. package/cjs/components/Combobox/ui/ComboboxHeader/ComboboxHeader.js +2 -2
  12. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.css +23 -4
  13. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.js +10 -81
  14. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.js.map +1 -1
  15. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js +9 -21
  16. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
  17. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.styles_936wgl.css +1 -0
  18. package/cjs/components/Dropdown/Dropdown.css +2 -25
  19. package/cjs/components/Dropdown/Dropdown.js +54 -138
  20. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  21. package/cjs/components/Dropdown/Dropdown.styles.js +7 -40
  22. package/cjs/components/Dropdown/Dropdown.styles.js.map +1 -1
  23. package/cjs/components/Dropdown/Dropdown.styles_1daxhqh.css +2 -0
  24. package/cjs/components/Dropdown/Dropdown.tokens.js +23 -26
  25. package/cjs/components/Dropdown/Dropdown.tokens.js.map +1 -1
  26. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.css +4 -7
  27. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +100 -79
  28. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  29. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +5 -90
  30. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  31. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles_1juhjtq.css +4 -0
  32. package/cjs/components/Dropdown/ui/{DropdownItemOld → DropdownItem}/variations/_size/base.js +1 -1
  33. package/cjs/components/Dropdown/ui/DropdownItem/variations/_size/base.js.map +1 -0
  34. package/cjs/components/Dropdown/ui/{DropdownItemOld → DropdownItem}/variations/_view/base.js +1 -1
  35. package/cjs/components/Dropdown/ui/DropdownItem/variations/_view/base.js.map +1 -0
  36. package/cjs/components/Dropdown/utils/index.js +0 -16
  37. package/cjs/components/Dropdown/utils/index.js.map +1 -1
  38. package/cjs/components/Pagination/Pagination.css +7 -14
  39. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +7 -14
  40. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  41. package/cjs/components/Select/Select.css +7 -14
  42. package/cjs/components/Select/ui/SelectDivider/SelectDivider.css +6 -15
  43. package/cjs/components/Select/ui/SelectDivider/SelectDivider.js +2 -2
  44. package/cjs/components/Select/ui/SelectFooter/SelectFooter.css +6 -15
  45. package/cjs/components/Select/ui/SelectFooter/SelectFooter.js +2 -2
  46. package/cjs/components/Select/ui/SelectGroup/SelectGroup.css +6 -15
  47. package/cjs/components/Select/ui/SelectGroup/SelectGroup.js +2 -2
  48. package/cjs/components/Select/ui/SelectHeader/SelectHeader.css +6 -15
  49. package/cjs/components/Select/ui/SelectHeader/SelectHeader.js +2 -2
  50. package/cjs/components/Select/ui/SelectItem/SelectItem.css +7 -16
  51. package/cjs/components/Select/ui/SelectItem/SelectItem.js +3 -3
  52. package/cjs/components/Select/ui/SelectItem/SelectItem.js.map +1 -1
  53. package/cjs/components/Select/ui/SelectItem/SelectItem.styles.js +2 -2
  54. package/cjs/components/Select/ui/SelectItem/SelectItem.styles.js.map +1 -1
  55. package/cjs/components/Select/ui/SelectItem/{SelectItem.styles_vk39mp.css → SelectItem.styles_6h17aw.css} +1 -1
  56. package/cjs/components/Slider/Slider.css +69 -0
  57. package/cjs/components/Slider/Slider.js +58 -0
  58. package/cjs/components/Slider/Slider.js.map +1 -0
  59. package/cjs/components/Slider/Slider.tokens.js +79 -0
  60. package/cjs/components/Slider/Slider.tokens.js.map +1 -0
  61. package/cjs/components/Slider/components/Double/Double.css +62 -0
  62. package/cjs/components/Slider/components/Double/Double.js +274 -0
  63. package/cjs/components/Slider/components/Double/Double.js.map +1 -0
  64. package/cjs/components/Slider/components/Double/Double.styles.js +61 -0
  65. package/cjs/components/Slider/components/Double/Double.styles.js.map +1 -0
  66. package/cjs/components/Slider/components/Double/Double.styles_1jhda4u.css +7 -0
  67. package/cjs/components/Slider/components/Single/Single.css +16 -0
  68. package/cjs/components/Slider/components/Single/Single.js +160 -0
  69. package/cjs/components/Slider/components/Single/Single.js.map +1 -0
  70. package/cjs/components/Slider/components/Single/Single.styles.js +45 -0
  71. package/cjs/components/Slider/components/Single/Single.styles.js.map +1 -0
  72. package/cjs/components/Slider/components/Single/Single.styles_1r9f1e0.css +6 -0
  73. package/cjs/components/Slider/components/SliderBase/SliderBase.css +4 -0
  74. package/cjs/components/Slider/components/SliderBase/SliderBase.js +82 -0
  75. package/cjs/components/Slider/components/SliderBase/SliderBase.js.map +1 -0
  76. package/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +33 -0
  77. package/cjs/components/Slider/components/SliderBase/SliderBase.styles.js.map +1 -0
  78. package/cjs/components/Slider/components/SliderBase/SliderBase.styles_7is2ll.css +4 -0
  79. package/cjs/components/Slider/ui/Handle/Handle.css +4 -0
  80. package/cjs/components/Slider/ui/Handle/Handle.js +174 -0
  81. package/cjs/components/Slider/ui/Handle/Handle.js.map +1 -0
  82. package/cjs/components/Slider/ui/Handle/Handle.styles.js +21 -0
  83. package/cjs/components/Slider/ui/Handle/Handle.styles.js.map +1 -0
  84. package/cjs/components/Slider/ui/Handle/Handle.styles_16a5sl.css +2 -0
  85. package/cjs/components/Slider/ui/Thumb/Thumb.css +1 -0
  86. package/cjs/components/Slider/ui/Thumb/Thumb.js +31 -0
  87. package/cjs/components/Slider/ui/Thumb/Thumb.js.map +1 -0
  88. package/cjs/components/Slider/ui/Thumb/Thumb.styles.js +15 -0
  89. package/cjs/components/Slider/ui/Thumb/Thumb.styles.js.map +1 -0
  90. package/cjs/components/Slider/ui/Thumb/Thumb.styles_zwgsh8.css +1 -0
  91. package/cjs/components/Slider/utils/index.js +56 -0
  92. package/cjs/components/Slider/utils/index.js.map +1 -0
  93. package/cjs/components/Slider/variations/_disabled/base.js +9 -0
  94. package/cjs/components/Slider/variations/_disabled/base.js.map +1 -0
  95. package/cjs/components/Slider/variations/_size/base.js +9 -0
  96. package/cjs/components/Slider/variations/_size/base.js.map +1 -0
  97. package/cjs/components/Slider/variations/_view/base.js +9 -0
  98. package/cjs/components/Slider/variations/_view/base.js.map +1 -0
  99. package/cjs/components/Slider/variations/_view/base_x642ct.css +1 -0
  100. package/cjs/components/TextField/TextField.js +6 -2
  101. package/cjs/components/TextField/TextField.js.map +1 -1
  102. package/cjs/components/_Icon/Icon.assets/DisclosureRight.js +2 -1
  103. package/cjs/components/_Icon/Icon.assets/DisclosureRight.js.map +1 -1
  104. package/cjs/hooks/useIsomorphicLayoutEffect.js +15 -0
  105. package/cjs/hooks/useIsomorphicLayoutEffect.js.map +1 -0
  106. package/cjs/index.css +33 -18
  107. package/cjs/index.js +16 -8
  108. package/cjs/index.js.map +1 -1
  109. package/cjs/utils/canUseDOM.js +12 -0
  110. package/cjs/utils/canUseDOM.js.map +1 -0
  111. package/cjs/utils/index.js.map +1 -1
  112. package/es/components/Combobox/Combobox.css +7 -17
  113. package/es/components/Combobox/hooks/useFocusController.js +1 -0
  114. package/es/components/Combobox/hooks/useFocusController.js.map +1 -1
  115. package/es/components/Combobox/ui/ComboboxDivider/ComboboxDivider.css +6 -15
  116. package/es/components/Combobox/ui/ComboboxDivider/ComboboxDivider.js +2 -2
  117. package/es/components/Combobox/ui/ComboboxFooter/ComboboxFooter.css +6 -15
  118. package/es/components/Combobox/ui/ComboboxFooter/ComboboxFooter.js +2 -2
  119. package/es/components/Combobox/ui/ComboboxGroup/ComboboxGroup.css +6 -15
  120. package/es/components/Combobox/ui/ComboboxGroup/ComboboxGroup.js +2 -2
  121. package/es/components/Combobox/ui/ComboboxHeader/ComboboxHeader.css +6 -15
  122. package/es/components/Combobox/ui/ComboboxHeader/ComboboxHeader.js +2 -2
  123. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.css +23 -4
  124. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.js +11 -82
  125. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.js.map +1 -1
  126. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js +10 -19
  127. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
  128. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.styles_936wgl.css +1 -0
  129. package/es/components/Dropdown/Dropdown.css +2 -25
  130. package/es/components/Dropdown/Dropdown.js +60 -144
  131. package/es/components/Dropdown/Dropdown.js.map +1 -1
  132. package/es/components/Dropdown/Dropdown.styles.js +7 -39
  133. package/es/components/Dropdown/Dropdown.styles.js.map +1 -1
  134. package/es/components/Dropdown/Dropdown.styles_1daxhqh.css +2 -0
  135. package/es/components/Dropdown/Dropdown.tokens.js +23 -26
  136. package/es/components/Dropdown/Dropdown.tokens.js.map +1 -1
  137. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.css +4 -7
  138. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +100 -80
  139. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  140. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +5 -89
  141. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  142. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles_1juhjtq.css +4 -0
  143. package/es/components/Dropdown/ui/{DropdownItemOld → DropdownItem}/variations/_size/base.js +1 -1
  144. package/es/components/Dropdown/ui/DropdownItem/variations/_size/base.js.map +1 -0
  145. package/es/components/Dropdown/ui/DropdownItem/variations/_size/base_x642ct.css +1 -0
  146. package/es/components/Dropdown/ui/{DropdownItemOld → DropdownItem}/variations/_view/base.js +1 -1
  147. package/es/components/Dropdown/ui/DropdownItem/variations/_view/base.js.map +1 -0
  148. package/es/components/Dropdown/ui/DropdownItem/variations/_view/base_x642ct.css +1 -0
  149. package/es/components/Dropdown/utils/index.js +2 -16
  150. package/es/components/Dropdown/utils/index.js.map +1 -1
  151. package/es/components/Pagination/Pagination.css +7 -14
  152. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +7 -14
  153. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  154. package/es/components/Select/Select.css +7 -14
  155. package/es/components/Select/ui/SelectDivider/SelectDivider.css +6 -15
  156. package/es/components/Select/ui/SelectDivider/SelectDivider.js +2 -2
  157. package/es/components/Select/ui/SelectFooter/SelectFooter.css +6 -15
  158. package/es/components/Select/ui/SelectFooter/SelectFooter.js +2 -2
  159. package/es/components/Select/ui/SelectGroup/SelectGroup.css +6 -15
  160. package/es/components/Select/ui/SelectGroup/SelectGroup.js +2 -2
  161. package/es/components/Select/ui/SelectHeader/SelectHeader.css +6 -15
  162. package/es/components/Select/ui/SelectHeader/SelectHeader.js +2 -2
  163. package/es/components/Select/ui/SelectItem/SelectItem.css +7 -16
  164. package/es/components/Select/ui/SelectItem/SelectItem.js +3 -3
  165. package/es/components/Select/ui/SelectItem/SelectItem.js.map +1 -1
  166. package/es/components/Select/ui/SelectItem/SelectItem.styles.js +2 -2
  167. package/es/components/Select/ui/SelectItem/SelectItem.styles.js.map +1 -1
  168. package/es/components/Select/ui/SelectItem/{SelectItem.styles_vk39mp.css → SelectItem.styles_6h17aw.css} +1 -1
  169. package/es/components/Slider/Slider.css +69 -0
  170. package/es/components/Slider/Slider.js +53 -0
  171. package/es/components/Slider/Slider.js.map +1 -0
  172. package/es/components/Slider/Slider.tokens.js +74 -0
  173. package/es/components/Slider/Slider.tokens.js.map +1 -0
  174. package/es/components/Slider/components/Double/Double.css +62 -0
  175. package/es/components/Slider/components/Double/Double.js +270 -0
  176. package/es/components/Slider/components/Double/Double.js.map +1 -0
  177. package/es/components/Slider/components/Double/Double.styles.js +51 -0
  178. package/es/components/Slider/components/Double/Double.styles.js.map +1 -0
  179. package/es/components/Slider/components/Double/Double.styles_1jhda4u.css +7 -0
  180. package/es/components/Slider/components/Single/Single.css +16 -0
  181. package/es/components/Slider/components/Single/Single.js +156 -0
  182. package/es/components/Slider/components/Single/Single.js.map +1 -0
  183. package/es/components/Slider/components/Single/Single.styles.js +36 -0
  184. package/es/components/Slider/components/Single/Single.styles.js.map +1 -0
  185. package/es/components/Slider/components/Single/Single.styles_1r9f1e0.css +6 -0
  186. package/es/components/Slider/components/SliderBase/SliderBase.css +4 -0
  187. package/es/components/Slider/components/SliderBase/SliderBase.js +78 -0
  188. package/es/components/Slider/components/SliderBase/SliderBase.js.map +1 -0
  189. package/es/components/Slider/components/SliderBase/SliderBase.styles.js +26 -0
  190. package/es/components/Slider/components/SliderBase/SliderBase.styles.js.map +1 -0
  191. package/es/components/Slider/components/SliderBase/SliderBase.styles_7is2ll.css +4 -0
  192. package/es/components/Slider/ui/Handle/Handle.css +4 -0
  193. package/es/components/Slider/ui/Handle/Handle.js +170 -0
  194. package/es/components/Slider/ui/Handle/Handle.js.map +1 -0
  195. package/es/components/Slider/ui/Handle/Handle.styles.js +16 -0
  196. package/es/components/Slider/ui/Handle/Handle.styles.js.map +1 -0
  197. package/es/components/Slider/ui/Handle/Handle.styles_16a5sl.css +2 -0
  198. package/es/components/Slider/ui/Thumb/Thumb.css +1 -0
  199. package/es/components/Slider/ui/Thumb/Thumb.js +27 -0
  200. package/es/components/Slider/ui/Thumb/Thumb.js.map +1 -0
  201. package/es/components/Slider/ui/Thumb/Thumb.styles.js +11 -0
  202. package/es/components/Slider/ui/Thumb/Thumb.styles.js.map +1 -0
  203. package/es/components/Slider/ui/Thumb/Thumb.styles_zwgsh8.css +1 -0
  204. package/es/components/Slider/utils/index.js +50 -0
  205. package/es/components/Slider/utils/index.js.map +1 -0
  206. package/es/components/Slider/variations/_disabled/base.js +5 -0
  207. package/es/components/Slider/variations/_disabled/base.js.map +1 -0
  208. package/es/components/Slider/variations/_disabled/base_x642ct.css +1 -0
  209. package/es/components/Slider/variations/_size/base.js +5 -0
  210. package/es/components/Slider/variations/_size/base.js.map +1 -0
  211. package/es/components/Slider/variations/_size/base_x642ct.css +1 -0
  212. package/es/components/Slider/variations/_view/base.js +5 -0
  213. package/es/components/Slider/variations/_view/base.js.map +1 -0
  214. package/es/components/Slider/variations/_view/base_x642ct.css +1 -0
  215. package/es/components/TextField/TextField.js +6 -2
  216. package/es/components/TextField/TextField.js.map +1 -1
  217. package/es/components/_Icon/Icon.assets/DisclosureRight.js +2 -1
  218. package/es/components/_Icon/Icon.assets/DisclosureRight.js.map +1 -1
  219. package/es/hooks/useIsomorphicLayoutEffect.js +11 -0
  220. package/es/hooks/useIsomorphicLayoutEffect.js.map +1 -0
  221. package/es/index.css +33 -18
  222. package/es/index.js +9 -4
  223. package/es/index.js.map +1 -1
  224. package/es/utils/canUseDOM.js +8 -0
  225. package/es/utils/canUseDOM.js.map +1 -0
  226. package/es/utils/index.js.map +1 -1
  227. package/package.json +4 -2
  228. package/styled-components/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.js +2 -91
  229. package/styled-components/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js +7 -27
  230. package/styled-components/cjs/components/Dropdown/Dropdown.js +54 -140
  231. package/styled-components/cjs/components/Dropdown/Dropdown.styles.js +7 -22
  232. package/styled-components/cjs/components/Dropdown/Dropdown.template-doc.mdx +80 -0
  233. package/styled-components/cjs/components/Dropdown/Dropdown.tokens.js +23 -26
  234. package/styled-components/cjs/components/Dropdown/index.js +1 -9
  235. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +105 -77
  236. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +18 -83
  237. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/variations/_size/tokens.json +19 -0
  238. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/variations/_view/tokens.json +9 -0
  239. package/styled-components/cjs/components/Dropdown/ui/index.js +5 -19
  240. package/styled-components/cjs/components/Dropdown/utils/index.js +1 -15
  241. package/styled-components/cjs/components/Dropdown/variations/_size/tokens.json +9 -1
  242. package/styled-components/cjs/components/Dropdown/variations/_view/tokens.json +1 -1
  243. package/styled-components/cjs/components/Select/ui/SelectItem/SelectItem.js +1 -1
  244. package/styled-components/cjs/components/Select/ui/SelectItem/SelectItem.styles.js +1 -1
  245. package/styled-components/cjs/components/Slider/Slider.js +57 -0
  246. package/styled-components/cjs/components/Slider/Slider.tokens.js +77 -0
  247. package/styled-components/cjs/components/Slider/components/Double/Double.js +286 -0
  248. package/styled-components/cjs/components/Slider/components/Double/Double.styles.js +36 -0
  249. package/styled-components/cjs/components/Slider/components/Single/Single.js +172 -0
  250. package/styled-components/cjs/components/Slider/components/Single/Single.styles.js +27 -0
  251. package/styled-components/cjs/components/Slider/components/Single/Single.types.js +5 -0
  252. package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.js +83 -0
  253. package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.styles.js +21 -0
  254. package/styled-components/cjs/components/Slider/components/SliderBase/SliderBase.types.js +5 -0
  255. package/styled-components/cjs/components/Slider/components/index.js +27 -0
  256. package/styled-components/cjs/components/Slider/index.js +32 -0
  257. package/styled-components/cjs/components/Slider/ui/Handle/Handle.js +183 -0
  258. package/styled-components/cjs/components/Slider/ui/Handle/Handle.styles.js +15 -0
  259. package/styled-components/cjs/components/Slider/ui/Handle/Handle.types.js +5 -0
  260. package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.js +32 -0
  261. package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.styles.js +12 -0
  262. package/styled-components/cjs/components/Slider/ui/Thumb/Thumb.types.js +5 -0
  263. package/styled-components/cjs/components/Slider/ui/index.js +63 -0
  264. package/styled-components/cjs/components/Slider/utils/index.js +55 -0
  265. package/styled-components/cjs/components/Slider/variations/_disabled/base.js +8 -0
  266. package/styled-components/cjs/components/Slider/variations/_disabled/tokens.json +4 -0
  267. package/styled-components/cjs/components/Slider/variations/_size/base.js +8 -0
  268. package/styled-components/cjs/components/Slider/variations/_size/tokens.json +0 -0
  269. package/styled-components/cjs/components/Slider/variations/_view/base.js +8 -0
  270. package/styled-components/cjs/components/Slider/variations/_view/tokens.json +0 -0
  271. package/styled-components/cjs/components/TextField/TextField.js +6 -2
  272. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureRight.js +2 -1
  273. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.config.js +27 -0
  274. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.js +13 -0
  275. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.stories.tsx +194 -0
  276. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.config.js +27 -0
  277. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.js +13 -0
  278. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.stories.tsx +195 -0
  279. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.config.js +29 -0
  280. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.js +11 -0
  281. package/styled-components/cjs/examples/plasma_b2c/components/Slider/Slider.stories.tsx +131 -0
  282. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Normal/Dropdown.config.js +27 -0
  283. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Normal/Dropdown.js +13 -0
  284. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Normal/Dropdown.stories.tsx +195 -0
  285. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Tight/Dropdown.config.js +27 -0
  286. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Tight/Dropdown.js +13 -0
  287. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Tight/Dropdown.stories.tsx +195 -0
  288. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.config.js +29 -0
  289. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.js +11 -0
  290. package/styled-components/cjs/examples/plasma_web/components/Slider/Slider.stories.tsx +131 -0
  291. package/styled-components/cjs/examples/sds_engineer/components/Dropdown/Dropdown.config.js +22 -0
  292. package/styled-components/cjs/examples/sds_engineer/components/Dropdown/Dropdown.js +21 -0
  293. package/styled-components/cjs/examples/sds_engineer/components/Dropdown/Dropdown.stories.tsx +277 -0
  294. package/styled-components/cjs/hooks/index.js +8 -1
  295. package/styled-components/cjs/hooks/useIsomorphicLayoutEffect.js +12 -0
  296. package/styled-components/cjs/index.js +11 -0
  297. package/styled-components/cjs/utils/canUseDOM.js +11 -0
  298. package/styled-components/cjs/utils/index.js +7 -0
  299. package/styled-components/es/components/Combobox/ui/ComboboxItem/ComboboxItem.js +3 -90
  300. package/styled-components/es/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js +6 -23
  301. package/styled-components/es/components/Dropdown/Dropdown.js +55 -142
  302. package/styled-components/es/components/Dropdown/Dropdown.styles.js +5 -18
  303. package/styled-components/es/components/Dropdown/Dropdown.template-doc.mdx +80 -0
  304. package/styled-components/es/components/Dropdown/Dropdown.tokens.js +23 -26
  305. package/styled-components/es/components/Dropdown/index.js +0 -1
  306. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +107 -78
  307. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +14 -80
  308. package/styled-components/es/components/Dropdown/ui/DropdownItem/variations/_size/tokens.json +19 -0
  309. package/styled-components/es/components/Dropdown/ui/DropdownItem/variations/_view/tokens.json +9 -0
  310. package/styled-components/es/components/Dropdown/ui/index.js +1 -3
  311. package/styled-components/es/components/Dropdown/utils/index.js +1 -15
  312. package/styled-components/es/components/Dropdown/variations/_size/tokens.json +9 -1
  313. package/styled-components/es/components/Dropdown/variations/_view/tokens.json +1 -1
  314. package/styled-components/es/components/Select/ui/SelectItem/SelectItem.js +2 -2
  315. package/styled-components/es/components/Select/ui/SelectItem/SelectItem.styles.js +1 -1
  316. package/styled-components/es/components/Slider/Slider.js +48 -0
  317. package/styled-components/es/components/Slider/Slider.tokens.js +71 -0
  318. package/styled-components/es/components/Slider/components/Double/Double.js +278 -0
  319. package/styled-components/es/components/Slider/components/Double/Double.styles.js +29 -0
  320. package/styled-components/es/components/Slider/components/Single/Single.js +164 -0
  321. package/styled-components/es/components/Slider/components/Single/Single.styles.js +20 -0
  322. package/styled-components/es/components/Slider/components/Single/Single.types.js +1 -0
  323. package/styled-components/es/components/Slider/components/SliderBase/SliderBase.js +74 -0
  324. package/styled-components/es/components/Slider/components/SliderBase/SliderBase.styles.js +14 -0
  325. package/styled-components/es/components/Slider/components/SliderBase/SliderBase.types.js +1 -0
  326. package/styled-components/es/components/Slider/components/index.js +3 -0
  327. package/styled-components/es/components/Slider/index.js +3 -0
  328. package/styled-components/es/components/Slider/ui/Handle/Handle.js +174 -0
  329. package/styled-components/es/components/Slider/ui/Handle/Handle.styles.js +8 -0
  330. package/styled-components/es/components/Slider/ui/Handle/Handle.types.js +1 -0
  331. package/styled-components/es/components/Slider/ui/Thumb/Thumb.js +25 -0
  332. package/styled-components/es/components/Slider/ui/Thumb/Thumb.styles.js +5 -0
  333. package/styled-components/es/components/Slider/ui/Thumb/Thumb.types.js +1 -0
  334. package/styled-components/es/components/Slider/ui/index.js +5 -0
  335. package/styled-components/es/components/Slider/utils/index.js +47 -0
  336. package/styled-components/es/components/Slider/variations/_disabled/base.js +2 -0
  337. package/styled-components/es/components/Slider/variations/_disabled/tokens.json +4 -0
  338. package/styled-components/es/components/Slider/variations/_size/base.js +2 -0
  339. package/styled-components/es/components/Slider/variations/_size/tokens.json +0 -0
  340. package/styled-components/es/components/Slider/variations/_view/base.js +2 -0
  341. package/styled-components/es/components/Slider/variations/_view/tokens.json +0 -0
  342. package/styled-components/es/components/TextField/TextField.js +6 -2
  343. package/styled-components/es/components/_Icon/Icon.assets/DisclosureRight.js +2 -1
  344. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.config.js +21 -0
  345. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.js +7 -0
  346. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.stories.tsx +194 -0
  347. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.config.js +21 -0
  348. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.js +7 -0
  349. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.stories.tsx +195 -0
  350. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.config.js +23 -0
  351. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.js +5 -0
  352. package/styled-components/es/examples/plasma_b2c/components/Slider/Slider.stories.tsx +131 -0
  353. package/styled-components/es/examples/plasma_web/components/Dropdown/Normal/Dropdown.config.js +21 -0
  354. package/styled-components/es/examples/plasma_web/components/Dropdown/Normal/Dropdown.js +7 -0
  355. package/styled-components/es/examples/plasma_web/components/Dropdown/Normal/Dropdown.stories.tsx +195 -0
  356. package/styled-components/es/examples/plasma_web/components/Dropdown/Tight/Dropdown.config.js +21 -0
  357. package/styled-components/es/examples/plasma_web/components/Dropdown/Tight/Dropdown.js +7 -0
  358. package/styled-components/es/examples/plasma_web/components/Dropdown/Tight/Dropdown.stories.tsx +195 -0
  359. package/styled-components/es/examples/plasma_web/components/Slider/Slider.config.js +23 -0
  360. package/styled-components/es/examples/plasma_web/components/Slider/Slider.js +5 -0
  361. package/styled-components/es/examples/plasma_web/components/Slider/Slider.stories.tsx +131 -0
  362. package/styled-components/es/examples/sds_engineer/components/Dropdown/Dropdown.config.js +16 -0
  363. package/styled-components/es/examples/sds_engineer/components/Dropdown/Dropdown.js +15 -0
  364. package/styled-components/es/examples/sds_engineer/components/Dropdown/Dropdown.stories.tsx +277 -0
  365. package/styled-components/es/hooks/index.js +2 -1
  366. package/styled-components/es/hooks/useIsomorphicLayoutEffect.js +7 -0
  367. package/styled-components/es/index.js +2 -1
  368. package/styled-components/es/utils/canUseDOM.js +5 -0
  369. package/styled-components/es/utils/index.js +1 -0
  370. package/types/components/Combobox/ui/ComboboxItem/ComboboxItem.d.ts +13 -15
  371. package/types/components/Combobox/ui/ComboboxItem/ComboboxItem.d.ts.map +1 -1
  372. package/types/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.d.ts +1 -5
  373. package/types/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.d.ts.map +1 -1
  374. package/types/components/Combobox/ui/ComboboxItem/ComboboxItem.type.d.ts +2 -59
  375. package/types/components/Combobox/ui/ComboboxItem/ComboboxItem.type.d.ts.map +1 -1
  376. package/types/components/Dropdown/Dropdown.d.ts +4 -4
  377. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  378. package/types/components/Dropdown/Dropdown.styles.d.ts +1 -8
  379. package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
  380. package/types/components/Dropdown/Dropdown.tokens.d.ts +22 -24
  381. package/types/components/Dropdown/Dropdown.tokens.d.ts.map +1 -1
  382. package/types/components/Dropdown/Dropdown.types.d.ts +40 -64
  383. package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
  384. package/types/components/Dropdown/index.d.ts +1 -3
  385. package/types/components/Dropdown/index.d.ts.map +1 -1
  386. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.d.ts +56 -2
  387. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.d.ts.map +1 -1
  388. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts +2 -5
  389. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts.map +1 -1
  390. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts +38 -44
  391. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts.map +1 -1
  392. package/types/components/Dropdown/ui/DropdownItem/variations/_size/base.d.ts.map +1 -0
  393. package/types/components/Dropdown/ui/DropdownItem/variations/_view/base.d.ts.map +1 -0
  394. package/types/components/Dropdown/ui/index.d.ts +1 -3
  395. package/types/components/Dropdown/ui/index.d.ts.map +1 -1
  396. package/types/components/Dropdown/utils/index.d.ts +2 -5
  397. package/types/components/Dropdown/utils/index.d.ts.map +1 -1
  398. package/types/components/Select/ui/SelectItem/SelectItem.d.ts +2 -2
  399. package/types/components/Select/ui/SelectItem/SelectItem.d.ts.map +1 -1
  400. package/types/components/Select/ui/SelectItem/SelectItem.type.d.ts +2 -2
  401. package/types/components/Select/utils/index.d.ts +1 -1
  402. package/types/components/Slider/Slider.d.ts +31 -0
  403. package/types/components/Slider/Slider.d.ts.map +1 -0
  404. package/types/components/Slider/Slider.tokens.d.ts +72 -0
  405. package/types/components/Slider/Slider.tokens.d.ts.map +1 -0
  406. package/types/components/Slider/Slider.types.d.ts +3 -0
  407. package/types/components/Slider/Slider.types.d.ts.map +1 -0
  408. package/types/components/Slider/components/Double/Double.d.ts +4 -0
  409. package/types/components/Slider/components/Double/Double.d.ts.map +1 -0
  410. package/types/components/Slider/components/Double/Double.styles.d.ts +43 -0
  411. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -0
  412. package/types/components/Slider/components/Double/Double.types.d.ts +60 -0
  413. package/types/components/Slider/components/Double/Double.types.d.ts.map +1 -0
  414. package/types/components/Slider/components/Single/Single.d.ts +4 -0
  415. package/types/components/Slider/components/Single/Single.d.ts.map +1 -0
  416. package/types/components/Slider/components/Single/Single.styles.d.ts +8 -0
  417. package/types/components/Slider/components/Single/Single.styles.d.ts.map +1 -0
  418. package/types/components/Slider/components/Single/Single.types.d.ts +62 -0
  419. package/types/components/Slider/components/Single/Single.types.d.ts.map +1 -0
  420. package/types/components/Slider/components/SliderBase/SliderBase.d.ts +4 -0
  421. package/types/components/Slider/components/SliderBase/SliderBase.d.ts.map +1 -0
  422. package/types/components/Slider/components/SliderBase/SliderBase.styles.d.ts +6 -0
  423. package/types/components/Slider/components/SliderBase/SliderBase.styles.d.ts.map +1 -0
  424. package/types/components/Slider/components/SliderBase/SliderBase.types.d.ts +45 -0
  425. package/types/components/Slider/components/SliderBase/SliderBase.types.d.ts.map +1 -0
  426. package/types/components/Slider/components/index.d.ts +6 -0
  427. package/types/components/Slider/components/index.d.ts.map +1 -0
  428. package/types/components/Slider/index.d.ts +6 -0
  429. package/types/components/Slider/index.d.ts.map +1 -0
  430. package/types/components/Slider/ui/Handle/Handle.d.ts +9 -0
  431. package/types/components/Slider/ui/Handle/Handle.d.ts.map +1 -0
  432. package/types/components/Slider/ui/Handle/Handle.styles.d.ts +4 -0
  433. package/types/components/Slider/ui/Handle/Handle.styles.d.ts.map +1 -0
  434. package/types/components/Slider/ui/Handle/Handle.types.d.ts +24 -0
  435. package/types/components/Slider/ui/Handle/Handle.types.d.ts.map +1 -0
  436. package/types/components/Slider/ui/Thumb/Thumb.d.ts +4 -0
  437. package/types/components/Slider/ui/Thumb/Thumb.d.ts.map +1 -0
  438. package/types/components/Slider/ui/Thumb/Thumb.styles.d.ts +5 -0
  439. package/types/components/Slider/ui/Thumb/Thumb.styles.d.ts.map +1 -0
  440. package/types/components/Slider/ui/Thumb/Thumb.types.d.ts +12 -0
  441. package/types/components/Slider/ui/Thumb/Thumb.types.d.ts.map +1 -0
  442. package/types/components/Slider/ui/index.d.ts +6 -0
  443. package/types/components/Slider/ui/index.d.ts.map +1 -0
  444. package/types/components/Slider/utils/index.d.ts +33 -0
  445. package/types/components/Slider/utils/index.d.ts.map +1 -0
  446. package/types/components/Slider/variations/_disabled/base.d.ts +2 -0
  447. package/types/components/Slider/variations/_disabled/base.d.ts.map +1 -0
  448. package/types/components/Slider/variations/_size/base.d.ts +2 -0
  449. package/types/components/Slider/variations/_size/base.d.ts.map +1 -0
  450. package/types/components/Slider/variations/_view/base.d.ts +2 -0
  451. package/types/components/Slider/variations/_view/base.d.ts.map +1 -0
  452. package/types/components/TextField/TextField.d.ts.map +1 -1
  453. package/types/components/_Icon/Icon.assets/DisclosureRight.d.ts.map +1 -1
  454. package/types/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.config.d.ts.map +1 -0
  455. package/types/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.d.ts +30 -0
  456. package/types/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.d.ts.map +1 -0
  457. package/types/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.config.d.ts +18 -0
  458. package/types/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.config.d.ts.map +1 -0
  459. package/types/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.d.ts +30 -0
  460. package/types/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.d.ts.map +1 -0
  461. package/types/examples/plasma_b2c/components/Slider/Slider.config.d.ts +22 -0
  462. package/types/examples/plasma_b2c/components/Slider/Slider.config.d.ts.map +1 -0
  463. package/types/examples/plasma_b2c/components/Slider/Slider.d.ts +17 -0
  464. package/types/examples/plasma_b2c/components/Slider/Slider.d.ts.map +1 -0
  465. package/types/examples/plasma_web/components/Dropdown/Normal/Dropdown.config.d.ts +18 -0
  466. package/types/examples/plasma_web/components/Dropdown/Normal/Dropdown.config.d.ts.map +1 -0
  467. package/types/examples/plasma_web/components/Dropdown/Normal/Dropdown.d.ts +30 -0
  468. package/types/examples/plasma_web/components/Dropdown/Normal/Dropdown.d.ts.map +1 -0
  469. package/types/examples/plasma_web/components/Dropdown/Tight/Dropdown.config.d.ts +18 -0
  470. package/types/examples/plasma_web/components/Dropdown/Tight/Dropdown.config.d.ts.map +1 -0
  471. package/types/examples/plasma_web/components/Dropdown/Tight/Dropdown.d.ts +30 -0
  472. package/types/examples/plasma_web/components/Dropdown/Tight/Dropdown.d.ts.map +1 -0
  473. package/types/examples/plasma_web/components/Slider/Slider.config.d.ts +22 -0
  474. package/types/examples/plasma_web/components/Slider/Slider.config.d.ts.map +1 -0
  475. package/types/examples/plasma_web/components/Slider/Slider.d.ts +17 -0
  476. package/types/examples/plasma_web/components/Slider/Slider.d.ts.map +1 -0
  477. package/types/examples/sds_engineer/components/Dropdown/Dropdown.config.d.ts +15 -0
  478. package/types/examples/sds_engineer/components/Dropdown/Dropdown.config.d.ts.map +1 -0
  479. package/types/examples/sds_engineer/components/Dropdown/Dropdown.d.ts +51 -0
  480. package/types/examples/sds_engineer/components/Dropdown/Dropdown.d.ts.map +1 -0
  481. package/types/hooks/index.d.ts +1 -0
  482. package/types/hooks/index.d.ts.map +1 -1
  483. package/types/hooks/useIsomorphicLayoutEffect.d.ts +6 -0
  484. package/types/hooks/useIsomorphicLayoutEffect.d.ts.map +1 -0
  485. package/types/index.d.ts +1 -0
  486. package/types/index.d.ts.map +1 -1
  487. package/types/utils/canUseDOM.d.ts +6 -0
  488. package/types/utils/canUseDOM.d.ts.map +1 -0
  489. package/types/utils/index.d.ts +1 -0
  490. package/types/utils/index.d.ts.map +1 -1
  491. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.styles_s4sk53.css +0 -4
  492. package/cjs/components/Combobox/utils/index.js +0 -23
  493. package/cjs/components/Combobox/utils/index.js.map +0 -1
  494. package/cjs/components/Dropdown/Dropdown.styles_1tihqkp.css +0 -3
  495. package/cjs/components/Dropdown/hooks/useHashMaps.js +0 -31
  496. package/cjs/components/Dropdown/hooks/useHashMaps.js.map +0 -1
  497. package/cjs/components/Dropdown/hooks/useKeyboardNavigation.js +0 -200
  498. package/cjs/components/Dropdown/hooks/useKeyboardNavigation.js.map +0 -1
  499. package/cjs/components/Dropdown/reducers/focusedPathReducer.js +0 -37
  500. package/cjs/components/Dropdown/reducers/focusedPathReducer.js.map +0 -1
  501. package/cjs/components/Dropdown/reducers/pathReducer.js +0 -41
  502. package/cjs/components/Dropdown/reducers/pathReducer.js.map +0 -1
  503. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +0 -119
  504. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +0 -1
  505. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles_1o4szyu.css +0 -5
  506. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +0 -30
  507. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +0 -1
  508. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles_12e50g5.css +0 -4
  509. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.css +0 -4
  510. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.js +0 -112
  511. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.js.map +0 -1
  512. package/cjs/components/Dropdown/ui/DropdownItemOld/variations/_size/base.js.map +0 -1
  513. package/cjs/components/Dropdown/ui/DropdownItemOld/variations/_view/base.js.map +0 -1
  514. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.styles_s4sk53.css +0 -4
  515. package/es/components/Combobox/utils/index.js +0 -19
  516. package/es/components/Combobox/utils/index.js.map +0 -1
  517. package/es/components/Dropdown/Dropdown.styles_1tihqkp.css +0 -3
  518. package/es/components/Dropdown/hooks/useHashMaps.js +0 -27
  519. package/es/components/Dropdown/hooks/useHashMaps.js.map +0 -1
  520. package/es/components/Dropdown/hooks/useKeyboardNavigation.js +0 -196
  521. package/es/components/Dropdown/hooks/useKeyboardNavigation.js.map +0 -1
  522. package/es/components/Dropdown/reducers/focusedPathReducer.js +0 -33
  523. package/es/components/Dropdown/reducers/focusedPathReducer.js.map +0 -1
  524. package/es/components/Dropdown/reducers/pathReducer.js +0 -37
  525. package/es/components/Dropdown/reducers/pathReducer.js.map +0 -1
  526. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +0 -115
  527. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +0 -1
  528. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles_1o4szyu.css +0 -5
  529. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +0 -23
  530. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +0 -1
  531. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles_12e50g5.css +0 -4
  532. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.css +0 -4
  533. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.js +0 -107
  534. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.js.map +0 -1
  535. package/es/components/Dropdown/ui/DropdownItemOld/variations/_size/base.js.map +0 -1
  536. package/es/components/Dropdown/ui/DropdownItemOld/variations/_view/base.js.map +0 -1
  537. package/styled-components/cjs/components/Combobox/utils/index.js +0 -23
  538. package/styled-components/cjs/components/Dropdown/hooks/useHashMaps.js +0 -29
  539. package/styled-components/cjs/components/Dropdown/hooks/useKeyboardNavigation.js +0 -199
  540. package/styled-components/cjs/components/Dropdown/reducers/focusedPathReducer.js +0 -40
  541. package/styled-components/cjs/components/Dropdown/reducers/pathReducer.js +0 -44
  542. package/styled-components/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +0 -114
  543. package/styled-components/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +0 -33
  544. package/styled-components/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.js +0 -119
  545. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +0 -25
  546. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.js +0 -11
  547. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +0 -292
  548. package/styled-components/es/components/Combobox/utils/index.js +0 -15
  549. package/styled-components/es/components/Dropdown/hooks/useHashMaps.js +0 -23
  550. package/styled-components/es/components/Dropdown/hooks/useKeyboardNavigation.js +0 -193
  551. package/styled-components/es/components/Dropdown/reducers/focusedPathReducer.js +0 -34
  552. package/styled-components/es/components/Dropdown/reducers/pathReducer.js +0 -38
  553. package/styled-components/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +0 -108
  554. package/styled-components/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +0 -25
  555. package/styled-components/es/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.js +0 -111
  556. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +0 -19
  557. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.js +0 -5
  558. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +0 -292
  559. package/types/components/Combobox/utils/index.d.ts +0 -4
  560. package/types/components/Combobox/utils/index.d.ts.map +0 -1
  561. package/types/components/Dropdown/hooks/useHashMaps.d.ts +0 -6
  562. package/types/components/Dropdown/hooks/useHashMaps.d.ts.map +0 -1
  563. package/types/components/Dropdown/hooks/useKeyboardNavigation.d.ts +0 -23
  564. package/types/components/Dropdown/hooks/useKeyboardNavigation.d.ts.map +0 -1
  565. package/types/components/Dropdown/reducers/focusedPathReducer.d.ts +0 -16
  566. package/types/components/Dropdown/reducers/focusedPathReducer.d.ts.map +0 -1
  567. package/types/components/Dropdown/reducers/pathReducer.d.ts +0 -20
  568. package/types/components/Dropdown/reducers/pathReducer.d.ts.map +0 -1
  569. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.d.ts +0 -5
  570. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.d.ts.map +0 -1
  571. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts +0 -26
  572. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts.map +0 -1
  573. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.d.ts +0 -7
  574. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.d.ts.map +0 -1
  575. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItem.type.d.ts +0 -60
  576. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItem.type.d.ts.map +0 -1
  577. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.d.ts +0 -58
  578. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.d.ts.map +0 -1
  579. package/types/components/Dropdown/ui/DropdownItemOld/variations/_size/base.d.ts.map +0 -1
  580. package/types/components/Dropdown/ui/DropdownItemOld/variations/_view/base.d.ts.map +0 -1
  581. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.config.d.ts.map +0 -1
  582. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts +0 -13
  583. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts.map +0 -1
  584. /package/cjs/components/Dropdown/ui/{DropdownItemOld → DropdownItem}/variations/_size/base_x642ct.css +0 -0
  585. /package/cjs/components/Dropdown/ui/{DropdownItemOld → DropdownItem}/variations/_view/base_x642ct.css +0 -0
  586. /package/{es/components/Dropdown/ui/DropdownItemOld/variations/_size → cjs/components/Slider/variations/_disabled}/base_x642ct.css +0 -0
  587. /package/{es/components/Dropdown/ui/DropdownItemOld/variations/_view → cjs/components/Slider/variations/_size}/base_x642ct.css +0 -0
  588. /package/styled-components/cjs/components/Dropdown/ui/{DropdownItemOld → DropdownItem}/variations/_size/base.js +0 -0
  589. /package/styled-components/cjs/components/Dropdown/ui/{DropdownItemOld → DropdownItem}/variations/_view/base.js +0 -0
  590. /package/styled-components/cjs/components/{Dropdown/ui/DropdownInner/DropdownInner.type.js → Slider/Slider.types.js} +0 -0
  591. /package/styled-components/cjs/components/{Dropdown/ui/DropdownItemOld/DropdownItem.type.js → Slider/components/Double/Double.types.js} +0 -0
  592. /package/styled-components/es/components/Dropdown/ui/{DropdownItemOld → DropdownItem}/variations/_size/base.js +0 -0
  593. /package/styled-components/es/components/Dropdown/ui/{DropdownItemOld → DropdownItem}/variations/_view/base.js +0 -0
  594. /package/styled-components/es/components/{Dropdown/ui/DropdownInner/DropdownInner.type.js → Slider/Slider.types.js} +0 -0
  595. /package/styled-components/es/components/{Dropdown/ui/DropdownItemOld/DropdownItem.type.js → Slider/components/Double/Double.types.js} +0 -0
  596. /package/types/components/Dropdown/ui/{DropdownItemOld → DropdownItem}/variations/_size/base.d.ts +0 -0
  597. /package/types/components/Dropdown/ui/{DropdownItemOld → DropdownItem}/variations/_view/base.d.ts +0 -0
  598. /package/types/examples/plasma_b2c/components/Dropdown/{Dropdown.config.d.ts → Normal/Dropdown.config.d.ts} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Handle.js","sources":["../../../../../src/components/Slider/ui/Handle/Handle.tsx"],"sourcesContent":["import React, { useState, useRef, useCallback, forwardRef, KeyboardEvent } from 'react';\nimport Draggable, { DraggableEventHandler } from 'react-draggable';\nimport type { DraggableData } from 'react-draggable';\n\nimport { getSliderThumbValue, getOffsets } from '../../utils';\nimport { Thumb } from '../Thumb/Thumb';\n\nimport type { HandleProps } from './Handle.types';\nimport { HandleStyled, StyledValue } from './Handle.styles';\n\n// TODO: PLASMA-1707\ndeclare module 'react-draggable' {\n export interface DraggableProps {\n children: React.ReactNode;\n }\n}\n\nconst KeyboardSupport = {\n PageUp: 33,\n PageDown: 34,\n End: 35,\n Home: 36,\n ArrowLeft: 37,\n ArrowUp: 38,\n ArrowRight: 39,\n ArrowDown: 40,\n};\n\nexport const Handle = forwardRef<HTMLDivElement, HandleProps>(\n (\n {\n stepSize,\n onChangeCommitted,\n onChange,\n xPosition = 0,\n min,\n max,\n bounds = [],\n zIndex,\n disabled,\n side,\n showCurrentValue = false,\n startOffset = 0,\n endOffset = 0,\n ...rest\n },\n ref,\n ) => {\n const lastOnChangeValue = useRef<number>();\n const currentSliderValue = lastOnChangeValue?.current ?? rest.value;\n\n const [offsetLeft, offsetRight] = getOffsets(ref, side);\n\n const [leftValueBound, rightValueBound] = bounds;\n const leftPositionBound = leftValueBound ? (leftValueBound - min) * stepSize : null;\n const rightPositionBound = rightValueBound ? (rightValueBound - min) * stepSize : null;\n\n const position = typeof xPosition === 'number' ? { x: xPosition, y: 0 } : undefined;\n const tabIndex = disabled ? -1 : 0;\n\n const [positionX, setPositionX] = useState(position?.x ?? 0);\n\n const computedBounds = {\n left: (leftPositionBound ?? 0) + offsetLeft,\n right: (rightPositionBound ?? stepSize * (max - min)) - offsetRight,\n };\n\n const showCurrentValueCondition =\n showCurrentValue && positionX >= startOffset && positionX <= max * stepSize - endOffset;\n\n const onDrag = useCallback<DraggableEventHandler>(\n (_, data) => {\n const newValue = getSliderThumbValue(data.x, stepSize, min, max);\n if (lastOnChangeValue.current !== newValue) {\n onChange?.(newValue, data);\n setPositionX(data.x);\n lastOnChangeValue.current = newValue;\n }\n },\n [onChange, setPositionX, stepSize, min, max],\n );\n\n const onStop = useCallback<DraggableEventHandler>(\n (_, data) => {\n const newValue = getSliderThumbValue(data.x, stepSize, min, max);\n setPositionX(data.x);\n onChangeCommitted && onChangeCommitted(newValue, data);\n },\n [onChangeCommitted, setPositionX, stepSize, min, max],\n );\n\n const onKeyPress = useCallback(\n (event: KeyboardEvent<HTMLDivElement>) => {\n event.persist();\n\n const { keyCode, target } = event;\n\n if (!Object.values(KeyboardSupport).includes(keyCode)) {\n return;\n }\n\n const { ArrowUp, ArrowRight, ArrowDown, ArrowLeft, Home, End, PageDown, PageUp } = KeyboardSupport;\n\n const computedMultipleSteps = stepSize * ((rest.multipleStepSize / 100) * max);\n\n const data: DraggableData = {\n x: 0,\n deltaX: stepSize,\n lastX: xPosition,\n y: 0,\n deltaY: 0,\n lastY: 0,\n node: target as HTMLDivElement,\n };\n\n switch (keyCode) {\n case ArrowUp:\n case ArrowRight:\n data.x = xPosition + stepSize;\n break;\n case ArrowDown:\n case ArrowLeft:\n data.x = xPosition - stepSize;\n data.deltaX = -stepSize;\n break;\n case PageUp:\n data.x = xPosition + computedMultipleSteps;\n data.deltaX = computedMultipleSteps;\n break;\n case PageDown:\n data.x = xPosition - computedMultipleSteps;\n data.deltaX = -computedMultipleSteps;\n break;\n case End:\n data.x = max * stepSize;\n break;\n case Home:\n data.x = 0;\n break;\n default:\n data.x = 0;\n }\n\n const { left, right } = computedBounds;\n\n /*\n * INFO: Находим значение в диапазоне между указанными левой и правой границами.\n * Необходимо для правильного расчета положения SliderThumb.\n * см. функция clamp\n */\n const boundedValue = Math.max(Math.min(right, data.x), left);\n\n const computedValue = getSliderThumbValue(boundedValue, stepSize, min, max);\n lastOnChangeValue.current = computedValue;\n\n onChangeCommitted && onChangeCommitted(computedValue, data);\n },\n [onChangeCommitted, bounds, stepSize, rest.multipleStepSize, min, max, xPosition],\n );\n\n return (\n <Draggable\n axis=\"x\"\n bounds={computedBounds}\n grid={[stepSize, 1]}\n onStop={onStop}\n onDrag={onDrag}\n position={position}\n disabled={disabled}\n >\n <HandleStyled ref={ref} style={{ zIndex }} onKeyDown={onKeyPress}>\n <Thumb\n tabIndex={tabIndex}\n min={min}\n max={max}\n value={currentSliderValue}\n disabled={disabled}\n {...rest}\n />\n {showCurrentValueCondition && <StyledValue>{currentSliderValue}</StyledValue>}\n </HandleStyled>\n </Draggable>\n );\n },\n);\n"],"names":["KeyboardSupport","PageUp","PageDown","End","Home","ArrowLeft","ArrowUp","ArrowRight","ArrowDown","Handle","forwardRef","_ref","ref","_lastOnChangeValue$cu","_position$x","stepSize","onChangeCommitted","onChange","_ref$xPosition","xPosition","min","max","_ref$bounds","bounds","zIndex","disabled","side","_ref$showCurrentValue","showCurrentValue","_ref$startOffset","startOffset","_ref$endOffset","endOffset","rest","_objectWithoutProperties","_excluded","lastOnChangeValue","useRef","currentSliderValue","current","value","_getOffsets","getOffsets","_getOffsets2","_slicedToArray","offsetLeft","offsetRight","_bounds","leftValueBound","rightValueBound","leftPositionBound","rightPositionBound","position","x","y","undefined","tabIndex","_useState","useState","_useState2","positionX","setPositionX","computedBounds","left","right","showCurrentValueCondition","onDrag","useCallback","_","data","newValue","getSliderThumbValue","onStop","onKeyPress","event","persist","keyCode","target","Object","values","includes","computedMultipleSteps","multipleStepSize","deltaX","lastX","deltaY","lastY","node","boundedValue","Math","computedValue","React","createElement","Draggable","axis","grid","HandleStyled","style","onKeyDown","Thumb","_extends","StyledValue"],"mappings":";;;;;;;;;AAUA;;AAOA,IAAMA,eAAe,GAAG;AACpBC,EAAAA,MAAM,EAAE,EAAE;AACVC,EAAAA,QAAQ,EAAE,EAAE;AACZC,EAAAA,GAAG,EAAE,EAAE;AACPC,EAAAA,IAAI,EAAE,EAAE;AACRC,EAAAA,SAAS,EAAE,EAAE;AACbC,EAAAA,OAAO,EAAE,EAAE;AACXC,EAAAA,UAAU,EAAE,EAAE;AACdC,EAAAA,SAAS,EAAE,EAAA;AACf,CAAC,CAAA;AAEM,IAAMC,MAAM,gBAAGC,UAAU,CAC5B,UAAAC,IAAA,EAiBIC,GAAG,EACF;EAAA,IAAAC,qBAAA,EAAAC,WAAA,CAAA;AAAA,EAAA,IAhBGC,QAAQ,GAAAJ,IAAA,CAARI,QAAQ;IACRC,iBAAiB,GAAAL,IAAA,CAAjBK,iBAAiB;IACjBC,QAAQ,GAAAN,IAAA,CAARM,QAAQ;IAAAC,cAAA,GAAAP,IAAA,CACRQ,SAAS;AAATA,IAAAA,SAAS,GAAAD,cAAA,KAAG,KAAA,CAAA,GAAA,CAAC,GAAAA,cAAA;IACbE,GAAG,GAAAT,IAAA,CAAHS,GAAG;IACHC,GAAG,GAAAV,IAAA,CAAHU,GAAG;IAAA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Handle.styles_16a5sl.css';
2
+ import { styled } from '@linaria/react';
3
+
4
+ var HandleStyled = /*#__PURE__*/styled('div')({
5
+ name: "HandleStyled",
6
+ "class": "hhwq33d",
7
+ propsAsIs: false
8
+ });
9
+ var StyledValue = /*#__PURE__*/styled('span')({
10
+ name: "StyledValue",
11
+ "class": "shurctf",
12
+ propsAsIs: false
13
+ });
14
+
15
+ export { HandleStyled, StyledValue };
16
+ //# sourceMappingURL=Handle.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Handle.styles.js","sources":["../../../../../src/components/Slider/ui/Handle/Handle.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { tokens } from '../../Slider.tokens';\n\nexport const HandleStyled = styled.div`\n cursor: pointer;\n position: absolute;\n z-index: 1;\n top: 0;\n left: 0;\n`;\n\nexport const StyledValue = styled.span`\n position: absolute;\n z-index: 1;\n top: var(${tokens.currentValueTopOffset});\n text-align: center;\n width: 100%;\n margin-left: -2px;\n display: flex;\n justify-content: center;\n font-family: var(${tokens.currentValueFontFamily});\n font-size: var(${tokens.currentValueFontSize});\n font-style: var(${tokens.currentValueFontStyle});\n font-weight: var(${tokens.currentValueFontWeight});\n letter-spacing: var(${tokens.currentValueLetterSpacing});\n line-height: var(${tokens.currentValueLineHeight});\n`;\n"],"names":["HandleStyled","styled","name","class","propsAsIs","StyledValue"],"mappings":";;AAIO,IAAMA,YAAY,gBAAGC,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,cAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAMjC,EAAA;AAEM,IAAMC,WAAW,gBAAGJ,MAAM,CAAA,MAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,aAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAehC;;;;"}
@@ -0,0 +1,2 @@
1
+ .hhwq33d{cursor:pointer;position:absolute;z-index:1;top:0;left:0;}
2
+ .shurctf{position:absolute;z-index:1;top:var(--plasma-slider-current-value-top-offset);text-align:center;width:100%;margin-left:-2px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-family:var(--plasma-slider-current-value-font-family);font-size:var(--plasma-slider-current-value-font-size);font-style:var(--plasma-slider-current-value-font-style);font-weight:var(--plasma-slider-current-value-font-weight);-webkit-letter-spacing:var(--plasma-slider-current-value-letter-spacing);-moz-letter-spacing:var(--plasma-slider-current-value-letter-spacing);-ms-letter-spacing:var(--plasma-slider-current-value-letter-spacing);letter-spacing:var(--plasma-slider-current-value-letter-spacing);line-height:var(--plasma-slider-current-value-line-height);}
@@ -0,0 +1 @@
1
+ .Thumb_styles_zwgsh8_tqbdf8b__6eb13971{width:var(--plasma-slider-thumb-size);height:var(--plasma-slider-thumb-size);position:relative;left:-2px;top:-2px;border-radius:50%;box-sizing:border-box;background:var(--plasma-slider-thumb-background-color);margin:2px;-webkit-transition:border-color 0.1s ease-in-out;transition:border-color 0.1s ease-in-out;}.Thumb_styles_zwgsh8_tqbdf8b__6eb13971:after{background:var(--plasma-slider-thumb-border-color);margin:-2px;content:'';position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;border-radius:inherit;}.Thumb_styles_zwgsh8_tqbdf8b__6eb13971:not([disabled]):hover:after,.Thumb_styles_zwgsh8_tqbdf8b__6eb13971:not([disabled]):active:after{background:var(--plasma-slider-thumb-focus-border-color);}.Thumb_styles_zwgsh8_tqbdf8b__6eb13971:focus{outline:none;}.Thumb_styles_zwgsh8_tqbdf8b__6eb13971:not([disabled]).Thumb_styles_zwgsh8_focusVisible__6eb13971,.Thumb_styles_zwgsh8_tqbdf8b__6eb13971:not([disabled])[data-focus-visible-added]{border-color:var(--plasma-slider-thumb-focus-border-color);}
@@ -0,0 +1,27 @@
1
+ import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../../_virtual/_rollupPluginBabelHelpers.js';
2
+ import React from 'react';
3
+ import { ThumbBase } from './Thumb.styles.js';
4
+
5
+ var _excluded = ["min", "max", "value", "ariaValueMin", "ariaLabel", "disabled"];
6
+ var Thumb = function Thumb(_ref) {
7
+ var min = _ref.min,
8
+ max = _ref.max,
9
+ value = _ref.value,
10
+ _ref$ariaValueMin = _ref.ariaValueMin,
11
+ ariaValueMin = _ref$ariaValueMin === void 0 ? min : _ref$ariaValueMin,
12
+ ariaLabel = _ref.ariaLabel,
13
+ disabled = _ref.disabled,
14
+ rest = _objectWithoutProperties(_ref, _excluded);
15
+ return /*#__PURE__*/React.createElement(ThumbBase, _extends({
16
+ role: "slider",
17
+ "aria-label": ariaLabel,
18
+ "aria-valuemin": ariaValueMin,
19
+ "aria-valuemax": max,
20
+ "aria-valuenow": value,
21
+ disabled: disabled,
22
+ "aria-orientation": "horizontal"
23
+ }, rest));
24
+ };
25
+
26
+ export { Thumb };
27
+ //# sourceMappingURL=Thumb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Thumb.js","sources":["../../../../../src/components/Slider/ui/Thumb/Thumb.tsx"],"sourcesContent":["import React from 'react';\n\nimport type { ThumbProps } from './Thumb.types';\nimport { ThumbBase } from './Thumb.styles';\n\nexport const Thumb = ({ min, max, value, ariaValueMin = min, ariaLabel, disabled, ...rest }: ThumbProps) => {\n return (\n <ThumbBase\n role=\"slider\"\n aria-label={ariaLabel}\n aria-valuemin={ariaValueMin}\n aria-valuemax={max}\n aria-valuenow={value}\n disabled={disabled}\n aria-orientation=\"horizontal\"\n {...rest}\n />\n );\n};\n"],"names":["Thumb","_ref","min","max","value","_ref$ariaValueMin","ariaValueMin","ariaLabel","disabled","rest","_objectWithoutProperties","_excluded","React","createElement","ThumbBase","_extends","role"],"mappings":";;;;;IAKaA,KAAK,GAAG,SAARA,KAAKA,CAAAC,IAAA,EAA0F;AAAA,EAAA,IAApFC,GAAG,GAAAD,IAAA,CAAHC,GAAG;IAAEC,GAAG,GAAAF,IAAA,CAAHE,GAAG;IAAEC,KAAK,GAAAH,IAAA,CAALG,KAAK;IAAAC,iBAAA,GAAAJ,IAAA,CAAEK,YAAY;AAAZA,IAAAA,YAAY,GAAAD,iBAAA,KAAGH,KAAAA,CAAAA,GAAAA,GAAG,GAAAG,iBAAA;IAAEE,SAAS,GAAAN,IAAA,CAATM,SAAS;IAAEC,QAAQ,GAAAP,IAAA,CAARO,QAAQ;AAAKC,IAAAA,IAAI,GAAAC,wBAAA,CAAAT,IAAA,EAAAU,SAAA,CAAA,CAAA;AACrF,EAAA,oBACIC,KAAA,CAAAC,aAAA,CAACC,SAAS,EAAAC,QAAA,CAAA;AACNC,IAAAA,IAAI,EAAC,QAAQ;AACb,IAAA,YAAA,EAAYT,SAAU;AACtB,IAAA,eAAA,EAAeD,YAAa;AAC5B,IAAA,eAAA,EAAeH,GAAI;AACnB,IAAA,eAAA,EAAeC,KAAM;AACrBI,IAAAA,QAAQ,EAAEA,QAAS;IACnB,kBAAiB,EAAA,YAAA;GACbC,EAAAA,IAAI,CACX,CAAC,CAAA;AAEV;;;;"}
@@ -0,0 +1,11 @@
1
+ import './Thumb.styles_zwgsh8.css';
2
+ import { styled } from '@linaria/react';
3
+
4
+ var ThumbBase = /*#__PURE__*/styled('div')({
5
+ name: "ThumbBase",
6
+ "class": "tqbdf8b",
7
+ propsAsIs: false
8
+ });
9
+
10
+ export { ThumbBase };
11
+ //# sourceMappingURL=Thumb.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Thumb.styles.js","sources":["../../../../../src/components/Slider/ui/Thumb/Thumb.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { tokens } from '../../Slider.tokens';\n\nexport const ThumbBase = styled.div<{ disabled?: boolean }>`\n width: var(${tokens.thumbSize});\n height: var(${tokens.thumbSize});\n position: relative;\n left: -2px;\n top: -2px;\n border-radius: 50%;\n box-sizing: border-box;\n background: var(${tokens.thumbBackgroundColor});\n margin: 2px;\n transition: border-color 0.1s ease-in-out;\n\n &:after {\n background: var(${tokens.thumbBorderColor});\n margin: -2px;\n content: '';\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: -1;\n border-radius: inherit;\n }\n\n &:not([disabled]):hover:after,\n &:not([disabled]):active:after {\n background: var(${tokens.thumbFocusBorderColor});\n }\n\n &:focus {\n outline: none;\n }\n\n &:not([disabled]) {\n &.focus-visible,\n &[data-focus-visible-added] {\n border-color: var(${tokens.thumbFocusBorderColor});\n }\n }\n`;\n"],"names":["ThumbBase","styled","name","class","propsAsIs"],"mappings":";;AAIO,IAAMA,SAAS,gBAAGC,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,WAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAwC9B;;;;"}
@@ -0,0 +1 @@
1
+ .tqbdf8b{width:var(--plasma-slider-thumb-size);height:var(--plasma-slider-thumb-size);position:relative;left:-2px;top:-2px;border-radius:50%;box-sizing:border-box;background:var(--plasma-slider-thumb-background-color);margin:2px;-webkit-transition:border-color 0.1s ease-in-out;transition:border-color 0.1s ease-in-out;}.tqbdf8b:after{background:var(--plasma-slider-thumb-border-color);margin:-2px;content:'';position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;border-radius:inherit;}.tqbdf8b:not([disabled]):hover:after,.tqbdf8b:not([disabled]):active:after{background:var(--plasma-slider-thumb-focus-border-color);}.tqbdf8b:focus{outline:none;}.tqbdf8b:not([disabled]).focus-visible,.tqbdf8b:not([disabled])[data-focus-visible-added]{border-color:var(--plasma-slider-thumb-focus-border-color);}
@@ -0,0 +1,50 @@
1
+ /**
2
+ * Расчитать значение слайдера с учетом его координат и шага изменений.
3
+ * @param {number} handleCenterXRelative
4
+ * @param {number} stepSize
5
+ * @param {number} min
6
+ * @param {number} max
7
+ * @return {number}
8
+ */
9
+ function getSliderThumbValue(handleCenterXRelative, stepSize, min, max) {
10
+ var newValue = Math.round(handleCenterXRelative / stepSize) + min;
11
+ return Math.min(Math.max(newValue, min), max);
12
+ }
13
+
14
+ /**
15
+ * Расчитывает значение отступа слайдера на основе его положения (справа, слева) на отрезке слайдера.
16
+ * Значение используется для правильного расчета ограничения движения слайдера.
17
+ * @param ref
18
+ * @param {'left' | 'right'} side
19
+ * @return Array<number>
20
+ */
21
+ function getOffsets(ref, side) {
22
+ if (!ref || !('current' in ref) || !ref.current || !side) {
23
+ return [0, 0];
24
+ }
25
+ var size = ref.current.clientWidth;
26
+ if (side === 'left') {
27
+ return [0, size];
28
+ }
29
+ if (side === 'right') {
30
+ return [size, 0];
31
+ }
32
+ return [0, 0];
33
+ }
34
+ var sizeData = {
35
+ s: {
36
+ indent: 0.5,
37
+ fontSizeMultiplier: 16
38
+ },
39
+ m: {
40
+ indent: 0.75,
41
+ fontSizeMultiplier: 16
42
+ },
43
+ l: {
44
+ indent: 0.75,
45
+ fontSizeMultiplier: 16
46
+ }
47
+ };
48
+
49
+ export { getOffsets, getSliderThumbValue, sizeData };
50
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../src/components/Slider/utils/index.ts"],"sourcesContent":["import { MutableRefObject } from 'react';\n\n/**\n * Расчитать значение слайдера с учетом его координат и шага изменений.\n * @param {number} handleCenterXRelative\n * @param {number} stepSize\n * @param {number} min\n * @param {number} max\n * @return {number}\n */\nexport function getSliderThumbValue(handleCenterXRelative: number, stepSize: number, min: number, max: number) {\n const newValue = Math.round(handleCenterXRelative / stepSize) + min;\n\n return Math.min(Math.max(newValue, min), max);\n}\n\n/**\n * Расчитывает значение отступа слайдера на основе его положения (справа, слева) на отрезке слайдера.\n * Значение используется для правильного расчета ограничения движения слайдера.\n * @param ref\n * @param {'left' | 'right'} side\n * @return Array<number>\n */\nexport function getOffsets(\n ref: ((instance: HTMLDivElement | null) => void) | MutableRefObject<HTMLDivElement | null> | null,\n side?: 'left' | 'right',\n): number[] {\n if (!ref || !('current' in ref) || !ref.current || !side) {\n return [0, 0];\n }\n\n const size = ref.current.clientWidth;\n\n if (side === 'left') {\n return [0, size];\n }\n\n if (side === 'right') {\n return [size, 0];\n }\n\n return [0, 0];\n}\n\nexport const sizeData = {\n s: {\n indent: 0.5,\n fontSizeMultiplier: 16,\n },\n m: {\n indent: 0.75,\n fontSizeMultiplier: 16,\n },\n l: {\n indent: 0.75,\n fontSizeMultiplier: 16,\n },\n};\n"],"names":["getSliderThumbValue","handleCenterXRelative","stepSize","min","max","newValue","Math","round","getOffsets","ref","side","current","size","clientWidth","sizeData","s","indent","fontSizeMultiplier","m","l"],"mappings":"AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASA,mBAAmBA,CAACC,qBAA6B,EAAEC,QAAgB,EAAEC,GAAW,EAAEC,GAAW,EAAE;EAC3G,IAAMC,QAAQ,GAAGC,IAAI,CAACC,KAAK,CAACN,qBAAqB,GAAGC,QAAQ,CAAC,GAAGC,GAAG,CAAA;AAEnE,EAAA,OAAOG,IAAI,CAACH,GAAG,CAACG,IAAI,CAACF,GAAG,CAACC,QAAQ,EAAEF,GAAG,CAAC,EAAEC,GAAG,CAAC,CAAA;AACjD,CAAA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,SAASI,UAAUA,CACtBC,GAAiG,EACjGC,IAAuB,EACf;AACR,EAAA,IAAI,CAACD,GAAG,IAAI,EAAE,SAAS,IAAIA,GAAG,CAAC,IAAI,CAACA,GAAG,CAACE,OAAO,IAAI,CAACD,IAAI,EAAE;AACtD,IAAA,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;AACjB,GAAA;AAEA,EAAA,IAAME,IAAI,GAAGH,GAAG,CAACE,OAAO,CAACE,WAAW,CAAA;EAEpC,IAAIH,IAAI,KAAK,MAAM,EAAE;AACjB,IAAA,OAAO,CAAC,CAAC,EAAEE,IAAI,CAAC,CAAA;AACpB,GAAA;EAEA,IAAIF,IAAI,KAAK,OAAO,EAAE;AAClB,IAAA,OAAO,CAACE,IAAI,EAAE,CAAC,CAAC,CAAA;AACpB,GAAA;AAEA,EAAA,OAAO,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;AACjB,CAAA;AAEO,IAAME,QAAQ,GAAG;AACpBC,EAAAA,CAAC,EAAE;AACCC,IAAAA,MAAM,EAAE,GAAG;AACXC,IAAAA,kBAAkB,EAAE,EAAA;GACvB;AACDC,EAAAA,CAAC,EAAE;AACCF,IAAAA,MAAM,EAAE,IAAI;AACZC,IAAAA,kBAAkB,EAAE,EAAA;GACvB;AACDE,EAAAA,CAAC,EAAE;AACCH,IAAAA,MAAM,EAAE,IAAI;AACZC,IAAAA,kBAAkB,EAAE,EAAA;AACxB,GAAA;AACJ;;;;"}
@@ -0,0 +1,5 @@
1
+ import './base_x642ct.css';
2
+ var base = "bbio09e";
3
+
4
+ export { base };
5
+ //# sourceMappingURL=base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.js","sources":["../../../../../src/components/Slider/variations/_disabled/base.tsx"],"sourcesContent":["import { css } from '@linaria/core';\n\nexport const base = css``;\n"],"names":["base"],"mappings":"AAEO,IAAMA,IAAI,GAAQ;;;;"}
@@ -0,0 +1,5 @@
1
+ import './base_x642ct.css';
2
+ var base = "b7iqet7";
3
+
4
+ export { base };
5
+ //# sourceMappingURL=base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.js","sources":["../../../../../src/components/Slider/variations/_size/base.tsx"],"sourcesContent":["import { css } from '@linaria/core';\n\nexport const base = css``;\n"],"names":["base"],"mappings":"AAEO,IAAMA,IAAI,GAAQ;;;;"}
@@ -0,0 +1,5 @@
1
+ import './base_x642ct.css';
2
+ var base = "b1c93yiw";
3
+
4
+ export { base };
5
+ //# sourceMappingURL=base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.js","sources":["../../../../../src/components/Slider/variations/_view/base.tsx"],"sourcesContent":["import { css } from '@linaria/core';\n\nexport const base = css``;\n"],"names":["base"],"mappings":"AAEO,IAAMA,IAAI,GAAQ;;;;"}
@@ -13,11 +13,13 @@ import { classes } from './TextField.tokens.js';
13
13
  import { TextFieldChip } from './ui/TextFieldChip/TextFieldChip.js';
14
14
  import { useKeyNavigation } from './hooks/useKeyNavigation.js';
15
15
 
16
- var _excluded = ["id", "contentLeft", "contentRight", "label", "labelPlacement", "placeholder", "leftHelper", "enumerationType", "view", "size", "readOnly", "disabled", "chips", "onChange", "onChangeChips", "onSearch"];
16
+ var _excluded = ["id", "className", "style", "contentLeft", "contentRight", "label", "labelPlacement", "placeholder", "leftHelper", "enumerationType", "view", "size", "readOnly", "disabled", "chips", "onChange", "onChangeChips", "onSearch"];
17
17
  var base = "bpunezx";
18
18
  var textFieldRoot = function textFieldRoot(Root) {
19
19
  return /*#__PURE__*/forwardRef(function (_ref, ref) {
20
20
  var id = _ref.id,
21
+ className = _ref.className,
22
+ style = _ref.style,
21
23
  contentLeft = _ref.contentLeft,
22
24
  contentRight = _ref.contentRight,
23
25
  label = _ref.label,
@@ -133,7 +135,9 @@ var textFieldRoot = function textFieldRoot(Root) {
133
135
  disabled: disabled,
134
136
  readOnly: !disabled && readOnly,
135
137
  labelPlacement: innerLabelPlacementValue,
136
- onClick: handleInputFocus
138
+ onClick: handleInputFocus,
139
+ className: className,
140
+ style: style
137
141
  }, labelInside || innerLabelValue && /*#__PURE__*/React.createElement(Label, {
138
142
  id: labelId,
139
143
  htmlFor: id
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.js","sources":["../../../src/components/TextField/TextField.tsx"],"sourcesContent":["import React, { forwardRef, useEffect, useRef, useState } from 'react';\nimport type { ChangeEventHandler } from 'react';\nimport { safeUseId } from '@salutejs/plasma-core';\nimport { css } from '@linaria/core';\n\nimport type { RootProps } from '../../engines';\nimport { cx } from '../../utils';\n\nimport type { ChipValues, TextFieldPrimitiveValue, TextFieldProps } from './TextField.types';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as disabledCSS } from './variations/_disabled/base';\nimport { base as readOnlyCSS } from './variations/_read-only/base';\nimport { base as labelPlacementCSS } from './variations/_label-placement/base';\nimport {\n Input,\n LeftHelper,\n Label,\n InputWrapper,\n InputLabelWrapper,\n StyledContentLeft,\n StyledContentRight,\n StyledChips,\n} from './TextField.styles';\nimport { classes } from './TextField.tokens';\nimport { TextFieldChip } from './ui';\nimport { useKeyNavigation } from './hooks/useKeyNavigation';\n\nexport const base = css`\n /* NOTE: Webkit не применяет opacity к inline тегам */\n display: block;\n overflow: hidden;\n`;\n\nexport const textFieldRoot = (Root: RootProps<HTMLDivElement, TextFieldProps>) =>\n forwardRef<HTMLDivElement, TextFieldProps>(\n (\n {\n id,\n\n // layout\n contentLeft,\n contentRight,\n label,\n labelPlacement,\n placeholder,\n leftHelper,\n enumerationType = 'plain',\n\n // variations\n view,\n size,\n readOnly = false,\n disabled = false,\n\n // controlled\n chips: values,\n\n // events\n onChange,\n onChangeChips,\n onSearch,\n\n ...rest\n },\n ref,\n ) => {\n const contentRef = useRef<HTMLDivElement>(null);\n const inputRef = useRef<HTMLInputElement>(null);\n const chipsRefs = useRef<Array<HTMLButtonElement>>([]);\n\n const controlledRefs = { contentRef, inputRef, chipsRefs };\n\n const [chips, setChips] = useState<Array<ChipValues>>([]);\n\n const uniqId = safeUseId();\n const innerId = id || uniqId;\n const labelId = safeUseId();\n const helperTextId = safeUseId();\n\n const isChipEnumeration = enumerationType === 'chip';\n const hideLabel = (size === 'xs' || isChipEnumeration) && labelPlacement === 'inner';\n const labelInside = size !== 'xs' && labelPlacement === 'inner';\n const innerLabelPlacementValue = hideLabel ? 'outer' : labelPlacement;\n const innerPlaceholderValue = hideLabel ? label : placeholder;\n const innerLabelValue = hideLabel ? undefined : label;\n\n const isChipsVisible = isChipEnumeration && chips?.length;\n const withHasChips = isChipsVisible ? classes.hasChips : undefined;\n const wrapperWithoutLeftContent = !contentLeft && isChipsVisible ? classes.hasEmptyContentLeft : undefined;\n const wrapperWithoutRightContent =\n !contentRight && isChipsVisible ? classes.hasEmptyContentRight : undefined;\n\n const handleChange: ChangeEventHandler<HTMLInputElement> = (event) => {\n if (disabled || readOnly) {\n return;\n }\n\n const { maxLength, value } = event.target;\n\n if (maxLength !== -1 && value.length > maxLength) {\n return;\n }\n\n onChange?.(event);\n };\n\n const updateChips = (newChips: Array<ChipValues>, newValues: Array<TextFieldPrimitiveValue>) => {\n setChips(newChips);\n onChangeChips?.(newValues);\n };\n\n const { handleInputKeydown, handleChipKeyDown, onChipClear, handleContentKeyDown } = useKeyNavigation({\n controlledRefs,\n disabled,\n readOnly,\n chips,\n enumerationType,\n updateChips,\n onSearch,\n onChange,\n });\n\n const onChipClick = (event: React.MouseEvent<HTMLButtonElement>) => event.stopPropagation();\n\n const handleInputFocus = () => {\n if (readOnly || disabled || !inputRef?.current) {\n return;\n }\n\n inputRef.current.scrollIntoView({\n behavior: 'smooth',\n block: 'center',\n inline: 'center',\n });\n inputRef.current.focus({ preventScroll: true });\n };\n\n const getRef = (element: HTMLButtonElement | null, index: number) => {\n if (element && chipsRefs?.current) {\n chipsRefs.current[index] = element;\n }\n };\n\n useEffect(() => {\n if (!isChipEnumeration && !values?.length) {\n return;\n }\n\n const newChips =\n values?.map((value, index) => ({\n id: `${index}_${value}`,\n text: value,\n })) || [];\n\n setChips(newChips);\n }, [isChipEnumeration, values]);\n\n return (\n <Root\n ref={ref}\n view={view}\n size={size}\n disabled={disabled}\n readOnly={!disabled && readOnly}\n labelPlacement={innerLabelPlacementValue}\n onClick={handleInputFocus}\n >\n {labelInside ||\n (innerLabelValue && (\n <Label id={labelId} htmlFor={id}>\n {innerLabelValue}\n </Label>\n ))}\n <InputWrapper className={cx(withHasChips, wrapperWithoutLeftContent, wrapperWithoutRightContent)}>\n {contentLeft && <StyledContentLeft>{contentLeft}</StyledContentLeft>}\n <InputLabelWrapper\n tabIndex={-1}\n ref={contentRef}\n onKeyDown={handleContentKeyDown}\n className={withHasChips}\n >\n {isChipEnumeration && Boolean(chips?.length) && (\n <StyledChips>\n {chips?.map(({ id: chipId, text }, index) => {\n return (\n <TextFieldChip\n id={chipId}\n ref={(element) => getRef(element, index)}\n key={`${chipId}_${index}`}\n disabled={disabled}\n readOnly={readOnly}\n value={text}\n text={text}\n onKeyDown={(event) => handleChipKeyDown(event, chipId, index)}\n onClear={() => onChipClear(chipId, index)}\n onClick={onChipClick}\n />\n );\n })}\n </StyledChips>\n )}\n <Input\n {...rest}\n ref={inputRef}\n id={innerId}\n aria-labelledby={labelId}\n aria-describedby={helperTextId}\n placeholder={innerPlaceholderValue}\n disabled={disabled}\n readOnly={!disabled && readOnly}\n onChange={handleChange}\n onKeyDown={handleInputKeydown}\n />\n {labelInside && (\n <Label id={labelId} htmlFor={innerId}>\n {innerLabelValue}\n </Label>\n )}\n </InputLabelWrapper>\n {contentRight && <StyledContentRight>{contentRight}</StyledContentRight>}\n </InputWrapper>\n {leftHelper && <LeftHelper id={helperTextId}>{leftHelper}</LeftHelper>}\n </Root>\n );\n },\n );\n\nexport const textFieldConfig = {\n name: 'TextField',\n tag: 'div',\n layout: textFieldRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n disabled: {\n css: disabledCSS,\n attrs: true,\n },\n readOnly: {\n css: readOnlyCSS,\n attrs: true,\n },\n labelPlacement: {\n css: labelPlacementCSS,\n },\n },\n defaults: {\n size: 'm',\n view: 'default',\n },\n};\n"],"names":["base","textFieldRoot","Root","forwardRef","_ref","ref","id","contentLeft","contentRight","label","labelPlacement","placeholder","leftHelper","_ref$enumerationType","enumerationType","view","size","_ref$readOnly","readOnly","_ref$disabled","disabled","values","chips","onChange","onChangeChips","onSearch","rest","contentRef","useRef","inputRef","chipsRefs","controlledRefs","_useState","useState","_useState2","_slicedToArray","setChips","uniqId","safeUseId","innerId","labelId","helperTextId","isChipEnumeration","hideLabel","labelInside","innerLabelPlacementValue","innerPlaceholderValue","innerLabelValue","undefined","isChipsVisible","length","withHasChips","classes","hasChips","wrapperWithoutLeftContent","hasEmptyContentLeft","wrapperWithoutRightContent","hasEmptyContentRight","handleChange","event","_event$target","target","maxLength","value","updateChips","newChips","newValues","_useKeyNavigation","useKeyNavigation","handleInputKeydown","handleChipKeyDown","onChipClear","handleContentKeyDown","onChipClick","stopPropagation","handleInputFocus","current","scrollIntoView","behavior","block","inline","focus","preventScroll","getRef","element","index","useEffect","map","concat","text","React","createElement","onClick","Label","htmlFor","InputWrapper","className","cx","StyledContentLeft","InputLabelWrapper","tabIndex","onKeyDown","Boolean","StyledChips","_ref2","chipId","TextFieldChip","key","onClear","Input","_extends","StyledContentRight","LeftHelper","textFieldConfig","name","tag","layout","variations","css","viewCSS","sizeCSS","disabledCSS","attrs","readOnlyCSS","labelPlacementCSS","defaults"],"mappings":";;;;;;;;;;;;;;;AA4BO,IAAMA,IAAI,GAIhB,UAAA;IAEYC,aAAa,GAAGA,SAAhBA,aAAaA,CAAIC,IAA+C,EAAA;AAAA,EAAA,oBACzEC,UAAU,CACN,UAAAC,IAAA,EA6BIC,GAAG,EACF;AAAA,IAAA,IA5BGC,EAAE,GAAAF,IAAA,CAAFE,EAAE;MAGFC,WAAW,GAAAH,IAAA,CAAXG,WAAW;MACXC,YAAY,GAAAJ,IAAA,CAAZI,YAAY;MACZC,KAAK,GAAAL,IAAA,CAALK,KAAK;MACLC,cAAc,GAAAN,IAAA,CAAdM,cAAc;MACdC,WAAW,GAAAP,IAAA,CAAXO,WAAW;MACXC,UAAU,GAAAR,IAAA,CAAVQ,UAAU;MAAAC,oBAAA,GAAAT,IAAA,CACVU,eAAe;AAAfA,MAAAA,eAAe,GAAAD,oBAAA,KAAG,KAAA,CAAA,GAAA,OAAO,GAAAA,oBAAA;MAGzBE,IAAI,GAAAX,IAAA,CAAJW,IAAI;MACJC,IAAI,GAAAZ,IAAA,CAAJY,IAAI;MAAAC,aAAA,G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A;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACN7G,IAAAA,IAAI,EAAE,GAAG;AACTD,IAAAA,IAAI,EAAE,SAAA;AACV,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"TextField.js","sources":["../../../src/components/TextField/TextField.tsx"],"sourcesContent":["import React, { forwardRef, useEffect, useRef, useState } from 'react';\nimport type { ChangeEventHandler } from 'react';\nimport { safeUseId } from '@salutejs/plasma-core';\nimport { css } from '@linaria/core';\n\nimport type { RootProps } from '../../engines';\nimport { cx } from '../../utils';\n\nimport type { ChipValues, TextFieldPrimitiveValue, TextFieldProps } from './TextField.types';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as disabledCSS } from './variations/_disabled/base';\nimport { base as readOnlyCSS } from './variations/_read-only/base';\nimport { base as labelPlacementCSS } from './variations/_label-placement/base';\nimport {\n Input,\n LeftHelper,\n Label,\n InputWrapper,\n InputLabelWrapper,\n StyledContentLeft,\n StyledContentRight,\n StyledChips,\n} from './TextField.styles';\nimport { classes } from './TextField.tokens';\nimport { TextFieldChip } from './ui';\nimport { useKeyNavigation } from './hooks/useKeyNavigation';\n\nexport const base = css`\n /* NOTE: Webkit не применяет opacity к inline тегам */\n display: block;\n overflow: hidden;\n`;\n\nexport const textFieldRoot = (Root: RootProps<HTMLDivElement, TextFieldProps>) =>\n forwardRef<HTMLDivElement, TextFieldProps>(\n (\n {\n id,\n className,\n style,\n\n // layout\n contentLeft,\n contentRight,\n label,\n labelPlacement,\n placeholder,\n leftHelper,\n enumerationType = 'plain',\n\n // variations\n view,\n size,\n readOnly = false,\n disabled = false,\n\n // controlled\n chips: values,\n\n // events\n onChange,\n onChangeChips,\n onSearch,\n\n ...rest\n },\n ref,\n ) => {\n const contentRef = useRef<HTMLDivElement>(null);\n const inputRef = useRef<HTMLInputElement>(null);\n const chipsRefs = useRef<Array<HTMLButtonElement>>([]);\n\n const controlledRefs = { contentRef, inputRef, chipsRefs };\n\n const [chips, setChips] = useState<Array<ChipValues>>([]);\n\n const uniqId = safeUseId();\n const innerId = id || uniqId;\n const labelId = safeUseId();\n const helperTextId = safeUseId();\n\n const isChipEnumeration = enumerationType === 'chip';\n const hideLabel = (size === 'xs' || isChipEnumeration) && labelPlacement === 'inner';\n const labelInside = size !== 'xs' && labelPlacement === 'inner';\n const innerLabelPlacementValue = hideLabel ? 'outer' : labelPlacement;\n const innerPlaceholderValue = hideLabel ? label : placeholder;\n const innerLabelValue = hideLabel ? undefined : label;\n\n const isChipsVisible = isChipEnumeration && chips?.length;\n const withHasChips = isChipsVisible ? classes.hasChips : undefined;\n const wrapperWithoutLeftContent = !contentLeft && isChipsVisible ? classes.hasEmptyContentLeft : undefined;\n const wrapperWithoutRightContent =\n !contentRight && isChipsVisible ? classes.hasEmptyContentRight : undefined;\n\n const handleChange: ChangeEventHandler<HTMLInputElement> = (event) => {\n if (disabled || readOnly) {\n return;\n }\n\n const { maxLength, value } = event.target;\n\n if (maxLength !== -1 && value.length > maxLength) {\n return;\n }\n\n onChange?.(event);\n };\n\n const updateChips = (newChips: Array<ChipValues>, newValues: Array<TextFieldPrimitiveValue>) => {\n setChips(newChips);\n onChangeChips?.(newValues);\n };\n\n const { handleInputKeydown, handleChipKeyDown, onChipClear, handleContentKeyDown } = useKeyNavigation({\n controlledRefs,\n disabled,\n readOnly,\n chips,\n enumerationType,\n updateChips,\n onSearch,\n onChange,\n });\n\n const onChipClick = (event: React.MouseEvent<HTMLButtonElement>) => event.stopPropagation();\n\n const handleInputFocus = () => {\n if (readOnly || disabled || !inputRef?.current) {\n return;\n }\n\n inputRef.current.scrollIntoView({\n behavior: 'smooth',\n block: 'center',\n inline: 'center',\n });\n inputRef.current.focus({ preventScroll: true });\n };\n\n const getRef = (element: HTMLButtonElement | null, index: number) => {\n if (element && chipsRefs?.current) {\n chipsRefs.current[index] = element;\n }\n };\n\n useEffect(() => {\n if (!isChipEnumeration && !values?.length) {\n return;\n }\n\n const newChips =\n values?.map((value, index) => ({\n id: `${index}_${value}`,\n text: value,\n })) || [];\n\n setChips(newChips);\n }, [isChipEnumeration, values]);\n\n return (\n <Root\n ref={ref}\n view={view}\n size={size}\n disabled={disabled}\n readOnly={!disabled && readOnly}\n labelPlacement={innerLabelPlacementValue}\n onClick={handleInputFocus}\n className={className}\n style={style}\n >\n {labelInside ||\n (innerLabelValue && (\n <Label id={labelId} htmlFor={id}>\n {innerLabelValue}\n </Label>\n ))}\n <InputWrapper className={cx(withHasChips, wrapperWithoutLeftContent, wrapperWithoutRightContent)}>\n {contentLeft && <StyledContentLeft>{contentLeft}</StyledContentLeft>}\n <InputLabelWrapper\n tabIndex={-1}\n ref={contentRef}\n onKeyDown={handleContentKeyDown}\n className={withHasChips}\n >\n {isChipEnumeration && Boolean(chips?.length) && (\n <StyledChips>\n {chips?.map(({ id: chipId, text }, index) => {\n return (\n <TextFieldChip\n id={chipId}\n ref={(element) => getRef(element, index)}\n key={`${chipId}_${index}`}\n disabled={disabled}\n readOnly={readOnly}\n value={text}\n text={text}\n onKeyDown={(event) => handleChipKeyDown(event, chipId, index)}\n onClear={() => onChipClear(chipId, index)}\n onClick={onChipClick}\n />\n );\n })}\n </StyledChips>\n )}\n <Input\n {...rest}\n ref={inputRef}\n id={innerId}\n aria-labelledby={labelId}\n aria-describedby={helperTextId}\n placeholder={innerPlaceholderValue}\n disabled={disabled}\n readOnly={!disabled && readOnly}\n onChange={handleChange}\n onKeyDown={handleInputKeydown}\n />\n {labelInside && (\n <Label id={labelId} htmlFor={innerId}>\n {innerLabelValue}\n </Label>\n )}\n </InputLabelWrapper>\n {contentRight && <StyledContentRight>{contentRight}</StyledContentRight>}\n </InputWrapper>\n {leftHelper && <LeftHelper id={helperTextId}>{leftHelper}</LeftHelper>}\n </Root>\n );\n },\n );\n\nexport const textFieldConfig = {\n name: 'TextField',\n tag: 'div',\n layout: textFieldRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n disabled: {\n css: disabledCSS,\n attrs: true,\n },\n readOnly: {\n css: readOnlyCSS,\n attrs: true,\n },\n labelPlacement: {\n css: labelPlacementCSS,\n },\n },\n defaults: {\n size: 'm',\n view: 'default',\n },\n};\n"],"names":["base","textFieldRoot","Root","forwardRef","_ref","ref","id","className","style","contentLeft","contentRight","label","labelPlacement","placeholder","leftHelper","_ref$enumerationType","enumerationType","view","size","_ref$readOnly","readOnly","_ref$disabled","disabled","values","chips","onChange","onChangeChips","onSearch","rest","contentRef","useRef","inputRef","chipsRefs","controlledRefs","_useState","useState","_useState2","_slicedToArray","setChips","uniqId","safeUseId","innerId","labelId","helperTextId","isChipEnumeration","hideLabel","labelInside","innerLabelPlacementValue","innerPlaceholderValue","innerLabelValue","undefined","isChipsVisible","length","withHasChips","classes","hasChips","wrapperWithoutLeftContent","hasEmptyContentLeft","wrapperWithoutRightContent","hasEmptyContentRight","handleChange","event","_event$target","target","maxLength","value","updateChips","newChips","newValues","_useKeyNavigation","useKeyNavigation","handleInputKeydown","handleChipKeyDown","onChipClear","handleContentKeyDown","onChipClick","stopPropagation","handleInputFocus","current","scrollIntoView","behavior","block","inline","focus","preventScroll","getRef","element","index","useEffect","map","concat","text","React","createElement","onClick","Label","htmlFor","InputWrapper","cx","StyledContentLeft","InputLabelWrapper","tabIndex","onKeyDown","Boolean","StyledChips","_ref2","chipId","TextFieldChip","key","onClear","Input","_extends","StyledContentRight","LeftHelper","textFieldConfig","name","tag","layout","variations","css","viewCSS","sizeCSS","disabledCSS","attrs","readOnlyCSS","labelPlacementCSS","defaults"],"mappings":";;;;;;;;;;;;;;;AA4BO,IAAMA,IAAI,GAIhB,UAAA;IAEYC,aAAa,GAAGA,SAAhBA,aAAaA,CAAIC,IAA+C,EAAA;AAAA,EAAA,oBACzEC,UAAU,CACN,UAAAC,IAAA,EA+BIC,GAAG,EACF;AAAA,IAAA,IA9BGC,EAAE,GAAAF,IAAA,CAAFE,EAAE;MACFC,SAAS,GAAAH,IAAA,C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EE,IAAMoG,eAAe,GAAG;AAC3BC,EAAAA,IAAI,EAAE,WAAW;AACjBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAEpH,aAAa;AACrBD,EAAAA,IAAI,EAAJA,IAAI;AACJsH,EAAAA,UAAU,EAAE;AACRrG,IAAAA,IAAI,EAAE;AACFsG,MAAAA,GAAG,EAAEC,MAAAA;KACR;AACDtG,IAAAA,IAAI,EAAE;AACFqG,MAAAA,GAAG,EAAEE,MAAAA;KACR;AACDnG,IAAAA,QAAQ,EAAE;AACNiG,MAAAA,GAAG,EAAEG,MAAW;AAChBC,MAAAA,KAAK,EAAE,IAAA;KACV;AACDvG,IAAAA,QAAQ,EAAE;AACNmG,MAAAA,GAAG,EAAEK,MAAW;AAChBD,MAAAA,KAAK,EAAE,IAAA;KACV;AACD/G,IAAAA,cAAc,EAAE;AACZ2G,MAAAA,GAAG,EAAEM,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACN5G,IAAAA,IAAI,EAAE,GAAG;AACTD,IAAAA,IAAI,EAAE,SAAA;AACV,GAAA;AACJ;;;;"}
@@ -12,7 +12,8 @@ var DisclosureRight = function DisclosureRight(props) {
12
12
  fillRule: "evenodd",
13
13
  clipRule: "evenodd",
14
14
  d: "M9.883 4.707a1 1 0 011.414-1.414L16.004 8l-4.707 4.707a1 1 0 01-1.414-1.414L13.176 8 9.883 4.707z",
15
- fill: "currentColor"
15
+ fill: "currentColor",
16
+ fillOpacity: 0.56
16
17
  })));
17
18
  }
18
19
  return /*#__PURE__*/React.createElement("svg", _extends({
@@ -1 +1 @@
1
- {"version":3,"file":"DisclosureRight.js","sources":["../../../../src/components/_Icon/Icon.assets/DisclosureRight.tsx"],"sourcesContent":["import React from 'react';\n\nimport { IconProps } from '../IconRoot';\n\nexport const DisclosureRight: React.FC<IconProps> = (props) => {\n if (props.size === 'xs') {\n return (\n <svg width=\"100%\" viewBox=\"0 0 17 16\" fill=\"none\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M9.883 4.707a1 1 0 011.414-1.414L16.004 8l-4.707 4.707a1 1 0 01-1.414-1.414L13.176 8 9.883 4.707z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n }\n return (\n <svg width=\"100%\" viewBox=\"0 0 24 24\" fill=\"none\" {...props}>\n <path\n d=\"M9.883 8.707a1 1 0 011.414-1.414L16.004 12l-4.707 4.707a1 1 0 01-1.414-1.414L13.176 12 9.883 8.707z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n};\n"],"names":["DisclosureRight","props","size","React","createElement","_extends","width","viewBox","fill","_path","fillRule","clipRule","d","_path2"],"mappings":";;;;IAIaA,eAAoC,GAAG,SAAvCA,eAAoCA,CAAIC,KAAK,EAAK;AAC3D,EAAA,IAAIA,KAAK,CAACC,IAAI,KAAK,IAAI,EAAE;AACrB,IAAA,oBACIC,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAAC,QAAA,CAAA;AAAKC,MAAAA,KAAK,EAAC,MAAM;AAACC,MAAAA,OAAO,EAAC,WAAW;AAACC,MAAAA,IAAI,EAAC,MAAA;KAAWP,EAAAA,KAAK,GAAAQ,KAAA,KAAAA,KAAA,gBACvDN,KAAA,CAAAC,aAAA,CAAA,MAAA,EAAA;AACIM,MAAAA,QAAQ,EAAC,SAAS;AAClBC,MAAAA,QAAQ,EAAC,SAAS;AAClBC,MAAAA,CAAC,EAAC,mGAAmG;AACrGJ,MAAAA,IAAI,EAAC,cAAA;KACR,CAAC,CACD,CAAC,CAAA;AAEd,GAAA;AACA,EAAA,oBACIL,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAAC,QAAA,CAAA;AAAKC,IAAAA,KAAK,EAAC,MAAM;AAACC,IAAAA,OAAO,EAAC,WAAW;AAACC,IAAAA,IAAI,EAAC,MAAA;GAAWP,EAAAA,KAAK,GAAAY,MAAA,KAAAA,MAAA,gBACvDV,KAAA,CAAAC,aAAA,CAAA,MAAA,EAAA;AACIQ,IAAAA,CAAC,EAAC,qGAAqG;AACvGJ,IAAAA,IAAI,EAAC,cAAA;GACR,CAAC,CACD,CAAC,CAAA;AAEd;;;;"}
1
+ {"version":3,"file":"DisclosureRight.js","sources":["../../../../src/components/_Icon/Icon.assets/DisclosureRight.tsx"],"sourcesContent":["import React from 'react';\n\nimport { IconProps } from '../IconRoot';\n\nexport const DisclosureRight: React.FC<IconProps> = (props) => {\n if (props.size === 'xs') {\n return (\n <svg width=\"100%\" viewBox=\"0 0 17 16\" fill=\"none\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M9.883 4.707a1 1 0 011.414-1.414L16.004 8l-4.707 4.707a1 1 0 01-1.414-1.414L13.176 8 9.883 4.707z\"\n fill=\"currentColor\"\n fillOpacity={0.56}\n />\n </svg>\n );\n }\n return (\n <svg width=\"100%\" viewBox=\"0 0 24 24\" fill=\"none\" {...props}>\n <path\n d=\"M9.883 8.707a1 1 0 011.414-1.414L16.004 12l-4.707 4.707a1 1 0 01-1.414-1.414L13.176 12 9.883 8.707z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n};\n"],"names":["DisclosureRight","props","size","React","createElement","_extends","width","viewBox","fill","_path","fillRule","clipRule","d","fillOpacity","_path2"],"mappings":";;;;IAIaA,eAAoC,GAAG,SAAvCA,eAAoCA,CAAIC,KAAK,EAAK;AAC3D,EAAA,IAAIA,KAAK,CAACC,IAAI,KAAK,IAAI,EAAE;AACrB,IAAA,oBACIC,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAAC,QAAA,CAAA;AAAKC,MAAAA,KAAK,EAAC,MAAM;AAACC,MAAAA,OAAO,EAAC,WAAW;AAACC,MAAAA,IAAI,EAAC,MAAA;KAAWP,EAAAA,KAAK,GAAAQ,KAAA,KAAAA,KAAA,gBACvDN,KAAA,CAAAC,aAAA,CAAA,MAAA,EAAA;AACIM,MAAAA,QAAQ,EAAC,SAAS;AAClBC,MAAAA,QAAQ,EAAC,SAAS;AAClBC,MAAAA,CAAC,EAAC,mGAAmG;AACrGJ,MAAAA,IAAI,EAAC,cAAc;AACnBK,MAAAA,WAAW,EAAE,IAAA;KAChB,CAAC,CACD,CAAC,CAAA;AAEd,GAAA;AACA,EAAA,oBACIV,KAAA,CAAAC,aAAA,CAAA,KAAA,EAAAC,QAAA,CAAA;AAAKC,IAAAA,KAAK,EAAC,MAAM;AAACC,IAAAA,OAAO,EAAC,WAAW;AAACC,IAAAA,IAAI,EAAC,MAAA;GAAWP,EAAAA,KAAK,GAAAa,MAAA,KAAAA,MAAA,gBACvDX,KAAA,CAAAC,aAAA,CAAA,MAAA,EAAA;AACIQ,IAAAA,CAAC,EAAC,qGAAqG;AACvGJ,IAAAA,IAAI,EAAC,cAAA;GACR,CAAC,CACD,CAAC,CAAA;AAEd;;;;"}
@@ -0,0 +1,11 @@
1
+ import { useLayoutEffect, useEffect } from 'react';
2
+ import { canUseDOM } from '../utils/canUseDOM.js';
3
+ import '../utils/react.js';
4
+
5
+ /**
6
+ * Runs effect safely on server.
7
+ */
8
+ var useIsomorphicLayoutEffect = canUseDOM ? useLayoutEffect : useEffect;
9
+
10
+ export { useIsomorphicLayoutEffect };
11
+ //# sourceMappingURL=useIsomorphicLayoutEffect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useIsomorphicLayoutEffect.js","sources":["../../src/hooks/useIsomorphicLayoutEffect.ts"],"sourcesContent":["import { useLayoutEffect, useEffect } from 'react';\n\nimport { canUseDOM } from '../utils';\n\n/**\n * Runs effect safely on server.\n */\nexport const useIsomorphicLayoutEffect = canUseDOM ? useLayoutEffect : useEffect;\n"],"names":["useIsomorphicLayoutEffect","canUseDOM","useLayoutEffect","useEffect"],"mappings":";;;;AAIA;AACA;AACA;IACaA,yBAAyB,GAAGC,SAAS,GAAGC,eAAe,GAAGC;;;;"}
package/es/index.css CHANGED
@@ -275,9 +275,8 @@
275
275
 
276
276
  .base_ydejlv_b175yas1__99ab42b5{--plasma-panel-border-radius:var(--plasma-drawer-border-radius);}
277
277
 
278
- .Dropdown_styles_1tihqkp_sn7uamp__39673f55 .Dropdown_styles_1tihqkp_popoverWrapper__39673f55,.Dropdown_styles_1tihqkp_sn7uamp__39673f55 .Dropdown_styles_1tihqkp_popoverTarget__39673f55{display:block;}
279
- .Dropdown_styles_1tihqkp_ujr7fmv__39673f55{box-sizing:border-box;background:var(--plasma-dropdown-background);box-shadow:var(--plasma-dropdown-box-shadow);border-radius:var(--plasma-dropdown-border-radius);width:var(--ujr7fmv-0);height:var(--ujr7fmv-1);overflow:var(--ujr7fmv-2);margin:var(--ujr7fmv-3);padding:var(--plasma-dropdown-padding);}
280
- .Dropdown_styles_1tihqkp_byfocd2__39673f55{display:inline-block;}
278
+ .Dropdown_styles_1daxhqh_sn7uamp__488e0a19 .Dropdown_styles_1daxhqh_popoverTarget__488e0a19{display:block;}
279
+ .Dropdown_styles_1daxhqh_sjr7fmv__488e0a19{box-sizing:border-box;background:var(--plasma-dropdown-background);box-shadow:var(--plasma-dropdown-box-shadow);border-radius:var(--plasma-dropdown-border-radius);width:var(--plasma-dropdown-width);height:var(--plasma-dropdown-height);padding:var(--plasma-dropdown-padding-top) var(--plasma-dropdown-padding-right) var(--plasma-dropdown-padding-bottom) var(--plasma-dropdown-padding-left);}
281
280
 
282
281
  .DropdownDivider_styles_v3xor1_s1brpi5d__3a791565{background:var(--plasma-dropdown-divider-color);width:var(--plasma-dropdown-divider-width);height:var(--plasma-dropdown-divider-height);margin:var(--plasma-dropdown-divider-margin-top) var(--plasma-dropdown-divider-margin-right) var(--plasma-dropdown-divider-margin-bottom) var(--plasma-dropdown-divider-margin-left);}
283
282
 
@@ -288,16 +287,10 @@
288
287
 
289
288
  .DropdownHeader_styles_196gwgm_s133b1g2__3510806e{background:var(--plasma-dropdown-header-background);font-family:var(--plasma-dropdown-header-font-family);font-size:var(--plasma-dropdown-header-font-size);font-style:var(--plasma-dropdown-header-font-style);font-weight:var(--plasma-dropdown-header-letter-spacing);-webkit-letter-spacing:var(--plasma-dropdown-header-line-height);-moz-letter-spacing:var(--plasma-dropdown-header-line-height);-ms-letter-spacing:var(--plasma-dropdown-header-line-height);letter-spacing:var(--plasma-dropdown-header-line-height);line-height:var(--plasma-dropdown-header-font-weight);width:var(--plasma-dropdown-header-width);height:var(--plasma-dropdown-header-height);padding:var(--plasma-dropdown-header-padding-top) var(--plasma-dropdown-header-padding-right) var(--plasma-dropdown-header-padding-bottom) var(--plasma-dropdown-header-padding-left);margin:var(--plasma-dropdown-header-margin-top) var(--plasma-dropdown-header-margin-right) var(--plasma-dropdown-header-margin-bottom) var(--plasma-dropdown-header-margin-left);}
290
289
 
291
- .DropdownItem_styles_1o4szyu_s1gkzlls__6703745b{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
292
- .DropdownItem_styles_1o4szyu_sz6s14y__6703745b{margin-left:auto;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
293
- .DropdownItem_styles_1o4szyu_d1m97l2m__6703745b{line-height:0;color:var(--plasma-dropdown-disclosure-icon-color);}
294
- .DropdownItem_styles_1o4szyu_soib72h__6703745b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-flex:1;-ms-flex:1;flex:1;}
295
- .DropdownItem_styles_1o4szyu_w6l2f0g__6703745b{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0;box-sizing:content-box;padding-top:var(--w6l2f0g-0);padding-right:var(--plasma-dropdown-item-padding-right);padding-bottom:var(--w6l2f0g-1);padding-left:var(--plasma-dropdown-item-padding-left);font-family:var(--plasma-dropdown-item-font-family);font-size:var(--plasma-dropdown-item-font-size);font-style:var(--plasma-dropdown-item-font-style);font-weight:var(--plasma-dropdown-item-letter-spacing);-webkit-letter-spacing:var(--plasma-dropdown-item-line-height);-moz-letter-spacing:var(--plasma-dropdown-item-line-height);-ms-letter-spacing:var(--plasma-dropdown-item-line-height);letter-spacing:var(--plasma-dropdown-item-line-height);line-height:var(--plasma-dropdown-item-font-weight);background:var(--plasma-dropdown-item-background);color:var(--plasma-dropdown-item-color);border-radius:var(--plasma-dropdown-item-border-radius);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;}.DropdownItem_styles_1o4szyu_w6l2f0g__6703745b:hover:not(.DropdownItem_styles_1o4szyu_dropdownItemIsDisabled__6703745b){cursor:pointer;background:var(--plasma-dropdown-item-background-hover);}.DropdownItem_styles_1o4szyu_w6l2f0g__6703745b.DropdownItem_styles_1o4szyu_dropdownItemIsActive__6703745b{background:var(--plasma-dropdown-item-background-hover);}.DropdownItem_styles_1o4szyu_w6l2f0g__6703745b.DropdownItem_styles_1o4szyu_dropdownItemIsDisabled__6703745b{opacity:var(--plasma-dropdown-disabled-opacity);cursor:not-allowed;}.DropdownItem_styles_1o4szyu_w6l2f0g__6703745b:focus{outline:none;}.DropdownItem_styles_1o4szyu_w6l2f0g__6703745b::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:var(--plasma-dropdown-item-border-radius);-webkit-transition:none;transition:none;pointer-events:none;}.DropdownItem_styles_1o4szyu_w6l2f0g__6703745b.DropdownItem_styles_1o4szyu_dropdownItemIsFocused__6703745b:before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-dropdown-focus-color);}
296
-
297
- .DropdownItem_styles_12e50g5_s1iqs5in__94ac8eef{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;min-width:var(--plasma-dropdown-item-content-left-width);color:var(--plasma-dropdown-item-content-left-color);}
298
- .DropdownItem_styles_12e50g5_sfg3dyd__94ac8eef{margin-left:auto;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;min-width:var(--plasma-dropdown-item-content-right-width);color:var(--plasma-dropdown-item-content-right-color);}
299
- .DropdownItem_styles_12e50g5_s1dea6tl__94ac8eef{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
300
- .DropdownItem_styles_12e50g5_b1b2nce8__94ac8eef{box-sizing:content-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;width:auto;font-family:var(--plasma-dropdown-item-font-family);font-size:var(--plasma-dropdown-item-font-size);font-style:var(--plasma-dropdown-item-font-style);font-weight:var(--plasma-dropdown-item-letter-spacing);-webkit-letter-spacing:var(--plasma-dropdown-item-line-height);-moz-letter-spacing:var(--plasma-dropdown-item-line-height);-ms-letter-spacing:var(--plasma-dropdown-item-line-height);letter-spacing:var(--plasma-dropdown-item-line-height);line-height:var(--plasma-dropdown-item-font-weight);background:var(--plasma-dropdown-item-background);color:var(--plasma-dropdown-item-color);border-radius:var(--plasma-dropdown-item-border-radius);width:var(--plasma-dropdown-item-width);height:var(--plasma-dropdown-item-height);padding:var(--plasma-dropdown-item-padding-top) var(--plasma-dropdown-item-padding-right) var(--plasma-dropdown-item-padding-bottom) var(--plasma-dropdown-item-padding-left);margin:var(--plasma-dropdown-item-margin-top) var(--plasma-dropdown-item-margin-right) var(--plasma-dropdown-item-margin-bottom) var(--plasma-dropdown-item-margin-left);}.DropdownItem_styles_12e50g5_b1b2nce8__94ac8eef:focus{outline:none;}.DropdownItem_styles_12e50g5_b1b2nce8__94ac8eef::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:var(--plasma-dropdown-item-border-radius);-webkit-transition:none;transition:none;pointer-events:none;}.DropdownItem_styles_12e50g5_b1b2nce8__94ac8eef.DropdownItem_styles_12e50g5_focusVisible__94ac8eef:focus::before,.DropdownItem_styles_12e50g5_b1b2nce8__94ac8eef[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-dropdown-focus-color);}.DropdownItem_styles_12e50g5_b1b2nce8__94ac8eef:hover:not(.DropdownItem_styles_12e50g5_dropdownItemIsDisabled__94ac8eef){cursor:pointer;background:var(--plasma-dropdown-item-background-hover);}.DropdownItem_styles_12e50g5_b1b2nce8__94ac8eef.DropdownItem_styles_12e50g5_dropdownItemIsSelected__94ac8eef{color:var(--plasma-dropdown-item-color-selected);background:var(--plasma-dropdown-item-background-selected);}.DropdownItem_styles_12e50g5_b1b2nce8__94ac8eef.DropdownItem_styles_12e50g5_dropdownItemIsSelected__94ac8eef:hover:not(.DropdownItem_styles_12e50g5_dropdownItemIsDisabled__94ac8eef){background:var(--plasma-dropdown-item-background-selected-hover);}.DropdownItem_styles_12e50g5_b1b2nce8__94ac8eef.DropdownItem_styles_12e50g5_dropdownItemIsDisabled__94ac8eef{opacity:var(--plasma-dropdown-disabled-opacity);cursor:not-allowed;}
290
+ .DropdownItem_styles_1juhjtq_s1gkzlls__cab27d09{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;min-width:var(--plasma-dropdown-item-content-left-width);color:var(--plasma-dropdown-item-content-left-color);}
291
+ .DropdownItem_styles_1juhjtq_sz6s14y__cab27d09{margin-left:auto;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;min-width:var(--plasma-dropdown-item-content-right-width);color:var(--plasma-dropdown-item-content-right-color);}
292
+ .DropdownItem_styles_1juhjtq_s1m97l2m__cab27d09{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
293
+ .DropdownItem_styles_1juhjtq_boib72h__cab27d09{box-sizing:content-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;width:100%;font-family:var(--plasma-dropdown-item-font-family);font-size:var(--plasma-dropdown-item-font-size);font-style:var(--plasma-dropdown-item-font-style);font-weight:var(--plasma-dropdown-item-letter-spacing);-webkit-letter-spacing:var(--plasma-dropdown-item-line-height);-moz-letter-spacing:var(--plasma-dropdown-item-line-height);-ms-letter-spacing:var(--plasma-dropdown-item-line-height);letter-spacing:var(--plasma-dropdown-item-line-height);line-height:var(--plasma-dropdown-item-font-weight);background:var(--plasma-dropdown-item-background);color:var(--plasma-dropdown-item-color);border-radius:var(--plasma-dropdown-item-border-radius);width:var(--plasma-dropdown-item-width);height:var(--plasma-dropdown-item-height);padding:var(--plasma-dropdown-item-padding-top) var(--plasma-dropdown-item-padding-right) var(--plasma-dropdown-item-padding-bottom) var(--plasma-dropdown-item-padding-left);margin:var(--plasma-dropdown-item-margin-top) var(--plasma-dropdown-item-margin-right) var(--plasma-dropdown-item-margin-bottom) var(--plasma-dropdown-item-margin-left);}.DropdownItem_styles_1juhjtq_boib72h__cab27d09:focus{outline:none;}.DropdownItem_styles_1juhjtq_boib72h__cab27d09::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:var(--plasma-dropdown-item-border-radius);-webkit-transition:none;transition:none;pointer-events:none;}.DropdownItem_styles_1juhjtq_boib72h__cab27d09.DropdownItem_styles_1juhjtq_focusVisible__cab27d09:focus::before,.DropdownItem_styles_1juhjtq_boib72h__cab27d09[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-dropdown-focus-color);}.DropdownItem_styles_1juhjtq_boib72h__cab27d09:hover:not(.DropdownItem_styles_1juhjtq_dropdownItemIsDisabled__cab27d09){cursor:pointer;background:var(--plasma-dropdown-item-background-hover);}.DropdownItem_styles_1juhjtq_boib72h__cab27d09.DropdownItem_styles_1juhjtq_dropdownItemIsSelected__cab27d09{color:var(--plasma-dropdown-item-color-selected);background:var(--plasma-dropdown-item-background-selected);}.DropdownItem_styles_1juhjtq_boib72h__cab27d09.DropdownItem_styles_1juhjtq_dropdownItemIsSelected__cab27d09:hover:not(.DropdownItem_styles_1juhjtq_dropdownItemIsDisabled__cab27d09){background:var(--plasma-dropdown-item-background-selected-hover);}.DropdownItem_styles_1juhjtq_boib72h__cab27d09.DropdownItem_styles_1juhjtq_dropdownItemIsDisabled__cab27d09{opacity:var(--plasma-dropdown-disabled-opacity);cursor:not-allowed;}
301
294
 
302
295
  .base_1ght2ik_b1dbu9r0__c7db4365 .base_1ght2ik_headerLogoImage__c7db4365{--plasma_private-header-size:var(--plasma-header-height);width:var(--plasma_private-header-size);height:var(--plasma_private-header-size);-webkit-flex:0 0 var(--plasma_private-header-size);-ms-flex:0 0 var(--plasma_private-header-size);flex:0 0 var(--plasma_private-header-size);margin-right:var(--plasma-header-logo-margin-right);}
303
296
 
@@ -457,10 +450,7 @@
457
450
 
458
451
  .ComboboxHeader_styles_1t301n8_m1uayozu__0c5260d0{--plasma-dropdown-header-background:var(--plasma-combobox-header-background);--plasma-dropdown-header-width:var(--plasma-combobox-header-width);--plasma-dropdown-header-height:var(--plasma-combobox-header-height);--plasma-dropdown-header-padding-top:var(--plasma-combobox-header-padding-top);--plasma-dropdown-header-padding-right:var(--plasma-combobox-header-padding-right);--plasma-dropdown-header-padding-bottom:var(--plasma-combobox-header-padding-bottom);--plasma-dropdown-header-padding-left:var(--plasma-combobox-header-padding-left);--plasma-dropdown-header-margin-top:var(--plasma-combobox-header-margin-top);--plasma-dropdown-header-margin-right:var(--plasma-combobox-header-margin-right);--plasma-dropdown-header-margin-bottom:var(--plasma-combobox-header-margin-bottom);--plasma-dropdown-header-margin-left:var(--plasma-combobox-header-margin-left);--plasma-dropdown-header-font-family:var(--plasma-combobox-header-font-family);--plasma-dropdown-header-font-size:var(--plasma-combobox-header-font-size);--plasma-dropdown-header-font-style:var(--plasma-combobox-header-font-style);--plasma-dropdown-header-letter-spacing:var(--plasma-combobox-header-letter-spacing);--plasma-dropdown-header-line-height:var(--plasma-combobox-header-line-height);--plasma-dropdown-header-font-weight:var(--plasma-combobox-header-font-weight);}
459
452
 
460
- .ComboboxItem_styles_s4sk53_s1thh7ji__df333595{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;min-width:var(--plasma-combobox-item-content-left-width);color:var(--plasma-combobox-item-content-left-color);}
461
- .ComboboxItem_styles_s4sk53_s1exy6xj__df333595{margin-left:auto;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;min-width:var(--plasma-combobox-item-content-right-width);color:var(--plasma-combobox-item-content-right-color);}
462
- .ComboboxItem_styles_s4sk53_s18437sq__df333595{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
463
- .ComboboxItem_styles_s4sk53_bvoi56l__df333595{box-sizing:content-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;width:100%;font-family:var(--plasma-combobox-item-font-family);font-size:var(--plasma-combobox-item-font-size);font-style:var(--plasma-combobox-item-font-style);font-weight:var(--plasma-combobox-item-letter-spacing);-webkit-letter-spacing:var(--plasma-combobox-item-line-height);-moz-letter-spacing:var(--plasma-combobox-item-line-height);-ms-letter-spacing:var(--plasma-combobox-item-line-height);letter-spacing:var(--plasma-combobox-item-line-height);line-height:var(--plasma-combobox-item-font-weight);background:var(--plasma-combobox-item-background);color:var(--plasma-combobox-item-color);border-radius:var(--plasma-combobox-item-border-radius);width:var(--plasma-combobox-item-width);height:var(--plasma-combobox-item-height);padding:var(--plasma-combobox-item-padding-top) var(--plasma-combobox-item-padding-right) var(--plasma-combobox-item-padding-bottom) var(--plasma-combobox-item-padding-left);margin:var(--plasma-combobox-item-margin-top) var(--plasma-combobox-item-margin-right) var(--plasma-combobox-item-margin-bottom) var(--plasma-combobox-item-margin-left);}.ComboboxItem_styles_s4sk53_bvoi56l__df333595:focus{outline:none;}.ComboboxItem_styles_s4sk53_bvoi56l__df333595::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:var(--plasma-combobox-item-border-radius);-webkit-transition:none;transition:none;pointer-events:none;}.ComboboxItem_styles_s4sk53_bvoi56l__df333595.ComboboxItem_styles_s4sk53_focusVisible__df333595:focus::before,.ComboboxItem_styles_s4sk53_bvoi56l__df333595[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-combobox-focus-color);}.ComboboxItem_styles_s4sk53_bvoi56l__df333595:hover:not(.ComboboxItem_styles_s4sk53_comboboxItemIsDisabled__df333595){cursor:pointer;background:var(--plasma-combobox-item-background-hover);}.ComboboxItem_styles_s4sk53_bvoi56l__df333595.ComboboxItem_styles_s4sk53_comboboxItemIsSelected__df333595{color:var(--plasma-combobox-item-color-selected);background:var(--plasma-combobox-item-background-selected);}.ComboboxItem_styles_s4sk53_bvoi56l__df333595.ComboboxItem_styles_s4sk53_comboboxItemIsSelected__df333595:hover:not(.ComboboxItem_styles_s4sk53_comboboxItemIsDisabled__df333595){background:var(--plasma-combobox-item-background-selected-hover);}.ComboboxItem_styles_s4sk53_bvoi56l__df333595.ComboboxItem_styles_s4sk53_comboboxItemIsDisabled__df333595{opacity:var(--plasma-combobox-disabled-opacity);cursor:not-allowed;}
453
+ .ComboboxItem_styles_936wgl_b1thh7ji__e9993c3b{box-sizing:content-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;width:100%;font-family:var(--plasma-dropdown-item-font-family);font-size:var(--plasma-dropdown-item-font-size);font-style:var(--plasma-dropdown-item-font-style);font-weight:var(--plasma-dropdown-item-letter-spacing);-webkit-letter-spacing:var(--plasma-dropdown-item-line-height);-moz-letter-spacing:var(--plasma-dropdown-item-line-height);-ms-letter-spacing:var(--plasma-dropdown-item-line-height);letter-spacing:var(--plasma-dropdown-item-line-height);line-height:var(--plasma-dropdown-item-font-weight);background:var(--plasma-dropdown-item-background);color:var(--plasma-dropdown-item-color);border-radius:var(--plasma-dropdown-item-border-radius);width:var(--plasma-dropdown-item-width);height:var(--plasma-dropdown-item-height);padding:var(--plasma-dropdown-item-padding-top) var(--plasma-dropdown-item-padding-right) var(--plasma-dropdown-item-padding-bottom) var(--plasma-dropdown-item-padding-left);margin:var(--plasma-dropdown-item-margin-top) var(--plasma-dropdown-item-margin-right) var(--plasma-dropdown-item-margin-bottom) var(--plasma-dropdown-item-margin-left);--plasma-dropdown-item-background:var(--plasma-combobox-item-background);--plasma-dropdown-item-color:var(--plasma-combobox-item-color);--plasma-dropdown-item-background-hover:var(--plasma-combobox-item-background-hover);--plasma-dropdown-item-background-selected:var(--plasma-combobox-item-background-selected);--plasma-dropdown-item-color-selected:var(--plasma-combobox-item-color-selected);--plasma-dropdown-item-background-selected-hover:var(--plasma-combobox-item-background-selected-hover);--plasma-dropdown-item-color-selected-hover:var(--plasma-combobox-item-color-selected-hover);--plasma-dropdown-item-content-left-color:var(--plasma-combobox-item-content-left-color);--plasma-dropdown-item-content-right-color:var(--plasma-combobox-item-content-right-color);--plasma-dropdown-disabled-opacity:var(--plasma-combobox-disabled-opacity);--plasma-dropdown-focus-color:var(--plasma-combobox-focus-color);--plasma-dropdown-item-width:var(--plasma-combobox-item-width);--plasma-dropdown-item-height:var(--plasma-combobox-item-height);--plasma-dropdown-item-border-radius:var(--plasma-combobox-item-border-radius);--plasma-dropdown-item-padding-top:var(--plasma-combobox-item-padding-top);--plasma-dropdown-item-padding-right:var(--plasma-combobox-item-padding-right);--plasma-dropdown-item-padding-bottom:var(--plasma-combobox-item-padding-bottom);--plasma-dropdown-item-padding-left:var(--plasma-combobox-item-padding-left);--plasma-dropdown-item-margin-top:var(--plasma-combobox-item-margin-top);--plasma-dropdown-item-margin-right:var(--plasma-combobox-item-margin-right);--plasma-dropdown-item-margin-bottom:var(--plasma-combobox-item-margin-bottom);--plasma-dropdown-item-margin-left:var(--plasma-combobox-item-margin-left);--plasma-dropdown-item-font-family:var(--plasma-combobox-item-font-family);--plasma-dropdown-item-font-size:var(--plasma-combobox-item-font-size);--plasma-dropdown-item-font-style:var(--plasma-combobox-item-font-style);--plasma-dropdown-item-letter-spacing:var(--plasma-combobox-item-letter-spacing);--plasma-dropdown-item-line-height:var(--plasma-combobox-item-line-height);--plasma-dropdown-item-font-weight:var(--plasma-combobox-item-font-weight);--plasma-dropdown-item-content-left-width:var(--plasma-combobox-item-content-left-width);--plasma-dropdown-item-content-right-width:var(--plasma-combobox-item-content-right-width);}.ComboboxItem_styles_936wgl_b1thh7ji__e9993c3b:focus{outline:none;}.ComboboxItem_styles_936wgl_b1thh7ji__e9993c3b::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:var(--plasma-dropdown-item-border-radius);-webkit-transition:none;transition:none;pointer-events:none;}.ComboboxItem_styles_936wgl_b1thh7ji__e9993c3b.ComboboxItem_styles_936wgl_focusVisible__e9993c3b:focus::before,.ComboboxItem_styles_936wgl_b1thh7ji__e9993c3b[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-dropdown-focus-color);}.ComboboxItem_styles_936wgl_b1thh7ji__e9993c3b:hover:not(.ComboboxItem_styles_936wgl_dropdownItemIsDisabled__e9993c3b){cursor:pointer;background:var(--plasma-dropdown-item-background-hover);}.ComboboxItem_styles_936wgl_b1thh7ji__e9993c3b.ComboboxItem_styles_936wgl_dropdownItemIsSelected__e9993c3b{color:var(--plasma-dropdown-item-color-selected);background:var(--plasma-dropdown-item-background-selected);}.ComboboxItem_styles_936wgl_b1thh7ji__e9993c3b.ComboboxItem_styles_936wgl_dropdownItemIsSelected__e9993c3b:hover:not(.ComboboxItem_styles_936wgl_dropdownItemIsDisabled__e9993c3b){background:var(--plasma-dropdown-item-background-selected-hover);}.ComboboxItem_styles_936wgl_b1thh7ji__e9993c3b.ComboboxItem_styles_936wgl_dropdownItemIsDisabled__e9993c3b{opacity:var(--plasma-dropdown-disabled-opacity);cursor:not-allowed;}
464
454
 
465
455
  .ComboboxChip_styles_1la9kkf_s1u78lso__46a30e88{--plasma-chip-color:var(--plasma-combobox-chip-color);--plasma-chip-background:var(--plasma-combobox-chip-background);--plasma-chip-color-hover:var(--plasma-combobox-chip-color-hover);--plasma-chip-background-hover:var(--plasma-combobox-chip-background-hover);--plasma-chip-color-active:var(--plasma-combobox-chip-color-active);--plasma-chip-background-active:var(--plasma-combobox-chip-background-active);--plasma-chip-background-readonly:var(--plasma-combobox-chip-background-readonly);--plasma-chip-color-readonly:var(--plasma-combobox-chip-color-readonly);--plasma-chip-background-readonly-hover:var(--plasma-combobox-chip-background-readonly-hover);--plasma-chip-color-readonly-hover:var(--plasma-combobox-chip-color-readonly-hover);--plasma-chip-border-radius:var(--plasma-combobox-chip-border-radius);--plasma-chip-width:var(--plasma-combobox-chip-width);--plasma-chip-height:var(--plasma-combobox-chip-height);--plasma-chip-padding-right:var(--plasma-combobox-chip-padding-right);--plasma-chip-padding-left:var(--plasma-combobox-chip-padding-left);--plasma-chip-font-family:var(--plasma-combobox-chip-font-family);--plasma-chip-font-size:var(--plasma-combobox-chip-font-size);--plasma-chip-font-style:var(--plasma-combobox-chip-font-style);--plasma-chip-font-weight:var(--plasma-combobox-chip-font-weight);--plasma-chip-letter-spacing:var(--plasma-combobox-chip-letter-spacing);--plasma-chip-lineheight:var(--plasma-combobox-chip-line-height);--plasma-chip-clear-content-margin-left:var(--plasma-combobox-chip-clear-content-margin-left);--plasma-chip-clear-content-margin-right:var(--plasma-combobox-chip-clear-content-margin-right);--plasma-chip-scale-hover:var(--plasma-combobox-chip-scale-hover);--plasma-chip-scale-active:var(--plasma-combobox-chip-scale-active);--plasma-chip-close-icon-size:var(--plasma-combobox-chip-close-icon-size);--plasma-chip-close-icon-color:var(--plasma-combobox-chip-close-icon-color);--plasma-chip-focus-color:var(--plasma-combobox-focus-color);position:relative;}.ComboboxChip_styles_1la9kkf_s1u78lso__46a30e88::before{content:'';position:absolute;top:0.125rem;left:0.125rem;right:0.125rem;bottom:0.125rem;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:calc(var(--plasma-combobox-chip-border-radius) - 0.1rem);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.ComboboxChip_styles_1la9kkf_s1u78lso__46a30e88.ComboboxChip_styles_1la9kkf_focusVisible__46a30e88:focus::before,.ComboboxChip_styles_1la9kkf_s1u78lso__46a30e88[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-combobox-focus-color);}.ComboboxChip_styles_1la9kkf_s1u78lso__46a30e88[readonly]{opacity:var(--plasma-combobox-chip-opacity-readonly);}
466
456
 
@@ -507,7 +497,7 @@
507
497
 
508
498
  .SelectHeader_styles_24gqog_m1tqc9mt__2df5b6b6{--plasma-dropdown-header-background:var(--plasma-select-header-background);--plasma-dropdown-header-width:var(--plasma-select-header-width);--plasma-dropdown-header-height:var(--plasma-select-header-height);--plasma-dropdown-header-padding-top:var(--plasma-select-header-padding-top);--plasma-dropdown-header-padding-right:var(--plasma-select-header-padding-right);--plasma-dropdown-header-padding-bottom:var(--plasma-select-header-padding-bottom);--plasma-dropdown-header-padding-left:var(--plasma-select-header-padding-left);--plasma-dropdown-header-margin-top:var(--plasma-select-header-margin-top);--plasma-dropdown-header-margin-right:var(--plasma-select-header-margin-right);--plasma-dropdown-header-margin-bottom:var(--plasma-select-header-margin-bottom);--plasma-dropdown-header-margin-left:var(--plasma-select-header-margin-left);--plasma-dropdown-header-font-family:var(--plasma-select-header-font-family);--plasma-dropdown-header-font-size:var(--plasma-select-header-font-size);--plasma-dropdown-header-font-style:var(--plasma-select-header-font-style);--plasma-dropdown-header-letter-spacing:var(--plasma-select-header-letter-spacing);--plasma-dropdown-header-line-height:var(--plasma-select-header-line-height);--plasma-dropdown-header-font-weight:var(--plasma-select-header-font-weight);}
509
499
 
510
- .SelectItem_styles_vk39mp_bhy25de__bb65e3c1{box-sizing:content-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;width:auto;font-family:var(--plasma-dropdown-item-font-family);font-size:var(--plasma-dropdown-item-font-size);font-style:var(--plasma-dropdown-item-font-style);font-weight:var(--plasma-dropdown-item-letter-spacing);-webkit-letter-spacing:var(--plasma-dropdown-item-line-height);-moz-letter-spacing:var(--plasma-dropdown-item-line-height);-ms-letter-spacing:var(--plasma-dropdown-item-line-height);letter-spacing:var(--plasma-dropdown-item-line-height);line-height:var(--plasma-dropdown-item-font-weight);background:var(--plasma-dropdown-item-background);color:var(--plasma-dropdown-item-color);border-radius:var(--plasma-dropdown-item-border-radius);width:var(--plasma-dropdown-item-width);height:var(--plasma-dropdown-item-height);padding:var(--plasma-dropdown-item-padding-top) var(--plasma-dropdown-item-padding-right) var(--plasma-dropdown-item-padding-bottom) var(--plasma-dropdown-item-padding-left);margin:var(--plasma-dropdown-item-margin-top) var(--plasma-dropdown-item-margin-right) var(--plasma-dropdown-item-margin-bottom) var(--plasma-dropdown-item-margin-left);--plasma-dropdown-item-background:var(--plasma-select-item-background);--plasma-dropdown-item-color:var(--plasma-select-item-color);--plasma-dropdown-item-background-hover:var(--plasma-select-item-background-hover);--plasma-dropdown-item-background-selected:var(--plasma-select-item-background-selected);--plasma-dropdown-item-color-selected:var(--plasma-select-item-color-selected);--plasma-dropdown-item-background-selected-hover:var(--plasma-select-item-background-selected-hover);--plasma-dropdown-item-color-selected-hover:var(--plasma-select-item-color-selected-hover);--plasma-dropdown-item-content-left-color:var(--plasma-select-item-content-left-color);--plasma-dropdown-item-content-right-color:var(--plasma-select-item-content-right-color);--plasma-dropdown-disabled-opacity:var(--plasma-select-disabled-opacity);--plasma-dropdown-focus-color:var(--plasma-select-focus-color);--plasma-dropdown-item-width:var(--plasma-select-item-width);--plasma-dropdown-item-height:var(--plasma-select-item-height);--plasma-dropdown-item-border-radius:var(--plasma-select-item-border-radius);--plasma-dropdown-item-padding-top:var(--plasma-select-item-padding-top);--plasma-dropdown-item-padding-right:var(--plasma-select-item-padding-right);--plasma-dropdown-item-padding-bottom:var(--plasma-select-item-padding-bottom);--plasma-dropdown-item-padding-left:var(--plasma-select-item-padding-left);--plasma-dropdown-item-margin-top:var(--plasma-select-item-margin-top);--plasma-dropdown-item-margin-right:var(--plasma-select-item-margin-right);--plasma-dropdown-item-margin-bottom:var(--plasma-select-item-margin-bottom);--plasma-dropdown-item-margin-left:var(--plasma-select-item-margin-left);--plasma-dropdown-item-font-family:var(--plasma-select-item-font-family);--plasma-dropdown-item-font-size:var(--plasma-select-item-font-size);--plasma-dropdown-item-font-style:var(--plasma-select-item-font-style);--plasma-dropdown-item-letter-spacing:var(--plasma-select-item-letter-spacing);--plasma-dropdown-item-line-height:var(--plasma-select-item-line-height);--plasma-dropdown-item-font-weight:var(--plasma-select-item-font-weight);--plasma-dropdown-item-content-left-width:var(--plasma-select-item-content-left-width);--plasma-dropdown-item-content-right-width:var(--plasma-select-item-content-right-width);}.SelectItem_styles_vk39mp_bhy25de__bb65e3c1:focus{outline:none;}.SelectItem_styles_vk39mp_bhy25de__bb65e3c1::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:var(--plasma-dropdown-item-border-radius);-webkit-transition:none;transition:none;pointer-events:none;}.SelectItem_styles_vk39mp_bhy25de__bb65e3c1.SelectItem_styles_vk39mp_focusVisible__bb65e3c1:focus::before,.SelectItem_styles_vk39mp_bhy25de__bb65e3c1[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-dropdown-focus-color);}.SelectItem_styles_vk39mp_bhy25de__bb65e3c1:hover:not(.SelectItem_styles_vk39mp_dropdownItemIsDisabled__bb65e3c1){cursor:pointer;background:var(--plasma-dropdown-item-background-hover);}.SelectItem_styles_vk39mp_bhy25de__bb65e3c1.SelectItem_styles_vk39mp_dropdownItemIsSelected__bb65e3c1{color:var(--plasma-dropdown-item-color-selected);background:var(--plasma-dropdown-item-background-selected);}.SelectItem_styles_vk39mp_bhy25de__bb65e3c1.SelectItem_styles_vk39mp_dropdownItemIsSelected__bb65e3c1:hover:not(.SelectItem_styles_vk39mp_dropdownItemIsDisabled__bb65e3c1){background:var(--plasma-dropdown-item-background-selected-hover);}.SelectItem_styles_vk39mp_bhy25de__bb65e3c1.SelectItem_styles_vk39mp_dropdownItemIsDisabled__bb65e3c1{opacity:var(--plasma-dropdown-disabled-opacity);cursor:not-allowed;}
500
+ .SelectItem_styles_6h17aw_bhy25de__70ccf5d6{box-sizing:content-box;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;width:100%;font-family:var(--plasma-dropdown-item-font-family);font-size:var(--plasma-dropdown-item-font-size);font-style:var(--plasma-dropdown-item-font-style);font-weight:var(--plasma-dropdown-item-letter-spacing);-webkit-letter-spacing:var(--plasma-dropdown-item-line-height);-moz-letter-spacing:var(--plasma-dropdown-item-line-height);-ms-letter-spacing:var(--plasma-dropdown-item-line-height);letter-spacing:var(--plasma-dropdown-item-line-height);line-height:var(--plasma-dropdown-item-font-weight);background:var(--plasma-dropdown-item-background);color:var(--plasma-dropdown-item-color);border-radius:var(--plasma-dropdown-item-border-radius);width:var(--plasma-dropdown-item-width);height:var(--plasma-dropdown-item-height);padding:var(--plasma-dropdown-item-padding-top) var(--plasma-dropdown-item-padding-right) var(--plasma-dropdown-item-padding-bottom) var(--plasma-dropdown-item-padding-left);margin:var(--plasma-dropdown-item-margin-top) var(--plasma-dropdown-item-margin-right) var(--plasma-dropdown-item-margin-bottom) var(--plasma-dropdown-item-margin-left);--plasma-dropdown-item-background:var(--plasma-select-item-background);--plasma-dropdown-item-color:var(--plasma-select-item-color);--plasma-dropdown-item-background-hover:var(--plasma-select-item-background-hover);--plasma-dropdown-item-background-selected:var(--plasma-select-item-background-selected);--plasma-dropdown-item-color-selected:var(--plasma-select-item-color-selected);--plasma-dropdown-item-background-selected-hover:var(--plasma-select-item-background-selected-hover);--plasma-dropdown-item-color-selected-hover:var(--plasma-select-item-color-selected-hover);--plasma-dropdown-item-content-left-color:var(--plasma-select-item-content-left-color);--plasma-dropdown-item-content-right-color:var(--plasma-select-item-content-right-color);--plasma-dropdown-disabled-opacity:var(--plasma-select-disabled-opacity);--plasma-dropdown-focus-color:var(--plasma-select-focus-color);--plasma-dropdown-item-width:var(--plasma-select-item-width);--plasma-dropdown-item-height:var(--plasma-select-item-height);--plasma-dropdown-item-border-radius:var(--plasma-select-item-border-radius);--plasma-dropdown-item-padding-top:var(--plasma-select-item-padding-top);--plasma-dropdown-item-padding-right:var(--plasma-select-item-padding-right);--plasma-dropdown-item-padding-bottom:var(--plasma-select-item-padding-bottom);--plasma-dropdown-item-padding-left:var(--plasma-select-item-padding-left);--plasma-dropdown-item-margin-top:var(--plasma-select-item-margin-top);--plasma-dropdown-item-margin-right:var(--plasma-select-item-margin-right);--plasma-dropdown-item-margin-bottom:var(--plasma-select-item-margin-bottom);--plasma-dropdown-item-margin-left:var(--plasma-select-item-margin-left);--plasma-dropdown-item-font-family:var(--plasma-select-item-font-family);--plasma-dropdown-item-font-size:var(--plasma-select-item-font-size);--plasma-dropdown-item-font-style:var(--plasma-select-item-font-style);--plasma-dropdown-item-letter-spacing:var(--plasma-select-item-letter-spacing);--plasma-dropdown-item-line-height:var(--plasma-select-item-line-height);--plasma-dropdown-item-font-weight:var(--plasma-select-item-font-weight);--plasma-dropdown-item-content-left-width:var(--plasma-select-item-content-left-width);--plasma-dropdown-item-content-right-width:var(--plasma-select-item-content-right-width);}.SelectItem_styles_6h17aw_bhy25de__70ccf5d6:focus{outline:none;}.SelectItem_styles_6h17aw_bhy25de__70ccf5d6::before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:var(--plasma-dropdown-item-border-radius);-webkit-transition:none;transition:none;pointer-events:none;}.SelectItem_styles_6h17aw_bhy25de__70ccf5d6.SelectItem_styles_6h17aw_focusVisible__70ccf5d6:focus::before,.SelectItem_styles_6h17aw_bhy25de__70ccf5d6[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-dropdown-focus-color);}.SelectItem_styles_6h17aw_bhy25de__70ccf5d6:hover:not(.SelectItem_styles_6h17aw_dropdownItemIsDisabled__70ccf5d6){cursor:pointer;background:var(--plasma-dropdown-item-background-hover);}.SelectItem_styles_6h17aw_bhy25de__70ccf5d6.SelectItem_styles_6h17aw_dropdownItemIsSelected__70ccf5d6{color:var(--plasma-dropdown-item-color-selected);background:var(--plasma-dropdown-item-background-selected);}.SelectItem_styles_6h17aw_bhy25de__70ccf5d6.SelectItem_styles_6h17aw_dropdownItemIsSelected__70ccf5d6:hover:not(.SelectItem_styles_6h17aw_dropdownItemIsDisabled__70ccf5d6){background:var(--plasma-dropdown-item-background-selected-hover);}.SelectItem_styles_6h17aw_bhy25de__70ccf5d6.SelectItem_styles_6h17aw_dropdownItemIsDisabled__70ccf5d6{opacity:var(--plasma-dropdown-disabled-opacity);cursor:not-allowed;}
511
501
 
512
502
  .SelectChip_styles_1u4uw04_s1eowjbp__c23911c1{--plasma-chip-color:var(--plasma-select-chip-color);--plasma-chip-background:var(--plasma-select-chip-background);--plasma-chip-color-hover:var(--plasma-select-chip-color-hover);--plasma-chip-background-hover:var(--plasma-select-chip-background-hover);--plasma-chip-color-active:var(--plasma-select-chip-color-active);--plasma-chip-background-active:var(--plasma-select-chip-background-active);--plasma-chip-background-readonly:var(--plasma-select-chip-background-readonly);--plasma-chip-color-readonly:var(--plasma-select-chip-color-readonly);--plasma-chip-background-readonly-hover:var(--plasma-select-chip-background-readonly-hover);--plasma-chip-color-readonly-hover:var(--plasma-select-chip-color-readonly-hover);--plasma-chip-border-radius:var(--plasma-select-chip-border-radius);--plasma-chip-width:var(--plasma-select-chip-width);--plasma-chip-height:var(--plasma-select-chip-height);--plasma-chip-padding-right:var(--plasma-select-chip-padding-right);--plasma-chip-padding-left:var(--plasma-select-chip-padding-left);--plasma-chip-font-family:var(--plasma-select-chip-font-family);--plasma-chip-font-size:var(--plasma-select-chip-font-size);--plasma-chip-font-style:var(--plasma-select-chip-font-style);--plasma-chip-font-weight:var(--plasma-select-chip-font-weight);--plasma-chip-letter-spacing:var(--plasma-select-chip-letter-spacing);--plasma-chip-lineheight:var(--plasma-select-chip-line-height);--plasma-chip-clear-content-margin-left:var(--plasma-select-chip-clear-content-margin-left);--plasma-chip-clear-content-margin-right:var(--plasma-select-chip-clear-content-margin-right);--plasma-chip-scale-hover:var(--plasma-select-chip-scale-hover);--plasma-chip-scale-active:var(--plasma-select-chip-scale-active);--plasma-chip-close-icon-size:var(--plasma-select-chip-close-icon-size);--plasma-chip-close-icon-color:var(--plasma-select-chip-close-icon-color);--plasma-chip-focus-color:var(--plasma-select-focus-color);position:relative;}.SelectChip_styles_1u4uw04_s1eowjbp__c23911c1::before{content:'';position:absolute;top:0.125rem;left:0.125rem;right:0.125rem;bottom:0.125rem;z-index:1;display:block;box-sizing:content-box;border:0.0625rem solid transparent;border-radius:calc(var(--plasma-select-chip-border-radius) - 0.1rem);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.SelectChip_styles_1u4uw04_s1eowjbp__c23911c1.SelectChip_styles_1u4uw04_focusVisible__c23911c1:focus::before,.SelectChip_styles_1u4uw04_s1eowjbp__c23911c1[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-select-focus-color);}.SelectChip_styles_1u4uw04_s1eowjbp__c23911c1[readonly]{opacity:var(--plasma-select-chip-opacity-readonly);}
513
503
 
@@ -527,3 +517,28 @@
527
517
  .Toolbar_styles_iomsh3_bd5aerk__291bdbec{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;box-sizing:border-box;border-radius:var(--plasma-toolbar-border-radius);background:var(--plasma-toolbar-background);padding:var(--plasma-toolbar-padding);}.Toolbar_styles_iomsh3_bd5aerk__291bdbec.Toolbar_styles_iomsh3_toolbarShadow__291bdbec{box-shadow:var(--plasma-toolbar-box-shadow);}.Toolbar_styles_iomsh3_bd5aerk__291bdbec.Toolbar_styles_iomsh3_toolbarVertical__291bdbec{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;width:var(--plasma-toolbar-size);}.Toolbar_styles_iomsh3_bd5aerk__291bdbec.Toolbar_styles_iomsh3_toolbarHorizontal__291bdbec{-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;height:var(--plasma-toolbar-size);}.Toolbar_styles_iomsh3_bd5aerk__291bdbec.Toolbar_styles_iomsh3_toolbarVertical__291bdbec .Toolbar_styles_iomsh3_plasmaDivider__291bdbec{width:var(--plasma-toolbar-divider-size);height:0.063rem;margin:var(--plasma-toolbar-divider-offset) 0;}.Toolbar_styles_iomsh3_bd5aerk__291bdbec.Toolbar_styles_iomsh3_toolbarHorizontal__291bdbec .Toolbar_styles_iomsh3_plasmaDivider__291bdbec{width:0.063rem;height:var(--plasma-toolbar-divider-size);margin:0 var(--plasma-toolbar-divider-offset);}
528
518
 
529
519
  .ToolbarDivider_styles_1ypqhb1_mcdkovg__81732880{-webkit-align-self:center;-ms-flex-item-align:center;align-self:center;--plasma-divider-background:var(--plasma-toolbar-divider-color);--plasma-divider-border-radius:var(--plasma-toolbar-divider-border-radius);}
520
+
521
+ .SliderBase_styles_7is2ll_s33crq1__0c0959e2{-webkit-flex:1;-ms-flex:1;flex:1;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;height:var(--plasma-slider-height);}
522
+ .SliderBase_styles_7is2ll_rnaoqfb__0c0959e2{height:100%;}
523
+ .SliderBase_styles_7is2ll_r1bro5xo__0c0959e2{position:relative;top:50%;height:var(--plasma-slider-rail-height);border-radius:var(--plasma-slider-rail-border-radius);background-color:var(--plasma-slider-rail-background-color);overflow:hidden;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);}
524
+ .SliderBase_styles_7is2ll_fdg7yhg__0c0959e2{position:absolute;height:100%;top:0;left:0;background:var(--plasma-slider-fill-color);width:0;}
525
+
526
+ .Single_styles_1r9f1e0_l1p4kc08__4db690dd{color:var(--plasma-slider-label-color);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:var(--plasma-slider-label-wrapper-gap);}
527
+
528
+ .Single_styles_1r9f1e0_lozb535__4db690dd{font-family:var(--plasma-slider-label-font-family);font-size:var(--plasma-slider-label-font-size);font-style:var(--plasma-slider-label-font-style);font-weight:var(--plasma-slider-label-font-weight);-webkit-letter-spacing:var(--plasma-slider-label-letter-spacing);-moz-letter-spacing:var(--plasma-slider-label-letter-spacing);-ms-letter-spacing:var(--plasma-slider-label-letter-spacing);letter-spacing:var(--plasma-slider-label-letter-spacing);line-height:var(--plasma-slider-label-line-height);}
529
+ .Single_styles_1r9f1e0_s1w9icbd__4db690dd{color:var(--plasma-slider-range-value-color);font-family:var(--plasma-slider-range-value-font-family);font-size:var(--plasma-slider-range-value-font-size);font-style:var(--plasma-slider-range-value-font-style);font-weight:var(--plasma-slider-range-value-font-weight);-webkit-letter-spacing:var(--plasma-slider-range-value-letter-spacing);-moz-letter-spacing:var(--plasma-slider-range-value-letter-spacing);-ms-letter-spacing:var(--plasma-slider-range-value-letter-spacing);letter-spacing:var(--plasma-slider-range-value-letter-spacing);line-height:var(--plasma-slider-range-value-line-height);-webkit-transition:opacity 0.1s ease-in-out;transition:opacity 0.1s ease-in-out;}.Single_styles_1r9f1e0_s1w9icbd__4db690dd.Single_styles_1r9f1e0_sliderHideMinValue__4db690dd,.Single_styles_1r9f1e0_s1w9icbd__4db690dd.Single_styles_1r9f1e0_sliderHideMaxValue__4db690dd{opacity:0;}.Single_styles_1r9f1e0_s1w9icbd__4db690dd.Single_styles_1r9f1e0_sliderActiveRangeValue__4db690dd{color:var(--plasma-slider-label-color);}
530
+ .Single_styles_1r9f1e0_s1d2sfgl__4db690dd{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex:1;-ms-flex:1;flex:1;}.Single_styles_1r9f1e0_s1d2sfgl__4db690dd.Single_styles_1r9f1e0_sliderRangeValuesPlacementOuter__4db690dd .Single_styles_1r9f1e0_s1w9icbd__4db690dd{position:absolute;bottom:var(--plasma-slider-range-value-bottom-offset);left:0;}.Single_styles_1r9f1e0_s1d2sfgl__4db690dd.Single_styles_1r9f1e0_sliderRangeValuesPlacementOuter__4db690dd .Single_styles_1r9f1e0_s1w9icbd__4db690dd.Single_styles_1r9f1e0_sliderMaxRangeValue__4db690dd{left:unset;right:0;}.Single_styles_1r9f1e0_s1d2sfgl__4db690dd.Single_styles_1r9f1e0_sliderRangeValuesPlacementInner__4db690dd{-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}.Single_styles_1r9f1e0_s1d2sfgl__4db690dd.Single_styles_1r9f1e0_sliderRangeValuesPlacementInner__4db690dd .Single_styles_1r9f1e0_s1w9icbd__4db690dd{margin-right:var(--plasma-slider-range-min-value-margin);}.Single_styles_1r9f1e0_s1d2sfgl__4db690dd.Single_styles_1r9f1e0_sliderRangeValuesPlacementInner__4db690dd .Single_styles_1r9f1e0_s1w9icbd__4db690dd.Single_styles_1r9f1e0_sliderMaxRangeValue__4db690dd{margin-right:0;margin-left:var(--plasma-slider-range-max-value-margin);}
531
+ .Single_styles_1r9f1e0_ss3ujqx__4db690dd{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;opacity:var(--plasma-slider-disabled-opacity);}.Single_styles_1r9f1e0_ss3ujqx__4db690dd.Single_styles_1r9f1e0_sliderLabelPlacementOuter__4db690dd{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;}.Single_styles_1r9f1e0_ss3ujqx__4db690dd.Single_styles_1r9f1e0_sliderLabelPlacementOuter__4db690dd .Single_styles_1r9f1e0_l1p4kc08__4db690dd{margin-bottom:var(--plasma-slider-label-wrapper-margin-bottom);}.Single_styles_1r9f1e0_ss3ujqx__4db690dd.Single_styles_1r9f1e0_sliderLabelPlacementInner__4db690dd .Single_styles_1r9f1e0_l1p4kc08__4db690dd{margin-right:var(--plasma-slider-label-wrapper-margin-right);}
532
+
533
+ .Double_styles_1jhda4u_lcs82cd__5dc981f4{color:var(--plasma-slider-label-color);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:var(--plasma-slider-label-wrapper-gap);margin-bottom:var(--plasma-slider-label-wrapper-margin-bottom);}
534
+
535
+ .Double_styles_1jhda4u_l1at2q9b__5dc981f4{font-family:var(--plasma-slider-label-font-family);font-size:var(--plasma-slider-label-font-size);font-style:var(--plasma-slider-label-font-style);font-weight:var(--plasma-slider-label-font-weight);-webkit-letter-spacing:var(--plasma-slider-label-letter-spacing);-moz-letter-spacing:var(--plasma-slider-label-letter-spacing);-ms-letter-spacing:var(--plasma-slider-label-letter-spacing);letter-spacing:var(--plasma-slider-label-letter-spacing);line-height:var(--plasma-slider-label-line-height);}
536
+ .Double_styles_1jhda4u_i11dc2og__5dc981f4{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:var(--plasma-slider-text-field-wrapper-gap);margin-top:var(--plasma-slider-double-wrapper-gap);}
537
+ .Double_styles_1jhda4u_s4zvp7i__5dc981f4{-webkit-flex:1;-ms-flex:1;flex:1;--plasma-textfield-color:var(--plasma-slider-text-field-color);--plasma-textfield-bg-color:var(--plasma-slider-text-field-background-color);--plasma-textfield__caret-color:var(--plasma-slider-text-field-caret-color);--plasma-textfield__placeholder-color:var(--plasma-slider-text-field-placeholder-color);--plasma-textfield-disabled-opacity:var(--plasma-slider-disabled-opacity);--plasma-textfield-height:var(--plasma-slider-text-field-height);--plasma-textfield-padding:var(--plasma-slider-text-field-padding);--plasma-textfield-border-radius:var(--plasma-slider-text-field-border-radius);--plasma-textfield-font-family:var(--plasma-slider-text-field-font-family);--plasma-textfield-font-size:var(--plasma-slider-text-field-font-size);--plasma-textfield-font-style:var(--plasma-slider-text-field-font-style);--plasma-textfield-font-weight:var(--plasma-slider-text-field-font-weight);--plasma-textfield-letter-spacing:var(--plasma-slider-text-field-letter-spacing);--plasma-textfield-line-height:var(--plasma-slider-text-field-line-height);}.Double_styles_1jhda4u_s4zvp7i__5dc981f4.Double_styles_1jhda4u_sliderFirstTextField__5dc981f4 > div{border-top-right-radius:0;border-bottom-right-radius:0;}.Double_styles_1jhda4u_s4zvp7i__5dc981f4.Double_styles_1jhda4u_sliderSecondTextField__5dc981f4 > div{border-top-left-radius:0;border-bottom-left-radius:0;}.Double_styles_1jhda4u_s4zvp7i__5dc981f4 input:focus,.Double_styles_1jhda4u_s4zvp7i__5dc981f4.Double_styles_1jhda4u_sliderTextFieldActive__5dc981f4{--plasma-textfield-color:var(--plasma-slider-text-field-focus-color);}
538
+ .Double_styles_1jhda4u_d3kvcjo__5dc981f4{opacity:var(--plasma-slider-disabled-opacity);}
539
+
540
+
541
+ .Handle_styles_16a5sl_hhwq33d__69fb82a5{cursor:pointer;position:absolute;z-index:1;top:0;left:0;}
542
+ .Handle_styles_16a5sl_shurctf__69fb82a5{position:absolute;z-index:1;top:var(--plasma-slider-current-value-top-offset);text-align:center;width:100%;margin-left:-2px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-family:var(--plasma-slider-current-value-font-family);font-size:var(--plasma-slider-current-value-font-size);font-style:var(--plasma-slider-current-value-font-style);font-weight:var(--plasma-slider-current-value-font-weight);-webkit-letter-spacing:var(--plasma-slider-current-value-letter-spacing);-moz-letter-spacing:var(--plasma-slider-current-value-letter-spacing);-ms-letter-spacing:var(--plasma-slider-current-value-letter-spacing);letter-spacing:var(--plasma-slider-current-value-letter-spacing);line-height:var(--plasma-slider-current-value-line-height);}
543
+
544
+ .Thumb_styles_zwgsh8_tqbdf8b__6eb13971{width:var(--plasma-slider-thumb-size);height:var(--plasma-slider-thumb-size);position:relative;left:-2px;top:-2px;border-radius:50%;box-sizing:border-box;background:var(--plasma-slider-thumb-background-color);margin:2px;-webkit-transition:border-color 0.1s ease-in-out;transition:border-color 0.1s ease-in-out;}.Thumb_styles_zwgsh8_tqbdf8b__6eb13971:after{background:var(--plasma-slider-thumb-border-color);margin:-2px;content:'';position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;border-radius:inherit;}.Thumb_styles_zwgsh8_tqbdf8b__6eb13971:not([disabled]):hover:after,.Thumb_styles_zwgsh8_tqbdf8b__6eb13971:not([disabled]):active:after{background:var(--plasma-slider-thumb-focus-border-color);}.Thumb_styles_zwgsh8_tqbdf8b__6eb13971:focus{outline:none;}.Thumb_styles_zwgsh8_tqbdf8b__6eb13971:not([disabled]).Thumb_styles_zwgsh8_focusVisible__6eb13971,.Thumb_styles_zwgsh8_tqbdf8b__6eb13971:not([disabled])[data-focus-visible-added]{border-color:var(--plasma-slider-thumb-focus-border-color);}