@salutejs/plasma-new-hope 0.188.0-canary.1550.11777193712.0 → 0.188.0-canary.1552.11776095169.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (521) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +22 -21
  2. package/cjs/components/Chip/Chip.js +1 -3
  3. package/cjs/components/Chip/Chip.js.map +1 -1
  4. package/cjs/components/Combobox/ComboboxNew/Combobox.css +24 -21
  5. package/cjs/components/Combobox/ComboboxNew/Combobox.js +32 -6
  6. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  7. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  8. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  9. package/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +4 -18
  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 +50 -1
  13. package/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js.map +1 -1
  14. package/cjs/components/Combobox/ComboboxNew/ui/Form/Form.css +1 -0
  15. package/cjs/components/Combobox/ComboboxNew/ui/Form/Form.js +37 -0
  16. package/cjs/components/Combobox/ComboboxNew/ui/Form/Form.js.map +1 -0
  17. package/cjs/components/Combobox/ComboboxNew/ui/Form/Form.styles.js +15 -0
  18. package/cjs/components/Combobox/ComboboxNew/ui/Form/Form.styles.js.map +1 -0
  19. package/cjs/components/Combobox/ComboboxNew/ui/Form/Form.styles_22v2s5.css +1 -0
  20. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +24 -21
  21. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +24 -21
  22. package/cjs/components/Combobox/ComboboxNew/utils/syntheticEvent.js +55 -0
  23. package/cjs/components/Combobox/ComboboxNew/utils/syntheticEvent.js.map +1 -0
  24. package/cjs/components/DatePicker/RangeDate/RangeDate.css +22 -21
  25. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +22 -21
  26. package/cjs/components/DatePicker/SingleDate/SingleDate.css +22 -21
  27. package/cjs/components/Dropdown/FloatingPopover.js.map +1 -1
  28. package/cjs/components/Pagination/Pagination.css +37 -86
  29. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +37 -86
  30. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  31. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  32. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_1fesyfv.css +3 -0
  33. package/cjs/components/Range/Range.css +22 -21
  34. package/cjs/components/Select/Select.css +34 -83
  35. package/cjs/components/Select/Select.js +139 -179
  36. package/cjs/components/Select/Select.js.map +1 -1
  37. package/cjs/components/Select/Select.styles.js +50 -17
  38. package/cjs/components/Select/Select.styles.js.map +1 -1
  39. package/cjs/components/Select/Select.styles_768h42.css +5 -0
  40. package/cjs/components/Select/Select.tokens.js +78 -122
  41. package/cjs/components/Select/Select.tokens.js.map +1 -1
  42. package/cjs/components/Select/hooks/useKeyboardNavigation.js +72 -19
  43. package/cjs/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
  44. package/cjs/components/Select/hooks/usePathMaps.js +1 -4
  45. package/cjs/components/Select/hooks/usePathMaps.js.map +1 -1
  46. package/cjs/components/Select/reducers/focusedChipIndexReducer.js +39 -0
  47. package/cjs/components/Select/reducers/focusedChipIndexReducer.js.map +1 -0
  48. package/cjs/components/Select/ui/Inner/Inner.css +34 -83
  49. package/cjs/components/Select/ui/Inner/Inner.js +9 -9
  50. package/cjs/components/Select/ui/Inner/Inner.js.map +1 -1
  51. package/cjs/components/Select/ui/Inner/ui/Item/Item.css +34 -83
  52. package/cjs/components/Select/ui/Inner/ui/Item/Item.js +12 -16
  53. package/cjs/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  54. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +51 -34
  55. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  56. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles_8oe5oy.css +9 -0
  57. package/cjs/components/Select/ui/Target/Target.css +17 -58
  58. package/cjs/components/Select/ui/Target/Target.js +16 -34
  59. package/cjs/components/Select/ui/Target/Target.js.map +1 -1
  60. package/cjs/components/Select/ui/Target/ui/Button/Button.css +5 -5
  61. package/cjs/components/Select/ui/Target/ui/Button/Button.js +14 -10
  62. package/cjs/components/Select/ui/Target/ui/Button/Button.js.map +1 -1
  63. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +1 -1
  64. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  65. package/cjs/components/Select/ui/Target/ui/Button/Button.styles_lxxm4p.css +5 -0
  66. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +38 -53
  67. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +97 -84
  68. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  69. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +107 -35
  70. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  71. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_1damf5p.css +12 -0
  72. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.css +21 -0
  73. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +36 -0
  74. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js.map +1 -0
  75. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +22 -0
  76. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -0
  77. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles_1a752pa.css +1 -0
  78. package/cjs/components/Select/utils/getView.js +2 -2
  79. package/cjs/components/Select/utils/getView.js.map +1 -1
  80. package/cjs/components/Select/variations/_size/base.js +9 -0
  81. package/cjs/components/Select/variations/_size/base.js.map +1 -0
  82. package/cjs/components/Select/variations/_size/base_x642ct.css +1 -0
  83. package/cjs/components/Select/variations/_view/base.js +9 -0
  84. package/cjs/components/Select/variations/_view/base.js.map +1 -0
  85. package/cjs/components/Select/variations/_view/base_x642ct.css +1 -0
  86. package/cjs/components/Slider/Slider.css +22 -21
  87. package/cjs/components/Slider/components/Double/Double.css +22 -21
  88. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +22 -21
  89. package/cjs/components/TextField/TextField.js +0 -7
  90. package/cjs/components/TextField/TextField.js.map +1 -1
  91. package/cjs/components/TextField/TextField.styles.js +22 -14
  92. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  93. package/{es/components/TextField/TextField.styles_j7dqpn.css → cjs/components/TextField/TextField.styles_grgg7q.css} +7 -6
  94. package/cjs/components/TextField/ui/Hint/Hint.css +21 -20
  95. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
  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_1396md2.css → base_1i91sjp.css} +1 -1
  99. package/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  100. package/cjs/components/TextField/variations/_label-placement/base_3domm.css +1 -0
  101. package/cjs/components/TextField/variations/_read-only/base.js +1 -1
  102. package/cjs/components/TextField/variations/_read-only/{base_1jvcf9a.css → base_17ypmu7.css} +1 -1
  103. package/cjs/components/TextField/variations/_size/base.js +1 -1
  104. package/cjs/components/TextField/variations/_size/{base_1tei47x.css → base_1xdmaqh.css} +1 -1
  105. package/cjs/components/TextField/variations/_view/base.js +1 -1
  106. package/cjs/components/TextField/variations/_view/{base_8ogww5.css → base_qhyte8.css} +1 -1
  107. package/cjs/index.css +63 -46
  108. package/emotion/cjs/components/Chip/Chip.js +1 -3
  109. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +33 -7
  110. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  111. package/emotion/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +5 -19
  112. package/emotion/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
  113. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Form/Form.js +38 -0
  114. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Form/Form.styles.js +13 -0
  115. package/emotion/cjs/components/Combobox/ComboboxNew/utils/syntheticEvent.js +53 -0
  116. package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  117. package/emotion/cjs/components/Select/Select.js +136 -177
  118. package/emotion/cjs/components/Select/Select.styles.js +31 -13
  119. package/emotion/cjs/components/Select/Select.tokens.js +60 -125
  120. package/emotion/cjs/components/Select/hooks/useKeyboardNavigation.js +73 -19
  121. package/emotion/cjs/components/Select/hooks/usePathMaps.js +1 -4
  122. package/emotion/cjs/components/Select/reducers/focusedChipIndexReducer.js +38 -0
  123. package/emotion/cjs/components/Select/reducers/index.js +11 -0
  124. package/emotion/cjs/components/Select/ui/Inner/Inner.js +9 -9
  125. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.js +12 -15
  126. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +49 -26
  127. package/emotion/cjs/components/Select/ui/Target/Target.js +18 -38
  128. package/emotion/cjs/components/Select/ui/Target/ui/Button/Button.js +16 -13
  129. package/emotion/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +6 -6
  130. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +99 -88
  131. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +75 -25
  132. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +37 -0
  133. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +22 -0
  134. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/index.js +16 -0
  135. package/emotion/cjs/components/Select/utils/getView.js +2 -2
  136. package/emotion/cjs/components/Select/utils/index.js +1 -22
  137. package/emotion/cjs/components/Select/variations/_size/base.js +8 -0
  138. package/emotion/cjs/components/Select/variations/_size/tokens.json +9 -0
  139. package/emotion/cjs/components/Select/variations/_view/base.js +8 -0
  140. package/emotion/cjs/components/Select/variations/_view/tokens.json +1 -0
  141. package/emotion/cjs/components/TextField/TextField.js +1 -8
  142. package/emotion/cjs/components/TextField/TextField.styles.js +40 -36
  143. package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
  144. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  145. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +5 -2
  146. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.config.js +20 -28
  147. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +40 -47
  148. package/emotion/cjs/examples/plasma_web/components/Select/Select.config.js +20 -28
  149. package/emotion/cjs/examples/plasma_web/components/Select/Select.stories.tsx +40 -47
  150. package/emotion/es/components/Chip/Chip.js +1 -3
  151. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +34 -7
  152. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  153. package/emotion/es/components/Combobox/ComboboxNew/FloatingPopover.js +4 -18
  154. package/emotion/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
  155. package/emotion/es/components/Combobox/ComboboxNew/ui/Form/Form.js +29 -0
  156. package/emotion/es/components/Combobox/ComboboxNew/ui/Form/Form.styles.js +6 -0
  157. package/emotion/es/components/Combobox/ComboboxNew/utils/syntheticEvent.js +47 -0
  158. package/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  159. package/emotion/es/components/Select/Select.js +141 -182
  160. package/emotion/es/components/Select/Select.styles.js +30 -12
  161. package/emotion/es/components/Select/Select.tokens.js +60 -125
  162. package/emotion/es/components/Select/hooks/useKeyboardNavigation.js +72 -18
  163. package/emotion/es/components/Select/hooks/usePathMaps.js +1 -4
  164. package/emotion/es/components/Select/reducers/focusedChipIndexReducer.js +32 -0
  165. package/emotion/es/components/Select/reducers/index.js +2 -1
  166. package/emotion/es/components/Select/ui/Inner/Inner.js +10 -10
  167. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.js +15 -18
  168. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.styles.js +48 -25
  169. package/emotion/es/components/Select/ui/Target/Target.js +17 -35
  170. package/emotion/es/components/Select/ui/Target/ui/Button/Button.js +16 -11
  171. package/emotion/es/components/Select/ui/Target/ui/Button/Button.styles.js +6 -6
  172. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +99 -86
  173. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +75 -25
  174. package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +28 -0
  175. package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +15 -0
  176. package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/index.js +1 -0
  177. package/emotion/es/components/Select/utils/getView.js +2 -2
  178. package/emotion/es/components/Select/utils/index.js +1 -4
  179. package/emotion/es/components/Select/variations/_size/base.js +2 -0
  180. package/emotion/es/components/Select/variations/_size/tokens.json +9 -0
  181. package/emotion/es/components/Select/variations/_view/base.js +2 -0
  182. package/emotion/es/components/Select/variations/_view/tokens.json +1 -0
  183. package/emotion/es/components/TextField/TextField.js +1 -8
  184. package/emotion/es/components/TextField/TextField.styles.js +40 -36
  185. package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
  186. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  187. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +5 -2
  188. package/emotion/es/examples/plasma_b2c/components/Select/Select.config.js +21 -29
  189. package/emotion/es/examples/plasma_b2c/components/Select/Select.stories.tsx +40 -47
  190. package/emotion/es/examples/plasma_web/components/Select/Select.config.js +21 -29
  191. package/emotion/es/examples/plasma_web/components/Select/Select.stories.tsx +40 -47
  192. package/es/components/Autocomplete/Autocomplete.css +22 -21
  193. package/es/components/Chip/Chip.js +1 -3
  194. package/es/components/Chip/Chip.js.map +1 -1
  195. package/es/components/Combobox/ComboboxNew/Combobox.css +24 -21
  196. package/es/components/Combobox/ComboboxNew/Combobox.js +34 -8
  197. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  198. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  199. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  200. package/es/components/Combobox/ComboboxNew/FloatingPopover.js +4 -18
  201. package/es/components/Combobox/ComboboxNew/FloatingPopover.js.map +1 -1
  202. package/es/components/Combobox/ComboboxNew/hooks/getPathMaps.js.map +1 -1
  203. package/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
  204. package/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js.map +1 -1
  205. package/es/components/Combobox/ComboboxNew/ui/Form/Form.css +1 -0
  206. package/es/components/Combobox/ComboboxNew/ui/Form/Form.js +33 -0
  207. package/es/components/Combobox/ComboboxNew/ui/Form/Form.js.map +1 -0
  208. package/es/components/Combobox/ComboboxNew/ui/Form/Form.styles.js +11 -0
  209. package/es/components/Combobox/ComboboxNew/ui/Form/Form.styles.js.map +1 -0
  210. package/es/components/Combobox/ComboboxNew/ui/Form/Form.styles_22v2s5.css +1 -0
  211. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +24 -21
  212. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +24 -21
  213. package/es/components/Combobox/ComboboxNew/utils/syntheticEvent.js +50 -0
  214. package/es/components/Combobox/ComboboxNew/utils/syntheticEvent.js.map +1 -0
  215. package/es/components/DatePicker/RangeDate/RangeDate.css +22 -21
  216. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +22 -21
  217. package/es/components/DatePicker/SingleDate/SingleDate.css +22 -21
  218. package/es/components/Dropdown/FloatingPopover.js.map +1 -1
  219. package/es/components/Pagination/Pagination.css +37 -86
  220. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +37 -86
  221. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  222. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  223. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_1fesyfv.css +3 -0
  224. package/es/components/Range/Range.css +22 -21
  225. package/es/components/Select/Select.css +34 -83
  226. package/es/components/Select/Select.js +142 -182
  227. package/es/components/Select/Select.js.map +1 -1
  228. package/es/components/Select/Select.styles.js +48 -18
  229. package/es/components/Select/Select.styles.js.map +1 -1
  230. package/es/components/Select/Select.styles_768h42.css +5 -0
  231. package/es/components/Select/Select.tokens.js +78 -123
  232. package/es/components/Select/Select.tokens.js.map +1 -1
  233. package/es/components/Select/hooks/useKeyboardNavigation.js +73 -19
  234. package/es/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
  235. package/es/components/Select/hooks/usePathMaps.js +1 -4
  236. package/es/components/Select/hooks/usePathMaps.js.map +1 -1
  237. package/es/components/Select/reducers/focusedChipIndexReducer.js +35 -0
  238. package/es/components/Select/reducers/focusedChipIndexReducer.js.map +1 -0
  239. package/es/components/Select/ui/Inner/Inner.css +34 -83
  240. package/es/components/Select/ui/Inner/Inner.js +10 -10
  241. package/es/components/Select/ui/Inner/Inner.js.map +1 -1
  242. package/es/components/Select/ui/Inner/ui/Item/Item.css +34 -83
  243. package/es/components/Select/ui/Inner/ui/Item/Item.js +14 -18
  244. package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  245. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +50 -33
  246. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  247. package/es/components/Select/ui/Inner/ui/Item/Item.styles_8oe5oy.css +9 -0
  248. package/es/components/Select/ui/Target/Target.css +17 -58
  249. package/es/components/Select/ui/Target/Target.js +17 -35
  250. package/es/components/Select/ui/Target/Target.js.map +1 -1
  251. package/es/components/Select/ui/Target/ui/Button/Button.css +5 -5
  252. package/es/components/Select/ui/Target/ui/Button/Button.js +15 -11
  253. package/es/components/Select/ui/Target/ui/Button/Button.js.map +1 -1
  254. package/es/components/Select/ui/Target/ui/Button/Button.styles.js +1 -1
  255. package/es/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -1
  256. package/es/components/Select/ui/Target/ui/Button/Button.styles_lxxm4p.css +5 -0
  257. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +38 -53
  258. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +99 -86
  259. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  260. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +99 -36
  261. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  262. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles_1damf5p.css +12 -0
  263. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.css +21 -0
  264. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +32 -0
  265. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js.map +1 -0
  266. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +18 -0
  267. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -0
  268. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles_1a752pa.css +1 -0
  269. package/es/components/Select/utils/getView.js +2 -2
  270. package/es/components/Select/utils/getView.js.map +1 -1
  271. package/es/components/Select/variations/_size/base.js +5 -0
  272. package/es/components/Select/variations/_size/base.js.map +1 -0
  273. package/es/components/Select/variations/_size/base_x642ct.css +1 -0
  274. package/es/components/Select/variations/_view/base.js +5 -0
  275. package/es/components/Select/variations/_view/base.js.map +1 -0
  276. package/es/components/Select/variations/_view/base_x642ct.css +1 -0
  277. package/es/components/Slider/Slider.css +22 -21
  278. package/es/components/Slider/components/Double/Double.css +22 -21
  279. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +22 -21
  280. package/es/components/TextField/TextField.js +0 -7
  281. package/es/components/TextField/TextField.js.map +1 -1
  282. package/es/components/TextField/TextField.styles.js +22 -14
  283. package/es/components/TextField/TextField.styles.js.map +1 -1
  284. package/{cjs/components/TextField/TextField.styles_j7dqpn.css → es/components/TextField/TextField.styles_grgg7q.css} +7 -6
  285. package/es/components/TextField/ui/Hint/Hint.css +21 -20
  286. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
  287. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  288. package/es/components/TextField/variations/_clear/base.js +1 -1
  289. package/es/components/TextField/variations/_clear/{base_1396md2.css → base_1i91sjp.css} +1 -1
  290. package/es/components/TextField/variations/_label-placement/base.js +1 -1
  291. package/es/components/TextField/variations/_label-placement/base_3domm.css +1 -0
  292. package/es/components/TextField/variations/_read-only/base.js +1 -1
  293. package/es/components/TextField/variations/_read-only/{base_1jvcf9a.css → base_17ypmu7.css} +1 -1
  294. package/es/components/TextField/variations/_size/base.js +1 -1
  295. package/es/components/TextField/variations/_size/{base_1tei47x.css → base_1xdmaqh.css} +1 -1
  296. package/es/components/TextField/variations/_view/base.js +1 -1
  297. package/es/components/TextField/variations/_view/{base_8ogww5.css → base_qhyte8.css} +1 -1
  298. package/es/index.css +63 -46
  299. package/package.json +2 -2
  300. package/styled-components/cjs/components/Chip/Chip.js +1 -3
  301. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +33 -7
  302. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  303. package/styled-components/cjs/components/Combobox/ComboboxNew/FloatingPopover.js +5 -19
  304. package/styled-components/cjs/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
  305. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Form/Form.js +38 -0
  306. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Form/Form.styles.js +12 -0
  307. package/styled-components/cjs/components/Combobox/ComboboxNew/utils/syntheticEvent.js +53 -0
  308. package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  309. package/styled-components/cjs/components/Select/Select.js +136 -177
  310. package/styled-components/cjs/components/Select/Select.styles.js +26 -11
  311. package/styled-components/cjs/components/Select/Select.tokens.js +60 -125
  312. package/styled-components/cjs/components/Select/hooks/useKeyboardNavigation.js +73 -19
  313. package/styled-components/cjs/components/Select/hooks/usePathMaps.js +1 -4
  314. package/styled-components/cjs/components/Select/reducers/focusedChipIndexReducer.js +38 -0
  315. package/styled-components/cjs/components/Select/reducers/index.js +11 -0
  316. package/styled-components/cjs/components/Select/ui/Inner/Inner.js +9 -9
  317. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.js +12 -15
  318. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +25 -19
  319. package/styled-components/cjs/components/Select/ui/Target/Target.js +18 -38
  320. package/styled-components/cjs/components/Select/ui/Target/ui/Button/Button.js +16 -13
  321. package/styled-components/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +3 -3
  322. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +99 -88
  323. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +62 -21
  324. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +37 -0
  325. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +21 -0
  326. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/index.js +16 -0
  327. package/styled-components/cjs/components/Select/utils/getView.js +2 -2
  328. package/styled-components/cjs/components/Select/utils/index.js +1 -22
  329. package/styled-components/cjs/components/Select/variations/_size/base.js +8 -0
  330. package/styled-components/cjs/components/Select/variations/_size/tokens.json +9 -0
  331. package/styled-components/cjs/components/Select/variations/_view/base.js +8 -0
  332. package/styled-components/cjs/components/Select/variations/_view/tokens.json +1 -0
  333. package/styled-components/cjs/components/TextField/TextField.js +0 -7
  334. package/styled-components/cjs/components/TextField/TextField.styles.js +15 -12
  335. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
  336. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +1 -1
  337. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +5 -2
  338. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +20 -28
  339. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +40 -47
  340. package/styled-components/cjs/examples/plasma_web/components/Select/Select.config.js +20 -28
  341. package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +40 -47
  342. package/styled-components/es/components/Chip/Chip.js +1 -3
  343. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +34 -7
  344. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -0
  345. package/styled-components/es/components/Combobox/ComboboxNew/FloatingPopover.js +4 -18
  346. package/styled-components/es/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.js +50 -1
  347. package/styled-components/es/components/Combobox/ComboboxNew/ui/Form/Form.js +29 -0
  348. package/styled-components/es/components/Combobox/ComboboxNew/ui/Form/Form.styles.js +5 -0
  349. package/styled-components/es/components/Combobox/ComboboxNew/utils/syntheticEvent.js +47 -0
  350. package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  351. package/styled-components/es/components/Select/Select.js +141 -182
  352. package/styled-components/es/components/Select/Select.styles.js +25 -10
  353. package/styled-components/es/components/Select/Select.tokens.js +60 -125
  354. package/styled-components/es/components/Select/hooks/useKeyboardNavigation.js +72 -18
  355. package/styled-components/es/components/Select/hooks/usePathMaps.js +1 -4
  356. package/styled-components/es/components/Select/reducers/focusedChipIndexReducer.js +32 -0
  357. package/styled-components/es/components/Select/reducers/index.js +2 -1
  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 +15 -18
  360. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.styles.js +24 -18
  361. package/styled-components/es/components/Select/ui/Target/Target.js +17 -35
  362. package/styled-components/es/components/Select/ui/Target/ui/Button/Button.js +16 -11
  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 +99 -86
  365. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +62 -21
  366. package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +28 -0
  367. package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +14 -0
  368. package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/index.js +1 -0
  369. package/styled-components/es/components/Select/utils/getView.js +2 -2
  370. package/styled-components/es/components/Select/utils/index.js +1 -4
  371. package/styled-components/es/components/Select/variations/_size/base.js +2 -0
  372. package/styled-components/es/components/Select/variations/_size/tokens.json +9 -0
  373. package/styled-components/es/components/Select/variations/_view/base.js +2 -0
  374. package/styled-components/es/components/Select/variations/_view/tokens.json +1 -0
  375. package/styled-components/es/components/TextField/TextField.js +0 -7
  376. package/styled-components/es/components/TextField/TextField.styles.js +15 -12
  377. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +1 -7
  378. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +1 -1
  379. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +5 -2
  380. package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +21 -29
  381. package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +40 -47
  382. package/styled-components/es/examples/plasma_web/components/Select/Select.config.js +21 -29
  383. package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +40 -47
  384. package/types/components/Chip/Chip.d.ts.map +1 -1
  385. package/types/components/Combobox/ComboboxNew/Combobox.d.ts +2 -2
  386. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  387. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +1 -0
  388. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  389. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +41 -3
  390. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  391. package/types/components/Combobox/ComboboxNew/FloatingPopover.d.ts.map +1 -1
  392. package/types/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.d.ts +3 -1
  393. package/types/components/Combobox/ComboboxNew/hooks/useKeyboardNavigation.d.ts.map +1 -1
  394. package/types/components/Combobox/ComboboxNew/ui/Form/Form.d.ts +6 -0
  395. package/types/components/Combobox/ComboboxNew/ui/Form/Form.d.ts.map +1 -0
  396. package/types/components/Combobox/ComboboxNew/ui/Form/Form.styles.d.ts +3 -0
  397. package/types/components/Combobox/ComboboxNew/ui/Form/Form.styles.d.ts.map +1 -0
  398. package/types/components/Combobox/ComboboxNew/utils/syntheticEvent.d.ts +4 -0
  399. package/types/components/Combobox/ComboboxNew/utils/syntheticEvent.d.ts.map +1 -0
  400. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +40 -40
  401. package/types/components/Select/Select.d.ts +11 -5
  402. package/types/components/Select/Select.d.ts.map +1 -1
  403. package/types/components/Select/Select.styles.d.ts +9 -0
  404. package/types/components/Select/Select.styles.d.ts.map +1 -1
  405. package/types/components/Select/Select.tokens.d.ts +58 -121
  406. package/types/components/Select/Select.tokens.d.ts.map +1 -1
  407. package/types/components/Select/Select.types.d.ts +20 -41
  408. package/types/components/Select/Select.types.d.ts.map +1 -1
  409. package/types/components/Select/hooks/useKeyboardNavigation.d.ts +11 -5
  410. package/types/components/Select/hooks/useKeyboardNavigation.d.ts.map +1 -1
  411. package/types/components/Select/hooks/usePathMaps.d.ts +1 -2
  412. package/types/components/Select/hooks/usePathMaps.d.ts.map +1 -1
  413. package/types/components/Select/index.d.ts +1 -1
  414. package/types/components/Select/index.d.ts.map +1 -1
  415. package/types/components/Select/reducers/focusedChipIndexReducer.d.ts +11 -0
  416. package/types/components/Select/reducers/focusedChipIndexReducer.d.ts.map +1 -0
  417. package/types/components/Select/reducers/index.d.ts +1 -0
  418. package/types/components/Select/reducers/index.d.ts.map +1 -1
  419. package/types/components/Select/ui/Inner/Inner.d.ts.map +1 -1
  420. package/types/components/Select/ui/Inner/ui/Item/Item.d.ts.map +1 -1
  421. package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts +2 -32
  422. package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts.map +1 -1
  423. package/types/components/Select/ui/Inner/ui/Item/Item.types.d.ts +0 -9
  424. package/types/components/Select/ui/Inner/ui/Item/Item.types.d.ts.map +1 -1
  425. package/types/components/Select/ui/Target/Target.d.ts +2 -14
  426. package/types/components/Select/ui/Target/Target.d.ts.map +1 -1
  427. package/types/components/Select/ui/Target/Target.types.d.ts +9 -10
  428. package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
  429. package/types/components/Select/ui/Target/ui/Button/Button.d.ts +1 -1
  430. package/types/components/Select/ui/Target/ui/Button/Button.d.ts.map +1 -1
  431. package/types/components/Select/ui/Target/ui/Button/Button.types.d.ts +1 -1
  432. package/types/components/Select/ui/Target/ui/Button/Button.types.d.ts.map +1 -1
  433. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts +1 -1
  434. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
  435. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +60 -628
  436. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  437. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts +4 -1
  438. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts.map +1 -1
  439. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.d.ts +9 -0
  440. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.d.ts.map +1 -0
  441. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.d.ts +3 -0
  442. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.d.ts.map +1 -0
  443. package/types/components/Select/ui/Target/ui/Textfield/ui/index.d.ts +2 -0
  444. package/types/components/Select/ui/Target/ui/Textfield/ui/index.d.ts.map +1 -0
  445. package/types/components/Select/utils/getView.d.ts +1 -1
  446. package/types/components/Select/utils/getView.d.ts.map +1 -1
  447. package/types/components/Select/utils/index.d.ts +0 -3
  448. package/types/components/Select/utils/index.d.ts.map +1 -1
  449. package/types/components/Select/variations/_size/base.d.ts +2 -0
  450. package/types/components/Select/variations/_size/base.d.ts.map +1 -0
  451. package/types/components/Select/variations/_view/base.d.ts +2 -0
  452. package/types/components/Select/variations/_view/base.d.ts.map +1 -0
  453. package/types/components/TextField/TextField.d.ts.map +1 -1
  454. package/types/components/TextField/TextField.styles.d.ts +3 -1
  455. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  456. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts +1 -3
  457. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts.map +1 -1
  458. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +1100 -140
  459. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
  460. package/types/examples/plasma_b2c/components/Select/Select.config.d.ts +7 -15
  461. package/types/examples/plasma_b2c/components/Select/Select.config.d.ts.map +1 -1
  462. package/types/examples/plasma_b2c/components/Select/Select.d.ts +46 -53
  463. package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
  464. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +1100 -140
  465. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -1
  466. package/types/examples/plasma_web/components/Select/Select.config.d.ts +7 -15
  467. package/types/examples/plasma_web/components/Select/Select.config.d.ts.map +1 -1
  468. package/types/examples/plasma_web/components/Select/Select.d.ts +46 -53
  469. package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -1
  470. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_10zfeps.css +0 -3
  471. package/cjs/components/Select/FloatingPopover.js +0 -87
  472. package/cjs/components/Select/FloatingPopover.js.map +0 -1
  473. package/cjs/components/Select/Select.styles_96j02v.css +0 -2
  474. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles_1kgvsdc.css +0 -9
  475. package/cjs/components/Select/ui/Target/ui/Button/Button.styles_10g64me.css +0 -5
  476. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_xyln0f.css +0 -3
  477. package/cjs/components/Select/utils/getFallbackPlacements.js +0 -15
  478. package/cjs/components/Select/utils/getFallbackPlacements.js.map +0 -1
  479. package/cjs/components/Select/utils/getItemId.js +0 -10
  480. package/cjs/components/Select/utils/getItemId.js.map +0 -1
  481. package/cjs/components/Select/utils/getPlacement.js +0 -13
  482. package/cjs/components/Select/utils/getPlacement.js.map +0 -1
  483. package/cjs/components/TextField/variations/_label-placement/base_gttvto.css +0 -1
  484. package/emotion/cjs/components/Select/FloatingPopover.js +0 -91
  485. package/emotion/cjs/components/Select/utils/getFallbackPlacements.js +0 -14
  486. package/emotion/cjs/components/Select/utils/getItemId.js +0 -9
  487. package/emotion/cjs/components/Select/utils/getPlacement.js +0 -12
  488. package/emotion/es/components/Select/FloatingPopover.js +0 -84
  489. package/emotion/es/components/Select/utils/getFallbackPlacements.js +0 -8
  490. package/emotion/es/components/Select/utils/getItemId.js +0 -3
  491. package/emotion/es/components/Select/utils/getPlacement.js +0 -6
  492. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_10zfeps.css +0 -3
  493. package/es/components/Select/FloatingPopover.js +0 -83
  494. package/es/components/Select/FloatingPopover.js.map +0 -1
  495. package/es/components/Select/Select.styles_96j02v.css +0 -2
  496. package/es/components/Select/ui/Inner/ui/Item/Item.styles_1kgvsdc.css +0 -9
  497. package/es/components/Select/ui/Target/ui/Button/Button.styles_10g64me.css +0 -5
  498. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles_xyln0f.css +0 -3
  499. package/es/components/Select/utils/getFallbackPlacements.js +0 -11
  500. package/es/components/Select/utils/getFallbackPlacements.js.map +0 -1
  501. package/es/components/Select/utils/getItemId.js +0 -6
  502. package/es/components/Select/utils/getItemId.js.map +0 -1
  503. package/es/components/Select/utils/getPlacement.js +0 -9
  504. package/es/components/Select/utils/getPlacement.js.map +0 -1
  505. package/es/components/TextField/variations/_label-placement/base_gttvto.css +0 -1
  506. package/styled-components/cjs/components/Select/FloatingPopover.js +0 -91
  507. package/styled-components/cjs/components/Select/utils/getFallbackPlacements.js +0 -14
  508. package/styled-components/cjs/components/Select/utils/getItemId.js +0 -9
  509. package/styled-components/cjs/components/Select/utils/getPlacement.js +0 -12
  510. package/styled-components/es/components/Select/FloatingPopover.js +0 -84
  511. package/styled-components/es/components/Select/utils/getFallbackPlacements.js +0 -8
  512. package/styled-components/es/components/Select/utils/getItemId.js +0 -3
  513. package/styled-components/es/components/Select/utils/getPlacement.js +0 -6
  514. package/types/components/Select/FloatingPopover.d.ts +0 -5
  515. package/types/components/Select/FloatingPopover.d.ts.map +0 -1
  516. package/types/components/Select/utils/getFallbackPlacements.d.ts +0 -4
  517. package/types/components/Select/utils/getFallbackPlacements.d.ts.map +0 -1
  518. package/types/components/Select/utils/getItemId.d.ts +0 -2
  519. package/types/components/Select/utils/getItemId.d.ts.map +0 -1
  520. package/types/components/Select/utils/getPlacement.d.ts +0 -4
  521. package/types/components/Select/utils/getPlacement.d.ts.map +0 -1
@@ -1,28 +1,69 @@
1
1
  import styled from 'styled-components';
2
- import { component, mergeConfig } from '../../../../../../engines';
3
- import { textFieldConfig, textFieldTokens } from '../../../../../TextField';
4
- import { tokens, classes } from '../../../../Select.tokens';
2
+ import { isEmpty } from '../../../../../../utils';
3
+ import { applyEllipsis, addFocus } from '../../../../../../mixins';
5
4
  import { IconDisclosureDownCentered } from '../../../../../_Icon';
6
- var mergedConfig = /*#__PURE__*/mergeConfig(textFieldConfig);
7
- var TextField = /*#__PURE__*/component(mergedConfig);
8
- export var StyledTextField = /*#__PURE__*/styled(TextField).withConfig({
5
+ import { component, mergeConfig } from '../../../../../../engines';
6
+ import { buttonConfig, buttonTokens } from '../../../../../Button';
7
+ import { tokens, classes, constants } from '../../../../Select.tokens';
8
+ var mergedButtonConfig = /*#__PURE__*/mergeConfig(buttonConfig);
9
+ var Button = /*#__PURE__*/component(mergedButtonConfig);
10
+ export var TextfieldWrapper = /*#__PURE__*/styled.div.withConfig({
9
11
  componentId: "plasma-new-hope__sc-1akl2tk-0"
10
- })(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":", ";", ":", ";", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");& div[class^='InputWrapper']:focus-within{background-color:var(", ");}"], textFieldTokens.color, tokens.textFieldColor, textFieldTokens.backgroundColor, tokens.textFieldBackgroundColor, textFieldTokens.borderColor, tokens.textFieldBorderColor, textFieldTokens.placeholderColor, tokens.textFieldPlaceholderColor, textFieldTokens.labelColor, tokens.textFieldLabelColor, textFieldTokens.leftHelperColor, tokens.textFieldLeftHelperColor, textFieldTokens.colorReadOnly, tokens.textFieldColor, textFieldTokens.backgroundColorReadOnly, function (_ref) {
12
+ })(["display:inline;.", "{transition:100ms;background:", ";padding:", ";border:", ";}.", ":hover{transition:100ms;border:", ";}.", "::before{box-shadow:none !important;}"], classes.textfieldTarget, function (_ref) {
11
13
  var opened = _ref.opened;
12
- return opened ? "var(".concat(tokens.textFieldBackgroundColorFocus, ")") : "var(".concat(tokens.textFieldBackgroundColor, ")");
13
- }, textFieldTokens.placeholderColorReadOnly, function (_ref2) {
14
- var opened = _ref2.opened;
15
- return opened ? "var(".concat(tokens.textFieldPlaceholderColorFocus, ")") : "var(".concat(tokens.textFieldPlaceholderColor, ")");
16
- }, textFieldTokens.leftHelperColorReadOnly, tokens.textFieldLeftHelperColor, textFieldTokens.labelColorReadOnly, tokens.textFieldLabelColor, textFieldTokens.borderColorReadOnly, tokens.textFieldBorderColor, textFieldTokens.placeholderColor, tokens.textFieldPlaceholderColor, textFieldTokens.borderColorHover, tokens.textFieldBorderColorHover, textFieldTokens.borderColorFocus, tokens.textFieldBorderColorFocus, textFieldTokens.optionalColor, tokens.textFieldOptionalColor, textFieldTokens.height, tokens.textFieldHeight, textFieldTokens.borderWidth, tokens.textFieldBorderWidth, textFieldTokens.borderRadius, tokens.textFieldBorderRadius, textFieldTokens.padding, tokens.textFieldPadding, textFieldTokens.paddingWithChips, tokens.textFieldPaddingWithChips, textFieldTokens.leftContentMargin, tokens.textFieldLeftContentMargin, textFieldTokens.rightContentMargin, tokens.textFieldRightContentMargin, textFieldTokens.fontFamily, tokens.textFieldFontFamily, textFieldTokens.fontStyle, tokens.textFieldFontStyle, textFieldTokens.fontSize, tokens.textFieldFontSize, textFieldTokens.fontWeight, tokens.textFieldFontWeight, textFieldTokens.letterSpacing, tokens.textFieldLetterSpacing, textFieldTokens.lineHeight, tokens.textFieldLineHeight, textFieldTokens.contentSlotColor, tokens.textFieldContentSlotColor, textFieldTokens.contentSlotColorHover, tokens.textFieldContentSlotColorHover, textFieldTokens.contentSlotColorActive, tokens.textFieldContentSlotColorActive, textFieldTokens.contentSlotRightColor, tokens.textFieldContentSlotRightColor, textFieldTokens.contentSlotRightColorHover, tokens.textFieldContentSlotRightColorHover, textFieldTokens.contentSlotRightColorActive, tokens.textFieldContentSlotRightColorActive, textFieldTokens.labelOffset, tokens.textFieldLabelOffset, textFieldTokens.labelFontFamily, tokens.textFieldLabelFontFamily, textFieldTokens.labelFontStyle, tokens.textFieldLabelFontStyle, textFieldTokens.labelFontSize, tokens.textFieldLabelFontSize, textFieldTokens.labelFontWeight, tokens.textFieldLabelFontWeight, textFieldTokens.labelLetterSpacing, tokens.textFieldLabelLetterSpacing, textFieldTokens.labelLineHeight, tokens.textFieldLabelLineHeight, textFieldTokens.labelInnerFontFamily, tokens.textFieldLabelInnerFontFamily, textFieldTokens.labelInnerFontStyle, tokens.textFieldLabelInnerFontStyle, textFieldTokens.labelInnerFontSize, tokens.textFieldLabelInnerFontSize, textFieldTokens.labelInnerFontWeight, tokens.textFieldLabelInnerFontWeight, textFieldTokens.labelInnerLetterSpacing, tokens.textFieldLabelInnerLetterSpacing, textFieldTokens.labelInnerLineHeight, tokens.textFieldLabelInnerLineHeight, textFieldTokens.labelInnerPadding, tokens.textFieldLabelInnerPadding, textFieldTokens.contentLabelInnerPadding, tokens.textFieldContentLabelInnerPadding, textFieldTokens.titleCaptionColor, tokens.textFieldTitleCaptionColor, textFieldTokens.titleCaptionInnerLabelOffset, tokens.textFieldTitleCaptionInnerLabelOffset, textFieldTokens.titleCaptionFontFamily, tokens.textFieldTitleCaptionFontFamily, textFieldTokens.titleCaptionFontStyle, tokens.textFieldTitleCaptionFontStyle, textFieldTokens.titleCaptionFontSize, tokens.textFieldTitleCaptionFontSize, textFieldTokens.titleCaptionFontWeight, tokens.textFieldTitleCaptionFontWeight, textFieldTokens.titleCaptionLetterSpacing, tokens.textFieldTitleCaptionLetterSpacing, textFieldTokens.titleCaptionLineHeight, tokens.textFieldTitleCaptionLineHeight, textFieldTokens.leftHelperOffset, tokens.textFieldLeftHelperOffset, textFieldTokens.leftHelperFontFamily, tokens.textFieldLeftHelperFontFamily, textFieldTokens.leftHelperFontStyle, tokens.textFieldLeftHelperFontStyle, textFieldTokens.leftHelperFontSize, tokens.textFieldLeftHelperFontSize, textFieldTokens.leftHelperFontWeight, tokens.textFieldLeftHelperFontWeight, textFieldTokens.leftHelperLetterSpacing, tokens.textFieldLeftHelperLetterSpacing, textFieldTokens.leftHelperLineHeight, tokens.textFieldLeftHelperLineHeight, textFieldTokens.textBeforeColor, tokens.textFieldTextBeforeColor, textFieldTokens.textAfterColor, tokens.textFieldTextAfterColor, textFieldTokens.textBeforeMargin, tokens.textFieldTextBeforeMargin, textFieldTokens.textAfterMargin, tokens.textFieldTextAfterMargin, textFieldTokens.disabledOpacity, tokens.textFieldDisabledOpacity, textFieldTokens.chipHeight, tokens.textFieldChipHeight, textFieldTokens.chipBorderRadius, tokens.textFieldChipBorderRadius, textFieldTokens.chipGap, tokens.textFieldChipGap, textFieldTokens.chipColor, tokens.textFieldChipColor, textFieldTokens.chipColorHover, tokens.textFieldChipColorHover, textFieldTokens.chipScaleHover, tokens.textFieldChipScaleHover, textFieldTokens.chipBackground, tokens.textFieldChipBackground, textFieldTokens.chipBackgroundActive, tokens.textFieldChipBackgroundActive, textFieldTokens.chipColorActive, tokens.textFieldChipColorActive, textFieldTokens.chipScaleActive, tokens.textFieldChipScaleActive, textFieldTokens.chipCloseIconColor, tokens.textFieldChipCloseIconColor, textFieldTokens.chipOutlineSize, tokens.textFieldChipOutlineSize, textFieldTokens.chipWidth, tokens.textFieldChipWidth, textFieldTokens.chipPaddingTop, tokens.textFieldChipPaddingTop, textFieldTokens.chipPaddingRight, tokens.textFieldChipPaddingRight, textFieldTokens.chipPaddingBottom, tokens.textFieldChipPaddingBottom, textFieldTokens.chipPaddingLeft, tokens.textFieldChipPaddingLeft, textFieldTokens.chipCloseIconSize, tokens.textFieldChipCloseIconSize, textFieldTokens.chipFontFamily, tokens.textFieldChipFontFamily, textFieldTokens.chipFontSize, tokens.textFieldChipFontSize, textFieldTokens.chipFontStyle, tokens.textFieldChipFontStyle, textFieldTokens.chipFontWeight, tokens.textFieldChipFontWeight, textFieldTokens.chipLetterSpacing, tokens.textFieldChipLetterSpacing, textFieldTokens.chipLineHeight, tokens.textFieldChipLineHeight, textFieldTokens.chipColorReadOnly, tokens.textFieldChipColor, textFieldTokens.chipColorReadOnlyHover, tokens.textFieldChipColor, textFieldTokens.chipBackgroundReadOnly, tokens.textFieldChipBackground, textFieldTokens.chipBackgroundReadOnlyHover, tokens.textFieldChipBackgroundHover, textFieldTokens.chipClearContentMarginLeft, tokens.textFieldChipClearContentMarginLeft, textFieldTokens.chipClearContentMarginRight, tokens.textFieldChipClearContentMarginRight, textFieldTokens.focusColor, tokens.textFieldFocusColor, tokens.textFieldBackgroundColorFocus);
17
- export var IconArrowWrapper = /*#__PURE__*/styled.div.withConfig({
14
+ return opened ? "var(".concat(tokens.targetTextfieldBackgroundColorOpened, ")") : "var(".concat(tokens.targetTextfieldBackgroundColor, ")");
15
+ }, function (_ref2) {
16
+ var value = _ref2.value;
17
+ return Array.isArray(value) && !isEmpty(value) ? "0 var(".concat(tokens.targetTextfieldChipPadding, ")") : "0 var(".concat(tokens.targetTextfieldPadding, ")");
18
+ }, function (_ref3) {
19
+ var opened = _ref3.opened;
20
+ return opened ? "var(".concat(tokens.targetTextfieldBorderSize, ") solid var(").concat(tokens.targetTextfieldBorderOpenedColor, ")") : "var(".concat(tokens.targetTextfieldBorderSize, ") solid var(").concat(tokens.targetTextfieldBorderColor, ")");
21
+ }, classes.textfieldTarget, function (_ref4) {
22
+ var opened = _ref4.opened;
23
+ return opened ? "var(".concat(tokens.targetTextfieldBorderSize, ") solid var(").concat(tokens.targetTextfieldBorderOpenedColor, ")") : "var(".concat(tokens.targetTextfieldBorderSize, ") solid var(").concat(tokens.targetTextfieldBorderColorHover, ")");
24
+ }, classes.selectWithoutBoxShadow);
25
+ export var StyledButton = /*#__PURE__*/styled(Button).withConfig({
18
26
  componentId: "plasma-new-hope__sc-1akl2tk-1"
19
- })(["line-height:0;color:var(", ");cursor:", ";.", "{transform:rotate(-180deg);}&:hover,&:active{color:", ";}"], tokens.disclosureIconColor, function (_ref3) {
20
- var disabled = _ref3.disabled;
21
- return disabled ? 'inherit' : 'pointer';
22
- }, classes.arrowInverse, function (_ref4) {
23
- var disabled = _ref4.disabled;
24
- return disabled ? "var(".concat(tokens.disclosureIconColor, ")") : "var(".concat(tokens.disclosureIconColorHover, ")");
25
- });
27
+ })(["", ":var(", ");", ":var(", ");", ":var(", ");", ":", ";", ":100%;", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":", ";", ":var(", ");box-shadow:inset 0 0 0 ", " var(", ");text-align:left;", ""], buttonTokens.buttonColor, constants.textfieldTargetColor, buttonTokens.buttonColorHover, constants.textfieldTargetColor, buttonTokens.buttonColorActive, constants.textfieldTargetColor, buttonTokens.buttonHeight, function (_ref5) {
28
+ var renderTarget = _ref5.renderTarget;
29
+ return renderTarget ? 'auto' : "var(".concat(tokens.targetHeight, ")");
30
+ }, buttonTokens.buttonWidth, buttonTokens.buttonPadding, tokens.targetTextfieldPadding, buttonTokens.buttonRadius, tokens.borderRadius, buttonTokens.buttonFontFamily, tokens.fontFamily, buttonTokens.buttonFontSize, tokens.fontSize, buttonTokens.buttonFontStyle, tokens.fontStyle, buttonTokens.buttonFontWeight, tokens.fontWeight, buttonTokens.buttonLetterSpacing, tokens.fontLetterSpacing, buttonTokens.buttonLineHeight, tokens.fontLineHeight, buttonTokens.buttonDisabledOpacity, constants.opacity, buttonTokens.buttonFocusColor, constants.focusColor, tokens.targetTextfieldBorderSize, tokens.targetTextfieldBorderColor, /*#__PURE__*/addFocus({
31
+ outlineOffset: tokens.targetTextfieldBorderSize,
32
+ outlineSize: constants.focusSize,
33
+ outlineRadius: /*#__PURE__*/"calc(var(".concat(tokens.borderRadius, ") - ").concat(tokens.targetTextfieldBorderSize, ")"),
34
+ outlineColor: /*#__PURE__*/"var(".concat(constants.focusColor, ")")
35
+ }));
26
36
  export var StyledArrow = /*#__PURE__*/styled(IconDisclosureDownCentered).withConfig({
27
37
  componentId: "plasma-new-hope__sc-1akl2tk-2"
28
- })([""]);
38
+ })([""]);
39
+ export var IconArrowWrapper = /*#__PURE__*/styled.div.withConfig({
40
+ componentId: "plasma-new-hope__sc-1akl2tk-3"
41
+ })(["line-height:0;margin:var(", ");color:var(", ");&:hover{color:var(", ");}&:active{color:var(", ");}"], tokens.targetTextfieldArrowMargin, tokens.targetTextfieldArrowColor, tokens.targetTextfieldArrowColorHover, tokens.targetTextfieldArrowColorActive);
42
+ export var Wrapper = /*#__PURE__*/styled.div.withConfig({
43
+ componentId: "plasma-new-hope__sc-1akl2tk-4"
44
+ })(["width:100%;height:100%;display:flex;align-items:center;justify-content:space-between;.", "{transform:rotate(-180deg);}"], classes.arrowInverse);
45
+ export var ChipWrapper = /*#__PURE__*/styled.div.withConfig({
46
+ componentId: "plasma-new-hope__sc-1akl2tk-5"
47
+ })(["width:100%;display:flex;min-width:0;padding:", ";gap:0.25rem;overflow-x:scroll;border-top-right-radius:var(", ");border-bottom-right-radius:var(", ");-ms-overflow-style:none;scrollbar-width:none;&::-webkit-scrollbar{display:none;}"], function (_ref6) {
48
+ var multiselect = _ref6.multiselect,
49
+ value = _ref6.value;
50
+ return "calc(".concat(constants.focusSize, " + ").concat(multiselect && value && value.toString().length > 0 ? "var(".concat(tokens.focusOffset, ")") : 0, ")");
51
+ }, tokens.chipBorderRadius, tokens.chipBorderRadius);
52
+ export var Label = /*#__PURE__*/styled.label.withConfig({
53
+ componentId: "plasma-new-hope__sc-1akl2tk-6"
54
+ })(["color:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");"], constants.textfieldInnerLabelColor, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.fontLetterSpacing, tokens.fontLineHeight);
55
+ export var Placeholder = /*#__PURE__*/styled.div.withConfig({
56
+ componentId: "plasma-new-hope__sc-1akl2tk-7"
57
+ })(["color:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");"], constants.textfieldPlaceholderColor, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.fontLetterSpacing, tokens.fontLineHeight);
58
+ export var InnerLabelWrapper = /*#__PURE__*/styled.div.withConfig({
59
+ componentId: "plasma-new-hope__sc-1akl2tk-8"
60
+ })(["display:flex;flex-direction:column;align-items:start;row-gap:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");"], tokens.innerLabelGap, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.fontLetterSpacing, tokens.fontLineHeight);
61
+ export var InnerLabel = /*#__PURE__*/styled.label.withConfig({
62
+ componentId: "plasma-new-hope__sc-1akl2tk-9"
63
+ })(["color:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");text-align:left;"], constants.textfieldInnerLabelColor, constants.fontFamily, constants.fontSize, constants.fontStyle, constants.fontWeight, constants.fontLetterSpacing, constants.fontLineHeight);
64
+ export var ContentLeftWrapper = /*#__PURE__*/styled.div.withConfig({
65
+ componentId: "plasma-new-hope__sc-1akl2tk-10"
66
+ })(["flex:none;margin-left:-0.125rem;margin-right:0.375rem;line-height:0;color:var(", ",--text-secondary);"], tokens.contentLeftColor);
67
+ export var Value = /*#__PURE__*/styled.span.withConfig({
68
+ componentId: "plasma-new-hope__sc-1akl2tk-11"
69
+ })(["", ""], /*#__PURE__*/applyEllipsis());
@@ -0,0 +1,28 @@
1
+ var _div;
2
+ import React, { useEffect, useRef } from 'react';
3
+ import { classes } from '../../../../../../Select.tokens';
4
+ import { StyledChip } from './Chip.styles';
5
+ export var Chip = function Chip(_ref) {
6
+ var text = _ref.text,
7
+ onClick = _ref.onClick,
8
+ focused = _ref.focused,
9
+ isTargetAmount = _ref.isTargetAmount;
10
+ var ref = useRef(null);
11
+ useEffect(function () {
12
+ if (focused && ref.current) {
13
+ ref.current.scrollIntoView({
14
+ behavior: 'smooth',
15
+ block: 'center',
16
+ inline: 'center'
17
+ });
18
+ }
19
+ }, [focused]);
20
+ return /*#__PURE__*/React.createElement(StyledChip, {
21
+ contentClearButton: isTargetAmount && (_div || (_div = /*#__PURE__*/React.createElement("div", null))),
22
+ tabIndex: -1,
23
+ onClick: onClick,
24
+ text: "".concat(text),
25
+ className: focused ? classes.selectChipIsFocused : undefined,
26
+ ref: ref
27
+ });
28
+ };
@@ -0,0 +1,14 @@
1
+ import styled from 'styled-components';
2
+ import { chipConfig, chipTokens } from '../../../../../../../Chip';
3
+ import { component, mergeConfig } from '../../../../../../../../engines';
4
+ import { tokens, classes, constants } from '../../../../../../Select.tokens';
5
+ import { addFocus } from '../../../../../../../../mixins';
6
+ var mergedConfig = /*#__PURE__*/mergeConfig(chipConfig);
7
+ var Chip = /*#__PURE__*/component(mergedConfig);
8
+ export var StyledChip = /*#__PURE__*/styled(Chip).withConfig({
9
+ componentId: "plasma-new-hope__sc-1mtedco-0"
10
+ })(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ";"], chipTokens.color, tokens.chipColor, chipTokens.colorHover, tokens.chipColor, chipTokens.colorActive, tokens.chipColor, chipTokens.background, tokens.chipBackground, chipTokens.backgroundHover, tokens.chipBackgroundHover, chipTokens.backgroundActive, tokens.chipBackgroundActive, chipTokens.borderRadius, tokens.chipBorderRadius, chipTokens.height, tokens.chipHeight, chipTokens.paddingRight, tokens.chipPaddingRight, chipTokens.paddingLeft, tokens.chipPaddingLeft, chipTokens.fontFamily, tokens.fontFamily, chipTokens.fontSize, tokens.fontSize, chipTokens.fontStyle, tokens.fontStyle, chipTokens.fontWeight, tokens.fontWeight, chipTokens.letterSpacing, tokens.fontLetterSpacing, chipTokens.lineHeight, tokens.fontLineHeight, chipTokens.clearContentMarginLeft, tokens.chipClearContentMarginLeft, chipTokens.clearContentMarginRight, tokens.chipClearContentMarginRight, chipTokens.closeIconSize, tokens.chipCloseIconSize, chipTokens.closeIconColor, tokens.chipColor, chipTokens.focusColor, constants.focusColor, /*#__PURE__*/addFocus({
11
+ outlineOffset: /*#__PURE__*/"calc(var(".concat(tokens.focusOffset, ") * -1)"),
12
+ outlineRadius: /*#__PURE__*/"calc(var(".concat(tokens.chipBorderRadius, ") + var(").concat(tokens.focusOffset, "))"),
13
+ customFocusRules: /*#__PURE__*/"\n &.".concat(classes.selectChipIsFocused, ":before {\n outline: none;\n box-shadow: 0 0 0 ").concat(constants.focusSize, " var(").concat(constants.focusColor, ");\n }\n ")
14
+ }));
@@ -0,0 +1 @@
1
+ export * from './Chip/Chip';
@@ -1,4 +1,4 @@
1
- export var getView = function getView(status, view) {
1
+ export var getView = function getView(status) {
2
2
  switch (status) {
3
3
  case 'success':
4
4
  {
@@ -14,7 +14,7 @@ export var getView = function getView(status, view) {
14
14
  }
15
15
  default:
16
16
  {
17
- return view;
17
+ return 'default';
18
18
  }
19
19
  }
20
20
  };
@@ -6,7 +6,4 @@ export { sizeToIconSize } from './sizeToIconSize';
6
6
  export { getCorrectHeight } from './getCorrectHeight';
7
7
  export { getButtonLabel } from './getButtonLabel';
8
8
  export { getView } from './getView';
9
- export { getInitialValue } from './getInitialValue';
10
- export { getPlacement } from './getPlacement';
11
- export { getFallbackPlacements } from './getFallbackPlacements';
12
- export { getItemId } from './getItemId';
9
+ export { getInitialValue } from './getInitialValue';
@@ -0,0 +1,2 @@
1
+ import { css } from 'styled-components';
2
+ export var base = /*#__PURE__*/css([""]);
@@ -0,0 +1,9 @@
1
+ [
2
+ " --plasma-select-width",
3
+ " --plasma-select-height",
4
+ " --plasma-select-border-radius",
5
+ " --plasma-select-padding-top",
6
+ " --plasma-select-padding-right",
7
+ " --plasma-select-padding-bottom",
8
+ " --plasma-select-padding-left"
9
+ ]
@@ -0,0 +1,2 @@
1
+ import { css } from 'styled-components';
2
+ export var base = /*#__PURE__*/css([""]);
@@ -0,0 +1 @@
1
+ ["--plasma-select-background", "--plasma-select-box-shadow"]
@@ -316,13 +316,6 @@ export var textFieldRoot = function textFieldRoot(Root) {
316
316
  return onChipClear(chipId, index);
317
317
  },
318
318
  onClick: onChipClick
319
- // TODO: #1547
320
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
321
- // @ts-ignore
322
- ,
323
- _forceChipManipulationWithReadonly:
324
- // eslint-disable-next-line no-underscore-dangle
325
- rest._forceChipManipulationWithReadonly
326
319
  });
327
320
  })), /*#__PURE__*/React.createElement(InputContainer, null, /*#__PURE__*/React.createElement(Input, _extends({
328
321
  ref: inputForkRef,
@@ -40,37 +40,40 @@ export var StyledIndicatorWrapper = /*#__PURE__*/styled.div.withConfig({
40
40
  export var Label = /*#__PURE__*/styled.label.withConfig({
41
41
  componentId: "plasma-new-hope__sc-g4vxbb-10"
42
42
  })(["display:inline-flex;"]);
43
- export var StyledContentLeft = /*#__PURE__*/styled.div.withConfig({
43
+ var StyledContentSlot = /*#__PURE__*/styled.div.withConfig({
44
44
  componentId: "plasma-new-hope__sc-g4vxbb-11"
45
- })(["margin:var(", ");color:", ";line-height:0;"], tokens.leftContentMargin, function (_ref2) {
45
+ })(["color:", ";line-height:0;"], function (_ref2) {
46
46
  var isDefaultView = _ref2.isDefaultView,
47
47
  isClear = _ref2.isClear;
48
48
  return !isDefaultView && isClear ? "var(".concat(tokens.clearColor, ")") : "var(".concat(tokens.contentSlotColor, ")");
49
49
  });
50
- export var StyledContentRight = /*#__PURE__*/styled.div.withConfig({
50
+ export var StyledContentLeft = /*#__PURE__*/styled(StyledContentSlot).withConfig({
51
51
  componentId: "plasma-new-hope__sc-g4vxbb-12"
52
- })(["line-height:0;margin:var(", ");color:var(", ",var(", "));&:hover{color:var(", ",var(", "));cursor:pointer;}&:active{color:var(", ",var(", "));}"], tokens.rightContentMargin, tokens.contentSlotRightColor, tokens.contentSlotColor, tokens.contentSlotRightColorHover, tokens.contentSlotColorHover, tokens.contentSlotRightColorActive, tokens.contentSlotColorActive);
53
- export var LeftHelper = /*#__PURE__*/styled.div.withConfig({
52
+ })(["margin:var(", ");"], tokens.leftContentMargin);
53
+ export var StyledContentRight = /*#__PURE__*/styled.div.withConfig({
54
54
  componentId: "plasma-new-hope__sc-g4vxbb-13"
55
+ })(["line-height:0;margin:var(", ");color:var(", ",var(", "));&:hover{color:var(", ");color:var(", ",var(", "));cursor:pointer;}&:active{color:var(", ",var(", "));}"], tokens.rightContentMargin, tokens.contentSlotRightColor, tokens.contentSlotColor, tokens.contentSlotColorHover, tokens.contentSlotRightColorHover, tokens.contentSlotColorHover, tokens.contentSlotRightColorActive, tokens.contentSlotColorActive);
56
+ export var LeftHelper = /*#__PURE__*/styled.div.withConfig({
57
+ componentId: "plasma-new-hope__sc-g4vxbb-14"
55
58
  })([""]);
56
59
  export var StyledTextBefore = /*#__PURE__*/styled.div.withConfig({
57
- componentId: "plasma-new-hope__sc-g4vxbb-14"
60
+ componentId: "plasma-new-hope__sc-g4vxbb-15"
58
61
  })([""]);
59
62
  export var StyledTextAfter = /*#__PURE__*/styled.div.withConfig({
60
- componentId: "plasma-new-hope__sc-g4vxbb-15"
63
+ componentId: "plasma-new-hope__sc-g4vxbb-16"
61
64
  })([""]);
62
65
  export var StyledOptionalText = /*#__PURE__*/styled.span.withConfig({
63
- componentId: "plasma-new-hope__sc-g4vxbb-16"
66
+ componentId: "plasma-new-hope__sc-g4vxbb-17"
64
67
  })(["color:var(", ");"], tokens.optionalColor);
65
68
  export var StyledHintWrapper = /*#__PURE__*/styled.div.withConfig({
66
- componentId: "plasma-new-hope__sc-g4vxbb-17"
69
+ componentId: "plasma-new-hope__sc-g4vxbb-18"
67
70
  })(["display:inline-block;line-height:0;&.", "{position:absolute;margin:0;inset:var(", ");}"], classes.innerLabelPlacement, tokens.hintInnerLabelPlacementOffset);
68
71
  export var HintTargetWrapper = /*#__PURE__*/styled.div.withConfig({
69
- componentId: "plasma-new-hope__sc-g4vxbb-18"
72
+ componentId: "plasma-new-hope__sc-g4vxbb-19"
70
73
  })(["color:var(", ");display:flex;justify-content:center;align-items:center;"], tokens.hintIconColor);
71
74
  export var HintIconWrapper = /*#__PURE__*/styled.div.withConfig({
72
- componentId: "plasma-new-hope__sc-g4vxbb-19"
75
+ componentId: "plasma-new-hope__sc-g4vxbb-20"
73
76
  })([""]);
74
77
  export var StyledIndicator = /*#__PURE__*/styled.div.withConfig({
75
- componentId: "plasma-new-hope__sc-g4vxbb-20"
78
+ componentId: "plasma-new-hope__sc-g4vxbb-21"
76
79
  })(["position:absolute;border-radius:50%;background-color:var(", ");&.", "{width:var(", ");height:var(", ");inset:var(", ");&.", "{inset:var(", ");&.", "{right:calc(-1 * var(", "));}}}&.", "{width:var(", ");height:var(", ");inset:var(", ");&.", "{inset:var(", ");}}"], tokens.indicatorColor, classes.outerLabelPlacement, tokens.indicatorSizeOuter, tokens.indicatorSizeOuter, tokens.indicatorLabelPlacementOuter, classes.requiredAlignRight, tokens.indicatorLabelPlacementOuterRight, classes.hasHint, tokens.indicatorSizeOuter, classes.innerLabelPlacement, tokens.indicatorSizeInner, tokens.indicatorSizeInner, tokens.indicatorLabelPlacementInner, classes.requiredAlignRight, tokens.indicatorLabelPlacementInnerRight);
@@ -10,8 +10,7 @@ export var TextFieldChip = /*#__PURE__*/forwardRef(function (_ref, ref) {
10
10
  readOnly = _ref.readOnly,
11
11
  onClick = _ref.onClick,
12
12
  onClear = _ref.onClear,
13
- onKeyDown = _ref.onKeyDown,
14
- _forceChipManipulationWithReadonly = _ref._forceChipManipulationWithReadonly;
13
+ onKeyDown = _ref.onKeyDown;
15
14
  var onClearHandle = function onClearHandle() {
16
15
  return onClear(id);
17
16
  };
@@ -27,10 +26,5 @@ export var TextFieldChip = /*#__PURE__*/forwardRef(function (_ref, ref) {
27
26
  onClear: onClearHandle,
28
27
  onKeyDown: onKeyDownHandle,
29
28
  text: "".concat(text)
30
- // TODO: #1547
31
- // eslint-disable-next-line @typescript-eslint/ban-ts-comment
32
- // @ts-ignore
33
- ,
34
- _forceChipManipulationWithReadonly: _forceChipManipulationWithReadonly
35
29
  });
36
30
  });
@@ -17,7 +17,7 @@ export var config = {
17
17
  l: /*#__PURE__*/css(["", ":3.5rem;", ":1.0625rem 1.125rem 1.0625rem 1.125rem;", ":0.375rem;", ":0.875rem;", ":-0.0625rem 0.5rem -0.0625rem -0.125rem;", ":-0.0625rem -0.125rem -0.0625rem 0.75rem;", ":0 0.25rem 0 0;", ":0 0 0 0.25rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0.75rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.5625rem 0 0.125rem 0;", ":1.5625rem 0 0.5625rem 0;", ":0.5rem;", ":0.375rem;", ":0 0 0 0;", ":0.5rem auto auto -0.75rem;", ":0 0 auto auto;", ":0.25rem -0.625rem auto auto;", ":1.5rem auto auto -0.875rem;", ":1.5rem -0.875rem auto auto;", ":1.5rem -2.25rem auto auto;", ":0.25rem;", ":0.5rem;", ":auto;", ":2.75rem;", ":0.75rem;", ":1rem;", ":0.625rem;", ":0rem;", ":1.5rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":1rem;", ":0.125rem;", ":0.875rem;", ":1.5rem;", ":1rem 1.125rem;", ":0.75rem 1.125rem;", ":0.75rem;", ":0 0.5rem 0 0;", ":1.5rem;", ":1.5rem;", ":0rem;", ":0rem;", ":0rem;", ":0rem;", ":0.125rem;", ":0.375rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":1.25rem;", ":1.25rem;", ":0.375rem;", ":0.375rem;", ":var(--text-accent);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":0.375rem;"], tokens.textFieldHeight, tokens.textFieldPadding, tokens.textFieldPaddingWithChips, tokens.textFieldBorderRadius, tokens.textFieldLeftContentMargin, tokens.textFieldRightContentMargin, tokens.textFieldTextBeforeMargin, tokens.textFieldTextAfterMargin, tokens.textFieldFontFamily, tokens.textFieldFontSize, tokens.textFieldFontStyle, tokens.textFieldFontWeight, tokens.textFieldLetterSpacing, tokens.textFieldLineHeight, tokens.textFieldLabelOffset, tokens.textFieldLabelFontFamily, tokens.textFieldLabelFontSize, tokens.textFieldLabelFontStyle, tokens.textFieldLabelFontWeight, tokens.textFieldLabelLetterSpacing, tokens.textFieldLabelLineHeight, tokens.textFieldLeftHelperOffset, tokens.textFieldLeftHelperFontFamily, tokens.textFieldLeftHelperFontSize, tokens.textFieldLeftHelperFontStyle, tokens.textFieldLeftHelperFontWeight, tokens.textFieldLeftHelperLetterSpacing, tokens.textFieldLeftHelperLineHeight, tokens.textFieldLabelInnerPadding, tokens.textFieldContentLabelInnerPadding, tokens.textFieldIndicatorSizeInner, tokens.textFieldIndicatorSizeOuter, tokens.textFieldIndicatorLabelPlacementInner, tokens.textFieldIndicatorLabelPlacementOuter, tokens.textFieldIndicatorLabelPlacementInnerRight, tokens.textFieldIndicatorLabelPlacementOuterRight, tokens.textFieldClearIndicatorLabelPlacementInner, tokens.textFieldClearIndicatorLabelPlacementInnerRight, tokens.textFieldClearIndicatorHintInnerRight, tokens.textFieldChipGap, tokens.textFieldChipBorderRadius, tokens.textFieldChipWidth, tokens.textFieldChipHeight, tokens.textFieldChipPaddingRight, tokens.textFieldChipPaddingLeft, tokens.textFieldChipClearContentMarginLeft, tokens.textFieldChipClearContentMarginRight, tokens.textFieldChipCloseIconSize, tokens.textFieldChipFontFamily, tokens.textFieldChipFontSize, tokens.textFieldChipFontStyle, tokens.textFieldChipFontWeight, tokens.textFieldChipLetterSpacing, tokens.textFieldChipLineHeight, tokens.emptyStatePadding, tokens.padding, tokens.borderRadius, tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemBorderRadius, tokens.itemIconMargin, tokens.itemIconSize, tokens.itemIconSizeTight, tokens.cellPadding, tokens.cellPaddingLeftContent, tokens.cellPaddingContent, tokens.cellPaddingRightContent, tokens.cellTextboxGap, tokens.cellGap, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.fontLetterSpacing, tokens.fontLineHeight, tokens.checkboxTriggerSize, tokens.checkboxTriggerSizeTight, tokens.checkboxTriggerBorderRadius, tokens.checkboxTriggerBorderRadiusTight, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderColor, tokens.indicatorSize),
18
18
  m: /*#__PURE__*/css(["", ":3rem;", ":0.875rem 1rem 0.875rem 1rem;", ":0.375rem;", ":0.75rem;", ":-0.125rem 0.375rem -0.125rem -0.125rem;", ":-0.125rem -0.125rem -0.125rem 0.75rem;", ":0 0.25rem 0 0;", ":0 0 0 0.25rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":0.625rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.375rem 0 0.125rem 0;", ":1.375rem 0 0.375rem 0;", ":0.5rem;", ":0.375rem;", ":0 0 0 0;", ":0.375rem auto auto -0.75rem;", ":0 0 auto auto;", ":0.25rem -0.6875rem auto auto;", ":1.25rem auto auto -0.875rem;", ":1.25rem -0.875rem auto auto;", ":1.25rem -2.25rem auto auto;", ":0.25rem;", ":0.375rem;", ":auto;", ":2.25rem;", ":0.625rem;", ":0.875rem;", ":0.5rem;", ":0rem;", ":1.25rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":0.875rem 1rem 0.875rem 1rem;", ":0.125rem;", ":0.75rem;", ":1.5rem;", ":0.75rem 0.875rem;", ":0.5rem 0.875rem;", ":0.625rem;", ":0 0.375rem 0 0;", ":1.5rem;", ":1.5rem;", ":0rem;", ":0rem;", ":0rem;", ":0rem;", ":0.125rem;", ":0.375rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":1.25rem;", ":1.25rem;", ":0.375rem;", ":0.375rem;", ":var(--text-accent);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":0.375rem;"], tokens.textFieldHeight, tokens.textFieldPadding, tokens.textFieldPaddingWithChips, tokens.textFieldBorderRadius, tokens.textFieldLeftContentMargin, tokens.textFieldRightContentMargin, tokens.textFieldTextBeforeMargin, tokens.textFieldTextAfterMargin, tokens.textFieldFontFamily, tokens.textFieldFontSize, tokens.textFieldFontStyle, tokens.textFieldFontWeight, tokens.textFieldLetterSpacing, tokens.textFieldLineHeight, tokens.textFieldLabelOffset, tokens.textFieldLabelFontFamily, tokens.textFieldLabelFontSize, tokens.textFieldLabelFontStyle, tokens.textFieldLabelFontWeight, tokens.textFieldLabelLetterSpacing, tokens.textFieldLabelLineHeight, tokens.textFieldLeftHelperOffset, tokens.textFieldLeftHelperFontFamily, tokens.textFieldLeftHelperFontSize, tokens.textFieldLeftHelperFontStyle, tokens.textFieldLeftHelperFontWeight, tokens.textFieldLeftHelperLetterSpacing, tokens.textFieldLeftHelperLineHeight, tokens.textFieldLabelInnerPadding, tokens.textFieldContentLabelInnerPadding, tokens.textFieldIndicatorSizeInner, tokens.textFieldIndicatorSizeOuter, tokens.textFieldIndicatorLabelPlacementInner, tokens.textFieldIndicatorLabelPlacementOuter, tokens.textFieldIndicatorLabelPlacementInnerRight, tokens.textFieldIndicatorLabelPlacementOuterRight, tokens.textFieldClearIndicatorLabelPlacementInner, tokens.textFieldClearIndicatorLabelPlacementInnerRight, tokens.textFieldClearIndicatorHintInnerRight, tokens.textFieldChipGap, tokens.textFieldChipBorderRadius, tokens.textFieldChipWidth, tokens.textFieldChipHeight, tokens.textFieldChipPaddingRight, tokens.textFieldChipPaddingLeft, tokens.textFieldChipClearContentMarginLeft, tokens.textFieldChipClearContentMarginRight, tokens.textFieldChipCloseIconSize, tokens.textFieldChipFontFamily, tokens.textFieldChipFontSize, tokens.textFieldChipFontStyle, tokens.textFieldChipFontWeight, tokens.textFieldChipLetterSpacing, tokens.textFieldChipLineHeight, tokens.emptyStatePadding, tokens.padding, tokens.borderRadius, tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemBorderRadius, tokens.itemIconMargin, tokens.itemIconSize, tokens.itemIconSizeTight, tokens.cellPadding, tokens.cellPaddingLeftContent, tokens.cellPaddingContent, tokens.cellPaddingRightContent, tokens.cellTextboxGap, tokens.cellGap, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.fontLetterSpacing, tokens.fontLineHeight, tokens.checkboxTriggerSize, tokens.checkboxTriggerSizeTight, tokens.checkboxTriggerBorderRadius, tokens.checkboxTriggerBorderRadiusTight, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderColor, tokens.indicatorSize),
19
19
  s: /*#__PURE__*/css(["", ":2.5rem;", ":0.6875rem 0.875rem 0.6875rem 0.875rem;", ":0.375rem;", ":0.625rem;", ":-0.1875rem 0.25rem -0.1875rem -0.125rem;", ":-0.1875rem -0.125rem -0.1875rem 0.75rem;", ":0 0.25rem 0 0;", ":0 0 0 0.25rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":0.5rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.3125rem 0 0 0;", ":1.0625rem 0 0.3125rem 0;", ":0.375rem;", ":0.375rem;", ":0 0 0 0;", ":0.3125rem auto auto -0.6875rem;", ":0 0 auto auto;", ":0.25rem -0.625rem auto auto;", ":1.063rem auto auto -0.75rem;", ":1.063rem -0.75rem auto auto;", ":1.063rem -2.125rem auto auto;", ":0.25rem;", ":0.25rem;", ":auto;", ":1.75rem;", ":0.5rem;", ":0.75rem;", ":0.375rem;", ":0rem;", ":1rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":0.625rem 0.875rem 0.625rem 0.875rem;", ":0.125rem;", ":0.625rem;", ":1.5rem;", ":0.5rem 0.75rem;", ":0.25rem 0.75rem;", ":0.5rem;", ":1.5rem;", ":1rem;", ":0 0.375rem 0 0;", ":0rem;", ":0rem;", ":0rem;", ":0rem;", ":0.125rem;", ":0.375rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":1.25rem;", ":0.875rem;", ":0.375rem;", ":0.25rem;", ":var(--text-accent);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":0.375rem;"], tokens.textFieldHeight, tokens.textFieldPadding, tokens.textFieldPaddingWithChips, tokens.textFieldBorderRadius, tokens.textFieldLeftContentMargin, tokens.textFieldRightContentMargin, tokens.textFieldTextBeforeMargin, tokens.textFieldTextAfterMargin, tokens.textFieldFontFamily, tokens.textFieldFontSize, tokens.textFieldFontStyle, tokens.textFieldFontWeight, tokens.textFieldLetterSpacing, tokens.textFieldLineHeight, tokens.textFieldLabelOffset, tokens.textFieldLabelFontFamily, tokens.textFieldLabelFontSize, tokens.textFieldLabelFontStyle, tokens.textFieldLabelFontWeight, tokens.textFieldLabelLetterSpacing, tokens.textFieldLabelLineHeight, tokens.textFieldLeftHelperOffset, tokens.textFieldLeftHelperFontFamily, tokens.textFieldLeftHelperFontSize, tokens.textFieldLeftHelperFontStyle, tokens.textFieldLeftHelperFontWeight, tokens.textFieldLeftHelperLetterSpacing, tokens.textFieldLeftHelperLineHeight, tokens.textFieldLabelInnerPadding, tokens.textFieldContentLabelInnerPadding, tokens.textFieldIndicatorSizeInner, tokens.textFieldIndicatorSizeOuter, tokens.textFieldIndicatorLabelPlacementInner, tokens.textFieldIndicatorLabelPlacementOuter, tokens.textFieldIndicatorLabelPlacementInnerRight, tokens.textFieldIndicatorLabelPlacementOuterRight, tokens.textFieldClearIndicatorLabelPlacementInner, tokens.textFieldClearIndicatorLabelPlacementInnerRight, tokens.textFieldClearIndicatorHintInnerRight, tokens.textFieldChipGap, tokens.textFieldChipBorderRadius, tokens.textFieldChipWidth, tokens.textFieldChipHeight, tokens.textFieldChipPaddingRight, tokens.textFieldChipPaddingLeft, tokens.textFieldChipClearContentMarginLeft, tokens.textFieldChipClearContentMarginRight, tokens.textFieldChipCloseIconSize, tokens.textFieldChipFontFamily, tokens.textFieldChipFontSize, tokens.textFieldChipFontStyle, tokens.textFieldChipFontWeight, tokens.textFieldChipLetterSpacing, tokens.textFieldChipLineHeight, tokens.emptyStatePadding, tokens.padding, tokens.borderRadius, tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemBorderRadius, tokens.itemIconSize, tokens.itemIconSizeTight, tokens.itemIconMargin, tokens.cellPadding, tokens.cellPaddingLeftContent, tokens.cellPaddingContent, tokens.cellPaddingRightContent, tokens.cellTextboxGap, tokens.cellGap, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.fontLetterSpacing, tokens.fontLineHeight, tokens.checkboxTriggerSize, tokens.checkboxTriggerSizeTight, tokens.checkboxTriggerBorderRadius, tokens.checkboxTriggerBorderRadiusTight, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderColor, tokens.indicatorSize),
20
- xs: /*#__PURE__*/css(["", ":2rem;", ":0.5625rem 0.625rem 0.5625rem 0.625rem;", ":0.375rem;", ":0.5rem;", ":-0.0625rem 0.25rem -0.0625rem -0.125rem;", ":-0.0625rem -0.125rem -0.0625rem 0.75rem;", ":0 0.25rem 0 0;", ":0 0 0 0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.375rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.3125rem 0 0 0;", ":1.0625rem 0 0.3125rem 0;", ":0.375rem;", ":0.375rem;", ":0 0 0 0;", ":0.25rem auto auto -0.625rem;", ":0 0 auto auto;", ":0.125rem -0.6875rem auto auto;", ":0.813rem auto auto -0.625rem;", ":0.813rem -0.625rem auto auto;", ":0.813rem -1.875rem auto auto;", ":0.25rem;", ":0.125rem;", ":auto;", ":1.25rem;", ":0.375rem;", ":0.625rem;", ":0.25rem;", ":0rem;", ":0.75rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.5rem 0.625rem 0.5rem 0.625rem;", ":0.125rem;", ":0.5rem;", ":1rem;", ":0.5rem;", ":0.25rem 0.5rem;", ":0.375rem;", ":1rem;", ":1rem;", ":0 0.25rem 0 0;", ":0rem;", ":0rem;", ":0rem;", ":0rem;", ":0.125rem;", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":0.875rem;", ":0.875rem;", ":0.25rem;", ":0.25rem;", ":var(--text-accent);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":0.375rem;"], tokens.textFieldHeight, tokens.textFieldPadding, tokens.textFieldPaddingWithChips, tokens.textFieldBorderRadius, tokens.textFieldLeftContentMargin, tokens.textFieldRightContentMargin, tokens.textFieldTextBeforeMargin, tokens.textFieldTextAfterMargin, tokens.textFieldFontFamily, tokens.textFieldFontSize, tokens.textFieldFontStyle, tokens.textFieldFontWeight, tokens.textFieldLetterSpacing, tokens.textFieldLineHeight, tokens.textFieldLabelOffset, tokens.textFieldLabelFontFamily, tokens.textFieldLabelFontSize, tokens.textFieldLabelFontStyle, tokens.textFieldLabelFontWeight, tokens.textFieldLabelLetterSpacing, tokens.textFieldLabelLineHeight, tokens.textFieldLeftHelperOffset, tokens.textFieldLeftHelperFontFamily, tokens.textFieldLeftHelperFontSize, tokens.textFieldLeftHelperFontStyle, tokens.textFieldLeftHelperFontWeight, tokens.textFieldLeftHelperLetterSpacing, tokens.textFieldLeftHelperLineHeight, tokens.textFieldLabelInnerPadding, tokens.textFieldContentLabelInnerPadding, tokens.textFieldIndicatorSizeInner, tokens.textFieldIndicatorSizeOuter, tokens.textFieldIndicatorLabelPlacementInner, tokens.textFieldIndicatorLabelPlacementOuter, tokens.textFieldIndicatorLabelPlacementInnerRight, tokens.textFieldIndicatorLabelPlacementOuterRight, tokens.textFieldClearIndicatorLabelPlacementInner, tokens.textFieldClearIndicatorLabelPlacementInnerRight, tokens.textFieldClearIndicatorHintInnerRight, tokens.textFieldChipGap, tokens.textFieldChipBorderRadius, tokens.textFieldChipWidth, tokens.textFieldChipHeight, tokens.textFieldChipPaddingRight, tokens.textFieldChipPaddingLeft, tokens.textFieldChipClearContentMarginLeft, tokens.textFieldChipClearContentMarginRight, tokens.textFieldChipCloseIconSize, tokens.textFieldChipFontFamily, tokens.textFieldChipFontSize, tokens.textFieldChipFontStyle, tokens.textFieldChipFontWeight, tokens.textFieldChipLetterSpacing, tokens.textFieldChipLineHeight, tokens.emptyStatePadding, tokens.padding, tokens.borderRadius, tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemBorderRadius, tokens.itemIconSize, tokens.itemIconSizeTight, tokens.itemIconMargin, tokens.cellPadding, tokens.cellPaddingLeftContent, tokens.cellPaddingContent, tokens.cellPaddingRightContent, tokens.cellTextboxGap, tokens.cellGap, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.fontLetterSpacing, tokens.fontLineHeight, tokens.checkboxTriggerSize, tokens.checkboxTriggerSizeTight, tokens.checkboxTriggerBorderRadius, tokens.checkboxTriggerBorderRadiusTight, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderColor, tokens.indicatorSize)
20
+ xs: /*#__PURE__*/css(["", ":2rem;", ":0.5625rem 0.625rem 0.5625rem 0.625rem;", ":0.375rem;", ":0.5rem;", ":-0.0625rem 0.25rem -0.0625rem -0.125rem;", ":-0.0625rem -0.125rem -0.0625rem 0.75rem;", ":0 0.25rem 0 0;", ":0 0 0 0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.375rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.3125rem 0 0 0;", ":1.0625rem 0 0.3125rem 0;", ":0.375rem;", ":0.375rem;", ":0 0 0 0;", ":0.25rem auto auto -0.625rem;", ":0 0 auto auto;", ":0.125rem -0.6875rem auto auto;", ":0.813rem auto auto -0.625rem;", ":0.813rem -0.625rem auto auto;", ":0.813rem -1.875rem auto auto;", ":0.25rem;", ":0.125rem;", ":auto;", ":1.25rem;", ":0.375rem;", ":0.625rem;", ":0.25rem;", ":0rem;", ":0.75rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0.5rem 0.625rem 0.5rem 0.625rem;", ":0.125rem;", ":0.5rem;", ":1rem;", ":0.5rem;", ":0.25rem 0.5rem;", ":0.375rem;", ":0 0.25rem 0 0;", ":1rem;", ":1rem;", ":0rem;", ":0rem;", ":0rem;", ":0rem;", ":0.125rem;", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":0.875rem;", ":0.875rem;", ":0.25rem;", ":0.25rem;", ":var(--text-accent);", ":var(--on-dark-text-primary);", ":var(--text-secondary);", ":0.375rem;"], tokens.textFieldHeight, tokens.textFieldPadding, tokens.textFieldPaddingWithChips, tokens.textFieldBorderRadius, tokens.textFieldLeftContentMargin, tokens.textFieldRightContentMargin, tokens.textFieldTextBeforeMargin, tokens.textFieldTextAfterMargin, tokens.textFieldFontFamily, tokens.textFieldFontSize, tokens.textFieldFontStyle, tokens.textFieldFontWeight, tokens.textFieldLetterSpacing, tokens.textFieldLineHeight, tokens.textFieldLabelOffset, tokens.textFieldLabelFontFamily, tokens.textFieldLabelFontSize, tokens.textFieldLabelFontStyle, tokens.textFieldLabelFontWeight, tokens.textFieldLabelLetterSpacing, tokens.textFieldLabelLineHeight, tokens.textFieldLeftHelperOffset, tokens.textFieldLeftHelperFontFamily, tokens.textFieldLeftHelperFontSize, tokens.textFieldLeftHelperFontStyle, tokens.textFieldLeftHelperFontWeight, tokens.textFieldLeftHelperLetterSpacing, tokens.textFieldLeftHelperLineHeight, tokens.textFieldLabelInnerPadding, tokens.textFieldContentLabelInnerPadding, tokens.textFieldIndicatorSizeInner, tokens.textFieldIndicatorSizeOuter, tokens.textFieldIndicatorLabelPlacementInner, tokens.textFieldIndicatorLabelPlacementOuter, tokens.textFieldIndicatorLabelPlacementInnerRight, tokens.textFieldIndicatorLabelPlacementOuterRight, tokens.textFieldClearIndicatorLabelPlacementInner, tokens.textFieldClearIndicatorLabelPlacementInnerRight, tokens.textFieldClearIndicatorHintInnerRight, tokens.textFieldChipGap, tokens.textFieldChipBorderRadius, tokens.textFieldChipWidth, tokens.textFieldChipHeight, tokens.textFieldChipPaddingRight, tokens.textFieldChipPaddingLeft, tokens.textFieldChipClearContentMarginLeft, tokens.textFieldChipClearContentMarginRight, tokens.textFieldChipCloseIconSize, tokens.textFieldChipFontFamily, tokens.textFieldChipFontSize, tokens.textFieldChipFontStyle, tokens.textFieldChipFontWeight, tokens.textFieldChipLetterSpacing, tokens.textFieldChipLineHeight, tokens.emptyStatePadding, tokens.padding, tokens.borderRadius, tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemBorderRadius, tokens.itemIconMargin, tokens.itemIconSize, tokens.itemIconSizeTight, tokens.cellPadding, tokens.cellPaddingLeftContent, tokens.cellPaddingContent, tokens.cellPaddingRightContent, tokens.cellTextboxGap, tokens.cellGap, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.fontLetterSpacing, tokens.fontLineHeight, tokens.checkboxTriggerSize, tokens.checkboxTriggerSizeTight, tokens.checkboxTriggerBorderRadius, tokens.checkboxTriggerBorderRadiusTight, tokens.checkboxFillColor, tokens.checkboxIconColor, tokens.checkboxTriggerBorderColor, tokens.indicatorSize)
21
21
  },
22
22
  labelPlacement: {
23
23
  inner: /*#__PURE__*/css(["", ":var(--plasma-input-label-color,var(--plasma-input-placeholder-color,var(--plasma-colors-secondary)));", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], tokens.textFieldPlaceholderColor, tokens.textFieldLabelInnerFontFamily, tokens.textFieldLabelInnerFontSize, tokens.textFieldLabelInnerFontStyle, tokens.textFieldLabelInnerFontWeight, tokens.textFieldLabelInnerLetterSpacing, tokens.textFieldLabelInnerLineHeight),
@@ -352,14 +352,17 @@ const items = [
352
352
  ];
353
353
 
354
354
  const SingleStory = (args: StorySelectProps) => {
355
- const [value, setValue] = useState('');
355
+ // const [value, setValue] = useState('');
356
+ const setValue = (event) => {
357
+ console.log(event);
358
+ };
356
359
 
357
360
  return (
358
361
  <div style={{ width: '400px' }}>
359
362
  <Combobox
360
363
  {...args}
364
+ name="mau"
361
365
  items={items}
362
- value={value}
363
366
  onChange={setValue}
364
367
  contentLeft={args.enableContentLeft ? <IconDone size="s" /> : undefined}
365
368
  />