@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
@@ -25,54 +25,58 @@ const meta: Meta<StorySelectProps> = {
25
25
  component: Select,
26
26
  argTypes: {
27
27
  target: {
28
+ control: 'select',
28
29
  options: ['button-like', 'textfield-like'],
29
- control: {
30
- type: 'select',
31
- },
32
30
  },
33
31
  size: {
32
+ control: 'select',
34
33
  options: size,
35
- control: {
36
- type: 'select',
37
- },
38
34
  },
39
35
  view: {
36
+ control: 'select',
40
37
  options: view,
41
- control: {
42
- type: 'select',
43
- },
44
38
  },
45
39
  labelPlacement: {
40
+ control: 'select',
46
41
  options: labelPlacement,
47
- control: {
48
- type: 'select',
42
+ if: {
43
+ arg: 'target',
44
+ eq: 'textfield-like',
49
45
  },
50
46
  },
51
47
  chipView: {
48
+ control: 'select',
52
49
  options: chip,
53
- control: {
54
- type: 'select',
50
+ if: {
51
+ arg: 'target',
52
+ eq: 'textfield-like',
55
53
  },
56
54
  },
57
55
  variant: {
56
+ control: 'select',
58
57
  options: variant,
59
- control: {
60
- type: 'select',
61
- },
62
58
  },
63
59
  listWidth: {
64
- control: {
65
- type: 'text',
66
- },
60
+ control: 'text',
67
61
  },
68
62
  listOverflow: {
69
- control: {
70
- type: 'text',
71
- },
63
+ control: 'text',
72
64
  },
73
65
  listHeight: {
74
- control: {
75
- type: 'text',
66
+ control: 'text',
67
+ },
68
+ helperText: {
69
+ control: 'text',
70
+ if: {
71
+ arg: 'target',
72
+ eq: 'textfield-like',
73
+ },
74
+ },
75
+ enableContentLeft: {
76
+ control: 'boolean',
77
+ if: {
78
+ arg: 'target',
79
+ eq: 'textfield-like',
76
80
  },
77
81
  },
78
82
  },
@@ -84,7 +88,7 @@ const meta: Meta<StorySelectProps> = {
84
88
  helperText: 'Helper text',
85
89
  size: 'm',
86
90
  view: 'default',
87
- chipView: 'default',
91
+ chipView: 'secondary',
88
92
  enableContentLeft: false,
89
93
  isTargetAmount: false,
90
94
  variant: 'normal',
@@ -338,13 +342,18 @@ const SingleStory = (args: StorySelectProps) => {
338
342
  items={items}
339
343
  value={value}
340
344
  onChange={setValue}
341
- contentLeft={args.enableContentLeft ? <IconDone size="s" /> : undefined}
345
+ contentLeft={args.enableContentLeft ? <IconDone size="s" color="inherit" /> : undefined}
342
346
  />
343
347
  </div>
344
348
  );
345
349
  };
346
350
 
347
351
  export const Single: StoryObj<StorySelectProps> = {
352
+ parameters: {
353
+ controls: {
354
+ exclude: ['chipView', 'isTargetAmount'],
355
+ },
356
+ },
348
357
  render: (args) => <SingleStory {...args} />,
349
358
  args: {
350
359
  closeAfterSelect: true,
@@ -361,7 +370,7 @@ const MultiselectStory = (args: StorySelectProps) => {
361
370
  items={items}
362
371
  value={value}
363
372
  onChange={setValue}
364
- contentLeft={args.enableContentLeft ? <IconDone size="s" /> : undefined}
373
+ contentLeft={args.enableContentLeft ? <IconDone size="s" color="inherit" /> : undefined}
365
374
  />
366
375
  </div>
367
376
  );
@@ -386,7 +395,7 @@ const PredefinedStory = (args: StorySelectProps) => {
386
395
  items={items}
387
396
  value={valueSingle}
388
397
  onChange={setValueSingle}
389
- contentLeft={args.enableContentLeft ? <IconDone size="s" /> : undefined}
398
+ contentLeft={args.enableContentLeft ? <IconDone size="s" color="inherit" /> : undefined}
390
399
  />
391
400
 
392
401
  <br />
@@ -397,7 +406,7 @@ const PredefinedStory = (args: StorySelectProps) => {
397
406
  multiselect
398
407
  value={valueMultiple}
399
408
  onChange={setValueMultiple}
400
- contentLeft={args.enableContentLeft ? <IconDone size="s" /> : undefined}
409
+ contentLeft={args.enableContentLeft ? <IconDone size="s" color="inherit" /> : undefined}
401
410
  />
402
411
  </div>
403
412
  );
@@ -462,7 +471,7 @@ const CommonStory = (args: StorySelectProps) => {
462
471
  value={value}
463
472
  onChange={setValue}
464
473
  view="default"
465
- contentLeft={enableContentLeft ? <IconDone size="s" /> : undefined}
474
+ contentLeft={enableContentLeft ? <IconDone size="s" color="inherit" /> : undefined}
466
475
  />
467
476
  </div>
468
477
  </td>
@@ -475,7 +484,7 @@ const CommonStory = (args: StorySelectProps) => {
475
484
  value={valueMultiple}
476
485
  onChange={setValueMultiple}
477
486
  view="default"
478
- contentLeft={enableContentLeft ? <IconDone size="s" /> : undefined}
487
+ contentLeft={enableContentLeft ? <IconDone size="s" color="inherit" /> : undefined}
479
488
  />
480
489
  </div>
481
490
  </td>
@@ -606,7 +615,7 @@ const CommonStory = (args: StorySelectProps) => {
606
615
  value={value}
607
616
  onChange={setValue}
608
617
  view="positive"
609
- contentLeft={enableContentLeft ? <IconDone size="s" /> : undefined}
618
+ contentLeft={enableContentLeft ? <IconDone size="s" color="inherit" /> : undefined}
610
619
  />
611
620
  </div>
612
621
  </td>
@@ -619,7 +628,7 @@ const CommonStory = (args: StorySelectProps) => {
619
628
  value={valueMultiple}
620
629
  onChange={setValueMultiple}
621
630
  view="positive"
622
- contentLeft={enableContentLeft ? <IconDone size="s" /> : undefined}
631
+ contentLeft={enableContentLeft ? <IconDone size="s" color="inherit" /> : undefined}
623
632
  />
624
633
  </div>
625
634
  </td>
@@ -659,7 +668,7 @@ const CommonStory = (args: StorySelectProps) => {
659
668
  value={value}
660
669
  onChange={setValue}
661
670
  view="warning"
662
- contentLeft={enableContentLeft ? <IconDone size="s" /> : undefined}
671
+ contentLeft={enableContentLeft ? <IconDone size="s" color="inherit" /> : undefined}
663
672
  />
664
673
  </div>
665
674
  </td>
@@ -672,7 +681,7 @@ const CommonStory = (args: StorySelectProps) => {
672
681
  value={valueMultiple}
673
682
  onChange={setValueMultiple}
674
683
  view="warning"
675
- contentLeft={enableContentLeft ? <IconDone size="s" /> : undefined}
684
+ contentLeft={enableContentLeft ? <IconDone size="s" color="inherit" /> : undefined}
676
685
  />
677
686
  </div>
678
687
  </td>
@@ -712,7 +721,7 @@ const CommonStory = (args: StorySelectProps) => {
712
721
  value={value}
713
722
  onChange={setValue}
714
723
  view="negative"
715
- contentLeft={enableContentLeft ? <IconDone size="s" /> : undefined}
724
+ contentLeft={enableContentLeft ? <IconDone size="s" color="inherit" /> : undefined}
716
725
  />
717
726
  </div>
718
727
  </td>
@@ -725,7 +734,7 @@ const CommonStory = (args: StorySelectProps) => {
725
734
  value={valueMultiple}
726
735
  onChange={setValueMultiple}
727
736
  view="negative"
728
- contentLeft={enableContentLeft ? <IconDone size="s" /> : undefined}
737
+ contentLeft={enableContentLeft ? <IconDone size="s" color="inherit" /> : undefined}
729
738
  />
730
739
  </div>
731
740
  </td>
@@ -835,9 +844,7 @@ export const Common: StoryObj<StorySelectProps> = {
835
844
  argTypes: {
836
845
  size: {
837
846
  options: size,
838
- control: {
839
- type: 'select',
840
- },
847
+ control: 'select',
841
848
  },
842
849
  },
843
850
  args: {