@salutejs/plasma-new-hope 0.77.1-canary.1197.8831064988.0 → 0.78.0-canary.1185.8884845022.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (332) hide show
  1. package/cjs/components/Combobox/Combobox.css +12 -7
  2. package/cjs/components/Combobox/Combobox.js +1 -1
  3. package/cjs/components/Combobox/ui/ComboboxDivider/ComboboxDivider.css +10 -6
  4. package/cjs/components/Combobox/ui/ComboboxDivider/ComboboxDivider.js +3 -3
  5. package/cjs/components/Combobox/ui/ComboboxFooter/ComboboxFooter.css +10 -6
  6. package/cjs/components/Combobox/ui/ComboboxFooter/ComboboxFooter.js +3 -3
  7. package/cjs/components/Combobox/ui/ComboboxGroup/ComboboxGroup.css +10 -6
  8. package/cjs/components/Combobox/ui/ComboboxGroup/ComboboxGroup.js +3 -3
  9. package/cjs/components/Combobox/ui/ComboboxHeader/ComboboxHeader.css +10 -6
  10. package/cjs/components/Combobox/ui/ComboboxHeader/ComboboxHeader.js +3 -3
  11. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.css +4 -23
  12. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.js +81 -10
  13. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.js.map +1 -1
  14. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js +21 -9
  15. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
  16. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.styles_s4sk53.css +4 -0
  17. package/cjs/components/Combobox/utils/index.js +23 -0
  18. package/cjs/components/Combobox/utils/index.js.map +1 -0
  19. package/cjs/components/Dropdown/Dropdown.css +20 -2
  20. package/cjs/components/Dropdown/Dropdown.js +136 -53
  21. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  22. package/cjs/components/Dropdown/Dropdown.styles.js +40 -7
  23. package/cjs/components/Dropdown/Dropdown.styles.js.map +1 -1
  24. package/cjs/components/Dropdown/Dropdown.styles_1tihqkp.css +3 -0
  25. package/cjs/components/Dropdown/Dropdown.tokens.js +12 -24
  26. package/cjs/components/Dropdown/Dropdown.tokens.js.map +1 -1
  27. package/cjs/components/Dropdown/hooks/useHashMaps.js +31 -0
  28. package/cjs/components/Dropdown/hooks/useHashMaps.js.map +1 -0
  29. package/cjs/components/Dropdown/hooks/useKeyboardNavigation.js +200 -0
  30. package/cjs/components/Dropdown/hooks/useKeyboardNavigation.js.map +1 -0
  31. package/cjs/components/Dropdown/reducers/focusedPathReducer.js +37 -0
  32. package/cjs/components/Dropdown/reducers/focusedPathReducer.js.map +1 -0
  33. package/cjs/components/Dropdown/reducers/pathReducer.js +41 -0
  34. package/cjs/components/Dropdown/reducers/pathReducer.js.map +1 -0
  35. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +116 -0
  36. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -0
  37. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.css +7 -4
  38. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +79 -100
  39. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  40. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +31 -4
  41. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  42. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles_1o4szyu.css +5 -0
  43. package/cjs/components/Dropdown/utils/index.js +14 -13
  44. package/cjs/components/Dropdown/utils/index.js.map +1 -1
  45. package/cjs/components/Pagination/Pagination.css +39 -7
  46. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +39 -7
  47. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +2 -2
  48. package/cjs/components/Select/Select.css +39 -7
  49. package/cjs/components/Select/Select.js +3 -3
  50. package/cjs/components/Select/ui/SelectDivider/SelectDivider.css +10 -6
  51. package/cjs/components/Select/ui/SelectDivider/SelectDivider.js +3 -3
  52. package/cjs/components/Select/ui/SelectFooter/SelectFooter.css +10 -6
  53. package/cjs/components/Select/ui/SelectFooter/SelectFooter.js +3 -3
  54. package/cjs/components/Select/ui/SelectGroup/SelectGroup.css +10 -6
  55. package/cjs/components/Select/ui/SelectGroup/SelectGroup.js +3 -3
  56. package/cjs/components/Select/ui/SelectHeader/SelectHeader.css +10 -6
  57. package/cjs/components/Select/ui/SelectHeader/SelectHeader.js +3 -3
  58. package/cjs/components/Select/ui/SelectItem/SelectItem.css +59 -7
  59. package/cjs/components/Select/ui/SelectItem/SelectItem.js +4 -4
  60. package/cjs/components/Select/ui/SelectItem/SelectItem.js.map +1 -1
  61. package/cjs/components/Select/ui/SelectItem/SelectItem.styles.js +3 -3
  62. package/cjs/components/Select/ui/SelectItem/SelectItem.styles.js.map +1 -1
  63. package/cjs/components/Select/ui/SelectItem/SelectItem.styles_1jgsd1a.css +1 -0
  64. package/cjs/components/TextField/TextField.js +2 -2
  65. package/cjs/components/TextField/TextField.js.map +1 -1
  66. package/cjs/components/_Icon/Icon.assets/DisclosureRight.js +1 -2
  67. package/cjs/components/_Icon/Icon.assets/DisclosureRight.js.map +1 -1
  68. package/cjs/index.css +13 -8
  69. package/cjs/index.js +5 -2
  70. package/cjs/index.js.map +1 -1
  71. package/es/components/Combobox/Combobox.css +12 -7
  72. package/es/components/Combobox/Combobox.js +1 -1
  73. package/es/components/Combobox/ui/ComboboxDivider/ComboboxDivider.css +10 -6
  74. package/es/components/Combobox/ui/ComboboxDivider/ComboboxDivider.js +3 -3
  75. package/es/components/Combobox/ui/ComboboxFooter/ComboboxFooter.css +10 -6
  76. package/es/components/Combobox/ui/ComboboxFooter/ComboboxFooter.js +3 -3
  77. package/es/components/Combobox/ui/ComboboxGroup/ComboboxGroup.css +10 -6
  78. package/es/components/Combobox/ui/ComboboxGroup/ComboboxGroup.js +3 -3
  79. package/es/components/Combobox/ui/ComboboxHeader/ComboboxHeader.css +10 -6
  80. package/es/components/Combobox/ui/ComboboxHeader/ComboboxHeader.js +3 -3
  81. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.css +4 -23
  82. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.js +82 -11
  83. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.js.map +1 -1
  84. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js +19 -10
  85. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
  86. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.styles_s4sk53.css +4 -0
  87. package/es/components/Combobox/utils/index.js +19 -0
  88. package/es/components/Combobox/utils/index.js.map +1 -0
  89. package/es/components/Dropdown/Dropdown.css +20 -2
  90. package/es/components/Dropdown/Dropdown.js +142 -59
  91. package/es/components/Dropdown/Dropdown.js.map +1 -1
  92. package/es/components/Dropdown/Dropdown.styles.js +39 -7
  93. package/es/components/Dropdown/Dropdown.styles.js.map +1 -1
  94. package/es/components/Dropdown/Dropdown.styles_1tihqkp.css +3 -0
  95. package/es/components/Dropdown/Dropdown.tokens.js +12 -24
  96. package/es/components/Dropdown/Dropdown.tokens.js.map +1 -1
  97. package/es/components/Dropdown/hooks/useHashMaps.js +27 -0
  98. package/es/components/Dropdown/hooks/useHashMaps.js.map +1 -0
  99. package/es/components/Dropdown/hooks/useKeyboardNavigation.js +196 -0
  100. package/es/components/Dropdown/hooks/useKeyboardNavigation.js.map +1 -0
  101. package/es/components/Dropdown/reducers/focusedPathReducer.js +33 -0
  102. package/es/components/Dropdown/reducers/focusedPathReducer.js.map +1 -0
  103. package/es/components/Dropdown/reducers/pathReducer.js +37 -0
  104. package/es/components/Dropdown/reducers/pathReducer.js.map +1 -0
  105. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +112 -0
  106. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -0
  107. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.css +7 -4
  108. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +80 -100
  109. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  110. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +30 -4
  111. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  112. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles_1o4szyu.css +5 -0
  113. package/es/components/Dropdown/utils/index.js +14 -14
  114. package/es/components/Dropdown/utils/index.js.map +1 -1
  115. package/es/components/Pagination/Pagination.css +39 -7
  116. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +39 -7
  117. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +2 -2
  118. package/es/components/Select/Select.css +39 -7
  119. package/es/components/Select/Select.js +3 -3
  120. package/es/components/Select/ui/SelectDivider/SelectDivider.css +10 -6
  121. package/es/components/Select/ui/SelectDivider/SelectDivider.js +3 -3
  122. package/es/components/Select/ui/SelectFooter/SelectFooter.css +10 -6
  123. package/es/components/Select/ui/SelectFooter/SelectFooter.js +3 -3
  124. package/es/components/Select/ui/SelectGroup/SelectGroup.css +10 -6
  125. package/es/components/Select/ui/SelectGroup/SelectGroup.js +3 -3
  126. package/es/components/Select/ui/SelectHeader/SelectHeader.css +10 -6
  127. package/es/components/Select/ui/SelectHeader/SelectHeader.js +3 -3
  128. package/es/components/Select/ui/SelectItem/SelectItem.css +59 -7
  129. package/es/components/Select/ui/SelectItem/SelectItem.js +4 -4
  130. package/es/components/Select/ui/SelectItem/SelectItem.js.map +1 -1
  131. package/es/components/Select/ui/SelectItem/SelectItem.styles.js +3 -3
  132. package/es/components/Select/ui/SelectItem/SelectItem.styles.js.map +1 -1
  133. package/es/components/Select/ui/SelectItem/SelectItem.styles_1jgsd1a.css +1 -0
  134. package/es/components/TextField/TextField.js +3 -3
  135. package/es/components/TextField/TextField.js.map +1 -1
  136. package/es/components/_Icon/Icon.assets/DisclosureRight.js +1 -2
  137. package/es/components/_Icon/Icon.assets/DisclosureRight.js.map +1 -1
  138. package/es/index.css +13 -8
  139. package/es/index.js +3 -1
  140. package/es/index.js.map +1 -1
  141. package/package.json +3 -3
  142. package/styled-components/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.js +91 -2
  143. package/styled-components/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js +27 -7
  144. package/styled-components/cjs/components/Combobox/utils/index.js +23 -0
  145. package/styled-components/cjs/components/Dropdown/Dropdown.js +138 -53
  146. package/styled-components/cjs/components/Dropdown/Dropdown.styles.js +22 -7
  147. package/styled-components/cjs/components/Dropdown/Dropdown.tokens.js +12 -24
  148. package/styled-components/cjs/components/Dropdown/hooks/useHashMaps.js +29 -0
  149. package/styled-components/cjs/components/Dropdown/hooks/useKeyboardNavigation.js +199 -0
  150. package/styled-components/cjs/components/Dropdown/index.js +9 -1
  151. package/styled-components/cjs/components/Dropdown/reducers/focusedPathReducer.js +40 -0
  152. package/styled-components/cjs/components/Dropdown/reducers/pathReducer.js +44 -0
  153. package/styled-components/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +113 -0
  154. package/styled-components/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.type.js +5 -0
  155. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +77 -105
  156. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +30 -15
  157. package/styled-components/cjs/components/Dropdown/ui/index.js +14 -13
  158. package/styled-components/cjs/components/Dropdown/utils/index.js +14 -13
  159. package/styled-components/cjs/components/Dropdown/variations/_size/tokens.json +1 -9
  160. package/styled-components/cjs/components/Dropdown/variations/_view/tokens.json +1 -1
  161. package/styled-components/cjs/components/Select/ui/SelectItem/SelectItem.js +2 -2
  162. package/styled-components/cjs/components/Select/ui/SelectItem/SelectItem.styles.js +2 -2
  163. package/styled-components/cjs/components/TextField/TextField.js +4 -4
  164. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureRight.js +1 -2
  165. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +25 -0
  166. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.js +11 -0
  167. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +295 -0
  168. package/styled-components/es/components/Combobox/ui/ComboboxItem/ComboboxItem.js +90 -3
  169. package/styled-components/es/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js +23 -6
  170. package/styled-components/es/components/Combobox/utils/index.js +15 -0
  171. package/styled-components/es/components/Dropdown/Dropdown.js +140 -54
  172. package/styled-components/es/components/Dropdown/Dropdown.styles.js +18 -5
  173. package/styled-components/es/components/Dropdown/Dropdown.tokens.js +12 -24
  174. package/styled-components/es/components/Dropdown/hooks/useHashMaps.js +23 -0
  175. package/styled-components/es/components/Dropdown/hooks/useKeyboardNavigation.js +193 -0
  176. package/styled-components/es/components/Dropdown/index.js +1 -0
  177. package/styled-components/es/components/Dropdown/reducers/focusedPathReducer.js +34 -0
  178. package/styled-components/es/components/Dropdown/reducers/pathReducer.js +38 -0
  179. package/styled-components/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +107 -0
  180. package/styled-components/es/components/Dropdown/ui/DropdownInner/DropdownInner.type.js +1 -0
  181. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +78 -107
  182. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +27 -11
  183. package/styled-components/es/components/Dropdown/ui/index.js +2 -1
  184. package/styled-components/es/components/Dropdown/utils/index.js +13 -13
  185. package/styled-components/es/components/Dropdown/variations/_size/tokens.json +1 -9
  186. package/styled-components/es/components/Dropdown/variations/_view/tokens.json +1 -1
  187. package/styled-components/es/components/Select/ui/SelectItem/SelectItem.js +2 -2
  188. package/styled-components/es/components/Select/ui/SelectItem/SelectItem.styles.js +2 -2
  189. package/styled-components/es/components/TextField/TextField.js +4 -4
  190. package/styled-components/es/components/_Icon/Icon.assets/DisclosureRight.js +1 -2
  191. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +19 -0
  192. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.js +5 -0
  193. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +295 -0
  194. package/types/components/Combobox/ui/ComboboxItem/ComboboxItem.d.ts +15 -13
  195. package/types/components/Combobox/ui/ComboboxItem/ComboboxItem.d.ts.map +1 -1
  196. package/types/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.d.ts +5 -1
  197. package/types/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.d.ts.map +1 -1
  198. package/types/components/Combobox/ui/ComboboxItem/ComboboxItem.type.d.ts +59 -2
  199. package/types/components/Combobox/ui/ComboboxItem/ComboboxItem.type.d.ts.map +1 -1
  200. package/types/components/Combobox/utils/index.d.ts +4 -0
  201. package/types/components/Combobox/utils/index.d.ts.map +1 -0
  202. package/types/components/Dropdown/Dropdown.d.ts +4 -4
  203. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  204. package/types/components/Dropdown/Dropdown.styles.d.ts +8 -1
  205. package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
  206. package/types/components/Dropdown/Dropdown.tokens.d.ts +9 -22
  207. package/types/components/Dropdown/Dropdown.tokens.d.ts.map +1 -1
  208. package/types/components/Dropdown/Dropdown.types.d.ts +64 -40
  209. package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
  210. package/types/components/Dropdown/hooks/useHashMaps.d.ts +6 -0
  211. package/types/components/Dropdown/hooks/useHashMaps.d.ts.map +1 -0
  212. package/types/components/Dropdown/hooks/useKeyboardNavigation.d.ts +23 -0
  213. package/types/components/Dropdown/hooks/useKeyboardNavigation.d.ts.map +1 -0
  214. package/types/components/Dropdown/index.d.ts +3 -1
  215. package/types/components/Dropdown/index.d.ts.map +1 -1
  216. package/types/components/Dropdown/reducers/focusedPathReducer.d.ts +16 -0
  217. package/types/components/Dropdown/reducers/focusedPathReducer.d.ts.map +1 -0
  218. package/types/components/Dropdown/reducers/pathReducer.d.ts +20 -0
  219. package/types/components/Dropdown/reducers/pathReducer.d.ts.map +1 -0
  220. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.d.ts +5 -0
  221. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.d.ts.map +1 -0
  222. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts +26 -0
  223. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts.map +1 -0
  224. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.d.ts +2 -56
  225. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.d.ts.map +1 -1
  226. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts +5 -1
  227. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts.map +1 -1
  228. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts +44 -38
  229. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts.map +1 -1
  230. package/types/components/Dropdown/ui/index.d.ts +2 -1
  231. package/types/components/Dropdown/ui/index.d.ts.map +1 -1
  232. package/types/components/Dropdown/utils/index.d.ts +5 -3
  233. package/types/components/Dropdown/utils/index.d.ts.map +1 -1
  234. package/types/components/Select/ui/SelectItem/SelectItem.d.ts +2 -2
  235. package/types/components/Select/ui/SelectItem/SelectItem.type.d.ts +2 -2
  236. package/types/components/Select/utils/index.d.ts +1 -1
  237. package/types/components/TextField/TextField.d.ts +2 -2
  238. package/types/components/TextField/TextField.d.ts.map +1 -1
  239. package/types/components/_Icon/Icon.assets/DisclosureRight.d.ts.map +1 -1
  240. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.config.d.ts.map +1 -0
  241. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts +13 -0
  242. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts.map +1 -0
  243. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +2 -2
  244. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
  245. package/types/examples/plasma_web/components/TextField/TextField.d.ts +2 -2
  246. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
  247. package/types/examples/sds_engineer/components/TextField/TextField.d.ts +2 -2
  248. package/types/examples/sds_engineer/components/TextField/TextField.d.ts.map +1 -1
  249. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.styles_936wgl.css +0 -1
  250. package/cjs/components/Dropdown/Dropdown.styles_1daxhqh.css +0 -2
  251. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles_1juhjtq.css +0 -4
  252. package/cjs/components/Dropdown/ui/DropdownItem/variations/_size/base.js +0 -9
  253. package/cjs/components/Dropdown/ui/DropdownItem/variations/_size/base.js.map +0 -1
  254. package/cjs/components/Dropdown/ui/DropdownItem/variations/_size/base_x642ct.css +0 -1
  255. package/cjs/components/Dropdown/ui/DropdownItem/variations/_view/base.js +0 -9
  256. package/cjs/components/Dropdown/ui/DropdownItem/variations/_view/base.js.map +0 -1
  257. package/cjs/components/Dropdown/ui/DropdownItem/variations/_view/base_x642ct.css +0 -1
  258. package/cjs/components/Select/ui/SelectItem/SelectItem.styles_6h17aw.css +0 -1
  259. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.styles_936wgl.css +0 -1
  260. package/es/components/Dropdown/Dropdown.styles_1daxhqh.css +0 -2
  261. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles_1juhjtq.css +0 -4
  262. package/es/components/Dropdown/ui/DropdownItem/variations/_size/base.js +0 -5
  263. package/es/components/Dropdown/ui/DropdownItem/variations/_size/base.js.map +0 -1
  264. package/es/components/Dropdown/ui/DropdownItem/variations/_size/base_x642ct.css +0 -1
  265. package/es/components/Dropdown/ui/DropdownItem/variations/_view/base.js +0 -5
  266. package/es/components/Dropdown/ui/DropdownItem/variations/_view/base.js.map +0 -1
  267. package/es/components/Dropdown/ui/DropdownItem/variations/_view/base_x642ct.css +0 -1
  268. package/es/components/Select/ui/SelectItem/SelectItem.styles_6h17aw.css +0 -1
  269. package/styled-components/cjs/components/Dropdown/Dropdown.template-doc.mdx +0 -80
  270. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/variations/_size/base.js +0 -8
  271. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/variations/_size/tokens.json +0 -19
  272. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/variations/_view/base.js +0 -8
  273. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/variations/_view/tokens.json +0 -9
  274. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.config.js +0 -27
  275. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.js +0 -13
  276. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.stories.tsx +0 -194
  277. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.config.js +0 -27
  278. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.js +0 -13
  279. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.stories.tsx +0 -195
  280. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Normal/Dropdown.config.js +0 -27
  281. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Normal/Dropdown.js +0 -13
  282. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Normal/Dropdown.stories.tsx +0 -195
  283. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Tight/Dropdown.config.js +0 -27
  284. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Tight/Dropdown.js +0 -13
  285. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Tight/Dropdown.stories.tsx +0 -195
  286. package/styled-components/cjs/examples/sds_engineer/components/Dropdown/Dropdown.config.js +0 -22
  287. package/styled-components/cjs/examples/sds_engineer/components/Dropdown/Dropdown.js +0 -21
  288. package/styled-components/cjs/examples/sds_engineer/components/Dropdown/Dropdown.stories.tsx +0 -277
  289. package/styled-components/es/components/Dropdown/Dropdown.template-doc.mdx +0 -80
  290. package/styled-components/es/components/Dropdown/ui/DropdownItem/variations/_size/base.js +0 -2
  291. package/styled-components/es/components/Dropdown/ui/DropdownItem/variations/_size/tokens.json +0 -19
  292. package/styled-components/es/components/Dropdown/ui/DropdownItem/variations/_view/base.js +0 -2
  293. package/styled-components/es/components/Dropdown/ui/DropdownItem/variations/_view/tokens.json +0 -9
  294. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.config.js +0 -21
  295. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.js +0 -7
  296. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.stories.tsx +0 -194
  297. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.config.js +0 -21
  298. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.js +0 -7
  299. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.stories.tsx +0 -195
  300. package/styled-components/es/examples/plasma_web/components/Dropdown/Normal/Dropdown.config.js +0 -21
  301. package/styled-components/es/examples/plasma_web/components/Dropdown/Normal/Dropdown.js +0 -7
  302. package/styled-components/es/examples/plasma_web/components/Dropdown/Normal/Dropdown.stories.tsx +0 -195
  303. package/styled-components/es/examples/plasma_web/components/Dropdown/Tight/Dropdown.config.js +0 -21
  304. package/styled-components/es/examples/plasma_web/components/Dropdown/Tight/Dropdown.js +0 -7
  305. package/styled-components/es/examples/plasma_web/components/Dropdown/Tight/Dropdown.stories.tsx +0 -195
  306. package/styled-components/es/examples/sds_engineer/components/Dropdown/Dropdown.config.js +0 -16
  307. package/styled-components/es/examples/sds_engineer/components/Dropdown/Dropdown.js +0 -15
  308. package/styled-components/es/examples/sds_engineer/components/Dropdown/Dropdown.stories.tsx +0 -277
  309. package/types/components/Dropdown/ui/DropdownItem/variations/_size/base.d.ts +0 -2
  310. package/types/components/Dropdown/ui/DropdownItem/variations/_size/base.d.ts.map +0 -1
  311. package/types/components/Dropdown/ui/DropdownItem/variations/_view/base.d.ts +0 -2
  312. package/types/components/Dropdown/ui/DropdownItem/variations/_view/base.d.ts.map +0 -1
  313. package/types/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.config.d.ts.map +0 -1
  314. package/types/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.d.ts +0 -30
  315. package/types/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.d.ts.map +0 -1
  316. package/types/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.config.d.ts +0 -18
  317. package/types/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.config.d.ts.map +0 -1
  318. package/types/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.d.ts +0 -30
  319. package/types/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.d.ts.map +0 -1
  320. package/types/examples/plasma_web/components/Dropdown/Normal/Dropdown.config.d.ts +0 -18
  321. package/types/examples/plasma_web/components/Dropdown/Normal/Dropdown.config.d.ts.map +0 -1
  322. package/types/examples/plasma_web/components/Dropdown/Normal/Dropdown.d.ts +0 -30
  323. package/types/examples/plasma_web/components/Dropdown/Normal/Dropdown.d.ts.map +0 -1
  324. package/types/examples/plasma_web/components/Dropdown/Tight/Dropdown.config.d.ts +0 -18
  325. package/types/examples/plasma_web/components/Dropdown/Tight/Dropdown.config.d.ts.map +0 -1
  326. package/types/examples/plasma_web/components/Dropdown/Tight/Dropdown.d.ts +0 -30
  327. package/types/examples/plasma_web/components/Dropdown/Tight/Dropdown.d.ts.map +0 -1
  328. package/types/examples/sds_engineer/components/Dropdown/Dropdown.config.d.ts +0 -15
  329. package/types/examples/sds_engineer/components/Dropdown/Dropdown.config.d.ts.map +0 -1
  330. package/types/examples/sds_engineer/components/Dropdown/Dropdown.d.ts +0 -51
  331. package/types/examples/sds_engineer/components/Dropdown/Dropdown.d.ts.map +0 -1
  332. /package/types/examples/plasma_b2c/components/Dropdown/{Normal/Dropdown.config.d.ts → Dropdown.config.d.ts} +0 -0
@@ -3,8 +3,9 @@
3
3
  .Popover_styles_rmr9za_s1pd4d8a__0bafa6fb{width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);}.Popover_styles_rmr9za_s1pd4d8a__0bafa6fb::before{position:absolute;width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);-webkit-mask-image:var(--plasma-popover-arrow-mask-image);mask-image:var(--plasma-popover-arrow-mask-image);background:var(--plasma-popover-arrow-background);content:'';-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}
4
4
  .Popover_styles_rmr9za_s16xlixz__0bafa6fb{position:absolute;z-index:var(--s16xlixz-0);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='top'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{bottom:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{right:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{left:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='top-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{bottom:calc(0px - var(--plasma-popover-arrow-height));left:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='top-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{bottom:calc(0px - var(--plasma-popover-arrow-height));left:unset !important;right:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:calc(0px - var(--plasma-popover-arrow-height));left:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:calc(0px - var(--plasma-popover-arrow-height));left:unset !important;right:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb,.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb,.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:unset !important;bottom:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}
5
5
 
6
- .Dropdown_styles_1daxhqh_sn7uamp__488e0a19 .Dropdown_styles_1daxhqh_popoverTarget__488e0a19{display:block;}
7
- .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);}
6
+ .Dropdown_styles_1tihqkp_sn7uamp__39673f55 .Dropdown_styles_1tihqkp_popoverWrapper__39673f55,.Dropdown_styles_1tihqkp_sn7uamp__39673f55 .Dropdown_styles_1tihqkp_popoverTarget__39673f55{display:block;}
7
+ .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);}
8
+ .Dropdown_styles_1tihqkp_byfocd2__39673f55{display:inline-block;}
8
9
 
9
10
  .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);}
10
11
 
@@ -15,9 +16,12 @@
15
16
 
16
17
  .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);}
17
18
 
18
- .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);}
19
- .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);}
20
- .DropdownItem_styles_1juhjtq_s1m97l2m__cab27d09{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
21
- .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;}
19
+ .IconRoot_7pl7ig_svvlqhf__32c458a1{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:var(--svvlqhf-0);height:var(--svvlqhf-0);-webkit-flex:0 0 var(--svvlqhf-0);-ms-flex:0 0 var(--svvlqhf-0);flex:0 0 var(--svvlqhf-0);}
20
+
21
+ .DropdownItem_styles_1o4szyu_s1gkzlls__6703745b{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
22
+ .DropdownItem_styles_1o4szyu_sz6s14y__6703745b{margin-left:auto;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
23
+ .DropdownItem_styles_1o4szyu_d1m97l2m__6703745b{line-height:0;color:var(--plasma-dropdown-disclosure-icon-color);}
24
+ .DropdownItem_styles_1o4szyu_soib72h__6703745b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-flex:1;-ms-flex:1;flex:1;}
25
+ .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);}
22
26
 
23
27
  .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);}
@@ -3,14 +3,14 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  require('react');
6
+ require('../../../../utils/react.js');
6
7
  require('@salutejs/plasma-core');
7
8
  require('@linaria/react');
8
- require('@linaria/core');
9
+ var DropdownHeader = require('../../../Dropdown/ui/DropdownHeader/DropdownHeader.js');
9
10
  require('focus-visible');
11
+ require('@linaria/core');
10
12
  require('react-dom');
11
13
  require('react-popper');
12
- require('../../../../utils/react.js');
13
- var DropdownHeader = require('../../../Dropdown/ui/DropdownHeader/DropdownHeader.js');
14
14
  var base = require('./variations/_view/base.js');
15
15
  var base$1 = require('./variations/_size/base.js');
16
16
  var SelectHeader_styles = require('./SelectHeader.styles.js');
@@ -3,8 +3,15 @@
3
3
  .Popover_styles_rmr9za_s1pd4d8a__0bafa6fb{width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);}.Popover_styles_rmr9za_s1pd4d8a__0bafa6fb::before{position:absolute;width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);-webkit-mask-image:var(--plasma-popover-arrow-mask-image);mask-image:var(--plasma-popover-arrow-mask-image);background:var(--plasma-popover-arrow-background);content:'';-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}
4
4
  .Popover_styles_rmr9za_s16xlixz__0bafa6fb{position:absolute;z-index:var(--s16xlixz-0);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='top'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{bottom:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{right:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{left:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='top-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{bottom:calc(0px - var(--plasma-popover-arrow-height));left:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='top-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{bottom:calc(0px - var(--plasma-popover-arrow-height));left:unset !important;right:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:calc(0px - var(--plasma-popover-arrow-height));left:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:calc(0px - var(--plasma-popover-arrow-height));left:unset !important;right:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb,.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb,.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:unset !important;bottom:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}
5
5
 
6
- .Dropdown_styles_1daxhqh_sn7uamp__488e0a19 .Dropdown_styles_1daxhqh_popoverTarget__488e0a19{display:block;}
7
- .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);}
6
+ .Combobox_styles_dw6hnk_sd7salz__1a7f1343{width:100%;position:relative;}.Combobox_styles_dw6hnk_sd7salz__1a7f1343 .Combobox_styles_dw6hnk_popoverWrapper__1a7f1343{display:block;}
7
+ .Combobox_styles_dw6hnk_s1tp4xgb__1a7f1343{box-sizing:border-box;background:var(--plasma-combobox-background);box-shadow:var(--plasma-combobox-box-shadow);border-radius:var(--plasma-combobox-border-radius);width:var(--plasma-combobox-width);height:var(--plasma-combobox-height);padding:var(--plasma-combobox-padding-top) var(--plasma-combobox-padding-right) var(--plasma-combobox-padding-bottom) var(--plasma-combobox-padding-left);}
8
+ .Combobox_styles_dw6hnk_s1fuzbs4__1a7f1343{display:block;}.Combobox_styles_dw6hnk_s1fuzbs4__1a7f1343 .Combobox_styles_dw6hnk_popoverRoot__1a7f1343,.Combobox_styles_dw6hnk_s1fuzbs4__1a7f1343 .Combobox_styles_dw6hnk_popoverTarget__1a7f1343{width:var(--s1fuzbs4-0);}
9
+ .Combobox_styles_dw6hnk_c1bkz6yw__1a7f1343{text-align:center;padding:0.5rem;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);}
10
+ .Combobox_styles_dw6hnk_s1mwm6am__1a7f1343{display:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;background:transparent;color:transparent;border:none;outline:none;opacity:0;position:absolute;inset:0;}
11
+
12
+ .Dropdown_styles_1tihqkp_sn7uamp__39673f55 .Dropdown_styles_1tihqkp_popoverWrapper__39673f55,.Dropdown_styles_1tihqkp_sn7uamp__39673f55 .Dropdown_styles_1tihqkp_popoverTarget__39673f55{display:block;}
13
+ .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);}
14
+ .Dropdown_styles_1tihqkp_byfocd2__39673f55{display:inline-block;}
8
15
 
9
16
  .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);}
10
17
 
@@ -15,9 +22,54 @@
15
22
 
16
23
  .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);}
17
24
 
18
- .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);}
19
- .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);}
20
- .DropdownItem_styles_1juhjtq_s1m97l2m__cab27d09{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
21
- .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;}
25
+ .DropdownItem_styles_1o4szyu_s1gkzlls__6703745b{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
26
+ .DropdownItem_styles_1o4szyu_sz6s14y__6703745b{margin-left:auto;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
27
+ .DropdownItem_styles_1o4szyu_d1m97l2m__6703745b{line-height:0;color:var(--plasma-dropdown-disclosure-icon-color);}
28
+ .DropdownItem_styles_1o4szyu_soib72h__6703745b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;-webkit-flex:1;-ms-flex:1;flex:1;}
29
+ .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);}
30
+
31
+ .ComboboxDivider_styles_1j1hng3_m1j9seqk__aa686e5c{--plasma-dropdown-divider-color:var(--plasma-combobox-divider-color);--plasma-dropdown-divider-width:var(--plasma-combobox-divider-width);--plasma-dropdown-divider-height:var(--plasma-combobox-divider-height);--plasma-dropdown-divider-margin-top:var(--plasma-combobox-divider-margin-top);--plasma-dropdown-divider-margin-right:var(--plasma-combobox-divider-margin-right);--plasma-dropdown-divider-margin-bottom:var(--plasma-combobox-divider-margin-bottom);--plasma-dropdown-divider-margin-left:var(--plasma-combobox-divider-margin-left);}
32
+
33
+ .ComboboxFooter_styles_1c25r21_m10lj0ok__54bb5d67{--plasma-dropdown-footer-background:var(--plasma-combobox-footer-background);--plasma-dropdown-footer-width:var(--plasma-combobox-footer-width);--plasma-dropdown-footer-height:var(--plasma-combobox-footer-height);--plasma-dropdown-footer-padding-top:var(--plasma-combobox-footer-padding-top);--plasma-dropdown-footer-padding-right:var(--plasma-combobox-footer-padding-right);--plasma-dropdown-footer-padding-bottom:var(--plasma-combobox-footer-padding-bottom);--plasma-dropdown-footer-padding-left:var(--plasma-combobox-footer-padding-left);--plasma-dropdown-footer-margin-top:var(--plasma-combobox-footer-margin-top);--plasma-dropdown-footer-margin-right:var(--plasma-combobox-footer-margin-right);--plasma-dropdown-footer-margin-bottom:var(--plasma-combobox-footer-margin-bottom);--plasma-dropdown-footer-margin-left:var(--plasma-combobox-footer-margin-left);--plasma-dropdown-footer-font-family:var(--plasma-combobox-footer-font-family);--plasma-dropdown-footer-font-size:var(--plasma-combobox-footer-font-size);--plasma-dropdown-footer-font-style:var(--plasma-combobox-footer-font-style);--plasma-dropdown-footer-letter-spacing:var(--plasma-combobox-footer-letter-spacing);--plasma-dropdown-footer-line-height:var(--plasma-combobox-footer-line-height);--plasma-dropdown-footer-font-weight:var(--plasma-combobox-footer-font-weight);}
34
+
35
+ .ComboboxGroup_styles_1w8kgot_m16g20f3__edc8e766{--plasma-dropdown-group-background:var(--plasma-combobox-group-background);--plasma-dropdown-group-width:var(--plasma-combobox-group-width);--plasma-dropdown-group-height:var(--plasma-combobox-group-height);--plasma-dropdown-group-padding-top:var(--plasma-combobox-group-padding-top);--plasma-dropdown-group-padding-right:var(--plasma-combobox-group-padding-right);--plasma-dropdown-group-padding-bottom:var(--plasma-combobox-group-padding-bottom);--plasma-dropdown-group-padding-left:var(--plasma-combobox-group-padding-left);--plasma-dropdown-group-margin-top:var(--plasma-combobox-group-margin-top);--plasma-dropdown-group-margin-right:var(--plasma-combobox-group-margin-right);--plasma-dropdown-group-margin-bottom:var(--plasma-combobox-group-margin-bottom);--plasma-dropdown-group-margin-left:var(--plasma-combobox-group-margin-left);--plasma-dropdown-group-label-font-family:var(--plasma-combobox-group-label-font-family);--plasma-dropdown-group-label-font-size:var(--plasma-combobox-group-label-font-size);--plasma-dropdown-group-label-font-style:var(--plasma-combobox-group-label-font-style);--plasma-dropdown-group-label-font-weight:var(--plasma-combobox-group-label-font-weight);--plasma-dropdown-group-label-letter-spacing:var(--plasma-combobox-group-label-letter-spacing);--plasma-dropdown-group-label-line-height:var(--plasma-combobox-group-label-line-height);--plasma-dropdown-group-label-color:var(--plasma-combobox-group-label-color);--plasma-dropdown-group-label-padding-top:var(--plasma-combobox-group-label-padding-top);--plasma-dropdown-group-label-padding-right:var(--plasma-combobox-group-label-padding-right);--plasma-dropdown-group-label-padding-bottom:var(--plasma-combobox-group-label-padding-bottom);--plasma-dropdown-group-label-padding-left:var(--plasma-combobox-group-label-padding-left);--plasma-dropdown-group-label-margin-top:var(--plasma-combobox-group-label-margin-top);--plasma-dropdown-group-label-margin-right:var(--plasma-combobox-group-label-margin-right);--plasma-dropdown-group-label-margin-bottom:var(--plasma-combobox-group-label-margin-bottom);--plasma-dropdown-group-label-margin-left:var(--plasma-combobox-group-label-margin-left);}
36
+
37
+ .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);}
38
+
39
+ .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);}
40
+ .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);}
41
+ .ComboboxItem_styles_s4sk53_s18437sq__df333595{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
42
+ .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;}
43
+
44
+ .base_1lwlv7t_b13tc97x__334a4e59{color:var(--plasma-chip-color);background-color:var(--plasma-chip-background);}.base_1lwlv7t_b13tc97x__334a4e59:hover{color:var(--plasma-chip-color-hover);background-color:var(--plasma-chip-background-hover);scale:var(--plasma-chip-scale-hover);}.base_1lwlv7t_b13tc97x__334a4e59:active{color:var(--plasma-chip-color-active);background-color:var(--plasma-chip-background-active);scale:var(--plasma-chip-scale-active);}
45
+
46
+ .base_fcgkys_b1pde8v1__0b4d127a{font-family:var(--plasma-chip-font-family);font-size:var(--plasma-chip-font-size);font-style:var(--plasma-chip-font-style);font-weight:var(--plasma-chip-font-weight);-webkit-letter-spacing:var(--plasma-chip-letter-spacing);-moz-letter-spacing:var(--plasma-chip-letter-spacing);-ms-letter-spacing:var(--plasma-chip-letter-spacing);letter-spacing:var(--plasma-chip-letter-spacing);line-height:var(--plasma-chip-lineheight);border-radius:var(--plasma-chip-border-radius);width:var(--plasma-chip-width);height:var(--plasma-chip-height);padding-top:var(--plasma-chip-padding-top);padding-right:var(--plasma-chip-padding-right);padding-bottom:var(--plasma-chip-padding-bottom);padding-left:var(--plasma-chip-padding-left);}.base_fcgkys_b1pde8v1__0b4d127a:hover{scale:var(--plasma-chip-scale-hover);}.base_fcgkys_b1pde8v1__0b4d127a:active{scale:var(--plasma-chip-scale-active);}
47
+
48
+ .base_rmcs0j_b16ulzzx__f8cae226[disabled]{opacity:var(--plasma-chip-disabled-opacity);cursor:not-allowed;}.base_rmcs0j_b16ulzzx__f8cae226[disabled]:hover,.base_rmcs0j_b16ulzzx__f8cae226[disabled]:active{scale:none;color:var(--plasma-chip-color);background-color:var(--plasma-chip-background);}
49
+
50
+ .base_1nfit77_b10y1phq__6aaec899[readonly]{color:var(--plasma-chip-color-readonly);background-color:var(--plasma-chip-background-readonly);}.base_1nfit77_b10y1phq__6aaec899[readonly]:hover,.base_1nfit77_b10y1phq__6aaec899[readonly]:active{scale:none;cursor:default;color:var(--plasma-chip-color-readonly-hover);background-color:var(--plasma-chip-background-readonly-hover);}
51
+
52
+ .base_kgtz8x_b16hf96__46a206b1{--plasma_private-chip-outline-size:var(--plasma-chip-outline-size,0.125rem);position:relative;}.base_kgtz8x_b16hf96__46a206b1:focus{outline:none;}.base_kgtz8x_b16hf96__46a206b1::before{content:'';position:absolute;top:calc(-1 * var(--plasma_private-chip-outline-size));left:calc(-1 * var(--plasma_private-chip-outline-size));right:calc(-1 * var(--plasma_private-chip-outline-size));bottom:calc(-1 * var(--plasma_private-chip-outline-size));z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-chip-outline-size) solid transparent;border-radius:calc(var(--plasma-chip-border-radius) + var(--plasma_private-chip-outline-size));-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.base_kgtz8x_b16hf96__46a206b1.base_kgtz8x_focusVisible__46a206b1:focus::before,.base_kgtz8x_b16hf96__46a206b1[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-chip-outline-size) var(--plasma-chip-focus-color);}
53
+
54
+ .base_3kce4h_bvcavwi__c6ad5ca5.base_3kce4h_chipPilled__c6ad5ca5{border-radius:var(--plasma-chip-pilled-border-radius);}
55
+
56
+ .Chip_styles_1mwwhiw_bol5daj__07da4d18{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);}
57
+ .Chip_styles_1mwwhiw_sj20on5__07da4d18{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-left:var(--plasma-chip-left-content-margin-left);margin-right:var(--plasma-chip-left-content-margin-right);}
58
+ .Chip_styles_1mwwhiw_s1ror4o9__07da4d18{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
59
+ .Chip_styles_1mwwhiw_swddmyi__07da4d18{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-left:var(--plasma-chip-right-content-margin-left);margin-right:var(--plasma-chip-right-content-margin-right);}
60
+ .Chip_styles_1mwwhiw_s1pcflhj__07da4d18{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;margin-left:var(--plasma-chip-clear-content-margin-left);margin-right:var(--plasma-chip-clear-content-margin-right);color:var(--plasma-chip-close-icon-color);}
61
+
62
+ .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);}
63
+
64
+ .IconRoot_7pl7ig_svvlqhf__32c458a1{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:var(--svvlqhf-0);height:var(--svvlqhf-0);-webkit-flex:0 0 var(--svvlqhf-0);-ms-flex:0 0 var(--svvlqhf-0);flex:0 0 var(--svvlqhf-0);}
65
+
66
+ .ComboboxTarget_styles_1htd0dz_s1f9n908__b9994d5a{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;gap:0.5rem;cursor:pointer;box-sizing:border-box;height:var(--plasma-combobox-target-height);width:var(--plasma-combobox-target-width);overflow:hidden;border-radius:var(--plasma-combobox-target-radius);font-family:var(--plasma-combobox-target-font-family);font-size:var(--plasma-combobox-target-font-style);font-weight:var(--plasma-combobox-target-font-weight);-webkit-letter-spacing:var(--plasma-combobox-target-letter-spacing);-moz-letter-spacing:var(--plasma-combobox-target-letter-spacing);-ms-letter-spacing:var(--plasma-combobox-target-letter-spacing);letter-spacing:var(--plasma-combobox-target-letter-spacing);line-height:var(--plasma-combobox-target-line-height);color:var(--plasma-combobox-target-color);background-color:var(--s1f9n908-0);box-shadow:inset 0 0 0 0.0625rem var(--s1f9n908-1);padding:var(--plasma-combobox-target-with-input);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;overflow:visible;--plasma_private-combobox-focus-size:0.0625rem;position:relative;}.ComboboxTarget_styles_1htd0dz_s1f9n908__b9994d5a:hover:not([disabled]):not([readonly]){background-color:var(--s1f9n908-2);box-shadow:inset 0 0 0 0.0625rem var(--s1f9n908-3);}.ComboboxTarget_styles_1htd0dz_s1f9n908__b9994d5a:active:not([disabled]):not([readonly]){background-color:var(--s1f9n908-4);box-shadow:inset 0 0 0 0.0625rem var(--s1f9n908-5);}.ComboboxTarget_styles_1htd0dz_s1f9n908__b9994d5a[disabled]{cursor:not-allowed;opacity:var(--plasma-combobox-disabled-opacity);}.ComboboxTarget_styles_1htd0dz_s1f9n908__b9994d5a[readonly]{cursor:default;}.ComboboxTarget_styles_1htd0dz_s1f9n908__b9994d5a[readonly] .ComboboxTarget_styles_1htd0dz_comboboxButtonArrow__b9994d5a{opacity:0.4;}.ComboboxTarget_styles_1htd0dz_s1f9n908__b9994d5a .ComboboxTarget_styles_1htd0dz_arrowInverse__b9994d5a{-webkit-transform:rotate(-180deg);-ms-transform:rotate(-180deg);transform:rotate(-180deg);}.ComboboxTarget_styles_1htd0dz_s1f9n908__b9994d5a.ComboboxTarget_styles_1htd0dz_hasChips__b9994d5a{padding:var(--plasma-combobox-target-padding-has-chips);}.ComboboxTarget_styles_1htd0dz_s1f9n908__b9994d5a.ComboboxTarget_styles_1htd0dz_innerLabelUp__b9994d5a .ComboboxTarget_styles_1htd0dz_comboboxTargetInput__b9994d5a,.ComboboxTarget_styles_1htd0dz_s1f9n908__b9994d5a.ComboboxTarget_styles_1htd0dz_innerLabelUp__b9994d5a .ComboboxTarget_styles_1htd0dz_comboboxTargetText__b9994d5a{top:var(--plasma-combobox-target-inner-top);}.ComboboxTarget_styles_1htd0dz_s1f9n908__b9994d5a.ComboboxTarget_styles_1htd0dz_innerLabelUp__b9994d5a .ComboboxTarget_styles_1htd0dz_comboboxButtonLabel__b9994d5a{top:var(--plasma-combobox-target-label-inner-top);font-family:var(--plasma-combobox-target-label-inner-font-family);font-size:var(--plasma-combobox-target-label-inner-font-family);font-style:var(--plasma-combobox-target-label-inner-font-style);font-weight:var(--plasma-combobox-target-label-inner-font-weight);-webkit-letter-spacing:var(--plasma-combobox-target-label-inner-letter-spacing);-moz-letter-spacing:var(--plasma-combobox-target-label-inner-letter-spacing);-ms-letter-spacing:var(--plasma-combobox-target-label-inner-letter-spacing);letter-spacing:var(--plasma-combobox-target-label-inner-letter-spacing);line-height:var(--plasma-combobox-target-label-inner-line-height);}.ComboboxTarget_styles_1htd0dz_s1f9n908__b9994d5a::before{content:'';position:absolute;top:calc(-1 * var(--plasma_private-combobox-focus-size));left:calc(-1 * var(--plasma_private-combobox-focus-size));right:calc(-1 * var(--plasma_private-combobox-focus-size));bottom:calc(-1 * var(--plasma_private-combobox-focus-size));z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-combobox-focus-size) solid transparent;border-radius:calc(var(--plasma-combobox-target-radius) + var(--plasma_private-combobox-focus-size));-webkit-transition:none;transition:none;pointer-events:none;}.ComboboxTarget_styles_1htd0dz_s1f9n908__b9994d5a:focus-within{box-shadow:none;background-color:var(--plasma-combobox-target-background-color-open);}.ComboboxTarget_styles_1htd0dz_s1f9n908__b9994d5a:focus-within::before{box-shadow:inset 0 0 0 var(--plasma_private-combobox-focus-size) var(--plasma-combobox-target-border-color-open);}
67
+ .ComboboxTarget_styles_1htd0dz_s16n9w7y__b9994d5a{-webkit-transition:color 0.3s ease-in,-webkit-transform 0.15s ease-in;-webkit-transition:color 0.3s ease-in,transform 0.15s ease-in;transition:color 0.3s ease-in,transform 0.15s ease-in;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:absolute;right:var(--plasma-combobox-target-arrow-right);color:var(--plasma-combobox-target-arrow-color);}
68
+ .ComboboxTarget_styles_1htd0dz_sw8s5yo__b9994d5a{font-family:var(--plasma-combobox-target-font-family);font-size:var(--plasma-combobox-target-font-size);font-style:var(--plasma-combobox-target-font-style);font-weight:var(--plasma-combobox-target-font-weight);-webkit-letter-spacing:var(--plasma-combobox-target-letter-spacing);-moz-letter-spacing:var(--plasma-combobox-target-letter-spacing);-ms-letter-spacing:var(--plasma-combobox-target-letter-spacing);letter-spacing:var(--plasma-combobox-target-letter-spacing);line-height:var(--plasma-combobox-target-line-height);overflow:scroll;position:relative;width:100%;height:var(--plasma-combobox-chip-height);display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:0.5rem;-webkit-scrollbar-width:none;-moz-scrollbar-width:none;-ms-scrollbar-width:none;scrollbar-width:none;overscroll-behavior:contain;}.ComboboxTarget_styles_1htd0dz_sw8s5yo__b9994d5a.ComboboxTarget_styles_1htd0dz_hasChips__b9994d5a{border-radius:var(--plasma-combobox-chip-border-radius);}.ComboboxTarget_styles_1htd0dz_sw8s5yo__b9994d5a::-webkit-scrollbar{display:none;}
69
+ .ComboboxTarget_styles_1htd0dz_sys30py__b9994d5a{position:relative;color:var(--plasma-combobox-target-color);border:none;outline:none;caret-color:var(--plasma-combobox-focus-color);margin:0;padding:0;background:transparent;-webkit-flex:1;-ms-flex:1;flex:1;min-width:50%;font-family:inherit;font-size:inherit;font-weight:inherit;-webkit-letter-spacing:inherit;-moz-letter-spacing:inherit;-ms-letter-spacing:inherit;letter-spacing:inherit;line-height:inherit;}.ComboboxTarget_styles_1htd0dz_sys30py__b9994d5a::-webkit-input-placeholder{color:var(--plasma-combobox-target-label-color);}.ComboboxTarget_styles_1htd0dz_sys30py__b9994d5a::-moz-placeholder{color:var(--plasma-combobox-target-label-color);}.ComboboxTarget_styles_1htd0dz_sys30py__b9994d5a:-ms-input-placeholder{color:var(--plasma-combobox-target-label-color);}.ComboboxTarget_styles_1htd0dz_sys30py__b9994d5a::placeholder{color:var(--plasma-combobox-target-label-color);}.ComboboxTarget_styles_1htd0dz_sys30py__b9994d5a:disabled{cursor:not-allowed;}
70
+ .ComboboxTarget_styles_1htd0dz_s16hup6g__b9994d5a{position:absolute;font-family:inherit;font-size:inherit;font-weight:inherit;-webkit-letter-spacing:inherit;-moz-letter-spacing:inherit;-ms-letter-spacing:inherit;letter-spacing:inherit;line-height:inherit;white-space:pre-wrap;visibility:hidden;overflow:hidden;}
71
+ .ComboboxTarget_styles_1htd0dz_s3gbdjt__b9994d5a{white-space:nowrap;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:var(--plasma-combobox-target-color);}
72
+ .ComboboxTarget_styles_1htd0dz_s1camohz__b9994d5a{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:var(--plasma-combobox-chip-gap);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}
73
+ .ComboboxTarget_styles_1htd0dz_s16upk0a__b9994d5a{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-sizing:border-box;position:absolute;pointer-events:none;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transition:all 0.1s ease-in-out;transition:all 0.1s ease-in-out;-webkit-transform-origin:top left;-ms-transform-origin:top left;transform-origin:top left;width:100%;height:auto;color:var(--plasma-combobox-target-label-color);font-family:var(--plasma-combobox-target-font-family);font-size:var(--plasma-combobox-target-font-size);font-style:var(--plasma-combobox-target-font-style);font-weight:var(--plasma-combobox-target-font-weight);-webkit-letter-spacing:var(--plasma-combobox-target-letter-spacing);-moz-letter-spacing:var(--plasma-combobox-target-letter-spacing);-ms-letter-spacing:var(--plasma-combobox-target-letter-spacing);letter-spacing:var(--plasma-combobox-target-letter-spacing);line-height:var(--plasma-combobox-target-line-height);}
22
74
 
23
- .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;}
75
+ .SelectItem_styles_1jgsd1a_bhy25de__91906cdc{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);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:0;--plasma-combobox-item-background:var(--plasma-select-item-background);--plasma-combobox-item-color:var(--plasma-select-item-color);--plasma-combobox-item-background-hover:var(--plasma-select-item-background-hover);--plasma-combobox-item-background-selected:var(--plasma-select-item-background-selected);--plasma-combobox-item-color-selected:var(--plasma-select-item-color-selected);--plasma-combobox-item-background-selected-hover:var(--plasma-select-item-background-selected-hover);--plasma-combobox-item-color-selected-hover:var(--plasma-select-item-color-selected-hover);--plasma-combobox-item-content-left-color:var(--plasma-select-item-content-left-color);--plasma-combobox-item-content-right-color:var(--plasma-select-item-content-right-color);--plasma-combobox-disabled-opacity:var(--plasma-select-disabled-opacity);--plasma-combobox-focus-color:var(--plasma-select-focus-color);--plasma-combobox-item-width:var(--plasma-select-item-width);--plasma-combobox-item-height:var(--plasma-select-item-height);--plasma-combobox-item-border-radius:var(--plasma-select-item-border-radius);--plasma-combobox-item-padding-top:var(--plasma-select-item-padding-top);--plasma-combobox-item-padding-right:var(--plasma-select-item-padding-right);--plasma-combobox-item-padding-bottom:var(--plasma-select-item-padding-bottom);--plasma-combobox-item-padding-left:var(--plasma-select-item-padding-left);--plasma-combobox-item-margin-top:var(--plasma-select-item-margin-top);--plasma-combobox-item-margin-right:var(--plasma-select-item-margin-right);--plasma-combobox-item-margin-bottom:var(--plasma-select-item-margin-bottom);--plasma-combobox-item-margin-left:var(--plasma-select-item-margin-left);--plasma-combobox-item-font-family:var(--plasma-select-item-font-family);--plasma-combobox-item-font-size:var(--plasma-select-item-font-size);--plasma-combobox-item-font-style:var(--plasma-select-item-font-style);--plasma-combobox-item-letter-spacing:var(--plasma-select-item-letter-spacing);--plasma-combobox-item-line-height:var(--plasma-select-item-line-height);--plasma-combobox-item-font-weight:var(--plasma-select-item-font-weight);--plasma-combobox-item-content-left-width:var(--plasma-select-item-content-left-width);--plasma-combobox-item-content-right-width:var(--plasma-select-item-content-right-width);}.SelectItem_styles_1jgsd1a_bhy25de__91906cdc:focus{outline:none;}.SelectItem_styles_1jgsd1a_bhy25de__91906cdc::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_1jgsd1a_bhy25de__91906cdc.SelectItem_styles_1jgsd1a_dropdownItemIsFocused__91906cdc:before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-dropdown-focus-color);}.SelectItem_styles_1jgsd1a_bhy25de__91906cdc:hover:not(.SelectItem_styles_1jgsd1a_dropdownItemIsDisabled__91906cdc){cursor:pointer;background:var(--plasma-dropdown-item-background-hover);}.SelectItem_styles_1jgsd1a_bhy25de__91906cdc.SelectItem_styles_1jgsd1a_dropdownItemIsActive__91906cdc{background:var(--plasma-dropdown-item-background-hover);}.SelectItem_styles_1jgsd1a_bhy25de__91906cdc.SelectItem_styles_1jgsd1a_dropdownItemIsDisabled__91906cdc{opacity:var(--plasma-dropdown-disabled-opacity);cursor:not-allowed;}
@@ -4,18 +4,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  require('react');
6
6
  require('@salutejs/plasma-core');
7
+ require('../../../../utils/react.js');
7
8
  require('@linaria/react');
8
- require('@linaria/core');
9
9
  require('focus-visible');
10
+ require('@linaria/core');
10
11
  require('react-dom');
11
12
  require('react-popper');
12
- require('../../../../utils/react.js');
13
- var DropdownItem = require('../../../Dropdown/ui/DropdownItem/DropdownItem.js');
13
+ var ComboboxItem = require('../../../Combobox/ui/ComboboxItem/ComboboxItem.js');
14
14
  var base = require('./variations/_view/base.js');
15
15
  var base$1 = require('./variations/_size/base.js');
16
16
  var SelectItem_styles = require('./SelectItem.styles.js');
17
17
 
18
- var selectItemRoot = DropdownItem.dropdownItemRoot;
18
+ var selectItemRoot = ComboboxItem.comboboxItemRoot;
19
19
  var selectItemConfig = {
20
20
  name: 'SelectItem',
21
21
  tag: 'div',
@@ -1 +1 @@
1
- {"version":3,"file":"SelectItem.js","sources":["../../../../../src/components/Select/ui/SelectItem/SelectItem.tsx"],"sourcesContent":["import { dropdownItemRoot } from '../../../Dropdown';\n\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base } from './SelectItem.styles';\n\nexport const selectItemRoot = dropdownItemRoot;\n\nexport const selectItemConfig = {\n name: 'SelectItem',\n tag: 'div',\n layout: selectItemRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n view: 'primary',\n size: 'm',\n },\n};\n"],"names":["selectItemRoot","dropdownItemRoot","selectItemConfig","name","tag","layout","base","variations","view","css","viewCSS","size","sizeCSS","defaults"],"mappings":";;;;;;;;;;;;;;;;;AAMO,IAAMA,cAAc,GAAGC,8BAAgB;AAEvC,IAAMC,gBAAgB,GAAG;AAC5BC,EAAAA,IAAI,EAAE,YAAY;AAClBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAEL,cAAc;AACtBM,EAAAA,IAAI,EAAJA,sBAAI;AACJC,EAAAA,UAAU,EAAE;AACRC,IAAAA,IAAI,EAAE;AACFC,MAAAA,GAAG,EAAEC,SAAAA;KACR;AACDC,IAAAA,IAAI,EAAE;AACFF,MAAAA,GAAG,EAAEG,WAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNL,IAAAA,IAAI,EAAE,SAAS;AACfG,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;;"}
1
+ {"version":3,"file":"SelectItem.js","sources":["../../../../../src/components/Select/ui/SelectItem/SelectItem.tsx"],"sourcesContent":["import { comboboxItemRoot } from '../../../Combobox';\n\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { base } from './SelectItem.styles';\n\nexport const selectItemRoot = comboboxItemRoot;\n\nexport const selectItemConfig = {\n name: 'SelectItem',\n tag: 'div',\n layout: selectItemRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n view: 'primary',\n size: 'm',\n },\n};\n"],"names":["selectItemRoot","comboboxItemRoot","selectItemConfig","name","tag","layout","base","variations","view","css","viewCSS","size","sizeCSS","defaults"],"mappings":";;;;;;;;;;;;;;;;;AAMO,IAAMA,cAAc,GAAGC,8BAAgB;AAEvC,IAAMC,gBAAgB,GAAG;AAC5BC,EAAAA,IAAI,EAAE,YAAY;AAClBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAEL,cAAc;AACtBM,EAAAA,IAAI,EAAJA,sBAAI;AACJC,EAAAA,UAAU,EAAE;AACRC,IAAAA,IAAI,EAAE;AACFC,MAAAA,GAAG,EAAEC,SAAAA;KACR;AACDC,IAAAA,IAAI,EAAE;AACFF,MAAAA,GAAG,EAAEG,WAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNL,IAAAA,IAAI,EAAE,SAAS;AACfG,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;;"}
@@ -1,16 +1,16 @@
1
- import './SelectItem.styles_6h17aw.css';
1
+ import './SelectItem.styles_1jgsd1a.css';
2
2
  'use strict';
3
3
 
4
4
  Object.defineProperty(exports, '__esModule', { value: true });
5
5
 
6
6
  require('react');
7
7
  require('@salutejs/plasma-core');
8
+ require('../../../../utils/react.js');
8
9
  require('@linaria/react');
9
- require('@linaria/core');
10
10
  require('focus-visible');
11
+ require('@linaria/core');
11
12
  require('react-dom');
12
13
  require('react-popper');
13
- require('../../../../utils/react.js');
14
14
 
15
15
  var base = "bhy25de";
16
16
 
@@ -1 +1 @@
1
- {"version":3,"file":"SelectItem.styles.js","sources":["../../../../../src/components/Select/ui/SelectItem/SelectItem.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { tokens } from '../../Select.tokens';\nimport { dropdownTokens } from '../../../Dropdown';\nimport { baseContent as dropdownItemBase } from '../../../Dropdown/ui/DropdownItem/DropdownItem.styles';\n\n// NOTE: Необходимое переопределение токенов из компонента DropdownItem т.к. используются его части\nexport const mappingOverride = `\n ${dropdownTokens.itemBackground}: var(${tokens.itemBackground});\n ${dropdownTokens.itemColor}: var(${tokens.itemColor});\n ${dropdownTokens.itemBackgroundHover}: var(${tokens.itemBackgroundHover});\n ${dropdownTokens.itemBackgroundSelected}: var(${tokens.itemBackgroundSelected});\n ${dropdownTokens.itemColorSelected}: var(${tokens.itemColorSelected});\n ${dropdownTokens.itemBackgroundSelectedHover}: var(${tokens.itemBackgroundSelectedHover});\n ${dropdownTokens.itemColorSelectedHover}: var(${tokens.itemColorSelectedHover});\n ${dropdownTokens.itemContentLeftColor}: var(${tokens.itemContentLeftColor});\n ${dropdownTokens.itemContentRightColor}: var(${tokens.itemContentRightColor});\n ${dropdownTokens.disabledOpacity}: var(${tokens.disabledOpacity});\n ${dropdownTokens.focusColor}: var(${tokens.focusColor});\n ${dropdownTokens.itemWidth}: var(${tokens.itemWidth});\n ${dropdownTokens.itemHeight}: var(${tokens.itemHeight});\n ${dropdownTokens.itemBorderRadius}: var(${tokens.itemBorderRadius});\n ${dropdownTokens.itemPaddingTop}: var(${tokens.itemPaddingTop});\n ${dropdownTokens.itemPaddingRight}: var(${tokens.itemPaddingRight});\n ${dropdownTokens.itemPaddingBottom}: var(${tokens.itemPaddingBottom});\n ${dropdownTokens.itemPaddingLeft}: var(${tokens.itemPaddingLeft});\n ${dropdownTokens.itemMarginTop}: var(${tokens.itemMarginTop});\n ${dropdownTokens.itemMarginRight}: var(${tokens.itemMarginRight});\n ${dropdownTokens.itemMarginBottom}: var(${tokens.itemMarginBottom});\n ${dropdownTokens.itemMarginLeft}: var(${tokens.itemMarginLeft});\n ${dropdownTokens.itemFontFamily}: var(${tokens.itemFontFamily});\n ${dropdownTokens.itemFontSize}: var(${tokens.itemFontSize});\n ${dropdownTokens.itemFontStyle}: var(${tokens.itemFontStyle});\n ${dropdownTokens.itemFontWeightBold}: var(${tokens.itemFontWeightBold});\n ${dropdownTokens.itemFontLetterSpacing}: var(${tokens.itemFontLetterSpacing});\n ${dropdownTokens.itemFontLineHeight}: var(${tokens.itemFontLineHeight});\n ${dropdownTokens.itemContentLeftWidth}: var(${tokens.itemContentLeftWidth});\n ${dropdownTokens.itemContentRightWidth}: var(${tokens.itemContentRightWidth});\n`;\n\nexport const base = css`\n ${dropdownItemBase};\n ${mappingOverride};\n`;\n"],"names":["base"],"mappings":";;;;;;;;;;;;;AAwCO,IAAMA,IAAI,GAGhB;;;;"}
1
+ {"version":3,"file":"SelectItem.styles.js","sources":["../../../../../src/components/Select/ui/SelectItem/SelectItem.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { tokens } from '../../Select.tokens';\nimport { comboboxTokens } from '../../../Combobox';\nimport { baseContent as dropdownItemBase } from '../../../Dropdown/ui/DropdownItem/DropdownItem.styles';\n\n// NOTE: Необходимое переопределение токенов из компонента DropdownItem т.к. используются его части\nexport const mappingOverride = `\n ${comboboxTokens.itemBackground}: var(${tokens.itemBackground});\n ${comboboxTokens.itemColor}: var(${tokens.itemColor});\n ${comboboxTokens.itemBackgroundHover}: var(${tokens.itemBackgroundHover});\n ${comboboxTokens.itemBackgroundSelected}: var(${tokens.itemBackgroundSelected});\n ${comboboxTokens.itemColorSelected}: var(${tokens.itemColorSelected});\n ${comboboxTokens.itemBackgroundSelectedHover}: var(${tokens.itemBackgroundSelectedHover});\n ${comboboxTokens.itemColorSelectedHover}: var(${tokens.itemColorSelectedHover});\n ${comboboxTokens.itemContentLeftColor}: var(${tokens.itemContentLeftColor});\n ${comboboxTokens.itemContentRightColor}: var(${tokens.itemContentRightColor});\n ${comboboxTokens.disabledOpacity}: var(${tokens.disabledOpacity});\n ${comboboxTokens.focusColor}: var(${tokens.focusColor});\n ${comboboxTokens.itemWidth}: var(${tokens.itemWidth});\n ${comboboxTokens.itemHeight}: var(${tokens.itemHeight});\n ${comboboxTokens.itemBorderRadius}: var(${tokens.itemBorderRadius});\n ${comboboxTokens.itemPaddingTop}: var(${tokens.itemPaddingTop});\n ${comboboxTokens.itemPaddingRight}: var(${tokens.itemPaddingRight});\n ${comboboxTokens.itemPaddingBottom}: var(${tokens.itemPaddingBottom});\n ${comboboxTokens.itemPaddingLeft}: var(${tokens.itemPaddingLeft});\n ${comboboxTokens.itemMarginTop}: var(${tokens.itemMarginTop});\n ${comboboxTokens.itemMarginRight}: var(${tokens.itemMarginRight});\n ${comboboxTokens.itemMarginBottom}: var(${tokens.itemMarginBottom});\n ${comboboxTokens.itemMarginLeft}: var(${tokens.itemMarginLeft});\n ${comboboxTokens.itemFontFamily}: var(${tokens.itemFontFamily});\n ${comboboxTokens.itemFontSize}: var(${tokens.itemFontSize});\n ${comboboxTokens.itemFontStyle}: var(${tokens.itemFontStyle});\n ${comboboxTokens.itemFontWeightBold}: var(${tokens.itemFontWeightBold});\n ${comboboxTokens.itemFontLetterSpacing}: var(${tokens.itemFontLetterSpacing});\n ${comboboxTokens.itemFontLineHeight}: var(${tokens.itemFontLineHeight});\n ${comboboxTokens.itemContentLeftWidth}: var(${tokens.itemContentLeftWidth});\n ${comboboxTokens.itemContentRightWidth}: var(${tokens.itemContentRightWidth});\n`;\n\nexport const base = css`\n ${dropdownItemBase};\n ${mappingOverride};\n`;\n"],"names":["base"],"mappings":";;;;;;;;;;;;;AAwCO,IAAMA,IAAI,GAGhB;;;;"}
@@ -0,0 +1 @@
1
+ .bhy25de{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);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:0;--plasma-combobox-item-background:var(--plasma-select-item-background);--plasma-combobox-item-color:var(--plasma-select-item-color);--plasma-combobox-item-background-hover:var(--plasma-select-item-background-hover);--plasma-combobox-item-background-selected:var(--plasma-select-item-background-selected);--plasma-combobox-item-color-selected:var(--plasma-select-item-color-selected);--plasma-combobox-item-background-selected-hover:var(--plasma-select-item-background-selected-hover);--plasma-combobox-item-color-selected-hover:var(--plasma-select-item-color-selected-hover);--plasma-combobox-item-content-left-color:var(--plasma-select-item-content-left-color);--plasma-combobox-item-content-right-color:var(--plasma-select-item-content-right-color);--plasma-combobox-disabled-opacity:var(--plasma-select-disabled-opacity);--plasma-combobox-focus-color:var(--plasma-select-focus-color);--plasma-combobox-item-width:var(--plasma-select-item-width);--plasma-combobox-item-height:var(--plasma-select-item-height);--plasma-combobox-item-border-radius:var(--plasma-select-item-border-radius);--plasma-combobox-item-padding-top:var(--plasma-select-item-padding-top);--plasma-combobox-item-padding-right:var(--plasma-select-item-padding-right);--plasma-combobox-item-padding-bottom:var(--plasma-select-item-padding-bottom);--plasma-combobox-item-padding-left:var(--plasma-select-item-padding-left);--plasma-combobox-item-margin-top:var(--plasma-select-item-margin-top);--plasma-combobox-item-margin-right:var(--plasma-select-item-margin-right);--plasma-combobox-item-margin-bottom:var(--plasma-select-item-margin-bottom);--plasma-combobox-item-margin-left:var(--plasma-select-item-margin-left);--plasma-combobox-item-font-family:var(--plasma-select-item-font-family);--plasma-combobox-item-font-size:var(--plasma-select-item-font-size);--plasma-combobox-item-font-style:var(--plasma-select-item-font-style);--plasma-combobox-item-letter-spacing:var(--plasma-select-item-letter-spacing);--plasma-combobox-item-line-height:var(--plasma-select-item-line-height);--plasma-combobox-item-font-weight:var(--plasma-select-item-font-weight);--plasma-combobox-item-content-left-width:var(--plasma-select-item-content-left-width);--plasma-combobox-item-content-right-width:var(--plasma-select-item-content-right-width);}.bhy25de:focus{outline:none;}.bhy25de::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;}.bhy25de.dropdown-item-is-focused:before{outline:none;box-shadow:0 0 0 0.0625rem var(--plasma-dropdown-focus-color);}.bhy25de:hover:not(.dropdown-item-is-disabled){cursor:pointer;background:var(--plasma-dropdown-item-background-hover);}.bhy25de.dropdown-item-is-active{background:var(--plasma-dropdown-item-background-hover);}.bhy25de.dropdown-item-is-disabled{opacity:var(--plasma-dropdown-disabled-opacity);cursor:not-allowed;}
@@ -43,7 +43,6 @@ var textFieldRoot = function textFieldRoot(Root) {
43
43
  rest = _rollupPluginBabelHelpers.objectWithoutProperties(_ref, _excluded);
44
44
  var contentRef = React.useRef(null);
45
45
  var inputRef = React.useRef(null);
46
- var inputForkRef = plasmaCore.useForkRef(inputRef, ref);
47
46
  var chipsRefs = React.useRef([]);
48
47
  var controlledRefs = {
49
48
  contentRef: contentRef,
@@ -132,6 +131,7 @@ var textFieldRoot = function textFieldRoot(Root) {
132
131
  setChips(newChips);
133
132
  }, [isChipEnumeration, values]);
134
133
  return /*#__PURE__*/React.createElement(Root, {
134
+ ref: ref,
135
135
  view: view,
136
136
  size: size,
137
137
  disabled: disabled,
@@ -170,7 +170,7 @@ var textFieldRoot = function textFieldRoot(Root) {
170
170
  onClick: onChipClick
171
171
  });
172
172
  })), /*#__PURE__*/React.createElement(TextField_styles.Input, _rollupPluginBabelHelpers.extends({}, rest, {
173
- ref: inputForkRef,
173
+ ref: inputRef,
174
174
  id: innerId,
175
175
  "aria-labelledby": labelId,
176
176
  "aria-describedby": helperTextId,
@@ -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, useForkRef } 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';\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<HTMLInputElement, 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 inputForkRef = useForkRef(inputRef, ref);\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\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 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={inputForkRef}\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","inputForkRef","useForkRef","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,gBAAU,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,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AAAA,QAAQ,EAAE;AACNoG,MAAAA,GAAG,EAAEG,WAAW;AAChBC,MAAAA,KAAK,EAAE,IAAA;KACV;AACD1G,IAAAA,QAAQ,EAAE;AACNsG,MAAAA,GAAG,EAAEK,WAAW;AAChBD,MAAAA,KAAK,EAAE,IAAA;KACV;AACDlH,IAAAA,cAAc,EAAE;AACZ8G,MAAAA,GAAG,EAAEM,WAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACN/G,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\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":";;;;;;;;;;;;;;;;;;;AA4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,EAAEmC,YAAAA;KAAe7B,EAAAA,UAAuB,CACnE,CAAC,CAAA;AAEf,GACJ,CAAC,CAAA;AAAA,EAAA;AAEE,IAAMqG,eAAe,GAAG;AAC3BC,EAAAA,IAAI,EAAE,WAAW;AACjBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAEnH,aAAa;AACrBD,EAAAA,IAAI,EAAJA,IAAI;AACJqH,EAAAA,UAAU,EAAE;AACRtG,IAAAA,IAAI,EAAE;AACFuG,MAAAA,GAAG,EAAEC,WAAAA;KACR;AACDvG,IAAAA,IAAI,EAAE;AACFsG,MAAAA,GAAG,EAAEE,WAAAA;KACR;AACDpG,IAAAA,QAAQ,EAAE;AACNkG,MAAAA,GAAG,EAAEG,WAAW;AAChBC,MAAAA,KAAK,EAAE,IAAA;KACV;AACDxG,IAAAA,QAAQ,EAAE;AACNoG,MAAAA,GAAG,EAAEK,WAAW;AAChBD,MAAAA,KAAK,EAAE,IAAA;KACV;AACDhH,IAAAA,cAAc,EAAE;AACZ4G,MAAAA,GAAG,EAAEM,WAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACN7G,IAAAA,IAAI,EAAE,GAAG;AACTD,IAAAA,IAAI,EAAE,SAAA;AACV,GAAA;AACJ;;;;;;"}
@@ -16,8 +16,7 @@ var DisclosureRight = function DisclosureRight(props) {
16
16
  fillRule: "evenodd",
17
17
  clipRule: "evenodd",
18
18
  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",
19
- fill: "currentColor",
20
- fillOpacity: 0.56
19
+ fill: "currentColor"
21
20
  })));
22
21
  }
23
22
  return /*#__PURE__*/React.createElement("svg", _rollupPluginBabelHelpers.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 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,iCAAA,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,iCAAA,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;;;;"}
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,iCAAA,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,iCAAA,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;;;;"}