@salutejs/plasma-new-hope 0.187.1-canary.1517.11744378817.0 → 0.188.0-canary.1550.11768426274.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (555) 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_xyln0f.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/Steps/Steps.css +10 -10
  76. package/cjs/components/Steps/Steps.js +14 -21
  77. package/cjs/components/Steps/Steps.js.map +1 -1
  78. package/cjs/components/Steps/Steps.styles.js +1 -1
  79. package/cjs/components/Steps/Steps.styles.js.map +1 -1
  80. package/cjs/components/Steps/{Steps.styles_wa45kj.css → Steps.styles_1xmqxqu.css} +1 -1
  81. package/cjs/components/Steps/Steps.tokens.js +0 -1
  82. package/cjs/components/Steps/Steps.tokens.js.map +1 -1
  83. package/cjs/components/Steps/ui/StepItem/StepItem.css +9 -9
  84. package/cjs/components/Steps/ui/StepItem/StepItem.js +7 -29
  85. package/cjs/components/Steps/ui/StepItem/StepItem.js.map +1 -1
  86. package/cjs/components/Steps/ui/StepItem/StepItem.styles.js +6 -6
  87. package/cjs/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
  88. package/cjs/components/Steps/ui/StepItem/StepItem.styles_sp9rcd.css +9 -0
  89. package/cjs/components/TextField/TextField.js +7 -0
  90. package/cjs/components/TextField/TextField.js.map +1 -1
  91. package/cjs/components/TextField/TextField.styles.js +14 -22
  92. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  93. package/{es/components/TextField/TextField.styles_grgg7q.css → cjs/components/TextField/TextField.styles_j7dqpn.css} +6 -7
  94. package/cjs/components/TextField/ui/Hint/Hint.css +20 -21
  95. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +7 -1
  96. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  97. package/cjs/components/TextField/variations/_clear/base.js +1 -1
  98. package/cjs/components/TextField/variations/_clear/{base_1i91sjp.css → base_1396md2.css} +1 -1
  99. package/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  100. package/cjs/components/TextField/variations/_label-placement/base_gttvto.css +1 -0
  101. package/cjs/components/TextField/variations/_read-only/base.js +1 -1
  102. package/cjs/components/TextField/variations/_read-only/{base_17ypmu7.css → base_1jvcf9a.css} +1 -1
  103. package/cjs/components/TextField/variations/_size/base.js +1 -1
  104. package/cjs/components/TextField/variations/_size/{base_1xdmaqh.css → base_1tei47x.css} +1 -1
  105. package/cjs/components/TextField/variations/_view/base.js +1 -1
  106. package/cjs/components/TextField/variations/_view/{base_qhyte8.css → base_8ogww5.css} +1 -1
  107. package/cjs/index.css +57 -72
  108. package/emotion/cjs/components/Chip/Chip.js +3 -1
  109. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +0 -1
  110. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  111. package/emotion/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +19 -5
  112. package/emotion/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +1 -50
  113. package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  114. package/emotion/cjs/components/Select/FloatingPopover.js +91 -0
  115. package/emotion/cjs/components/Select/Select.js +177 -136
  116. package/emotion/cjs/components/Select/Select.styles.js +13 -31
  117. package/emotion/cjs/components/Select/Select.tokens.js +125 -60
  118. package/emotion/cjs/components/Select/hooks/useKeyboardNavigation.js +19 -73
  119. package/emotion/cjs/components/Select/hooks/usePathMaps.js +4 -1
  120. package/emotion/cjs/components/Select/reducers/index.js +0 -11
  121. package/emotion/cjs/components/Select/ui/Inner/Inner.js +9 -9
  122. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.js +15 -12
  123. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +26 -49
  124. package/emotion/cjs/components/Select/ui/Target/Target.js +38 -18
  125. package/emotion/cjs/components/Select/ui/Target/ui/Button/Button.js +13 -16
  126. package/emotion/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +6 -6
  127. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +88 -99
  128. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +25 -75
  129. package/emotion/cjs/components/Select/utils/getFallbackPlacements.js +14 -0
  130. package/emotion/cjs/components/Select/utils/getItemId.js +9 -0
  131. package/emotion/cjs/components/Select/utils/getPlacement.js +12 -0
  132. package/emotion/cjs/components/Select/utils/getView.js +2 -2
  133. package/emotion/cjs/components/Select/utils/index.js +22 -1
  134. package/emotion/cjs/components/Steps/Steps.js +14 -23
  135. package/emotion/cjs/components/Steps/Steps.styles.js +1 -1
  136. package/emotion/cjs/components/Steps/Steps.tokens.js +0 -1
  137. package/emotion/cjs/components/Steps/ui/StepItem/StepItem.js +7 -29
  138. package/emotion/cjs/components/Steps/ui/StepItem/StepItem.styles.js +11 -22
  139. package/emotion/cjs/components/TextField/TextField.js +8 -1
  140. package/emotion/cjs/components/TextField/TextField.styles.js +36 -40
  141. package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +7 -1
  142. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  143. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.config.js +28 -20
  144. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +47 -40
  145. package/emotion/cjs/examples/plasma_b2c/components/Steps/Steps.config.js +5 -5
  146. package/emotion/cjs/examples/plasma_b2c/components/Steps/Steps.stories.tsx +1 -1
  147. package/emotion/cjs/examples/plasma_web/components/Select/Select.config.js +28 -20
  148. package/emotion/cjs/examples/plasma_web/components/Select/Select.stories.tsx +47 -40
  149. package/emotion/cjs/examples/plasma_web/components/Steps/Steps.config.js +5 -5
  150. package/emotion/cjs/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
  151. package/emotion/es/components/Chip/Chip.js +3 -1
  152. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +0 -1
  153. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  154. package/emotion/es/components/Combobox/ComboboxNew/FloatingPopover.js +18 -4
  155. package/emotion/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +1 -50
  156. package/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  157. package/emotion/es/components/Select/FloatingPopover.js +84 -0
  158. package/emotion/es/components/Select/Select.js +182 -141
  159. package/emotion/es/components/Select/Select.styles.js +12 -30
  160. package/emotion/es/components/Select/Select.tokens.js +125 -60
  161. package/emotion/es/components/Select/hooks/useKeyboardNavigation.js +18 -72
  162. package/emotion/es/components/Select/hooks/usePathMaps.js +4 -1
  163. package/emotion/es/components/Select/reducers/index.js +1 -2
  164. package/emotion/es/components/Select/ui/Inner/Inner.js +10 -10
  165. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.js +18 -15
  166. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.styles.js +25 -48
  167. package/emotion/es/components/Select/ui/Target/Target.js +35 -17
  168. package/emotion/es/components/Select/ui/Target/ui/Button/Button.js +11 -16
  169. package/emotion/es/components/Select/ui/Target/ui/Button/Button.styles.js +6 -6
  170. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +86 -99
  171. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +25 -75
  172. package/emotion/es/components/Select/utils/getFallbackPlacements.js +8 -0
  173. package/emotion/es/components/Select/utils/getItemId.js +3 -0
  174. package/emotion/es/components/Select/utils/getPlacement.js +6 -0
  175. package/emotion/es/components/Select/utils/getView.js +2 -2
  176. package/emotion/es/components/Select/utils/index.js +4 -1
  177. package/emotion/es/components/Steps/Steps.js +15 -24
  178. package/emotion/es/components/Steps/Steps.styles.js +1 -1
  179. package/emotion/es/components/Steps/Steps.tokens.js +0 -1
  180. package/emotion/es/components/Steps/ui/StepItem/StepItem.js +7 -29
  181. package/emotion/es/components/Steps/ui/StepItem/StepItem.styles.js +11 -22
  182. package/emotion/es/components/TextField/TextField.js +8 -1
  183. package/emotion/es/components/TextField/TextField.styles.js +36 -40
  184. package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +7 -1
  185. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  186. package/emotion/es/examples/plasma_b2c/components/Select/Select.config.js +29 -21
  187. package/emotion/es/examples/plasma_b2c/components/Select/Select.stories.tsx +47 -40
  188. package/emotion/es/examples/plasma_b2c/components/Steps/Steps.config.js +5 -5
  189. package/emotion/es/examples/plasma_b2c/components/Steps/Steps.stories.tsx +1 -1
  190. package/emotion/es/examples/plasma_web/components/Select/Select.config.js +29 -21
  191. package/emotion/es/examples/plasma_web/components/Select/Select.stories.tsx +47 -40
  192. package/emotion/es/examples/plasma_web/components/Steps/Steps.config.js +5 -5
  193. package/emotion/es/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
  194. package/es/components/Autocomplete/Autocomplete.css +21 -22
  195. package/es/components/Chip/Chip.js +3 -1
  196. package/es/components/Chip/Chip.js.map +1 -1
  197. package/es/components/Combobox/ComboboxNew/Combobox.css +21 -22
  198. package/es/components/Combobox/ComboboxNew/Combobox.js +0 -1
  199. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  200. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  201. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  202. package/es/components/Combobox/ComboboxNew/FloatingPopover.js +18 -4
  203. package/es/components/Combobox/ComboboxNew/FloatingPopover.js.map +1 -1
  204. package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  205. package/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +1 -50
  206. package/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js.map +1 -1
  207. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +21 -22
  208. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +21 -22
  209. package/es/components/DatePicker/RangeDate/RangeDate.css +21 -22
  210. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +21 -22
  211. package/es/components/DatePicker/SingleDate/SingleDate.css +21 -22
  212. package/es/components/Dropdown/FloatingPopover.js.map +1 -1
  213. package/es/components/Pagination/Pagination.css +86 -37
  214. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +86 -37
  215. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  216. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  217. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_10zfeps.css +3 -0
  218. package/es/components/Range/Range.css +21 -22
  219. package/es/components/Select/FloatingPopover.js +83 -0
  220. package/es/components/Select/FloatingPopover.js.map +1 -0
  221. package/es/components/Select/Select.css +83 -34
  222. package/es/components/Select/Select.js +182 -142
  223. package/es/components/Select/Select.js.map +1 -1
  224. package/es/components/Select/Select.styles.js +18 -48
  225. package/es/components/Select/Select.styles.js.map +1 -1
  226. package/es/components/Select/Select.styles_96j02v.css +2 -0
  227. package/es/components/Select/Select.tokens.js +123 -78
  228. package/es/components/Select/Select.tokens.js.map +1 -1
  229. package/es/components/Select/hooks/useKeyboardNavigation.js +19 -73
  230. package/es/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
  231. package/es/components/Select/hooks/usePathMaps.js +4 -1
  232. package/es/components/Select/hooks/usePathMaps.js.map +1 -1
  233. package/es/components/Select/ui/Inner/Inner.css +83 -34
  234. package/es/components/Select/ui/Inner/Inner.js +10 -10
  235. package/es/components/Select/ui/Inner/Inner.js.map +1 -1
  236. package/es/components/Select/ui/Inner/ui/Item/Item.css +83 -34
  237. package/es/components/Select/ui/Inner/ui/Item/Item.js +18 -14
  238. package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  239. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +33 -50
  240. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  241. package/es/components/Select/ui/Inner/ui/Item/Item.styles_1kgvsdc.css +9 -0
  242. package/es/components/Select/ui/Target/Target.css +58 -17
  243. package/es/components/Select/ui/Target/Target.js +35 -17
  244. package/es/components/Select/ui/Target/Target.js.map +1 -1
  245. package/es/components/Select/ui/Target/ui/Button/Button.css +5 -5
  246. package/es/components/Select/ui/Target/ui/Button/Button.js +11 -15
  247. package/es/components/Select/ui/Target/ui/Button/Button.js.map +1 -1
  248. package/es/components/Select/ui/Target/ui/Button/Button.styles.js +1 -1
  249. package/es/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  250. package/es/components/Select/ui/Target/ui/Button/Button.styles_10g64me.css +5 -0
  251. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +53 -38
  252. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +86 -99
  253. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  254. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +36 -99
  255. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  256. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles_xyln0f.css +3 -0
  257. package/es/components/Select/utils/getFallbackPlacements.js +11 -0
  258. package/es/components/Select/utils/getFallbackPlacements.js.map +1 -0
  259. package/es/components/Select/utils/getItemId.js +6 -0
  260. package/es/components/Select/utils/getItemId.js.map +1 -0
  261. package/es/components/Select/utils/getPlacement.js +9 -0
  262. package/es/components/Select/utils/getPlacement.js.map +1 -0
  263. package/es/components/Select/utils/getView.js +2 -2
  264. package/es/components/Select/utils/getView.js.map +1 -1
  265. package/es/components/Slider/Slider.css +21 -22
  266. package/es/components/Slider/components/Double/Double.css +21 -22
  267. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +21 -22
  268. package/es/components/Steps/Steps.css +10 -10
  269. package/es/components/Steps/Steps.js +16 -23
  270. package/es/components/Steps/Steps.js.map +1 -1
  271. package/es/components/Steps/Steps.styles.js +1 -1
  272. package/es/components/Steps/Steps.styles.js.map +1 -1
  273. package/es/components/Steps/{Steps.styles_wa45kj.css → Steps.styles_1xmqxqu.css} +1 -1
  274. package/es/components/Steps/Steps.tokens.js +0 -1
  275. package/es/components/Steps/Steps.tokens.js.map +1 -1
  276. package/es/components/Steps/ui/StepItem/StepItem.css +9 -9
  277. package/es/components/Steps/ui/StepItem/StepItem.js +8 -30
  278. package/es/components/Steps/ui/StepItem/StepItem.js.map +1 -1
  279. package/es/components/Steps/ui/StepItem/StepItem.styles.js +6 -6
  280. package/es/components/Steps/ui/StepItem/StepItem.styles.js.map +1 -1
  281. package/es/components/Steps/ui/StepItem/StepItem.styles_sp9rcd.css +9 -0
  282. package/es/components/TextField/TextField.js +7 -0
  283. package/es/components/TextField/TextField.js.map +1 -1
  284. package/es/components/TextField/TextField.styles.js +14 -22
  285. package/es/components/TextField/TextField.styles.js.map +1 -1
  286. package/{cjs/components/TextField/TextField.styles_grgg7q.css → es/components/TextField/TextField.styles_j7dqpn.css} +6 -7
  287. package/es/components/TextField/ui/Hint/Hint.css +20 -21
  288. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +7 -1
  289. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  290. package/es/components/TextField/variations/_clear/base.js +1 -1
  291. package/es/components/TextField/variations/_clear/{base_1i91sjp.css → base_1396md2.css} +1 -1
  292. package/es/components/TextField/variations/_label-placement/base.js +1 -1
  293. package/es/components/TextField/variations/_label-placement/base_gttvto.css +1 -0
  294. package/es/components/TextField/variations/_read-only/base.js +1 -1
  295. package/es/components/TextField/variations/_read-only/{base_17ypmu7.css → base_1jvcf9a.css} +1 -1
  296. package/es/components/TextField/variations/_size/base.js +1 -1
  297. package/es/components/TextField/variations/_size/{base_1xdmaqh.css → base_1tei47x.css} +1 -1
  298. package/es/components/TextField/variations/_view/base.js +1 -1
  299. package/es/components/TextField/variations/_view/{base_qhyte8.css → base_8ogww5.css} +1 -1
  300. package/es/index.css +57 -72
  301. package/package.json +2 -2
  302. package/styled-components/cjs/components/Chip/Chip.js +3 -1
  303. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +0 -1
  304. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  305. package/styled-components/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +19 -5
  306. package/styled-components/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +1 -50
  307. package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  308. package/styled-components/cjs/components/Select/FloatingPopover.js +91 -0
  309. package/styled-components/cjs/components/Select/Select.js +177 -136
  310. package/styled-components/cjs/components/Select/Select.styles.js +11 -26
  311. package/styled-components/cjs/components/Select/Select.tokens.js +125 -60
  312. package/styled-components/cjs/components/Select/hooks/useKeyboardNavigation.js +19 -73
  313. package/styled-components/cjs/components/Select/hooks/usePathMaps.js +4 -1
  314. package/styled-components/cjs/components/Select/reducers/index.js +0 -11
  315. package/styled-components/cjs/components/Select/ui/Inner/Inner.js +9 -9
  316. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.js +15 -12
  317. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +19 -25
  318. package/styled-components/cjs/components/Select/ui/Target/Target.js +38 -18
  319. package/styled-components/cjs/components/Select/ui/Target/ui/Button/Button.js +13 -16
  320. package/styled-components/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +3 -3
  321. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +88 -99
  322. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +21 -62
  323. package/styled-components/cjs/components/Select/utils/getFallbackPlacements.js +14 -0
  324. package/styled-components/cjs/components/Select/utils/getItemId.js +9 -0
  325. package/styled-components/cjs/components/Select/utils/getPlacement.js +12 -0
  326. package/styled-components/cjs/components/Select/utils/getView.js +2 -2
  327. package/styled-components/cjs/components/Select/utils/index.js +22 -1
  328. package/styled-components/cjs/components/Steps/Steps.js +14 -23
  329. package/styled-components/cjs/components/Steps/Steps.styles.js +1 -1
  330. package/styled-components/cjs/components/Steps/Steps.tokens.js +0 -1
  331. package/styled-components/cjs/components/Steps/ui/StepItem/StepItem.js +7 -29
  332. package/styled-components/cjs/components/Steps/ui/StepItem/StepItem.styles.js +6 -17
  333. package/styled-components/cjs/components/TextField/TextField.js +7 -0
  334. package/styled-components/cjs/components/TextField/TextField.styles.js +12 -15
  335. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +7 -1
  336. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +1 -1
  337. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +28 -20
  338. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +47 -40
  339. package/styled-components/cjs/examples/plasma_b2c/components/Steps/Steps.config.js +1 -1
  340. package/styled-components/cjs/examples/plasma_b2c/components/Steps/Steps.stories.tsx +1 -1
  341. package/styled-components/cjs/examples/plasma_web/components/Select/Select.config.js +28 -20
  342. package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +47 -40
  343. package/styled-components/cjs/examples/plasma_web/components/Steps/Steps.config.js +1 -1
  344. package/styled-components/cjs/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
  345. package/styled-components/es/components/Chip/Chip.js +3 -1
  346. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +0 -1
  347. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -1
  348. package/styled-components/es/components/Combobox/ComboboxNew/FloatingPopover.js +18 -4
  349. package/styled-components/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +1 -50
  350. package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  351. package/styled-components/es/components/Select/FloatingPopover.js +84 -0
  352. package/styled-components/es/components/Select/Select.js +182 -141
  353. package/styled-components/es/components/Select/Select.styles.js +10 -25
  354. package/styled-components/es/components/Select/Select.tokens.js +125 -60
  355. package/styled-components/es/components/Select/hooks/useKeyboardNavigation.js +18 -72
  356. package/styled-components/es/components/Select/hooks/usePathMaps.js +4 -1
  357. package/styled-components/es/components/Select/reducers/index.js +1 -2
  358. package/styled-components/es/components/Select/ui/Inner/Inner.js +10 -10
  359. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.js +18 -15
  360. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.styles.js +18 -24
  361. package/styled-components/es/components/Select/ui/Target/Target.js +35 -17
  362. package/styled-components/es/components/Select/ui/Target/ui/Button/Button.js +11 -16
  363. package/styled-components/es/components/Select/ui/Target/ui/Button/Button.styles.js +3 -3
  364. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +86 -99
  365. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +21 -62
  366. package/styled-components/es/components/Select/utils/getFallbackPlacements.js +8 -0
  367. package/styled-components/es/components/Select/utils/getItemId.js +3 -0
  368. package/styled-components/es/components/Select/utils/getPlacement.js +6 -0
  369. package/styled-components/es/components/Select/utils/getView.js +2 -2
  370. package/styled-components/es/components/Select/utils/index.js +4 -1
  371. package/styled-components/es/components/Steps/Steps.js +15 -24
  372. package/styled-components/es/components/Steps/Steps.styles.js +1 -1
  373. package/styled-components/es/components/Steps/Steps.tokens.js +0 -1
  374. package/styled-components/es/components/Steps/ui/StepItem/StepItem.js +7 -29
  375. package/styled-components/es/components/Steps/ui/StepItem/StepItem.styles.js +6 -17
  376. package/styled-components/es/components/TextField/TextField.js +7 -0
  377. package/styled-components/es/components/TextField/TextField.styles.js +12 -15
  378. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +7 -1
  379. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +1 -1
  380. package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +29 -21
  381. package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +47 -40
  382. package/styled-components/es/examples/plasma_b2c/components/Steps/Steps.config.js +1 -1
  383. package/styled-components/es/examples/plasma_b2c/components/Steps/Steps.stories.tsx +1 -1
  384. package/styled-components/es/examples/plasma_web/components/Select/Select.config.js +29 -21
  385. package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +47 -40
  386. package/styled-components/es/examples/plasma_web/components/Steps/Steps.config.js +1 -1
  387. package/styled-components/es/examples/plasma_web/components/Steps/Steps.stories.tsx +1 -1
  388. package/types/components/Chip/Chip.d.ts.map +1 -1
  389. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  390. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +0 -1
  391. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  392. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +1 -1
  393. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  394. package/types/components/Combobox/ComboboxNew/FloatingPopover.d.ts.map +1 -1
  395. package/types/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.d.ts +1 -3
  396. package/types/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.d.ts.map +1 -1
  397. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +28 -28
  398. package/types/components/Select/FloatingPopover.d.ts +5 -0
  399. package/types/components/Select/FloatingPopover.d.ts.map +1 -0
  400. package/types/components/Select/Select.d.ts +5 -11
  401. package/types/components/Select/Select.d.ts.map +1 -1
  402. package/types/components/Select/Select.styles.d.ts +0 -9
  403. package/types/components/Select/Select.styles.d.ts.map +1 -1
  404. package/types/components/Select/Select.tokens.d.ts +121 -58
  405. package/types/components/Select/Select.tokens.d.ts.map +1 -1
  406. package/types/components/Select/Select.types.d.ts +29 -17
  407. package/types/components/Select/Select.types.d.ts.map +1 -1
  408. package/types/components/Select/hooks/useKeyboardNavigation.d.ts +5 -11
  409. package/types/components/Select/hooks/useKeyboardNavigation.d.ts.map +1 -1
  410. package/types/components/Select/hooks/usePathMaps.d.ts +2 -1
  411. package/types/components/Select/hooks/usePathMaps.d.ts.map +1 -1
  412. package/types/components/Select/index.d.ts +1 -1
  413. package/types/components/Select/index.d.ts.map +1 -1
  414. package/types/components/Select/reducers/index.d.ts +0 -1
  415. package/types/components/Select/reducers/index.d.ts.map +1 -1
  416. package/types/components/Select/ui/Inner/Inner.d.ts.map +1 -1
  417. package/types/components/Select/ui/Inner/ui/Item/Item.d.ts.map +1 -1
  418. package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts +32 -2
  419. package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts.map +1 -1
  420. package/types/components/Select/ui/Inner/ui/Item/Item.types.d.ts +9 -0
  421. package/types/components/Select/ui/Inner/ui/Item/Item.types.d.ts.map +1 -1
  422. package/types/components/Select/ui/Target/Target.d.ts +14 -2
  423. package/types/components/Select/ui/Target/Target.d.ts.map +1 -1
  424. package/types/components/Select/ui/Target/Target.types.d.ts +10 -9
  425. package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
  426. package/types/components/Select/ui/Target/ui/Button/Button.d.ts +1 -1
  427. package/types/components/Select/ui/Target/ui/Button/Button.d.ts.map +1 -1
  428. package/types/components/Select/ui/Target/ui/Button/Button.types.d.ts +1 -1
  429. package/types/components/Select/ui/Target/ui/Button/Button.types.d.ts.map +1 -1
  430. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts +1 -1
  431. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
  432. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +628 -60
  433. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  434. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts +1 -4
  435. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts.map +1 -1
  436. package/types/components/Select/utils/getFallbackPlacements.d.ts +4 -0
  437. package/types/components/Select/utils/getFallbackPlacements.d.ts.map +1 -0
  438. package/types/components/Select/utils/getItemId.d.ts +2 -0
  439. package/types/components/Select/utils/getItemId.d.ts.map +1 -0
  440. package/types/components/Select/utils/getPlacement.d.ts +4 -0
  441. package/types/components/Select/utils/getPlacement.d.ts.map +1 -0
  442. package/types/components/Select/utils/getView.d.ts +1 -1
  443. package/types/components/Select/utils/getView.d.ts.map +1 -1
  444. package/types/components/Select/utils/index.d.ts +3 -0
  445. package/types/components/Select/utils/index.d.ts.map +1 -1
  446. package/types/components/Steps/Steps.d.ts.map +1 -1
  447. package/types/components/Steps/Steps.styles.d.ts.map +1 -1
  448. package/types/components/Steps/Steps.tokens.d.ts +0 -1
  449. package/types/components/Steps/Steps.tokens.d.ts.map +1 -1
  450. package/types/components/Steps/ui/StepItem/StepItem.d.ts.map +1 -1
  451. package/types/components/Steps/ui/StepItem/StepItem.styles.d.ts +2 -2
  452. package/types/components/Steps/ui/StepItem/StepItem.styles.d.ts.map +1 -1
  453. package/types/components/TextField/TextField.d.ts.map +1 -1
  454. package/types/components/TextField/TextField.styles.d.ts +1 -3
  455. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  456. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts +3 -1
  457. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts.map +1 -1
  458. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +24 -24
  459. package/types/examples/plasma_b2c/components/Select/Select.config.d.ts +15 -7
  460. package/types/examples/plasma_b2c/components/Select/Select.config.d.ts.map +1 -1
  461. package/types/examples/plasma_b2c/components/Select/Select.d.ts +41 -34
  462. package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
  463. package/types/examples/plasma_b2c/components/Steps/Steps.config.d.ts.map +1 -1
  464. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +24 -24
  465. package/types/examples/plasma_web/components/Select/Select.config.d.ts +15 -7
  466. package/types/examples/plasma_web/components/Select/Select.config.d.ts.map +1 -1
  467. package/types/examples/plasma_web/components/Select/Select.d.ts +41 -34
  468. package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -1
  469. package/types/examples/plasma_web/components/Steps/Steps.config.d.ts.map +1 -1
  470. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_1fesyfv.css +0 -3
  471. package/cjs/components/Select/Select.styles_768h42.css +0 -5
  472. package/cjs/components/Select/reducers/focusedChipIndexReducer.js +0 -39
  473. package/cjs/components/Select/reducers/focusedChipIndexReducer.js.map +0 -1
  474. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles_8oe5oy.css +0 -9
  475. package/cjs/components/Select/ui/Target/ui/Button/Button.styles_lxxm4p.css +0 -5
  476. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_1damf5p.css +0 -12
  477. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.css +0 -21
  478. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +0 -36
  479. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js.map +0 -1
  480. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +0 -22
  481. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +0 -1
  482. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles_1a752pa.css +0 -1
  483. package/cjs/components/Select/variations/_size/base.js +0 -9
  484. package/cjs/components/Select/variations/_size/base.js.map +0 -1
  485. package/cjs/components/Select/variations/_size/base_x642ct.css +0 -1
  486. package/cjs/components/Select/variations/_view/base.js +0 -9
  487. package/cjs/components/Select/variations/_view/base.js.map +0 -1
  488. package/cjs/components/Select/variations/_view/base_x642ct.css +0 -1
  489. package/cjs/components/Steps/ui/StepItem/StepItem.styles_q5nnk6.css +0 -9
  490. package/cjs/components/TextField/variations/_label-placement/base_3domm.css +0 -1
  491. package/emotion/cjs/components/Select/reducers/focusedChipIndexReducer.js +0 -38
  492. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +0 -37
  493. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +0 -22
  494. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/index.js +0 -16
  495. package/emotion/cjs/components/Select/variations/_size/base.js +0 -8
  496. package/emotion/cjs/components/Select/variations/_size/tokens.json +0 -9
  497. package/emotion/cjs/components/Select/variations/_view/base.js +0 -8
  498. package/emotion/cjs/components/Select/variations/_view/tokens.json +0 -1
  499. package/emotion/es/components/Select/reducers/focusedChipIndexReducer.js +0 -32
  500. package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +0 -28
  501. package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +0 -15
  502. package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/index.js +0 -1
  503. package/emotion/es/components/Select/variations/_size/base.js +0 -2
  504. package/emotion/es/components/Select/variations/_size/tokens.json +0 -9
  505. package/emotion/es/components/Select/variations/_view/base.js +0 -2
  506. package/emotion/es/components/Select/variations/_view/tokens.json +0 -1
  507. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_1fesyfv.css +0 -3
  508. package/es/components/Select/Select.styles_768h42.css +0 -5
  509. package/es/components/Select/reducers/focusedChipIndexReducer.js +0 -35
  510. package/es/components/Select/reducers/focusedChipIndexReducer.js.map +0 -1
  511. package/es/components/Select/ui/Inner/ui/Item/Item.styles_8oe5oy.css +0 -9
  512. package/es/components/Select/ui/Target/ui/Button/Button.styles_lxxm4p.css +0 -5
  513. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles_1damf5p.css +0 -12
  514. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.css +0 -21
  515. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +0 -32
  516. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js.map +0 -1
  517. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +0 -18
  518. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +0 -1
  519. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles_1a752pa.css +0 -1
  520. package/es/components/Select/variations/_size/base.js +0 -5
  521. package/es/components/Select/variations/_size/base.js.map +0 -1
  522. package/es/components/Select/variations/_size/base_x642ct.css +0 -1
  523. package/es/components/Select/variations/_view/base.js +0 -5
  524. package/es/components/Select/variations/_view/base.js.map +0 -1
  525. package/es/components/Select/variations/_view/base_x642ct.css +0 -1
  526. package/es/components/Steps/ui/StepItem/StepItem.styles_q5nnk6.css +0 -9
  527. package/es/components/TextField/variations/_label-placement/base_3domm.css +0 -1
  528. package/styled-components/cjs/components/Select/reducers/focusedChipIndexReducer.js +0 -38
  529. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +0 -37
  530. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +0 -21
  531. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/index.js +0 -16
  532. package/styled-components/cjs/components/Select/variations/_size/base.js +0 -8
  533. package/styled-components/cjs/components/Select/variations/_size/tokens.json +0 -9
  534. package/styled-components/cjs/components/Select/variations/_view/base.js +0 -8
  535. package/styled-components/cjs/components/Select/variations/_view/tokens.json +0 -1
  536. package/styled-components/es/components/Select/reducers/focusedChipIndexReducer.js +0 -32
  537. package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +0 -28
  538. package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +0 -14
  539. package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/index.js +0 -1
  540. package/styled-components/es/components/Select/variations/_size/base.js +0 -2
  541. package/styled-components/es/components/Select/variations/_size/tokens.json +0 -9
  542. package/styled-components/es/components/Select/variations/_view/base.js +0 -2
  543. package/styled-components/es/components/Select/variations/_view/tokens.json +0 -1
  544. package/types/components/Select/reducers/focusedChipIndexReducer.d.ts +0 -11
  545. package/types/components/Select/reducers/focusedChipIndexReducer.d.ts.map +0 -1
  546. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.d.ts +0 -9
  547. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.d.ts.map +0 -1
  548. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.d.ts +0 -3
  549. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.d.ts.map +0 -1
  550. package/types/components/Select/ui/Target/ui/Textfield/ui/index.d.ts +0 -2
  551. package/types/components/Select/ui/Target/ui/Textfield/ui/index.d.ts.map +0 -1
  552. package/types/components/Select/variations/_size/base.d.ts +0 -2
  553. package/types/components/Select/variations/_size/base.d.ts.map +0 -1
  554. package/types/components/Select/variations/_view/base.d.ts +0 -2
  555. package/types/components/Select/variations/_view/base.d.ts.map +0 -1
@@ -29,7 +29,6 @@ export var useKeyNavigation = function useKeyNavigation(_ref) {
29
29
  focusedToValueMap = _ref.focusedToValueMap,
30
30
  handleListToggle = _ref.handleListToggle,
31
31
  handlePressDown = _ref.handlePressDown,
32
- multiselect = _ref.multiselect,
33
32
  setTextValue = _ref.setTextValue;
34
33
  var currentIndex = (focusedPath === null || focusedPath === void 0 ? void 0 : focusedPath[focusedPath.length - 1]) || 0;
35
34
  var currentLength = pathMap.get(path === null || path === void 0 ? void 0 : path[focusedPath.length - 1]) || 0;
@@ -124,7 +123,6 @@ export var useKeyNavigation = function useKeyNavigation(_ref) {
124
123
  break;
125
124
  }
126
125
  var currentItem = getItemByFocused(focusedPath, focusedToValueMap);
127
- console.log('currentItem', currentItem, focusedPath, focusedToValueMap);
128
126
  if (currentItem !== null && currentItem !== void 0 && currentItem.items) {
129
127
  if (path.length > focusedPath.length) {
130
128
  dispatchFocusedPath({
@@ -141,32 +139,6 @@ export var useKeyNavigation = function useKeyNavigation(_ref) {
141
139
  }
142
140
  break;
143
141
  }
144
- case keys.Backspace:
145
- {
146
- if (!multiselect) break;
147
- break;
148
- }
149
-
150
- // case keys.Space: {
151
- // event.preventDefault();
152
- //
153
- // const currentItem = getItemByFocused(focusedPath, focusedToValueMap);
154
- //
155
- // if (!path[0]) {
156
- // dispatchPath({ type: 'opened_first_level' });
157
- // dispatchFocusedPath({ type: 'set_initial_focus' });
158
- // break;
159
- // }
160
- //
161
- // if (!currentItem || currentItem?.disabled) {
162
- // break;
163
- // }
164
- //
165
- // handlePressDown(currentItem);
166
- //
167
- // break;
168
- // }
169
-
170
142
  case keys.Enter:
171
143
  {
172
144
  event.preventDefault();
@@ -183,34 +155,12 @@ export var useKeyNavigation = function useKeyNavigation(_ref) {
183
155
  });
184
156
  break;
185
157
  }
186
-
187
- // if (currentItem?.items) {
188
- // if (path.length > focusedPath.length) {
189
- // dispatchFocusedPath({ type: 'add_focus', value: 0 });
190
- // } else {
191
- // dispatchPath({ type: 'added_next_level', value: currentItem.value.toString() });
192
- // }
193
- //
194
- // break;
195
- // }
196
-
197
158
  if (_currentItem) {
198
159
  handlePressDown(_currentItem);
199
160
  }
200
161
  break;
201
162
  }
202
163
  case keys.Tab:
203
- {
204
- dispatchPath({
205
- type: 'reset'
206
- });
207
- dispatchFocusedPath({
208
- type: 'reset'
209
- });
210
- handleListToggle(false);
211
- setTextValue('');
212
- break;
213
- }
214
164
  case keys.Escape:
215
165
  {
216
166
  dispatchPath({
@@ -220,6 +170,7 @@ export var useKeyNavigation = function useKeyNavigation(_ref) {
220
170
  type: 'reset'
221
171
  });
222
172
  handleListToggle(false);
173
+ setTextValue('');
223
174
  break;
224
175
  }
225
176
  case keys.Home:
@@ -14,14 +14,14 @@ export var SelectPerPageRoot = /*#__PURE__*/_styled("div", {
14
14
  } : {
15
15
  name: "4ved3l",
16
16
  styles: "display:flex;align-items:center;gap:0.5rem",
17
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvUGFnaW5hdGlvbi91aS9QYWdpbmF0aW9uU2VsZWN0UGVyUGFnZS9QYWdpbmF0aW9uU2VsZWN0UGVyUGFnZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBUzJDIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvUGFnaW5hdGlvbi91aS9QYWdpbmF0aW9uU2VsZWN0UGVyUGFnZS9QYWdpbmF0aW9uU2VsZW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k7XG4gICAgbGV0dGVyLXNwYWNpbmc6IHZhcigke3Rva2Vucy5wYWdpbmF0aW9uTGV0dGVyU3BhY2luZ30pO1xuICAgIGxpbmUtaGVpZ2h0OiB2YXIoJHt0b2tlbnMucGFnaW5hdGlvbkxpbmVIZWlnaHR9KTtcbmA7XG4iXX0= */",
18
18
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
19
19
  });
20
20
  export var SelectPerPageSelect = /*#__PURE__*/_styled(Select, {
21
21
  target: "e18ppken1",
22
22
  label: "plasma-new-hope__SelectPerPageSelect"
23
- })(selectTokens.targetButtonColor, ":var(", tokens.buttonColor, ");", selectTokens.targetButtonColorHover, ":var(", tokens.buttonColorHover, ");", selectTokens.targetButtonColorActive, ":var(", tokens.buttonColorActive, ");", selectTokens.targetButtonBackgroundColor, ":var(", tokens.buttonBackgroundColor, ");", selectTokens.targetButtonBackgroundColorHover, ":var(", tokens.buttonBackgroundColorHover, ");", selectTokens.targetButtonBackgroundColorActive, ":var(", tokens.buttonBackgroundColorActive, ");", selectTokens.targetHeight, ":var(", tokens.buttonHeight, ");", selectTokens.targetButtonPadding, ":var(", tokens.selectTargetPadding, ");", selectTokens.borderRadius, ":var(", tokens.buttonRadius, ");", selectTokens.targetButtonArrowColor, ":var(", tokens.buttonArrowColor, ");", selectTokens.targetButtonArrowColorHover, ":var(", tokens.buttonArrowColorHover, ");", selectTokens.targetButtonArrowColorActive, ":var(", tokens.buttonArrowColorActive, ");", selectTokens.targetButtonArrowMargin, ":var(", tokens.buttonArrowMargin, ");", selectTokens.padding, ":0.125rem;", selectTokens.focusOffset, ":0.125rem;", selectTokens.itemPadding, ":var(", tokens.selectItemPadding, ");", selectTokens.itemBorderRadius, ":calc(var(", tokens.buttonRadius, ") - 0.125rem);", selectTokens.itemIconMargin, ":0 0.375rem 0 0;", selectTokens.itemIconSize, ":1.5rem;", selectTokens.itemHeight, ":var(", tokens.selectItemHeight, ");", selectTokens.fontFamily, ":var(", tokens.paginationFontFamily, ");", selectTokens.fontSize, ":var(", tokens.paginationFontSize, ");", selectTokens.fontStyle, ":var(", tokens.paginationFontStyle, ");", selectTokens.fontWeight, ":var(", tokens.paginationFontWeight, ");", selectTokens.fontLetterSpacing, ":var(", tokens.paginationLetterSpacing, ");", selectTokens.fontLineHeight, ":var(", tokens.paginationLineHeight, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvUGFnaW5hdGlvbi91aS9QYWdpbmF0aW9uU2VsZWN0UGVyUGFnZS9QYWdpbmF0aW9uU2VsZWN0UGVyUGFnZS5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBZWlEIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvUGFnaW5hdGlvbi91aS9QYWdpbmF0aW9uU2VsZWN0UGVyUGFnZS9QYWdpbmF0aW9uU2VsZWN0UGVyUGFnZS5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IHNlbGVjdENvbmZpZywgc2VsZWN0VG9rZW5zIH0gZnJvbSAnLi4vLi4vLi4vU2VsZWN0JztcbmltcG9ydCB7IGNvbXBvbmVudCwgbWVyZ2VDb25maWcgfSBmcm9tICcuLi8uLi8uLi8uLi9lbmdpbmVzJztcbmltcG9ydCB7IHRva2VucyB9IGZyb20gJy4uLy4uL1BhZ2luYXRpb24udG9rZW5zJztcblxuY29uc3QgbWVyZ2VkU2VsZWN0Q29uZmlnID0gbWVyZ2VDb25maWcoc2VsZWN0Q29uZmlnKTtcbmNvbnN0IFNlbGVjdCA9IGNvbXBvbmVudChtZXJnZWRTZWxlY3R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lnaHR9KTtcbmA7XG4iXX0= */"));
23
+ })(selectTokens.buttonColor, ":var(", tokens.buttonColor, ");", selectTokens.buttonColorHover, ":var(", tokens.buttonColorHover, ");", selectTokens.buttonColorActive, ":var(", tokens.buttonColorActive, ");", selectTokens.buttonBackgroundColor, ":var(", tokens.buttonBackgroundColor, ");", selectTokens.buttonBackgroundColorHover, ":var(", tokens.buttonBackgroundColorHover, ");", selectTokens.buttonBackgroundColorActive, ":var(", tokens.buttonBackgroundColorActive, ");", selectTokens.targetHeight, ":var(", tokens.buttonHeight, ");", selectTokens.buttonPadding, ":var(", tokens.selectTargetPadding, ");", selectTokens.borderRadius, ":var(", tokens.buttonRadius, ");", selectTokens.buttonArrowColor, ":var(", tokens.buttonArrowColor, ");", selectTokens.buttonArrowColorHover, ":var(", tokens.buttonArrowColorHover, ");", selectTokens.buttonArrowColorActive, ":var(", tokens.buttonArrowColorActive, ");", selectTokens.buttonArrowMargin, ":var(", tokens.buttonArrowMargin, ");", selectTokens.padding, ":0.125rem;", selectTokens.itemPadding, ":var(", tokens.selectItemPadding, ");", selectTokens.itemBorderRadius, ":calc(var(", tokens.buttonRadius, ") - 0.125rem);", selectTokens.itemIconMargin, ":0 0.375rem 0 0;", selectTokens.itemIconSize, ":1.5rem;", selectTokens.itemHeight, ":var(", tokens.selectItemHeight, ");", selectTokens.fontFamily, ":var(", tokens.paginationFontFamily, ");", selectTokens.fontSize, ":var(", tokens.paginationFontSize, ");", selectTokens.fontStyle, ":var(", tokens.paginationFontStyle, ");", selectTokens.fontWeight, ":var(", tokens.paginationFontWeight, ");", selectTokens.fontLetterSpacing, ":var(", tokens.paginationLetterSpacing, ");", selectTokens.fontLineHeight, ":var(", tokens.paginationLineHeight, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbm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NwYWNpbmd9KTtcbiAgICAke3NlbGVjdFRva2Vucy5mb250TGluZUhlaWdodH06IHZhcigke3Rva2Vucy5wYWdpbmF0aW9uTGluZUhlaWdodH0pO1xuYDtcblxuZXhwb3J0IGNvbnN0IFNlbGVjdFBlclBhZ2VUeXBvZ3JhcGh5ID0gc3R5bGVkLmRpdmBcbiAgICBmb250LWZhbWlseTogdmFyKCR7dG9rZW5zLnBhZ2luYXRpb25Gb250RmFtaWx5fSk7XG4gICAgZm9udC1zaXplOiB2YXIoJHt0b2tlbnMucGFnaW5hdGlvbkZvbnRTaXplfSk7XG4gICAgZm9udC1zdHlsZTogdmFyKCR7dG9rZW5zLnBhZ2luYXRpb25Gb250U3R5bGV9KTtcbiAgICBmb250LXdlaWdodDogdmFyKCR7dG9rZW5zLnBhZ2luYXRpb25Gb250V2VpZ2h0fSk7XG4gICAgbGV0dGVyLXNwYWNpbmc6IHZhcigke3Rva2Vucy5wYWdpbmF0aW9uTGV0dGVyU3BhY2luZ30pO1xuICAgIGxpbmUtaGVpZ2h0OiB2YXIoJHt0b2tlbnMucGFnaW5hdGlvbkxpbmVIZWlnaHR9KTtcbmA7XG4iXX0= */"));
24
24
  export var SelectPerPageTypography = /*#__PURE__*/_styled("div", {
25
25
  target: "e18ppken0",
26
26
  label: "plasma-new-hope__SelectPerPageTypography"
27
- })("font-family:var(", tokens.paginationFontFamily, ");font-size:var(", tokens.paginationFontSize, ");font-style:var(", tokens.paginationFontStyle, ");font-weight:var(", tokens.paginationFontWeight, ");letter-spacing:var(", tokens.paginationLetterSpacing, ");line-height:var(", tokens.paginationLineHeight, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvUGFnaW5hdGlvbi91aS9QYWdpbmF0aW9uU2VsZWN0UGVyUGFnZS9QYWdp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aWdodH0pO1xuICAgICR7c2VsZWN0VG9rZW5zLmZvbnRMZXR0ZXJTcGFjaW5nfTogdmFyKCR7dG9rZW5zLnBhZ2luYXRpb25MZXR0ZXJTcGFjaW5nfSk7XG4gICAgJHtzZWxlY3RUb2tlbnMuZm9udExpbmVIZWlnaHR9OiB2YXIoJHt0b2tlbnMucGFnaW5hdGlvbkxpbmVIZWlnaHR9KTtcbmA7XG5cbmV4cG9ydCBjb25zdCBTZWxlY3RQZXJQYWdlVHlwb2dyYXBoeSA9IHN0eWxlZC5kaXZgXG4gICAgZm9udC1mYW1pbHk6IHZhcigke3Rva2Vucy5wYWdpbmF0aW9uRm9udEZhbWlseX0pO1xuICAgIGZvbnQtc2l6ZTogdmFyKCR7dG9rZW5zLnBhZ2luYXRpb25Gb250U2l6ZX0pO1xuICAgIGZvbnQtc3R5bGU6IHZhcigke3Rva2Vucy5wYWdpbmF0aW9uRm9udFN0eWxlfSk7XG4gICAgZm9udC13ZWlnaHQ6IHZhcigke3Rva2Vucy5wYWdpbmF0aW9uRm9udFdlaWdodH0pO1xuICAgIGxldHRlci1zcGFjaW5nOiB2YXIoJHt0b2tlbnMucGFnaW5hdGlvbkxldHRlclNwYWNpbmd9KTtcbiAgICBsaW5lLWhlaWdodDogdmFyKCR7dG9rZW5zLnBhZ2luYXRpb25MaW5lSGVpZ2h0fSk7XG5gO1xuIl19 */"));
27
+ })("font-family:var(", tokens.paginationFontFamily, ");font-size:var(", tokens.paginationFontSize, ");font-style:var(", tokens.paginationFontStyle, ");font-weight:var(", tokens.paginationFontWeight, ");letter-spacing:var(", tokens.paginationLetterSpacing, ");line-height:var(", tokens.paginationLineHeight, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvUGFnaW5hdGlvbi91aS9QYWdpbmF0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fSk7XG4gICAgJHtzZWxlY3RUb2tlbnMuZm9udExpbmVIZWlnaHR9OiB2YXIoJHt0b2tlbnMucGFnaW5hdGlvbkxpbmVIZWlnaHR9KTtcbmA7XG5cbmV4cG9ydCBjb25zdCBTZWxlY3RQZXJQYWdlVHlwb2dyYXBoeSA9IHN0eWxlZC5kaXZgXG4gICAgZm9udC1mYW1pbHk6IHZhcigke3Rva2Vucy5wYWdpbmF0aW9uRm9udEZhbWlseX0pO1xuICAgIGZvbnQtc2l6ZTogdmFyKCR7dG9rZW5zLnBhZ2luYXRpb25Gb250U2l6ZX0pO1xuICAgIGZvbnQtc3R5bGU6IHZhcigke3Rva2Vucy5wYWdpbmF0aW9uRm9udFN0eWxlfSk7XG4gICAgZm9udC13ZWlnaHQ6IHZhcigke3Rva2Vucy5wYWdpbmF0aW9uRm9udFdlaWdodH0pO1xuICAgIGxldHRlci1zcGFjaW5nOiB2YXIoJHt0b2tlbnMucGFnaW5hdGlvbkxldHRlclNwYWNpbmd9KTtcbiAgICBsaW5lLWhlaWdodDogdmFyKCR7dG9rZW5zLnBhZ2luYXRpb25MaW5lSGVpZ2h0fSk7XG5gO1xuIl19 */"));
@@ -0,0 +1,84 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
6
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
+ import { flip, shift, size, useFloating, FloatingPortal, offset as offsetMiddleware } from '@floating-ui/react';
8
+ import React, { forwardRef } from 'react';
9
+ import { safeUseId } from '@salutejs/plasma-core';
10
+ import { getPlacement, getFallbackPlacements } from './utils';
11
+ var FloatingPopover = /*#__PURE__*/forwardRef(function (_ref, ref) {
12
+ var target = _ref.target,
13
+ children = _ref.children,
14
+ opened = _ref.opened,
15
+ onToggle = _ref.onToggle,
16
+ placement = _ref.placement,
17
+ portal = _ref.portal,
18
+ listWidth = _ref.listWidth,
19
+ _ref$offset = _ref.offset,
20
+ offset = _ref$offset === void 0 ? 0 : _ref$offset;
21
+ var _useFloating = useFloating({
22
+ placement: getPlacement(placement),
23
+ open: opened,
24
+ middleware: [offsetMiddleware(offset), flip({
25
+ fallbackPlacements: getFallbackPlacements(placement)
26
+ }), shift(), size({
27
+ apply: function apply(_ref2) {
28
+ var rects = _ref2.rects,
29
+ elements = _ref2.elements;
30
+ Object.assign(elements.floating.style, {
31
+ width: listWidth || "".concat(rects.reference.width, "px")
32
+ });
33
+ }
34
+ })]
35
+ }),
36
+ refs = _useFloating.refs,
37
+ floatingStyles = _useFloating.floatingStyles;
38
+ var wrappedId = safeUseId();
39
+ var handleClick = function handleClick() {
40
+ if (onToggle) {
41
+ onToggle(!opened);
42
+ }
43
+ };
44
+
45
+ // Проверка на target. Это может быть как ReactNode, так и функция, в которую пробрасывается ref.
46
+ // Это нужно для более тонкой настройки reference-элемента, вокруг которого и будет позиционироваться выпадашка.
47
+ // Пример: когда в Textfield под инпутом находится helperText (или еще что-либо),
48
+ // но выпадающий список должен позиционироваться непосредственно возле самого инпута.
49
+ var isTargetAsFunction = typeof target === 'function';
50
+ return /*#__PURE__*/React.createElement("div", {
51
+ ref: ref,
52
+ id: wrappedId
53
+ }, /*#__PURE__*/React.createElement("div", {
54
+ ref: isTargetAsFunction ? undefined : refs.setReference,
55
+ onClick: handleClick
56
+ }, typeof target === 'function' ? target(refs.setReference) : target), opened &&
57
+ /*#__PURE__*/
58
+ // root - принимает ref контейнера портала.
59
+ // id - если есть портал - не используется, если портала нет - подставляется 'wrappedId'.
60
+ React.createElement(FloatingPortal, getFloatingPortalProps(portal, wrappedId), /*#__PURE__*/React.createElement("div", {
61
+ ref: refs.setFloating,
62
+ style: _objectSpread(_objectSpread({}, floatingStyles), {}, {
63
+ zIndex: 1
64
+ })
65
+ }, children)));
66
+ });
67
+ // root - принимает ref контейнера портала.
68
+ // id - если есть портал - не используется, если портала нет - подставляется 'wrappedId'.
69
+ var getFloatingPortalProps = function getFloatingPortalProps(portal, wrappedId) {
70
+ if (!portal) {
71
+ return {
72
+ id: wrappedId
73
+ };
74
+ }
75
+ if (typeof portal === 'string') {
76
+ return {
77
+ id: portal
78
+ };
79
+ }
80
+ return {
81
+ root: portal
82
+ };
83
+ };
84
+ export { FloatingPopover };