@salutejs/plasma-new-hope 0.187.0-dev.0 → 0.188.0-canary.1550.11767527974.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (478) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +21 -22
  2. package/cjs/components/Chip/Chip.js +3 -1
  3. package/cjs/components/Chip/Chip.js.map +1 -1
  4. package/cjs/components/Combobox/ComboboxNew/Combobox.css +21 -22
  5. package/cjs/components/Combobox/ComboboxNew/Combobox.js +0 -1
  6. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  7. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  8. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  9. package/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +18 -4
  10. package/cjs/components/Combobox/ComboboxNew/FloatingPopover.js.map +1 -1
  11. package/cjs/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  12. package/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +1 -50
  13. package/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js.map +1 -1
  14. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +21 -22
  15. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +21 -22
  16. package/cjs/components/DatePicker/RangeDate/RangeDate.css +21 -22
  17. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +21 -22
  18. package/cjs/components/DatePicker/SingleDate/SingleDate.css +21 -22
  19. package/cjs/components/Dropdown/FloatingPopover.js.map +1 -1
  20. package/cjs/components/Pagination/Pagination.css +86 -37
  21. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +86 -37
  22. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  23. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  24. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_10zfeps.css +3 -0
  25. package/cjs/components/Range/Range.css +21 -22
  26. package/cjs/components/Select/FloatingPopover.js +87 -0
  27. package/cjs/components/Select/FloatingPopover.js.map +1 -0
  28. package/cjs/components/Select/Select.css +83 -34
  29. package/cjs/components/Select/Select.js +179 -139
  30. package/cjs/components/Select/Select.js.map +1 -1
  31. package/cjs/components/Select/Select.styles.js +17 -50
  32. package/cjs/components/Select/Select.styles.js.map +1 -1
  33. package/cjs/components/Select/Select.styles_96j02v.css +2 -0
  34. package/cjs/components/Select/Select.tokens.js +122 -78
  35. package/cjs/components/Select/Select.tokens.js.map +1 -1
  36. package/cjs/components/Select/hooks/useKeyboardNavigation.js +19 -72
  37. package/cjs/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
  38. package/cjs/components/Select/hooks/usePathMaps.js +4 -1
  39. package/cjs/components/Select/hooks/usePathMaps.js.map +1 -1
  40. package/cjs/components/Select/ui/Inner/Inner.css +83 -34
  41. package/cjs/components/Select/ui/Inner/Inner.js +9 -9
  42. package/cjs/components/Select/ui/Inner/Inner.js.map +1 -1
  43. package/cjs/components/Select/ui/Inner/ui/Item/Item.css +83 -34
  44. package/cjs/components/Select/ui/Inner/ui/Item/Item.js +16 -12
  45. package/cjs/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  46. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +34 -51
  47. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  48. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles_1kgvsdc.css +9 -0
  49. package/cjs/components/Select/ui/Target/Target.css +58 -17
  50. package/cjs/components/Select/ui/Target/Target.js +34 -16
  51. package/cjs/components/Select/ui/Target/Target.js.map +1 -1
  52. package/cjs/components/Select/ui/Target/ui/Button/Button.css +5 -5
  53. package/cjs/components/Select/ui/Target/ui/Button/Button.js +10 -14
  54. package/cjs/components/Select/ui/Target/ui/Button/Button.js.map +1 -1
  55. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +1 -1
  56. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  57. package/cjs/components/Select/ui/Target/ui/Button/Button.styles_10g64me.css +5 -0
  58. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +53 -38
  59. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +84 -97
  60. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  61. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +35 -107
  62. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  63. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_1mneb9u.css +3 -0
  64. package/cjs/components/Select/utils/getFallbackPlacements.js +15 -0
  65. package/cjs/components/Select/utils/getFallbackPlacements.js.map +1 -0
  66. package/cjs/components/Select/utils/getItemId.js +10 -0
  67. package/cjs/components/Select/utils/getItemId.js.map +1 -0
  68. package/cjs/components/Select/utils/getPlacement.js +13 -0
  69. package/cjs/components/Select/utils/getPlacement.js.map +1 -0
  70. package/cjs/components/Select/utils/getView.js +2 -2
  71. package/cjs/components/Select/utils/getView.js.map +1 -1
  72. package/cjs/components/Slider/Slider.css +21 -22
  73. package/cjs/components/Slider/components/Double/Double.css +21 -22
  74. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +21 -22
  75. package/cjs/components/TextField/TextField.js +7 -0
  76. package/cjs/components/TextField/TextField.js.map +1 -1
  77. package/cjs/components/TextField/TextField.styles.js +14 -22
  78. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  79. package/{es/components/TextField/TextField.styles_grgg7q.css → cjs/components/TextField/TextField.styles_j7dqpn.css} +6 -7
  80. package/cjs/components/TextField/ui/Hint/Hint.css +20 -21
  81. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +7 -1
  82. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  83. package/cjs/components/TextField/variations/_clear/base.js +1 -1
  84. package/cjs/components/TextField/variations/_clear/{base_1i91sjp.css → base_1396md2.css} +1 -1
  85. package/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  86. package/cjs/components/TextField/variations/_label-placement/base_gttvto.css +1 -0
  87. package/cjs/components/TextField/variations/_read-only/base.js +1 -1
  88. package/cjs/components/TextField/variations/_read-only/{base_17ypmu7.css → base_1jvcf9a.css} +1 -1
  89. package/cjs/components/TextField/variations/_size/base.js +1 -1
  90. package/cjs/components/TextField/variations/_size/{base_1xdmaqh.css → base_1tei47x.css} +1 -1
  91. package/cjs/components/TextField/variations/_view/base.js +1 -1
  92. package/cjs/components/TextField/variations/_view/{base_qhyte8.css → base_8ogww5.css} +1 -1
  93. package/cjs/index.css +46 -61
  94. package/emotion/cjs/components/Chip/Chip.js +3 -1
  95. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +0 -1
  96. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  97. package/emotion/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +19 -5
  98. package/emotion/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +1 -50
  99. package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  100. package/emotion/cjs/components/Select/FloatingPopover.js +91 -0
  101. package/emotion/cjs/components/Select/Select.js +177 -136
  102. package/emotion/cjs/components/Select/Select.styles.js +13 -31
  103. package/emotion/cjs/components/Select/Select.tokens.js +125 -60
  104. package/emotion/cjs/components/Select/hooks/useKeyboardNavigation.js +19 -73
  105. package/emotion/cjs/components/Select/hooks/usePathMaps.js +4 -1
  106. package/emotion/cjs/components/Select/reducers/index.js +0 -11
  107. package/emotion/cjs/components/Select/ui/Inner/Inner.js +9 -9
  108. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.js +15 -12
  109. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +26 -49
  110. package/emotion/cjs/components/Select/ui/Target/Target.js +38 -18
  111. package/emotion/cjs/components/Select/ui/Target/ui/Button/Button.js +13 -16
  112. package/emotion/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +6 -6
  113. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +88 -99
  114. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +25 -75
  115. package/emotion/cjs/components/Select/utils/getFallbackPlacements.js +14 -0
  116. package/emotion/cjs/components/Select/utils/getItemId.js +9 -0
  117. package/emotion/cjs/components/Select/utils/getPlacement.js +12 -0
  118. package/emotion/cjs/components/Select/utils/getView.js +2 -2
  119. package/emotion/cjs/components/Select/utils/index.js +22 -1
  120. package/emotion/cjs/components/TextField/TextField.js +8 -1
  121. package/emotion/cjs/components/TextField/TextField.styles.js +36 -40
  122. package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +7 -1
  123. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  124. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.config.js +28 -20
  125. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +47 -40
  126. package/emotion/cjs/examples/plasma_web/components/Select/Select.config.js +28 -20
  127. package/emotion/cjs/examples/plasma_web/components/Select/Select.stories.tsx +47 -40
  128. package/emotion/es/components/Chip/Chip.js +3 -1
  129. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +0 -1
  130. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  131. package/emotion/es/components/Combobox/ComboboxNew/FloatingPopover.js +18 -4
  132. package/emotion/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +1 -50
  133. package/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  134. package/emotion/es/components/Select/FloatingPopover.js +84 -0
  135. package/emotion/es/components/Select/Select.js +182 -141
  136. package/emotion/es/components/Select/Select.styles.js +12 -30
  137. package/emotion/es/components/Select/Select.tokens.js +125 -60
  138. package/emotion/es/components/Select/hooks/useKeyboardNavigation.js +18 -72
  139. package/emotion/es/components/Select/hooks/usePathMaps.js +4 -1
  140. package/emotion/es/components/Select/reducers/index.js +1 -2
  141. package/emotion/es/components/Select/ui/Inner/Inner.js +10 -10
  142. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.js +18 -15
  143. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.styles.js +25 -48
  144. package/emotion/es/components/Select/ui/Target/Target.js +35 -17
  145. package/emotion/es/components/Select/ui/Target/ui/Button/Button.js +11 -16
  146. package/emotion/es/components/Select/ui/Target/ui/Button/Button.styles.js +6 -6
  147. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +86 -99
  148. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +25 -75
  149. package/emotion/es/components/Select/utils/getFallbackPlacements.js +8 -0
  150. package/emotion/es/components/Select/utils/getItemId.js +3 -0
  151. package/emotion/es/components/Select/utils/getPlacement.js +6 -0
  152. package/emotion/es/components/Select/utils/getView.js +2 -2
  153. package/emotion/es/components/Select/utils/index.js +4 -1
  154. package/emotion/es/components/TextField/TextField.js +8 -1
  155. package/emotion/es/components/TextField/TextField.styles.js +36 -40
  156. package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +7 -1
  157. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  158. package/emotion/es/examples/plasma_b2c/components/Select/Select.config.js +29 -21
  159. package/emotion/es/examples/plasma_b2c/components/Select/Select.stories.tsx +47 -40
  160. package/emotion/es/examples/plasma_web/components/Select/Select.config.js +29 -21
  161. package/emotion/es/examples/plasma_web/components/Select/Select.stories.tsx +47 -40
  162. package/es/components/Autocomplete/Autocomplete.css +21 -22
  163. package/es/components/Chip/Chip.js +3 -1
  164. package/es/components/Chip/Chip.js.map +1 -1
  165. package/es/components/Combobox/ComboboxNew/Combobox.css +21 -22
  166. package/es/components/Combobox/ComboboxNew/Combobox.js +0 -1
  167. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  168. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  169. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  170. package/es/components/Combobox/ComboboxNew/FloatingPopover.js +18 -4
  171. package/es/components/Combobox/ComboboxNew/FloatingPopover.js.map +1 -1
  172. package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  173. package/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +1 -50
  174. package/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js.map +1 -1
  175. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +21 -22
  176. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +21 -22
  177. package/es/components/DatePicker/RangeDate/RangeDate.css +21 -22
  178. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +21 -22
  179. package/es/components/DatePicker/SingleDate/SingleDate.css +21 -22
  180. package/es/components/Dropdown/FloatingPopover.js.map +1 -1
  181. package/es/components/Pagination/Pagination.css +86 -37
  182. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +86 -37
  183. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  184. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  185. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_10zfeps.css +3 -0
  186. package/es/components/Range/Range.css +21 -22
  187. package/es/components/Select/FloatingPopover.js +83 -0
  188. package/es/components/Select/FloatingPopover.js.map +1 -0
  189. package/es/components/Select/Select.css +83 -34
  190. package/es/components/Select/Select.js +182 -142
  191. package/es/components/Select/Select.js.map +1 -1
  192. package/es/components/Select/Select.styles.js +18 -48
  193. package/es/components/Select/Select.styles.js.map +1 -1
  194. package/es/components/Select/Select.styles_96j02v.css +2 -0
  195. package/es/components/Select/Select.tokens.js +123 -78
  196. package/es/components/Select/Select.tokens.js.map +1 -1
  197. package/es/components/Select/hooks/useKeyboardNavigation.js +19 -73
  198. package/es/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
  199. package/es/components/Select/hooks/usePathMaps.js +4 -1
  200. package/es/components/Select/hooks/usePathMaps.js.map +1 -1
  201. package/es/components/Select/ui/Inner/Inner.css +83 -34
  202. package/es/components/Select/ui/Inner/Inner.js +10 -10
  203. package/es/components/Select/ui/Inner/Inner.js.map +1 -1
  204. package/es/components/Select/ui/Inner/ui/Item/Item.css +83 -34
  205. package/es/components/Select/ui/Inner/ui/Item/Item.js +18 -14
  206. package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  207. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +33 -50
  208. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  209. package/es/components/Select/ui/Inner/ui/Item/Item.styles_1kgvsdc.css +9 -0
  210. package/es/components/Select/ui/Target/Target.css +58 -17
  211. package/es/components/Select/ui/Target/Target.js +35 -17
  212. package/es/components/Select/ui/Target/Target.js.map +1 -1
  213. package/es/components/Select/ui/Target/ui/Button/Button.css +5 -5
  214. package/es/components/Select/ui/Target/ui/Button/Button.js +11 -15
  215. package/es/components/Select/ui/Target/ui/Button/Button.js.map +1 -1
  216. package/es/components/Select/ui/Target/ui/Button/Button.styles.js +1 -1
  217. package/es/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  218. package/es/components/Select/ui/Target/ui/Button/Button.styles_10g64me.css +5 -0
  219. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +53 -38
  220. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +86 -99
  221. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  222. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +36 -99
  223. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  224. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles_1mneb9u.css +3 -0
  225. package/es/components/Select/utils/getFallbackPlacements.js +11 -0
  226. package/es/components/Select/utils/getFallbackPlacements.js.map +1 -0
  227. package/es/components/Select/utils/getItemId.js +6 -0
  228. package/es/components/Select/utils/getItemId.js.map +1 -0
  229. package/es/components/Select/utils/getPlacement.js +9 -0
  230. package/es/components/Select/utils/getPlacement.js.map +1 -0
  231. package/es/components/Select/utils/getView.js +2 -2
  232. package/es/components/Select/utils/getView.js.map +1 -1
  233. package/es/components/Slider/Slider.css +21 -22
  234. package/es/components/Slider/components/Double/Double.css +21 -22
  235. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +21 -22
  236. package/es/components/TextField/TextField.js +7 -0
  237. package/es/components/TextField/TextField.js.map +1 -1
  238. package/es/components/TextField/TextField.styles.js +14 -22
  239. package/es/components/TextField/TextField.styles.js.map +1 -1
  240. package/{cjs/components/TextField/TextField.styles_grgg7q.css → es/components/TextField/TextField.styles_j7dqpn.css} +6 -7
  241. package/es/components/TextField/ui/Hint/Hint.css +20 -21
  242. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +7 -1
  243. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  244. package/es/components/TextField/variations/_clear/base.js +1 -1
  245. package/es/components/TextField/variations/_clear/{base_1i91sjp.css → base_1396md2.css} +1 -1
  246. package/es/components/TextField/variations/_label-placement/base.js +1 -1
  247. package/es/components/TextField/variations/_label-placement/base_gttvto.css +1 -0
  248. package/es/components/TextField/variations/_read-only/base.js +1 -1
  249. package/es/components/TextField/variations/_read-only/{base_17ypmu7.css → base_1jvcf9a.css} +1 -1
  250. package/es/components/TextField/variations/_size/base.js +1 -1
  251. package/es/components/TextField/variations/_size/{base_1xdmaqh.css → base_1tei47x.css} +1 -1
  252. package/es/components/TextField/variations/_view/base.js +1 -1
  253. package/es/components/TextField/variations/_view/{base_qhyte8.css → base_8ogww5.css} +1 -1
  254. package/es/index.css +46 -61
  255. package/package.json +2 -2
  256. package/styled-components/cjs/components/Chip/Chip.js +3 -1
  257. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +0 -1
  258. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  259. package/styled-components/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +19 -5
  260. package/styled-components/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +1 -50
  261. package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  262. package/styled-components/cjs/components/Select/FloatingPopover.js +91 -0
  263. package/styled-components/cjs/components/Select/Select.js +177 -136
  264. package/styled-components/cjs/components/Select/Select.styles.js +11 -26
  265. package/styled-components/cjs/components/Select/Select.tokens.js +125 -60
  266. package/styled-components/cjs/components/Select/hooks/useKeyboardNavigation.js +19 -73
  267. package/styled-components/cjs/components/Select/hooks/usePathMaps.js +4 -1
  268. package/styled-components/cjs/components/Select/reducers/index.js +0 -11
  269. package/styled-components/cjs/components/Select/ui/Inner/Inner.js +9 -9
  270. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.js +15 -12
  271. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +19 -25
  272. package/styled-components/cjs/components/Select/ui/Target/Target.js +38 -18
  273. package/styled-components/cjs/components/Select/ui/Target/ui/Button/Button.js +13 -16
  274. package/styled-components/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +3 -3
  275. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +88 -99
  276. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +21 -62
  277. package/styled-components/cjs/components/Select/utils/getFallbackPlacements.js +14 -0
  278. package/styled-components/cjs/components/Select/utils/getItemId.js +9 -0
  279. package/styled-components/cjs/components/Select/utils/getPlacement.js +12 -0
  280. package/styled-components/cjs/components/Select/utils/getView.js +2 -2
  281. package/styled-components/cjs/components/Select/utils/index.js +22 -1
  282. package/styled-components/cjs/components/TextField/TextField.js +7 -0
  283. package/styled-components/cjs/components/TextField/TextField.styles.js +12 -15
  284. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +7 -1
  285. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +1 -1
  286. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +28 -20
  287. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +47 -40
  288. package/styled-components/cjs/examples/plasma_web/components/Select/Select.config.js +28 -20
  289. package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +47 -40
  290. package/styled-components/es/components/Chip/Chip.js +3 -1
  291. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +0 -1
  292. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  293. package/styled-components/es/components/Combobox/ComboboxNew/FloatingPopover.js +18 -4
  294. package/styled-components/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +1 -50
  295. package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  296. package/styled-components/es/components/Select/FloatingPopover.js +84 -0
  297. package/styled-components/es/components/Select/Select.js +182 -141
  298. package/styled-components/es/components/Select/Select.styles.js +10 -25
  299. package/styled-components/es/components/Select/Select.tokens.js +125 -60
  300. package/styled-components/es/components/Select/hooks/useKeyboardNavigation.js +18 -72
  301. package/styled-components/es/components/Select/hooks/usePathMaps.js +4 -1
  302. package/styled-components/es/components/Select/reducers/index.js +1 -2
  303. package/styled-components/es/components/Select/ui/Inner/Inner.js +10 -10
  304. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.js +18 -15
  305. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.styles.js +18 -24
  306. package/styled-components/es/components/Select/ui/Target/Target.js +35 -17
  307. package/styled-components/es/components/Select/ui/Target/ui/Button/Button.js +11 -16
  308. package/styled-components/es/components/Select/ui/Target/ui/Button/Button.styles.js +3 -3
  309. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +86 -99
  310. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +21 -62
  311. package/styled-components/es/components/Select/utils/getFallbackPlacements.js +8 -0
  312. package/styled-components/es/components/Select/utils/getItemId.js +3 -0
  313. package/styled-components/es/components/Select/utils/getPlacement.js +6 -0
  314. package/styled-components/es/components/Select/utils/getView.js +2 -2
  315. package/styled-components/es/components/Select/utils/index.js +4 -1
  316. package/styled-components/es/components/TextField/TextField.js +7 -0
  317. package/styled-components/es/components/TextField/TextField.styles.js +12 -15
  318. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +7 -1
  319. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +1 -1
  320. package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +29 -21
  321. package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +47 -40
  322. package/styled-components/es/examples/plasma_web/components/Select/Select.config.js +29 -21
  323. package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +47 -40
  324. package/types/components/Chip/Chip.d.ts.map +1 -1
  325. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  326. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +0 -1
  327. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  328. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +1 -1
  329. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  330. package/types/components/Combobox/ComboboxNew/FloatingPopover.d.ts.map +1 -1
  331. package/types/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.d.ts +1 -3
  332. package/types/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.d.ts.map +1 -1
  333. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +8 -8
  334. package/types/components/Select/FloatingPopover.d.ts +5 -0
  335. package/types/components/Select/FloatingPopover.d.ts.map +1 -0
  336. package/types/components/Select/Select.d.ts +5 -11
  337. package/types/components/Select/Select.d.ts.map +1 -1
  338. package/types/components/Select/Select.styles.d.ts +0 -9
  339. package/types/components/Select/Select.styles.d.ts.map +1 -1
  340. package/types/components/Select/Select.tokens.d.ts +121 -58
  341. package/types/components/Select/Select.tokens.d.ts.map +1 -1
  342. package/types/components/Select/Select.types.d.ts +27 -16
  343. package/types/components/Select/Select.types.d.ts.map +1 -1
  344. package/types/components/Select/hooks/useKeyboardNavigation.d.ts +5 -11
  345. package/types/components/Select/hooks/useKeyboardNavigation.d.ts.map +1 -1
  346. package/types/components/Select/hooks/usePathMaps.d.ts +2 -1
  347. package/types/components/Select/hooks/usePathMaps.d.ts.map +1 -1
  348. package/types/components/Select/reducers/index.d.ts +0 -1
  349. package/types/components/Select/reducers/index.d.ts.map +1 -1
  350. package/types/components/Select/ui/Inner/Inner.d.ts.map +1 -1
  351. package/types/components/Select/ui/Inner/ui/Item/Item.d.ts.map +1 -1
  352. package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts +32 -2
  353. package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts.map +1 -1
  354. package/types/components/Select/ui/Inner/ui/Item/Item.types.d.ts +9 -0
  355. package/types/components/Select/ui/Inner/ui/Item/Item.types.d.ts.map +1 -1
  356. package/types/components/Select/ui/Target/Target.d.ts +14 -2
  357. package/types/components/Select/ui/Target/Target.d.ts.map +1 -1
  358. package/types/components/Select/ui/Target/Target.types.d.ts +10 -9
  359. package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
  360. package/types/components/Select/ui/Target/ui/Button/Button.d.ts +1 -1
  361. package/types/components/Select/ui/Target/ui/Button/Button.d.ts.map +1 -1
  362. package/types/components/Select/ui/Target/ui/Button/Button.types.d.ts +1 -1
  363. package/types/components/Select/ui/Target/ui/Button/Button.types.d.ts.map +1 -1
  364. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts +1 -1
  365. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
  366. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +628 -60
  367. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  368. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts +1 -4
  369. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts.map +1 -1
  370. package/types/components/Select/utils/getFallbackPlacements.d.ts +4 -0
  371. package/types/components/Select/utils/getFallbackPlacements.d.ts.map +1 -0
  372. package/types/components/Select/utils/getItemId.d.ts +2 -0
  373. package/types/components/Select/utils/getItemId.d.ts.map +1 -0
  374. package/types/components/Select/utils/getPlacement.d.ts +4 -0
  375. package/types/components/Select/utils/getPlacement.d.ts.map +1 -0
  376. package/types/components/Select/utils/getView.d.ts +1 -1
  377. package/types/components/Select/utils/getView.d.ts.map +1 -1
  378. package/types/components/Select/utils/index.d.ts +3 -0
  379. package/types/components/Select/utils/index.d.ts.map +1 -1
  380. package/types/components/TextField/TextField.d.ts.map +1 -1
  381. package/types/components/TextField/TextField.styles.d.ts +1 -3
  382. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  383. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts +3 -1
  384. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts.map +1 -1
  385. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +24 -24
  386. package/types/examples/plasma_b2c/components/Select/Select.config.d.ts +15 -7
  387. package/types/examples/plasma_b2c/components/Select/Select.config.d.ts.map +1 -1
  388. package/types/examples/plasma_b2c/components/Select/Select.d.ts +21 -14
  389. package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
  390. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +24 -24
  391. package/types/examples/plasma_web/components/Select/Select.config.d.ts +15 -7
  392. package/types/examples/plasma_web/components/Select/Select.config.d.ts.map +1 -1
  393. package/types/examples/plasma_web/components/Select/Select.d.ts +21 -14
  394. package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -1
  395. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_1fesyfv.css +0 -3
  396. package/cjs/components/Select/Select.styles_768h42.css +0 -5
  397. package/cjs/components/Select/reducers/focusedChipIndexReducer.js +0 -39
  398. package/cjs/components/Select/reducers/focusedChipIndexReducer.js.map +0 -1
  399. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles_8oe5oy.css +0 -9
  400. package/cjs/components/Select/ui/Target/ui/Button/Button.styles_lxxm4p.css +0 -5
  401. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_1damf5p.css +0 -12
  402. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.css +0 -21
  403. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +0 -36
  404. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js.map +0 -1
  405. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +0 -22
  406. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +0 -1
  407. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles_1a752pa.css +0 -1
  408. package/cjs/components/Select/variations/_size/base.js +0 -9
  409. package/cjs/components/Select/variations/_size/base.js.map +0 -1
  410. package/cjs/components/Select/variations/_size/base_x642ct.css +0 -1
  411. package/cjs/components/Select/variations/_view/base.js +0 -9
  412. package/cjs/components/Select/variations/_view/base.js.map +0 -1
  413. package/cjs/components/Select/variations/_view/base_x642ct.css +0 -1
  414. package/cjs/components/TextField/variations/_label-placement/base_3domm.css +0 -1
  415. package/emotion/cjs/components/Select/reducers/focusedChipIndexReducer.js +0 -38
  416. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +0 -37
  417. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +0 -22
  418. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/index.js +0 -16
  419. package/emotion/cjs/components/Select/variations/_size/base.js +0 -8
  420. package/emotion/cjs/components/Select/variations/_size/tokens.json +0 -9
  421. package/emotion/cjs/components/Select/variations/_view/base.js +0 -8
  422. package/emotion/cjs/components/Select/variations/_view/tokens.json +0 -1
  423. package/emotion/es/components/Select/reducers/focusedChipIndexReducer.js +0 -32
  424. package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +0 -28
  425. package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +0 -15
  426. package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/index.js +0 -1
  427. package/emotion/es/components/Select/variations/_size/base.js +0 -2
  428. package/emotion/es/components/Select/variations/_size/tokens.json +0 -9
  429. package/emotion/es/components/Select/variations/_view/base.js +0 -2
  430. package/emotion/es/components/Select/variations/_view/tokens.json +0 -1
  431. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_1fesyfv.css +0 -3
  432. package/es/components/Select/Select.styles_768h42.css +0 -5
  433. package/es/components/Select/reducers/focusedChipIndexReducer.js +0 -35
  434. package/es/components/Select/reducers/focusedChipIndexReducer.js.map +0 -1
  435. package/es/components/Select/ui/Inner/ui/Item/Item.styles_8oe5oy.css +0 -9
  436. package/es/components/Select/ui/Target/ui/Button/Button.styles_lxxm4p.css +0 -5
  437. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles_1damf5p.css +0 -12
  438. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.css +0 -21
  439. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +0 -32
  440. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js.map +0 -1
  441. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +0 -18
  442. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +0 -1
  443. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles_1a752pa.css +0 -1
  444. package/es/components/Select/variations/_size/base.js +0 -5
  445. package/es/components/Select/variations/_size/base.js.map +0 -1
  446. package/es/components/Select/variations/_size/base_x642ct.css +0 -1
  447. package/es/components/Select/variations/_view/base.js +0 -5
  448. package/es/components/Select/variations/_view/base.js.map +0 -1
  449. package/es/components/Select/variations/_view/base_x642ct.css +0 -1
  450. package/es/components/TextField/variations/_label-placement/base_3domm.css +0 -1
  451. package/styled-components/cjs/components/Select/reducers/focusedChipIndexReducer.js +0 -38
  452. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +0 -37
  453. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +0 -21
  454. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/index.js +0 -16
  455. package/styled-components/cjs/components/Select/variations/_size/base.js +0 -8
  456. package/styled-components/cjs/components/Select/variations/_size/tokens.json +0 -9
  457. package/styled-components/cjs/components/Select/variations/_view/base.js +0 -8
  458. package/styled-components/cjs/components/Select/variations/_view/tokens.json +0 -1
  459. package/styled-components/es/components/Select/reducers/focusedChipIndexReducer.js +0 -32
  460. package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +0 -28
  461. package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +0 -14
  462. package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/index.js +0 -1
  463. package/styled-components/es/components/Select/variations/_size/base.js +0 -2
  464. package/styled-components/es/components/Select/variations/_size/tokens.json +0 -9
  465. package/styled-components/es/components/Select/variations/_view/base.js +0 -2
  466. package/styled-components/es/components/Select/variations/_view/tokens.json +0 -1
  467. package/types/components/Select/reducers/focusedChipIndexReducer.d.ts +0 -11
  468. package/types/components/Select/reducers/focusedChipIndexReducer.d.ts.map +0 -1
  469. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.d.ts +0 -9
  470. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.d.ts.map +0 -1
  471. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.d.ts +0 -3
  472. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.d.ts.map +0 -1
  473. package/types/components/Select/ui/Target/ui/Textfield/ui/index.d.ts +0 -2
  474. package/types/components/Select/ui/Target/ui/Textfield/ui/index.d.ts.map +0 -1
  475. package/types/components/Select/variations/_size/base.d.ts +0 -2
  476. package/types/components/Select/variations/_size/base.d.ts.map +0 -1
  477. package/types/components/Select/variations/_view/base.d.ts +0 -2
  478. package/types/components/Select/variations/_view/base.d.ts.map +0 -1
@@ -10,14 +10,14 @@ var Button = /*#__PURE__*/component(mergedButtonConfig);
10
10
  export var StyledButton = /*#__PURE__*/_styled(Button, {
11
11
  target: "erms21c4",
12
12
  label: "plasma-new-hope__StyledButton"
13
- })(buttonTokens.buttonColor, ":var(", tokens.targetButtonColor, ");", buttonTokens.buttonColorHover, ":var(", tokens.targetButtonColorHover, ");", buttonTokens.buttonColorActive, ":var(", tokens.targetButtonColorActive, ");", buttonTokens.buttonBackgroundColor, ":var(", tokens.targetButtonBackgroundColor, ");", buttonTokens.buttonBackgroundColorHover, ":var(", tokens.targetButtonBackgroundColorHover, ");", buttonTokens.buttonBackgroundColorActive, ":var(", tokens.targetButtonBackgroundColorActive, ");", buttonTokens.buttonRightContentMargin, ":var(", tokens.targetButtonArrowMargin, ");", buttonTokens.buttonHeight, ":", function (_ref) {
13
+ })(buttonTokens.buttonColor, ":var(", tokens.buttonColor, ");", buttonTokens.buttonColorHover, ":var(", tokens.buttonColorHover, ");", buttonTokens.buttonColorActive, ":var(", tokens.buttonColorActive, ");", buttonTokens.buttonBackgroundColor, ":var(", tokens.buttonBackgroundColor, ");", buttonTokens.buttonBackgroundColorHover, ":var(", tokens.buttonBackgroundColorHover, ");", buttonTokens.buttonBackgroundColorActive, ":var(", tokens.buttonBackgroundColorActive, ");", buttonTokens.buttonRightContentMargin, ":var(", tokens.buttonArrowMargin, ");", buttonTokens.buttonHeight, ":", function (_ref) {
14
14
  var renderTarget = _ref.renderTarget;
15
15
  return renderTarget ? 'auto' : "var(".concat(tokens.targetHeight, ")");
16
- }, ";", buttonTokens.buttonWidth, ":100%;", buttonTokens.buttonPadding, ":var(", tokens.targetButtonPadding, ");", buttonTokens.buttonRadius, ":var(", tokens.borderRadius, ");", buttonTokens.buttonFontFamily, ":var(", tokens.fontFamily, ");", buttonTokens.buttonFontSize, ":var(", tokens.fontSize, ");", buttonTokens.buttonFontStyle, ":var(", tokens.fontStyle, ");", buttonTokens.buttonFontWeight, ":600;", buttonTokens.buttonLetterSpacing, ":var(", tokens.fontLetterSpacing, ");", buttonTokens.buttonLineHeight, ":var(", tokens.fontLineHeight, ");", buttonTokens.buttonDisabledOpacity, ":", constants.opacity, ";", buttonTokens.buttonFocusColor, ":var(", constants.focusColor, ");text-align:left;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2VsZWN0L3VpL1RhcmdldC91aS9CdXR0b24vQnV0dG9uLnN0eWxlcy50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBV3FFIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2VsZWN0L3VpL1RhcmdldC91aS9CdXR0b24vQnV0dG9uLnN0eWxlcy50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltc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wcGVyID0gc3R5bGVkLmRpdmBcbiAgICBkaXNwbGF5OiBpbmxpbmU7XG5cbiAgICAuJHtjbGFzc2VzLnNlbGVjdFdpdGhvdXRCb3hTaGFkb3d9OjpiZWZvcmUge1xuICAgICAgICBib3gtc2hhZG93OiBub25lICFpbXBvcnRhbnQ7XG4gICAgfVxuXG4gICAgLiR7Y2xhc3Nlcy5hcnJvd0ludmVyc2V9IHtcbiAgICAgICAgdHJhbnNmb3JtOiByb3RhdGUoLTE4MGRlZyk7XG4gICAgfVxuYDtcblxuZXhwb3J0IGNvbnN0IExhYmVsID0gc3R5bGVkLmRpdmBcbiAgICBkaXNwbGF5OiBpbmxpbmU7XG4gICAgd2lkdGg6IDEwMCU7XG4gICAgdGV4dC1hbGlnbjogbGVmdDtcblxuICAgICR7YXBwbHlFbGxpcHNpcygpfVxuYDtcbiJdfQ== */"));
16
+ }, ";", buttonTokens.buttonWidth, ":100%;", buttonTokens.buttonPadding, ":var(", tokens.buttonPadding, ");", buttonTokens.buttonRadius, ":var(", tokens.borderRadius, ");", buttonTokens.buttonFontFamily, ":var(", tokens.fontFamily, ");", buttonTokens.buttonFontSize, ":var(", tokens.fontSize, ");", buttonTokens.buttonFontStyle, ":var(", tokens.fontStyle, ");", buttonTokens.buttonFontWeight, ":600;", buttonTokens.buttonLetterSpacing, ":var(", tokens.fontLetterSpacing, ");", buttonTokens.buttonLineHeight, ":var(", tokens.fontLineHeight, ");", buttonTokens.buttonDisabledOpacity, ":", constants.opacity, ";", buttonTokens.buttonFocusColor, ":var(", constants.focusColor, ");text-align:left;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2VsZWN0L3VpL1RhcmdldC91aS9CdXR0b24vQnV0dG9uLnN0eWxlcy50c3giXSwibmFtZXMi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b3IgMC4zcyBlYXNlLWluLCB0cmFuc2Zvcm0gMC4xNXMgZWFzZS1pbjtcbiAgICBwb2ludGVyLWV2ZW50czogbm9uZTtcbiAgICB1c2VyLXNlbGVjdDogbm9uZTtcbmA7XG5cbmV4cG9ydCBjb25zdCBCdXR0b25XcmFwcGVyID0gc3R5bGVkLmRpdmBcbiAgICBkaXNwbGF5OiBpbmxpbmU7XG5cbiAgICAuJHtjbGFzc2VzLnNlbGVjdFdpdGhvdXRCb3hTaGFkb3d9OjpiZWZvcmUge1xuICAgICAgICBib3gtc2hhZG93OiBub25lICFpbXBvcnRhbnQ7XG4gICAgfVxuXG4gICAgLiR7Y2xhc3Nlcy5hcnJvd0ludmVyc2V9IHtcbiAgICAgICAgdHJhbnNmb3JtOiByb3RhdGUoLTE4MGRlZyk7XG4gICAgfVxuYDtcblxuZXhwb3J0IGNvbnN0IExhYmVsID0gc3R5bGVkLmRpdmBcbiAgICBkaXNwbGF5OiBpbmxpbmU7XG4gICAgd2lkdGg6IDEwMCU7XG4gICAgdGV4dC1hbGlnbjogbGVmdDtcblxuICAgICR7YXBwbHlFbGxpcHNpcygpfVxuYDtcbiJdfQ== */"));
17
17
  export var IconArrowWrapper = /*#__PURE__*/_styled("div", {
18
18
  target: "erms21c3",
19
19
  label: "plasma-new-hope__IconArrowWrapper"
20
- })("line-height:0;color:var(", tokens.targetButtonArrowColor, ");&:hover{color:var(", tokens.targetButtonArrowColorHover, ");}&:active{color:var(", tokens.targetButtonArrowColorActive, ");}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2VsZWN0L3VpL1RhcmdldC91aS9CdXR0b24vQnV0dG9uLnN0eWxlcy50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBa0MwQyIsImZpb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oSWNvbkRpc2Nsb3N1cmVEb3duQ2VudGVyZWQpYFxuICAgIHRyYW5zaXRpb246IGNvbG9yIDAuM3MgZWFzZS1pbiwgdHJhbnNmb3JtIDAuMTVzIGVhc2UtaW47XG4gICAgcG9pbnRlci1ldmVudHM6IG5vbmU7XG4gICAgdXNlci1zZWxlY3Q6IG5vbmU7XG5gO1xuXG5leHBvcnQgY29uc3QgQnV0dG9uV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gICAgZGlzcGxheTogaW5saW5lO1xuXG4gICAgLiR7Y2xhc3Nlcy5zZWxlY3RXaXRob3V0Qm94U2hhZG93fTo6YmVmb3JlIHtcbiAgICAgICAgYm94LXNoYWRvdzogbm9uZSAhaW1wb3J0YW50O1xuICAgIH1cblxuICAgIC4ke2NsYXNzZXMuYXJyb3dJbnZlcnNlfSB7XG4gICAgICAgIHRyYW5zZm9ybTogcm90YXRlKC0xODBkZWcpO1xuICAgIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBMYWJlbCA9IHN0eWxlZC5kaXZgXG4gICAgZGlzcGxheTogaW5saW5lO1xuICAgIHdpZHRoOiAxMDAlO1xuICAgIHRleHQtYWxpZ246IGxlZnQ7XG5cbiAgICAke2FwcGx5RWxsaXBzaXMoKX1cbmA7XG4iXX0= */"));
20
+ })("line-height:0;color:var(", tokens.buttonArrowColor, ");&:hover{color:var(", tokens.buttonArrowColorHover, ");}&:active{color:var(", tokens.buttonArrowColorActive, ");}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2VsZWN0L3VpL1RhcmdldC91aS9CdXR0b24vQnV0dG9uLnN0eWxlcy50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBa0MwQyIsImZpbGUiOiIuLi8uLi8uLi8uLi8u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hc2UtaW47XG4gICAgcG9pbnRlci1ldmVudHM6IG5vbmU7XG4gICAgdXNlci1zZWxlY3Q6IG5vbmU7XG5gO1xuXG5leHBvcnQgY29uc3QgQnV0dG9uV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gICAgZGlzcGxheTogaW5saW5lO1xuXG4gICAgLiR7Y2xhc3Nlcy5zZWxlY3RXaXRob3V0Qm94U2hhZG93fTo6YmVmb3JlIHtcbiAgICAgICAgYm94LXNoYWRvdzogbm9uZSAhaW1wb3J0YW50O1xuICAgIH1cblxuICAgIC4ke2NsYXNzZXMuYXJyb3dJbnZlcnNlfSB7XG4gICAgICAgIHRyYW5zZm9ybTogcm90YXRlKC0xODBkZWcpO1xuICAgIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBMYWJlbCA9IHN0eWxlZC5kaXZgXG4gICAgZGlzcGxheTogaW5saW5lO1xuICAgIHdpZHRoOiAxMDAlO1xuICAgIHRleHQtYWxpZ246IGxlZnQ7XG5cbiAgICAke2FwcGx5RWxsaXBzaXMoKX1cbmA7XG4iXX0= */"));
21
21
  export var StyledArrow = /*#__PURE__*/_styled(IconDisclosureDownCentered, {
22
22
  target: "erms21c2",
23
23
  label: "plasma-new-hope__StyledArrow"
@@ -27,14 +27,14 @@ export var StyledArrow = /*#__PURE__*/_styled(IconDisclosureDownCentered, {
27
27
  } : {
28
28
  name: "1dh8ze3",
29
29
  styles: "transition:color 0.3s ease-in,transform 0.15s ease-in;pointer-events:none;user-select:none",
30
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2VsZWN0L3VpL1RhcmdldC91aS9CdXR0b24vQnV0dG9uLnN0eWxlcy50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBK0M2RCIsImZpbGUiOiIuLi8uLi8uLi8uLi8uL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aXZgXG4gICAgZGlzcGxheTogaW5saW5lO1xuXG4gICAgLiR7Y2xhc3Nlcy5zZWxlY3RXaXRob3V0Qm94U2hhZG93fTo6YmVmb3JlIHtcbiAgICAgICAgYm94LXNoYWRvdzogbm9uZSAhaW1wb3J0YW50O1xuICAgIH1cblxuICAgIC4ke2NsYXNzZXMuYXJyb3dJbnZlcnNlfSB7XG4gICAgICAgIHRyYW5zZm9ybTogcm90YXRlKC0xODBkZWcpO1xuICAgIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBMYWJlbCA9IHN0eWxlZC5kaXZgXG4gICAgZGlzcGxheTogaW5saW5lO1xuICAgIHdpZHRoOiAxMDAlO1xuICAgIHRleHQtYWxpZ246IGxlZnQ7XG5cbiAgICAke2FwcGx5RWxsaXBzaXMoKX1cbmA7XG4iXX0= */",
31
31
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
32
32
  });
33
33
  export var ButtonWrapper = /*#__PURE__*/_styled("div", {
34
34
  target: "erms21c1",
35
35
  label: "plasma-new-hope__ButtonWrapper"
36
- })("display:inline;.", classes.selectWithoutBoxShadow, "::before{box-shadow:none!important;}.", classes.arrowInverse, "{transform:rotate(-180deg);}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2VsZWN0L3VpL1RhcmdldC91aS9CdXR0b24vQnV0dG9uLnN0eWxlcy50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBcUR1QyIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1NlbGVjdC91aS9UYXJnZXQvdWkvQnV0dG9uL0J1dHRvbi5zdHlsZXMudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0e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1zZWxlY3Q6IG5vbmU7XG5gO1xuXG5leHBvcnQgY29uc3QgQnV0dG9uV3JhcHBlciA9IHN0eWxlZC5kaXZgXG4gICAgZGlzcGxheTogaW5saW5lO1xuXG4gICAgLiR7Y2xhc3Nlcy5zZWxlY3RXaXRob3V0Qm94U2hhZG93fTo6YmVmb3JlIHtcbiAgICAgICAgYm94LXNoYWRvdzogbm9uZSAhaW1wb3J0YW50O1xuICAgIH1cblxuICAgIC4ke2NsYXNzZXMuYXJyb3dJbnZlcnNlfSB7XG4gICAgICAgIHRyYW5zZm9ybTogcm90YXRlKC0xODBkZWcpO1xuICAgIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBMYWJlbCA9IHN0eWxlZC5kaXZgXG4gICAgZGlzcGxheTogaW5saW5lO1xuICAgIHdpZHRoOiAxMDAlO1xuICAgIHRleHQtYWxpZ246IGxlZnQ7XG5cbiAgICAke2FwcGx5RWxsaXBzaXMoKX1cbmA7XG4iXX0= */"));
36
+ })("display:inline;.", classes.selectWithoutBoxShadow, "::before{box-shadow:none!important;}.", classes.arrowInverse, "{transform:rotate(-180deg);}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2VsZWN0L3VpL1RhcmdldC91aS9CdXR0b24vQnV0dG9uLnN0eWxlcy50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBcUR1QyIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1NlbGVjdC91aS9UYXJnZXQvdWkvQnV0dG9uL0J1dHRvbi5zdHlsZXMudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuX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3Nlcy5zZWxlY3RXaXRob3V0Qm94U2hhZG93fTo6YmVmb3JlIHtcbiAgICAgICAgYm94LXNoYWRvdzogbm9uZSAhaW1wb3J0YW50O1xuICAgIH1cblxuICAgIC4ke2NsYXNzZXMuYXJyb3dJbnZlcnNlfSB7XG4gICAgICAgIHRyYW5zZm9ybTogcm90YXRlKC0xODBkZWcpO1xuICAgIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBMYWJlbCA9IHN0eWxlZC5kaXZgXG4gICAgZGlzcGxheTogaW5saW5lO1xuICAgIHdpZHRoOiAxMDAlO1xuICAgIHRleHQtYWxpZ246IGxlZnQ7XG5cbiAgICAke2FwcGx5RWxsaXBzaXMoKX1cbmA7XG4iXX0= */"));
37
37
  export var Label = /*#__PURE__*/_styled("div", {
38
38
  target: "erms21c0",
39
39
  label: "plasma-new-hope__Label"
40
- })("display:inline;width:100%;text-align:left;", /*#__PURE__*/applyEllipsis(), ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2VsZWN0L3VpL1RhcmdldC91aS9CdXR0b24vQnV0dG9uLnN0eWxlcy50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBaUUrQiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1NlbGVjdC91aS9UYXJnZXQvdWkvQnV0dG9uL0J1dHRvbi5zdHlsZXMudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyBhcHBseUVsbGlwc2lzIH0gZnJvbSAnLi4vLi4vLi4vLi4vLi4vLi4vbWl4aW5zJztcbmltcG9ydCB7I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lcy5zZWxlY3RXaXRob3V0Qm94U2hhZG93fTo6YmVmb3JlIHtcbiAgICAgICAgYm94LXNoYWRvdzogbm9uZSAhaW1wb3J0YW50O1xuICAgIH1cblxuICAgIC4ke2NsYXNzZXMuYXJyb3dJbnZlcnNlfSB7XG4gICAgICAgIHRyYW5zZm9ybTogcm90YXRlKC0xODBkZWcpO1xuICAgIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBMYWJlbCA9IHN0eWxlZC5kaXZgXG4gICAgZGlzcGxheTogaW5saW5lO1xuICAgIHdpZHRoOiAxMDAlO1xuICAgIHRleHQtYWxpZ246IGxlZnQ7XG5cbiAgICAke2FwcGx5RWxsaXBzaXMoKX1cbmA7XG4iXX0= */"));
40
+ })("display:inline;width:100%;text-align:left;", /*#__PURE__*/applyEllipsis(), ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2VsZWN0L3VpL1RhcmdldC91aS9CdXR0b24vQnV0dG9uLnN0eWxlcy50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBaUUrQiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1NlbGVjdC91aS9UYXJnZXQvdWkvQnV0dG9uL0J1dHRvbi5zdHlsZXMudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyBhcHBseUVsbGlwc2lzIH0gZnJvbSAnLi4vLi4vLi4vLi4vLi4vLi4vbWl4aW5zJztcbmltcG9ydCB7IEljb25EaXNjbG9zdXJlRG93bkNlbnRlcmVkIH0gZnJvbSAnLi4vLi4vLi4vLi4vLi4vX0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gIHRyYW5zZm9ybTogcm90YXRlKC0xODBkZWcpO1xuICAgIH1cbmA7XG5cbmV4cG9ydCBjb25zdCBMYWJlbCA9IHN0eWxlZC5kaXZgXG4gICAgZGlzcGxheTogaW5saW5lO1xuICAgIHdpZHRoOiAxMDAlO1xuICAgIHRleHQtYWxpZ246IGxlZnQ7XG5cbiAgICAke2FwcGx5RWxsaXBzaXMoKX1cbmA7XG4iXX0= */"));
@@ -1,109 +1,96 @@
1
- import React from 'react';
2
- import { cx, isEmpty } from '../../../../../../utils';
1
+ function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+ import React, { forwardRef } from 'react';
3
+ import { sizeToIconSize, getItemId } from '../../../../utils';
3
4
  import { classes } from '../../../../Select.tokens';
4
- import { sizeToIconSize } from '../../../../utils';
5
- import { Chip } from './ui';
6
- import { StyledButton, StyledArrow, Wrapper, ChipWrapper, TextfieldWrapper, IconArrowWrapper, Label, Placeholder, InnerLabel, InnerLabelWrapper, ContentLeftWrapper, Value } from './Textfield.styles';
7
- var getLabel = function getLabel(_ref) {
8
- var value = _ref.value,
9
- isTargetAmount = _ref.isTargetAmount,
10
- valueToItemMap = _ref.valueToItemMap,
11
- onChipClick = _ref.onChipClick,
5
+ import { IconArrowWrapper, StyledArrow, StyledTextField } from './Textfield.styles';
6
+ export var Textfield = /*#__PURE__*/forwardRef(function (_ref, ref) {
7
+ var _valueToItemMap$get;
8
+ var inputWrapperRef = _ref.inputWrapperRef,
9
+ opened = _ref.opened,
10
+ multiselect = _ref.multiselect,
11
+ value = _ref.value,
12
12
  label = _ref.label,
13
13
  placeholder = _ref.placeholder,
14
- focusedChipIndex = _ref.focusedChipIndex,
14
+ onKeyDown = _ref.onKeyDown,
15
15
  labelPlacement = _ref.labelPlacement,
16
16
  size = _ref.size,
17
- renderValue = _ref.renderValue;
18
- if (isEmpty(value) && typeof value !== 'number') {
19
- if (!label || labelPlacement === 'outer') {
20
- return /*#__PURE__*/React.createElement(Placeholder, null, placeholder);
21
- }
22
- return /*#__PURE__*/React.createElement(Label, null, label);
23
- }
24
- if (Array.isArray(value) && isTargetAmount) {
25
- return /*#__PURE__*/React.createElement(Chip, {
26
- text: "\u0412\u044B\u0431\u0440\u0430\u043D\u043E: ".concat(value.length),
27
- isTargetAmount: isTargetAmount
28
- });
29
- }
30
- if (Array.isArray(value)) {
31
- return value.map(function (currentValue, index) {
32
- var itemLabel = valueToItemMap.get(currentValue).label;
33
- return /*#__PURE__*/React.createElement(Chip, {
34
- text: renderValue ? renderValue(valueToItemMap.get(currentValue)) : itemLabel,
35
- onClick: function onClick(e) {
36
- e.stopPropagation();
37
- onChipClick(currentValue.toString());
38
- },
39
- focused: focusedChipIndex === index
40
- });
41
- });
42
- }
43
- var itemLabel = valueToItemMap.get(value).label;
44
- if (!label || labelPlacement === 'outer') {
45
- return /*#__PURE__*/React.createElement(Value, null, renderValue ? renderValue(valueToItemMap.get(value)) : itemLabel);
46
- }
47
- return /*#__PURE__*/React.createElement(InnerLabelWrapper, null, size !== 'xs' && /*#__PURE__*/React.createElement(InnerLabel, null, label), /*#__PURE__*/React.createElement(Value, null, renderValue ? renderValue(valueToItemMap.get(value)) : itemLabel));
48
- };
49
- export var Textfield = function Textfield(_ref2) {
50
- var opened = _ref2.opened,
51
- value = _ref2.value,
52
- valueToItemMap = _ref2.valueToItemMap,
53
- onChipClick = _ref2.onChipClick,
54
- label = _ref2.label,
55
- placeholder = _ref2.placeholder,
56
- onKeyDown = _ref2.onKeyDown,
57
- focusedChipIndex = _ref2.focusedChipIndex,
58
- labelPlacement = _ref2.labelPlacement,
59
- size = _ref2.size,
60
- contentLeft = _ref2.contentLeft,
61
- disabled = _ref2.disabled,
62
- renderValue = _ref2.renderValue,
63
- focusedPath = _ref2.focusedPath,
64
- focusedToValueMap = _ref2.focusedToValueMap,
65
- selectProps = _ref2.selectProps;
17
+ view = _ref.view,
18
+ handleClickArrow = _ref.handleClickArrow,
19
+ contentLeft = _ref.contentLeft,
20
+ helperText = _ref.helperText,
21
+ treeId = _ref.treeId,
22
+ activeDescendantItemValue = _ref.activeDescendantItemValue,
23
+ disabled = _ref.disabled,
24
+ isTargetAmount = _ref.isTargetAmount,
25
+ valueToItemMap = _ref.valueToItemMap,
26
+ renderValue = _ref.renderValue,
27
+ onChange = _ref.onChange,
28
+ labelToItemMap = _ref.labelToItemMap,
29
+ chipView = _ref.chipView;
66
30
  var withArrowInverse = opened ? classes.arrowInverse : undefined;
67
- var getActiveDescendant = function getActiveDescendant() {
68
- var _focusedToValueMap$ge;
69
- var focusedPathAsString = focusedPath.reduce(function (acc, n) {
70
- return "".concat(acc, "/").concat(n);
71
- }, '').replace(/^(\/)/, '');
72
- return focusedToValueMap === null || focusedToValueMap === void 0 || (_focusedToValueMap$ge = focusedToValueMap.get(focusedPathAsString)) === null || _focusedToValueMap$ge === void 0 ? void 0 : _focusedToValueMap$ge.value.toString();
31
+ var getChips = function getChips() {
32
+ if (multiselect && Array.isArray(value)) {
33
+ if (value.length === 0) return [];
34
+ if (isTargetAmount) {
35
+ return ["\u0412\u044B\u0431\u0440\u0430\u043D\u043E ".concat(value.length)];
36
+ }
37
+ var renderValueMapper = renderValue && function (stringValue) {
38
+ return renderValue(valueToItemMap.get(stringValue));
39
+ };
40
+ var valueToItemMapper = function valueToItemMapper(stringValue) {
41
+ return valueToItemMap.get(stringValue).label;
42
+ };
43
+ return value.map(renderValueMapper || valueToItemMapper);
44
+ }
45
+ return [];
73
46
  };
74
- return /*#__PURE__*/React.createElement(TextfieldWrapper, {
75
- opened: opened,
76
- value: value
77
- }, /*#__PURE__*/React.createElement(StyledButton, {
78
- stretching: "filled",
79
- className: cx(classes.textfieldTarget, opened || focusedChipIndex !== null ? classes.selectWithoutBoxShadow : undefined),
80
- onKeyDown: onKeyDown,
47
+
48
+ // Обработчик чипов
49
+ var handleChipsChange = function handleChipsChange(chipLabels) {
50
+ onChange(chipLabels.map(function (chipLabel) {
51
+ return labelToItemMap.get(chipLabel).value;
52
+ }));
53
+ };
54
+ return /*#__PURE__*/React.createElement(StyledTextField, _extends({
55
+ ref: ref,
56
+ inputWrapperRef: inputWrapperRef,
57
+ readOnly: true,
58
+ value: multiselect ? undefined : ((_valueToItemMap$get = valueToItemMap.get(value.toString())) === null || _valueToItemMap$get === void 0 ? void 0 : _valueToItemMap$get.label) || '',
59
+ size: size,
60
+ view: view,
61
+ chipView: chipView,
62
+ labelPlacement: labelPlacement,
81
63
  disabled: disabled,
64
+ label: label,
65
+ placeholder: value instanceof Array && value.length ? '' : placeholder,
66
+ contentLeft: contentLeft,
67
+ contentRight: /*#__PURE__*/React.createElement(IconArrowWrapper, {
68
+ disabled: Boolean(disabled),
69
+ onClick: handleClickArrow
70
+ }, /*#__PURE__*/React.createElement(StyledArrow, {
71
+ color: "inherit",
72
+ size: sizeToIconSize(size),
73
+ className: withArrowInverse
74
+ })),
75
+ onKeyDown: onKeyDown,
76
+ leftHelper: helperText,
82
77
  role: "combobox",
83
- "aria-controls": "tree_level_1",
78
+ "aria-autocomplete": "list",
79
+ "aria-controls": "".concat(treeId, "_tree_level_1"),
84
80
  "aria-expanded": opened,
85
- "aria-activedescendant": getActiveDescendant(),
86
- "aria-label": label,
87
- renderTarget: Boolean(selectProps.renderTarget)
88
- }, /*#__PURE__*/React.createElement(Wrapper, null, selectProps !== null && selectProps !== void 0 && selectProps.renderTarget ? selectProps.renderTarget(Array.isArray(value) ? value.map(function (value) {
89
- return valueToItemMap.get(value);
90
- }) : valueToItemMap.get(value)) : /*#__PURE__*/React.createElement(React.Fragment, null, contentLeft && (!selectProps.multiselect || isEmpty(value)) && /*#__PURE__*/React.createElement(ContentLeftWrapper, null, contentLeft), /*#__PURE__*/React.createElement(ChipWrapper, {
91
- multiselect: selectProps.multiselect,
92
- value: value
93
- }, getLabel({
94
- value: value,
95
- valueToItemMap: valueToItemMap,
96
- onChipClick: onChipClick,
97
- focusedChipIndex: focusedChipIndex,
98
- label: label,
99
- labelPlacement: labelPlacement,
100
- placeholder: placeholder,
101
- isTargetAmount: selectProps.isTargetAmount,
102
- renderValue: renderValue,
103
- size: size
104
- }))), /*#__PURE__*/React.createElement(IconArrowWrapper, null, /*#__PURE__*/React.createElement(StyledArrow, {
105
- size: sizeToIconSize(size),
106
- color: "inherit",
107
- className: cx(classes.selectTargetArrow, withArrowInverse)
108
- })))));
109
- };
81
+ "aria-activedescendant": activeDescendantItemValue ? getItemId(treeId, activeDescendantItemValue) : ''
82
+ }, multiselect ? {
83
+ enumerationType: 'chip',
84
+ chips: getChips(),
85
+ onChangeChips: handleChipsChange
86
+ } : {
87
+ enumerationType: 'plain'
88
+ }, {
89
+ onEnterDisabled: true // Пропс для отключения обработчика Enter внутри Textfield
90
+ ,
91
+ opened: opened
92
+ // TODO: #1547
93
+ ,
94
+ _forceChipManipulationWithReadonly: true
95
+ }));
96
+ });