@salutejs/plasma-new-hope 0.110.0-dev.0 → 0.110.1-canary.1233.10062283292.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1018) hide show
  1. package/cjs/components/Accordion/ui/AccordionItem/AccordionItem.js.map +1 -1
  2. package/cjs/components/Button/Button.styles.js.map +1 -1
  3. package/cjs/components/Chip/Chip.tokens.js +2 -0
  4. package/cjs/components/Chip/Chip.tokens.js.map +1 -1
  5. package/cjs/components/Combobox/Combobox.js +2 -2
  6. package/cjs/components/Combobox/Combobox.js.map +1 -1
  7. package/cjs/components/Combobox/hooks/useKeyNavigation.js.map +1 -0
  8. package/cjs/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js +1 -1
  9. package/cjs/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js.map +1 -1
  10. package/cjs/components/Combobox/utils/index.js +103 -0
  11. package/cjs/components/Combobox/utils/index.js.map +1 -1
  12. package/cjs/components/Dropdown/Dropdown.tokens.js +32 -18
  13. package/cjs/components/Dropdown/Dropdown.tokens.js.map +1 -1
  14. package/cjs/components/Dropdown/hooks/useKeyboardNavigation.js +63 -24
  15. package/cjs/components/Dropdown/hooks/useKeyboardNavigation.js.map +1 -1
  16. package/cjs/components/Pagination/Pagination.css +56 -48
  17. package/cjs/components/Pagination/Pagination.js +12 -5
  18. package/cjs/components/Pagination/Pagination.js.map +1 -1
  19. package/cjs/components/Pagination/Pagination.styles.js.map +1 -1
  20. package/cjs/components/Pagination/Pagination.tokens.js +9 -11
  21. package/cjs/components/Pagination/Pagination.tokens.js.map +1 -1
  22. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +74 -66
  23. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +20 -26
  24. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js.map +1 -1
  25. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +2 -22
  26. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  27. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_187mk6b.css +3 -0
  28. package/cjs/components/Select/Select.css +71 -62
  29. package/cjs/components/Select/Select.js +265 -193
  30. package/cjs/components/Select/Select.js.map +1 -1
  31. package/cjs/components/Select/Select.styles.js +51 -36
  32. package/cjs/components/Select/Select.styles.js.map +1 -1
  33. package/cjs/components/Select/Select.styles_zx0ztg.css +5 -0
  34. package/cjs/components/Select/Select.tokens.js +57 -166
  35. package/cjs/components/Select/Select.tokens.js.map +1 -1
  36. package/cjs/components/Select/hooks/useKeyboardNavigation.js +353 -0
  37. package/cjs/components/Select/hooks/useKeyboardNavigation.js.map +1 -0
  38. package/cjs/components/Select/hooks/usePathMaps.js +37 -0
  39. package/cjs/components/Select/hooks/usePathMaps.js.map +1 -0
  40. package/cjs/components/Select/reducers/focusedChipIndexReducer.js +39 -0
  41. package/cjs/components/Select/reducers/focusedChipIndexReducer.js.map +1 -0
  42. package/cjs/components/Select/reducers/focusedPathReducer.js +37 -0
  43. package/cjs/components/Select/reducers/focusedPathReducer.js.map +1 -0
  44. package/cjs/components/Select/reducers/pathReducer.js +41 -0
  45. package/cjs/components/Select/reducers/pathReducer.js.map +1 -0
  46. package/cjs/components/Select/ui/Inner/Inner.css +110 -0
  47. package/cjs/components/Select/ui/Inner/Inner.js +82 -0
  48. package/cjs/components/Select/ui/Inner/Inner.js.map +1 -0
  49. package/cjs/components/Select/ui/Inner/ui/Item/Item.css +110 -0
  50. package/cjs/components/Select/ui/Inner/ui/Item/Item.js +97 -0
  51. package/cjs/components/Select/ui/Inner/ui/Item/Item.js.map +1 -0
  52. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +110 -0
  53. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -0
  54. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles_y3jg1m.css +9 -0
  55. package/cjs/components/Select/ui/Target/Target.css +66 -0
  56. package/cjs/components/Select/ui/Target/Target.js +63 -0
  57. package/cjs/components/Select/ui/Target/Target.js.map +1 -0
  58. package/cjs/components/Select/ui/Target/ui/Button/Button.css +33 -0
  59. package/cjs/components/Select/ui/Target/ui/Button/Button.js +59 -0
  60. package/cjs/components/Select/ui/Target/ui/Button/Button.js.map +1 -0
  61. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +52 -0
  62. package/cjs/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -0
  63. package/cjs/components/Select/ui/Target/ui/Button/Button.styles_nn6pg.css +5 -0
  64. package/{es/components/Select/ui/SelectTarget/SelectTarget.css → cjs/components/Select/ui/Target/ui/Textfield/Textfield.css} +13 -7
  65. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +113 -0
  66. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -0
  67. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +113 -0
  68. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -0
  69. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_16d02b7.css +12 -0
  70. package/cjs/components/Select/ui/{SelectChip/SelectChip.css → Target/ui/Textfield/ui/Chip/Chip.css} +1 -1
  71. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +36 -0
  72. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js.map +1 -0
  73. package/cjs/components/Select/ui/{SelectChip/SelectChip.styles.js → Target/ui/Textfield/ui/Chip/Chip.styles.js} +5 -8
  74. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -0
  75. package/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles_1a752pa.css +1 -0
  76. package/cjs/components/Select/utils/getButtonLabel.js +47 -0
  77. package/cjs/components/Select/utils/getButtonLabel.js.map +1 -0
  78. package/cjs/components/Select/utils/getCorrectHeight.js +13 -0
  79. package/cjs/components/Select/utils/getCorrectHeight.js.map +1 -0
  80. package/cjs/components/Select/utils/initialItemsTransform.js +19 -0
  81. package/cjs/components/Select/utils/initialItemsTransform.js.map +1 -0
  82. package/cjs/components/Select/utils/sizeToIconSize.js +11 -0
  83. package/cjs/components/Select/utils/sizeToIconSize.js.map +1 -0
  84. package/cjs/components/Select/utils/updateAncestors.js +34 -0
  85. package/cjs/components/Select/utils/updateAncestors.js.map +1 -0
  86. package/cjs/components/Select/utils/updateDescendants.js +18 -0
  87. package/cjs/components/Select/utils/updateDescendants.js.map +1 -0
  88. package/cjs/components/Select/utils/updateSingleAncestors.js +15 -0
  89. package/cjs/components/Select/utils/updateSingleAncestors.js.map +1 -0
  90. package/cjs/components/_Icon/Icon.assets/DisclosureDownCentered.js +33 -0
  91. package/cjs/components/_Icon/Icon.assets/DisclosureDownCentered.js.map +1 -0
  92. package/cjs/components/_Icon/Icon.assets/DisclosureRightCentered.js +31 -0
  93. package/cjs/components/_Icon/Icon.assets/DisclosureRightCentered.js.map +1 -0
  94. package/cjs/components/_Icon/Icons/IconDisclosureDownCentered.js +23 -0
  95. package/cjs/components/_Icon/Icons/IconDisclosureDownCentered.js.map +1 -0
  96. package/cjs/components/_Icon/Icons/IconDisclosureRightCentered.js +23 -0
  97. package/cjs/components/_Icon/Icons/IconDisclosureRightCentered.js.map +1 -0
  98. package/cjs/engines/common.js.map +1 -1
  99. package/cjs/index.css +42 -27
  100. package/cjs/index.js +2 -18
  101. package/cjs/index.js.map +1 -1
  102. package/cjs/utils/index.js.map +1 -1
  103. package/cjs/utils/isEmpty.js +49 -0
  104. package/cjs/utils/isEmpty.js.map +1 -0
  105. package/emotion/cjs/components/Button/Button.styles.js +9 -9
  106. package/emotion/cjs/components/Chip/Chip.tokens.js +2 -0
  107. package/emotion/cjs/components/Combobox/Combobox.js +6 -6
  108. package/emotion/cjs/components/Combobox/hooks/index.js +14 -1
  109. package/emotion/cjs/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js +4 -5
  110. package/emotion/cjs/components/Combobox/utils/index.js +105 -1
  111. package/emotion/cjs/components/Dropdown/Dropdown.tokens.js +32 -18
  112. package/emotion/cjs/components/Dropdown/hooks/useKeyboardNavigation.js +63 -24
  113. package/emotion/cjs/components/Pagination/Pagination.js +12 -5
  114. package/emotion/cjs/components/Pagination/Pagination.styles.js +8 -8
  115. package/emotion/cjs/components/Pagination/Pagination.tokens.js +9 -11
  116. package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +22 -35
  117. package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +6 -12
  118. package/emotion/cjs/components/Select/Select.js +255 -187
  119. package/emotion/cjs/components/Select/Select.styles.js +29 -25
  120. package/emotion/cjs/components/Select/Select.tokens.js +80 -167
  121. package/emotion/cjs/components/Select/hooks/useKeyboardNavigation.js +355 -0
  122. package/emotion/cjs/components/Select/hooks/usePathMaps.js +33 -0
  123. package/emotion/cjs/components/Select/index.js +1 -25
  124. package/emotion/cjs/components/Select/reducers/focusedChipIndexReducer.js +38 -0
  125. package/emotion/cjs/components/Select/reducers/focusedPathReducer.js +40 -0
  126. package/emotion/cjs/components/Select/reducers/index.js +38 -0
  127. package/emotion/cjs/components/Select/reducers/pathReducer.js +44 -0
  128. package/emotion/cjs/components/Select/ui/InfiniteLoader/InfiniteLoader.js +18 -0
  129. package/emotion/cjs/components/Select/ui/InfiniteLoader/InfiniteLoader.styles.js +26 -0
  130. package/emotion/cjs/components/Select/ui/Inner/Inner.js +80 -0
  131. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.js +95 -0
  132. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +92 -0
  133. package/emotion/cjs/components/Select/ui/Inner/ui/index.js +16 -0
  134. package/emotion/cjs/components/Select/ui/Target/Target.js +61 -0
  135. package/emotion/cjs/components/Select/ui/Target/ui/Button/Button.js +57 -0
  136. package/emotion/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +44 -0
  137. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +111 -0
  138. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +84 -0
  139. package/{styled-components/cjs/components/Select/ui/SelectChip/SelectChip.js → emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js} +24 -27
  140. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +22 -0
  141. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/ui/index.js +16 -0
  142. package/emotion/cjs/components/Select/ui/Target/ui/index.js +27 -0
  143. package/emotion/cjs/components/Select/ui/index.js +33 -72
  144. package/emotion/cjs/components/Select/utils/getButtonLabel.js +43 -0
  145. package/emotion/cjs/components/Select/utils/getCorrectHeight.js +12 -0
  146. package/emotion/cjs/components/Select/utils/index.js +44 -102
  147. package/emotion/cjs/components/Select/utils/initialItemsTransform.js +18 -0
  148. package/emotion/cjs/components/Select/utils/sizeToIconSize.js +10 -0
  149. package/emotion/cjs/components/Select/utils/updateAncestors.js +33 -0
  150. package/emotion/cjs/components/Select/utils/updateDescendants.js +17 -0
  151. package/emotion/cjs/components/Select/utils/updateSingleAncestors.js +14 -0
  152. package/emotion/cjs/components/_Icon/Icon.assets/DisclosureDownCentered.js +32 -0
  153. package/emotion/cjs/components/_Icon/Icon.assets/DisclosureRightCentered.js +30 -0
  154. package/emotion/cjs/components/_Icon/Icons/IconDisclosureDownCentered.js +22 -0
  155. package/emotion/cjs/components/_Icon/Icons/IconDisclosureRightCentered.js +22 -0
  156. package/emotion/cjs/components/_Icon/index.js +14 -0
  157. package/emotion/cjs/examples/_helpers.js +1 -1
  158. package/emotion/cjs/examples/plasma_b2c/components/Pagination/Pagination.config.js +12 -12
  159. package/emotion/cjs/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +1 -0
  160. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.config.js +21 -11
  161. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.js +5 -15
  162. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +753 -204
  163. package/emotion/cjs/examples/plasma_b2c/components/Select/style.css +36 -0
  164. package/emotion/cjs/examples/plasma_web/components/Pagination/Pagination.config.js +12 -12
  165. package/emotion/cjs/examples/plasma_web/components/Select/Select.config.js +21 -11
  166. package/emotion/cjs/examples/plasma_web/components/Select/Select.js +5 -15
  167. package/emotion/cjs/examples/plasma_web/components/Select/Select.stories.tsx +753 -200
  168. package/emotion/cjs/examples/plasma_web/components/Select/style.css +37 -0
  169. package/emotion/cjs/utils/index.js +9 -1
  170. package/emotion/cjs/utils/isEmpty.js +47 -0
  171. package/emotion/es/components/Button/Button.styles.js +9 -9
  172. package/emotion/es/components/Chip/Chip.tokens.js +2 -0
  173. package/emotion/es/components/Combobox/Combobox.js +2 -2
  174. package/emotion/es/components/Combobox/hooks/index.js +2 -1
  175. package/emotion/es/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js +1 -2
  176. package/emotion/es/components/Combobox/utils/index.js +105 -1
  177. package/emotion/es/components/Dropdown/Dropdown.tokens.js +32 -18
  178. package/emotion/es/components/Dropdown/hooks/useKeyboardNavigation.js +63 -24
  179. package/emotion/es/components/Pagination/Pagination.js +12 -5
  180. package/emotion/es/components/Pagination/Pagination.styles.js +8 -8
  181. package/emotion/es/components/Pagination/Pagination.tokens.js +9 -11
  182. package/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +22 -33
  183. package/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +6 -12
  184. package/emotion/es/components/Select/Select.js +252 -185
  185. package/emotion/es/components/Select/Select.styles.js +29 -25
  186. package/emotion/es/components/Select/Select.tokens.js +79 -166
  187. package/emotion/es/components/Select/hooks/useKeyboardNavigation.js +349 -0
  188. package/emotion/es/components/Select/hooks/usePathMaps.js +27 -0
  189. package/emotion/es/components/Select/index.js +1 -2
  190. package/emotion/es/components/Select/reducers/focusedChipIndexReducer.js +32 -0
  191. package/emotion/es/components/Select/reducers/focusedPathReducer.js +34 -0
  192. package/emotion/es/components/Select/reducers/index.js +3 -0
  193. package/emotion/es/components/Select/reducers/pathReducer.js +38 -0
  194. package/emotion/es/components/Select/ui/InfiniteLoader/InfiniteLoader.js +11 -0
  195. package/emotion/es/components/Select/ui/InfiniteLoader/InfiniteLoader.styles.js +19 -0
  196. package/emotion/es/components/Select/ui/Inner/Inner.js +73 -0
  197. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.js +86 -0
  198. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.styles.js +85 -0
  199. package/emotion/es/components/Select/ui/Inner/ui/index.js +1 -0
  200. package/emotion/es/components/Select/ui/Target/Target.js +54 -0
  201. package/emotion/es/components/Select/ui/Target/ui/Button/Button.js +50 -0
  202. package/emotion/es/components/Select/ui/Target/ui/Button/Button.styles.js +37 -0
  203. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +104 -0
  204. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +77 -0
  205. package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +28 -0
  206. package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +15 -0
  207. package/emotion/es/components/Select/ui/Target/ui/Textfield/ui/index.js +1 -0
  208. package/emotion/es/components/Select/ui/Target/ui/index.js +2 -0
  209. package/emotion/es/components/Select/ui/index.js +3 -6
  210. package/emotion/es/components/Select/utils/getButtonLabel.js +37 -0
  211. package/emotion/es/components/Select/utils/getCorrectHeight.js +6 -0
  212. package/emotion/es/components/Select/utils/index.js +7 -106
  213. package/emotion/es/components/Select/utils/initialItemsTransform.js +12 -0
  214. package/emotion/es/components/Select/utils/sizeToIconSize.js +4 -0
  215. package/emotion/es/components/Select/utils/updateAncestors.js +27 -0
  216. package/emotion/es/components/Select/utils/updateDescendants.js +11 -0
  217. package/emotion/es/components/Select/utils/updateSingleAncestors.js +8 -0
  218. package/emotion/es/components/_Icon/Icon.assets/DisclosureDownCentered.js +25 -0
  219. package/emotion/es/components/_Icon/Icon.assets/DisclosureRightCentered.js +23 -0
  220. package/emotion/es/components/_Icon/Icons/IconDisclosureDownCentered.js +15 -0
  221. package/emotion/es/components/_Icon/Icons/IconDisclosureRightCentered.js +15 -0
  222. package/emotion/es/components/_Icon/index.js +2 -0
  223. package/emotion/es/examples/_helpers.js +1 -1
  224. package/emotion/es/examples/plasma_b2c/components/Pagination/Pagination.config.js +12 -12
  225. package/emotion/es/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +1 -0
  226. package/emotion/es/examples/plasma_b2c/components/Select/Select.config.js +21 -11
  227. package/emotion/es/examples/plasma_b2c/components/Select/Select.js +3 -12
  228. package/emotion/es/examples/plasma_b2c/components/Select/Select.stories.tsx +753 -204
  229. package/emotion/es/examples/plasma_b2c/components/Select/style.css +36 -0
  230. package/emotion/es/examples/plasma_web/components/Pagination/Pagination.config.js +12 -12
  231. package/emotion/es/examples/plasma_web/components/Select/Select.config.js +21 -11
  232. package/emotion/es/examples/plasma_web/components/Select/Select.js +3 -12
  233. package/emotion/es/examples/plasma_web/components/Select/Select.stories.tsx +753 -200
  234. package/emotion/es/examples/plasma_web/components/Select/style.css +37 -0
  235. package/emotion/es/utils/index.js +1 -0
  236. package/emotion/es/utils/isEmpty.js +42 -0
  237. package/es/components/Accordion/ui/AccordionItem/AccordionItem.js.map +1 -1
  238. package/es/components/Button/Button.styles.js.map +1 -1
  239. package/es/components/Chip/Chip.tokens.js +2 -0
  240. package/es/components/Chip/Chip.tokens.js.map +1 -1
  241. package/es/components/Combobox/Combobox.js +2 -2
  242. package/es/components/Combobox/Combobox.js.map +1 -1
  243. package/es/components/Combobox/hooks/useKeyNavigation.js.map +1 -0
  244. package/es/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js +1 -1
  245. package/es/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js.map +1 -1
  246. package/es/components/Combobox/utils/index.js +102 -3
  247. package/es/components/Combobox/utils/index.js.map +1 -1
  248. package/es/components/Dropdown/Dropdown.tokens.js +32 -18
  249. package/es/components/Dropdown/Dropdown.tokens.js.map +1 -1
  250. package/es/components/Dropdown/hooks/useKeyboardNavigation.js +63 -24
  251. package/es/components/Dropdown/hooks/useKeyboardNavigation.js.map +1 -1
  252. package/es/components/Pagination/Pagination.css +56 -48
  253. package/es/components/Pagination/Pagination.js +12 -5
  254. package/es/components/Pagination/Pagination.js.map +1 -1
  255. package/es/components/Pagination/Pagination.styles.js.map +1 -1
  256. package/es/components/Pagination/Pagination.tokens.js +9 -11
  257. package/es/components/Pagination/Pagination.tokens.js.map +1 -1
  258. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +74 -66
  259. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +23 -29
  260. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js.map +1 -1
  261. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -21
  262. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  263. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_187mk6b.css +3 -0
  264. package/es/components/Select/Select.css +71 -62
  265. package/es/components/Select/Select.js +264 -193
  266. package/es/components/Select/Select.js.map +1 -1
  267. package/es/components/Select/Select.styles.js +48 -34
  268. package/es/components/Select/Select.styles.js.map +1 -1
  269. package/es/components/Select/Select.styles_zx0ztg.css +5 -0
  270. package/es/components/Select/Select.tokens.js +57 -166
  271. package/es/components/Select/Select.tokens.js.map +1 -1
  272. package/es/components/Select/hooks/useKeyboardNavigation.js +348 -0
  273. package/es/components/Select/hooks/useKeyboardNavigation.js.map +1 -0
  274. package/es/components/Select/hooks/usePathMaps.js +33 -0
  275. package/es/components/Select/hooks/usePathMaps.js.map +1 -0
  276. package/es/components/Select/reducers/focusedChipIndexReducer.js +35 -0
  277. package/es/components/Select/reducers/focusedChipIndexReducer.js.map +1 -0
  278. package/es/components/Select/reducers/focusedPathReducer.js +33 -0
  279. package/es/components/Select/reducers/focusedPathReducer.js.map +1 -0
  280. package/es/components/Select/reducers/pathReducer.js +37 -0
  281. package/es/components/Select/reducers/pathReducer.js.map +1 -0
  282. package/es/components/Select/ui/Inner/Inner.css +110 -0
  283. package/es/components/Select/ui/Inner/Inner.js +78 -0
  284. package/es/components/Select/ui/Inner/Inner.js.map +1 -0
  285. package/es/components/Select/ui/Inner/ui/Item/Item.css +110 -0
  286. package/es/components/Select/ui/Inner/ui/Item/Item.js +93 -0
  287. package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -0
  288. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +98 -0
  289. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -0
  290. package/es/components/Select/ui/Inner/ui/Item/Item.styles_y3jg1m.css +9 -0
  291. package/es/components/Select/ui/Target/Target.css +66 -0
  292. package/es/components/Select/ui/Target/Target.js +59 -0
  293. package/es/components/Select/ui/Target/Target.js.map +1 -0
  294. package/es/components/Select/ui/Target/ui/Button/Button.css +33 -0
  295. package/es/components/Select/ui/Target/ui/Button/Button.js +55 -0
  296. package/es/components/Select/ui/Target/ui/Button/Button.js.map +1 -0
  297. package/es/components/Select/ui/Target/ui/Button/Button.styles.js +44 -0
  298. package/es/components/Select/ui/Target/ui/Button/Button.styles.js.map +1 -0
  299. package/es/components/Select/ui/Target/ui/Button/Button.styles_nn6pg.css +5 -0
  300. package/{cjs/components/Select/ui/SelectTarget/SelectTarget.css → es/components/Select/ui/Target/ui/Textfield/Textfield.css} +13 -7
  301. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +109 -0
  302. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -0
  303. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +98 -0
  304. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -0
  305. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles_16d02b7.css +12 -0
  306. package/es/components/Select/ui/{SelectChip/SelectChip.css → Target/ui/Textfield/ui/Chip/Chip.css} +1 -1
  307. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +32 -0
  308. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js.map +1 -0
  309. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +19 -0
  310. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js.map +1 -0
  311. package/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles_1a752pa.css +1 -0
  312. package/es/components/Select/utils/getButtonLabel.js +43 -0
  313. package/es/components/Select/utils/getButtonLabel.js.map +1 -0
  314. package/es/components/Select/utils/getCorrectHeight.js +9 -0
  315. package/es/components/Select/utils/getCorrectHeight.js.map +1 -0
  316. package/es/components/Select/utils/initialItemsTransform.js +15 -0
  317. package/es/components/Select/utils/initialItemsTransform.js.map +1 -0
  318. package/es/components/Select/utils/sizeToIconSize.js +7 -0
  319. package/es/components/Select/utils/sizeToIconSize.js.map +1 -0
  320. package/es/components/Select/utils/updateAncestors.js +30 -0
  321. package/es/components/Select/utils/updateAncestors.js.map +1 -0
  322. package/es/components/Select/utils/updateDescendants.js +14 -0
  323. package/es/components/Select/utils/updateDescendants.js.map +1 -0
  324. package/es/components/Select/utils/updateSingleAncestors.js +11 -0
  325. package/es/components/Select/utils/updateSingleAncestors.js.map +1 -0
  326. package/es/components/_Icon/Icon.assets/DisclosureDownCentered.js +29 -0
  327. package/es/components/_Icon/Icon.assets/DisclosureDownCentered.js.map +1 -0
  328. package/es/components/_Icon/Icon.assets/DisclosureRightCentered.js +27 -0
  329. package/es/components/_Icon/Icon.assets/DisclosureRightCentered.js.map +1 -0
  330. package/es/components/_Icon/Icons/IconDisclosureDownCentered.js +19 -0
  331. package/es/components/_Icon/Icons/IconDisclosureDownCentered.js.map +1 -0
  332. package/es/components/_Icon/Icons/IconDisclosureRightCentered.js +19 -0
  333. package/es/components/_Icon/Icons/IconDisclosureRightCentered.js.map +1 -0
  334. package/es/engines/common.js.map +1 -1
  335. package/es/index.css +42 -27
  336. package/es/index.js +2 -7
  337. package/es/index.js.map +1 -1
  338. package/es/utils/index.js.map +1 -1
  339. package/es/utils/isEmpty.js +45 -0
  340. package/es/utils/isEmpty.js.map +1 -0
  341. package/package.json +4 -4
  342. package/styled-components/cjs/components/Button/Button.styles.js +2 -2
  343. package/styled-components/cjs/components/Chip/Chip.tokens.js +2 -0
  344. package/styled-components/cjs/components/Combobox/Combobox.js +6 -6
  345. package/styled-components/cjs/components/Combobox/hooks/index.js +14 -1
  346. package/styled-components/cjs/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js +4 -5
  347. package/styled-components/cjs/components/Combobox/utils/index.js +105 -1
  348. package/styled-components/cjs/components/Dropdown/Dropdown.tokens.js +32 -18
  349. package/styled-components/cjs/components/Dropdown/hooks/useKeyboardNavigation.js +63 -24
  350. package/styled-components/cjs/components/Pagination/Pagination.js +12 -5
  351. package/styled-components/cjs/components/Pagination/Pagination.styles.js +2 -2
  352. package/styled-components/cjs/components/Pagination/Pagination.tokens.js +9 -11
  353. package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +22 -35
  354. package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -8
  355. package/styled-components/cjs/components/Select/Select.js +255 -187
  356. package/styled-components/cjs/components/Select/Select.styles.js +28 -23
  357. package/styled-components/cjs/components/Select/Select.tokens.js +80 -167
  358. package/styled-components/cjs/components/Select/hooks/useKeyboardNavigation.js +355 -0
  359. package/styled-components/cjs/components/Select/hooks/usePathMaps.js +33 -0
  360. package/styled-components/cjs/components/Select/index.js +1 -25
  361. package/styled-components/cjs/components/Select/reducers/focusedChipIndexReducer.js +38 -0
  362. package/styled-components/cjs/components/Select/reducers/focusedPathReducer.js +40 -0
  363. package/styled-components/cjs/components/Select/reducers/index.js +38 -0
  364. package/styled-components/cjs/components/Select/reducers/pathReducer.js +44 -0
  365. package/styled-components/cjs/components/Select/ui/InfiniteLoader/InfiniteLoader.js +18 -0
  366. package/styled-components/cjs/components/Select/ui/InfiniteLoader/InfiniteLoader.styles.js +24 -0
  367. package/styled-components/cjs/components/Select/ui/Inner/Inner.js +80 -0
  368. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.js +95 -0
  369. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +66 -0
  370. package/styled-components/cjs/components/Select/ui/Inner/ui/index.js +16 -0
  371. package/styled-components/cjs/components/Select/ui/Target/Target.js +61 -0
  372. package/styled-components/cjs/components/Select/ui/Target/ui/Button/Button.js +57 -0
  373. package/styled-components/cjs/components/Select/ui/Target/ui/Button/Button.styles.js +30 -0
  374. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +111 -0
  375. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +63 -0
  376. package/{emotion/cjs/components/Select/ui/SelectChip/SelectChip.js → styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js} +24 -27
  377. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +21 -0
  378. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/ui/index.js +16 -0
  379. package/styled-components/cjs/components/Select/ui/Target/ui/index.js +27 -0
  380. package/styled-components/cjs/components/Select/ui/index.js +33 -72
  381. package/styled-components/cjs/components/Select/utils/getButtonLabel.js +43 -0
  382. package/styled-components/cjs/components/Select/utils/getCorrectHeight.js +12 -0
  383. package/styled-components/cjs/components/Select/utils/index.js +44 -102
  384. package/styled-components/cjs/components/Select/utils/initialItemsTransform.js +18 -0
  385. package/styled-components/cjs/components/Select/utils/sizeToIconSize.js +10 -0
  386. package/styled-components/cjs/components/Select/utils/updateAncestors.js +33 -0
  387. package/styled-components/cjs/components/Select/utils/updateDescendants.js +17 -0
  388. package/styled-components/cjs/components/Select/utils/updateSingleAncestors.js +14 -0
  389. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureDownCentered.js +32 -0
  390. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureRightCentered.js +30 -0
  391. package/styled-components/cjs/components/_Icon/Icons/IconDisclosureDownCentered.js +22 -0
  392. package/styled-components/cjs/components/_Icon/Icons/IconDisclosureRightCentered.js +22 -0
  393. package/styled-components/cjs/components/_Icon/index.js +14 -0
  394. package/styled-components/cjs/examples/_helpers.js +1 -1
  395. package/styled-components/cjs/examples/plasma_b2c/components/Pagination/Pagination.config.js +7 -7
  396. package/styled-components/cjs/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +1 -0
  397. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +21 -11
  398. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.js +5 -15
  399. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +753 -204
  400. package/styled-components/cjs/examples/plasma_b2c/components/Select/style.css +36 -0
  401. package/styled-components/cjs/examples/plasma_web/components/Pagination/Pagination.config.js +7 -7
  402. package/styled-components/cjs/examples/plasma_web/components/Select/Select.config.js +21 -11
  403. package/styled-components/cjs/examples/plasma_web/components/Select/Select.js +5 -15
  404. package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +753 -200
  405. package/styled-components/cjs/examples/plasma_web/components/Select/style.css +37 -0
  406. package/styled-components/cjs/utils/index.js +9 -1
  407. package/styled-components/cjs/utils/isEmpty.js +47 -0
  408. package/styled-components/es/components/Button/Button.styles.js +2 -2
  409. package/styled-components/es/components/Chip/Chip.tokens.js +2 -0
  410. package/styled-components/es/components/Combobox/Combobox.js +2 -2
  411. package/styled-components/es/components/Combobox/hooks/index.js +2 -1
  412. package/styled-components/es/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js +1 -2
  413. package/styled-components/es/components/Combobox/utils/index.js +105 -1
  414. package/styled-components/es/components/Dropdown/Dropdown.tokens.js +32 -18
  415. package/styled-components/es/components/Dropdown/hooks/useKeyboardNavigation.js +63 -24
  416. package/styled-components/es/components/Pagination/Pagination.js +12 -5
  417. package/styled-components/es/components/Pagination/Pagination.styles.js +2 -2
  418. package/styled-components/es/components/Pagination/Pagination.tokens.js +9 -11
  419. package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +22 -33
  420. package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -8
  421. package/styled-components/es/components/Select/Select.js +252 -185
  422. package/styled-components/es/components/Select/Select.styles.js +25 -21
  423. package/styled-components/es/components/Select/Select.tokens.js +79 -166
  424. package/styled-components/es/components/Select/hooks/useKeyboardNavigation.js +349 -0
  425. package/styled-components/es/components/Select/hooks/usePathMaps.js +27 -0
  426. package/styled-components/es/components/Select/index.js +1 -2
  427. package/styled-components/es/components/Select/reducers/focusedChipIndexReducer.js +32 -0
  428. package/styled-components/es/components/Select/reducers/focusedPathReducer.js +34 -0
  429. package/styled-components/es/components/Select/reducers/index.js +3 -0
  430. package/styled-components/es/components/Select/reducers/pathReducer.js +38 -0
  431. package/styled-components/es/components/Select/ui/InfiniteLoader/InfiniteLoader.js +11 -0
  432. package/styled-components/es/components/Select/ui/InfiniteLoader/InfiniteLoader.styles.js +17 -0
  433. package/styled-components/es/components/Select/ui/Inner/Inner.js +73 -0
  434. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.js +86 -0
  435. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.styles.js +59 -0
  436. package/styled-components/es/components/Select/ui/Inner/ui/index.js +1 -0
  437. package/styled-components/es/components/Select/ui/Target/Target.js +54 -0
  438. package/styled-components/es/components/Select/ui/Target/ui/Button/Button.js +50 -0
  439. package/styled-components/es/components/Select/ui/Target/ui/Button/Button.styles.js +23 -0
  440. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +104 -0
  441. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +56 -0
  442. package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.js +28 -0
  443. package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.js +14 -0
  444. package/styled-components/es/components/Select/ui/Target/ui/Textfield/ui/index.js +1 -0
  445. package/styled-components/es/components/Select/ui/Target/ui/index.js +2 -0
  446. package/styled-components/es/components/Select/ui/index.js +3 -6
  447. package/styled-components/es/components/Select/utils/getButtonLabel.js +37 -0
  448. package/styled-components/es/components/Select/utils/getCorrectHeight.js +6 -0
  449. package/styled-components/es/components/Select/utils/index.js +7 -106
  450. package/styled-components/es/components/Select/utils/initialItemsTransform.js +12 -0
  451. package/styled-components/es/components/Select/utils/sizeToIconSize.js +4 -0
  452. package/styled-components/es/components/Select/utils/updateAncestors.js +27 -0
  453. package/styled-components/es/components/Select/utils/updateDescendants.js +11 -0
  454. package/styled-components/es/components/Select/utils/updateSingleAncestors.js +8 -0
  455. package/styled-components/es/components/_Icon/Icon.assets/DisclosureDownCentered.js +25 -0
  456. package/styled-components/es/components/_Icon/Icon.assets/DisclosureRightCentered.js +23 -0
  457. package/styled-components/es/components/_Icon/Icons/IconDisclosureDownCentered.js +15 -0
  458. package/styled-components/es/components/_Icon/Icons/IconDisclosureRightCentered.js +15 -0
  459. package/styled-components/es/components/_Icon/index.js +2 -0
  460. package/styled-components/es/examples/_helpers.js +1 -1
  461. package/styled-components/es/examples/plasma_b2c/components/Pagination/Pagination.config.js +7 -7
  462. package/styled-components/es/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +1 -0
  463. package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +21 -11
  464. package/styled-components/es/examples/plasma_b2c/components/Select/Select.js +3 -12
  465. package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +753 -204
  466. package/styled-components/es/examples/plasma_b2c/components/Select/style.css +36 -0
  467. package/styled-components/es/examples/plasma_web/components/Pagination/Pagination.config.js +7 -7
  468. package/styled-components/es/examples/plasma_web/components/Select/Select.config.js +21 -11
  469. package/styled-components/es/examples/plasma_web/components/Select/Select.js +3 -12
  470. package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +753 -200
  471. package/styled-components/es/examples/plasma_web/components/Select/style.css +37 -0
  472. package/styled-components/es/utils/index.js +1 -0
  473. package/styled-components/es/utils/isEmpty.js +42 -0
  474. package/types/components/Accordion/ui/AccordionItem/AccordionItem.d.ts +2 -2
  475. package/types/components/Accordion/ui/AccordionItem/AccordionItem.d.ts.map +1 -1
  476. package/types/components/Chip/Chip.tokens.d.ts +2 -0
  477. package/types/components/Chip/Chip.tokens.d.ts.map +1 -1
  478. package/types/components/Combobox/Combobox.types.d.ts +21 -0
  479. package/types/components/Combobox/Combobox.types.d.ts.map +1 -1
  480. package/types/components/Combobox/hooks/index.d.ts +1 -0
  481. package/types/components/Combobox/hooks/index.d.ts.map +1 -1
  482. package/types/components/{Select → Combobox}/hooks/useKeyNavigation.d.ts +1 -1
  483. package/types/components/Combobox/hooks/useKeyNavigation.d.ts.map +1 -0
  484. package/types/components/Combobox/ui/ComboboxTarget/ComboboxTarget.d.ts.map +1 -1
  485. package/types/components/Combobox/utils/index.d.ts +13 -1
  486. package/types/components/Combobox/utils/index.d.ts.map +1 -1
  487. package/types/components/Dropdown/Dropdown.tokens.d.ts +17 -17
  488. package/types/components/Dropdown/Dropdown.tokens.d.ts.map +1 -1
  489. package/types/components/Dropdown/hooks/useKeyboardNavigation.d.ts.map +1 -1
  490. package/types/components/Pagination/Pagination.d.ts.map +1 -1
  491. package/types/components/Pagination/Pagination.tokens.d.ts +9 -11
  492. package/types/components/Pagination/Pagination.tokens.d.ts.map +1 -1
  493. package/types/components/Pagination/Pagination.types.d.ts +6 -1
  494. package/types/components/Pagination/Pagination.types.d.ts.map +1 -1
  495. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.d.ts.map +1 -1
  496. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +53 -43
  497. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  498. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.types.d.ts +5 -2
  499. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.types.d.ts.map +1 -1
  500. package/types/components/Select/Select.d.ts +7 -8
  501. package/types/components/Select/Select.d.ts.map +1 -1
  502. package/types/components/Select/Select.styles.d.ts +11 -6
  503. package/types/components/Select/Select.styles.d.ts.map +1 -1
  504. package/types/components/Select/Select.tokens.d.ts +78 -165
  505. package/types/components/Select/Select.tokens.d.ts.map +1 -1
  506. package/types/components/Select/Select.types.d.ts +104 -67
  507. package/types/components/Select/Select.types.d.ts.map +1 -1
  508. package/types/components/Select/hooks/useKeyboardNavigation.d.ts +43 -0
  509. package/types/components/Select/hooks/useKeyboardNavigation.d.ts.map +1 -0
  510. package/types/components/Select/hooks/usePathMaps.d.ts +8 -0
  511. package/types/components/Select/hooks/usePathMaps.d.ts.map +1 -0
  512. package/types/components/Select/index.d.ts +2 -3
  513. package/types/components/Select/index.d.ts.map +1 -1
  514. package/types/components/Select/reducers/focusedChipIndexReducer.d.ts +11 -0
  515. package/types/components/Select/reducers/focusedChipIndexReducer.d.ts.map +1 -0
  516. package/types/components/Select/reducers/focusedPathReducer.d.ts +16 -0
  517. package/types/components/Select/reducers/focusedPathReducer.d.ts.map +1 -0
  518. package/types/components/Select/reducers/index.d.ts +4 -0
  519. package/types/components/Select/reducers/index.d.ts.map +1 -0
  520. package/types/components/Select/reducers/pathReducer.d.ts +20 -0
  521. package/types/components/Select/reducers/pathReducer.d.ts.map +1 -0
  522. package/types/components/Select/ui/InfiniteLoader/InfiniteLoader.d.ts +6 -0
  523. package/types/components/Select/ui/InfiniteLoader/InfiniteLoader.d.ts.map +1 -0
  524. package/types/components/Select/ui/InfiniteLoader/InfiniteLoader.styles.d.ts +29 -0
  525. package/types/components/Select/ui/InfiniteLoader/InfiniteLoader.styles.d.ts.map +1 -0
  526. package/types/components/Select/ui/Inner/Inner.d.ts +4 -0
  527. package/types/components/Select/ui/Inner/Inner.d.ts.map +1 -0
  528. package/types/components/Select/ui/Inner/Inner.type.d.ts +13 -0
  529. package/types/components/Select/ui/Inner/Inner.type.d.ts.map +1 -0
  530. package/types/components/Select/ui/Inner/ui/Item/Item.d.ts +4 -0
  531. package/types/components/Select/ui/Inner/ui/Item/Item.d.ts.map +1 -0
  532. package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts +19 -0
  533. package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts.map +1 -0
  534. package/types/components/Select/ui/Inner/ui/Item/Item.types.d.ts +42 -0
  535. package/types/components/Select/ui/Inner/ui/Item/Item.types.d.ts.map +1 -0
  536. package/types/components/Select/ui/Inner/ui/index.d.ts +2 -0
  537. package/types/components/Select/ui/Inner/ui/index.d.ts.map +1 -0
  538. package/types/components/Select/ui/Target/Target.d.ts +4 -0
  539. package/types/components/Select/ui/Target/Target.d.ts.map +1 -0
  540. package/types/components/Select/ui/Target/Target.types.d.ts +15 -0
  541. package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -0
  542. package/types/components/Select/ui/Target/ui/Button/Button.d.ts +4 -0
  543. package/types/components/Select/ui/Target/ui/Button/Button.d.ts.map +1 -0
  544. package/types/components/Select/ui/{SelectTarget/SelectTarget.styles.d.ts → Target/ui/Button/Button.styles.d.ts} +8 -13
  545. package/types/components/Select/ui/Target/ui/Button/Button.styles.d.ts.map +1 -0
  546. package/types/components/Select/ui/Target/ui/Button/Button.types.d.ts +4 -0
  547. package/types/components/Select/ui/Target/ui/Button/Button.types.d.ts.map +1 -0
  548. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts +4 -0
  549. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -0
  550. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +60 -0
  551. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -0
  552. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts +4 -0
  553. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts.map +1 -0
  554. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.d.ts +9 -0
  555. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.d.ts.map +1 -0
  556. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.d.ts +3 -0
  557. package/types/components/Select/ui/Target/ui/Textfield/ui/Chip/Chip.styles.d.ts.map +1 -0
  558. package/types/components/Select/ui/Target/ui/Textfield/ui/index.d.ts +2 -0
  559. package/types/components/Select/ui/Target/ui/Textfield/ui/index.d.ts.map +1 -0
  560. package/types/components/Select/ui/Target/ui/index.d.ts +3 -0
  561. package/types/components/Select/ui/Target/ui/index.d.ts.map +1 -0
  562. package/types/components/Select/ui/index.d.ts +3 -6
  563. package/types/components/Select/ui/index.d.ts.map +1 -1
  564. package/types/components/Select/utils/getButtonLabel.d.ts +3 -0
  565. package/types/components/Select/utils/getButtonLabel.d.ts.map +1 -0
  566. package/types/components/Select/utils/getCorrectHeight.d.ts +3 -0
  567. package/types/components/Select/utils/getCorrectHeight.d.ts.map +1 -0
  568. package/types/components/Select/utils/index.d.ts +7 -13
  569. package/types/components/Select/utils/index.d.ts.map +1 -1
  570. package/types/components/Select/utils/initialItemsTransform.d.ts +3 -0
  571. package/types/components/Select/utils/initialItemsTransform.d.ts.map +1 -0
  572. package/types/components/Select/utils/sizeToIconSize.d.ts +3 -0
  573. package/types/components/Select/utils/sizeToIconSize.d.ts.map +1 -0
  574. package/types/components/Select/utils/updateAncestors.d.ts +4 -0
  575. package/types/components/Select/utils/updateAncestors.d.ts.map +1 -0
  576. package/types/components/Select/utils/updateDescendants.d.ts +4 -0
  577. package/types/components/Select/utils/updateDescendants.d.ts.map +1 -0
  578. package/types/components/Select/utils/updateSingleAncestors.d.ts +4 -0
  579. package/types/components/Select/utils/updateSingleAncestors.d.ts.map +1 -0
  580. package/types/components/_Icon/Icon.assets/DisclosureDownCentered.d.ts +4 -0
  581. package/types/components/_Icon/Icon.assets/DisclosureDownCentered.d.ts.map +1 -0
  582. package/types/components/_Icon/Icon.assets/DisclosureRightCentered.d.ts +4 -0
  583. package/types/components/_Icon/Icon.assets/DisclosureRightCentered.d.ts.map +1 -0
  584. package/types/components/_Icon/Icons/IconDisclosureDownCentered.d.ts +4 -0
  585. package/types/components/_Icon/Icons/IconDisclosureDownCentered.d.ts.map +1 -0
  586. package/types/components/_Icon/Icons/IconDisclosureRightCentered.d.ts +4 -0
  587. package/types/components/_Icon/Icons/IconDisclosureRightCentered.d.ts.map +1 -0
  588. package/types/components/_Icon/index.d.ts +2 -0
  589. package/types/components/_Icon/index.d.ts.map +1 -1
  590. package/types/engines/common.d.ts +3 -3
  591. package/types/engines/common.d.ts.map +1 -1
  592. package/types/engines/types.d.ts +3 -3
  593. package/types/engines/types.d.ts.map +1 -1
  594. package/types/examples/_helpers.d.ts +2 -2
  595. package/types/examples/_helpers.d.ts.map +1 -1
  596. package/types/examples/plasma_b2c/components/Pagination/Pagination.config.d.ts +1 -1
  597. package/types/examples/plasma_b2c/components/Pagination/Pagination.config.d.ts.map +1 -1
  598. package/types/examples/plasma_b2c/components/Pagination/Pagination.d.ts +1 -1
  599. package/types/examples/plasma_b2c/components/Select/Select.config.d.ts +15 -5
  600. package/types/examples/plasma_b2c/components/Select/Select.config.d.ts.map +1 -1
  601. package/types/examples/plasma_b2c/components/Select/Select.d.ts +69 -55
  602. package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
  603. package/types/examples/plasma_web/components/Pagination/Pagination.config.d.ts +1 -1
  604. package/types/examples/plasma_web/components/Pagination/Pagination.config.d.ts.map +1 -1
  605. package/types/examples/plasma_web/components/Pagination/Pagination.d.ts +1 -1
  606. package/types/examples/plasma_web/components/Select/Select.config.d.ts +15 -5
  607. package/types/examples/plasma_web/components/Select/Select.config.d.ts.map +1 -1
  608. package/types/examples/plasma_web/components/Select/Select.d.ts +69 -55
  609. package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -1
  610. package/types/utils/index.d.ts +1 -0
  611. package/types/utils/index.d.ts.map +1 -1
  612. package/types/utils/isEmpty.d.ts +3 -0
  613. package/types/utils/isEmpty.d.ts.map +1 -0
  614. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_rtehle.css +0 -4
  615. package/cjs/components/Select/Select.styles_1q3i6gw.css +0 -4
  616. package/cjs/components/Select/hooks/useKeyNavigation.js.map +0 -1
  617. package/cjs/components/Select/ui/SelectChip/SelectChip.js +0 -39
  618. package/cjs/components/Select/ui/SelectChip/SelectChip.js.map +0 -1
  619. package/cjs/components/Select/ui/SelectChip/SelectChip.styles.js.map +0 -1
  620. package/cjs/components/Select/ui/SelectChip/SelectChip.styles_1u4uw04.css +0 -1
  621. package/cjs/components/Select/ui/SelectDivider/SelectDivider.css +0 -35
  622. package/cjs/components/Select/ui/SelectDivider/SelectDivider.js +0 -41
  623. package/cjs/components/Select/ui/SelectDivider/SelectDivider.js.map +0 -1
  624. package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles.js +0 -12
  625. package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles.js.map +0 -1
  626. package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles_673hj6.css +0 -1
  627. package/cjs/components/Select/ui/SelectDivider/variations/_size/base.js +0 -9
  628. package/cjs/components/Select/ui/SelectDivider/variations/_size/base.js.map +0 -1
  629. package/cjs/components/Select/ui/SelectDivider/variations/_size/base_x642ct.css +0 -1
  630. package/cjs/components/Select/ui/SelectDivider/variations/_view/base.js +0 -9
  631. package/cjs/components/Select/ui/SelectDivider/variations/_view/base.js.map +0 -1
  632. package/cjs/components/Select/ui/SelectDivider/variations/_view/base_x642ct.css +0 -1
  633. package/cjs/components/Select/ui/SelectFooter/SelectFooter.css +0 -35
  634. package/cjs/components/Select/ui/SelectFooter/SelectFooter.js +0 -41
  635. package/cjs/components/Select/ui/SelectFooter/SelectFooter.js.map +0 -1
  636. package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles.js +0 -12
  637. package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles.js.map +0 -1
  638. package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles_11hk6tt.css +0 -1
  639. package/cjs/components/Select/ui/SelectFooter/variations/_size/base.js +0 -9
  640. package/cjs/components/Select/ui/SelectFooter/variations/_size/base.js.map +0 -1
  641. package/cjs/components/Select/ui/SelectFooter/variations/_size/base_x642ct.css +0 -1
  642. package/cjs/components/Select/ui/SelectFooter/variations/_view/base.js +0 -9
  643. package/cjs/components/Select/ui/SelectFooter/variations/_view/base.js.map +0 -1
  644. package/cjs/components/Select/ui/SelectFooter/variations/_view/base_x642ct.css +0 -1
  645. package/cjs/components/Select/ui/SelectGroup/SelectGroup.css +0 -35
  646. package/cjs/components/Select/ui/SelectGroup/SelectGroup.js +0 -41
  647. package/cjs/components/Select/ui/SelectGroup/SelectGroup.js.map +0 -1
  648. package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles.js +0 -12
  649. package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles.js.map +0 -1
  650. package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles_mktu7e.css +0 -1
  651. package/cjs/components/Select/ui/SelectGroup/variations/_size/base.js +0 -9
  652. package/cjs/components/Select/ui/SelectGroup/variations/_size/base.js.map +0 -1
  653. package/cjs/components/Select/ui/SelectGroup/variations/_size/base_x642ct.css +0 -1
  654. package/cjs/components/Select/ui/SelectGroup/variations/_view/base.js +0 -9
  655. package/cjs/components/Select/ui/SelectGroup/variations/_view/base.js.map +0 -1
  656. package/cjs/components/Select/ui/SelectGroup/variations/_view/base_x642ct.css +0 -1
  657. package/cjs/components/Select/ui/SelectHeader/SelectHeader.css +0 -35
  658. package/cjs/components/Select/ui/SelectHeader/SelectHeader.js +0 -41
  659. package/cjs/components/Select/ui/SelectHeader/SelectHeader.js.map +0 -1
  660. package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles.js +0 -12
  661. package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles.js.map +0 -1
  662. package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles_24gqog.css +0 -1
  663. package/cjs/components/Select/ui/SelectHeader/variations/_size/base.js +0 -9
  664. package/cjs/components/Select/ui/SelectHeader/variations/_size/base.js.map +0 -1
  665. package/cjs/components/Select/ui/SelectHeader/variations/_size/base_x642ct.css +0 -1
  666. package/cjs/components/Select/ui/SelectHeader/variations/_view/base.js +0 -9
  667. package/cjs/components/Select/ui/SelectHeader/variations/_view/base.js.map +0 -1
  668. package/cjs/components/Select/ui/SelectHeader/variations/_view/base_x642ct.css +0 -1
  669. package/cjs/components/Select/ui/SelectItem/SelectItem.css +0 -35
  670. package/cjs/components/Select/ui/SelectItem/SelectItem.js +0 -40
  671. package/cjs/components/Select/ui/SelectItem/SelectItem.js.map +0 -1
  672. package/cjs/components/Select/ui/SelectItem/SelectItem.styles.js +0 -19
  673. package/cjs/components/Select/ui/SelectItem/SelectItem.styles.js.map +0 -1
  674. package/cjs/components/Select/ui/SelectItem/SelectItem.styles_vk39mp.css +0 -1
  675. package/cjs/components/Select/ui/SelectItem/variations/_size/base.js +0 -9
  676. package/cjs/components/Select/ui/SelectItem/variations/_size/base.js.map +0 -1
  677. package/cjs/components/Select/ui/SelectItem/variations/_size/base_x642ct.css +0 -1
  678. package/cjs/components/Select/ui/SelectItem/variations/_view/base.js +0 -9
  679. package/cjs/components/Select/ui/SelectItem/variations/_view/base.js.map +0 -1
  680. package/cjs/components/Select/ui/SelectItem/variations/_view/base_x642ct.css +0 -1
  681. package/cjs/components/Select/ui/SelectTarget/SelectTarget.js +0 -148
  682. package/cjs/components/Select/ui/SelectTarget/SelectTarget.js.map +0 -1
  683. package/cjs/components/Select/ui/SelectTarget/SelectTarget.styles.js +0 -112
  684. package/cjs/components/Select/ui/SelectTarget/SelectTarget.styles.js.map +0 -1
  685. package/cjs/components/Select/ui/SelectTarget/SelectTarget.styles_hb1tns.css +0 -6
  686. package/cjs/components/Select/utils/index.js +0 -112
  687. package/cjs/components/Select/utils/index.js.map +0 -1
  688. package/cjs/components/Select/variations/_target/base.js +0 -9
  689. package/cjs/components/Select/variations/_target/base.js.map +0 -1
  690. package/cjs/components/Select/variations/_target/base_x642ct.css +0 -1
  691. package/emotion/cjs/components/Select/Select.template-doc.mdx +0 -115
  692. package/emotion/cjs/components/Select/hooks/index.js +0 -12
  693. package/emotion/cjs/components/Select/ui/SelectChip/SelectChip.styles.js +0 -26
  694. package/emotion/cjs/components/Select/ui/SelectDivider/SelectDivider.js +0 -29
  695. package/emotion/cjs/components/Select/ui/SelectDivider/SelectDivider.styles.js +0 -12
  696. package/emotion/cjs/components/Select/ui/SelectDivider/variations/_size/base.js +0 -8
  697. package/emotion/cjs/components/Select/ui/SelectDivider/variations/_size/tokens.json +0 -8
  698. package/emotion/cjs/components/Select/ui/SelectDivider/variations/_view/base.js +0 -8
  699. package/emotion/cjs/components/Select/ui/SelectDivider/variations/_view/tokens.json +0 -1
  700. package/emotion/cjs/components/Select/ui/SelectFooter/SelectFooter.js +0 -29
  701. package/emotion/cjs/components/Select/ui/SelectFooter/SelectFooter.styles.js +0 -12
  702. package/emotion/cjs/components/Select/ui/SelectFooter/variations/_size/base.js +0 -8
  703. package/emotion/cjs/components/Select/ui/SelectFooter/variations/_size/tokens.json +0 -12
  704. package/emotion/cjs/components/Select/ui/SelectFooter/variations/_view/base.js +0 -8
  705. package/emotion/cjs/components/Select/ui/SelectFooter/variations/_view/tokens.json +0 -9
  706. package/emotion/cjs/components/Select/ui/SelectGroup/SelectGroup.js +0 -29
  707. package/emotion/cjs/components/Select/ui/SelectGroup/SelectGroup.styles.js +0 -12
  708. package/emotion/cjs/components/Select/ui/SelectGroup/variations/_size/base.js +0 -8
  709. package/emotion/cjs/components/Select/ui/SelectGroup/variations/_size/tokens.json +0 -20
  710. package/emotion/cjs/components/Select/ui/SelectGroup/variations/_view/base.js +0 -8
  711. package/emotion/cjs/components/Select/ui/SelectGroup/variations/_view/tokens.json +0 -10
  712. package/emotion/cjs/components/Select/ui/SelectHeader/SelectHeader.js +0 -29
  713. package/emotion/cjs/components/Select/ui/SelectHeader/SelectHeader.styles.js +0 -12
  714. package/emotion/cjs/components/Select/ui/SelectHeader/variations/_size/base.js +0 -8
  715. package/emotion/cjs/components/Select/ui/SelectHeader/variations/_size/tokens.json +0 -12
  716. package/emotion/cjs/components/Select/ui/SelectHeader/variations/_view/base.js +0 -8
  717. package/emotion/cjs/components/Select/ui/SelectHeader/variations/_view/tokens.json +0 -9
  718. package/emotion/cjs/components/Select/ui/SelectItem/SelectItem.js +0 -29
  719. package/emotion/cjs/components/Select/ui/SelectItem/SelectItem.styles.js +0 -13
  720. package/emotion/cjs/components/Select/ui/SelectItem/variations/_size/base.js +0 -8
  721. package/emotion/cjs/components/Select/ui/SelectItem/variations/_size/tokens.json +0 -19
  722. package/emotion/cjs/components/Select/ui/SelectItem/variations/_view/base.js +0 -8
  723. package/emotion/cjs/components/Select/ui/SelectItem/variations/_view/tokens.json +0 -9
  724. package/emotion/cjs/components/Select/ui/SelectTarget/SelectTarget.js +0 -157
  725. package/emotion/cjs/components/Select/ui/SelectTarget/SelectTarget.styles.js +0 -75
  726. package/emotion/cjs/components/Select/variations/_target/base.js +0 -8
  727. package/emotion/cjs/components/Select/variations/_target/tokens.json +0 -1
  728. package/emotion/es/components/Select/Select.template-doc.mdx +0 -115
  729. package/emotion/es/components/Select/hooks/index.js +0 -1
  730. package/emotion/es/components/Select/ui/SelectChip/SelectChip.js +0 -31
  731. package/emotion/es/components/Select/ui/SelectChip/SelectChip.styles.js +0 -20
  732. package/emotion/es/components/Select/ui/SelectDivider/SelectDivider.js +0 -23
  733. package/emotion/es/components/Select/ui/SelectDivider/SelectDivider.styles.js +0 -7
  734. package/emotion/es/components/Select/ui/SelectDivider/variations/_size/base.js +0 -2
  735. package/emotion/es/components/Select/ui/SelectDivider/variations/_size/tokens.json +0 -8
  736. package/emotion/es/components/Select/ui/SelectDivider/variations/_view/base.js +0 -2
  737. package/emotion/es/components/Select/ui/SelectDivider/variations/_view/tokens.json +0 -1
  738. package/emotion/es/components/Select/ui/SelectFooter/SelectFooter.js +0 -23
  739. package/emotion/es/components/Select/ui/SelectFooter/SelectFooter.styles.js +0 -7
  740. package/emotion/es/components/Select/ui/SelectFooter/variations/_size/base.js +0 -2
  741. package/emotion/es/components/Select/ui/SelectFooter/variations/_size/tokens.json +0 -12
  742. package/emotion/es/components/Select/ui/SelectFooter/variations/_view/base.js +0 -2
  743. package/emotion/es/components/Select/ui/SelectFooter/variations/_view/tokens.json +0 -9
  744. package/emotion/es/components/Select/ui/SelectGroup/SelectGroup.js +0 -23
  745. package/emotion/es/components/Select/ui/SelectGroup/SelectGroup.styles.js +0 -7
  746. package/emotion/es/components/Select/ui/SelectGroup/variations/_size/base.js +0 -2
  747. package/emotion/es/components/Select/ui/SelectGroup/variations/_size/tokens.json +0 -20
  748. package/emotion/es/components/Select/ui/SelectGroup/variations/_view/base.js +0 -2
  749. package/emotion/es/components/Select/ui/SelectGroup/variations/_view/tokens.json +0 -10
  750. package/emotion/es/components/Select/ui/SelectHeader/SelectHeader.js +0 -23
  751. package/emotion/es/components/Select/ui/SelectHeader/SelectHeader.styles.js +0 -7
  752. package/emotion/es/components/Select/ui/SelectHeader/variations/_size/base.js +0 -2
  753. package/emotion/es/components/Select/ui/SelectHeader/variations/_size/tokens.json +0 -12
  754. package/emotion/es/components/Select/ui/SelectHeader/variations/_view/base.js +0 -2
  755. package/emotion/es/components/Select/ui/SelectHeader/variations/_view/tokens.json +0 -9
  756. package/emotion/es/components/Select/ui/SelectItem/SelectItem.js +0 -23
  757. package/emotion/es/components/Select/ui/SelectItem/SelectItem.styles.js +0 -8
  758. package/emotion/es/components/Select/ui/SelectItem/variations/_size/base.js +0 -2
  759. package/emotion/es/components/Select/ui/SelectItem/variations/_size/tokens.json +0 -19
  760. package/emotion/es/components/Select/ui/SelectItem/variations/_view/base.js +0 -2
  761. package/emotion/es/components/Select/ui/SelectItem/variations/_view/tokens.json +0 -9
  762. package/emotion/es/components/Select/ui/SelectTarget/SelectTarget.js +0 -148
  763. package/emotion/es/components/Select/ui/SelectTarget/SelectTarget.styles.js +0 -68
  764. package/emotion/es/components/Select/variations/_target/base.js +0 -2
  765. package/emotion/es/components/Select/variations/_target/tokens.json +0 -1
  766. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_rtehle.css +0 -4
  767. package/es/components/Select/Select.styles_1q3i6gw.css +0 -4
  768. package/es/components/Select/hooks/useKeyNavigation.js.map +0 -1
  769. package/es/components/Select/ui/SelectChip/SelectChip.js +0 -35
  770. package/es/components/Select/ui/SelectChip/SelectChip.js.map +0 -1
  771. package/es/components/Select/ui/SelectChip/SelectChip.styles.js +0 -22
  772. package/es/components/Select/ui/SelectChip/SelectChip.styles.js.map +0 -1
  773. package/es/components/Select/ui/SelectChip/SelectChip.styles_1u4uw04.css +0 -1
  774. package/es/components/Select/ui/SelectDivider/SelectDivider.css +0 -35
  775. package/es/components/Select/ui/SelectDivider/SelectDivider.js +0 -36
  776. package/es/components/Select/ui/SelectDivider/SelectDivider.js.map +0 -1
  777. package/es/components/Select/ui/SelectDivider/SelectDivider.styles.js +0 -7
  778. package/es/components/Select/ui/SelectDivider/SelectDivider.styles.js.map +0 -1
  779. package/es/components/Select/ui/SelectDivider/SelectDivider.styles_673hj6.css +0 -1
  780. package/es/components/Select/ui/SelectDivider/variations/_size/base.js +0 -5
  781. package/es/components/Select/ui/SelectDivider/variations/_size/base.js.map +0 -1
  782. package/es/components/Select/ui/SelectDivider/variations/_size/base_x642ct.css +0 -1
  783. package/es/components/Select/ui/SelectDivider/variations/_view/base.js +0 -5
  784. package/es/components/Select/ui/SelectDivider/variations/_view/base.js.map +0 -1
  785. package/es/components/Select/ui/SelectDivider/variations/_view/base_x642ct.css +0 -1
  786. package/es/components/Select/ui/SelectFooter/SelectFooter.css +0 -35
  787. package/es/components/Select/ui/SelectFooter/SelectFooter.js +0 -36
  788. package/es/components/Select/ui/SelectFooter/SelectFooter.js.map +0 -1
  789. package/es/components/Select/ui/SelectFooter/SelectFooter.styles.js +0 -7
  790. package/es/components/Select/ui/SelectFooter/SelectFooter.styles.js.map +0 -1
  791. package/es/components/Select/ui/SelectFooter/SelectFooter.styles_11hk6tt.css +0 -1
  792. package/es/components/Select/ui/SelectFooter/variations/_size/base.js +0 -5
  793. package/es/components/Select/ui/SelectFooter/variations/_size/base.js.map +0 -1
  794. package/es/components/Select/ui/SelectFooter/variations/_size/base_x642ct.css +0 -1
  795. package/es/components/Select/ui/SelectFooter/variations/_view/base.js +0 -5
  796. package/es/components/Select/ui/SelectFooter/variations/_view/base.js.map +0 -1
  797. package/es/components/Select/ui/SelectFooter/variations/_view/base_x642ct.css +0 -1
  798. package/es/components/Select/ui/SelectGroup/SelectGroup.css +0 -35
  799. package/es/components/Select/ui/SelectGroup/SelectGroup.js +0 -36
  800. package/es/components/Select/ui/SelectGroup/SelectGroup.js.map +0 -1
  801. package/es/components/Select/ui/SelectGroup/SelectGroup.styles.js +0 -7
  802. package/es/components/Select/ui/SelectGroup/SelectGroup.styles.js.map +0 -1
  803. package/es/components/Select/ui/SelectGroup/SelectGroup.styles_mktu7e.css +0 -1
  804. package/es/components/Select/ui/SelectGroup/variations/_size/base.js +0 -5
  805. package/es/components/Select/ui/SelectGroup/variations/_size/base.js.map +0 -1
  806. package/es/components/Select/ui/SelectGroup/variations/_size/base_x642ct.css +0 -1
  807. package/es/components/Select/ui/SelectGroup/variations/_view/base.js +0 -5
  808. package/es/components/Select/ui/SelectGroup/variations/_view/base.js.map +0 -1
  809. package/es/components/Select/ui/SelectGroup/variations/_view/base_x642ct.css +0 -1
  810. package/es/components/Select/ui/SelectHeader/SelectHeader.css +0 -35
  811. package/es/components/Select/ui/SelectHeader/SelectHeader.js +0 -36
  812. package/es/components/Select/ui/SelectHeader/SelectHeader.js.map +0 -1
  813. package/es/components/Select/ui/SelectHeader/SelectHeader.styles.js +0 -7
  814. package/es/components/Select/ui/SelectHeader/SelectHeader.styles.js.map +0 -1
  815. package/es/components/Select/ui/SelectHeader/SelectHeader.styles_24gqog.css +0 -1
  816. package/es/components/Select/ui/SelectHeader/variations/_size/base.js +0 -5
  817. package/es/components/Select/ui/SelectHeader/variations/_size/base.js.map +0 -1
  818. package/es/components/Select/ui/SelectHeader/variations/_size/base_x642ct.css +0 -1
  819. package/es/components/Select/ui/SelectHeader/variations/_view/base.js +0 -5
  820. package/es/components/Select/ui/SelectHeader/variations/_view/base.js.map +0 -1
  821. package/es/components/Select/ui/SelectHeader/variations/_view/base_x642ct.css +0 -1
  822. package/es/components/Select/ui/SelectItem/SelectItem.css +0 -35
  823. package/es/components/Select/ui/SelectItem/SelectItem.js +0 -35
  824. package/es/components/Select/ui/SelectItem/SelectItem.js.map +0 -1
  825. package/es/components/Select/ui/SelectItem/SelectItem.styles.js +0 -15
  826. package/es/components/Select/ui/SelectItem/SelectItem.styles.js.map +0 -1
  827. package/es/components/Select/ui/SelectItem/SelectItem.styles_vk39mp.css +0 -1
  828. package/es/components/Select/ui/SelectItem/variations/_size/base.js +0 -5
  829. package/es/components/Select/ui/SelectItem/variations/_size/base.js.map +0 -1
  830. package/es/components/Select/ui/SelectItem/variations/_size/base_x642ct.css +0 -1
  831. package/es/components/Select/ui/SelectItem/variations/_view/base.js +0 -5
  832. package/es/components/Select/ui/SelectItem/variations/_view/base.js.map +0 -1
  833. package/es/components/Select/ui/SelectItem/variations/_view/base_x642ct.css +0 -1
  834. package/es/components/Select/ui/SelectTarget/SelectTarget.js +0 -144
  835. package/es/components/Select/ui/SelectTarget/SelectTarget.js.map +0 -1
  836. package/es/components/Select/ui/SelectTarget/SelectTarget.styles.js +0 -103
  837. package/es/components/Select/ui/SelectTarget/SelectTarget.styles.js.map +0 -1
  838. package/es/components/Select/ui/SelectTarget/SelectTarget.styles_hb1tns.css +0 -6
  839. package/es/components/Select/utils/index.js +0 -105
  840. package/es/components/Select/utils/index.js.map +0 -1
  841. package/es/components/Select/variations/_target/base.js +0 -5
  842. package/es/components/Select/variations/_target/base.js.map +0 -1
  843. package/es/components/Select/variations/_target/base_x642ct.css +0 -1
  844. package/styled-components/cjs/components/Select/Select.template-doc.mdx +0 -115
  845. package/styled-components/cjs/components/Select/hooks/index.js +0 -12
  846. package/styled-components/cjs/components/Select/ui/SelectChip/SelectChip.styles.js +0 -25
  847. package/styled-components/cjs/components/Select/ui/SelectDivider/SelectDivider.js +0 -29
  848. package/styled-components/cjs/components/Select/ui/SelectDivider/SelectDivider.styles.js +0 -12
  849. package/styled-components/cjs/components/Select/ui/SelectDivider/variations/_size/base.js +0 -8
  850. package/styled-components/cjs/components/Select/ui/SelectDivider/variations/_size/tokens.json +0 -8
  851. package/styled-components/cjs/components/Select/ui/SelectDivider/variations/_view/base.js +0 -8
  852. package/styled-components/cjs/components/Select/ui/SelectDivider/variations/_view/tokens.json +0 -1
  853. package/styled-components/cjs/components/Select/ui/SelectFooter/SelectFooter.js +0 -29
  854. package/styled-components/cjs/components/Select/ui/SelectFooter/SelectFooter.styles.js +0 -12
  855. package/styled-components/cjs/components/Select/ui/SelectFooter/variations/_size/base.js +0 -8
  856. package/styled-components/cjs/components/Select/ui/SelectFooter/variations/_size/tokens.json +0 -12
  857. package/styled-components/cjs/components/Select/ui/SelectFooter/variations/_view/base.js +0 -8
  858. package/styled-components/cjs/components/Select/ui/SelectFooter/variations/_view/tokens.json +0 -9
  859. package/styled-components/cjs/components/Select/ui/SelectGroup/SelectGroup.js +0 -29
  860. package/styled-components/cjs/components/Select/ui/SelectGroup/SelectGroup.styles.js +0 -12
  861. package/styled-components/cjs/components/Select/ui/SelectGroup/SelectGroup.type.js +0 -5
  862. package/styled-components/cjs/components/Select/ui/SelectGroup/variations/_size/base.js +0 -8
  863. package/styled-components/cjs/components/Select/ui/SelectGroup/variations/_size/tokens.json +0 -20
  864. package/styled-components/cjs/components/Select/ui/SelectGroup/variations/_view/base.js +0 -8
  865. package/styled-components/cjs/components/Select/ui/SelectGroup/variations/_view/tokens.json +0 -10
  866. package/styled-components/cjs/components/Select/ui/SelectHeader/SelectHeader.js +0 -29
  867. package/styled-components/cjs/components/Select/ui/SelectHeader/SelectHeader.styles.js +0 -12
  868. package/styled-components/cjs/components/Select/ui/SelectHeader/SelectHeader.type.js +0 -5
  869. package/styled-components/cjs/components/Select/ui/SelectHeader/variations/_size/base.js +0 -8
  870. package/styled-components/cjs/components/Select/ui/SelectHeader/variations/_size/tokens.json +0 -12
  871. package/styled-components/cjs/components/Select/ui/SelectHeader/variations/_view/base.js +0 -8
  872. package/styled-components/cjs/components/Select/ui/SelectHeader/variations/_view/tokens.json +0 -9
  873. package/styled-components/cjs/components/Select/ui/SelectItem/SelectItem.js +0 -29
  874. package/styled-components/cjs/components/Select/ui/SelectItem/SelectItem.styles.js +0 -13
  875. package/styled-components/cjs/components/Select/ui/SelectItem/SelectItem.type.js +0 -5
  876. package/styled-components/cjs/components/Select/ui/SelectItem/variations/_size/base.js +0 -8
  877. package/styled-components/cjs/components/Select/ui/SelectItem/variations/_size/tokens.json +0 -19
  878. package/styled-components/cjs/components/Select/ui/SelectItem/variations/_view/base.js +0 -8
  879. package/styled-components/cjs/components/Select/ui/SelectItem/variations/_view/tokens.json +0 -9
  880. package/styled-components/cjs/components/Select/ui/SelectTarget/SelectTarget.js +0 -157
  881. package/styled-components/cjs/components/Select/ui/SelectTarget/SelectTarget.styles.js +0 -69
  882. package/styled-components/cjs/components/Select/ui/SelectTarget/SelectTarget.types.js +0 -5
  883. package/styled-components/cjs/components/Select/variations/_target/base.js +0 -8
  884. package/styled-components/cjs/components/Select/variations/_target/tokens.json +0 -1
  885. package/styled-components/es/components/Select/Select.template-doc.mdx +0 -115
  886. package/styled-components/es/components/Select/hooks/index.js +0 -1
  887. package/styled-components/es/components/Select/ui/SelectChip/SelectChip.js +0 -31
  888. package/styled-components/es/components/Select/ui/SelectChip/SelectChip.styles.js +0 -19
  889. package/styled-components/es/components/Select/ui/SelectDivider/SelectDivider.js +0 -23
  890. package/styled-components/es/components/Select/ui/SelectDivider/SelectDivider.styles.js +0 -7
  891. package/styled-components/es/components/Select/ui/SelectDivider/variations/_size/base.js +0 -2
  892. package/styled-components/es/components/Select/ui/SelectDivider/variations/_size/tokens.json +0 -8
  893. package/styled-components/es/components/Select/ui/SelectDivider/variations/_view/base.js +0 -2
  894. package/styled-components/es/components/Select/ui/SelectDivider/variations/_view/tokens.json +0 -1
  895. package/styled-components/es/components/Select/ui/SelectFooter/SelectFooter.js +0 -23
  896. package/styled-components/es/components/Select/ui/SelectFooter/SelectFooter.styles.js +0 -7
  897. package/styled-components/es/components/Select/ui/SelectFooter/variations/_size/base.js +0 -2
  898. package/styled-components/es/components/Select/ui/SelectFooter/variations/_size/tokens.json +0 -12
  899. package/styled-components/es/components/Select/ui/SelectFooter/variations/_view/base.js +0 -2
  900. package/styled-components/es/components/Select/ui/SelectFooter/variations/_view/tokens.json +0 -9
  901. package/styled-components/es/components/Select/ui/SelectGroup/SelectGroup.js +0 -23
  902. package/styled-components/es/components/Select/ui/SelectGroup/SelectGroup.styles.js +0 -7
  903. package/styled-components/es/components/Select/ui/SelectGroup/SelectGroup.type.js +0 -1
  904. package/styled-components/es/components/Select/ui/SelectGroup/variations/_size/base.js +0 -2
  905. package/styled-components/es/components/Select/ui/SelectGroup/variations/_size/tokens.json +0 -20
  906. package/styled-components/es/components/Select/ui/SelectGroup/variations/_view/base.js +0 -2
  907. package/styled-components/es/components/Select/ui/SelectGroup/variations/_view/tokens.json +0 -10
  908. package/styled-components/es/components/Select/ui/SelectHeader/SelectHeader.js +0 -23
  909. package/styled-components/es/components/Select/ui/SelectHeader/SelectHeader.styles.js +0 -7
  910. package/styled-components/es/components/Select/ui/SelectHeader/SelectHeader.type.js +0 -1
  911. package/styled-components/es/components/Select/ui/SelectHeader/variations/_size/base.js +0 -2
  912. package/styled-components/es/components/Select/ui/SelectHeader/variations/_size/tokens.json +0 -12
  913. package/styled-components/es/components/Select/ui/SelectHeader/variations/_view/base.js +0 -2
  914. package/styled-components/es/components/Select/ui/SelectHeader/variations/_view/tokens.json +0 -9
  915. package/styled-components/es/components/Select/ui/SelectItem/SelectItem.js +0 -23
  916. package/styled-components/es/components/Select/ui/SelectItem/SelectItem.styles.js +0 -8
  917. package/styled-components/es/components/Select/ui/SelectItem/SelectItem.type.js +0 -1
  918. package/styled-components/es/components/Select/ui/SelectItem/variations/_size/base.js +0 -2
  919. package/styled-components/es/components/Select/ui/SelectItem/variations/_size/tokens.json +0 -19
  920. package/styled-components/es/components/Select/ui/SelectItem/variations/_view/base.js +0 -2
  921. package/styled-components/es/components/Select/ui/SelectItem/variations/_view/tokens.json +0 -9
  922. package/styled-components/es/components/Select/ui/SelectTarget/SelectTarget.js +0 -148
  923. package/styled-components/es/components/Select/ui/SelectTarget/SelectTarget.styles.js +0 -62
  924. package/styled-components/es/components/Select/ui/SelectTarget/SelectTarget.types.js +0 -1
  925. package/styled-components/es/components/Select/variations/_target/base.js +0 -2
  926. package/styled-components/es/components/Select/variations/_target/tokens.json +0 -1
  927. package/types/components/Select/hooks/index.d.ts +0 -2
  928. package/types/components/Select/hooks/index.d.ts.map +0 -1
  929. package/types/components/Select/hooks/useKeyNavigation.d.ts.map +0 -1
  930. package/types/components/Select/ui/SelectChip/SelectChip.d.ts +0 -7
  931. package/types/components/Select/ui/SelectChip/SelectChip.d.ts.map +0 -1
  932. package/types/components/Select/ui/SelectChip/SelectChip.styles.d.ts +0 -3
  933. package/types/components/Select/ui/SelectChip/SelectChip.styles.d.ts.map +0 -1
  934. package/types/components/Select/ui/SelectChip/SelectChip.types.d.ts +0 -37
  935. package/types/components/Select/ui/SelectChip/SelectChip.types.d.ts.map +0 -1
  936. package/types/components/Select/ui/SelectDivider/SelectDivider.d.ts +0 -29
  937. package/types/components/Select/ui/SelectDivider/SelectDivider.d.ts.map +0 -1
  938. package/types/components/Select/ui/SelectDivider/SelectDivider.styles.d.ts +0 -3
  939. package/types/components/Select/ui/SelectDivider/SelectDivider.styles.d.ts.map +0 -1
  940. package/types/components/Select/ui/SelectDivider/SelectDivider.types.d.ts +0 -3
  941. package/types/components/Select/ui/SelectDivider/SelectDivider.types.d.ts.map +0 -1
  942. package/types/components/Select/ui/SelectDivider/variations/_size/base.d.ts +0 -2
  943. package/types/components/Select/ui/SelectDivider/variations/_size/base.d.ts.map +0 -1
  944. package/types/components/Select/ui/SelectDivider/variations/_view/base.d.ts +0 -2
  945. package/types/components/Select/ui/SelectDivider/variations/_view/base.d.ts.map +0 -1
  946. package/types/components/Select/ui/SelectFooter/SelectFooter.d.ts +0 -29
  947. package/types/components/Select/ui/SelectFooter/SelectFooter.d.ts.map +0 -1
  948. package/types/components/Select/ui/SelectFooter/SelectFooter.styles.d.ts +0 -3
  949. package/types/components/Select/ui/SelectFooter/SelectFooter.styles.d.ts.map +0 -1
  950. package/types/components/Select/ui/SelectFooter/SelectFooter.type.d.ts +0 -3
  951. package/types/components/Select/ui/SelectFooter/SelectFooter.type.d.ts.map +0 -1
  952. package/types/components/Select/ui/SelectFooter/variations/_size/base.d.ts +0 -2
  953. package/types/components/Select/ui/SelectFooter/variations/_size/base.d.ts.map +0 -1
  954. package/types/components/Select/ui/SelectFooter/variations/_view/base.d.ts +0 -2
  955. package/types/components/Select/ui/SelectFooter/variations/_view/base.d.ts.map +0 -1
  956. package/types/components/Select/ui/SelectGroup/SelectGroup.d.ts +0 -37
  957. package/types/components/Select/ui/SelectGroup/SelectGroup.d.ts.map +0 -1
  958. package/types/components/Select/ui/SelectGroup/SelectGroup.styles.d.ts +0 -3
  959. package/types/components/Select/ui/SelectGroup/SelectGroup.styles.d.ts.map +0 -1
  960. package/types/components/Select/ui/SelectGroup/SelectGroup.type.d.ts +0 -3
  961. package/types/components/Select/ui/SelectGroup/SelectGroup.type.d.ts.map +0 -1
  962. package/types/components/Select/ui/SelectGroup/variations/_size/base.d.ts +0 -2
  963. package/types/components/Select/ui/SelectGroup/variations/_size/base.d.ts.map +0 -1
  964. package/types/components/Select/ui/SelectGroup/variations/_view/base.d.ts +0 -2
  965. package/types/components/Select/ui/SelectGroup/variations/_view/base.d.ts.map +0 -1
  966. package/types/components/Select/ui/SelectHeader/SelectHeader.d.ts +0 -29
  967. package/types/components/Select/ui/SelectHeader/SelectHeader.d.ts.map +0 -1
  968. package/types/components/Select/ui/SelectHeader/SelectHeader.styles.d.ts +0 -3
  969. package/types/components/Select/ui/SelectHeader/SelectHeader.styles.d.ts.map +0 -1
  970. package/types/components/Select/ui/SelectHeader/SelectHeader.type.d.ts +0 -3
  971. package/types/components/Select/ui/SelectHeader/SelectHeader.type.d.ts.map +0 -1
  972. package/types/components/Select/ui/SelectHeader/variations/_size/base.d.ts +0 -2
  973. package/types/components/Select/ui/SelectHeader/variations/_size/base.d.ts.map +0 -1
  974. package/types/components/Select/ui/SelectHeader/variations/_view/base.d.ts +0 -2
  975. package/types/components/Select/ui/SelectHeader/variations/_view/base.d.ts.map +0 -1
  976. package/types/components/Select/ui/SelectItem/SelectItem.d.ts +0 -53
  977. package/types/components/Select/ui/SelectItem/SelectItem.d.ts.map +0 -1
  978. package/types/components/Select/ui/SelectItem/SelectItem.styles.d.ts +0 -3
  979. package/types/components/Select/ui/SelectItem/SelectItem.styles.d.ts.map +0 -1
  980. package/types/components/Select/ui/SelectItem/SelectItem.type.d.ts +0 -3
  981. package/types/components/Select/ui/SelectItem/SelectItem.type.d.ts.map +0 -1
  982. package/types/components/Select/ui/SelectItem/variations/_size/base.d.ts +0 -2
  983. package/types/components/Select/ui/SelectItem/variations/_size/base.d.ts.map +0 -1
  984. package/types/components/Select/ui/SelectItem/variations/_view/base.d.ts +0 -2
  985. package/types/components/Select/ui/SelectItem/variations/_view/base.d.ts.map +0 -1
  986. package/types/components/Select/ui/SelectTarget/SelectTarget.d.ts +0 -7
  987. package/types/components/Select/ui/SelectTarget/SelectTarget.d.ts.map +0 -1
  988. package/types/components/Select/ui/SelectTarget/SelectTarget.styles.d.ts.map +0 -1
  989. package/types/components/Select/ui/SelectTarget/SelectTarget.types.d.ts +0 -60
  990. package/types/components/Select/ui/SelectTarget/SelectTarget.types.d.ts.map +0 -1
  991. package/types/components/Select/variations/_target/base.d.ts +0 -2
  992. package/types/components/Select/variations/_target/base.d.ts.map +0 -1
  993. /package/cjs/components/{Select → Combobox}/hooks/useKeyNavigation.js +0 -0
  994. /package/emotion/cjs/components/{Select → Combobox}/hooks/useKeyNavigation.js +0 -0
  995. /package/emotion/cjs/components/Select/ui/{SelectChip/SelectChip.types.js → Inner/Inner.type.js} +0 -0
  996. /package/emotion/cjs/components/Select/ui/{SelectDivider/SelectDivider.types.js → Inner/ui/Item/Item.types.js} +0 -0
  997. /package/emotion/cjs/components/Select/ui/{SelectFooter/SelectFooter.type.js → Target/Target.types.js} +0 -0
  998. /package/emotion/cjs/components/Select/ui/{SelectGroup/SelectGroup.type.js → Target/ui/Button/Button.types.js} +0 -0
  999. /package/emotion/cjs/components/Select/ui/{SelectHeader/SelectHeader.type.js → Target/ui/Textfield/Textfield.types.js} +0 -0
  1000. /package/emotion/es/components/{Select → Combobox}/hooks/useKeyNavigation.js +0 -0
  1001. /package/emotion/es/components/Select/ui/{SelectChip/SelectChip.types.js → Inner/Inner.type.js} +0 -0
  1002. /package/emotion/es/components/Select/ui/{SelectDivider/SelectDivider.types.js → Inner/ui/Item/Item.types.js} +0 -0
  1003. /package/emotion/es/components/Select/ui/{SelectFooter/SelectFooter.type.js → Target/Target.types.js} +0 -0
  1004. /package/emotion/es/components/Select/ui/{SelectGroup/SelectGroup.type.js → Target/ui/Button/Button.types.js} +0 -0
  1005. /package/emotion/es/components/Select/ui/{SelectHeader/SelectHeader.type.js → Target/ui/Textfield/Textfield.types.js} +0 -0
  1006. /package/es/components/{Select → Combobox}/hooks/useKeyNavigation.js +0 -0
  1007. /package/styled-components/cjs/components/{Select → Combobox}/hooks/useKeyNavigation.js +0 -0
  1008. /package/{emotion/cjs/components/Select/ui/SelectItem/SelectItem.type.js → styled-components/cjs/components/Select/ui/Inner/Inner.type.js} +0 -0
  1009. /package/{emotion/cjs/components/Select/ui/SelectTarget/SelectTarget.types.js → styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.types.js} +0 -0
  1010. /package/styled-components/cjs/components/Select/ui/{SelectChip/SelectChip.types.js → Target/Target.types.js} +0 -0
  1011. /package/styled-components/cjs/components/Select/ui/{SelectDivider/SelectDivider.types.js → Target/ui/Button/Button.types.js} +0 -0
  1012. /package/styled-components/cjs/components/Select/ui/{SelectFooter/SelectFooter.type.js → Target/ui/Textfield/Textfield.types.js} +0 -0
  1013. /package/styled-components/es/components/{Select → Combobox}/hooks/useKeyNavigation.js +0 -0
  1014. /package/{emotion/es/components/Select/ui/SelectItem/SelectItem.type.js → styled-components/es/components/Select/ui/Inner/Inner.type.js} +0 -0
  1015. /package/{emotion/es/components/Select/ui/SelectTarget/SelectTarget.types.js → styled-components/es/components/Select/ui/Inner/ui/Item/Item.types.js} +0 -0
  1016. /package/styled-components/es/components/Select/ui/{SelectChip/SelectChip.types.js → Target/Target.types.js} +0 -0
  1017. /package/styled-components/es/components/Select/ui/{SelectDivider/SelectDivider.types.js → Target/ui/Button/Button.types.js} +0 -0
  1018. /package/styled-components/es/components/Select/ui/{SelectFooter/SelectFooter.type.js → Target/ui/Textfield/Textfield.types.js} +0 -0
@@ -1,4 +1,4 @@
1
- var _excluded = ["name", "form", "readOnly", "disabled", "label", "id", "children", "role", "target", "view", "size", "frame", "usePortal", "enumerationType", "opened", "placement", "onToggle"];
1
+ var _excluded = ["multiselect", "value", "onChange", "target", "items", "placement", "label", "labelPlacement", "placeholder", "helperText", "isTargetAmount", "disabled", "view", "size", "listOverflow", "listHeight", "listWidth", "contentLeft", "onScrollBottom", "chipView", "variant", "portal", "renderValue", "renderItem"];
2
2
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
3
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
4
4
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -8,224 +8,290 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
8
8
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
9
9
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10
10
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
11
- import React, { Children, forwardRef, useCallback, useEffect, useMemo, useRef, useState } from 'react';
12
- import { safeUseId, useForkRef } from '@salutejs/plasma-core';
13
- import { cx, getPlacements } from '../../utils';
14
- import { useDidMountEffect, useForceUpdate } from '../../hooks';
15
- import { base as targetCSS } from './variations/_target/base';
11
+ import React, { forwardRef, useState, useReducer, useMemo, createContext, useLayoutEffect } from 'react';
12
+ import { isEmpty, getPlacements } from '../../utils';
13
+ import { useOutsideClick } from '../../hooks';
14
+ import { useKeyNavigation } from './hooks/useKeyboardNavigation';
15
+ import { initialItemsTransform, updateAncestors, updateDescendants, updateSingleAncestors } from './utils';
16
+ import { Inner, Target } from './ui';
17
+ import { pathReducer, focusedPathReducer, focusedChipIndexReducer } from './reducers';
18
+ import { usePathMaps } from './hooks/usePathMaps';
19
+ import { StyledPopover, Ul, base, OuterLabel, HelperText } from './Select.styles';
16
20
  import { base as viewCSS } from './variations/_view/base';
17
21
  import { base as sizeCSS } from './variations/_size/base';
18
- import { SelectTarget } from './ui';
19
- import { getChildren, getNewSelected, getValues } from './utils';
20
- import { classes } from './Select.tokens';
21
- import { StyledNativeSelect, StyledPopover, StyledRoot, StyledSelect } from './Select.styles';
22
- import { useKeyNavigation } from './hooks';
22
+ export var Context = /*#__PURE__*/createContext({});
23
23
 
24
24
  /**
25
- * Выпадающий список без внешнего контроля видимости.
25
+ * Выпадающий список. Поддерживает выбор одного или нескольких значений.
26
26
  */
27
27
  export var selectRoot = function selectRoot(Root) {
28
- return /*#__PURE__*/forwardRef(function (_ref, outerRootRef) {
29
- var _targetRef$current;
30
- var name = _ref.name,
31
- form = _ref.form,
32
- readOnly = _ref.readOnly,
33
- disabled = _ref.disabled,
34
- label = _ref.label,
35
- id = _ref.id,
36
- children = _ref.children,
37
- role = _ref.role,
38
- target = _ref.target,
39
- view = _ref.view,
40
- size = _ref.size,
41
- frame = _ref.frame,
42
- usePortal = _ref.usePortal,
43
- _ref$enumerationType = _ref.enumerationType,
44
- enumerationType = _ref$enumerationType === void 0 ? 'comma' : _ref$enumerationType,
45
- _ref$opened = _ref.opened,
46
- opened = _ref$opened === void 0 ? false : _ref$opened,
47
- _ref$placement = _ref.placement,
48
- placement = _ref$placement === void 0 ? 'bottom' : _ref$placement,
49
- onToggle = _ref.onToggle,
50
- rest = _objectWithoutProperties(_ref, _excluded);
51
- var forceUpdate = useForceUpdate();
52
- var uniqId = safeUseId();
53
- var innerId = id || uniqId;
54
- var _rest$valueType = rest.valueType,
55
- valueType = _rest$valueType === void 0 ? 'single' : _rest$valueType,
56
- value = rest.value;
57
- var offset = [0, 4];
58
- var _useState = useState(null),
28
+ return /*#__PURE__*/forwardRef(function (props, ref) {
29
+ var _props$multiselect = props.multiselect,
30
+ multiselect = _props$multiselect === void 0 ? false : _props$multiselect,
31
+ outerValue = props.value,
32
+ outerOnChange = props.onChange,
33
+ _props$target = props.target,
34
+ target = _props$target === void 0 ? 'textfield-like' : _props$target,
35
+ items = props.items,
36
+ _props$placement = props.placement,
37
+ placement = _props$placement === void 0 ? 'bottom' : _props$placement,
38
+ label = props.label,
39
+ _props$labelPlacement = props.labelPlacement,
40
+ labelPlacement = _props$labelPlacement === void 0 ? 'outer' : _props$labelPlacement,
41
+ placeholder = props.placeholder,
42
+ helperText = props.helperText,
43
+ _props$isTargetAmount = props.isTargetAmount,
44
+ isTargetAmount = _props$isTargetAmount === void 0 ? false : _props$isTargetAmount,
45
+ _props$disabled = props.disabled,
46
+ disabled = _props$disabled === void 0 ? false : _props$disabled,
47
+ view = props.view,
48
+ size = props.size,
49
+ listOverflow = props.listOverflow,
50
+ listHeight = props.listHeight,
51
+ listWidth = props.listWidth,
52
+ contentLeft = props.contentLeft,
53
+ onScrollBottom = props.onScrollBottom,
54
+ chipView = props.chipView,
55
+ _props$variant = props.variant,
56
+ variant = _props$variant === void 0 ? 'normal' : _props$variant,
57
+ portal = props.portal,
58
+ renderValue = props.renderValue,
59
+ renderItem = props.renderItem,
60
+ rest = _objectWithoutProperties(props, _excluded);
61
+ var _useState = useState(outerValue || multiselect ? [] : ''),
59
62
  _useState2 = _slicedToArray(_useState, 2),
60
- ref = _useState2[0],
61
- setRef = _useState2[1];
62
- var rootRef = useRef(null);
63
- var handleRef = useForkRef(rootRef, outerRootRef);
64
- var targetRef = useRef(null);
65
- var chipsRefs = useRef([]);
66
- var selectRef = useRef(null);
67
- var itemsRefs = useRef([]);
68
- var controlledRefs = {
69
- targetRef: targetRef,
70
- chipsRefs: chipsRefs,
71
- selectRef: selectRef,
72
- itemsRefs: itemsRefs
63
+ internalValue = _useState2[0],
64
+ setInternalValue = _useState2[1];
65
+ var value = outerValue || internalValue;
66
+ var onChange = function onChange(e) {
67
+ if (outerOnChange) {
68
+ outerOnChange(e);
69
+ }
70
+ setInternalValue(e);
73
71
  };
74
- var _useState3 = useState(opened),
72
+ var transformedItems = useMemo(function () {
73
+ return initialItemsTransform(items);
74
+ }, [items]);
75
+ var _usePathMaps = usePathMaps(transformedItems),
76
+ _usePathMaps2 = _slicedToArray(_usePathMaps, 4),
77
+ pathMap = _usePathMaps2[0],
78
+ focusedToValueMap = _usePathMaps2[1],
79
+ valueToCheckedMap = _usePathMaps2[2],
80
+ valueToItemMap = _usePathMaps2[3];
81
+ var _useReducer = useReducer(pathReducer, []),
82
+ _useReducer2 = _slicedToArray(_useReducer, 2),
83
+ path = _useReducer2[0],
84
+ dispatchPath = _useReducer2[1];
85
+ var _useReducer3 = useReducer(focusedPathReducer, []),
86
+ _useReducer4 = _slicedToArray(_useReducer3, 2),
87
+ focusedPath = _useReducer4[0],
88
+ dispatchFocusedPath = _useReducer4[1];
89
+ var _useReducer5 = useReducer(focusedChipIndexReducer, null),
90
+ _useReducer6 = _slicedToArray(_useReducer5, 2),
91
+ focusedChipIndex = _useReducer6[0],
92
+ dispatchFocusedChipIndex = _useReducer6[1];
93
+ var _useState3 = useState(valueToCheckedMap),
75
94
  _useState4 = _slicedToArray(_useState3, 2),
76
- innerOpened = _useState4[0],
77
- setOpened = _useState4[1];
78
-
79
- // INFO: нужно высчитывать для корректной работы портала
80
- var dynamicTargetWidth = (_targetRef$current = targetRef.current) === null || _targetRef$current === void 0 ? void 0 : _targetRef$current.offsetWidth;
81
- var withNativeSelectVisible = valueType === 'native' ? classes.nativeSelectVisible : undefined;
82
-
83
- // INFO: Из-за того, что классы передаются через ref,
84
- // состояние пропсов после изменения view, size, target
85
- // всегда предыдущее, поэтому нужно делать форс-ререндер
86
- useDidMountEffect(function () {
87
- forceUpdate();
88
- }, [view, size, target]);
89
- useEffect(function () {
90
- if (disabled || readOnly) {
91
- return;
95
+ checked = _useState4[0],
96
+ setChecked = _useState4[1];
97
+ var targetRef = useOutsideClick(function () {
98
+ if (focusedChipIndex != null) {
99
+ dispatchFocusedChipIndex({
100
+ type: 'reset'
101
+ });
92
102
  }
93
- setOpened(opened);
94
- }, [opened, disabled, readOnly]);
95
- var onInnerToggle = useCallback(function (openValue, event) {
96
- if (disabled || readOnly) {
97
- return;
103
+ });
104
+ var handleToggle = function handleToggle(opened) {
105
+ if (opened) {
106
+ dispatchPath({
107
+ type: 'opened_first_level'
108
+ });
109
+ } else {
110
+ dispatchFocusedPath({
111
+ type: 'reset'
112
+ });
113
+ dispatchPath({
114
+ type: 'reset'
115
+ });
116
+ dispatchFocusedChipIndex({
117
+ type: 'reset'
118
+ });
98
119
  }
99
- if (onToggle) {
100
- onToggle(openValue, event);
101
- return;
120
+ };
121
+ var handleCheckboxChange = function handleCheckboxChange(item) {
122
+ var checkedCopy = new Map(checked);
123
+ if (!checkedCopy.get(item.value.toString())) {
124
+ checkedCopy.set(item.value.toString(), true);
125
+ updateDescendants(item, checkedCopy, true);
126
+ } else {
127
+ checkedCopy.set(item.value.toString(), false);
128
+ updateDescendants(item, checkedCopy, false);
102
129
  }
103
- setOpened(openValue);
104
- }, [disabled, readOnly, onToggle]);
105
- var updateValue = useCallback(function (item, event) {
106
- var _rest$onChangeValue2;
107
- var newValue = item.dataset.value;
108
- if (rest.valueType === 'multiple') {
109
- var _rest$onChangeValue;
110
- var _newSelected = getNewSelected(rest.value, newValue, rest.valueType);
111
- (_rest$onChangeValue = rest.onChangeValue) === null || _rest$onChangeValue === void 0 || _rest$onChangeValue.call(rest, _newSelected);
112
- return;
130
+ updateAncestors(item, checkedCopy);
131
+ var newValues = [];
132
+ valueToItemMap.forEach(function (item, key) {
133
+ if (checkedCopy.get(key)) {
134
+ newValues.push(item.value.toString());
135
+ }
136
+ });
137
+ if (onChange) {
138
+ onChange(newValues);
113
139
  }
114
- var newSelected = getNewSelected(rest.value, newValue, 'single');
115
- (_rest$onChangeValue2 = rest.onChangeValue) === null || _rest$onChangeValue2 === void 0 || _rest$onChangeValue2.call(rest, newSelected);
116
- onInnerToggle === null || onInnerToggle === void 0 || onInnerToggle(false, event);
117
- }, [rest.value, rest.valueType, rest.onChangeValue, onToggle, onInnerToggle]);
118
- var onClickChildrenItem = useCallback(function (event) {
119
- // INFO: Для корректной работы компонента Popper
120
- event.stopPropagation();
121
- var item = event.currentTarget;
122
- updateValue(item, event);
123
- }, [updateValue]);
124
- var onNativeSelectChange = useCallback(function (event) {
125
- var _rest$onChangeValue3;
126
- if (rest.valueType === 'multiple') {
140
+ };
141
+ var handleItemClick = function handleItemClick(item, e) {
142
+ if (!isEmpty(item === null || item === void 0 ? void 0 : item.items)) {
127
143
  return;
128
144
  }
129
- var newValue = event.target.value;
130
- var newSelected = getNewSelected(rest.value, newValue, 'native');
131
- (_rest$onChangeValue3 = rest.onChangeValue) === null || _rest$onChangeValue3 === void 0 || _rest$onChangeValue3.call(rest, newSelected);
132
- }, [rest.value, rest.valueType, rest.onChangeValue]);
133
- var onChangeChipValue = useCallback(function (newValue) {
134
- var _rest$onChangeValue4;
135
- if (rest.valueType !== 'multiple') {
136
- return;
145
+ if (multiselect) {
146
+ handleCheckboxChange(item);
147
+ } else {
148
+ if (e) {
149
+ e.stopPropagation();
150
+ }
151
+ var checkedCopy = new Map(checked);
152
+ var isCurrentChecked = checkedCopy.get(item.value);
153
+ checkedCopy.forEach(function (_, key) {
154
+ checkedCopy.set(key, false);
155
+ });
156
+ if (!isCurrentChecked) {
157
+ checkedCopy.set(item.value, 'done');
158
+ updateSingleAncestors(item, checkedCopy, 'dot');
159
+ }
160
+ if (onChange) {
161
+ onChange(isCurrentChecked ? '' : item.value);
162
+ }
163
+ }
164
+ };
165
+ var handleChipClick = function handleChipClick(currentValue) {
166
+ handleCheckboxChange(valueToItemMap.get(currentValue));
167
+ };
168
+ var handlePressDown = function handlePressDown(item, e) {
169
+ if (isEmpty(item.items)) {
170
+ handleItemClick(item, e);
171
+ } else if (multiselect) {
172
+ handleCheckboxChange(item);
173
+ }
174
+ };
175
+ var handleScroll = function handleScroll(e) {
176
+ if (!onScrollBottom) return;
177
+ var target = e.target;
178
+ if (target.scrollHeight - target.scrollTop === target.clientHeight) {
179
+ onScrollBottom(e);
137
180
  }
138
- (_rest$onChangeValue4 = rest.onChangeValue) === null || _rest$onChangeValue4 === void 0 || _rest$onChangeValue4.call(rest, newValue);
139
- }, [rest.valueType]);
181
+ };
140
182
  var _useKeyNavigation = useKeyNavigation({
141
- controlledRefs: controlledRefs,
142
- opened: innerOpened,
143
- enumerationType: enumerationType,
144
- valueType: valueType,
183
+ focusedPath: focusedPath,
184
+ dispatchFocusedPath: dispatchFocusedPath,
185
+ path: path,
186
+ dispatchPath: dispatchPath,
187
+ pathMap: pathMap,
188
+ focusedToValueMap: focusedToValueMap,
189
+ handleToggle: handleToggle,
190
+ handlePressDown: handlePressDown,
191
+ focusedChipIndex: focusedChipIndex,
192
+ dispatchFocusedChipIndex: dispatchFocusedChipIndex,
145
193
  value: value,
146
- updateOpened: onInnerToggle,
147
- updateValue: updateValue
194
+ valueToItemMap: valueToItemMap,
195
+ multiselect: multiselect,
196
+ isTargetAmount: isTargetAmount
148
197
  }),
149
- onKeyDownTarget = _useKeyNavigation.onKeyDownTarget,
150
- onKeyDownSelect = _useKeyNavigation.onKeyDownSelect;
151
- var childrenArray = useMemo(function () {
152
- return Children.toArray(children);
153
- }, [children]);
154
- var childrenMemo = useMemo(function () {
155
- return getChildren(childrenArray, {
156
- onClick: onClickChildrenItem,
157
- childrenRefs: itemsRefs
158
- }, value);
159
- }, [childrenArray, value, innerOpened]);
160
- var values = useMemo(function () {
161
- return getValues(childrenArray, value);
162
- }, [childrenArray, value]);
163
- return /*#__PURE__*/React.createElement(StyledRoot, {
164
- ref: selectRef
165
- }, /*#__PURE__*/React.createElement(StyledNativeSelect, {
166
- "aria-invalid": "false",
167
- "aria-hidden": "true",
168
- "aria-readonly": readOnly,
169
- tabIndex: valueType === 'native' ? 0 : -1,
170
- form: form,
171
- name: name,
172
- ref: handleRef,
173
- value: "".concat(value),
174
- disabled: disabled || readOnly,
175
- onChange: onNativeSelectChange,
176
- className: cx(ref === null || ref === void 0 ? void 0 : ref.classList.toString(), withNativeSelectVisible)
177
- }, valueType === 'native' && childrenMemo), /*#__PURE__*/React.createElement(StyledPopover, {
178
- role: role,
179
- isOpen: innerOpened,
180
- onToggle: onInnerToggle,
181
- target: /*#__PURE__*/React.createElement(SelectTarget, {
182
- tabIndex: valueType === 'native' ? -1 : 0,
183
- opened: innerOpened,
198
+ onKeyDown = _useKeyNavigation.onKeyDown;
199
+ var isCurrentListOpen = Boolean(path[0]);
200
+
201
+ // В данном эффекте мы следим за изменениями value и вносим коррективы в дерево чекбоксов.
202
+ useLayoutEffect(function () {
203
+ var checkedCopy = new Map(checked);
204
+ checkedCopy.forEach(function (_, key) {
205
+ checkedCopy.set(key, false);
206
+ });
207
+ if (!isEmpty(value)) {
208
+ if (Array.isArray(value)) {
209
+ value.forEach(function (val) {
210
+ checkedCopy.set(val, true);
211
+ updateDescendants(valueToItemMap.get(val), checkedCopy, true);
212
+ updateAncestors(valueToItemMap.get(val), checkedCopy);
213
+ });
214
+ } else {
215
+ checkedCopy.set(value, 'done');
216
+ updateSingleAncestors(valueToItemMap.get(value), checkedCopy, 'dot');
217
+ }
218
+ }
219
+ setChecked(checkedCopy);
220
+ }, [value]);
221
+ return /*#__PURE__*/React.createElement(Root, _extends({
222
+ ref: ref,
223
+ size: size,
224
+ view: view,
225
+ chipView: chipView
226
+ }, rest), label && labelPlacement === 'outer' && target !== 'button-like' && /*#__PURE__*/React.createElement(OuterLabel, null, label), /*#__PURE__*/React.createElement(Context.Provider, {
227
+ value: {
228
+ focusedPath: focusedPath,
229
+ checked: checked,
230
+ multiselect: multiselect,
231
+ size: size,
232
+ handleCheckboxChange: handleCheckboxChange,
233
+ handleItemClick: handleItemClick,
234
+ variant: variant,
235
+ renderItem: renderItem
236
+ }
237
+ }, /*#__PURE__*/React.createElement(StyledPopover, {
238
+ ref: targetRef,
239
+ isOpen: isCurrentListOpen,
240
+ placement: getPlacements(placement),
241
+ usePortal: Boolean(portal),
242
+ frame: portal,
243
+ onToggle: handleToggle,
244
+ trigger: "click",
245
+ target: /*#__PURE__*/React.createElement(Target, {
246
+ opened: isCurrentListOpen,
184
247
  target: target,
185
- values: values,
248
+ value: value,
249
+ isTargetAmount: isTargetAmount,
250
+ multiselect: multiselect,
251
+ valueToItemMap: valueToItemMap,
252
+ focusedPath: focusedPath,
253
+ focusedToValueMap: focusedToValueMap,
254
+ onChipClick: handleChipClick,
186
255
  label: label,
187
- enumerationType: enumerationType,
188
- readOnly: readOnly,
189
- disabled: disabled,
256
+ placeholder: placeholder,
257
+ onKeyDown: onKeyDown,
258
+ focusedChipIndex: focusedChipIndex,
259
+ labelPlacement: labelPlacement,
190
260
  size: size,
191
- ref: targetRef,
192
- chipsRefs: chipsRefs,
193
- id: innerId,
194
- onChange: onChangeChipValue,
195
- onKeyDown: onKeyDownTarget
261
+ contentLeft: contentLeft,
262
+ disabled: disabled,
263
+ renderValue: renderValue
196
264
  }),
197
- className: cx(ref === null || ref === void 0 ? void 0 : ref.classList.toString()) // INFO: Прокидываем стили для Popover
198
- ,
199
- id: innerId,
200
- offset: offset,
201
- frame: frame,
202
- placement: getPlacements(placement),
203
- trigger: "click",
204
- usePortal: usePortal,
205
- selectWidth: dynamicTargetWidth,
206
- isFocusTrapped: false,
207
265
  preventOverflow: false,
208
- closeOnEsc: false,
209
266
  closeOnOverlayClick: true
210
267
  }, /*#__PURE__*/React.createElement(Root, _extends({
211
- ref: setRef,
212
- target: target,
213
- view: view,
214
268
  size: size
215
- }, rest), valueType !== 'native' && /*#__PURE__*/React.createElement(StyledSelect, {
216
- onKeyDown: onKeyDownSelect
217
- }, childrenMemo))));
269
+ }, rest), /*#__PURE__*/React.createElement(Ul, {
270
+ role: "tree",
271
+ id: "tree_level_1",
272
+ listHeight: listHeight,
273
+ listOverflow: listOverflow,
274
+ onScroll: handleScroll,
275
+ listWidth: listWidth
276
+ }, transformedItems.map(function (item, index) {
277
+ return /*#__PURE__*/React.createElement(Inner, {
278
+ key: "".concat(index, "/0"),
279
+ item: item,
280
+ currentLevel: 0,
281
+ path: path,
282
+ dispatchPath: dispatchPath,
283
+ index: index,
284
+ listWidth: listWidth
285
+ });
286
+ }))))), helperText && target === 'textfield-like' && /*#__PURE__*/React.createElement(HelperText, null, helperText));
218
287
  });
219
288
  };
220
289
  export var selectConfig = {
221
290
  name: 'Select',
222
291
  tag: 'div',
223
292
  layout: selectRoot,
224
- base: '',
293
+ base: base,
225
294
  variations: {
226
- target: {
227
- css: targetCSS
228
- },
229
295
  view: {
230
296
  css: viewCSS
231
297
  },
@@ -235,6 +301,7 @@ export var selectConfig = {
235
301
  },
236
302
  defaults: {
237
303
  view: 'default',
304
+ chipView: 'default',
238
305
  size: 'm'
239
306
  }
240
307
  };
@@ -1,32 +1,36 @@
1
1
  import _styled from "@emotion/styled/base";
2
+ import { css } from '@emotion/react';
2
3
  import { component } from '../../engines';
3
4
  import { popoverClasses, popoverConfig } from '../Popover';
4
- import { tokens, classes } from './Select.tokens';
5
- var nativeSelectVisible = classes.nativeSelectVisible,
6
- selectTarget = classes.selectTarget;
7
- export var StyledRoot = /*#__PURE__*/_styled("div", {
8
- target: "e1ea4cwt3",
9
- label: "plasma-new-hope__StyledRoot"
10
- })("width:100%;position:relative;.", /*#__PURE__*/String(nativeSelectVisible), "{display:block;}& .", popoverClasses.wrapper, "{display:block;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2VsZWN0L1NlbGVjdC5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW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ICAgIG9wYWNpdHk6IDE7XG4gICAgcG9zaXRpb246IGFic29sdXRlO1xuICAgIGluc2V0OiAtMC4xMjVyZW07XG4gICAgei1pbmRleDogMTtcbiAgICBjdXJzb3I6ICR7KHsgZGlzYWJsZWQgfSkgPT4gKGRpc2FibGVkID8gJ25vdC1hbGxvd2VkJyA6ICdwb2ludGVyJyl9O1xuICAgIGZvbnQtc2l6ZTogMXJlbTtcblxuICAgICY6aG92ZXI6bm90KDpkaXNhYmxlZCkgKyAuJHtTdHJpbmcocG9wb3ZlckNsYXNzZXMud3JhcHBlcil9IC4ke1N0cmluZyhzZWxlY3RUYXJnZXQpfSB7XG4gICAgICAgIGJhY2tncm91bmQ6IHZhcigke3Rva2Vucy50YXJnZXRCYWNrZ3JvdW5kQ29sb3JIb3Zlcn0pO1xuICAgIH1cblxuICAgICY6Zm9jdXMtdmlzaWJsZSB7XG4gICAgICAgIGJvcmRlci1yYWRpdXM6IHZhcigke3Rva2Vucy5ib3JkZXJSYWRpdXN9KTtcbiAgICAgICAgYm94LXNoYWRvdzogMCAwIDAgMC4wNjI1cmVtIHZhcigke3Rva2Vucy5mb2N1c0NvbG9yfSk7XG4gICAgfVxuYDtcbiJdfQ== */"));
11
- export var StyledSelect = /*#__PURE__*/_styled("div", {
12
- target: "e1ea4cwt2",
13
- label: "plasma-new-hope__StyledSelect"
14
- })("box-sizing:border-box;overflow-y:auto;background:var(", tokens.background, ");box-shadow:var(", tokens.boxShadow, ");border-radius:var(", tokens.borderRadius, ");width:var(", tokens.width, ");height:var(", tokens.height, ");padding:var(", tokens.paddingTop, ") var(", tokens.paddingRight, ") var(", tokens.paddingBottom, ") var(", tokens.paddingLeft, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2VsZWN0L1NlbGVjdC5zdHlsZX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bmU7XG4gICAgb3V0bGluZTogbm9uZTtcbiAgICBvcGFjaXR5OiAxO1xuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICBpbnNldDogLTAuMTI1cmVtO1xuICAgIHotaW5kZXg6IDE7XG4gICAgY3Vyc29yOiAkeyh7IGRpc2FibGVkIH0pID0+IChkaXNhYmxlZCA/ICdub3QtYWxsb3dlZCcgOiAncG9pbnRlcicpfTtcbiAgICBmb250LXNpemU6IDFyZW07XG5cbiAgICAmOmhvdmVyOm5vdCg6ZGlzYWJsZWQpICsgLiR7U3RyaW5nKHBvcG92ZXJDbGFzc2VzLndyYXBwZXIpfSAuJHtTdHJpbmcoc2VsZWN0VGFyZ2V0KX0ge1xuICAgICAgICBiYWNrZ3JvdW5kOiB2YXIoJHt0b2tlbnMudGFyZ2V0QmFja2dyb3VuZENvbG9ySG92ZXJ9KTtcbiAgICB9XG5cbiAgICAmOmZvY3VzLXZpc2libGUge1xuICAgICAgICBib3JkZXItcmFkaXVzOiB2YXIoJHt0b2tlbnMuYm9yZGVyUmFkaXVzfSk7XG4gICAgICAgIGJveC1zaGFkb3c6IDAgMCAwIDAuMDYyNXJlbSB2YXIoJHt0b2tlbnMuZm9jdXNDb2xvcn0pO1xuICAgIH1cbmA7XG4iXX0= */"));
15
-
16
- // issue #823
5
+ import { getCorrectHeight } from './utils';
6
+ import { tokens, constants } from './Select.tokens';
17
7
  var Popover = /*#__PURE__*/component(popoverConfig);
18
8
  export var StyledPopover = /*#__PURE__*/_styled(Popover, {
19
- target: "e1ea4cwt1",
9
+ target: "e1ea4cwt3",
20
10
  label: "plasma-new-hope__StyledPopover"
21
- })("display:block;.", /*#__PURE__*/String(popoverClasses.root), ",.", /*#__PURE__*/String(popoverClasses.target), "{width:", function (_ref) {
22
- var usePortal = _ref.usePortal,
23
- selectWidth = _ref.selectWidth;
24
- return usePortal ? "".concat(selectWidth, "px") : '100%';
25
- }, ";}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceM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7XG4gICAgLXdlYmtpdC1hcHBlYXJhbmNlOiBub25lO1xuICAgIGJhY2tncm91bmQ6IHRyYW5zcGFyZW50O1xuICAgIGNvbG9yOiB0cmFuc3BhcmVudDtcbiAgICBib3JkZXI6IG5vbmU7XG4gICAgb3V0bGluZTogbm9uZTtcbiAgICBvcGFjaXR5OiAxO1xuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICBpbnNldDogLTAuMTI1cmVtO1xuICAgIHotaW5kZXg6IDE7XG4gICAgY3Vyc29yOiAkeyh7IGRpc2FibGVkIH0pID0+IChkaXNhYmxlZCA/ICdub3QtYWxsb3dlZCcgOiAncG9pbnRlcicpfTtcbiAgICBmb250LXNpemU6IDFyZW07XG5cbiAgICAmOmhvdmVyOm5vdCg6ZGlzYWJsZWQpICsgLiR7U3RyaW5nKHBvcG92ZXJDbGFzc2VzLndyYXBwZXIpfSAuJHtTdHJpbmcoc2VsZWN0VGFyZ2V0KX0ge1xuICAgICAgICBiYWNrZ3JvdW5kOiB2YXIoJHt0b2tlbnMudGFyZ2V0QmFja2dyb3VuZENvbG9ySG92ZXJ9KTtcbiAgICB9XG5cbiAgICAmOmZvY3VzLXZpc2libGUge1xuICAgICAgICBib3JkZXItcmFkaXVzOiB2YXIoJHt0b2tlbnMuYm9yZGVyUmFkaXVzfSk7XG4gICAgICAgIGJveC1zaGFkb3c6IDAgMCAwIDAuMDYyNXJlbSB2YXIoJHt0b2tlbnMuZm9jdXNDb2xvcn0pO1xuICAgIH1cbmA7XG4iXX0= */"));
26
- export var StyledNativeSelect = /*#__PURE__*/_styled("select", {
11
+ })(".", /*#__PURE__*/String(popoverClasses.root), ",.", /*#__PURE__*/String(popoverClasses.target), "{width:100%;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2VsZ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ul = /*#__PURE__*/_styled("ul", {
13
+ target: "e1ea4cwt2",
14
+ label: "plasma-new-hope__Ul"
15
+ })("box-sizing:border-box;background:var(", constants.background, ");box-shadow:var(", constants.boxShadow, ");border-radius:var(", tokens.borderRadius, ");width:", function (_ref) {
16
+ var listWidth = _ref.listWidth;
17
+ return listWidth || '100%';
18
+ }, ";height:", function (_ref2) {
19
+ var listHeight = _ref2.listHeight;
20
+ return listHeight ? getCorrectHeight(listHeight) : 'auto';
21
+ }, ";overflow:", function (_ref3) {
22
+ var listOverflow = _ref3.listOverflow;
23
+ return listOverflow || 'initial';
24
+ }, ";margin:", function (_ref4) {
25
+ var isInnerUl = _ref4.isInnerUl;
26
+ return isInnerUl ? "calc(var(".concat(tokens.padding, ") * -1) 0 0 var(").concat(tokens.padding, ")") : 0;
27
+ }, ";padding:var(", tokens.padding, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2VsZWN0L1NlbGVjdC5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBdUJFIiwiZmlsZSI6Ii4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2VsZWN0L1NlbGVjdC5zdHlsZXMudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IGNvbXBvbmVudCB9IGZyb20gJy4uLy4uL2VuZ2luZXMnO1xuaW1wb3J0IHsgcG9wb3ZlckNsYXNzZXMsIHBvcG92ZXJDb25maWcgfSBmcm9tICcuLi9Qb3BvdmVyJztcblxuaW1wb3J0IHsgZ2V0Q29ycmVjdEh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bmVIZWlnaHR9KTtcbmA7XG5cbmV4cG9ydCBjb25zdCBIZWxwZXJUZXh0ID0gc3R5bGVkLmRpdmBcbiAgICBtYXJnaW4tdG9wOiB2YXIoJHt0b2tlbnMuaGVscGVyVGV4dE9mZnNldH0pO1xuICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuaGVscGVyVGV4dENvbG9yfSk7XG4gICAgZm9udC1mYW1pbHk6IHZhcigke2NvbnN0YW50cy5mb250RmFtaWx5fSk7XG4gICAgZm9udC1zaXplOiB2YXIoJHtjb25zdGFudHMuZm9udFNpemV9KTtcbiAgICBmb250LXN0eWxlOiB2YXIoJHtjb25zdGFudHMuZm9udFN0eWxlfSk7XG4gICAgZm9udC13ZWlnaHQ6IHZhcigke2NvbnN0YW50cy5mb250V2VpZ2h0fSk7XG4gICAgbGV0dGVyLXNwYWNpbmc6IHZhcigke2NvbnN0YW50cy5mb250TGV0dGVyU3BhY2luZ30pO1xuICAgIGxpbmUtaGVpZ2h0OiB2YXIoJHtjb25zdGFudHMuZm9udExpbmVIZWlnaHR9KTtcbmA7XG4iXX0= */"));
28
+ export var base = /*#__PURE__*/css(".", popoverClasses.wrapper, ",.", popoverClasses.target, "{display:block;};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2VsZWN0L1NlbGVjdC5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBc0N1QiIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1NlbGVjdC9TZWxlY3Quc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IHsgY3NzIH0gZn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C1zdHlsZTogdmFyKCR7dG9rZW5zLmZvbnRTdHlsZX0pO1xuICAgIGZvbnQtd2VpZ2h0OiB2YXIoJHt0b2tlbnMuZm9udFdlaWdodH0pO1xuICAgIGxldHRlci1zcGFjaW5nOiB2YXIoJHt0b2tlbnMuZm9udExldHRlclNwYWNpbmd9KTtcbiAgICBsaW5lLWhlaWdodDogdmFyKCR7dG9rZW5zLmZvbnRMaW5lSGVpZ2h0fSk7XG5gO1xuXG5leHBvcnQgY29uc3QgSGVscGVyVGV4dCA9IHN0eWxlZC5kaXZgXG4gICAgbWFyZ2luLXRvcDogdmFyKCR7dG9rZW5zLmhlbHBlclRleHRPZmZzZXR9KTtcbiAgICBjb2xvcjogdmFyKCR7dG9rZW5zLmhlbHBlclRleHRDb2xvcn0pO1xuICAgIGZvbnQtZmFtaWx5OiB2YXIoJHtjb25zdGFudHMuZm9udEZhbWlseX0pO1xuICAgIGZvbnQtc2l6ZTogdmFyKCR7Y29uc3RhbnRzLmZvbnRTaXplfSk7XG4gICAgZm9udC1zdHlsZTogdmFyKCR7Y29uc3RhbnRzLmZvbnRTdHlsZX0pO1xuICAgIGZvbnQtd2VpZ2h0OiB2YXIoJHtjb25zdGFudHMuZm9udFdlaWdodH0pO1xuICAgIGxldHRlci1zcGFjaW5nOiB2YXIoJHtjb25zdGFudHMuZm9udExldHRlclNwYWNpbmd9KTtcbiAgICBsaW5lLWhlaWdodDogdmFyKCR7Y29uc3RhbnRzLmZvbnRMaW5lSGVpZ2h0fSk7XG5gO1xuIl19 */"));
29
+ export var OuterLabel = /*#__PURE__*/_styled("label", {
30
+ target: "e1ea4cwt1",
31
+ label: "plasma-new-hope__OuterLabel"
32
+ })("display:block;margin-bottom:var(", tokens.labelOffset, ");color:var(", constants.textfieldOuterLabelColor, ");font-family:var(", tokens.fontFamily, ");font-size:var(", tokens.fontSize, ");font-style:var(", tokens.fontStyle, ");font-weight:var(", tokens.fontWeight, ");letter-spacing:var(", tokens.fontLetterSpacing, ");line-height:var(", tokens.fontLineHeight, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2VsZWN0L1NlbGVjdC5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBNENzQyIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1NlbGVjdC9TZWxlY3Quc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyBjb21wb25lbnQgfSBmcm9tICcuLi8uLi9lbmdpbmVzJztcbmltcG9ydCB7IHBvcG92ZXJDbGFzc2VzLCBwb3BvdmVyQ29uZmlnIH0gZnJvbSAnLi4vUG9wb3Zlcic7XG5cbmltcG9ydCB7IGdldENvcnJlY3RIZWlnaHQgfSBmcm9tICcuL3V0aWxzJztcbmltcG9ydCB7IFNlbGVjdFByb3BzIH0gZnJvbSAnLi9TZWxlY3QudHlwZXMnO1xuaW1wb3J0IHsgdG9rZW5zLCBjb25zdGFudHMgfSBmcm9tICcuL1NlbGVjdC50b2tlbnMnO1xuXG5jb25zdCBQb3BvdmVyID0gY29tcG9uZW50KHBvcG92ZXJDb25maWcpO1xuXG5leHBvcnQgY29uc3QgU3R5bGVkUG9wb3ZlciA9IHN0eWxlZChQb3BvdmVyKWBcbiAgICAuJHtTdHJpbmcocG9wb3ZlckNsYXNzZXMucm9vdCl9LCAuJHtTdHJpbmcocG9wb3ZlckNsYXNzZXMudGFyZ2V0KX0ge1xuICAgICAgICB3aWR0aDogMTAwJTtcbiAgICB9XG5gO1xuXG5leHBvcnQgY29uc3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FudHMuZm9udFdlaWdodH0pO1xuICAgIGxldHRlci1zcGFjaW5nOiB2YXIoJHtjb25zdGFudHMuZm9udExldHRlclNwYWNpbmd9KTtcbiAgICBsaW5lLWhlaWdodDogdmFyKCR7Y29uc3RhbnRzLmZvbnRMaW5lSGVpZ2h0fSk7XG5gO1xuIl19 */"));
33
+ export var HelperText = /*#__PURE__*/_styled("div", {
27
34
  target: "e1ea4cwt0",
28
- label: "plasma-new-hope__StyledNativeSelect"
29
- })("display:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;background:transparent;color:transparent;border:none;outline:none;opacity:1;position:absolute;inset:-0.125rem;z-index:1;cursor:", function (_ref2) {
30
- var disabled = _ref2.disabled;
31
- return disabled ? 'not-allowed' : 'pointer';
32
- }, ";font-size:1rem;&:hover:not(:disabled)+.", /*#__PURE__*/String(popoverClasses.wrapper), " .", /*#__PURE__*/String(selectTarget), "{background:var(", tokens.targetBackgroundColorHover, ");}&:focus-visible{border-radius:var(", tokens.borderRadius, ");box-shadow:0 0 0 0.0625rem var(", tokens.focusColor, ");}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2VsZWN0L1NlbGVjdC5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBZ0QrQyIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1NlbGVjdC9TZWxlY3Quc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyBjb21wb25lbnQgfSBmcm9tICcuLi8uLi9lbmdpbmVzJztcbmltcG9ydCB7IHBvcG92ZXJDbGFzc2VzLCBwb3BvdmVyQ29uZmln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GFzc2VzLndyYXBwZXIpfSAuJHtTdHJpbmcoc2VsZWN0VGFyZ2V0KX0ge1xuICAgICAgICBiYWNrZ3JvdW5kOiB2YXIoJHt0b2tlbnMudGFyZ2V0QmFja2dyb3VuZENvbG9ySG92ZXJ9KTtcbiAgICB9XG5cbiAgICAmOmZvY3VzLXZpc2libGUge1xuICAgICAgICBib3JkZXItcmFkaXVzOiB2YXIoJHt0b2tlbnMuYm9yZGVyUmFkaXVzfSk7XG4gICAgICAgIGJveC1zaGFkb3c6IDAgMCAwIDAuMDYyNXJlbSB2YXIoJHt0b2tlbnMuZm9jdXNDb2xvcn0pO1xuICAgIH1cbmA7XG4iXX0= */"));
35
+ label: "plasma-new-hope__HelperText"
36
+ })("margin-top:var(", tokens.helperTextOffset, ");color:var(", tokens.helperTextColor, ");font-family:var(", constants.fontFamily, ");font-size:var(", constants.fontSize, ");font-style:var(", constants.fontStyle, ");font-weight:var(", constants.fontWeight, ");letter-spacing:var(", constants.fontLetterSpacing, ");line-height:var(", constants.fontLineHeight, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2VsZWN0L1NlbGVjdC5zdHlsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBeURvQyIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1NlbGVjdC9TZWxlY3Quc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyBjb21wb25lbnQgfSBmcm9tICcuLi8uLi9lbmdpbmVzJztcbmltcG9ydCB7IHBvc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