@salutejs/plasma-new-hope 0.110.0-canary.1307.10059399396.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
@@ -0,0 +1,355 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.useKeyNavigation = exports.keys = void 0;
7
+ var JUMP_SIZE = 10;
8
+ var keys = exports.keys = {
9
+ Enter: 'Enter',
10
+ Space: 'Space',
11
+ Tab: 'Tab',
12
+ Escape: 'Escape',
13
+ Backspace: 'Backspace',
14
+ ArrowLeft: 'ArrowLeft',
15
+ ArrowRight: 'ArrowRight',
16
+ ArrowUp: 'ArrowUp',
17
+ ArrowDown: 'ArrowDown',
18
+ Home: 'Home',
19
+ End: 'End',
20
+ PageUp: 'PageUp',
21
+ PageDown: 'PageDown'
22
+ };
23
+ var getFurtherPath = function getFurtherPath(focusedPath, focusedToValueMap) {
24
+ var focusedPathAsString = focusedPath.reduce(function (acc, n) {
25
+ return "".concat(acc, "/").concat(n);
26
+ }, '').replace(/^(\/)/, '');
27
+ return focusedToValueMap.get(focusedPathAsString);
28
+ };
29
+ var useKeyNavigation = exports.useKeyNavigation = function useKeyNavigation(_ref) {
30
+ var focusedPath = _ref.focusedPath,
31
+ dispatchFocusedPath = _ref.dispatchFocusedPath,
32
+ path = _ref.path,
33
+ dispatchPath = _ref.dispatchPath,
34
+ pathMap = _ref.pathMap,
35
+ focusedToValueMap = _ref.focusedToValueMap,
36
+ handleToggle = _ref.handleToggle,
37
+ handlePressDown = _ref.handlePressDown,
38
+ focusedChipIndex = _ref.focusedChipIndex,
39
+ dispatchFocusedChipIndex = _ref.dispatchFocusedChipIndex,
40
+ value = _ref.value,
41
+ valueToItemMap = _ref.valueToItemMap,
42
+ multiselect = _ref.multiselect,
43
+ isTargetAmount = _ref.isTargetAmount;
44
+ var currentIndex = (focusedPath === null || focusedPath === void 0 ? void 0 : focusedPath[focusedPath.length - 1]) || 0;
45
+ var currentLength = pathMap.get(path === null || path === void 0 ? void 0 : path[focusedPath.length - 1]) || 0;
46
+ var onKeyDown = function onKeyDown(event) {
47
+ switch (event.code) {
48
+ case keys.ArrowUp:
49
+ {
50
+ if (focusedPath.length) {
51
+ if (currentIndex > 0) {
52
+ if (path.length > focusedPath.length) {
53
+ dispatchPath({
54
+ type: 'removed_last_level'
55
+ });
56
+ }
57
+ dispatchFocusedPath({
58
+ type: 'change_last_focus',
59
+ value: currentIndex - 1
60
+ });
61
+ }
62
+ } else {
63
+ dispatchPath({
64
+ type: 'opened_first_level'
65
+ });
66
+ dispatchFocusedPath({
67
+ type: 'set_initial_focus'
68
+ });
69
+ handleToggle(true);
70
+ }
71
+ if (Array.isArray(value)) {
72
+ dispatchFocusedChipIndex({
73
+ type: 'reset'
74
+ });
75
+ }
76
+ break;
77
+ }
78
+ case keys.ArrowDown:
79
+ {
80
+ if (focusedPath.length) {
81
+ if (currentIndex + 1 < currentLength) {
82
+ if (path.length > focusedPath.length) {
83
+ dispatchPath({
84
+ type: 'removed_last_level'
85
+ });
86
+ }
87
+ dispatchFocusedPath({
88
+ type: 'change_last_focus',
89
+ value: currentIndex + 1
90
+ });
91
+ }
92
+ } else {
93
+ dispatchPath({
94
+ type: 'opened_first_level'
95
+ });
96
+ dispatchFocusedPath({
97
+ type: 'set_initial_focus'
98
+ });
99
+ handleToggle(true);
100
+ }
101
+ if (Array.isArray(value)) {
102
+ dispatchFocusedChipIndex({
103
+ type: 'reset'
104
+ });
105
+ }
106
+ break;
107
+ }
108
+ case keys.ArrowLeft:
109
+ {
110
+ if (path[0]) {
111
+ if (focusedPath.length) {
112
+ if (path.length > focusedPath.length) {
113
+ dispatchPath({
114
+ type: 'removed_last_level'
115
+ });
116
+ } else {
117
+ dispatchFocusedPath({
118
+ type: 'return_prev_focus'
119
+ });
120
+ }
121
+ }
122
+ if (path.length === 1) {
123
+ handleToggle(false);
124
+ }
125
+ } else if (Array.isArray(value) && !isTargetAmount) {
126
+ dispatchFocusedChipIndex({
127
+ type: 'moveLeft'
128
+ });
129
+ }
130
+ break;
131
+ }
132
+ case keys.ArrowRight:
133
+ {
134
+ if (path[0]) {
135
+ if (!focusedPath.length) {
136
+ break;
137
+ }
138
+ var currentItem = getFurtherPath(focusedPath, focusedToValueMap);
139
+ if (currentItem !== null && currentItem !== void 0 && currentItem.items) {
140
+ if (path.length > focusedPath.length) {
141
+ dispatchFocusedPath({
142
+ type: 'add_focus',
143
+ value: 0
144
+ });
145
+ } else {
146
+ dispatchPath({
147
+ type: 'added_next_level',
148
+ value: currentItem.value.toString()
149
+ });
150
+ }
151
+ }
152
+ } else if (Array.isArray(value) && !isTargetAmount) {
153
+ dispatchFocusedChipIndex({
154
+ type: 'moveRight',
155
+ total: value.length
156
+ });
157
+ }
158
+ break;
159
+ }
160
+ case keys.Backspace:
161
+ {
162
+ if (!multiselect) break;
163
+ if (focusedChipIndex !== null) {
164
+ var _currentItem = valueToItemMap.get(value[focusedChipIndex]);
165
+ handlePressDown(_currentItem);
166
+ if (value.length === 1) {
167
+ dispatchFocusedChipIndex({
168
+ type: 'reset'
169
+ });
170
+ break;
171
+ }
172
+ if (focusedChipIndex === value.length - 1) {
173
+ dispatchFocusedChipIndex({
174
+ type: 'moveLeft'
175
+ });
176
+ break;
177
+ }
178
+ }
179
+ break;
180
+ }
181
+ case keys.Space:
182
+ {
183
+ event.preventDefault();
184
+ var _currentItem2 = getFurtherPath(focusedPath, focusedToValueMap);
185
+ if (!path[0]) {
186
+ dispatchPath({
187
+ type: 'opened_first_level'
188
+ });
189
+ dispatchFocusedPath({
190
+ type: 'set_initial_focus'
191
+ });
192
+ break;
193
+ }
194
+ if (!_currentItem2 || _currentItem2 !== null && _currentItem2 !== void 0 && _currentItem2.disabled) {
195
+ break;
196
+ }
197
+ handlePressDown(_currentItem2);
198
+ break;
199
+ }
200
+ case keys.Enter:
201
+ {
202
+ event.preventDefault();
203
+ if (Array.isArray(value)) {
204
+ dispatchFocusedChipIndex({
205
+ type: 'reset'
206
+ });
207
+ }
208
+ var _currentItem3 = getFurtherPath(focusedPath, focusedToValueMap);
209
+ if (_currentItem3 !== null && _currentItem3 !== void 0 && _currentItem3.disabled) {
210
+ break;
211
+ }
212
+ if (!path[0]) {
213
+ dispatchPath({
214
+ type: 'opened_first_level'
215
+ });
216
+ dispatchFocusedPath({
217
+ type: 'set_initial_focus'
218
+ });
219
+ break;
220
+ }
221
+ if (_currentItem3 !== null && _currentItem3 !== void 0 && _currentItem3.items) {
222
+ if (path.length > focusedPath.length) {
223
+ dispatchFocusedPath({
224
+ type: 'add_focus',
225
+ value: 0
226
+ });
227
+ } else {
228
+ dispatchPath({
229
+ type: 'added_next_level',
230
+ value: _currentItem3.value.toString()
231
+ });
232
+ }
233
+ break;
234
+ }
235
+ handlePressDown(_currentItem3);
236
+ break;
237
+ }
238
+ case keys.Tab:
239
+ case keys.Escape:
240
+ {
241
+ dispatchFocusedPath({
242
+ type: 'reset'
243
+ });
244
+ dispatchPath({
245
+ type: 'reset'
246
+ });
247
+ dispatchFocusedChipIndex({
248
+ type: 'reset'
249
+ });
250
+ handleToggle(false);
251
+ break;
252
+ }
253
+ case keys.Home:
254
+ {
255
+ if (path[0]) {
256
+ if (path.length > focusedPath.length) {
257
+ dispatchPath({
258
+ type: 'removed_last_level'
259
+ });
260
+ }
261
+ dispatchFocusedPath({
262
+ type: 'change_last_focus',
263
+ value: 0
264
+ });
265
+ } else {
266
+ dispatchPath({
267
+ type: 'opened_first_level'
268
+ });
269
+ dispatchFocusedPath({
270
+ type: 'set_initial_focus'
271
+ });
272
+ handleToggle(true);
273
+ }
274
+ break;
275
+ }
276
+ case keys.End:
277
+ {
278
+ if (path[0]) {
279
+ if (path.length > focusedPath.length) {
280
+ dispatchPath({
281
+ type: 'removed_last_level'
282
+ });
283
+ }
284
+ dispatchFocusedPath({
285
+ type: 'change_last_focus',
286
+ value: currentLength - 1
287
+ });
288
+ } else {
289
+ dispatchPath({
290
+ type: 'opened_first_level'
291
+ });
292
+ dispatchFocusedPath({
293
+ type: 'change_last_focus',
294
+ value: (pathMap.get('root') || 0) - 1
295
+ });
296
+ handleToggle(true);
297
+ }
298
+ break;
299
+ }
300
+ case keys.PageUp:
301
+ {
302
+ if (!path[0]) {
303
+ break;
304
+ }
305
+ if (path.length > focusedPath.length) {
306
+ dispatchPath({
307
+ type: 'removed_last_level'
308
+ });
309
+ }
310
+ if (currentIndex <= JUMP_SIZE) {
311
+ dispatchFocusedPath({
312
+ type: 'change_last_focus',
313
+ value: 0
314
+ });
315
+ } else {
316
+ dispatchFocusedPath({
317
+ type: 'change_last_focus',
318
+ value: currentIndex - JUMP_SIZE
319
+ });
320
+ }
321
+ break;
322
+ }
323
+ case keys.PageDown:
324
+ {
325
+ if (!path[0]) {
326
+ break;
327
+ }
328
+ if (path.length > focusedPath.length) {
329
+ dispatchPath({
330
+ type: 'removed_last_level'
331
+ });
332
+ }
333
+ if (currentLength - currentIndex <= JUMP_SIZE) {
334
+ dispatchFocusedPath({
335
+ type: 'change_last_focus',
336
+ value: currentLength - 1
337
+ });
338
+ } else {
339
+ dispatchFocusedPath({
340
+ type: 'change_last_focus',
341
+ value: currentIndex + JUMP_SIZE
342
+ });
343
+ }
344
+ break;
345
+ }
346
+ default:
347
+ {
348
+ break;
349
+ }
350
+ }
351
+ };
352
+ return {
353
+ onKeyDown: onKeyDown
354
+ };
355
+ };
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.usePathMaps = void 0;
7
+ var _utils = /*#__PURE__*/require("../../../utils");
8
+ // Рекурсивно проходим по дереву items и создаем 4 мапы: открытых путей, фокусов, выбранных элементов и айтемов.
9
+ var usePathMaps = exports.usePathMaps = function usePathMaps(items) {
10
+ var pathMap = new Map();
11
+ var focusedToValueMap = new Map();
12
+ var valueToCheckedMap = new Map();
13
+ var valueToItemMap = new Map();
14
+ pathMap.set('root', items.length);
15
+ var rec = function rec(items) {
16
+ var prevIndex = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
17
+ items.forEach(function (item, index) {
18
+ var value = item.value,
19
+ innerItems = item.items;
20
+ var currIndex = "".concat(prevIndex, "/").concat(index).replace(/^(\/)/, '');
21
+ focusedToValueMap.set(currIndex, item);
22
+ valueToCheckedMap.set(value, false);
23
+ if ((0, _utils.isEmpty)(innerItems) || !innerItems) {
24
+ valueToItemMap.set(value, item);
25
+ } else {
26
+ pathMap.set(value, innerItems.length);
27
+ rec(innerItems, currIndex);
28
+ }
29
+ });
30
+ };
31
+ rec(items);
32
+ return [pathMap, focusedToValueMap, valueToCheckedMap, valueToItemMap];
33
+ };
@@ -3,18 +3,6 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- var _exportNames = {
7
- selectRoot: true,
8
- selectConfig: true,
9
- selectClasses: true,
10
- selectTokens: true
11
- };
12
- Object.defineProperty(exports, "selectClasses", {
13
- enumerable: true,
14
- get: function get() {
15
- return _Select2.classes;
16
- }
17
- });
18
6
  Object.defineProperty(exports, "selectConfig", {
19
7
  enumerable: true,
20
8
  get: function get() {
@@ -34,16 +22,4 @@ Object.defineProperty(exports, "selectTokens", {
34
22
  }
35
23
  });
36
24
  var _Select = /*#__PURE__*/require("./Select");
37
- var _Select2 = /*#__PURE__*/require("./Select.tokens");
38
- var _ui = /*#__PURE__*/require("./ui");
39
- Object.keys(_ui).forEach(function (key) {
40
- if (key === "default" || key === "__esModule") return;
41
- if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
42
- if (key in exports && exports[key] === _ui[key]) return;
43
- Object.defineProperty(exports, key, {
44
- enumerable: true,
45
- get: function get() {
46
- return _ui[key];
47
- }
48
- });
49
- });
25
+ var _Select2 = /*#__PURE__*/require("./Select.tokens");
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.focusedChipIndexReducer = focusedChipIndexReducer;
7
+ function focusedChipIndexReducer(state, action) {
8
+ switch (action.type) {
9
+ case 'reset':
10
+ {
11
+ return null;
12
+ }
13
+ case 'moveLeft':
14
+ {
15
+ if (state === null) {
16
+ return 0;
17
+ }
18
+ if (state === 0) {
19
+ return state;
20
+ }
21
+ return state - 1;
22
+ }
23
+ case 'moveRight':
24
+ {
25
+ if (state === null) {
26
+ return action.total - 1;
27
+ }
28
+ if (state === action.total - 1) {
29
+ return state;
30
+ }
31
+ return state + 1;
32
+ }
33
+ default:
34
+ {
35
+ return null;
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.focusedPathReducer = focusedPathReducer;
7
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
8
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
9
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
10
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
11
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
12
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
13
+ function focusedPathReducer(state, action) {
14
+ switch (action.type) {
15
+ case 'reset':
16
+ {
17
+ return [];
18
+ }
19
+ case 'set_initial_focus':
20
+ {
21
+ return [0];
22
+ }
23
+ case 'change_last_focus':
24
+ {
25
+ return [].concat(_toConsumableArray(state.slice(0, -1)), [action.value]);
26
+ }
27
+ case 'add_focus':
28
+ {
29
+ return [].concat(_toConsumableArray(state), [action.value]);
30
+ }
31
+ case 'return_prev_focus':
32
+ {
33
+ return state.slice(0, -1);
34
+ }
35
+ default:
36
+ {
37
+ return state;
38
+ }
39
+ }
40
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _pathReducer = /*#__PURE__*/require("./pathReducer");
7
+ Object.keys(_pathReducer).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _pathReducer[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function get() {
13
+ return _pathReducer[key];
14
+ }
15
+ });
16
+ });
17
+ var _focusedPathReducer = /*#__PURE__*/require("./focusedPathReducer");
18
+ Object.keys(_focusedPathReducer).forEach(function (key) {
19
+ if (key === "default" || key === "__esModule") return;
20
+ if (key in exports && exports[key] === _focusedPathReducer[key]) return;
21
+ Object.defineProperty(exports, key, {
22
+ enumerable: true,
23
+ get: function get() {
24
+ return _focusedPathReducer[key];
25
+ }
26
+ });
27
+ });
28
+ var _focusedChipIndexReducer = /*#__PURE__*/require("./focusedChipIndexReducer");
29
+ Object.keys(_focusedChipIndexReducer).forEach(function (key) {
30
+ if (key === "default" || key === "__esModule") return;
31
+ if (key in exports && exports[key] === _focusedChipIndexReducer[key]) return;
32
+ Object.defineProperty(exports, key, {
33
+ enumerable: true,
34
+ get: function get() {
35
+ return _focusedChipIndexReducer[key];
36
+ }
37
+ });
38
+ });
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.pathReducer = pathReducer;
7
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
8
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
9
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
10
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
11
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
12
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
13
+ function pathReducer(state, action) {
14
+ switch (action.type) {
15
+ case 'reset':
16
+ {
17
+ return [];
18
+ }
19
+ case 'opened_first_level':
20
+ {
21
+ return ['root'];
22
+ }
23
+ case 'added_next_level':
24
+ {
25
+ return [].concat(_toConsumableArray(state), [action.value]);
26
+ }
27
+ case 'removed_last_level':
28
+ {
29
+ return state.slice(0, -1);
30
+ }
31
+ case 'changed_on_level':
32
+ {
33
+ return [].concat(_toConsumableArray(state.slice(0, action.level)), [action.value]);
34
+ }
35
+ case 'cut_by_level':
36
+ {
37
+ return state.slice(0, action.level);
38
+ }
39
+ default:
40
+ {
41
+ return state;
42
+ }
43
+ }
44
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.InfiniteLoader = void 0;
7
+ var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
8
+ var _Select = /*#__PURE__*/require("../../Select.tokens");
9
+ var _InfiniteLoader = /*#__PURE__*/require("./InfiniteLoader.styles");
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
+ var InfiniteLoader = exports.InfiniteLoader = function InfiniteLoader(_ref) {
12
+ var variant = _ref.variant;
13
+ return /*#__PURE__*/_react["default"].createElement(_InfiniteLoader.Wrapper, {
14
+ variant: variant
15
+ }, /*#__PURE__*/_react["default"].createElement(_InfiniteLoader.StyledSpinner, {
16
+ className: _Select.classes.selectSpinner
17
+ }), "\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430");
18
+ };
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Wrapper = exports.StyledSpinner = void 0;
7
+ var _base = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("@emotion/styled/base"));
8
+ var _Select = /*#__PURE__*/require("../../Select.tokens");
9
+ var _engines = /*#__PURE__*/require("../../../../engines");
10
+ var _Spinner = /*#__PURE__*/require("../../../Spinner");
11
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
12
+ var Spinner = /*#__PURE__*/(0, _engines.component)(_Spinner.spinnerConfig);
13
+ var StyledSpinner = exports.StyledSpinner = /*#__PURE__*/(0, _base["default"])(Spinner, {
14
+ target: "eyro8r01",
15
+ label: "plasma-new-hope__StyledSpinner"
16
+ })(_Spinner.spinnerTokens.color, ":var(--text-primary);", _Spinner.spinnerTokens.size, ":var(", _Select.tokens.spinnerSize, ");" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2VsZWN0L3VpL0luZmluaXRlTG9hZGVyL0luZmluaXRlTG9hZGVyLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFTNEMiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9TZWxlY3QvdWkvSW5maW5pdGVMb2FkZXIvSW5maW5pdGVMb2FkZXIuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyB0b2tlbnMsIGNsYXNzZXMgfSBmcm9tICcuLi8uLi9TZWxlY3QudG9rZW5zJztcbmltcG9ydCB7IGNvbXBvbmVudCB9IGZyb20gJy4uLy4uLy4uLy4uL2VuZ2luZXMnO1xuaW1wb3J0IHsgc3Bpbm5lckNvbmZpZywgc3Bpbm5lclRva2VucyB9IGZyb20gJy4uLy4uLy4uL1NwaW5uZXInO1xuaW1wb3J0IHR5cGUgeyBTZWxlY3RQcm9wcyB9IGZyb20gJy4uLy4uL1NlbGVjdC50eXBlcyc7XG5cbmNvbnN0IFNwaW5uZXIgPSBjb21wb25lbnQoc3Bpbm5lckNvbmZpZyk7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRTcGlubmVyID0gc3R5bGVkKFNwaW5uZXIpYFxuICAgICR7c3Bpbm5lclRva2Vucy5jb2xvcn06IHZhcigtLXRleHQtcHJpbWFyeSk7XG4gICAgJHtzcGlubmVyVG9rZW5zLnNpemV9OiB2YXIoJHt0b2tlbnMuc3Bpbm5lclNpemV9KTtcbmA7XG5cbmV4cG9ydCBjb25zdCBXcmFwcGVyID0gc3R5bGVkLmRpdjx7IHZhcmlhbnQ6IFNlbGVjdFByb3BzWyd2YXJpYW50J10gfT5gXG4gICAgZGlzcGxheTogZmxleDtcbiAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgIGdhcDogMC4yNXJlbTtcbiAgICBoZWlnaHQ6IHZhcigke3Rva2Vucy5pdGVtSGVpZ2h0fSk7XG4gICAgcGFkZGluZzogJHsoeyB2YXJpYW50IH0pID0+IGB2YXIoJHt2YXJpYW50ID09PSAndGlnaHQnID8gdG9rZW5zLml0ZW1QYWRkaW5nVGlnaHQgOiB0b2tlbnMuaXRlbVBhZGRpbmd9KWB9O1xuICAgIGZvbnQtZmFtaWx5OiB2YXIoJHt0b2tlbnMuZm9udEZhbWlseX0pO1xuICAgIGZvbnQtc2l6ZTogdmFyKCR7dG9rZW5zLmZvbnRTaXplfSk7XG4gICAgZm9udC1zdHlsZTogdmFyKCR7dG9rZW5zLmZvbnRTdHlsZX0pO1xuICAgIGZvbnQtd2VpZ2h0OiB2YXIoJHt0b2tlbnMuZm9udFdlaWdodH0pO1xuICAgIGxldHRlci1zcGFjaW5nOiB2YXIoJHt0b2tlbnMuZm9udExldHRlclNwYWNpbmd9KTtcbiAgICBsaW5lLWhlaWdodDogdmFyKCR7dG9rZW5zLmZvbnRMaW5lSGVpZ2h0fSk7XG4gICAgdXNlci1zZWxlY3Q6IG5vbmU7XG5cbiAgICAmIC4ke2NsYXNzZXMuc2VsZWN0U3Bpbm5lcn0ge1xuICAgICAgICAke3NwaW5uZXJUb2tlbnMuc2l6ZX06ICR7KHsgdmFyaWFudCB9KSA9PlxuICAgICAgICAgICAgYHZhcigke3ZhcmlhbnQgPT09ICd0aWdodCcgPyB0b2tlbnMuc3Bpbm5lclNpemVUaWdodCA6IHRva2Vucy5zcGlubmVyU2l6ZX0pYH07XG4gICAgfVxuYDtcbiJdfQ== */"));
17
+ var Wrapper = exports.Wrapper = /*#__PURE__*/(0, _base["default"])("div", {
18
+ target: "eyro8r00",
19
+ label: "plasma-new-hope__Wrapper"
20
+ })("display:flex;align-items:center;justify-content:center;gap:0.25rem;height:var(", _Select.tokens.itemHeight, ");padding:", function (_ref) {
21
+ var variant = _ref.variant;
22
+ return "var(".concat(variant === 'tight' ? _Select.tokens.itemPaddingTight : _Select.tokens.itemPadding, ")");
23
+ }, ";font-family:var(", _Select.tokens.fontFamily, ");font-size:var(", _Select.tokens.fontSize, ");font-style:var(", _Select.tokens.fontStyle, ");font-weight:var(", _Select.tokens.fontWeight, ");letter-spacing:var(", _Select.tokens.fontLetterSpacing, ");line-height:var(", _Select.tokens.fontLineHeight, ");user-select:none;& .", _Select.classes.selectSpinner, "{", _Spinner.spinnerTokens.size, ":", function (_ref2) {
24
+ var variant = _ref2.variant;
25
+ return "var(".concat(variant === 'tight' ? _Select.tokens.spinnerSizeTight : _Select.tokens.spinnerSize, ")");
26
+ }, ";}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvU2VsZWN0L3VpL0luZmluaXRlTG9hZGVyL0luZmluaXRlTG9hZGVyLnN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFjc0UiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9TZWxlY3QvdWkvSW5maW5pdGVMb2FkZXIvSW5maW5pdGVMb2FkZXIuc3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5pbXBvcnQgeyB0b2tlbnMsIGNsYXNzZXMgfSBmcm9tICcuLi8uLi9TZWxlY3QudG9rZW5zJztcbmltcG9ydCB7IGNvbXBvbmVudCB9IGZyb20gJy4uLy4uLy4uLy4uL2VuZ2luZXMnO1xuaW1wb3J0IHsgc3Bpbm5lckNvbmZpZywgc3Bpbm5lclRva2VucyB9IGZyb20gJy4uLy4uLy4uL1NwaW5uZXInO1xuaW1wb3J0IHR5cGUgeyBTZWxlY3RQcm9wcyB9IGZyb20gJy4uLy4uL1NlbGVjdC50eXBlcyc7XG5cbmNvbnN0IFNwaW5uZXIgPSBjb21wb25lbnQoc3Bpbm5lckNvbmZpZyk7XG5cbmV4cG9ydCBjb25zdCBTdHlsZWRTcGlubmVyID0gc3R5bGVkKFNwaW5uZXIpYFxuICAgICR7c3Bpbm5lclRva2Vucy5jb2xvcn06IHZhcigtLXRleHQtcHJpbWFyeSk7XG4gICAgJHtzcGlubmVyVG9rZW5zLnNpemV9OiB2YXIoJHt0b2tlbnMuc3Bpbm5lclNpemV9KTtcbmA7XG5cbmV4cG9ydCBjb25zdCBXcmFwcGVyID0gc3R5bGVkLmRpdjx7IHZhcmlhbnQ6IFNlbGVjdFByb3BzWyd2YXJpYW50J10gfT5gXG4gICAgZGlzcGxheTogZmxleDtcbiAgICBhbGlnbi1pdGVtczogY2VudGVyO1xuICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xuICAgIGdhcDogMC4yNXJlbTtcbiAgICBoZWlnaHQ6IHZhcigke3Rva2Vucy5pdGVtSGVpZ2h0fSk7XG4gICAgcGFkZGluZzogJHsoeyB2YXJpYW50IH0pID0+IGB2YXIoJHt2YXJpYW50ID09PSAndGlnaHQnID8gdG9rZW5zLml0ZW1QYWRkaW5nVGlnaHQgOiB0b2tlbnMuaXRlbVBhZGRpbmd9KWB9O1xuICAgIGZvbnQtZmFtaWx5OiB2YXIoJHt0b2tlbnMuZm9udEZhbWlseX0pO1xuICAgIGZvbnQtc2l6ZTogdmFyKCR7dG9rZW5zLmZvbnRTaXplfSk7XG4gICAgZm9udC1zdHlsZTogdmFyKCR7dG9rZW5zLmZvbnRTdHlsZX0pO1xuICAgIGZvbnQtd2VpZ2h0OiB2YXIoJHt0b2tlbnMuZm9udFdlaWdodH0pO1xuICAgIGxldHRlci1zcGFjaW5nOiB2YXIoJHt0b2tlbnMuZm9udExldHRlclNwYWNpbmd9KTtcbiAgICBsaW5lLWhlaWdodDogdmFyKCR7dG9rZW5zLmZvbnRMaW5lSGVpZ2h0fSk7XG4gICAgdXNlci1zZWxlY3Q6IG5vbmU7XG5cbiAgICAmIC4ke2NsYXNzZXMuc2VsZWN0U3Bpbm5lcn0ge1xuICAgICAgICAke3NwaW5uZXJUb2tlbnMuc2l6ZX06ICR7KHsgdmFyaWFudCB9KSA9PlxuICAgICAgICAgICAgYHZhcigke3ZhcmlhbnQgPT09ICd0aWdodCcgPyB0b2tlbnMuc3Bpbm5lclNpemVUaWdodCA6IHRva2Vucy5zcGlubmVyU2l6ZX0pYH07XG4gICAgfVxuYDtcbiJdfQ== */"));