@salutejs/plasma-new-hope 0.190.0-canary.1550.11795356464.0 → 0.190.0-canary.1552.11794692529.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (631) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +22 -21
  2. package/cjs/components/Cell/Cell.js +1 -3
  3. package/cjs/components/Cell/Cell.js.map +1 -1
  4. package/cjs/components/Cell/ui/CellTextbox/CellTextbox.js +1 -7
  5. package/cjs/components/Cell/ui/CellTextbox/CellTextbox.js.map +1 -1
  6. package/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +1 -4
  7. package/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js.map +1 -1
  8. package/cjs/components/Chip/Chip.js +1 -3
  9. package/cjs/components/Chip/Chip.js.map +1 -1
  10. package/cjs/components/Combobox/ComboboxNew/Combobox.css +24 -21
  11. package/cjs/components/Combobox/ComboboxNew/Combobox.js +32 -6
  12. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  13. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  14. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  15. package/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +4 -18
  16. package/cjs/components/Combobox/ComboboxNew/FloatingPopover.js.map +1 -1
  17. package/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  18. package/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
  19. package/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js.map +1 -1
  20. package/cjs/components/Combobox/ComboboxNew/ui/Form/Form.css +1 -0
  21. package/cjs/components/Combobox/ComboboxNew/ui/Form/Form.js +37 -0
  22. package/cjs/components/Combobox/ComboboxNew/ui/Form/Form.js.map +1 -0
  23. package/cjs/components/Combobox/ComboboxNew/ui/Form/Form.styles.js +15 -0
  24. package/cjs/components/Combobox/ComboboxNew/ui/Form/Form.styles.js.map +1 -0
  25. package/cjs/components/Combobox/ComboboxNew/ui/Form/Form.styles_22v2s5.css +1 -0
  26. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +24 -21
  27. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +24 -21
  28. package/cjs/components/DatePicker/RangeDate/RangeDate.css +22 -21
  29. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +22 -21
  30. package/cjs/components/DatePicker/SingleDate/SingleDate.css +22 -21
  31. package/cjs/components/Dropdown/FloatingPopover.js.map +1 -1
  32. package/cjs/components/Pagination/Pagination.css +37 -86
  33. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +37 -86
  34. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  35. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  36. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_1fesyfv.css +3 -0
  37. package/cjs/components/Range/Range.css +22 -21
  38. package/cjs/components/Select/Select.css +34 -83
  39. package/cjs/components/Select/Select.js +139 -179
  40. package/cjs/components/Select/Select.js.map +1 -1
  41. package/cjs/components/Select/Select.styles.js +50 -17
  42. package/cjs/components/Select/Select.styles.js.map +1 -1
  43. package/cjs/components/Select/Select.styles_768h42.css +5 -0
  44. package/cjs/components/Select/Select.tokens.js +78 -122
  45. package/cjs/components/Select/Select.tokens.js.map +1 -1
  46. package/cjs/components/Select/hooks/useKeyboardNavigation.js +72 -19
  47. package/cjs/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
  48. package/cjs/components/Select/hooks/usePathMaps.js +1 -4
  49. package/cjs/components/Select/hooks/usePathMaps.js.map +1 -1
  50. package/cjs/components/Select/reducers/focusedChipIndexReducer.js +39 -0
  51. package/cjs/components/Select/reducers/focusedChipIndexReducer.js.map +1 -0
  52. package/cjs/components/Select/ui/Inner/Inner.css +34 -83
  53. package/cjs/components/Select/ui/Inner/Inner.js +9 -9
  54. package/cjs/components/Select/ui/Inner/Inner.js.map +1 -1
  55. package/cjs/components/Select/ui/Inner/ui/Item/Item.css +34 -83
  56. package/cjs/components/Select/ui/Inner/ui/Item/Item.js +12 -20
  57. package/cjs/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  58. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +51 -34
  59. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  60. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles_8oe5oy.css +9 -0
  61. package/cjs/components/Select/ui/Target/Target.css +17 -58
  62. package/cjs/components/Select/ui/Target/Target.js +16 -34
  63. package/cjs/components/Select/ui/Target/Target.js.map +1 -1
  64. package/cjs/components/Select/ui/Target/ui/Button/Button.css +5 -5
  65. package/cjs/components/Select/ui/Target/ui/Button/Button.js +14 -10
  66. package/cjs/components/Select/ui/Target/ui/Button/Button.js.map +1 -1
  67. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +1 -1
  68. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  69. package/cjs/components/Select/ui/Target/ui/Button/Button.styles_lxxm4p.css +5 -0
  70. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +38 -53
  71. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +97 -84
  72. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  73. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +103 -38
  74. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  75. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_1damf5p.css +12 -0
  76. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.css +21 -0
  77. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +36 -0
  78. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js.map +1 -0
  79. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +22 -0
  80. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -0
  81. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles_1a752pa.css +1 -0
  82. package/cjs/components/Select/utils/getView.js +2 -2
  83. package/cjs/components/Select/utils/getView.js.map +1 -1
  84. package/cjs/components/Select/variations/_size/base.js +9 -0
  85. package/cjs/components/Select/variations/_size/base.js.map +1 -0
  86. package/cjs/components/Select/variations/_size/base_x642ct.css +1 -0
  87. package/cjs/components/Select/variations/_view/base.js +9 -0
  88. package/cjs/components/Select/variations/_view/base.js.map +1 -0
  89. package/cjs/components/Select/variations/_view/base_x642ct.css +1 -0
  90. package/cjs/components/Slider/Slider.css +22 -21
  91. package/cjs/components/Slider/components/Double/Double.css +22 -21
  92. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +22 -21
  93. package/cjs/components/TextField/TextField.js +0 -7
  94. package/cjs/components/TextField/TextField.js.map +1 -1
  95. package/cjs/components/TextField/TextField.styles.js +22 -14
  96. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  97. package/{es/components/TextField/TextField.styles_j7dqpn.css → cjs/components/TextField/TextField.styles_grgg7q.css} +7 -6
  98. package/cjs/components/TextField/ui/Hint/Hint.css +21 -20
  99. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
  100. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  101. package/cjs/components/TextField/variations/_clear/base.js +1 -1
  102. package/cjs/components/TextField/variations/_clear/{base_1396md2.css → base_1i91sjp.css} +1 -1
  103. package/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  104. package/cjs/components/TextField/variations/_label-placement/base_3domm.css +1 -0
  105. package/cjs/components/TextField/variations/_read-only/base.js +1 -1
  106. package/cjs/components/TextField/variations/_read-only/{base_1jvcf9a.css → base_17ypmu7.css} +1 -1
  107. package/cjs/components/TextField/variations/_size/base.js +1 -1
  108. package/cjs/components/TextField/variations/_size/{base_1tei47x.css → base_1xdmaqh.css} +1 -1
  109. package/cjs/components/TextField/variations/_view/base.js +1 -1
  110. package/cjs/components/TextField/variations/_view/{base_8ogww5.css → base_qhyte8.css} +1 -1
  111. package/cjs/index.css +63 -46
  112. package/cjs/index.js +0 -2
  113. package/cjs/index.js.map +1 -1
  114. package/cjs/utils/index.js.map +1 -1
  115. package/cjs/utils/syntheticEvent.js +55 -0
  116. package/cjs/utils/syntheticEvent.js.map +1 -0
  117. package/emotion/cjs/components/Cell/Cell.js +1 -3
  118. package/emotion/cjs/components/Cell/ui/CellTextbox/CellTextbox.js +1 -7
  119. package/emotion/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +1 -4
  120. package/emotion/cjs/components/Chip/Chip.js +1 -3
  121. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +33 -7
  122. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  123. package/emotion/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +5 -19
  124. package/emotion/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
  125. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Form/Form.js +38 -0
  126. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Form/Form.styles.js +13 -0
  127. package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  128. package/emotion/cjs/components/Select/Select.js +136 -177
  129. package/emotion/cjs/components/Select/Select.styles.js +31 -13
  130. package/emotion/cjs/components/Select/Select.tokens.js +60 -125
  131. package/emotion/cjs/components/Select/hooks/useKeyboardNavigation.js +73 -19
  132. package/emotion/cjs/components/Select/hooks/usePathMaps.js +1 -4
  133. package/emotion/cjs/components/Select/reducers/focusedChipIndexReducer.js +38 -0
  134. package/emotion/cjs/components/Select/reducers/index.js +11 -0
  135. package/emotion/cjs/components/Select/ui/Inner/Inner.js +9 -9
  136. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.js +12 -19
  137. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +50 -27
  138. package/emotion/cjs/components/Select/ui/Target/Target.js +18 -38
  139. package/emotion/cjs/components/Select/ui/Target/ui/Button/Button.js +16 -13
  140. package/emotion/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +6 -6
  141. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +99 -88
  142. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +74 -27
  143. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +37 -0
  144. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +22 -0
  145. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/index.js +16 -0
  146. package/emotion/cjs/components/Select/utils/getView.js +2 -2
  147. package/emotion/cjs/components/Select/utils/index.js +1 -22
  148. package/emotion/cjs/components/Select/variations/_size/base.js +8 -0
  149. package/emotion/cjs/components/Select/variations/_size/tokens.json +9 -0
  150. package/emotion/cjs/components/Select/variations/_view/base.js +8 -0
  151. package/emotion/cjs/components/Select/variations/_view/tokens.json +1 -0
  152. package/emotion/cjs/components/TextField/TextField.js +1 -8
  153. package/emotion/cjs/components/TextField/TextField.styles.js +40 -36
  154. package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
  155. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  156. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
  157. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.config.js +20 -28
  158. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +40 -47
  159. package/emotion/cjs/examples/plasma_web/components/Select/Select.config.js +20 -28
  160. package/emotion/cjs/examples/plasma_web/components/Select/Select.stories.tsx +40 -47
  161. package/emotion/cjs/index.js +0 -11
  162. package/emotion/cjs/utils/index.js +1 -9
  163. package/emotion/cjs/utils/syntheticEvent.js +53 -0
  164. package/emotion/es/components/Cell/Cell.js +1 -3
  165. package/emotion/es/components/Cell/ui/CellTextbox/CellTextbox.js +1 -7
  166. package/emotion/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +1 -4
  167. package/emotion/es/components/Chip/Chip.js +1 -3
  168. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +34 -7
  169. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  170. package/emotion/es/components/Combobox/ComboboxNew/FloatingPopover.js +4 -18
  171. package/emotion/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
  172. package/emotion/es/components/Combobox/ComboboxNew/ui/Form/Form.js +29 -0
  173. package/emotion/es/components/Combobox/ComboboxNew/ui/Form/Form.styles.js +6 -0
  174. package/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  175. package/emotion/es/components/Select/Select.js +141 -182
  176. package/emotion/es/components/Select/Select.styles.js +30 -12
  177. package/emotion/es/components/Select/Select.tokens.js +60 -125
  178. package/emotion/es/components/Select/hooks/useKeyboardNavigation.js +72 -18
  179. package/emotion/es/components/Select/hooks/usePathMaps.js +1 -4
  180. package/emotion/es/components/Select/reducers/focusedChipIndexReducer.js +32 -0
  181. package/emotion/es/components/Select/reducers/index.js +2 -1
  182. package/emotion/es/components/Select/ui/Inner/Inner.js +10 -10
  183. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.js +15 -22
  184. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.styles.js +49 -26
  185. package/emotion/es/components/Select/ui/Target/Target.js +17 -35
  186. package/emotion/es/components/Select/ui/Target/ui/Button/Button.js +16 -11
  187. package/emotion/es/components/Select/ui/Target/ui/Button/Button.styles.js +6 -6
  188. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +99 -86
  189. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +74 -27
  190. package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +28 -0
  191. package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +15 -0
  192. package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/index.js +1 -0
  193. package/emotion/es/components/Select/utils/getView.js +2 -2
  194. package/emotion/es/components/Select/utils/index.js +1 -4
  195. package/emotion/es/components/Select/variations/_size/base.js +2 -0
  196. package/emotion/es/components/Select/variations/_size/tokens.json +9 -0
  197. package/emotion/es/components/Select/variations/_view/base.js +2 -0
  198. package/emotion/es/components/Select/variations/_view/tokens.json +1 -0
  199. package/emotion/es/components/TextField/TextField.js +1 -8
  200. package/emotion/es/components/TextField/TextField.styles.js +40 -36
  201. package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
  202. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  203. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
  204. package/emotion/es/examples/plasma_b2c/components/Select/Select.config.js +21 -29
  205. package/emotion/es/examples/plasma_b2c/components/Select/Select.stories.tsx +40 -47
  206. package/emotion/es/examples/plasma_web/components/Select/Select.config.js +21 -29
  207. package/emotion/es/examples/plasma_web/components/Select/Select.stories.tsx +40 -47
  208. package/emotion/es/index.js +0 -1
  209. package/emotion/es/utils/index.js +1 -2
  210. package/emotion/es/utils/syntheticEvent.js +47 -0
  211. package/es/components/Autocomplete/Autocomplete.css +22 -21
  212. package/es/components/Cell/Cell.js +1 -3
  213. package/es/components/Cell/Cell.js.map +1 -1
  214. package/es/components/Cell/ui/CellTextbox/CellTextbox.js +1 -7
  215. package/es/components/Cell/ui/CellTextbox/CellTextbox.js.map +1 -1
  216. package/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +1 -4
  217. package/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js.map +1 -1
  218. package/es/components/Chip/Chip.js +1 -3
  219. package/es/components/Chip/Chip.js.map +1 -1
  220. package/es/components/Combobox/ComboboxNew/Combobox.css +24 -21
  221. package/es/components/Combobox/ComboboxNew/Combobox.js +34 -8
  222. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  223. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  224. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  225. package/es/components/Combobox/ComboboxNew/FloatingPopover.js +4 -18
  226. package/es/components/Combobox/ComboboxNew/FloatingPopover.js.map +1 -1
  227. package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  228. package/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
  229. package/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js.map +1 -1
  230. package/es/components/Combobox/ComboboxNew/ui/Form/Form.css +1 -0
  231. package/es/components/Combobox/ComboboxNew/ui/Form/Form.js +33 -0
  232. package/es/components/Combobox/ComboboxNew/ui/Form/Form.js.map +1 -0
  233. package/es/components/Combobox/ComboboxNew/ui/Form/Form.styles.js +11 -0
  234. package/es/components/Combobox/ComboboxNew/ui/Form/Form.styles.js.map +1 -0
  235. package/es/components/Combobox/ComboboxNew/ui/Form/Form.styles_22v2s5.css +1 -0
  236. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +24 -21
  237. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +24 -21
  238. package/es/components/DatePicker/RangeDate/RangeDate.css +22 -21
  239. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +22 -21
  240. package/es/components/DatePicker/SingleDate/SingleDate.css +22 -21
  241. package/es/components/Dropdown/FloatingPopover.js.map +1 -1
  242. package/es/components/Pagination/Pagination.css +37 -86
  243. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +37 -86
  244. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  245. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  246. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_1fesyfv.css +3 -0
  247. package/es/components/Range/Range.css +22 -21
  248. package/es/components/Select/Select.css +34 -83
  249. package/es/components/Select/Select.js +142 -182
  250. package/es/components/Select/Select.js.map +1 -1
  251. package/es/components/Select/Select.styles.js +48 -18
  252. package/es/components/Select/Select.styles.js.map +1 -1
  253. package/es/components/Select/Select.styles_768h42.css +5 -0
  254. package/es/components/Select/Select.tokens.js +78 -123
  255. package/es/components/Select/Select.tokens.js.map +1 -1
  256. package/es/components/Select/hooks/useKeyboardNavigation.js +73 -19
  257. package/es/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
  258. package/es/components/Select/hooks/usePathMaps.js +1 -4
  259. package/es/components/Select/hooks/usePathMaps.js.map +1 -1
  260. package/es/components/Select/reducers/focusedChipIndexReducer.js +35 -0
  261. package/es/components/Select/reducers/focusedChipIndexReducer.js.map +1 -0
  262. package/es/components/Select/ui/Inner/Inner.css +34 -83
  263. package/es/components/Select/ui/Inner/Inner.js +10 -10
  264. package/es/components/Select/ui/Inner/Inner.js.map +1 -1
  265. package/es/components/Select/ui/Inner/ui/Item/Item.css +34 -83
  266. package/es/components/Select/ui/Inner/ui/Item/Item.js +14 -22
  267. package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  268. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +50 -33
  269. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  270. package/es/components/Select/ui/Inner/ui/Item/Item.styles_8oe5oy.css +9 -0
  271. package/es/components/Select/ui/Target/Target.css +17 -58
  272. package/es/components/Select/ui/Target/Target.js +17 -35
  273. package/es/components/Select/ui/Target/Target.js.map +1 -1
  274. package/es/components/Select/ui/Target/ui/Button/Button.css +5 -5
  275. package/es/components/Select/ui/Target/ui/Button/Button.js +15 -11
  276. package/es/components/Select/ui/Target/ui/Button/Button.js.map +1 -1
  277. package/es/components/Select/ui/Target/ui/Button/Button.styles.js +1 -1
  278. package/es/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  279. package/es/components/Select/ui/Target/ui/Button/Button.styles_lxxm4p.css +5 -0
  280. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +38 -53
  281. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +99 -86
  282. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  283. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +95 -39
  284. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  285. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles_1damf5p.css +12 -0
  286. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.css +21 -0
  287. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +32 -0
  288. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js.map +1 -0
  289. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +18 -0
  290. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -0
  291. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles_1a752pa.css +1 -0
  292. package/es/components/Select/utils/getView.js +2 -2
  293. package/es/components/Select/utils/getView.js.map +1 -1
  294. package/es/components/Select/variations/_size/base.js +5 -0
  295. package/es/components/Select/variations/_size/base.js.map +1 -0
  296. package/es/components/Select/variations/_size/base_x642ct.css +1 -0
  297. package/es/components/Select/variations/_view/base.js +5 -0
  298. package/es/components/Select/variations/_view/base.js.map +1 -0
  299. package/es/components/Select/variations/_view/base_x642ct.css +1 -0
  300. package/es/components/Slider/Slider.css +22 -21
  301. package/es/components/Slider/components/Double/Double.css +22 -21
  302. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +22 -21
  303. package/es/components/TextField/TextField.js +0 -7
  304. package/es/components/TextField/TextField.js.map +1 -1
  305. package/es/components/TextField/TextField.styles.js +22 -14
  306. package/es/components/TextField/TextField.styles.js.map +1 -1
  307. package/{cjs/components/TextField/TextField.styles_j7dqpn.css → es/components/TextField/TextField.styles_grgg7q.css} +7 -6
  308. package/es/components/TextField/ui/Hint/Hint.css +21 -20
  309. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
  310. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  311. package/es/components/TextField/variations/_clear/base.js +1 -1
  312. package/es/components/TextField/variations/_clear/{base_1396md2.css → base_1i91sjp.css} +1 -1
  313. package/es/components/TextField/variations/_label-placement/base.js +1 -1
  314. package/es/components/TextField/variations/_label-placement/base_3domm.css +1 -0
  315. package/es/components/TextField/variations/_read-only/base.js +1 -1
  316. package/es/components/TextField/variations/_read-only/{base_1jvcf9a.css → base_17ypmu7.css} +1 -1
  317. package/es/components/TextField/variations/_size/base.js +1 -1
  318. package/es/components/TextField/variations/_size/{base_1tei47x.css → base_1xdmaqh.css} +1 -1
  319. package/es/components/TextField/variations/_view/base.js +1 -1
  320. package/es/components/TextField/variations/_view/{base_8ogww5.css → base_qhyte8.css} +1 -1
  321. package/es/index.css +63 -46
  322. package/es/index.js +0 -1
  323. package/es/index.js.map +1 -1
  324. package/es/utils/index.js.map +1 -1
  325. package/es/utils/syntheticEvent.js +50 -0
  326. package/es/utils/syntheticEvent.js.map +1 -0
  327. package/package.json +2 -2
  328. package/styled-components/cjs/components/Cell/Cell.js +1 -3
  329. package/styled-components/cjs/components/Cell/ui/CellTextbox/CellTextbox.js +1 -7
  330. package/styled-components/cjs/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +1 -4
  331. package/styled-components/cjs/components/Chip/Chip.js +1 -3
  332. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +33 -7
  333. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  334. package/styled-components/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +5 -19
  335. package/styled-components/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
  336. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Form/Form.js +38 -0
  337. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Form/Form.styles.js +12 -0
  338. package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  339. package/styled-components/cjs/components/Select/Select.js +136 -177
  340. package/styled-components/cjs/components/Select/Select.styles.js +27 -12
  341. package/styled-components/cjs/components/Select/Select.tokens.js +60 -125
  342. package/styled-components/cjs/components/Select/hooks/useKeyboardNavigation.js +73 -19
  343. package/styled-components/cjs/components/Select/hooks/usePathMaps.js +1 -4
  344. package/styled-components/cjs/components/Select/reducers/focusedChipIndexReducer.js +38 -0
  345. package/styled-components/cjs/components/Select/reducers/index.js +11 -0
  346. package/styled-components/cjs/components/Select/ui/Inner/Inner.js +9 -9
  347. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.js +12 -19
  348. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +26 -20
  349. package/styled-components/cjs/components/Select/ui/Target/Target.js +18 -38
  350. package/styled-components/cjs/components/Select/ui/Target/ui/Button/Button.js +16 -13
  351. package/styled-components/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +3 -3
  352. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +99 -88
  353. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +61 -23
  354. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +37 -0
  355. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +21 -0
  356. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/index.js +16 -0
  357. package/styled-components/cjs/components/Select/utils/getView.js +2 -2
  358. package/styled-components/cjs/components/Select/utils/index.js +1 -22
  359. package/styled-components/cjs/components/Select/variations/_size/base.js +8 -0
  360. package/styled-components/cjs/components/Select/variations/_size/tokens.json +9 -0
  361. package/styled-components/cjs/components/Select/variations/_view/base.js +8 -0
  362. package/styled-components/cjs/components/Select/variations/_view/tokens.json +1 -0
  363. package/styled-components/cjs/components/TextField/TextField.js +0 -7
  364. package/styled-components/cjs/components/TextField/TextField.styles.js +15 -12
  365. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
  366. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +1 -1
  367. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
  368. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +20 -28
  369. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +40 -47
  370. package/styled-components/cjs/examples/plasma_web/components/Select/Select.config.js +20 -28
  371. package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +40 -47
  372. package/styled-components/cjs/index.js +0 -11
  373. package/styled-components/cjs/utils/index.js +1 -9
  374. package/styled-components/cjs/utils/syntheticEvent.js +53 -0
  375. package/styled-components/es/components/Cell/Cell.js +1 -3
  376. package/styled-components/es/components/Cell/ui/CellTextbox/CellTextbox.js +1 -7
  377. package/styled-components/es/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.js +1 -4
  378. package/styled-components/es/components/Chip/Chip.js +1 -3
  379. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +34 -7
  380. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  381. package/styled-components/es/components/Combobox/ComboboxNew/FloatingPopover.js +4 -18
  382. package/styled-components/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
  383. package/styled-components/es/components/Combobox/ComboboxNew/ui/Form/Form.js +29 -0
  384. package/styled-components/es/components/Combobox/ComboboxNew/ui/Form/Form.styles.js +5 -0
  385. package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  386. package/styled-components/es/components/Select/Select.js +141 -182
  387. package/styled-components/es/components/Select/Select.styles.js +26 -11
  388. package/styled-components/es/components/Select/Select.tokens.js +60 -125
  389. package/styled-components/es/components/Select/hooks/useKeyboardNavigation.js +72 -18
  390. package/styled-components/es/components/Select/hooks/usePathMaps.js +1 -4
  391. package/styled-components/es/components/Select/reducers/focusedChipIndexReducer.js +32 -0
  392. package/styled-components/es/components/Select/reducers/index.js +2 -1
  393. package/styled-components/es/components/Select/ui/Inner/Inner.js +10 -10
  394. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.js +15 -22
  395. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.styles.js +25 -19
  396. package/styled-components/es/components/Select/ui/Target/Target.js +17 -35
  397. package/styled-components/es/components/Select/ui/Target/ui/Button/Button.js +16 -11
  398. package/styled-components/es/components/Select/ui/Target/ui/Button/Button.styles.js +3 -3
  399. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +99 -86
  400. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +61 -23
  401. package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +28 -0
  402. package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +14 -0
  403. package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/index.js +1 -0
  404. package/styled-components/es/components/Select/utils/getView.js +2 -2
  405. package/styled-components/es/components/Select/utils/index.js +1 -4
  406. package/styled-components/es/components/Select/variations/_size/base.js +2 -0
  407. package/styled-components/es/components/Select/variations/_size/tokens.json +9 -0
  408. package/styled-components/es/components/Select/variations/_view/base.js +2 -0
  409. package/styled-components/es/components/Select/variations/_view/tokens.json +1 -0
  410. package/styled-components/es/components/TextField/TextField.js +0 -7
  411. package/styled-components/es/components/TextField/TextField.styles.js +15 -12
  412. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
  413. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +1 -1
  414. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +1 -1
  415. package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +21 -29
  416. package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +40 -47
  417. package/styled-components/es/examples/plasma_web/components/Select/Select.config.js +21 -29
  418. package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +40 -47
  419. package/styled-components/es/index.js +0 -1
  420. package/styled-components/es/utils/index.js +1 -2
  421. package/styled-components/es/utils/syntheticEvent.js +47 -0
  422. package/types/components/Attach/ui/Button/Button.styles.d.ts +2 -2
  423. package/types/components/Attach/ui/IconButton/IconButton.styles.d.ts +4 -4
  424. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +16 -16
  425. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  426. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts +2 -2
  427. package/types/components/Cell/Cell.d.ts.map +1 -1
  428. package/types/components/Cell/ui/CellTextbox/CellTextbox.d.ts.map +1 -1
  429. package/types/components/Cell/ui/CellTextboxTitle/CellTextboxTitle.d.ts.map +1 -1
  430. package/types/components/Chip/Chip.d.ts.map +1 -1
  431. package/types/components/Combobox/ComboboxNew/Combobox.d.ts +2 -2
  432. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  433. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +1 -0
  434. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  435. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +25 -3
  436. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  437. package/types/components/Combobox/ComboboxNew/FloatingPopover.d.ts.map +1 -1
  438. package/types/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.d.ts +3 -1
  439. package/types/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.d.ts.map +1 -1
  440. package/types/components/Combobox/ComboboxNew/ui/Form/Form.d.ts +6 -0
  441. package/types/components/Combobox/ComboboxNew/ui/Form/Form.d.ts.map +1 -0
  442. package/types/components/Combobox/ComboboxNew/ui/Form/Form.styles.d.ts +3 -0
  443. package/types/components/Combobox/ComboboxNew/ui/Form/Form.styles.d.ts.map +1 -0
  444. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +16 -16
  445. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
  446. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +16 -16
  447. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  448. package/types/components/EmptyState/EmptyState.styles.d.ts +2 -2
  449. package/types/components/Notification/Notification.styles.d.ts +2 -2
  450. package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts +2 -2
  451. package/types/components/Pagination/Pagination.styles.d.ts +4 -4
  452. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +40 -40
  453. package/types/components/Panel/ui/PanelHeader/PanelHeader.styles.d.ts +2 -2
  454. package/types/components/Range/Range.styles.d.ts +16 -16
  455. package/types/components/Range/Range.styles.d.ts.map +1 -1
  456. package/types/components/Select/Select.d.ts +11 -5
  457. package/types/components/Select/Select.d.ts.map +1 -1
  458. package/types/components/Select/Select.styles.d.ts +9 -0
  459. package/types/components/Select/Select.styles.d.ts.map +1 -1
  460. package/types/components/Select/Select.tokens.d.ts +58 -121
  461. package/types/components/Select/Select.tokens.d.ts.map +1 -1
  462. package/types/components/Select/Select.types.d.ts +20 -41
  463. package/types/components/Select/Select.types.d.ts.map +1 -1
  464. package/types/components/Select/hooks/useKeyboardNavigation.d.ts +11 -5
  465. package/types/components/Select/hooks/useKeyboardNavigation.d.ts.map +1 -1
  466. package/types/components/Select/hooks/usePathMaps.d.ts +1 -2
  467. package/types/components/Select/hooks/usePathMaps.d.ts.map +1 -1
  468. package/types/components/Select/index.d.ts +1 -1
  469. package/types/components/Select/index.d.ts.map +1 -1
  470. package/types/components/Select/reducers/focusedChipIndexReducer.d.ts +11 -0
  471. package/types/components/Select/reducers/focusedChipIndexReducer.d.ts.map +1 -0
  472. package/types/components/Select/reducers/index.d.ts +1 -0
  473. package/types/components/Select/reducers/index.d.ts.map +1 -1
  474. package/types/components/Select/ui/Inner/Inner.d.ts.map +1 -1
  475. package/types/components/Select/ui/Inner/ui/Item/Item.d.ts.map +1 -1
  476. package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts +2 -32
  477. package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts.map +1 -1
  478. package/types/components/Select/ui/Inner/ui/Item/Item.types.d.ts +0 -9
  479. package/types/components/Select/ui/Inner/ui/Item/Item.types.d.ts.map +1 -1
  480. package/types/components/Select/ui/Target/Target.d.ts +2 -14
  481. package/types/components/Select/ui/Target/Target.d.ts.map +1 -1
  482. package/types/components/Select/ui/Target/Target.types.d.ts +9 -10
  483. package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
  484. package/types/components/Select/ui/Target/ui/Button/Button.d.ts +1 -1
  485. package/types/components/Select/ui/Target/ui/Button/Button.d.ts.map +1 -1
  486. package/types/components/Select/ui/Target/ui/Button/Button.styles.d.ts +2 -2
  487. package/types/components/Select/ui/Target/ui/Button/Button.types.d.ts +1 -1
  488. package/types/components/Select/ui/Target/ui/Button/Button.types.d.ts.map +1 -1
  489. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts +1 -1
  490. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
  491. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +60 -628
  492. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  493. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts +4 -1
  494. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts.map +1 -1
  495. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.d.ts +9 -0
  496. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.d.ts.map +1 -0
  497. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.d.ts +3 -0
  498. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.d.ts.map +1 -0
  499. package/types/components/Select/ui/Target/ui/Textfield/ui/index.d.ts +2 -0
  500. package/types/components/Select/ui/Target/ui/Textfield/ui/index.d.ts.map +1 -0
  501. package/types/components/Select/utils/getView.d.ts +1 -1
  502. package/types/components/Select/utils/getView.d.ts.map +1 -1
  503. package/types/components/Select/utils/index.d.ts +0 -3
  504. package/types/components/Select/utils/index.d.ts.map +1 -1
  505. package/types/components/Select/variations/_size/base.d.ts +2 -0
  506. package/types/components/Select/variations/_size/base.d.ts.map +1 -0
  507. package/types/components/Select/variations/_view/base.d.ts +2 -0
  508. package/types/components/Select/variations/_view/base.d.ts.map +1 -0
  509. package/types/components/Slider/components/Double/Double.styles.d.ts +16 -16
  510. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
  511. package/types/components/TextField/TextField.d.ts.map +1 -1
  512. package/types/components/TextField/TextField.styles.d.ts +3 -1
  513. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  514. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts +1 -3
  515. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts.map +1 -1
  516. package/types/components/Toast/Toast.styles.d.ts +2 -2
  517. package/types/components/Toast/utils.d.ts +2 -2
  518. package/types/examples/plasma_b2c/components/Attach/Attach.d.ts +8 -8
  519. package/types/examples/plasma_b2c/components/Button/Button.d.ts +2 -2
  520. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +1100 -140
  521. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
  522. package/types/examples/plasma_b2c/components/IconButton/IconButton.d.ts +2 -2
  523. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts +16 -16
  524. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts.map +1 -1
  525. package/types/examples/plasma_b2c/components/Radiobox/Radiobox.d.ts +1 -1
  526. package/types/examples/plasma_b2c/components/Radiobox/Radiobox.d.ts.map +1 -1
  527. package/types/examples/plasma_b2c/components/Select/Select.config.d.ts +7 -15
  528. package/types/examples/plasma_b2c/components/Select/Select.config.d.ts.map +1 -1
  529. package/types/examples/plasma_b2c/components/Select/Select.d.ts +46 -53
  530. package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
  531. package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts +16 -16
  532. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +16 -16
  533. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
  534. package/types/examples/plasma_web/components/Attach/Attach.d.ts +8 -8
  535. package/types/examples/plasma_web/components/Button/Button.d.ts +2 -2
  536. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +1100 -140
  537. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -1
  538. package/types/examples/plasma_web/components/IconButton/IconButton.d.ts +2 -2
  539. package/types/examples/plasma_web/components/Mask/Mask.d.ts +16 -16
  540. package/types/examples/plasma_web/components/Mask/Mask.d.ts.map +1 -1
  541. package/types/examples/plasma_web/components/Radiobox/Radiobox.d.ts +1 -1
  542. package/types/examples/plasma_web/components/Radiobox/Radiobox.d.ts.map +1 -1
  543. package/types/examples/plasma_web/components/Select/Select.config.d.ts +7 -15
  544. package/types/examples/plasma_web/components/Select/Select.config.d.ts.map +1 -1
  545. package/types/examples/plasma_web/components/Select/Select.d.ts +46 -53
  546. package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -1
  547. package/types/examples/plasma_web/components/TextArea/TextArea.d.ts +16 -16
  548. package/types/examples/plasma_web/components/TextField/TextField.d.ts +16 -16
  549. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
  550. package/types/index.d.ts +0 -1
  551. package/types/index.d.ts.map +1 -1
  552. package/types/types/index.d.ts +0 -2
  553. package/types/types/index.d.ts.map +1 -1
  554. package/types/utils/index.d.ts +0 -1
  555. package/types/utils/index.d.ts.map +1 -1
  556. package/types/utils/syntheticEvent.d.ts +4 -0
  557. package/types/utils/syntheticEvent.d.ts.map +1 -0
  558. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_10zfeps.css +0 -3
  559. package/cjs/components/Select/FloatingPopover.js +0 -87
  560. package/cjs/components/Select/FloatingPopover.js.map +0 -1
  561. package/cjs/components/Select/Select.styles_1p5c9p3.css +0 -2
  562. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles_1x4bzlm.css +0 -9
  563. package/cjs/components/Select/ui/Target/ui/Button/Button.styles_10g64me.css +0 -5
  564. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_lu1i4v.css +0 -3
  565. package/cjs/components/Select/utils/getFallbackPlacements.js +0 -15
  566. package/cjs/components/Select/utils/getFallbackPlacements.js.map +0 -1
  567. package/cjs/components/Select/utils/getItemId.js +0 -10
  568. package/cjs/components/Select/utils/getItemId.js.map +0 -1
  569. package/cjs/components/Select/utils/getPlacement.js +0 -13
  570. package/cjs/components/Select/utils/getPlacement.js.map +0 -1
  571. package/cjs/components/TextField/variations/_label-placement/base_gttvto.css +0 -1
  572. package/cjs/utils/fixedForwardRef.js +0 -12
  573. package/cjs/utils/fixedForwardRef.js.map +0 -1
  574. package/emotion/cjs/components/Select/FloatingPopover.js +0 -91
  575. package/emotion/cjs/components/Select/utils/getFallbackPlacements.js +0 -14
  576. package/emotion/cjs/components/Select/utils/getItemId.js +0 -9
  577. package/emotion/cjs/components/Select/utils/getPlacement.js +0 -12
  578. package/emotion/cjs/types/DistributiveOmit.js +0 -5
  579. package/emotion/cjs/types/DistributivePick.js +0 -5
  580. package/emotion/cjs/utils/fixedForwardRef.js +0 -11
  581. package/emotion/es/components/Select/FloatingPopover.js +0 -84
  582. package/emotion/es/components/Select/utils/getFallbackPlacements.js +0 -8
  583. package/emotion/es/components/Select/utils/getItemId.js +0 -3
  584. package/emotion/es/components/Select/utils/getPlacement.js +0 -6
  585. package/emotion/es/types/DistributiveOmit.js +0 -1
  586. package/emotion/es/types/DistributivePick.js +0 -1
  587. package/emotion/es/utils/fixedForwardRef.js +0 -4
  588. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_10zfeps.css +0 -3
  589. package/es/components/Select/FloatingPopover.js +0 -83
  590. package/es/components/Select/FloatingPopover.js.map +0 -1
  591. package/es/components/Select/Select.styles_1p5c9p3.css +0 -2
  592. package/es/components/Select/ui/Inner/ui/Item/Item.styles_1x4bzlm.css +0 -9
  593. package/es/components/Select/ui/Target/ui/Button/Button.styles_10g64me.css +0 -5
  594. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles_lu1i4v.css +0 -3
  595. package/es/components/Select/utils/getFallbackPlacements.js +0 -11
  596. package/es/components/Select/utils/getFallbackPlacements.js.map +0 -1
  597. package/es/components/Select/utils/getItemId.js +0 -6
  598. package/es/components/Select/utils/getItemId.js.map +0 -1
  599. package/es/components/Select/utils/getPlacement.js +0 -9
  600. package/es/components/Select/utils/getPlacement.js.map +0 -1
  601. package/es/components/TextField/variations/_label-placement/base_gttvto.css +0 -1
  602. package/es/utils/fixedForwardRef.js +0 -8
  603. package/es/utils/fixedForwardRef.js.map +0 -1
  604. package/styled-components/cjs/components/Select/FloatingPopover.js +0 -91
  605. package/styled-components/cjs/components/Select/utils/getFallbackPlacements.js +0 -14
  606. package/styled-components/cjs/components/Select/utils/getItemId.js +0 -9
  607. package/styled-components/cjs/components/Select/utils/getPlacement.js +0 -12
  608. package/styled-components/cjs/types/DistributiveOmit.js +0 -5
  609. package/styled-components/cjs/types/DistributivePick.js +0 -5
  610. package/styled-components/cjs/utils/fixedForwardRef.js +0 -11
  611. package/styled-components/es/components/Select/FloatingPopover.js +0 -84
  612. package/styled-components/es/components/Select/utils/getFallbackPlacements.js +0 -8
  613. package/styled-components/es/components/Select/utils/getItemId.js +0 -3
  614. package/styled-components/es/components/Select/utils/getPlacement.js +0 -6
  615. package/styled-components/es/types/DistributiveOmit.js +0 -1
  616. package/styled-components/es/types/DistributivePick.js +0 -1
  617. package/styled-components/es/utils/fixedForwardRef.js +0 -4
  618. package/types/components/Select/FloatingPopover.d.ts +0 -5
  619. package/types/components/Select/FloatingPopover.d.ts.map +0 -1
  620. package/types/components/Select/utils/getFallbackPlacements.d.ts +0 -4
  621. package/types/components/Select/utils/getFallbackPlacements.d.ts.map +0 -1
  622. package/types/components/Select/utils/getItemId.d.ts +0 -2
  623. package/types/components/Select/utils/getItemId.d.ts.map +0 -1
  624. package/types/components/Select/utils/getPlacement.d.ts +0 -4
  625. package/types/components/Select/utils/getPlacement.d.ts.map +0 -1
  626. package/types/types/DistributiveOmit.d.ts +0 -2
  627. package/types/types/DistributiveOmit.d.ts.map +0 -1
  628. package/types/types/DistributivePick.d.ts +0 -2
  629. package/types/types/DistributivePick.d.ts.map +0 -1
  630. package/types/utils/fixedForwardRef.d.ts +0 -3
  631. package/types/utils/fixedForwardRef.d.ts.map +0 -1
@@ -46,17 +46,17 @@
46
46
  .Item_styles_1kzr84z_wwurntn__034f7454{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;min-height:var(--plasma-combobox-item-height);margin:0;box-sizing:content-box;padding:var(--wwurntn-0);font-family:var(--plasma-combobox-font-family);font-size:var(--plasma-combobox-font-size);font-style:var(--plasma-combobox-font-style);font-weight:var(--plasma-combobox-font-weight);-webkit-letter-spacing:var(--plasma-combobox-font-letter-spacing);-moz-letter-spacing:var(--plasma-combobox-font-letter-spacing);-ms-letter-spacing:var(--plasma-combobox-font-letter-spacing);letter-spacing:var(--plasma-combobox-font-letter-spacing);line-height:var(--plasma-combobox-font-line-height);background-color:var(--plasma-colors-transparent);color:var(--text-primary);border-radius:var(--plasma-combobox-border-radius);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-right:2px solid transparent;border-left:2px solid transparent;background-clip:padding-box;position:relative;}.Item_styles_1kzr84z_wwurntn__034f7454:hover:not(.Item_styles_1kzr84z_dropdownItemIsDisabled__034f7454){cursor:pointer;background-color:var(--plasma-combobox-item-background-hover);}.Item_styles_1kzr84z_wwurntn__034f7454.Item_styles_1kzr84z_dropdownItemIsActive__034f7454{background-color:var(--plasma-combobox-item-background-hover);}.Item_styles_1kzr84z_wwurntn__034f7454.Item_styles_1kzr84z_dropdownItemIsDisabled__034f7454{opacity:0.4;cursor:not-allowed;}.Item_styles_1kzr84z_wwurntn__034f7454:focus{outline:none;}.Item_styles_1kzr84z_wwurntn__034f7454::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;}.Item_styles_1kzr84z_wwurntn__034f7454.Item_styles_1kzr84z_dropdownItemIsFocused__034f7454:before{outline:none;box-shadow:0 0 0 0.0625rem var(--surface-accent);}
47
47
 
48
48
 
49
- .base_1tei47x_b13ve66i__79b65751 .base_1tei47x_i13qvwoy__79b65751{width:100%;font:inherit;-webkit-letter-spacing:inherit;-moz-letter-spacing:inherit;-ms-letter-spacing:inherit;letter-spacing:inherit;line-height:inherit;}.base_1tei47x_b13ve66i__79b65751 .base_1tei47x_i19ry60d__79b65751{width:100%;font-family:var(--plasma-textfield-font-family);font-size:var(--plasma-textfield-font-size);font-style:var(--plasma-textfield-font-style);font-weight:var(--plasma-textfield-font-weight);-webkit-letter-spacing:var(--plasma-textfield-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-letter-spacing);letter-spacing:var(--plasma-textfield-letter-spacing);line-height:var(--plasma-textfield-line-height);}.base_1tei47x_b13ve66i__79b65751 .base_1tei47x_i1j28rg8__79b65751{height:var(--plasma-textfield-height);border-radius:var(--plasma-textfield-border-radius);padding:var(--plasma-textfield-padding);}.base_1tei47x_b13ve66i__79b65751 .base_1tei47x_i1j28rg8__79b65751.base_1tei47x_hasChips__79b65751{padding-top:var(--plasma-textfield-padding-with-chips);padding-bottom:var(--plasma-textfield-padding-with-chips);}.base_1tei47x_b13ve66i__79b65751 .base_1tei47x_i1j28rg8__79b65751.base_1tei47x_hasEmptyContentLeft__79b65751{padding-left:var(--plasma-textfield-padding-with-chips);}.base_1tei47x_b13ve66i__79b65751 .base_1tei47x_i1j28rg8__79b65751.base_1tei47x_hasEmptyContentRight__79b65751{padding-right:var(--plasma-textfield-padding-with-chips);}.base_1tei47x_b13ve66i__79b65751 .base_1tei47x_l1gjsnfi__79b65751,.base_1tei47x_b13ve66i__79b65751:not(.base_1tei47x_labelPlacementInner__79b65751) .base_1tei47x_s14qvple__79b65751{font-family:var(--plasma-textfield__label-font-family);font-size:var(--plasma-textfield__label-font-size);font-style:var(--plasma-textfield__label-font-style);font-weight:var(--plasma-textfield__label-font-weight);-webkit-letter-spacing:var(--plasma-textfield__label-letter-spacing);-moz-letter-spacing:var(--plasma-textfield__label-letter-spacing);-ms-letter-spacing:var(--plasma-textfield__label-letter-spacing);letter-spacing:var(--plasma-textfield__label-letter-spacing);line-height:var(--plasma-textfield__label-line-height);}.base_1tei47x_b13ve66i__79b65751 .base_1tei47x_s16itze4__79b65751{margin:var(--plasma-textfield__hint-margin);width:var(--plasma-textfield__hint-target-size);height:var(--plasma-textfield__hint-target-size);}.base_1tei47x_b13ve66i__79b65751 .base_1tei47x_h1skqnhr__79b65751{width:var(--plasma-textfield__hint-target-size);height:var(--plasma-textfield__hint-target-size);}.base_1tei47x_b13ve66i__79b65751 .base_1tei47x_t600610__79b65751{font-family:var(--plasma-textfield__title-caption-font-family);font-size:var(--plasma-textfield__title-caption-font-size);font-style:var(--plasma-textfield__title-caption-font-style);font-weight:var(--plasma-textfield__title-caption-font-weight);-webkit-letter-spacing:var(--plasma-textfield__title-caption-letter-spacing);-moz-letter-spacing:var(--plasma-textfield__title-caption-letter-spacing);-ms-letter-spacing:var(--plasma-textfield__title-caption-letter-spacing);letter-spacing:var(--plasma-textfield__title-caption-letter-spacing);line-height:var(--plasma-textfield__title-caption-line-height);}.base_1tei47x_b13ve66i__79b65751 .base_1tei47x_lb3k3v1__79b65751{margin-top:var(--plasma-textfield__left-helper-offset);font-family:var(--plasma-textfield__left-helper-font-family);font-size:var(--plasma-textfield__left-helper-font-size);font-style:var(--plasma-textfield__left-helper-font-style);font-weight:var(--plasma-textfield__left-helper-font-weight);-webkit-letter-spacing:var(--plasma-textfield__left-helper-letter-spacing);-moz-letter-spacing:var(--plasma-textfield__left-helper-letter-spacing);-ms-letter-spacing:var(--plasma-textfield__left-helper-letter-spacing);letter-spacing:var(--plasma-textfield__left-helper-letter-spacing);line-height:var(--plasma-textfield__left-helper-line-height);}.base_1tei47x_b13ve66i__79b65751 .base_1tei47x_s7hnwwb__79b65751,.base_1tei47x_b13ve66i__79b65751 .base_1tei47x_smqgwd8__79b65751{font-family:var(--plasma-textfield-font-family);font-size:var(--plasma-textfield-font-size);font-style:var(--plasma-textfield-font-style);font-weight:var(--plasma-textfield-font-weight);-webkit-letter-spacing:var(--plasma-textfield-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-letter-spacing);letter-spacing:var(--plasma-textfield-letter-spacing);line-height:var(--plasma-textfield-line-height);}.base_1tei47x_b13ve66i__79b65751 .base_1tei47x_s7hnwwb__79b65751{margin:var(--plasma-textfield__before-text-margin);}.base_1tei47x_b13ve66i__79b65751 .base_1tei47x_smqgwd8__79b65751{margin:var(--plasma-textfield__after-text-margin);}
49
+ .base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_i13qvwoy__5f4dd9b9{width:100%;font:inherit;-webkit-letter-spacing:inherit;-moz-letter-spacing:inherit;-ms-letter-spacing:inherit;letter-spacing:inherit;line-height:inherit;}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_i19ry60d__5f4dd9b9{width:100%;font-family:var(--plasma-textfield-font-family);font-size:var(--plasma-textfield-font-size);font-style:var(--plasma-textfield-font-style);font-weight:var(--plasma-textfield-font-weight);-webkit-letter-spacing:var(--plasma-textfield-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-letter-spacing);letter-spacing:var(--plasma-textfield-letter-spacing);line-height:var(--plasma-textfield-line-height);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_i1j28rg8__5f4dd9b9{height:var(--plasma-textfield-height);border-radius:var(--plasma-textfield-border-radius);padding:var(--plasma-textfield-padding);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_i1j28rg8__5f4dd9b9.base_1xdmaqh_hasChips__5f4dd9b9{padding-top:var(--plasma-textfield-padding-with-chips);padding-bottom:var(--plasma-textfield-padding-with-chips);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_i1j28rg8__5f4dd9b9.base_1xdmaqh_hasEmptyContentLeft__5f4dd9b9{padding-left:var(--plasma-textfield-padding-with-chips);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_i1j28rg8__5f4dd9b9.base_1xdmaqh_hasEmptyContentRight__5f4dd9b9{padding-right:var(--plasma-textfield-padding-with-chips);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_l1gjsnfi__5f4dd9b9,.base_1xdmaqh_b13ve66i__5f4dd9b9:not(.base_1xdmaqh_labelPlacementInner__5f4dd9b9) .base_1xdmaqh_s16itze4__5f4dd9b9{font-family:var(--plasma-textfield__label-font-family);font-size:var(--plasma-textfield__label-font-size);font-style:var(--plasma-textfield__label-font-style);font-weight:var(--plasma-textfield__label-font-weight);-webkit-letter-spacing:var(--plasma-textfield__label-letter-spacing);-moz-letter-spacing:var(--plasma-textfield__label-letter-spacing);-ms-letter-spacing:var(--plasma-textfield__label-letter-spacing);letter-spacing:var(--plasma-textfield__label-letter-spacing);line-height:var(--plasma-textfield__label-line-height);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_s1skqnhr__5f4dd9b9{margin:var(--plasma-textfield__hint-margin);width:var(--plasma-textfield__hint-target-size);height:var(--plasma-textfield__hint-target-size);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_hgy0im1__5f4dd9b9{width:var(--plasma-textfield__hint-target-size);height:var(--plasma-textfield__hint-target-size);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_t600610__5f4dd9b9{font-family:var(--plasma-textfield__title-caption-font-family);font-size:var(--plasma-textfield__title-caption-font-size);font-style:var(--plasma-textfield__title-caption-font-style);font-weight:var(--plasma-textfield__title-caption-font-weight);-webkit-letter-spacing:var(--plasma-textfield__title-caption-letter-spacing);-moz-letter-spacing:var(--plasma-textfield__title-caption-letter-spacing);-ms-letter-spacing:var(--plasma-textfield__title-caption-letter-spacing);letter-spacing:var(--plasma-textfield__title-caption-letter-spacing);line-height:var(--plasma-textfield__title-caption-line-height);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_l7hnwwb__5f4dd9b9{margin-top:var(--plasma-textfield__left-helper-offset);font-family:var(--plasma-textfield__left-helper-font-family);font-size:var(--plasma-textfield__left-helper-font-size);font-style:var(--plasma-textfield__left-helper-font-style);font-weight:var(--plasma-textfield__left-helper-font-weight);-webkit-letter-spacing:var(--plasma-textfield__left-helper-letter-spacing);-moz-letter-spacing:var(--plasma-textfield__left-helper-letter-spacing);-ms-letter-spacing:var(--plasma-textfield__left-helper-letter-spacing);letter-spacing:var(--plasma-textfield__left-helper-letter-spacing);line-height:var(--plasma-textfield__left-helper-line-height);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_smqgwd8__5f4dd9b9,.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_s14qvple__5f4dd9b9{font-family:var(--plasma-textfield-font-family);font-size:var(--plasma-textfield-font-size);font-style:var(--plasma-textfield-font-style);font-weight:var(--plasma-textfield-font-weight);-webkit-letter-spacing:var(--plasma-textfield-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-letter-spacing);letter-spacing:var(--plasma-textfield-letter-spacing);line-height:var(--plasma-textfield-line-height);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_smqgwd8__5f4dd9b9{margin:var(--plasma-textfield__before-text-margin);}.base_1xdmaqh_b13ve66i__5f4dd9b9 .base_1xdmaqh_s14qvple__5f4dd9b9{margin:var(--plasma-textfield__after-text-margin);}
50
50
 
51
- .base_8ogww5_bptx5xt__e950e715 .base_8ogww5_i1j28rg8__e950e715{--plasma_private-textfield-border-color:var(--plasma-textfield-border-color);--plasma_private-textfield-bg-color:var(--plasma-textfield-bg-color);color:var(--plasma-textfield-color);background-color:var(--plasma_private-textfield-bg-color);box-shadow:inset 0 0 0 var(--plasma-textfield-border-width) var(--plasma_private-textfield-border-color);caret-color:var(--plasma-textfield__caret-color);-webkit-transition:background-color 0.1s ease-in,color 0.1s ease-in,box-shadow 0.1s ease-in;transition:background-color 0.1s ease-in,color 0.1s ease-in,box-shadow 0.1s ease-in;}.base_8ogww5_bptx5xt__e950e715 .base_8ogww5_i1j28rg8__e950e715:hover{--plasma_private-textfield-border-color:var(--plasma-textfield-border-color-hover,var(--plasma-textfield-border-color));--plasma_private-textfield-bg-color:var( --plasma-textfield-bg-color-hover, var(--plasma-textfield-bg-color) );}.base_8ogww5_bptx5xt__e950e715 .base_8ogww5_i13qvwoy__e950e715{color:var(--plasma-textfield-color);}.base_8ogww5_bptx5xt__e950e715 .base_8ogww5_ibt1ohz__e950e715{color:var(--plasma-textfield__placeholder-color);}.base_8ogww5_bptx5xt__e950e715 .base_8ogww5_i1j28rg8__e950e715:focus-within{--plasma_private-textfield-border-color:var(--plasma-textfield-border-color-focus,var(--plasma-textfield-border-color));--plasma_private-textfield-bg-color:var( --plasma-textfield-bg-color-focus, var(--plasma-textfield-bg-color) );}.base_8ogww5_bptx5xt__e950e715 .base_8ogww5_i1j28rg8__e950e715:focus-within .base_8ogww5_ibt1ohz__e950e715{color:var(--plasma-textfield__placeholder-color-focus);}.base_8ogww5_bptx5xt__e950e715 .base_8ogww5_t600610__e950e715{color:var(--plasma-textfield__title-caption-color);}.base_8ogww5_bptx5xt__e950e715 .base_8ogww5_lb3k3v1__e950e715{color:var(--plasma-textfield__left-helper-color);}.base_8ogww5_bptx5xt__e950e715 .base_8ogww5_s7hnwwb__e950e715{color:var(--plasma-textfield__before-text-color);}.base_8ogww5_bptx5xt__e950e715 .base_8ogww5_smqgwd8__e950e715{color:var(--plasma-textfield__after-text-color);}
51
+ .base_qhyte8_bptx5xt__55992f65 .base_qhyte8_i1j28rg8__55992f65{--plasma_private-textfield-border-color:var(--plasma-textfield-border-color);--plasma_private-textfield-bg-color:var(--plasma-textfield-bg-color);color:var(--plasma-textfield-color);background-color:var(--plasma_private-textfield-bg-color);box-shadow:inset 0 0 0 var(--plasma-textfield-border-width) var(--plasma_private-textfield-border-color);caret-color:var(--plasma-textfield__caret-color);-webkit-transition:background-color 0.1s ease-in,color 0.1s ease-in,box-shadow 0.1s ease-in;transition:background-color 0.1s ease-in,color 0.1s ease-in,box-shadow 0.1s ease-in;}.base_qhyte8_bptx5xt__55992f65 .base_qhyte8_i1j28rg8__55992f65:hover{--plasma_private-textfield-border-color:var(--plasma-textfield-border-color-hover,var(--plasma-textfield-border-color));--plasma_private-textfield-bg-color:var( --plasma-textfield-bg-color-hover, var(--plasma-textfield-bg-color) );}.base_qhyte8_bptx5xt__55992f65 .base_qhyte8_i13qvwoy__55992f65{color:var(--plasma-textfield-color);}.base_qhyte8_bptx5xt__55992f65 .base_qhyte8_ibt1ohz__55992f65{color:var(--plasma-textfield__placeholder-color);}.base_qhyte8_bptx5xt__55992f65 .base_qhyte8_i1j28rg8__55992f65:focus-within{--plasma_private-textfield-border-color:var(--plasma-textfield-border-color-focus,var(--plasma-textfield-border-color));--plasma_private-textfield-bg-color:var( --plasma-textfield-bg-color-focus, var(--plasma-textfield-bg-color) );}.base_qhyte8_bptx5xt__55992f65 .base_qhyte8_i1j28rg8__55992f65:focus-within .base_qhyte8_ibt1ohz__55992f65{color:var(--plasma-textfield__placeholder-color-focus);}.base_qhyte8_bptx5xt__55992f65 .base_qhyte8_t600610__55992f65{color:var(--plasma-textfield__title-caption-color);}.base_qhyte8_bptx5xt__55992f65 .base_qhyte8_l7hnwwb__55992f65{color:var(--plasma-textfield__left-helper-color);}.base_qhyte8_bptx5xt__55992f65 .base_qhyte8_smqgwd8__55992f65{color:var(--plasma-textfield__before-text-color);}.base_qhyte8_bptx5xt__55992f65 .base_qhyte8_s14qvple__55992f65{color:var(--plasma-textfield__after-text-color);}
52
52
 
53
- .base_1396md2_bg547ku__eb9300f7.base_1396md2_textfieldClear__eb9300f7[readonly] .base_1396md2_i1j28rg8__eb9300f7,.base_1396md2_bg547ku__eb9300f7.base_1396md2_textfieldClear__eb9300f7 .base_1396md2_i1j28rg8__eb9300f7{background-color:unset;box-shadow:none;border-radius:0;padding-left:0;padding-right:0;}.base_1396md2_bg547ku__eb9300f7.base_1396md2_textfieldClear__eb9300f7[readonly] .base_1396md2_i1j28rg8__eb9300f7:hover,.base_1396md2_bg547ku__eb9300f7.base_1396md2_textfieldClear__eb9300f7 .base_1396md2_i1j28rg8__eb9300f7:hover{background-color:unset;}.base_1396md2_bg547ku__eb9300f7.base_1396md2_textfieldClear__eb9300f7 .base_1396md2_ssv2kwg__eb9300f7{margin-left:0;}.base_1396md2_bg547ku__eb9300f7.base_1396md2_textfieldClear__eb9300f7 .base_1396md2_s190z894__eb9300f7{margin-right:0;}.base_1396md2_bg547ku__eb9300f7.base_1396md2_textfieldClear__eb9300f7.base_1396md2_labelPlacementOuter__eb9300f7 .base_1396md2_olv9av6__eb9300f7{margin-bottom:var(--plasma-textfield__clear-label-offset);}.base_1396md2_bg547ku__eb9300f7.base_1396md2_textfieldClear__eb9300f7 .base_1396md2_i13qvwoy__eb9300f7{color:var(--plasma-textfield-clear-color);}.base_1396md2_bg547ku__eb9300f7.base_1396md2_textfieldClear__eb9300f7 .base_1396md2_ibt1ohz__eb9300f7{color:var(--plasma-textfield__clear-placeholder-color);}.base_1396md2_bg547ku__eb9300f7.base_1396md2_textfieldClear__eb9300f7 .base_1396md2_s8yezh4__eb9300f7.base_1396md2_labelPlacementInner__eb9300f7{inset:var(--plasma-textfield__clear-indicator-placement-inner);}.base_1396md2_bg547ku__eb9300f7.base_1396md2_textfieldClear__eb9300f7 .base_1396md2_s8yezh4__eb9300f7.base_1396md2_labelPlacementInner__eb9300f7.base_1396md2_requiredAlignRight__eb9300f7{inset:var(--plasma-textfield__clear-indicator-placement-inner-right);}.base_1396md2_bg547ku__eb9300f7.base_1396md2_textfieldClear__eb9300f7.base_1396md2_textfieldHasHint__eb9300f7 .base_1396md2_s16itze4__eb9300f7.base_1396md2_labelPlacementInner__eb9300f7{inset:var(--plasma-textfield__clear-hint-inner-label-placement-offset);}.base_1396md2_bg547ku__eb9300f7.base_1396md2_textfieldClear__eb9300f7.base_1396md2_textfieldHasHint__eb9300f7 .base_1396md2_s8yezh4__eb9300f7.base_1396md2_labelPlacementInner__eb9300f7.base_1396md2_requiredAlignRight__eb9300f7{inset:var(--plasma-textfield__clear-indicator-hint-placement-inner-right);}.base_1396md2_bg547ku__eb9300f7.base_1396md2_textfieldClear__eb9300f7.base_1396md2_textfieldHasDivider__eb9300f7 .base_1396md2_i1j28rg8__eb9300f7{--plasma_private-textfield-divider-color:var(--plasma-textfield-divider-color);}.base_1396md2_bg547ku__eb9300f7.base_1396md2_textfieldClear__eb9300f7.base_1396md2_textfieldHasDivider__eb9300f7 .base_1396md2_i1j28rg8__eb9300f7:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textfield-divider-color);-webkit-transition:background-color 0.1s ease-in;transition:background-color 0.1s ease-in;}.base_1396md2_bg547ku__eb9300f7.base_1396md2_textfieldClear__eb9300f7.base_1396md2_textfieldHasDivider__eb9300f7:not([readonly]) .base_1396md2_i1j28rg8__eb9300f7:hover{--plasma_private-textfield-divider-color:var( --plasma-textfield-divider-color-hover, var(--plasma-textfield-divider-color) );}.base_1396md2_bg547ku__eb9300f7.base_1396md2_textfieldClear__eb9300f7.base_1396md2_textfieldHasDivider__eb9300f7:not([readonly]) .base_1396md2_i1j28rg8__eb9300f7:focus-within{--plasma_private-textfield-divider-color:var( --plasma-textfield-divider-color-focus, var(--plasma-textfield-divider-color) );}.base_1396md2_bg547ku__eb9300f7.base_1396md2_textfieldClear__eb9300f7.base_1396md2_textfieldHasDivider__eb9300f7:not([readonly]) .base_1396md2_i1j28rg8__eb9300f7:focus-within .base_1396md2_ibt1ohz__eb9300f7{color:var(--plasma-textfield__clear-placeholder-color-focus);}
53
+ .base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b[readonly] .base_1i91sjp_i1j28rg8__7642e26b,.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b .base_1i91sjp_i1j28rg8__7642e26b{background-color:unset;box-shadow:none;border-radius:0;padding-left:0;padding-right:0;}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b[readonly] .base_1i91sjp_i1j28rg8__7642e26b:hover,.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b .base_1i91sjp_i1j28rg8__7642e26b:hover{background-color:unset;}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b .base_1i91sjp_s190z894__7642e26b{margin-left:0;}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b .base_1i91sjp_sb3k3v1__7642e26b{margin-right:0;}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b.base_1i91sjp_labelPlacementOuter__7642e26b .base_1i91sjp_olv9av6__7642e26b{margin-bottom:var(--plasma-textfield__clear-label-offset);}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b .base_1i91sjp_i13qvwoy__7642e26b{color:var(--plasma-textfield-clear-color);}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b .base_1i91sjp_ibt1ohz__7642e26b{color:var(--plasma-textfield__clear-placeholder-color);}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b .base_1i91sjp_szsveq4__7642e26b.base_1i91sjp_labelPlacementInner__7642e26b{inset:var(--plasma-textfield__clear-indicator-placement-inner);}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b .base_1i91sjp_szsveq4__7642e26b.base_1i91sjp_labelPlacementInner__7642e26b.base_1i91sjp_requiredAlignRight__7642e26b{inset:var(--plasma-textfield__clear-indicator-placement-inner-right);}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b.base_1i91sjp_textfieldHasHint__7642e26b .base_1i91sjp_s1skqnhr__7642e26b.base_1i91sjp_labelPlacementInner__7642e26b{inset:var(--plasma-textfield__clear-hint-inner-label-placement-offset);}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b.base_1i91sjp_textfieldHasHint__7642e26b .base_1i91sjp_szsveq4__7642e26b.base_1i91sjp_labelPlacementInner__7642e26b.base_1i91sjp_requiredAlignRight__7642e26b{inset:var(--plasma-textfield__clear-indicator-hint-placement-inner-right);}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b.base_1i91sjp_textfieldHasDivider__7642e26b .base_1i91sjp_i1j28rg8__7642e26b{--plasma_private-textfield-divider-color:var(--plasma-textfield-divider-color);}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b.base_1i91sjp_textfieldHasDivider__7642e26b .base_1i91sjp_i1j28rg8__7642e26b:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textfield-divider-color);-webkit-transition:background-color 0.1s ease-in;transition:background-color 0.1s ease-in;}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b.base_1i91sjp_textfieldHasDivider__7642e26b:not([readonly]) .base_1i91sjp_i1j28rg8__7642e26b:hover{--plasma_private-textfield-divider-color:var( --plasma-textfield-divider-color-hover, var(--plasma-textfield-divider-color) );}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b.base_1i91sjp_textfieldHasDivider__7642e26b:not([readonly]) .base_1i91sjp_i1j28rg8__7642e26b:focus-within{--plasma_private-textfield-divider-color:var( --plasma-textfield-divider-color-focus, var(--plasma-textfield-divider-color) );}.base_1i91sjp_bg547ku__7642e26b.base_1i91sjp_textfieldClear__7642e26b.base_1i91sjp_textfieldHasDivider__7642e26b:not([readonly]) .base_1i91sjp_i1j28rg8__7642e26b:focus-within .base_1i91sjp_ibt1ohz__7642e26b{color:var(--plasma-textfield__clear-placeholder-color-focus);}
54
54
 
55
55
  .base_4d3opa_b15zsg4z__d935790a[disabled]{pointer-events:none;opacity:var(--plasma-textfield-disabled-opacity);cursor:not-allowed;}.base_4d3opa_b15zsg4z__d935790a[disabled] .base_4d3opa_i13qvwoy__d935790a{cursor:not-allowed;min-width:unset;}
56
56
 
57
- .base_1jvcf9a_b1w985rt__78f0baf3[readonly] .base_1jvcf9a_i1j28rg8__78f0baf3{color:var(--plasma-textfield-color-readonly);background-color:var(--plasma-textfield-bg-color-readonly);box-shadow:inset 0 0 0 var(--plasma-textfield-border-width) var(--plasma-textfield-border-color-readonly);}.base_1jvcf9a_b1w985rt__78f0baf3[readonly].base_1jvcf9a_textfieldHasDivider__78f0baf3 .base_1jvcf9a_i1j28rg8__78f0baf3:before{background-color:var(--plasma-textfield-divider-color-readonly);}.base_1jvcf9a_b1w985rt__78f0baf3[readonly] .base_1jvcf9a_i1j28rg8__78f0baf3:hover{background-color:var(--plasma-textfield-bg-color-readonly);}.base_1jvcf9a_b1w985rt__78f0baf3[readonly] .base_1jvcf9a_i1j28rg8__78f0baf3:focus-within .base_1jvcf9a_ibt1ohz__78f0baf3,.base_1jvcf9a_b1w985rt__78f0baf3[readonly] .base_1jvcf9a_ibt1ohz__78f0baf3{color:var(--plasma-textfield__placeholder-color-readonly);}.base_1jvcf9a_b1w985rt__78f0baf3[readonly] .base_1jvcf9a_i13qvwoy__78f0baf3{color:var(--plasma-textfield-color-readonly);cursor:default;min-width:unset;}.base_1jvcf9a_b1w985rt__78f0baf3[readonly] .base_1jvcf9a_t600610__78f0baf3{color:var(--plasma-textfield__title-caption-color-readonly);}.base_1jvcf9a_b1w985rt__78f0baf3[readonly] .base_1jvcf9a_lb3k3v1__78f0baf3{color:var(--plasma-textfield__left-helper-color-readonly);}.base_1jvcf9a_b1w985rt__78f0baf3[readonly].base_1jvcf9a_labelPlacementOuter__78f0baf3 .base_1jvcf9a_l1gjsnfi__78f0baf3{color:var(--plasma-textfield__label-color-readonly);}
57
+ .base_17ypmu7_b1w985rt__5cf81a55[readonly] .base_17ypmu7_i1j28rg8__5cf81a55{color:var(--plasma-textfield-color-readonly);background-color:var(--plasma-textfield-bg-color-readonly);box-shadow:inset 0 0 0 var(--plasma-textfield-border-width) var(--plasma-textfield-border-color-readonly);}.base_17ypmu7_b1w985rt__5cf81a55[readonly].base_17ypmu7_textfieldHasDivider__5cf81a55 .base_17ypmu7_i1j28rg8__5cf81a55:before{background-color:var(--plasma-textfield-divider-color-readonly);}.base_17ypmu7_b1w985rt__5cf81a55[readonly] .base_17ypmu7_i1j28rg8__5cf81a55:hover{background-color:var(--plasma-textfield-bg-color-readonly);}.base_17ypmu7_b1w985rt__5cf81a55[readonly] .base_17ypmu7_i1j28rg8__5cf81a55:focus-within .base_17ypmu7_ibt1ohz__5cf81a55,.base_17ypmu7_b1w985rt__5cf81a55[readonly] .base_17ypmu7_ibt1ohz__5cf81a55{color:var(--plasma-textfield__placeholder-color-readonly);}.base_17ypmu7_b1w985rt__5cf81a55[readonly] .base_17ypmu7_i13qvwoy__5cf81a55{color:var(--plasma-textfield-color-readonly);cursor:default;min-width:unset;}.base_17ypmu7_b1w985rt__5cf81a55[readonly] .base_17ypmu7_t600610__5cf81a55{color:var(--plasma-textfield__title-caption-color-readonly);}.base_17ypmu7_b1w985rt__5cf81a55[readonly] .base_17ypmu7_l7hnwwb__5cf81a55{color:var(--plasma-textfield__left-helper-color-readonly);}.base_17ypmu7_b1w985rt__5cf81a55[readonly].base_17ypmu7_labelPlacementOuter__5cf81a55 .base_17ypmu7_l1gjsnfi__5cf81a55{color:var(--plasma-textfield__label-color-readonly);}
58
58
 
59
- .base_gttvto_b15d3bnf__3b8edf79.base_gttvto_labelPlacementOuter__3b8edf79 .base_gttvto_l1gjsnfi__3b8edf79{position:relative;display:inline-block;color:var(--plasma-textfield__label-color);}.base_gttvto_b15d3bnf__3b8edf79.base_gttvto_labelPlacementInner__3b8edf79 .base_gttvto_i19ry60d__3b8edf79{padding:var(--plasma-textfield-placement_inner__content-padding);}.base_gttvto_b15d3bnf__3b8edf79.base_gttvto_labelPlacementInner__3b8edf79 .base_gttvto_smqgwd8__3b8edf79,.base_gttvto_b15d3bnf__3b8edf79.base_gttvto_labelPlacementInner__3b8edf79 .base_gttvto_s7hnwwb__3b8edf79{padding:var(--plasma-textfield-placement_inner__content-padding);}.base_gttvto_b15d3bnf__3b8edf79.base_gttvto_labelPlacementInner__3b8edf79 .base_gttvto_i13qvwoy__3b8edf79:focus ~ .base_gttvto_l1gjsnfi__3b8edf79,.base_gttvto_b15d3bnf__3b8edf79.base_gttvto_labelPlacementInner__3b8edf79 .base_gttvto_i13qvwoy__3b8edf79.base_gttvto_hasValue__3b8edf79 ~ .base_gttvto_l1gjsnfi__3b8edf79{color:var(--plasma-textfield__placeholder-color);-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;padding:var(--plasma-textfield-placement_inner__label-padding);font-family:var(--plasma-textfield-placement_inner__label-font-family);font-size:var(--plasma-textfield-placement_inner__label-font-size);font-style:var(--plasma-textfield-placement_inner__label-font-style);font-weight:var(--plasma-textfield-placement_inner__label-font-weight);-webkit-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);line-height:var(--plasma-textfield-placement_inner__label-line-height);}.base_gttvto_b15d3bnf__3b8edf79.base_gttvto_labelPlacementInner__3b8edf79 .base_gttvto_l1gjsnfi__3b8edf79{color:var(--plasma-textfield__placeholder-color);pointer-events:none;position:absolute;top:0;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;box-sizing:border-box;height:var(--plasma-textfield-height);padding-top:calc(calc(var(--plasma-textfield-height) - var(--plasma-textfield__label-line-height)) / 2);padding-bottom:calc(calc(var(--plasma-textfield-height) - var(--plasma-textfield__label-line-height)) / 2);}.base_gttvto_b15d3bnf__3b8edf79.base_gttvto_labelPlacementInner__3b8edf79.base_gttvto_textfieldClear__3b8edf79 .base_gttvto_l1gjsnfi__3b8edf79{color:var(--plasma-textfield__clear-placeholder-color);}
59
+ .base_3domm_b15d3bnf__caf0c2d1.base_3domm_labelPlacementOuter__caf0c2d1 .base_3domm_l1gjsnfi__caf0c2d1{position:relative;display:inline-block;color:var(--plasma-textfield__label-color);}.base_3domm_b15d3bnf__caf0c2d1.base_3domm_labelPlacementInner__caf0c2d1 .base_3domm_i19ry60d__caf0c2d1{padding:var(--plasma-textfield-placement_inner__content-padding);}.base_3domm_b15d3bnf__caf0c2d1.base_3domm_labelPlacementInner__caf0c2d1 .base_3domm_s14qvple__caf0c2d1,.base_3domm_b15d3bnf__caf0c2d1.base_3domm_labelPlacementInner__caf0c2d1 .base_3domm_smqgwd8__caf0c2d1{padding:var(--plasma-textfield-placement_inner__content-padding);}.base_3domm_b15d3bnf__caf0c2d1.base_3domm_labelPlacementInner__caf0c2d1 .base_3domm_i13qvwoy__caf0c2d1:focus ~ .base_3domm_l1gjsnfi__caf0c2d1,.base_3domm_b15d3bnf__caf0c2d1.base_3domm_labelPlacementInner__caf0c2d1 .base_3domm_i13qvwoy__caf0c2d1.base_3domm_hasValue__caf0c2d1 ~ .base_3domm_l1gjsnfi__caf0c2d1{color:var(--plasma-textfield__placeholder-color);-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;padding:var(--plasma-textfield-placement_inner__label-padding);font-family:var(--plasma-textfield-placement_inner__label-font-family);font-size:var(--plasma-textfield-placement_inner__label-font-size);font-style:var(--plasma-textfield-placement_inner__label-font-style);font-weight:var(--plasma-textfield-placement_inner__label-font-weight);-webkit-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);line-height:var(--plasma-textfield-placement_inner__label-line-height);}.base_3domm_b15d3bnf__caf0c2d1.base_3domm_labelPlacementInner__caf0c2d1 .base_3domm_l1gjsnfi__caf0c2d1{color:var(--plasma-textfield__placeholder-color);pointer-events:none;position:absolute;top:0;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;box-sizing:border-box;height:var(--plasma-textfield-height);padding-top:calc(calc(var(--plasma-textfield-height) - var(--plasma-textfield__label-line-height)) / 2);padding-bottom:calc(calc(var(--plasma-textfield-height) - var(--plasma-textfield__label-line-height)) / 2);}.base_3domm_b15d3bnf__caf0c2d1.base_3domm_labelPlacementInner__caf0c2d1.base_3domm_textfieldClear__caf0c2d1 .base_3domm_l1gjsnfi__caf0c2d1{color:var(--plasma-textfield__clear-placeholder-color);}
60
60
 
61
61
  .base_l8etux_bbsd6t5__82026c13 .base_l8etux_hq39zt5__82026c13{--plasma-tooltip-background-color:var(--plasma-textfield__tooltip-background-color);--plasma-tooltip-box-shadow:var(--plasma-textfield__tooltip-box-shadow);--plasma-tooltip-color:var(--plasma-textfield__tooltip-color);}
62
62
 
@@ -73,26 +73,27 @@
73
73
  .Tooltip_aay375_s1cz8cv8__390cdb21{--plasma-popover-arrow-mask-width:var(--plasma-tooltip-arrow-mask-width);--plasma-popover-arrow-mask-height:var(--plasma-tooltip-arrow-mask-height);--plasma-popover-arrow-mask-image:var(--plasma-tooltip-arrow-mask-image);--plasma-popover-arrow-background:var(--plasma-tooltip-arrow-background);--plasma-popover-arrow-height:var(--plasma-tooltip-arrow-height);--plasma-popover-arrow-edge-margin:var(--plasma-tooltip-arrow-edge-margin);}.Tooltip_aay375_s1cz8cv8__390cdb21.Tooltip_aay375_tooltipAnimated__390cdb21 .Tooltip_aay375_popoverRoot__390cdb21{-webkit-transition:opacity 200ms ease-in-out,visibility 200ms ease-in-out;transition:opacity 200ms ease-in-out,visibility 200ms ease-in-out;}
74
74
 
75
75
 
76
- .TextField_styles_j7dqpn_i1j28rg8__f79fd7d8{position:relative;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;box-sizing:border-box;}
77
- .TextField_styles_j7dqpn_i13zudoe__f79fd7d8{-webkit-flex:1;-ms-flex:1;flex:1;overflow:scroll;position:relative;width:100%;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-scrollbar-width:none;-moz-scrollbar-width:none;-ms-scrollbar-width:none;scrollbar-width:none;overscroll-behavior:contain;}.TextField_styles_j7dqpn_i13zudoe__f79fd7d8::-webkit-scrollbar{display:none;}.TextField_styles_j7dqpn_i13zudoe__f79fd7d8.TextField_styles_j7dqpn_hasChips__f79fd7d8{height:var(--plasma-textfield__chip-height);border-radius:var(--plasma-textfield__chip-border-radius);}
78
- .TextField_styles_j7dqpn_so4bpie__f79fd7d8{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:var(--plasma-textfield__chip-gap);margin-right:var(--plasma-textfield__chip-gap);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}
79
- .TextField_styles_j7dqpn_i13qvwoy__f79fd7d8{box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;padding:0;background-color:transparent;outline:none;width:100%;z-index:1;}.TextField_styles_j7dqpn_i13qvwoy__f79fd7d8::-webkit-input-placeholder{opacity:0;}.TextField_styles_j7dqpn_i13qvwoy__f79fd7d8::-moz-placeholder{opacity:0;}.TextField_styles_j7dqpn_i13qvwoy__f79fd7d8:-ms-input-placeholder{opacity:0;}.TextField_styles_j7dqpn_i13qvwoy__f79fd7d8::placeholder{opacity:0;}
80
- .TextField_styles_j7dqpn_i19ry60d__f79fd7d8{position:relative;-webkit-flex:1;-ms-flex:1;flex:1;min-width:60%;}
81
- .TextField_styles_j7dqpn_ibt1ohz__f79fd7d8{position:absolute;top:0;left:0;right:0;bottom:0;z-index:0;white-space:nowrap;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font:inherit;-webkit-letter-spacing:inherit;-moz-letter-spacing:inherit;-ms-letter-spacing:inherit;letter-spacing:inherit;line-height:inherit;color:var(--plasma-textfield__placeholder-color);}
82
- .TextField_styles_j7dqpn_olv9av6__f79fd7d8{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-bottom:var(--olv9av6-0);}
83
- .TextField_styles_j7dqpn_t600610__f79fd7d8{display:inline-block;margin-left:auto;}
84
- .TextField_styles_j7dqpn_suk2zst__f79fd7d8{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;}
85
- .TextField_styles_j7dqpn_l1gjsnfi__f79fd7d8{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
86
- .TextField_styles_j7dqpn_ssv2kwg__f79fd7d8{margin:var(--plasma-textfield__left-content-margin);color:var(--ssv2kwg-0);line-height:0;}
87
- .TextField_styles_j7dqpn_s190z894__f79fd7d8{line-height:0;margin:var(--plasma-textfield__right-content-margin);color:var(--plasma-textfield-content-right-slot-color,var(--plasma-textfield-content-slot-color));}.TextField_styles_j7dqpn_s190z894__f79fd7d8:hover{color:var(--plasma-textfield-content-right-slot-color-hover,var(--plasma-textfield-content-slot-color-hover));cursor:pointer;}.TextField_styles_j7dqpn_s190z894__f79fd7d8:active{color:var(--plasma-textfield-content-right-slot-color-active,var(--plasma-textfield-content-slot-color-active));}
76
+ .TextField_styles_grgg7q_i1j28rg8__04d4fe84{position:relative;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;box-sizing:border-box;}
77
+ .TextField_styles_grgg7q_i13zudoe__04d4fe84{-webkit-flex:1;-ms-flex:1;flex:1;overflow:scroll;position:relative;width:100%;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-scrollbar-width:none;-moz-scrollbar-width:none;-ms-scrollbar-width:none;scrollbar-width:none;overscroll-behavior:contain;}.TextField_styles_grgg7q_i13zudoe__04d4fe84::-webkit-scrollbar{display:none;}.TextField_styles_grgg7q_i13zudoe__04d4fe84.TextField_styles_grgg7q_hasChips__04d4fe84{height:var(--plasma-textfield__chip-height);border-radius:var(--plasma-textfield__chip-border-radius);}
78
+ .TextField_styles_grgg7q_so4bpie__04d4fe84{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:var(--plasma-textfield__chip-gap);margin-right:var(--plasma-textfield__chip-gap);-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;}
79
+ .TextField_styles_grgg7q_i13qvwoy__04d4fe84{box-sizing:border-box;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;padding:0;background-color:transparent;outline:none;width:100%;z-index:1;}.TextField_styles_grgg7q_i13qvwoy__04d4fe84::-webkit-input-placeholder{opacity:0;}.TextField_styles_grgg7q_i13qvwoy__04d4fe84::-moz-placeholder{opacity:0;}.TextField_styles_grgg7q_i13qvwoy__04d4fe84:-ms-input-placeholder{opacity:0;}.TextField_styles_grgg7q_i13qvwoy__04d4fe84::placeholder{opacity:0;}
80
+ .TextField_styles_grgg7q_i19ry60d__04d4fe84{position:relative;-webkit-flex:1;-ms-flex:1;flex:1;min-width:60%;}
81
+ .TextField_styles_grgg7q_ibt1ohz__04d4fe84{position:absolute;top:0;left:0;right:0;bottom:0;z-index:0;white-space:nowrap;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;font:inherit;-webkit-letter-spacing:inherit;-moz-letter-spacing:inherit;-ms-letter-spacing:inherit;letter-spacing:inherit;line-height:inherit;color:var(--plasma-textfield__placeholder-color);}
82
+ .TextField_styles_grgg7q_olv9av6__04d4fe84{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-bottom:var(--olv9av6-0);}
83
+ .TextField_styles_grgg7q_t600610__04d4fe84{display:inline-block;margin-left:auto;}
84
+ .TextField_styles_grgg7q_suk2zst__04d4fe84{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;}
85
+ .TextField_styles_grgg7q_l1gjsnfi__04d4fe84{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
86
+ .TextField_styles_grgg7q_ssv2kwg__04d4fe84{color:var(--ssv2kwg-0);line-height:0;}
87
+ .TextField_styles_grgg7q_s190z894__04d4fe84.TextField_styles_grgg7q_ssv2kwg__04d4fe84{margin:var(--plasma-textfield__left-content-margin);}
88
+ .TextField_styles_grgg7q_sb3k3v1__04d4fe84{line-height:0;margin:var(--plasma-textfield__right-content-margin);color:var(--plasma-textfield-content-right-slot-color,var(--plasma-textfield-content-slot-color));}.TextField_styles_grgg7q_sb3k3v1__04d4fe84:hover{color:var(--plasma-textfield-content-slot-color-hover);color:var(--plasma-textfield-content-right-slot-color-hover,var(--plasma-textfield-content-slot-color-hover));cursor:pointer;}.TextField_styles_grgg7q_sb3k3v1__04d4fe84:active{color:var(--plasma-textfield-content-right-slot-color-active,var(--plasma-textfield-content-slot-color-active));}
88
89
 
89
90
 
90
91
 
91
- .TextField_styles_j7dqpn_s14qvple__f79fd7d8{color:var(--plasma-textfield__optional-color);}
92
- .TextField_styles_j7dqpn_s16itze4__f79fd7d8{display:inline-block;line-height:0;}.TextField_styles_j7dqpn_s16itze4__f79fd7d8.TextField_styles_j7dqpn_labelPlacementInner__f79fd7d8{position:absolute;margin:0;inset:var(--plasma-textfield__hint-inner-label-placement-offset);}
93
- .TextField_styles_j7dqpn_h1skqnhr__f79fd7d8{color:var(--plasma-textfield__hint-icon-color);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}
92
+ .TextField_styles_grgg7q_s16itze4__04d4fe84{color:var(--plasma-textfield__optional-color);}
93
+ .TextField_styles_grgg7q_s1skqnhr__04d4fe84{display:inline-block;line-height:0;}.TextField_styles_grgg7q_s1skqnhr__04d4fe84.TextField_styles_grgg7q_labelPlacementInner__04d4fe84{position:absolute;margin:0;inset:var(--plasma-textfield__hint-inner-label-placement-offset);}
94
+ .TextField_styles_grgg7q_hgy0im1__04d4fe84{color:var(--plasma-textfield__hint-icon-color);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;}
94
95
 
95
- .TextField_styles_j7dqpn_s8yezh4__f79fd7d8{position:absolute;border-radius:50%;background-color:var(--plasma-textfield__indicator-color);}.TextField_styles_j7dqpn_s8yezh4__f79fd7d8.TextField_styles_j7dqpn_labelPlacementOuter__f79fd7d8{width:var(--plasma-textfield__indicator-size-outer);height:var(--plasma-textfield__indicator-size-outer);inset:var(--plasma-textfield__indicator-placement-outer);}.TextField_styles_j7dqpn_s8yezh4__f79fd7d8.TextField_styles_j7dqpn_labelPlacementOuter__f79fd7d8.TextField_styles_j7dqpn_requiredAlignRight__f79fd7d8{inset:var(--plasma-textfield__indicator-placement-outer-right);}.TextField_styles_j7dqpn_s8yezh4__f79fd7d8.TextField_styles_j7dqpn_labelPlacementOuter__f79fd7d8.TextField_styles_j7dqpn_requiredAlignRight__f79fd7d8.TextField_styles_j7dqpn_textfieldHasHint__f79fd7d8{right:calc(-1 * var(--plasma-textfield__indicator-size-outer));}.TextField_styles_j7dqpn_s8yezh4__f79fd7d8.TextField_styles_j7dqpn_labelPlacementInner__f79fd7d8{width:var(--plasma-textfield__indicator-size-inner);height:var(--plasma-textfield__indicator-size-inner);inset:var(--plasma-textfield__indicator-placement-inner);}.TextField_styles_j7dqpn_s8yezh4__f79fd7d8.TextField_styles_j7dqpn_labelPlacementInner__f79fd7d8.TextField_styles_j7dqpn_requiredAlignRight__f79fd7d8{inset:var(--plasma-textfield__indicator-placement-inner-right);}
96
+ .TextField_styles_grgg7q_szsveq4__04d4fe84{position:absolute;border-radius:50%;background-color:var(--plasma-textfield__indicator-color);}.TextField_styles_grgg7q_szsveq4__04d4fe84.TextField_styles_grgg7q_labelPlacementOuter__04d4fe84{width:var(--plasma-textfield__indicator-size-outer);height:var(--plasma-textfield__indicator-size-outer);inset:var(--plasma-textfield__indicator-placement-outer);}.TextField_styles_grgg7q_szsveq4__04d4fe84.TextField_styles_grgg7q_labelPlacementOuter__04d4fe84.TextField_styles_grgg7q_requiredAlignRight__04d4fe84{inset:var(--plasma-textfield__indicator-placement-outer-right);}.TextField_styles_grgg7q_szsveq4__04d4fe84.TextField_styles_grgg7q_labelPlacementOuter__04d4fe84.TextField_styles_grgg7q_requiredAlignRight__04d4fe84.TextField_styles_grgg7q_textfieldHasHint__04d4fe84{right:calc(-1 * var(--plasma-textfield__indicator-size-outer));}.TextField_styles_grgg7q_szsveq4__04d4fe84.TextField_styles_grgg7q_labelPlacementInner__04d4fe84{width:var(--plasma-textfield__indicator-size-inner);height:var(--plasma-textfield__indicator-size-inner);inset:var(--plasma-textfield__indicator-placement-inner);}.TextField_styles_grgg7q_szsveq4__04d4fe84.TextField_styles_grgg7q_labelPlacementInner__04d4fe84.TextField_styles_grgg7q_requiredAlignRight__04d4fe84{inset:var(--plasma-textfield__indicator-placement-inner-right);}
96
97
 
97
98
  .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);}
98
99
 
@@ -156,3 +157,5 @@
156
157
 
157
158
 
158
159
  .Combobox_styles_18a8p75_s11cn92k__ba048029{--plasma-emptystate-border-radius:var(--plasma-combobox-new-textfield-border-radius);--plasma-emptystate-padding:var(--plasma-combobox-new-empty-state-padding);--plasma-emptystate-font-family:var(--plasma-combobox-new-textfield-font-family);--plasma-emptystate-font-size:var(--plasma-combobox-new-textfield-font-size);--plasma-emptystate-font-style:var(--plasma-combobox-new-textfield-font-style);--plasma-emptystate-font-weight:var(--plasma-combobox-new-textfield-font-weight);--plasma-emptystate-font-letter-spacing:var(--plasma-combobox-new-textfield-letter-spacing);--plasma-emptystate-font-line-height:var(--plasma-combobox-new-textfield-line-height);}
160
+
161
+ .Form_styles_22v2s5_sngk5la__4621e773{visibility:hidden;width:0;height:0;opacity:0;margin:0;padding:0;border:none;}
@@ -1,5 +1,5 @@
1
- import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../../_virtual/_rollupPluginBabelHelpers.js';
2
- import React, { forwardRef, useMemo, useState, useRef, useReducer, useLayoutEffect, createContext } from 'react';
1
+ import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends, typeof as _typeof } from '../../../_virtual/_rollupPluginBabelHelpers.js';
2
+ import React, { forwardRef, useMemo, useState, useRef, useReducer, useLayoutEffect, useEffect, createContext } from 'react';
3
3
  import { useForkRef, safeUseId } from '@salutejs/plasma-core';
4
4
  import { classes } from './Combobox.tokens.js';
5
5
  import { FloatingPopover } from './FloatingPopover.js';
@@ -8,6 +8,7 @@ import { getTreeMaps, getPathMap } from './hooks/getPathMaps.js';
8
8
  import { IconArrowWrapper, StyledArrow, Ul, StyledEmptyState, base } from './Combobox.styles.js';
9
9
  import { base as base$1 } from './variations/_view/base.js';
10
10
  import { base as base$2 } from './variations/_size/base.js';
11
+ import { Form } from './ui/Form/Form.js';
11
12
  import { initialItemsTransform } from './utils/initialItemsTransform.js';
12
13
  import { getInitialValue } from './utils/getInitialValue.js';
13
14
  import { filterItems } from './utils/filterItems.js';
@@ -23,18 +24,21 @@ import { sizeToIconSize } from '../../Select/utils/sizeToIconSize.js';
23
24
  import { getItemId } from './utils/getItemId.js';
24
25
  import { Inner } from './ui/Inner/Inner.js';
25
26
 
26
- var _excluded = ["multiple", "value", "onChange", "isTargetAmount", "targetAmount", "items", "placement", "label", "placeholder", "helperText", "contentLeft", "textBefore", "textAfter", "variant", "listOverflow", "listHeight", "listWidth", "portal", "renderItem", "view", "size", "labelPlacement", "readOnly", "disabled", "alwaysOpened", "filter", "closeAfterSelect", "renderValue"];
27
+ var _excluded = ["name", "multiple", "value", "onChange", "defaultValue", "isTargetAmount", "targetAmount", "items", "placement", "label", "placeholder", "helperText", "contentLeft", "textBefore", "textAfter", "variant", "listOverflow", "listHeight", "listWidth", "portal", "renderItem", "view", "size", "labelPlacement", "readOnly", "disabled", "alwaysOpened", "filter", "closeAfterSelect", "renderValue"];
27
28
  var Context = /*#__PURE__*/createContext({});
28
29
 
29
30
  /**
30
31
  * Поле ввода с выпадающим списком и возможностью фильтрации и выбора элементов.
31
32
  */
33
+
32
34
  var comboboxRoot = function comboboxRoot(Root) {
33
35
  return /*#__PURE__*/forwardRef(function (props, ref) {
34
36
  var _valueToItemMap$get, _valueToItemMap$get2, _getItemByFocused;
35
- var multiple = props.multiple,
37
+ var name = props.name,
38
+ multiple = props.multiple,
36
39
  outerValue = props.value,
37
40
  outerOnChange = props.onChange,
41
+ defaultValue = props.defaultValue,
38
42
  isTargetAmount = props.isTargetAmount,
39
43
  targetAmount = props.targetAmount,
40
44
  items = props.items,
@@ -143,9 +147,19 @@ var comboboxRoot = function comboboxRoot(Root) {
143
147
  }, floatingPopoverRef);
144
148
  var onChange = function onChange(newValue) {
145
149
  if (outerOnChange) {
146
- outerOnChange(newValue);
150
+ if (!name && !multiple && typeof newValue === 'string') {
151
+ outerOnChange(newValue);
152
+ }
153
+ if (!name && multiple && Array.isArray(newValue)) {
154
+ outerOnChange(newValue);
155
+ }
156
+ if (name && _typeof(newValue) === 'object' && !Array.isArray(newValue)) {
157
+ outerOnChange(newValue);
158
+ }
159
+ }
160
+ if (typeof newValue === 'string' || Array.isArray(newValue)) {
161
+ setInternalValue(newValue);
147
162
  }
148
- setInternalValue(newValue);
149
163
  };
150
164
  var handleClickArrow = function handleClickArrow() {
151
165
  if (disabled || readOnly) {
@@ -302,6 +316,7 @@ var comboboxRoot = function comboboxRoot(Root) {
302
316
  focusedToValueMap: focusedToValueMap,
303
317
  handleListToggle: handleListToggle,
304
318
  handlePressDown: handlePressDown,
319
+ multiselect: multiple,
305
320
  setTextValue: setTextValue
306
321
  }),
307
322
  onKeyDown = _useKeyNavigation.onKeyDown;
@@ -333,13 +348,24 @@ var comboboxRoot = function comboboxRoot(Root) {
333
348
  // Т.к. вначале нужно отфильтровать и провалидировать outerValue и результат положить в переменную.
334
349
  // А переменную, содержащую сложные типы данных, нельзя помещать в deps.
335
350
  }, [outerValue, internalValue, items]);
351
+ useEffect(function () {
352
+ if (defaultValue) {
353
+ setInternalValue(defaultValue);
354
+ }
355
+ }, [defaultValue]);
336
356
  return /*#__PURE__*/React.createElement(Root, {
337
357
  size: size,
338
358
  view: view,
339
359
  labelPlacement: labelPlacement,
340
360
  disabled: disabled,
341
361
  readOnly: readOnly
342
- }, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Context.Provider, {
362
+ }, name && /*#__PURE__*/React.createElement(Form, {
363
+ name: name,
364
+ value: internalValue,
365
+ multiple: multiple,
366
+ onChange: onChange,
367
+ ref: ref
368
+ }), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Context.Provider, {
343
369
  value: {
344
370
  focusedPath: focusedPath,
345
371
  checked: checked,
@@ -363,7 +389,7 @@ var comboboxRoot = function comboboxRoot(Root) {
363
389
  listWidth: listWidth,
364
390
  target: function target(referenceRef) {
365
391
  return /*#__PURE__*/React.createElement(StyledTextField, _extends({
366
- ref: inputForkRef,
392
+ ref: name ? inputRef : inputForkRef,
367
393
  inputWrapperRef: referenceRef,
368
394
  value: textValue,
369
395
  onChange: handleTextValueChange,
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.js","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.tsx"],"sourcesContent":["import React, { forwardRef, useState, useReducer, useMemo, createContext, useLayoutEffect, useRef } from 'react';\nimport type { ChangeEvent } from 'react';\nimport { safeUseId, useForkRef } from '@salutejs/plasma-core';\n\nimport { RootProps } from '../../../engines';\nimport { isEmpty } from '../../../utils';\nimport { useOutsideClick } from '../../../hooks';\nimport { sizeToIconSize } from '../../Select/utils';\n\nimport { classes } from './Combobox.tokens';\nimport { FloatingPopover } from './FloatingPopover';\nimport { useKeyNavigation, getItemByFocused } from './hooks/useKeyboardNavigation';\nimport {\n initialItemsTransform,\n updateAncestors,\n updateDescendants,\n updateSingleAncestors,\n filterItems,\n getItemId,\n getInitialValue,\n} from './utils';\nimport { Inner, StyledTextField } from './ui';\nimport { pathReducer, focusedPathReducer } from './reducers';\nimport { getPathMap, getTreeMaps } from './hooks/getPathMaps';\nimport { Ul, base, StyledArrow, IconArrowWrapper, StyledEmptyState } from './Combobox.styles';\nimport type { ItemContext, ComboboxProps } from './Combobox.types';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport type { ItemOptionTransformed } from './ui/Inner/ui/Item/Item.types';\n\nexport const Context = createContext<ItemContext>({} as ItemContext);\n\n/**\n * Поле ввода с выпадающим списком и возможностью фильтрации и выбора элементов.\n */\nexport const comboboxRoot = (Root: RootProps<HTMLInputElement, Omit<ComboboxProps, 'items'>>) =>\n forwardRef<HTMLInputElement, ComboboxProps>((props, ref) => {\n const {\n multiple,\n value: outerValue,\n onChange: outerOnChange,\n isTargetAmount,\n targetAmount,\n items,\n placement = 'bottom-start',\n label,\n placeholder,\n helperText,\n contentLeft,\n textBefore,\n textAfter,\n variant = 'normal',\n listOverflow,\n listHeight,\n listWidth,\n portal,\n renderItem,\n view,\n size,\n labelPlacement,\n readOnly = false,\n disabled = false,\n alwaysOpened = false,\n filter,\n closeAfterSelect: outerCloseAfterSelect,\n renderValue,\n ...rest\n } = props;\n const transformedItems = useMemo(() => initialItemsTransform(items || []), [items]);\n\n // Создаем структуры для быстрой работы с деревом\n const [valueToCheckedMap, valueToItemMap, labelToItemMap] = useMemo(() => getTreeMaps(transformedItems), [\n items,\n ]);\n\n const [textValue, setTextValue] = useState(valueToItemMap.get(outerValue as string)?.label || '');\n const [internalValue, setInternalValue] = useState<string | string[]>(multiple ? [] : '');\n\n const value =\n outerValue !== null && outerValue !== undefined\n ? getInitialValue(outerValue, valueToItemMap)\n : internalValue;\n\n const inputRef = useRef<HTMLInputElement>(null);\n const floatingPopoverRef = useRef<HTMLDivElement>(null);\n const inputForkRef = useForkRef(inputRef, ref);\n const treeId = safeUseId();\n\n const filteredItems = filterItems(\n transformedItems,\n textValue,\n valueToItemMap.get(value as string)?.label as string,\n filter,\n );\n\n const [pathMap, focusedToValueMap] = useMemo(() => getPathMap(filteredItems), [filteredItems, textValue]);\n\n // Состояния дерева элементов\n const [path, dispatchPath] = useReducer(pathReducer, []);\n const [focusedPath, dispatchFocusedPath] = useReducer(focusedPathReducer, []);\n const [checked, setChecked] = useState(valueToCheckedMap);\n\n const isCurrentListOpen = alwaysOpened || Boolean(path[0]);\n const activeDescendantItemValue = getItemByFocused(focusedPath, focusedToValueMap)?.value || '';\n const withArrowInverse = isCurrentListOpen ? classes.arrowInverse : undefined;\n const closeAfterSelect = outerCloseAfterSelect ?? !multiple;\n\n // Логика работы при клике за пределами выпадающего списка\n const targetRef = useOutsideClick<HTMLUListElement>(() => {\n if (!isCurrentListOpen) {\n return;\n }\n\n dispatchPath({ type: 'reset' });\n dispatchFocusedPath({ type: 'reset' });\n\n // Проверяем, отличается ли значение в инпуте от выбранного value после закрытия дропдауна.\n // Если изменилось, то возвращаем label выбранного айтема.\n // Если нет выбранного элемента, то стираем значение инпута.\n if (textValue !== value) {\n if (isEmpty(value)) {\n setTextValue('');\n } else {\n setTextValue(valueToItemMap.get(value as string)?.label || '');\n }\n }\n }, floatingPopoverRef);\n\n const onChange = (newValue: string | Array<string>) => {\n if (outerOnChange) {\n outerOnChange(newValue as any);\n }\n\n setInternalValue(newValue);\n };\n\n const handleClickArrow = () => {\n if (disabled || readOnly) {\n return;\n }\n\n if (isCurrentListOpen) {\n dispatchPath({ type: 'reset' });\n } else {\n dispatchPath({ type: 'opened_first_level' });\n }\n\n dispatchFocusedPath({ type: 'reset' });\n };\n\n // Обработчик изменения значения в инпуте\n const handleTextValueChange = (e: ChangeEvent<HTMLInputElement>) => {\n setTextValue(e.target.value);\n dispatchPath({ type: 'opened_first_level' });\n dispatchFocusedPath({ type: 'reset' });\n };\n\n // Обработчик чипов\n const handleChipsChange = (chipLabels: any[]) => {\n onChange(chipLabels.map((chipLabel) => labelToItemMap.get(chipLabel)!.value));\n };\n\n // Обработчик открытия/закрытия выпадающего списка\n const handleListToggle = (opened: boolean) => {\n if (disabled || readOnly) {\n return;\n }\n\n if (opened) {\n dispatchPath({ type: 'opened_first_level' });\n } else {\n dispatchFocusedPath({ type: 'reset' });\n dispatchPath({ type: 'reset' });\n }\n };\n\n // Обработчик выбора чекбоксов (только при multiple)\n const handleCheckboxChange = (item: ItemOptionTransformed) => {\n if (!multiple) {\n return;\n }\n\n const checkedCopy = new Map(checked);\n\n if (!checkedCopy.get(item.value)) {\n checkedCopy.set(item.value, true);\n updateDescendants(item, checkedCopy, true);\n } else {\n checkedCopy.set(item.value, false);\n updateDescendants(item, checkedCopy, false);\n }\n\n updateAncestors(item, checkedCopy);\n\n const newValues: Array<string> = [];\n\n valueToItemMap.forEach((item, key) => {\n if (checkedCopy.get(key)) {\n newValues.push(item.value);\n }\n });\n\n if (!alwaysOpened && closeAfterSelect) {\n dispatchPath({ type: 'reset' });\n dispatchFocusedPath({ type: 'reset' });\n }\n\n if (onChange) {\n onChange(newValues);\n }\n\n // После выбора/снятия чекбокса скроллим к инпуту\n setTimeout(() => {\n if (inputRef.current) {\n inputRef.current.scrollIntoView({\n behavior: 'smooth',\n inline: 'start',\n });\n }\n }, 1);\n };\n\n // Обработчик клика по айтему выпадающего списка\n const handleItemClick = (item: ItemOptionTransformed, e?: React.MouseEvent<HTMLElement>) => {\n if (!isEmpty(item?.items)) {\n return;\n }\n\n if (multiple) {\n handleCheckboxChange(item);\n return;\n }\n\n if (e) {\n e.stopPropagation();\n }\n\n const isCurrentChecked = checked.get(item.value);\n\n if (!alwaysOpened && closeAfterSelect) {\n dispatchPath({ type: 'reset' });\n dispatchFocusedPath({ type: 'reset' });\n }\n\n if (onChange) {\n onChange(isCurrentChecked ? '' : item.value);\n }\n };\n\n const getChips = (): string[] => {\n if (multiple && Array.isArray(value)) {\n if (value.length === 0) return [];\n\n if (isTargetAmount) {\n return [`Выбрано ${targetAmount || value.length}`];\n }\n\n const renderValueMapper =\n renderValue && ((stringValue: string) => renderValue(valueToItemMap.get(stringValue)!));\n const valueToItemMapper = (stringValue: string) => valueToItemMap.get(stringValue)!.label;\n\n return value.map(renderValueMapper || valueToItemMapper);\n }\n\n return [];\n };\n\n const handlePressDown = (item: ItemOptionTransformed, e?: React.MouseEvent<HTMLElement>) => {\n if (isEmpty(item.items)) {\n handleItemClick(item, e);\n } else if (multiple) {\n handleCheckboxChange(item);\n }\n };\n\n const { onKeyDown } = useKeyNavigation({\n focusedPath,\n dispatchFocusedPath,\n path,\n dispatchPath,\n pathMap,\n focusedToValueMap,\n handleListToggle,\n handlePressDown,\n setTextValue,\n });\n\n // В данном эффекте мы следим за изменениями value снаружи и вносим коррективы в дерево чекбоксов.\n // Пример: когда юзер очистил value извне, тогда нужно пройтись по элементам и выключить все чекбоксы.\n useLayoutEffect(() => {\n const checkedCopy = new Map(checked);\n\n checkedCopy.forEach((_, key) => {\n checkedCopy.set(key, false);\n });\n\n if (!isEmpty(value)) {\n if (Array.isArray(value)) {\n value.forEach((val) => {\n checkedCopy.set(val, true);\n updateDescendants(valueToItemMap.get(val)!, checkedCopy, true);\n updateAncestors(valueToItemMap.get(val)!, checkedCopy);\n });\n } else {\n checkedCopy.set(value, 'done');\n updateSingleAncestors(valueToItemMap.get(value)!, checkedCopy, 'dot');\n }\n }\n\n setChecked(checkedCopy);\n\n setTextValue(valueToItemMap.get(value as string)?.label || '');\n\n // В deps мы кладем именно outerValue и internalValue, а не просто value.\n // Т.к. вначале нужно отфильтровать и провалидировать outerValue и результат положить в переменную.\n // А переменную, содержащую сложные типы данных, нельзя помещать в deps.\n }, [outerValue, internalValue, items]);\n\n return (\n <Root size={size} view={view} labelPlacement={labelPlacement} disabled={disabled} readOnly={readOnly}>\n <div>\n <Context.Provider\n value={{\n focusedPath,\n checked,\n multiple,\n size,\n handleCheckboxChange,\n handleItemClick,\n variant,\n renderItem,\n valueToItemMap,\n treeId,\n }}\n >\n <FloatingPopover\n ref={floatingPopoverRef}\n opened={isCurrentListOpen}\n onToggle={(opened: boolean) => opened && handleListToggle(true)}\n placement={placement}\n portal={portal}\n listWidth={listWidth}\n target={(referenceRef) => (\n <StyledTextField\n ref={inputForkRef}\n inputWrapperRef={referenceRef}\n value={textValue}\n onChange={handleTextValueChange}\n size={size}\n view={view}\n labelPlacement={labelPlacement}\n disabled={disabled}\n readOnly={readOnly}\n label={label}\n placeholder={placeholder}\n contentLeft={contentLeft}\n contentRight={\n <IconArrowWrapper disabled={disabled} onClick={handleClickArrow}>\n <StyledArrow\n color=\"inherit\"\n size={sizeToIconSize(size)}\n className={withArrowInverse}\n />\n </IconArrowWrapper>\n }\n textBefore={textBefore}\n textAfter={textAfter}\n onKeyDown={onKeyDown}\n leftHelper={helperText}\n role=\"combobox\"\n aria-autocomplete=\"list\"\n aria-controls={`${treeId}_tree_level_1`}\n aria-expanded={isCurrentListOpen}\n aria-activedescendant={\n activeDescendantItemValue ? getItemId(treeId, activeDescendantItemValue) : ''\n }\n {...(multiple\n ? {\n enumerationType: 'chip',\n chips: getChips(),\n onChangeChips: handleChipsChange,\n }\n : { enumerationType: 'plain' })}\n {...rest}\n onEnterDisabled // Пропс для отключения обработчика Enter внутри Textfield\n />\n )}\n >\n <Root\n size={size}\n view={view}\n labelPlacement={labelPlacement}\n disabled={disabled}\n readOnly={readOnly}\n >\n <Ul\n role=\"tree\"\n id={`${treeId}_tree_level_1`}\n aria-multiselectable={Boolean(multiple)}\n listHeight={listHeight}\n listOverflow={listOverflow}\n listWidth={listWidth}\n ref={targetRef}\n >\n {isEmpty(filteredItems) ? (\n <StyledEmptyState\n className={classes.emptyStateWrapper}\n size={size}\n description=\"Ничего не найдено\"\n />\n ) : (\n filteredItems.map((item, index) => (\n <Inner\n key={`${index}/0`}\n item={item}\n currentLevel={0}\n path={path}\n dispatchPath={dispatchPath}\n index={index}\n listWidth={listWidth}\n />\n ))\n )}\n </Ul>\n </Root>\n </FloatingPopover>\n </Context.Provider>\n </div>\n </Root>\n );\n });\n\nexport const comboboxConfig = {\n name: 'Select',\n tag: 'div',\n layout: comboboxRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n readOnly: {\n css: sizeCSS,\n },\n },\n defaults: {\n view: 'default',\n size: 'm',\n labelPlacement: 'outer',\n },\n};\n"],"names":["Context","createContext","comboboxRoot","Root","forwardRef","props","ref","_valueToItemMap$get","_valueToItemMap$get2","_getItemByFocused","multiple","outerValue","value","outerOnChange","onChange","isTargetAmount","targetAmount","items","_props$placement","placement","label","placeholder","helperText","contentLeft","textBefore","textAfter","_props$variant","variant","listOverflow","listHeight","listWidth","portal","renderItem","view","size","labelPlacement","_props$readOnly","readOnly","_props$disabled","disabled","_props$alwaysOpened","alwaysOpened","filter","outerCloseAfterSelect","closeAfterSelect","renderValue","rest","_objectWithoutProperties","_excluded","transformedItems","useMemo","initialItemsTransform","_useMemo","getTreeMaps","_useMemo2","_slicedToArray","valueToCheckedMap","valueToItemMap","labelToItemMap","_useState","useState","get","_useState2","textValue","setTextValue","_useState3","_useState4","internalValue","setInternalValue","undefined","getInitialValue","inputRef","useRef","floatingPopoverRef","inputForkRef","useForkRef","treeId","safeUseId","filteredItems","filterItems","_useMemo3","getPathMap","_useMemo4","pathMap","focusedToValueMap","_useReducer","useReducer","pathReducer","_useReducer2","path","dispatchPath","_useReducer3","focusedPathReducer","_useReducer4","focusedPath","dispatchFocusedPath","_useState5","_useState6","checked","setChecked","isCurrentListOpen","Boolean","activeDescendantItemValue","getItemByFocused","withArrowInverse","classes","arrowInverse","targetRef","useOutsideClick","type","isEmpty","_valueToItemMap$get3","newValue","handleClickArrow","handleTextValueChange","e","target","handleChipsChange","chipLabels","map","chipLabel","handleListToggle","opened","handleCheckboxChange","item","checkedCopy","Map","set","updateDescendants","updateAncestors","newValues","forEach","key","push","setTimeout","current","scrollIntoView","behavior","inline","handleItemClick","stopPropagation","isCurrentChecked","getChips","Array","isArray","length","concat","renderValueMapper","stringValue","valueToItemMapper","handlePressDown","_useKeyNavigation","useKeyNavigation","onKeyDown","useLayoutEffect","_valueToItemMap$get4","_","val","updateSingleAncestors","React","createElement","Provider","FloatingPopover","onToggle","referenceRef","StyledTextField","_extends","inputWrapperRef","contentRight","IconArrowWrapper","onClick","StyledArrow","color","sizeToIconSize","className","leftHelper","role","getItemId","enumerationType","chips","onChangeChips","onEnterDisabled","Ul","id","StyledEmptyState","emptyStateWrapper","description","index","Inner","currentLevel","comboboxConfig","name","tag","layout","base","variations","css","viewCSS","sizeCSS","defaults"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;IA8BaA,OAAO,gBAAGC,aAAa,CAAc,EAAiB,EAAC;;AAEpE;AACA;AACA;IACaC,YAAY,GAAG,SAAfA,YAAYA,CAAIC,IAA+D,EAAA;AAAA,EAAA,oBACxFC,UAAU,CAAkC,UAACC,KAAK,EAAEC,GAAG,EAAK;AAAA,IAAA,IAAAC,mBAAA,EAAAC,oBAAA,EAAAC,iBAAA,CAAA;AACxD,IAAA,IACIC,QAAQ,GA6BRL,KAAK,CA7BLK,QAAQ;MACDC,UAAU,GA4BjBN,KAAK,CA5BLO,KAAK;MACKC,aAAa,GA2B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H;AACDC,EAAAA,QAAQ,EAAE;AACNtK,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAG;AACTC,IAAAA,cAAc,EAAE,OAAA;AACpB,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"Combobox.js","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.tsx"],"sourcesContent":["import React, {\n forwardRef,\n useState,\n useReducer,\n useMemo,\n createContext,\n useLayoutEffect,\n useRef,\n useEffect,\n} from 'react';\nimport type { ChangeEvent, ForwardedRef } from 'react';\nimport { safeUseId, useForkRef } from '@salutejs/plasma-core';\n\nimport { RootProps } from '../../../engines';\nimport { isEmpty } from '../../../utils';\nimport { useOutsideClick } from '../../../hooks';\nimport { sizeToIconSize } from '../../Select/utils';\n\nimport { classes } from './Combobox.tokens';\nimport { FloatingPopover } from './FloatingPopover';\nimport { useKeyNavigation, getItemByFocused } from './hooks/useKeyboardNavigation';\nimport {\n initialItemsTransform,\n updateAncestors,\n updateDescendants,\n updateSingleAncestors,\n filterItems,\n getItemId,\n getInitialValue,\n} from './utils';\nimport { Inner, StyledTextField } from './ui';\nimport { pathReducer, focusedPathReducer } from './reducers';\nimport { getPathMap, getTreeMaps } from './hooks/getPathMaps';\nimport { Ul, base, StyledArrow, IconArrowWrapper, StyledEmptyState } from './Combobox.styles';\nimport type { ItemContext, ComboboxProps } from './Combobox.types';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport type { ItemOptionTransformed } from './ui/Inner/ui/Item/Item.types';\nimport { Form } from './ui/Form/Form';\n\nexport const Context = createContext<ItemContext>({} as ItemContext);\n\n/**\n * Поле ввода с выпадающим списком и возможностью фильтрации и выбора элементов.\n */\n\nexport const comboboxRoot = (Root: RootProps<HTMLInputElement, Omit<ComboboxProps, 'items'>>) =>\n forwardRef<HTMLInputElement | HTMLSelectElement, ComboboxProps>((props, ref) => {\n const {\n name,\n multiple,\n value: outerValue,\n onChange: outerOnChange,\n defaultValue,\n isTargetAmount,\n targetAmount,\n items,\n placement = 'bottom-start',\n label,\n placeholder,\n helperText,\n contentLeft,\n textBefore,\n textAfter,\n variant = 'normal',\n listOverflow,\n listHeight,\n listWidth,\n portal,\n renderItem,\n view,\n size,\n labelPlacement,\n readOnly = false,\n disabled = false,\n alwaysOpened = false,\n filter,\n closeAfterSelect: outerCloseAfterSelect,\n renderValue,\n ...rest\n } = props;\n const transformedItems = useMemo(() => initialItemsTransform(items || []), [items]);\n\n // Создаем структуры для быстрой работы с деревом\n const [valueToCheckedMap, valueToItemMap, labelToItemMap] = useMemo(() => getTreeMaps(transformedItems), [\n items,\n ]);\n\n const [textValue, setTextValue] = useState(valueToItemMap.get(outerValue as string)?.label || '');\n const [internalValue, setInternalValue] = useState<string | string[]>(multiple ? [] : '');\n\n const value =\n outerValue !== null && outerValue !== undefined\n ? getInitialValue(outerValue, valueToItemMap)\n : internalValue;\n\n const inputRef = useRef<HTMLInputElement>(null);\n const floatingPopoverRef = useRef<HTMLDivElement>(null);\n const inputForkRef = useForkRef(inputRef, ref);\n const treeId = safeUseId();\n\n const filteredItems = filterItems(\n transformedItems,\n textValue,\n valueToItemMap.get(value as string)?.label as string,\n filter,\n );\n\n const [pathMap, focusedToValueMap] = useMemo(() => getPathMap(filteredItems), [filteredItems, textValue]);\n\n // Состояния дерева элементов\n const [path, dispatchPath] = useReducer(pathReducer, []);\n const [focusedPath, dispatchFocusedPath] = useReducer(focusedPathReducer, []);\n const [checked, setChecked] = useState(valueToCheckedMap);\n\n const isCurrentListOpen = alwaysOpened || Boolean(path[0]);\n const activeDescendantItemValue = getItemByFocused(focusedPath, focusedToValueMap)?.value || '';\n const withArrowInverse = isCurrentListOpen ? classes.arrowInverse : undefined;\n const closeAfterSelect = outerCloseAfterSelect ?? !multiple;\n\n // Логика работы при клике за пределами выпадающего списка\n const targetRef = useOutsideClick<HTMLUListElement>(() => {\n if (!isCurrentListOpen) {\n return;\n }\n\n dispatchPath({ type: 'reset' });\n dispatchFocusedPath({ type: 'reset' });\n\n // Проверяем, отличается ли значение в инпуте от выбранного value после закрытия дропдауна.\n // Если изменилось, то возвращаем label выбранного айтема.\n // Если нет выбранного элемента, то стираем значение инпута.\n if (textValue !== value) {\n if (isEmpty(value)) {\n setTextValue('');\n } else {\n setTextValue(valueToItemMap.get(value as string)?.label || '');\n }\n }\n }, floatingPopoverRef);\n\n const onChange = (newValue: string | Array<string> | ChangeEvent<HTMLSelectElement> | null) => {\n if (outerOnChange) {\n if (!name && !multiple && typeof newValue === 'string') {\n outerOnChange(newValue as string & string[] & ChangeEvent<HTMLSelectElement>);\n }\n\n if (!name && multiple && Array.isArray(newValue)) {\n outerOnChange(newValue as string & string[] & ChangeEvent<HTMLSelectElement>);\n }\n\n if (name && typeof newValue === 'object' && !Array.isArray(newValue)) {\n outerOnChange(newValue as string & string[] & ChangeEvent<HTMLSelectElement>);\n }\n }\n\n if (typeof newValue === 'string' || Array.isArray(newValue)) {\n setInternalValue(newValue);\n }\n };\n\n const handleClickArrow = () => {\n if (disabled || readOnly) {\n return;\n }\n\n if (isCurrentListOpen) {\n dispatchPath({ type: 'reset' });\n } else {\n dispatchPath({ type: 'opened_first_level' });\n }\n\n dispatchFocusedPath({ type: 'reset' });\n };\n\n // Обработчик изменения значения в инпуте\n const handleTextValueChange = (e: ChangeEvent<HTMLInputElement>) => {\n setTextValue(e.target.value);\n dispatchPath({ type: 'opened_first_level' });\n dispatchFocusedPath({ type: 'reset' });\n };\n\n // Обработчик чипов\n const handleChipsChange = (chipLabels: any[]) => {\n onChange(chipLabels.map((chipLabel) => labelToItemMap.get(chipLabel)!.value));\n };\n\n // Обработчик открытия/закрытия выпадающего списка\n const handleListToggle = (opened: boolean) => {\n if (disabled || readOnly) {\n return;\n }\n\n if (opened) {\n dispatchPath({ type: 'opened_first_level' });\n } else {\n dispatchFocusedPath({ type: 'reset' });\n dispatchPath({ type: 'reset' });\n }\n };\n\n // Обработчик выбора чекбоксов (только при multiple)\n const handleCheckboxChange = (item: ItemOptionTransformed) => {\n if (!multiple) {\n return;\n }\n\n const checkedCopy = new Map(checked);\n\n if (!checkedCopy.get(item.value)) {\n checkedCopy.set(item.value, true);\n updateDescendants(item, checkedCopy, true);\n } else {\n checkedCopy.set(item.value, false);\n updateDescendants(item, checkedCopy, false);\n }\n\n updateAncestors(item, checkedCopy);\n\n const newValues: Array<string> = [];\n\n valueToItemMap.forEach((item, key) => {\n if (checkedCopy.get(key)) {\n newValues.push(item.value);\n }\n });\n\n if (!alwaysOpened && closeAfterSelect) {\n dispatchPath({ type: 'reset' });\n dispatchFocusedPath({ type: 'reset' });\n }\n\n if (onChange) {\n onChange(newValues);\n }\n\n // После выбора/снятия чекбокса скроллим к инпуту\n setTimeout(() => {\n if (inputRef.current) {\n inputRef.current.scrollIntoView({\n behavior: 'smooth',\n inline: 'start',\n });\n }\n }, 1);\n };\n\n // Обработчик клика по айтему выпадающего списка\n const handleItemClick = (item: ItemOptionTransformed, e?: React.MouseEvent<HTMLElement>) => {\n if (!isEmpty(item?.items)) {\n return;\n }\n\n if (multiple) {\n handleCheckboxChange(item);\n return;\n }\n\n if (e) {\n e.stopPropagation();\n }\n\n const isCurrentChecked = checked.get(item.value);\n\n if (!alwaysOpened && closeAfterSelect) {\n dispatchPath({ type: 'reset' });\n dispatchFocusedPath({ type: 'reset' });\n }\n\n if (onChange) {\n onChange(isCurrentChecked ? '' : item.value);\n }\n };\n\n const getChips = (): string[] => {\n if (multiple && Array.isArray(value)) {\n if (value.length === 0) return [];\n\n if (isTargetAmount) {\n return [`Выбрано ${targetAmount || value.length}`];\n }\n\n const renderValueMapper =\n renderValue && ((stringValue: string) => renderValue(valueToItemMap.get(stringValue)!));\n const valueToItemMapper = (stringValue: string) => valueToItemMap.get(stringValue)!.label;\n\n return value.map(renderValueMapper || valueToItemMapper);\n }\n\n return [];\n };\n\n const handlePressDown = (item: ItemOptionTransformed, e?: React.MouseEvent<HTMLElement>) => {\n if (isEmpty(item.items)) {\n handleItemClick(item, e);\n } else if (multiple) {\n handleCheckboxChange(item);\n }\n };\n\n const { onKeyDown } = useKeyNavigation({\n focusedPath,\n dispatchFocusedPath,\n path,\n dispatchPath,\n pathMap,\n focusedToValueMap,\n handleListToggle,\n handlePressDown,\n multiselect: multiple,\n setTextValue,\n });\n\n // В данном эффекте мы следим за изменениями value снаружи и вносим коррективы в дерево чекбоксов.\n // Пример: когда юзер очистил value извне, тогда нужно пройтись по элементам и выключить все чекбоксы.\n useLayoutEffect(() => {\n const checkedCopy = new Map(checked);\n\n checkedCopy.forEach((_, key) => {\n checkedCopy.set(key, false);\n });\n\n if (!isEmpty(value)) {\n if (Array.isArray(value)) {\n value.forEach((val) => {\n checkedCopy.set(val, true);\n updateDescendants(valueToItemMap.get(val)!, checkedCopy, true);\n updateAncestors(valueToItemMap.get(val)!, checkedCopy);\n });\n } else {\n checkedCopy.set(value, 'done');\n updateSingleAncestors(valueToItemMap.get(value)!, checkedCopy, 'dot');\n }\n }\n\n setChecked(checkedCopy);\n\n setTextValue(valueToItemMap.get(value as string)?.label || '');\n\n // В deps мы кладем именно outerValue и internalValue, а не просто value.\n // Т.к. вначале нужно отфильтровать и провалидировать outerValue и результат положить в переменную.\n // А переменную, содержащую сложные типы данных, нельзя помещать в deps.\n }, [outerValue, internalValue, items]);\n\n useEffect(() => {\n if (defaultValue) {\n setInternalValue(defaultValue);\n }\n }, [defaultValue]);\n\n return (\n <Root size={size} view={view} labelPlacement={labelPlacement} disabled={disabled} readOnly={readOnly}>\n {name && (\n <Form\n name={name}\n value={internalValue}\n multiple={multiple}\n onChange={onChange}\n ref={ref as ForwardedRef<HTMLSelectElement>}\n />\n )}\n <div>\n <Context.Provider\n value={{\n focusedPath,\n checked,\n multiple,\n size,\n handleCheckboxChange,\n handleItemClick,\n variant,\n renderItem,\n valueToItemMap,\n treeId,\n }}\n >\n <FloatingPopover\n ref={floatingPopoverRef}\n opened={isCurrentListOpen}\n onToggle={(opened: boolean) => opened && handleListToggle(true)}\n placement={placement}\n portal={portal}\n listWidth={listWidth}\n target={(referenceRef) => (\n <StyledTextField\n ref={name ? inputRef : (inputForkRef as ForwardedRef<HTMLInputElement>)}\n inputWrapperRef={referenceRef}\n value={textValue}\n onChange={handleTextValueChange}\n size={size}\n view={view}\n labelPlacement={labelPlacement}\n disabled={disabled}\n readOnly={readOnly}\n label={label}\n placeholder={placeholder}\n contentLeft={contentLeft}\n contentRight={\n <IconArrowWrapper disabled={disabled} onClick={handleClickArrow}>\n <StyledArrow\n color=\"inherit\"\n size={sizeToIconSize(size)}\n className={withArrowInverse}\n />\n </IconArrowWrapper>\n }\n textBefore={textBefore}\n textAfter={textAfter}\n onKeyDown={onKeyDown}\n leftHelper={helperText}\n role=\"combobox\"\n aria-autocomplete=\"list\"\n aria-controls={`${treeId}_tree_level_1`}\n aria-expanded={isCurrentListOpen}\n aria-activedescendant={\n activeDescendantItemValue ? getItemId(treeId, activeDescendantItemValue) : ''\n }\n {...(multiple\n ? {\n enumerationType: 'chip',\n chips: getChips(),\n onChangeChips: handleChipsChange,\n }\n : { enumerationType: 'plain' })}\n {...rest}\n onEnterDisabled // Пропс для отключения обработчика Enter внутри Textfield\n />\n )}\n >\n <Root\n size={size}\n view={view}\n labelPlacement={labelPlacement}\n disabled={disabled}\n readOnly={readOnly}\n >\n <Ul\n role=\"tree\"\n id={`${treeId}_tree_level_1`}\n aria-multiselectable={Boolean(multiple)}\n listHeight={listHeight}\n listOverflow={listOverflow}\n listWidth={listWidth}\n ref={targetRef}\n >\n {isEmpty(filteredItems) ? (\n <StyledEmptyState\n className={classes.emptyStateWrapper}\n size={size}\n description=\"Ничего не найдено\"\n />\n ) : (\n filteredItems.map((item, index) => (\n <Inner\n key={`${index}/0`}\n item={item}\n currentLevel={0}\n path={path}\n dispatchPath={dispatchPath}\n index={index}\n listWidth={listWidth}\n />\n ))\n )}\n </Ul>\n </Root>\n </FloatingPopover>\n </Context.Provider>\n </div>\n </Root>\n );\n });\n\nexport const comboboxConfig = {\n name: 'Select',\n tag: 'div',\n layout: comboboxRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n readOnly: {\n css: sizeCSS,\n },\n },\n defaults: {\n view: 'default',\n size: 'm',\n labelPlacement: 'outer',\n },\n};\n"],"names":["Context","createContext","comboboxRoot","Root","forwardRef","props","ref","_valueToItemMap$get","_valueToItemMap$get2","_getItemByFocused","name","multiple","outerValue","value","outerOnChange","onChange","defaultValue","isTargetAmount","targetAmount","items","_props$placement","placement","label","placeholder","helperText","contentLeft","textBefore","textAfter","_props$variant","variant","listOverflow","listHeight","listWidth","portal","renderItem","view","size","labelPlacement","_props$readOnly","readOnly","_props$disabled","disabled","_props$alwaysOpened","alwaysOpened","filter","outerCloseAfterSelect","closeAfterSelect","renderValue","rest","_objectWithoutProperties","_excluded","transformedItems","useMemo","initialItemsTransform","_useMemo","getTreeMaps","_useMemo2","_slicedToArray","valueToCheckedMap","valueToItemMap","labelToItemMap","_useState","useState","get","_useState2","textValue","setTextValue","_useState3","_useState4","internalValue","setInternalValue","undefined","getInitialValue","inputRef","useRef","floatingPopoverRef","inputForkRef","useForkRef","treeId","safeUseId","filteredItems","filterItems","_useMemo3","getPathMap","_useMemo4","pathMap","focusedToValueMap","_useReducer","useReducer","pathReducer","_useReducer2","path","dispatchPath","_useReducer3","focusedPathReducer","_useReducer4","focusedPath","dispatchFocusedPath","_useState5","_useState6","checked","setChecked","isCurrentListOpen","Boolean","activeDescendantItemValue","getItemByFocused","withArrowInverse","classes","arrowInverse","targetRef","useOutsideClick","type","isEmpty","_valueToItemMap$get3","newValue","Array","isArray","_typeof","handleClickArrow","handleTextValueChange","e","target","handleChipsChange","chipLabels","map","chipLabel","handleListToggle","opened","handleCheckboxChange","item","checkedCopy","Map","set","updateDescendants","updateAncestors","newValues","forEach","key","push","setTimeout","current","scrollIntoView","behavior","inline","handleItemClick","stopPropagation","isCurrentChecked","getChips","length","concat","renderValueMapper","stringValue","valueToItemMapper","handlePressDown","_useKeyNavigation","useKeyNavigation","multiselect","onKeyDown","useLayoutEffect","_valueToItemMap$get4","_","val","updateSingleAncestors","useEffect","React","createElement","Form","Provider","FloatingPopover","onToggle","referenceRef","StyledTextField","_extends","inputWrapperRef","contentRight","IconArrowWrapper","onClick","StyledArrow","color","sizeToIconSize","className","leftHelper","role","getItemId","enumerationType","chips","onChangeChips","onEnterDisabled","Ul","id","StyledEmptyState","emptyStateWrapper","description","index","Inner","currentLevel","comboboxConfig","tag","layout","base","variations","css","viewCSS","sizeCSS","defaults"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;IAwCaA,OAAO,gBAAGC,aAAa,CAAc,EAAiB,EAAC;;AAEpE;AACA;AACA;;IAEaC,YAAY,GAAG,SAAfA,YAAYA,CAAIC,IAA+D,EAAA;AAAA,EAAA,oBACxFC,UAAU,CAAsD,UAACC,KAAK,EAAEC,GAAG,EAAK;AAAA,IAAA,IAAAC,mBAAA,EAAAC,oBAAA,EAAAC,iBAAA,CAAA;AAC5E,IAAA,IACIC,IAAI,GA+BJL,KAAK,CA/BLK,IAAI;MACJC,QAAQ,GA8BRN,KAAK,CA9BLM,QAAQ;MACDC,UAAU,GA6BjBP,KAAK,CA7BLQ,KAAK;MACKC,aAAa,GA4BvBT,KAAK,CA5BLU,QAAQ;MACRC,YAAY,GA2BZX,KAAK,CA3BLW,YAAY;MACZC,cAAc,GA0BdZ,KAAK,CA1BLY,cAAc;MACdC,YAAY,GAyBZb,KAAK,CAzBLa,YAAY;MACZC,KAAK,GAwBLd,KAAK,CAxBLc,KAAK;MAAAC,gBAAA,GAwBLf,KAAK,CAvBLgB,SAAS;AAATA,MAAAA,SAAS,GAAAD,gBAAA,KAAG,KAAA,CAAA,GAAA,cAAc,GAAAA,gBAAA;MAC1BE,KAAK,GAsBLjB,KAAK,CAtBLiB,KAAK;MACLC,WAAW,GAqBXlB,KAAK,CArBLkB,WAAW;MACXC,UAAU,GAoBVnB,KAAK,CApBLmB,UAAU;MACV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IAAK;AACXC,QAAAA,YAAY,EAAEA,YAAa;AAC3BqG,QAAAA,KAAK,EAAEA,KAAM;AACbjK,QAAAA,SAAS,EAAEA,SAAAA;AAAU,OACxB,CAAC,CAAA;AAAA,KACL,CAEL,CACF,CACO,CACH,CACjB,CACH,CAAC,CAAA;AAEf,GAAC,CAAC,CAAA;AAAA,EAAA;AAEC,IAAMoK,cAAc,GAAG;AAC1B1L,EAAAA,IAAI,EAAE,QAAQ;AACd2L,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAEpM,YAAY;AACpBqM,EAAAA,IAAI,EAAJA,IAAI;AACJC,EAAAA,UAAU,EAAE;AACRrK,IAAAA,IAAI,EAAE;AACFsK,MAAAA,GAAG,EAAEC,MAAAA;KACR;AACDtK,IAAAA,IAAI,EAAE;AACFqK,MAAAA,GAAG,EAAEE,MAAAA;KACR;AACDpK,IAAAA,QAAQ,EAAE;AACNkK,MAAAA,GAAG,EAAEE,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNzK,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAG;AACTC,IAAAA,cAAc,EAAE,OAAA;AACpB,GAAA;AACJ;;;;"}
@@ -51,6 +51,7 @@ var tokens = {
51
51
  checkboxIconColor: '--plasma-combobox-checkbox-icon-color',
52
52
  checkboxTriggerBorderColor: '--plasma-combobox-checkbox-trigger-border-color',
53
53
  indicatorSize: '--plasma-combobox-indicator-size',
54
+ targetHeight: '--plasma-combobox-target-height',
54
55
  // Токены для TextField
55
56
  textFieldColor: '--plasma-combobox-new-textfield-color',
56
57
  textFieldClearColor: '--plasma-combobox-new-textfield-clear-color',