@salutejs/plasma-new-hope 0.88.0-canary.1233.9508031978.0 → 0.88.0-canary.1249.9498396051.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (818) hide show
  1. package/cjs/components/Button/Button.styles.js.map +1 -1
  2. package/cjs/components/Chip/Chip.tokens.js +0 -2
  3. package/cjs/components/Chip/Chip.tokens.js.map +1 -1
  4. package/cjs/components/Combobox/Combobox.js +2 -2
  5. package/cjs/components/Combobox/Combobox.js.map +1 -1
  6. package/cjs/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js +1 -1
  7. package/cjs/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js.map +1 -1
  8. package/cjs/components/Combobox/utils/index.js +0 -103
  9. package/cjs/components/Combobox/utils/index.js.map +1 -1
  10. package/cjs/components/Dropdown/Dropdown.tokens.js +18 -32
  11. package/cjs/components/Dropdown/Dropdown.tokens.js.map +1 -1
  12. package/cjs/components/Pagination/Pagination.css +49 -58
  13. package/cjs/components/Pagination/Pagination.js +5 -12
  14. package/cjs/components/Pagination/Pagination.js.map +1 -1
  15. package/cjs/components/Pagination/Pagination.styles.js.map +1 -1
  16. package/cjs/components/Pagination/Pagination.tokens.js +11 -9
  17. package/cjs/components/Pagination/Pagination.tokens.js.map +1 -1
  18. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +50 -59
  19. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +26 -20
  20. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js.map +1 -1
  21. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +20 -5
  22. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  23. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_rtehle.css +4 -0
  24. package/cjs/components/Select/Select.css +60 -65
  25. package/cjs/components/Select/Select.js +201 -254
  26. package/cjs/components/Select/Select.js.map +1 -1
  27. package/cjs/components/Select/Select.styles.js +36 -51
  28. package/cjs/components/Select/Select.styles.js.map +1 -1
  29. package/cjs/components/Select/Select.styles_1q3i6gw.css +4 -0
  30. package/cjs/components/Select/Select.tokens.js +166 -58
  31. package/cjs/components/Select/Select.tokens.js.map +1 -1
  32. package/cjs/components/Select/hooks/useKeyNavigation.js.map +1 -0
  33. package/{es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.css → cjs/components/Select/ui/SelectChip/SelectChip.css} +1 -1
  34. package/cjs/components/Select/ui/SelectChip/SelectChip.js +39 -0
  35. package/cjs/components/Select/ui/SelectChip/SelectChip.js.map +1 -0
  36. package/cjs/components/Select/{elements/Target/elements/Textfield/elements/Chip/Chip.styles.js → ui/SelectChip/SelectChip.styles.js} +8 -5
  37. package/cjs/components/Select/ui/SelectChip/SelectChip.styles.js.map +1 -0
  38. package/cjs/components/Select/ui/SelectChip/SelectChip.styles_1u4uw04.css +1 -0
  39. package/cjs/components/Select/ui/SelectDivider/SelectDivider.css +35 -0
  40. package/cjs/components/Select/ui/SelectDivider/SelectDivider.js +41 -0
  41. package/cjs/components/Select/ui/SelectDivider/SelectDivider.js.map +1 -0
  42. package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles.js +12 -0
  43. package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles.js.map +1 -0
  44. package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles_673hj6.css +1 -0
  45. package/cjs/components/Select/ui/SelectDivider/variations/_size/base.js +9 -0
  46. package/cjs/components/Select/ui/SelectDivider/variations/_size/base.js.map +1 -0
  47. package/cjs/components/Select/ui/SelectDivider/variations/_size/base_x642ct.css +1 -0
  48. package/cjs/components/Select/ui/SelectDivider/variations/_view/base.js +9 -0
  49. package/cjs/components/Select/ui/SelectDivider/variations/_view/base.js.map +1 -0
  50. package/cjs/components/Select/ui/SelectDivider/variations/_view/base_x642ct.css +1 -0
  51. package/cjs/components/Select/ui/SelectFooter/SelectFooter.css +35 -0
  52. package/cjs/components/Select/ui/SelectFooter/SelectFooter.js +41 -0
  53. package/cjs/components/Select/ui/SelectFooter/SelectFooter.js.map +1 -0
  54. package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles.js +12 -0
  55. package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles.js.map +1 -0
  56. package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles_11hk6tt.css +1 -0
  57. package/cjs/components/Select/ui/SelectFooter/variations/_size/base.js +9 -0
  58. package/cjs/components/Select/ui/SelectFooter/variations/_size/base.js.map +1 -0
  59. package/cjs/components/Select/ui/SelectFooter/variations/_size/base_x642ct.css +1 -0
  60. package/cjs/components/Select/ui/SelectFooter/variations/_view/base.js +9 -0
  61. package/cjs/components/Select/ui/SelectFooter/variations/_view/base.js.map +1 -0
  62. package/cjs/components/Select/ui/SelectFooter/variations/_view/base_x642ct.css +1 -0
  63. package/cjs/components/Select/ui/SelectGroup/SelectGroup.css +35 -0
  64. package/cjs/components/Select/ui/SelectGroup/SelectGroup.js +41 -0
  65. package/cjs/components/Select/ui/SelectGroup/SelectGroup.js.map +1 -0
  66. package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles.js +12 -0
  67. package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles.js.map +1 -0
  68. package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles_mktu7e.css +1 -0
  69. package/cjs/components/Select/ui/SelectGroup/variations/_size/base.js +9 -0
  70. package/cjs/components/Select/ui/SelectGroup/variations/_size/base.js.map +1 -0
  71. package/cjs/components/Select/ui/SelectGroup/variations/_size/base_x642ct.css +1 -0
  72. package/cjs/components/Select/ui/SelectGroup/variations/_view/base.js +9 -0
  73. package/cjs/components/Select/ui/SelectGroup/variations/_view/base.js.map +1 -0
  74. package/cjs/components/Select/ui/SelectGroup/variations/_view/base_x642ct.css +1 -0
  75. package/cjs/components/Select/ui/SelectHeader/SelectHeader.css +35 -0
  76. package/cjs/components/Select/ui/SelectHeader/SelectHeader.js +41 -0
  77. package/cjs/components/Select/ui/SelectHeader/SelectHeader.js.map +1 -0
  78. package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles.js +12 -0
  79. package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles.js.map +1 -0
  80. package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles_24gqog.css +1 -0
  81. package/cjs/components/Select/ui/SelectHeader/variations/_size/base.js +9 -0
  82. package/cjs/components/Select/ui/SelectHeader/variations/_size/base.js.map +1 -0
  83. package/cjs/components/Select/ui/SelectHeader/variations/_size/base_x642ct.css +1 -0
  84. package/cjs/components/Select/ui/SelectHeader/variations/_view/base.js +9 -0
  85. package/cjs/components/Select/ui/SelectHeader/variations/_view/base.js.map +1 -0
  86. package/cjs/components/Select/ui/SelectHeader/variations/_view/base_x642ct.css +1 -0
  87. package/cjs/components/Select/ui/SelectItem/SelectItem.css +35 -0
  88. package/cjs/components/Select/ui/SelectItem/SelectItem.js +40 -0
  89. package/cjs/components/Select/ui/SelectItem/SelectItem.js.map +1 -0
  90. package/cjs/components/Select/ui/SelectItem/SelectItem.styles.js +19 -0
  91. package/cjs/components/Select/ui/SelectItem/SelectItem.styles.js.map +1 -0
  92. package/cjs/components/Select/ui/SelectItem/SelectItem.styles_vk39mp.css +1 -0
  93. package/cjs/components/Select/ui/SelectItem/variations/_size/base.js +9 -0
  94. package/cjs/components/Select/ui/SelectItem/variations/_size/base.js.map +1 -0
  95. package/cjs/components/Select/ui/SelectItem/variations/_size/base_x642ct.css +1 -0
  96. package/cjs/components/Select/ui/SelectItem/variations/_view/base.js +9 -0
  97. package/cjs/components/Select/ui/SelectItem/variations/_view/base.js.map +1 -0
  98. package/cjs/components/Select/ui/SelectItem/variations/_view/base_x642ct.css +1 -0
  99. package/cjs/components/Select/{elements/Target/elements/Textfield/Textfield.css → ui/SelectTarget/SelectTarget.css} +7 -13
  100. package/cjs/components/Select/ui/SelectTarget/SelectTarget.js +148 -0
  101. package/cjs/components/Select/ui/SelectTarget/SelectTarget.js.map +1 -0
  102. package/cjs/components/Select/ui/SelectTarget/SelectTarget.styles.js +112 -0
  103. package/cjs/components/Select/ui/SelectTarget/SelectTarget.styles.js.map +1 -0
  104. package/cjs/components/Select/ui/SelectTarget/SelectTarget.styles_hb1tns.css +6 -0
  105. package/cjs/components/Select/utils/index.js +112 -0
  106. package/cjs/components/Select/utils/index.js.map +1 -0
  107. package/cjs/components/Select/variations/_target/base.js +9 -0
  108. package/cjs/components/Select/variations/_target/base.js.map +1 -0
  109. package/cjs/components/Select/variations/_target/base_x642ct.css +1 -0
  110. package/cjs/engines/common.js.map +1 -1
  111. package/cjs/index.css +27 -43
  112. package/cjs/index.js +18 -6
  113. package/cjs/index.js.map +1 -1
  114. package/cjs/utils/index.js.map +1 -1
  115. package/es/components/Button/Button.styles.js.map +1 -1
  116. package/es/components/Chip/Chip.tokens.js +0 -2
  117. package/es/components/Chip/Chip.tokens.js.map +1 -1
  118. package/es/components/Combobox/Combobox.js +2 -2
  119. package/es/components/Combobox/Combobox.js.map +1 -1
  120. package/es/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js +1 -1
  121. package/es/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js.map +1 -1
  122. package/es/components/Combobox/utils/index.js +3 -102
  123. package/es/components/Combobox/utils/index.js.map +1 -1
  124. package/es/components/Dropdown/Dropdown.tokens.js +18 -32
  125. package/es/components/Dropdown/Dropdown.tokens.js.map +1 -1
  126. package/es/components/Pagination/Pagination.css +49 -58
  127. package/es/components/Pagination/Pagination.js +5 -12
  128. package/es/components/Pagination/Pagination.js.map +1 -1
  129. package/es/components/Pagination/Pagination.styles.js.map +1 -1
  130. package/es/components/Pagination/Pagination.tokens.js +11 -9
  131. package/es/components/Pagination/Pagination.tokens.js.map +1 -1
  132. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +50 -59
  133. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +29 -23
  134. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js.map +1 -1
  135. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +19 -6
  136. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  137. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_rtehle.css +4 -0
  138. package/es/components/Select/Select.css +60 -65
  139. package/es/components/Select/Select.js +198 -250
  140. package/es/components/Select/Select.js.map +1 -1
  141. package/es/components/Select/Select.styles.js +34 -48
  142. package/es/components/Select/Select.styles.js.map +1 -1
  143. package/es/components/Select/Select.styles_1q3i6gw.css +4 -0
  144. package/es/components/Select/Select.tokens.js +166 -58
  145. package/es/components/Select/Select.tokens.js.map +1 -1
  146. package/es/components/Select/hooks/useKeyNavigation.js.map +1 -0
  147. package/{cjs/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.css → es/components/Select/ui/SelectChip/SelectChip.css} +1 -1
  148. package/es/components/Select/ui/SelectChip/SelectChip.js +35 -0
  149. package/es/components/Select/ui/SelectChip/SelectChip.js.map +1 -0
  150. package/es/components/Select/ui/SelectChip/SelectChip.styles.js +22 -0
  151. package/es/components/Select/ui/SelectChip/SelectChip.styles.js.map +1 -0
  152. package/es/components/Select/ui/SelectChip/SelectChip.styles_1u4uw04.css +1 -0
  153. package/es/components/Select/ui/SelectDivider/SelectDivider.css +35 -0
  154. package/es/components/Select/ui/SelectDivider/SelectDivider.js +36 -0
  155. package/es/components/Select/ui/SelectDivider/SelectDivider.js.map +1 -0
  156. package/es/components/Select/ui/SelectDivider/SelectDivider.styles.js +7 -0
  157. package/es/components/Select/ui/SelectDivider/SelectDivider.styles.js.map +1 -0
  158. package/es/components/Select/ui/SelectDivider/SelectDivider.styles_673hj6.css +1 -0
  159. package/es/components/Select/ui/SelectDivider/variations/_size/base.js +5 -0
  160. package/es/components/Select/ui/SelectDivider/variations/_size/base.js.map +1 -0
  161. package/es/components/Select/ui/SelectDivider/variations/_size/base_x642ct.css +1 -0
  162. package/es/components/Select/ui/SelectDivider/variations/_view/base.js +5 -0
  163. package/es/components/Select/ui/SelectDivider/variations/_view/base.js.map +1 -0
  164. package/es/components/Select/ui/SelectDivider/variations/_view/base_x642ct.css +1 -0
  165. package/es/components/Select/ui/SelectFooter/SelectFooter.css +35 -0
  166. package/es/components/Select/ui/SelectFooter/SelectFooter.js +36 -0
  167. package/es/components/Select/ui/SelectFooter/SelectFooter.js.map +1 -0
  168. package/es/components/Select/ui/SelectFooter/SelectFooter.styles.js +7 -0
  169. package/es/components/Select/ui/SelectFooter/SelectFooter.styles.js.map +1 -0
  170. package/es/components/Select/ui/SelectFooter/SelectFooter.styles_11hk6tt.css +1 -0
  171. package/es/components/Select/ui/SelectFooter/variations/_size/base.js +5 -0
  172. package/es/components/Select/ui/SelectFooter/variations/_size/base.js.map +1 -0
  173. package/es/components/Select/ui/SelectFooter/variations/_size/base_x642ct.css +1 -0
  174. package/es/components/Select/ui/SelectFooter/variations/_view/base.js +5 -0
  175. package/es/components/Select/ui/SelectFooter/variations/_view/base.js.map +1 -0
  176. package/es/components/Select/ui/SelectFooter/variations/_view/base_x642ct.css +1 -0
  177. package/es/components/Select/ui/SelectGroup/SelectGroup.css +35 -0
  178. package/es/components/Select/ui/SelectGroup/SelectGroup.js +36 -0
  179. package/es/components/Select/ui/SelectGroup/SelectGroup.js.map +1 -0
  180. package/es/components/Select/ui/SelectGroup/SelectGroup.styles.js +7 -0
  181. package/es/components/Select/ui/SelectGroup/SelectGroup.styles.js.map +1 -0
  182. package/es/components/Select/ui/SelectGroup/SelectGroup.styles_mktu7e.css +1 -0
  183. package/es/components/Select/ui/SelectGroup/variations/_size/base.js +5 -0
  184. package/es/components/Select/ui/SelectGroup/variations/_size/base.js.map +1 -0
  185. package/es/components/Select/ui/SelectGroup/variations/_size/base_x642ct.css +1 -0
  186. package/es/components/Select/ui/SelectGroup/variations/_view/base.js +5 -0
  187. package/es/components/Select/ui/SelectGroup/variations/_view/base.js.map +1 -0
  188. package/es/components/Select/ui/SelectGroup/variations/_view/base_x642ct.css +1 -0
  189. package/es/components/Select/ui/SelectHeader/SelectHeader.css +35 -0
  190. package/es/components/Select/ui/SelectHeader/SelectHeader.js +36 -0
  191. package/es/components/Select/ui/SelectHeader/SelectHeader.js.map +1 -0
  192. package/es/components/Select/ui/SelectHeader/SelectHeader.styles.js +7 -0
  193. package/es/components/Select/ui/SelectHeader/SelectHeader.styles.js.map +1 -0
  194. package/es/components/Select/ui/SelectHeader/SelectHeader.styles_24gqog.css +1 -0
  195. package/es/components/Select/ui/SelectHeader/variations/_size/base.js +5 -0
  196. package/es/components/Select/ui/SelectHeader/variations/_size/base.js.map +1 -0
  197. package/es/components/Select/ui/SelectHeader/variations/_size/base_x642ct.css +1 -0
  198. package/es/components/Select/ui/SelectHeader/variations/_view/base.js +5 -0
  199. package/es/components/Select/ui/SelectHeader/variations/_view/base.js.map +1 -0
  200. package/es/components/Select/ui/SelectHeader/variations/_view/base_x642ct.css +1 -0
  201. package/es/components/Select/ui/SelectItem/SelectItem.css +35 -0
  202. package/es/components/Select/ui/SelectItem/SelectItem.js +35 -0
  203. package/es/components/Select/ui/SelectItem/SelectItem.js.map +1 -0
  204. package/es/components/Select/ui/SelectItem/SelectItem.styles.js +15 -0
  205. package/es/components/Select/ui/SelectItem/SelectItem.styles.js.map +1 -0
  206. package/es/components/Select/ui/SelectItem/SelectItem.styles_vk39mp.css +1 -0
  207. package/es/components/Select/ui/SelectItem/variations/_size/base.js +5 -0
  208. package/es/components/Select/ui/SelectItem/variations/_size/base.js.map +1 -0
  209. package/es/components/Select/ui/SelectItem/variations/_size/base_x642ct.css +1 -0
  210. package/es/components/Select/ui/SelectItem/variations/_view/base.js +5 -0
  211. package/es/components/Select/ui/SelectItem/variations/_view/base.js.map +1 -0
  212. package/es/components/Select/ui/SelectItem/variations/_view/base_x642ct.css +1 -0
  213. package/es/components/Select/{elements/Target/elements/Textfield/Textfield.css → ui/SelectTarget/SelectTarget.css} +7 -13
  214. package/es/components/Select/ui/SelectTarget/SelectTarget.js +144 -0
  215. package/es/components/Select/ui/SelectTarget/SelectTarget.js.map +1 -0
  216. package/es/components/Select/ui/SelectTarget/SelectTarget.styles.js +103 -0
  217. package/es/components/Select/ui/SelectTarget/SelectTarget.styles.js.map +1 -0
  218. package/es/components/Select/ui/SelectTarget/SelectTarget.styles_hb1tns.css +6 -0
  219. package/es/components/Select/utils/index.js +105 -0
  220. package/es/components/Select/utils/index.js.map +1 -0
  221. package/es/components/Select/variations/_target/base.js +5 -0
  222. package/es/components/Select/variations/_target/base.js.map +1 -0
  223. package/es/components/Select/variations/_target/base_x642ct.css +1 -0
  224. package/es/engines/common.js.map +1 -1
  225. package/es/index.css +27 -43
  226. package/es/index.js +7 -4
  227. package/es/index.js.map +1 -1
  228. package/es/utils/index.js.map +1 -1
  229. package/package.json +4 -4
  230. package/styled-components/cjs/components/Button/Button.styles.js +2 -2
  231. package/styled-components/cjs/components/Button/Button.template-doc.mdx +3 -3
  232. package/styled-components/cjs/components/Chip/Chip.tokens.js +0 -2
  233. package/styled-components/cjs/components/Combobox/Combobox.js +6 -6
  234. package/styled-components/cjs/components/Combobox/hooks/index.js +1 -14
  235. package/styled-components/cjs/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js +5 -4
  236. package/styled-components/cjs/components/Combobox/utils/index.js +1 -105
  237. package/styled-components/cjs/components/Dropdown/Dropdown.tokens.js +18 -32
  238. package/styled-components/cjs/components/Pagination/Pagination.js +5 -12
  239. package/styled-components/cjs/components/Pagination/Pagination.styles.js +2 -2
  240. package/styled-components/cjs/components/Pagination/Pagination.tokens.js +11 -9
  241. package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +35 -22
  242. package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +8 -3
  243. package/styled-components/cjs/components/Segment/Segment.template-doc.mdx +1 -1
  244. package/styled-components/cjs/components/Select/Select.js +193 -249
  245. package/styled-components/cjs/components/Select/Select.styles.js +23 -28
  246. package/styled-components/cjs/components/Select/Select.template-doc.mdx +115 -0
  247. package/styled-components/cjs/components/Select/Select.tokens.js +167 -73
  248. package/styled-components/cjs/components/Select/hooks/index.js +12 -0
  249. package/styled-components/cjs/components/Select/index.js +20 -3
  250. package/styled-components/cjs/components/Select/{elements/Target/elements/Textfield/elements/Chip/Chip.js → ui/SelectChip/SelectChip.js} +27 -24
  251. package/styled-components/cjs/components/Select/ui/SelectChip/SelectChip.styles.js +25 -0
  252. package/styled-components/cjs/components/Select/ui/SelectDivider/SelectDivider.js +29 -0
  253. package/styled-components/cjs/components/Select/ui/SelectDivider/SelectDivider.styles.js +12 -0
  254. package/styled-components/cjs/components/Select/ui/SelectDivider/variations/_size/base.js +8 -0
  255. package/styled-components/cjs/components/Select/ui/SelectDivider/variations/_size/tokens.json +8 -0
  256. package/styled-components/cjs/components/Select/ui/SelectDivider/variations/_view/base.js +8 -0
  257. package/styled-components/cjs/components/Select/ui/SelectDivider/variations/_view/tokens.json +1 -0
  258. package/styled-components/cjs/components/Select/ui/SelectFooter/SelectFooter.js +29 -0
  259. package/styled-components/cjs/components/Select/ui/SelectFooter/SelectFooter.styles.js +12 -0
  260. package/styled-components/cjs/components/Select/ui/SelectFooter/variations/_size/base.js +8 -0
  261. package/styled-components/cjs/components/Select/ui/SelectFooter/variations/_size/tokens.json +12 -0
  262. package/styled-components/cjs/components/Select/ui/SelectFooter/variations/_view/base.js +8 -0
  263. package/styled-components/cjs/components/Select/ui/SelectFooter/variations/_view/tokens.json +9 -0
  264. package/styled-components/cjs/components/Select/ui/SelectGroup/SelectGroup.js +29 -0
  265. package/styled-components/cjs/components/Select/ui/SelectGroup/SelectGroup.styles.js +12 -0
  266. package/styled-components/cjs/components/Select/ui/SelectGroup/variations/_size/base.js +8 -0
  267. package/styled-components/cjs/components/Select/ui/SelectGroup/variations/_size/tokens.json +20 -0
  268. package/styled-components/cjs/components/Select/ui/SelectGroup/variations/_view/base.js +8 -0
  269. package/styled-components/cjs/components/Select/ui/SelectGroup/variations/_view/tokens.json +10 -0
  270. package/styled-components/cjs/components/Select/ui/SelectHeader/SelectHeader.js +29 -0
  271. package/styled-components/cjs/components/Select/ui/SelectHeader/SelectHeader.styles.js +12 -0
  272. package/styled-components/cjs/components/Select/ui/SelectHeader/variations/_size/base.js +8 -0
  273. package/styled-components/cjs/components/Select/ui/SelectHeader/variations/_size/tokens.json +12 -0
  274. package/styled-components/cjs/components/Select/ui/SelectHeader/variations/_view/base.js +8 -0
  275. package/styled-components/cjs/components/Select/ui/SelectHeader/variations/_view/tokens.json +9 -0
  276. package/styled-components/cjs/components/Select/ui/SelectItem/SelectItem.js +29 -0
  277. package/styled-components/cjs/components/Select/ui/SelectItem/SelectItem.styles.js +13 -0
  278. package/styled-components/cjs/components/Select/ui/SelectItem/variations/_size/base.js +8 -0
  279. package/styled-components/cjs/components/Select/ui/SelectItem/variations/_size/tokens.json +19 -0
  280. package/styled-components/cjs/components/Select/ui/SelectItem/variations/_view/base.js +8 -0
  281. package/styled-components/cjs/components/Select/ui/SelectItem/variations/_view/tokens.json +9 -0
  282. package/styled-components/cjs/components/Select/ui/SelectTarget/SelectTarget.js +157 -0
  283. package/styled-components/cjs/components/Select/ui/SelectTarget/SelectTarget.styles.js +69 -0
  284. package/styled-components/cjs/components/Select/ui/index.js +77 -0
  285. package/styled-components/cjs/components/Select/utils/index.js +102 -51
  286. package/styled-components/cjs/components/Select/variations/_target/base.js +8 -0
  287. package/styled-components/cjs/components/Select/variations/_target/tokens.json +1 -0
  288. package/styled-components/cjs/components/_Icon/index.js +1 -15
  289. package/styled-components/cjs/examples/_helpers.js +1 -1
  290. package/styled-components/cjs/examples/plasma_b2c/components/Pagination/Pagination.config.js +7 -7
  291. package/styled-components/cjs/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +0 -1
  292. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +10 -20
  293. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.js +13 -9
  294. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +202 -768
  295. package/styled-components/cjs/examples/plasma_web/components/Pagination/Pagination.config.js +7 -7
  296. package/styled-components/cjs/examples/plasma_web/components/Select/Select.config.js +10 -20
  297. package/styled-components/cjs/examples/plasma_web/components/Select/Select.js +13 -9
  298. package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +198 -768
  299. package/styled-components/cjs/hooks/index.js +0 -7
  300. package/styled-components/cjs/utils/index.js +0 -7
  301. package/styled-components/es/components/Button/Button.styles.js +2 -2
  302. package/styled-components/es/components/Button/Button.template-doc.mdx +3 -3
  303. package/styled-components/es/components/Chip/Chip.tokens.js +0 -2
  304. package/styled-components/es/components/Combobox/Combobox.js +2 -2
  305. package/styled-components/es/components/Combobox/hooks/index.js +1 -2
  306. package/styled-components/es/components/Combobox/ui/ComboboxTarget/ComboboxTarget.js +2 -1
  307. package/styled-components/es/components/Combobox/utils/index.js +1 -105
  308. package/styled-components/es/components/Dropdown/Dropdown.tokens.js +18 -32
  309. package/styled-components/es/components/Pagination/Pagination.js +5 -12
  310. package/styled-components/es/components/Pagination/Pagination.styles.js +2 -2
  311. package/styled-components/es/components/Pagination/Pagination.tokens.js +11 -9
  312. package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +33 -22
  313. package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +8 -3
  314. package/styled-components/es/components/Segment/Segment.template-doc.mdx +1 -1
  315. package/styled-components/es/components/Select/Select.js +190 -245
  316. package/styled-components/es/components/Select/Select.styles.js +21 -25
  317. package/styled-components/es/components/Select/Select.template-doc.mdx +115 -0
  318. package/styled-components/es/components/Select/Select.tokens.js +166 -72
  319. package/styled-components/es/components/Select/hooks/index.js +1 -0
  320. package/styled-components/es/components/Select/index.js +2 -2
  321. package/styled-components/es/components/Select/ui/SelectChip/SelectChip.js +31 -0
  322. package/styled-components/es/components/Select/ui/SelectChip/SelectChip.styles.js +19 -0
  323. package/styled-components/es/components/Select/ui/SelectDivider/SelectDivider.js +23 -0
  324. package/styled-components/es/components/Select/ui/SelectDivider/SelectDivider.styles.js +7 -0
  325. package/styled-components/es/components/Select/ui/SelectDivider/variations/_size/base.js +2 -0
  326. package/styled-components/es/components/Select/ui/SelectDivider/variations/_size/tokens.json +8 -0
  327. package/styled-components/es/components/Select/ui/SelectDivider/variations/_view/base.js +2 -0
  328. package/styled-components/es/components/Select/ui/SelectDivider/variations/_view/tokens.json +1 -0
  329. package/styled-components/es/components/Select/ui/SelectFooter/SelectFooter.js +23 -0
  330. package/styled-components/es/components/Select/ui/SelectFooter/SelectFooter.styles.js +7 -0
  331. package/styled-components/es/components/Select/ui/SelectFooter/variations/_size/base.js +2 -0
  332. package/styled-components/es/components/Select/ui/SelectFooter/variations/_size/tokens.json +12 -0
  333. package/styled-components/es/components/Select/ui/SelectFooter/variations/_view/base.js +2 -0
  334. package/styled-components/es/components/Select/ui/SelectFooter/variations/_view/tokens.json +9 -0
  335. package/styled-components/es/components/Select/ui/SelectGroup/SelectGroup.js +23 -0
  336. package/styled-components/es/components/Select/ui/SelectGroup/SelectGroup.styles.js +7 -0
  337. package/styled-components/es/components/Select/ui/SelectGroup/variations/_size/base.js +2 -0
  338. package/styled-components/es/components/Select/ui/SelectGroup/variations/_size/tokens.json +20 -0
  339. package/styled-components/es/components/Select/ui/SelectGroup/variations/_view/base.js +2 -0
  340. package/styled-components/es/components/Select/ui/SelectGroup/variations/_view/tokens.json +10 -0
  341. package/styled-components/es/components/Select/ui/SelectHeader/SelectHeader.js +23 -0
  342. package/styled-components/es/components/Select/ui/SelectHeader/SelectHeader.styles.js +7 -0
  343. package/styled-components/es/components/Select/ui/SelectHeader/variations/_size/base.js +2 -0
  344. package/styled-components/es/components/Select/ui/SelectHeader/variations/_size/tokens.json +12 -0
  345. package/styled-components/es/components/Select/ui/SelectHeader/variations/_view/base.js +2 -0
  346. package/styled-components/es/components/Select/ui/SelectHeader/variations/_view/tokens.json +9 -0
  347. package/styled-components/es/components/Select/ui/SelectItem/SelectItem.js +23 -0
  348. package/styled-components/es/components/Select/ui/SelectItem/SelectItem.styles.js +8 -0
  349. package/styled-components/es/components/Select/ui/SelectItem/variations/_size/base.js +2 -0
  350. package/styled-components/es/components/Select/ui/SelectItem/variations/_size/tokens.json +19 -0
  351. package/styled-components/es/components/Select/ui/SelectItem/variations/_view/base.js +2 -0
  352. package/styled-components/es/components/Select/ui/SelectItem/variations/_view/tokens.json +9 -0
  353. package/styled-components/es/components/Select/ui/SelectTarget/SelectTarget.js +148 -0
  354. package/styled-components/es/components/Select/ui/SelectTarget/SelectTarget.styles.js +62 -0
  355. package/styled-components/es/components/Select/ui/index.js +6 -0
  356. package/styled-components/es/components/Select/utils/index.js +106 -8
  357. package/styled-components/es/components/Select/variations/_target/base.js +2 -0
  358. package/styled-components/es/components/Select/variations/_target/tokens.json +1 -0
  359. package/styled-components/es/components/_Icon/index.js +1 -3
  360. package/styled-components/es/examples/_helpers.js +1 -1
  361. package/styled-components/es/examples/plasma_b2c/components/Pagination/Pagination.config.js +7 -7
  362. package/styled-components/es/examples/plasma_b2c/components/Pagination/Pagination.stories.tsx +0 -1
  363. package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +10 -20
  364. package/styled-components/es/examples/plasma_b2c/components/Select/Select.js +12 -3
  365. package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +202 -768
  366. package/styled-components/es/examples/plasma_web/components/Pagination/Pagination.config.js +7 -7
  367. package/styled-components/es/examples/plasma_web/components/Select/Select.config.js +10 -20
  368. package/styled-components/es/examples/plasma_web/components/Select/Select.js +12 -3
  369. package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +198 -768
  370. package/styled-components/es/hooks/index.js +0 -1
  371. package/styled-components/es/utils/index.js +0 -1
  372. package/types/components/Chip/Chip.tokens.d.ts +0 -2
  373. package/types/components/Chip/Chip.tokens.d.ts.map +1 -1
  374. package/types/components/Combobox/hooks/index.d.ts +0 -1
  375. package/types/components/Combobox/hooks/index.d.ts.map +1 -1
  376. package/types/components/Combobox/ui/ComboboxTarget/ComboboxTarget.d.ts.map +1 -1
  377. package/types/components/Combobox/utils/index.d.ts +1 -13
  378. package/types/components/Combobox/utils/index.d.ts.map +1 -1
  379. package/types/components/Dropdown/Dropdown.tokens.d.ts +17 -17
  380. package/types/components/Dropdown/Dropdown.tokens.d.ts.map +1 -1
  381. package/types/components/Dropdown/Dropdown.types.d.ts +9 -5
  382. package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
  383. package/types/components/Pagination/Pagination.d.ts.map +1 -1
  384. package/types/components/Pagination/Pagination.tokens.d.ts +11 -9
  385. package/types/components/Pagination/Pagination.tokens.d.ts.map +1 -1
  386. package/types/components/Pagination/Pagination.types.d.ts +1 -6
  387. package/types/components/Pagination/Pagination.types.d.ts.map +1 -1
  388. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.d.ts.map +1 -1
  389. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +43 -53
  390. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  391. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.types.d.ts +2 -5
  392. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.types.d.ts.map +1 -1
  393. package/types/components/Select/Select.d.ts +8 -7
  394. package/types/components/Select/Select.d.ts.map +1 -1
  395. package/types/components/Select/Select.styles.d.ts +6 -11
  396. package/types/components/Select/Select.styles.d.ts.map +1 -1
  397. package/types/components/Select/Select.tokens.d.ts +165 -71
  398. package/types/components/Select/Select.tokens.d.ts.map +1 -1
  399. package/types/components/Select/Select.types.d.ts +65 -128
  400. package/types/components/Select/Select.types.d.ts.map +1 -1
  401. package/types/components/Select/hooks/index.d.ts +2 -0
  402. package/types/components/Select/hooks/index.d.ts.map +1 -0
  403. package/types/components/Select/hooks/useKeyNavigation.d.ts.map +1 -0
  404. package/types/components/Select/index.d.ts +3 -3
  405. package/types/components/Select/index.d.ts.map +1 -1
  406. package/types/components/Select/ui/SelectChip/SelectChip.d.ts +7 -0
  407. package/types/components/Select/ui/SelectChip/SelectChip.d.ts.map +1 -0
  408. package/types/components/Select/ui/SelectChip/SelectChip.styles.d.ts +3 -0
  409. package/types/components/Select/ui/SelectChip/SelectChip.styles.d.ts.map +1 -0
  410. package/types/components/Select/ui/SelectChip/SelectChip.types.d.ts +37 -0
  411. package/types/components/Select/ui/SelectChip/SelectChip.types.d.ts.map +1 -0
  412. package/types/components/Select/ui/SelectDivider/SelectDivider.d.ts +29 -0
  413. package/types/components/Select/ui/SelectDivider/SelectDivider.d.ts.map +1 -0
  414. package/types/components/Select/ui/SelectDivider/SelectDivider.styles.d.ts +3 -0
  415. package/types/components/Select/ui/SelectDivider/SelectDivider.styles.d.ts.map +1 -0
  416. package/types/components/Select/ui/SelectDivider/SelectDivider.types.d.ts +3 -0
  417. package/types/components/Select/ui/SelectDivider/SelectDivider.types.d.ts.map +1 -0
  418. package/types/components/Select/ui/SelectDivider/variations/_size/base.d.ts +2 -0
  419. package/types/components/Select/ui/SelectDivider/variations/_size/base.d.ts.map +1 -0
  420. package/types/components/Select/ui/SelectDivider/variations/_view/base.d.ts +2 -0
  421. package/types/components/Select/ui/SelectDivider/variations/_view/base.d.ts.map +1 -0
  422. package/types/components/Select/ui/SelectFooter/SelectFooter.d.ts +29 -0
  423. package/types/components/Select/ui/SelectFooter/SelectFooter.d.ts.map +1 -0
  424. package/types/components/Select/ui/SelectFooter/SelectFooter.styles.d.ts +3 -0
  425. package/types/components/Select/ui/SelectFooter/SelectFooter.styles.d.ts.map +1 -0
  426. package/types/components/Select/ui/SelectFooter/SelectFooter.type.d.ts +3 -0
  427. package/types/components/Select/ui/SelectFooter/SelectFooter.type.d.ts.map +1 -0
  428. package/types/components/Select/ui/SelectFooter/variations/_size/base.d.ts +2 -0
  429. package/types/components/Select/ui/SelectFooter/variations/_size/base.d.ts.map +1 -0
  430. package/types/components/Select/ui/SelectFooter/variations/_view/base.d.ts +2 -0
  431. package/types/components/Select/ui/SelectFooter/variations/_view/base.d.ts.map +1 -0
  432. package/types/components/Select/ui/SelectGroup/SelectGroup.d.ts +37 -0
  433. package/types/components/Select/ui/SelectGroup/SelectGroup.d.ts.map +1 -0
  434. package/types/components/Select/ui/SelectGroup/SelectGroup.styles.d.ts +3 -0
  435. package/types/components/Select/ui/SelectGroup/SelectGroup.styles.d.ts.map +1 -0
  436. package/types/components/Select/ui/SelectGroup/SelectGroup.type.d.ts +3 -0
  437. package/types/components/Select/ui/SelectGroup/SelectGroup.type.d.ts.map +1 -0
  438. package/types/components/Select/ui/SelectGroup/variations/_size/base.d.ts +2 -0
  439. package/types/components/Select/ui/SelectGroup/variations/_size/base.d.ts.map +1 -0
  440. package/types/components/Select/ui/SelectGroup/variations/_view/base.d.ts +2 -0
  441. package/types/components/Select/ui/SelectGroup/variations/_view/base.d.ts.map +1 -0
  442. package/types/components/Select/ui/SelectHeader/SelectHeader.d.ts +29 -0
  443. package/types/components/Select/ui/SelectHeader/SelectHeader.d.ts.map +1 -0
  444. package/types/components/Select/ui/SelectHeader/SelectHeader.styles.d.ts +3 -0
  445. package/types/components/Select/ui/SelectHeader/SelectHeader.styles.d.ts.map +1 -0
  446. package/types/components/Select/ui/SelectHeader/SelectHeader.type.d.ts +3 -0
  447. package/types/components/Select/ui/SelectHeader/SelectHeader.type.d.ts.map +1 -0
  448. package/types/components/Select/ui/SelectHeader/variations/_size/base.d.ts +2 -0
  449. package/types/components/Select/ui/SelectHeader/variations/_size/base.d.ts.map +1 -0
  450. package/types/components/Select/ui/SelectHeader/variations/_view/base.d.ts +2 -0
  451. package/types/components/Select/ui/SelectHeader/variations/_view/base.d.ts.map +1 -0
  452. package/types/components/Select/ui/SelectItem/SelectItem.d.ts +53 -0
  453. package/types/components/Select/ui/SelectItem/SelectItem.d.ts.map +1 -0
  454. package/types/components/Select/ui/SelectItem/SelectItem.styles.d.ts +3 -0
  455. package/types/components/Select/ui/SelectItem/SelectItem.styles.d.ts.map +1 -0
  456. package/types/components/Select/ui/SelectItem/SelectItem.type.d.ts +3 -0
  457. package/types/components/Select/ui/SelectItem/SelectItem.type.d.ts.map +1 -0
  458. package/types/components/Select/ui/SelectItem/variations/_size/base.d.ts +2 -0
  459. package/types/components/Select/ui/SelectItem/variations/_size/base.d.ts.map +1 -0
  460. package/types/components/Select/ui/SelectItem/variations/_view/base.d.ts +2 -0
  461. package/types/components/Select/ui/SelectItem/variations/_view/base.d.ts.map +1 -0
  462. package/types/components/Select/ui/SelectTarget/SelectTarget.d.ts +7 -0
  463. package/types/components/Select/ui/SelectTarget/SelectTarget.d.ts.map +1 -0
  464. package/types/components/Select/{elements/SelectNotFoundContent/SelectNotFoundContent.styles.d.ts → ui/SelectTarget/SelectTarget.styles.d.ts} +12 -6
  465. package/types/components/Select/ui/SelectTarget/SelectTarget.styles.d.ts.map +1 -0
  466. package/types/components/Select/ui/SelectTarget/SelectTarget.types.d.ts +60 -0
  467. package/types/components/Select/ui/SelectTarget/SelectTarget.types.d.ts.map +1 -0
  468. package/types/components/Select/ui/index.d.ts +7 -0
  469. package/types/components/Select/ui/index.d.ts.map +1 -0
  470. package/types/components/Select/utils/index.d.ts +13 -8
  471. package/types/components/Select/utils/index.d.ts.map +1 -1
  472. package/types/components/Select/variations/_target/base.d.ts +2 -0
  473. package/types/components/Select/variations/_target/base.d.ts.map +1 -0
  474. package/types/components/_Icon/index.d.ts +0 -2
  475. package/types/components/_Icon/index.d.ts.map +1 -1
  476. package/types/engines/common.d.ts +1 -1
  477. package/types/engines/common.d.ts.map +1 -1
  478. package/types/engines/types.d.ts +1 -1
  479. package/types/engines/types.d.ts.map +1 -1
  480. package/types/examples/plasma_b2c/components/Pagination/Pagination.config.d.ts +1 -1
  481. package/types/examples/plasma_b2c/components/Pagination/Pagination.config.d.ts.map +1 -1
  482. package/types/examples/plasma_b2c/components/Pagination/Pagination.d.ts +1 -1
  483. package/types/examples/plasma_b2c/components/Select/Select.config.d.ts +5 -15
  484. package/types/examples/plasma_b2c/components/Select/Select.config.d.ts.map +1 -1
  485. package/types/examples/plasma_b2c/components/Select/Select.d.ts +55 -70
  486. package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
  487. package/types/examples/plasma_web/components/Pagination/Pagination.config.d.ts +1 -1
  488. package/types/examples/plasma_web/components/Pagination/Pagination.config.d.ts.map +1 -1
  489. package/types/examples/plasma_web/components/Pagination/Pagination.d.ts +1 -1
  490. package/types/examples/plasma_web/components/Select/Select.config.d.ts +5 -15
  491. package/types/examples/plasma_web/components/Select/Select.config.d.ts.map +1 -1
  492. package/types/examples/plasma_web/components/Select/Select.d.ts +55 -70
  493. package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -1
  494. package/types/hooks/index.d.ts +0 -1
  495. package/types/hooks/index.d.ts.map +1 -1
  496. package/types/utils/index.d.ts +0 -1
  497. package/types/utils/index.d.ts.map +1 -1
  498. package/cjs/components/Combobox/hooks/useKeyNavigation.js.map +0 -1
  499. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_187mk6b.css +0 -3
  500. package/cjs/components/Select/Select.styles_zx0ztg.css +0 -5
  501. package/cjs/components/Select/elements/Inner/Inner.css +0 -106
  502. package/cjs/components/Select/elements/Inner/Inner.js +0 -82
  503. package/cjs/components/Select/elements/Inner/Inner.js.map +0 -1
  504. package/cjs/components/Select/elements/Inner/elements/Item/Item.css +0 -106
  505. package/cjs/components/Select/elements/Inner/elements/Item/Item.js +0 -99
  506. package/cjs/components/Select/elements/Inner/elements/Item/Item.js.map +0 -1
  507. package/cjs/components/Select/elements/Inner/elements/Item/Item.styles.js +0 -104
  508. package/cjs/components/Select/elements/Inner/elements/Item/Item.styles.js.map +0 -1
  509. package/cjs/components/Select/elements/Inner/elements/Item/Item.styles_545sy7.css +0 -8
  510. package/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.css +0 -30
  511. package/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.js +0 -20
  512. package/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.js.map +0 -1
  513. package/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.js +0 -41
  514. package/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.js.map +0 -1
  515. package/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles_r1sne.css +0 -4
  516. package/cjs/components/Select/elements/Target/Target.css +0 -66
  517. package/cjs/components/Select/elements/Target/Target.js +0 -63
  518. package/cjs/components/Select/elements/Target/Target.js.map +0 -1
  519. package/cjs/components/Select/elements/Target/elements/Button/Button.css +0 -33
  520. package/cjs/components/Select/elements/Target/elements/Button/Button.js +0 -59
  521. package/cjs/components/Select/elements/Target/elements/Button/Button.js.map +0 -1
  522. package/cjs/components/Select/elements/Target/elements/Button/Button.styles.js +0 -52
  523. package/cjs/components/Select/elements/Target/elements/Button/Button.styles.js.map +0 -1
  524. package/cjs/components/Select/elements/Target/elements/Button/Button.styles_1r519o1.css +0 -5
  525. package/cjs/components/Select/elements/Target/elements/Textfield/Textfield.js +0 -113
  526. package/cjs/components/Select/elements/Target/elements/Textfield/Textfield.js.map +0 -1
  527. package/cjs/components/Select/elements/Target/elements/Textfield/Textfield.styles.js +0 -113
  528. package/cjs/components/Select/elements/Target/elements/Textfield/Textfield.styles.js.map +0 -1
  529. package/cjs/components/Select/elements/Target/elements/Textfield/Textfield.styles_hp8mkt.css +0 -12
  530. package/cjs/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.js +0 -36
  531. package/cjs/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.js.map +0 -1
  532. package/cjs/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.js.map +0 -1
  533. package/cjs/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles_k6znfr.css +0 -1
  534. package/cjs/components/Select/hooks/useKeyboardNavigation.js +0 -314
  535. package/cjs/components/Select/hooks/useKeyboardNavigation.js.map +0 -1
  536. package/cjs/components/Select/hooks/usePathMaps.js +0 -37
  537. package/cjs/components/Select/hooks/usePathMaps.js.map +0 -1
  538. package/cjs/components/Select/reducers/focusedChipIndexReducer.js +0 -39
  539. package/cjs/components/Select/reducers/focusedChipIndexReducer.js.map +0 -1
  540. package/cjs/components/Select/reducers/focusedPathReducer.js +0 -37
  541. package/cjs/components/Select/reducers/focusedPathReducer.js.map +0 -1
  542. package/cjs/components/Select/reducers/pathReducer.js +0 -41
  543. package/cjs/components/Select/reducers/pathReducer.js.map +0 -1
  544. package/cjs/components/Select/utils/getButtonLabel.js +0 -47
  545. package/cjs/components/Select/utils/getButtonLabel.js.map +0 -1
  546. package/cjs/components/Select/utils/getCorrectHeight.js +0 -13
  547. package/cjs/components/Select/utils/getCorrectHeight.js.map +0 -1
  548. package/cjs/components/Select/utils/getView.js +0 -27
  549. package/cjs/components/Select/utils/getView.js.map +0 -1
  550. package/cjs/components/Select/utils/initialItemsTransform.js +0 -19
  551. package/cjs/components/Select/utils/initialItemsTransform.js.map +0 -1
  552. package/cjs/components/Select/utils/sizeToIconSize.js +0 -11
  553. package/cjs/components/Select/utils/sizeToIconSize.js.map +0 -1
  554. package/cjs/components/Select/utils/updateAncestors.js +0 -32
  555. package/cjs/components/Select/utils/updateAncestors.js.map +0 -1
  556. package/cjs/components/Select/utils/updateDescendants.js +0 -16
  557. package/cjs/components/Select/utils/updateDescendants.js.map +0 -1
  558. package/cjs/components/Select/utils/updateSingleAncestors.js +0 -13
  559. package/cjs/components/Select/utils/updateSingleAncestors.js.map +0 -1
  560. package/cjs/components/_Icon/Icon.assets/DisclosureDownCentered.js +0 -33
  561. package/cjs/components/_Icon/Icon.assets/DisclosureDownCentered.js.map +0 -1
  562. package/cjs/components/_Icon/Icon.assets/DisclosureRightCentered.js +0 -31
  563. package/cjs/components/_Icon/Icon.assets/DisclosureRightCentered.js.map +0 -1
  564. package/cjs/components/_Icon/Icons/IconDisclosureDownCentered.js +0 -23
  565. package/cjs/components/_Icon/Icons/IconDisclosureDownCentered.js.map +0 -1
  566. package/cjs/components/_Icon/Icons/IconDisclosureRightCentered.js +0 -23
  567. package/cjs/components/_Icon/Icons/IconDisclosureRightCentered.js.map +0 -1
  568. package/cjs/hooks/useOutsideClick.js +0 -26
  569. package/cjs/hooks/useOutsideClick.js.map +0 -1
  570. package/cjs/utils/isEmpty.js +0 -49
  571. package/cjs/utils/isEmpty.js.map +0 -1
  572. package/es/components/Combobox/hooks/useKeyNavigation.js.map +0 -1
  573. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles_187mk6b.css +0 -3
  574. package/es/components/Select/Select.styles_zx0ztg.css +0 -5
  575. package/es/components/Select/elements/Inner/Inner.css +0 -106
  576. package/es/components/Select/elements/Inner/Inner.js +0 -78
  577. package/es/components/Select/elements/Inner/Inner.js.map +0 -1
  578. package/es/components/Select/elements/Inner/elements/Item/Item.css +0 -106
  579. package/es/components/Select/elements/Inner/elements/Item/Item.js +0 -95
  580. package/es/components/Select/elements/Inner/elements/Item/Item.js.map +0 -1
  581. package/es/components/Select/elements/Inner/elements/Item/Item.styles.js +0 -93
  582. package/es/components/Select/elements/Inner/elements/Item/Item.styles.js.map +0 -1
  583. package/es/components/Select/elements/Inner/elements/Item/Item.styles_545sy7.css +0 -8
  584. package/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.css +0 -30
  585. package/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.js +0 -16
  586. package/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.js.map +0 -1
  587. package/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.js +0 -34
  588. package/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.js.map +0 -1
  589. package/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles_r1sne.css +0 -4
  590. package/es/components/Select/elements/Target/Target.css +0 -66
  591. package/es/components/Select/elements/Target/Target.js +0 -59
  592. package/es/components/Select/elements/Target/Target.js.map +0 -1
  593. package/es/components/Select/elements/Target/elements/Button/Button.css +0 -33
  594. package/es/components/Select/elements/Target/elements/Button/Button.js +0 -55
  595. package/es/components/Select/elements/Target/elements/Button/Button.js.map +0 -1
  596. package/es/components/Select/elements/Target/elements/Button/Button.styles.js +0 -44
  597. package/es/components/Select/elements/Target/elements/Button/Button.styles.js.map +0 -1
  598. package/es/components/Select/elements/Target/elements/Button/Button.styles_1r519o1.css +0 -5
  599. package/es/components/Select/elements/Target/elements/Textfield/Textfield.js +0 -109
  600. package/es/components/Select/elements/Target/elements/Textfield/Textfield.js.map +0 -1
  601. package/es/components/Select/elements/Target/elements/Textfield/Textfield.styles.js +0 -98
  602. package/es/components/Select/elements/Target/elements/Textfield/Textfield.styles.js.map +0 -1
  603. package/es/components/Select/elements/Target/elements/Textfield/Textfield.styles_hp8mkt.css +0 -12
  604. package/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.js +0 -32
  605. package/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.js.map +0 -1
  606. package/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.js +0 -19
  607. package/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.js.map +0 -1
  608. package/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles_k6znfr.css +0 -1
  609. package/es/components/Select/hooks/useKeyboardNavigation.js +0 -309
  610. package/es/components/Select/hooks/useKeyboardNavigation.js.map +0 -1
  611. package/es/components/Select/hooks/usePathMaps.js +0 -33
  612. package/es/components/Select/hooks/usePathMaps.js.map +0 -1
  613. package/es/components/Select/reducers/focusedChipIndexReducer.js +0 -35
  614. package/es/components/Select/reducers/focusedChipIndexReducer.js.map +0 -1
  615. package/es/components/Select/reducers/focusedPathReducer.js +0 -33
  616. package/es/components/Select/reducers/focusedPathReducer.js.map +0 -1
  617. package/es/components/Select/reducers/pathReducer.js +0 -37
  618. package/es/components/Select/reducers/pathReducer.js.map +0 -1
  619. package/es/components/Select/utils/getButtonLabel.js +0 -43
  620. package/es/components/Select/utils/getButtonLabel.js.map +0 -1
  621. package/es/components/Select/utils/getCorrectHeight.js +0 -9
  622. package/es/components/Select/utils/getCorrectHeight.js.map +0 -1
  623. package/es/components/Select/utils/getView.js +0 -23
  624. package/es/components/Select/utils/getView.js.map +0 -1
  625. package/es/components/Select/utils/initialItemsTransform.js +0 -15
  626. package/es/components/Select/utils/initialItemsTransform.js.map +0 -1
  627. package/es/components/Select/utils/sizeToIconSize.js +0 -7
  628. package/es/components/Select/utils/sizeToIconSize.js.map +0 -1
  629. package/es/components/Select/utils/updateAncestors.js +0 -28
  630. package/es/components/Select/utils/updateAncestors.js.map +0 -1
  631. package/es/components/Select/utils/updateDescendants.js +0 -12
  632. package/es/components/Select/utils/updateDescendants.js.map +0 -1
  633. package/es/components/Select/utils/updateSingleAncestors.js +0 -9
  634. package/es/components/Select/utils/updateSingleAncestors.js.map +0 -1
  635. package/es/components/_Icon/Icon.assets/DisclosureDownCentered.js +0 -29
  636. package/es/components/_Icon/Icon.assets/DisclosureDownCentered.js.map +0 -1
  637. package/es/components/_Icon/Icon.assets/DisclosureRightCentered.js +0 -27
  638. package/es/components/_Icon/Icon.assets/DisclosureRightCentered.js.map +0 -1
  639. package/es/components/_Icon/Icons/IconDisclosureDownCentered.js +0 -19
  640. package/es/components/_Icon/Icons/IconDisclosureDownCentered.js.map +0 -1
  641. package/es/components/_Icon/Icons/IconDisclosureRightCentered.js +0 -19
  642. package/es/components/_Icon/Icons/IconDisclosureRightCentered.js.map +0 -1
  643. package/es/hooks/useOutsideClick.js +0 -22
  644. package/es/hooks/useOutsideClick.js.map +0 -1
  645. package/es/utils/isEmpty.js +0 -45
  646. package/es/utils/isEmpty.js.map +0 -1
  647. package/styled-components/cjs/components/Select/elements/InfiniteLoader/InfiniteLoader.js +0 -18
  648. package/styled-components/cjs/components/Select/elements/InfiniteLoader/InfiniteLoader.styles.js +0 -24
  649. package/styled-components/cjs/components/Select/elements/Inner/Inner.js +0 -80
  650. package/styled-components/cjs/components/Select/elements/Inner/elements/Item/Item.js +0 -97
  651. package/styled-components/cjs/components/Select/elements/Inner/elements/Item/Item.styles.js +0 -63
  652. package/styled-components/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.js +0 -19
  653. package/styled-components/cjs/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.js +0 -25
  654. package/styled-components/cjs/components/Select/elements/Target/Target.js +0 -62
  655. package/styled-components/cjs/components/Select/elements/Target/elements/Button/Button.js +0 -58
  656. package/styled-components/cjs/components/Select/elements/Target/elements/Button/Button.styles.js +0 -30
  657. package/styled-components/cjs/components/Select/elements/Target/elements/Textfield/Textfield.js +0 -111
  658. package/styled-components/cjs/components/Select/elements/Target/elements/Textfield/Textfield.styles.js +0 -63
  659. package/styled-components/cjs/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.js +0 -21
  660. package/styled-components/cjs/components/Select/hooks/useKeyboardNavigation.js +0 -316
  661. package/styled-components/cjs/components/Select/hooks/usePathMaps.js +0 -33
  662. package/styled-components/cjs/components/Select/reducers/focusedChipIndexReducer.js +0 -38
  663. package/styled-components/cjs/components/Select/reducers/focusedPathReducer.js +0 -40
  664. package/styled-components/cjs/components/Select/reducers/index.js +0 -38
  665. package/styled-components/cjs/components/Select/reducers/pathReducer.js +0 -44
  666. package/styled-components/cjs/components/Select/utils/getButtonLabel.js +0 -43
  667. package/styled-components/cjs/components/Select/utils/getCorrectHeight.js +0 -12
  668. package/styled-components/cjs/components/Select/utils/getView.js +0 -26
  669. package/styled-components/cjs/components/Select/utils/initialItemsTransform.js +0 -18
  670. package/styled-components/cjs/components/Select/utils/sizeToIconSize.js +0 -10
  671. package/styled-components/cjs/components/Select/utils/updateAncestors.js +0 -31
  672. package/styled-components/cjs/components/Select/utils/updateDescendants.js +0 -15
  673. package/styled-components/cjs/components/Select/utils/updateSingleAncestors.js +0 -12
  674. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureDownCentered.js +0 -32
  675. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureRightCentered.js +0 -30
  676. package/styled-components/cjs/components/_Icon/Icons/IconDisclosureDownCentered.js +0 -22
  677. package/styled-components/cjs/components/_Icon/Icons/IconDisclosureRightCentered.js +0 -22
  678. package/styled-components/cjs/examples/plasma_b2c/components/Select/style.css +0 -38
  679. package/styled-components/cjs/examples/plasma_web/components/Select/style.css +0 -38
  680. package/styled-components/cjs/hooks/useOutsideClick.js +0 -24
  681. package/styled-components/cjs/utils/isEmpty.js +0 -47
  682. package/styled-components/es/components/Select/elements/InfiniteLoader/InfiniteLoader.js +0 -11
  683. package/styled-components/es/components/Select/elements/InfiniteLoader/InfiniteLoader.styles.js +0 -17
  684. package/styled-components/es/components/Select/elements/Inner/Inner.js +0 -73
  685. package/styled-components/es/components/Select/elements/Inner/elements/Item/Item.js +0 -88
  686. package/styled-components/es/components/Select/elements/Inner/elements/Item/Item.styles.js +0 -56
  687. package/styled-components/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.js +0 -12
  688. package/styled-components/es/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.js +0 -18
  689. package/styled-components/es/components/Select/elements/Target/Target.js +0 -55
  690. package/styled-components/es/components/Select/elements/Target/elements/Button/Button.js +0 -51
  691. package/styled-components/es/components/Select/elements/Target/elements/Button/Button.styles.js +0 -23
  692. package/styled-components/es/components/Select/elements/Target/elements/Textfield/Textfield.js +0 -104
  693. package/styled-components/es/components/Select/elements/Target/elements/Textfield/Textfield.styles.js +0 -56
  694. package/styled-components/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.js +0 -28
  695. package/styled-components/es/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.js +0 -14
  696. package/styled-components/es/components/Select/hooks/useKeyboardNavigation.js +0 -310
  697. package/styled-components/es/components/Select/hooks/usePathMaps.js +0 -27
  698. package/styled-components/es/components/Select/reducers/focusedChipIndexReducer.js +0 -32
  699. package/styled-components/es/components/Select/reducers/focusedPathReducer.js +0 -34
  700. package/styled-components/es/components/Select/reducers/index.js +0 -3
  701. package/styled-components/es/components/Select/reducers/pathReducer.js +0 -38
  702. package/styled-components/es/components/Select/utils/getButtonLabel.js +0 -37
  703. package/styled-components/es/components/Select/utils/getCorrectHeight.js +0 -6
  704. package/styled-components/es/components/Select/utils/getView.js +0 -20
  705. package/styled-components/es/components/Select/utils/initialItemsTransform.js +0 -12
  706. package/styled-components/es/components/Select/utils/sizeToIconSize.js +0 -4
  707. package/styled-components/es/components/Select/utils/updateAncestors.js +0 -25
  708. package/styled-components/es/components/Select/utils/updateDescendants.js +0 -9
  709. package/styled-components/es/components/Select/utils/updateSingleAncestors.js +0 -6
  710. package/styled-components/es/components/_Icon/Icon.assets/DisclosureDownCentered.js +0 -25
  711. package/styled-components/es/components/_Icon/Icon.assets/DisclosureRightCentered.js +0 -23
  712. package/styled-components/es/components/_Icon/Icons/IconDisclosureDownCentered.js +0 -15
  713. package/styled-components/es/components/_Icon/Icons/IconDisclosureRightCentered.js +0 -15
  714. package/styled-components/es/examples/plasma_b2c/components/Select/style.css +0 -38
  715. package/styled-components/es/examples/plasma_web/components/Select/style.css +0 -38
  716. package/styled-components/es/hooks/useOutsideClick.js +0 -18
  717. package/styled-components/es/utils/isEmpty.js +0 -42
  718. package/types/components/Combobox/Select.types.d.ts +0 -99
  719. package/types/components/Combobox/Select.types.d.ts.map +0 -1
  720. package/types/components/Combobox/hooks/useKeyNavigation.d.ts.map +0 -1
  721. package/types/components/Select/elements/InfiniteLoader/InfiniteLoader.d.ts +0 -6
  722. package/types/components/Select/elements/InfiniteLoader/InfiniteLoader.d.ts.map +0 -1
  723. package/types/components/Select/elements/InfiniteLoader/InfiniteLoader.styles.d.ts +0 -29
  724. package/types/components/Select/elements/InfiniteLoader/InfiniteLoader.styles.d.ts.map +0 -1
  725. package/types/components/Select/elements/Inner/Inner.d.ts +0 -4
  726. package/types/components/Select/elements/Inner/Inner.d.ts.map +0 -1
  727. package/types/components/Select/elements/Inner/Inner.type.d.ts +0 -13
  728. package/types/components/Select/elements/Inner/Inner.type.d.ts.map +0 -1
  729. package/types/components/Select/elements/Inner/elements/Item/Item.d.ts +0 -4
  730. package/types/components/Select/elements/Inner/elements/Item/Item.d.ts.map +0 -1
  731. package/types/components/Select/elements/Inner/elements/Item/Item.styles.d.ts +0 -18
  732. package/types/components/Select/elements/Inner/elements/Item/Item.styles.d.ts.map +0 -1
  733. package/types/components/Select/elements/Inner/elements/Item/Item.types.d.ts +0 -58
  734. package/types/components/Select/elements/Inner/elements/Item/Item.types.d.ts.map +0 -1
  735. package/types/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.d.ts +0 -4
  736. package/types/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.d.ts.map +0 -1
  737. package/types/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.styles.d.ts.map +0 -1
  738. package/types/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.types.d.ts +0 -8
  739. package/types/components/Select/elements/SelectNotFoundContent/SelectNotFoundContent.types.d.ts.map +0 -1
  740. package/types/components/Select/elements/Target/Target.d.ts +0 -4
  741. package/types/components/Select/elements/Target/Target.d.ts.map +0 -1
  742. package/types/components/Select/elements/Target/Target.types.d.ts +0 -14
  743. package/types/components/Select/elements/Target/Target.types.d.ts.map +0 -1
  744. package/types/components/Select/elements/Target/elements/Button/Button.d.ts +0 -4
  745. package/types/components/Select/elements/Target/elements/Button/Button.d.ts.map +0 -1
  746. package/types/components/Select/elements/Target/elements/Button/Button.styles.d.ts +0 -49
  747. package/types/components/Select/elements/Target/elements/Button/Button.styles.d.ts.map +0 -1
  748. package/types/components/Select/elements/Target/elements/Button/Button.types.d.ts +0 -4
  749. package/types/components/Select/elements/Target/elements/Button/Button.types.d.ts.map +0 -1
  750. package/types/components/Select/elements/Target/elements/Textfield/Textfield.d.ts +0 -4
  751. package/types/components/Select/elements/Target/elements/Textfield/Textfield.d.ts.map +0 -1
  752. package/types/components/Select/elements/Target/elements/Textfield/Textfield.styles.d.ts +0 -60
  753. package/types/components/Select/elements/Target/elements/Textfield/Textfield.styles.d.ts.map +0 -1
  754. package/types/components/Select/elements/Target/elements/Textfield/Textfield.types.d.ts +0 -4
  755. package/types/components/Select/elements/Target/elements/Textfield/Textfield.types.d.ts.map +0 -1
  756. package/types/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.d.ts +0 -9
  757. package/types/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.d.ts.map +0 -1
  758. package/types/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.d.ts +0 -3
  759. package/types/components/Select/elements/Target/elements/Textfield/elements/Chip/Chip.styles.d.ts.map +0 -1
  760. package/types/components/Select/hooks/useKeyboardNavigation.d.ts +0 -43
  761. package/types/components/Select/hooks/useKeyboardNavigation.d.ts.map +0 -1
  762. package/types/components/Select/hooks/usePathMaps.d.ts +0 -8
  763. package/types/components/Select/hooks/usePathMaps.d.ts.map +0 -1
  764. package/types/components/Select/reducers/focusedChipIndexReducer.d.ts +0 -11
  765. package/types/components/Select/reducers/focusedChipIndexReducer.d.ts.map +0 -1
  766. package/types/components/Select/reducers/focusedPathReducer.d.ts +0 -16
  767. package/types/components/Select/reducers/focusedPathReducer.d.ts.map +0 -1
  768. package/types/components/Select/reducers/index.d.ts +0 -4
  769. package/types/components/Select/reducers/index.d.ts.map +0 -1
  770. package/types/components/Select/reducers/pathReducer.d.ts +0 -20
  771. package/types/components/Select/reducers/pathReducer.d.ts.map +0 -1
  772. package/types/components/Select/utils/getButtonLabel.d.ts +0 -3
  773. package/types/components/Select/utils/getButtonLabel.d.ts.map +0 -1
  774. package/types/components/Select/utils/getCorrectHeight.d.ts +0 -3
  775. package/types/components/Select/utils/getCorrectHeight.d.ts.map +0 -1
  776. package/types/components/Select/utils/getView.d.ts +0 -3
  777. package/types/components/Select/utils/getView.d.ts.map +0 -1
  778. package/types/components/Select/utils/initialItemsTransform.d.ts +0 -3
  779. package/types/components/Select/utils/initialItemsTransform.d.ts.map +0 -1
  780. package/types/components/Select/utils/sizeToIconSize.d.ts +0 -3
  781. package/types/components/Select/utils/sizeToIconSize.d.ts.map +0 -1
  782. package/types/components/Select/utils/updateAncestors.d.ts +0 -4
  783. package/types/components/Select/utils/updateAncestors.d.ts.map +0 -1
  784. package/types/components/Select/utils/updateDescendants.d.ts +0 -4
  785. package/types/components/Select/utils/updateDescendants.d.ts.map +0 -1
  786. package/types/components/Select/utils/updateSingleAncestors.d.ts +0 -4
  787. package/types/components/Select/utils/updateSingleAncestors.d.ts.map +0 -1
  788. package/types/components/_Icon/Icon.assets/DisclosureDownCentered.d.ts +0 -4
  789. package/types/components/_Icon/Icon.assets/DisclosureDownCentered.d.ts.map +0 -1
  790. package/types/components/_Icon/Icon.assets/DisclosureRightCentered.d.ts +0 -4
  791. package/types/components/_Icon/Icon.assets/DisclosureRightCentered.d.ts.map +0 -1
  792. package/types/components/_Icon/Icons/IconDisclosureDownCentered.d.ts +0 -4
  793. package/types/components/_Icon/Icons/IconDisclosureDownCentered.d.ts.map +0 -1
  794. package/types/components/_Icon/Icons/IconDisclosureRightCentered.d.ts +0 -4
  795. package/types/components/_Icon/Icons/IconDisclosureRightCentered.d.ts.map +0 -1
  796. package/types/hooks/useOutsideClick.d.ts +0 -3
  797. package/types/hooks/useOutsideClick.d.ts.map +0 -1
  798. package/types/utils/isEmpty.d.ts +0 -3
  799. package/types/utils/isEmpty.d.ts.map +0 -1
  800. /package/cjs/components/{Combobox → Select}/hooks/useKeyNavigation.js +0 -0
  801. /package/es/components/{Combobox → Select}/hooks/useKeyNavigation.js +0 -0
  802. /package/styled-components/cjs/components/{Combobox → Select}/hooks/useKeyNavigation.js +0 -0
  803. /package/styled-components/cjs/components/{Combobox/Select.types.js → Select/ui/SelectChip/SelectChip.types.js} +0 -0
  804. /package/styled-components/cjs/components/Select/{elements/Inner/Inner.type.js → ui/SelectDivider/SelectDivider.types.js} +0 -0
  805. /package/styled-components/cjs/components/Select/{elements/Inner/elements/Item/Item.types.js → ui/SelectFooter/SelectFooter.type.js} +0 -0
  806. /package/styled-components/cjs/components/Select/{elements/SelectNotFoundContent/SelectNotFoundContent.types.js → ui/SelectGroup/SelectGroup.type.js} +0 -0
  807. /package/styled-components/cjs/components/Select/{elements/Target/Target.types.js → ui/SelectHeader/SelectHeader.type.js} +0 -0
  808. /package/styled-components/cjs/components/Select/{elements/Target/elements/Button/Button.types.js → ui/SelectItem/SelectItem.type.js} +0 -0
  809. /package/styled-components/cjs/components/Select/{elements/Target/elements/Textfield/Textfield.types.js → ui/SelectTarget/SelectTarget.types.js} +0 -0
  810. /package/styled-components/es/components/{Combobox → Select}/hooks/useKeyNavigation.js +0 -0
  811. /package/styled-components/es/components/{Combobox/Select.types.js → Select/ui/SelectChip/SelectChip.types.js} +0 -0
  812. /package/styled-components/es/components/Select/{elements/Inner/Inner.type.js → ui/SelectDivider/SelectDivider.types.js} +0 -0
  813. /package/styled-components/es/components/Select/{elements/Inner/elements/Item/Item.types.js → ui/SelectFooter/SelectFooter.type.js} +0 -0
  814. /package/styled-components/es/components/Select/{elements/SelectNotFoundContent/SelectNotFoundContent.types.js → ui/SelectGroup/SelectGroup.type.js} +0 -0
  815. /package/styled-components/es/components/Select/{elements/Target/Target.types.js → ui/SelectHeader/SelectHeader.type.js} +0 -0
  816. /package/styled-components/es/components/Select/{elements/Target/elements/Button/Button.types.js → ui/SelectItem/SelectItem.type.js} +0 -0
  817. /package/styled-components/es/components/Select/{elements/Target/elements/Textfield/Textfield.types.js → ui/SelectTarget/SelectTarget.types.js} +0 -0
  818. /package/types/components/{Combobox → Select}/hooks/useKeyNavigation.d.ts +0 -0
@@ -21,12 +21,6 @@ Object.defineProperty(exports, "useIsomorphicLayoutEffect", {
21
21
  return _useIsomorphicLayoutEffect.useIsomorphicLayoutEffect;
22
22
  }
23
23
  });
24
- Object.defineProperty(exports, "useOutsideClick", {
25
- enumerable: true,
26
- get: function get() {
27
- return _useOutsideClick.useOutsideClick;
28
- }
29
- });
30
24
  Object.defineProperty(exports, "usePreviousValue", {
31
25
  enumerable: true,
32
26
  get: function get() {
@@ -43,5 +37,4 @@ var _useUniqId = /*#__PURE__*/require("./useUniqId");
43
37
  var _usePreviousValue = /*#__PURE__*/require("./usePreviousValue");
44
38
  var _useForceUpdate = /*#__PURE__*/require("./useForceUpdate");
45
39
  var _useDidMountEffect = /*#__PURE__*/require("./useDidMountEffect");
46
- var _useOutsideClick = /*#__PURE__*/require("./useOutsideClick");
47
40
  var _useIsomorphicLayoutEffect = /*#__PURE__*/require("./useIsomorphicLayoutEffect");
@@ -28,12 +28,6 @@ Object.defineProperty(exports, "getSizeValueFromProp", {
28
28
  return _getSizeValueFromProp.getSizeValueFromProp;
29
29
  }
30
30
  });
31
- Object.defineProperty(exports, "isEmpty", {
32
- enumerable: true,
33
- get: function get() {
34
- return _isEmpty.isEmpty;
35
- }
36
- });
37
31
  Object.defineProperty(exports, "isNumber", {
38
32
  enumerable: true,
39
33
  get: function get() {
@@ -51,7 +45,6 @@ var _extractTextFrom = /*#__PURE__*/require("./extractTextFrom");
51
45
  var _getSizeValueFromProp = /*#__PURE__*/require("./getSizeValueFromProp");
52
46
  var _react = /*#__PURE__*/require("./react");
53
47
  var _isNumber = /*#__PURE__*/require("./isNumber");
54
- var _isEmpty = /*#__PURE__*/require("./isEmpty");
55
48
  var cx = exports.cx = function cx() {
56
49
  for (var _len = arguments.length, classes = new Array(_len), _key = 0; _key < _len; _key++) {
57
50
  classes[_key] = arguments[_key];
@@ -39,10 +39,10 @@ export var StyledContentLeft = /*#__PURE__*/styled.div.withConfig({
39
39
  export var StyledContentRight = /*#__PURE__*/styled.div.withConfig({
40
40
  componentId: "plasma-new-hope__sc-9d9bqj-6"
41
41
  })(["display:flex;margin:var(", ");"], tokens.buttonRightContentMargin);
42
- export var base = /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n position: relative;\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n justify-content: center;\n\n appearance: none;\n border: none;\n cursor: pointer;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n a& {\n text-decoration: none;\n }\n\n /* NOTE:\n --plasma_computed-btn-br-radius is defined in Button.tsx\n */\n --plasma_private-btn-br: var(--plasma_computed-btn-br);\n border-radius: var(--plasma_private-btn-br);\n\n &&.", " {\n width: var(", ");\n padding: 0;\n }\n"])), /*#__PURE__*/String(classes.buttonSquare), tokens.buttonHeight);
42
+ export var base = /*#__PURE__*/css(_templateObject || (_templateObject = /*#__PURE__*/_taggedTemplateLiteral(["\n position: relative;\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n justify-content: center;\n\n appearance: none;\n border: none;\n cursor: pointer;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n a& {\n text-decoration: none;\n }\n\n /* NOTE: \n --plasma_computed-btn-br-radius is defined in Button.tsx\n */\n --plasma_private-btn-br: var(--plasma_computed-btn-br);\n border-radius: var(--plasma_private-btn-br);\n\n &&.", " {\n width: var(", ");\n padding: 0;\n }\n"])), /*#__PURE__*/String(classes.buttonSquare), tokens.buttonHeight);
43
43
 
44
44
  // INFO: Для возможности переиспользования стилей в других компонентах
45
- export var baseContent = /*#__PURE__*/"\n position: relative;\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n justify-content: center;\n\n appearance: none;\n border: none;\n cursor: pointer;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n a& {\n text-decoration: none;\n }\n\n /* NOTE:\n --plasma_computed-btn-br-radius is defined in Button.tsx\n */\n --plasma_private-btn-br: var(--plasma_computed-btn-br);\n border-radius: var(--plasma_private-btn-br);\n\n &&.".concat(String(classes.buttonSquare), " {\n width: var(").concat(tokens.buttonHeight, ");\n padding: 0;\n }\n\n color: var(").concat(tokens.buttonColor, ");\n background-color: var(").concat(tokens.buttonBackgroundColor, ");\n\n :hover {\n color: var(").concat(tokens.buttonColorHover, ", var(").concat(tokens.buttonColor, "));\n background-color: var(").concat(tokens.buttonBackgroundColorHover, ", var(").concat(tokens.buttonBackgroundColor, "));\n\n scale: var(").concat(tokens.buttonScaleHover, ");\n }\n\n :active {\n color: var(").concat(tokens.buttonColorActive, ", var(").concat(tokens.buttonColor, "));\n background-color: var(").concat(tokens.buttonBackgroundColorActive, ", var(").concat(tokens.buttonBackgroundColor, "));\n\n scale: var(").concat(tokens.buttonScaleActive, ");\n }\n\n height: var(").concat(tokens.buttonHeight, ");\n width: var(").concat(tokens.buttonWidth, ");\n\n /* TODO: #714 move these calc's to plasma-mapping | ds-generator and add Math.round() */\n padding: 0 var(").concat(tokens.buttonPadding, ", calc(var(").concat(tokens.buttonHeight, ") * 1.618 / 4));\n\n font-family: var(").concat(tokens.buttonFontFamily, ");\n font-size: var(").concat(tokens.buttonFontSize, ");\n font-style: var(").concat(tokens.buttonFontStyle, ");\n font-weight: var(").concat(tokens.buttonFontWeight, ");\n letter-spacing: var(").concat(tokens.buttonLetterSpacing, ");\n line-height: var(").concat(tokens.buttonLineHeight, ");\n\n /* TODO: #710 make it token API ? */\n --plasma_private-btn-outline-size: var(--plasma-button-outline-size, 0.0625rem);\n\n :focus {\n outline: none;\n }\n\n ").concat(addFocus({
45
+ export var baseContent = /*#__PURE__*/"\n position: relative;\n display: inline-flex;\n align-items: center;\n box-sizing: border-box;\n justify-content: center;\n\n appearance: none;\n border: none;\n cursor: pointer;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n a& {\n text-decoration: none;\n }\n\n /* NOTE: \n --plasma_computed-btn-br-radius is defined in Button.tsx\n */\n --plasma_private-btn-br: var(--plasma_computed-btn-br);\n border-radius: var(--plasma_private-btn-br);\n\n &&.".concat(String(classes.buttonSquare), " {\n width: var(").concat(tokens.buttonHeight, ");\n padding: 0;\n }\n\n color: var(").concat(tokens.buttonColor, ");\n background-color: var(").concat(tokens.buttonBackgroundColor, ");\n\n :hover {\n color: var(").concat(tokens.buttonColorHover, ", var(").concat(tokens.buttonColor, "));\n background-color: var(").concat(tokens.buttonBackgroundColorHover, ", var(").concat(tokens.buttonBackgroundColor, "));\n\n scale: var(").concat(tokens.buttonScaleHover, ");\n }\n\n :active {\n color: var(").concat(tokens.buttonColorActive, ", var(").concat(tokens.buttonColor, "));\n background-color: var(").concat(tokens.buttonBackgroundColorActive, ", var(").concat(tokens.buttonBackgroundColor, "));\n\n scale: var(").concat(tokens.buttonScaleActive, ");\n }\n\n height: var(").concat(tokens.buttonHeight, ");\n width: var(").concat(tokens.buttonWidth, ");\n\n /* TODO: #714 move these calc's to plasma-mapping | ds-generator and add Math.round() */\n padding: 0 var(").concat(tokens.buttonPadding, ", calc(var(").concat(tokens.buttonHeight, ") * 1.618 / 4));\n\n font-family: var(").concat(tokens.buttonFontFamily, ");\n font-size: var(").concat(tokens.buttonFontSize, ");\n font-style: var(").concat(tokens.buttonFontStyle, ");\n font-weight: var(").concat(tokens.buttonFontWeight, ");\n letter-spacing: var(").concat(tokens.buttonLetterSpacing, ");\n line-height: var(").concat(tokens.buttonLineHeight, ");\n\n /* TODO: #710 make it token API ? */\n --plasma_private-btn-outline-size: var(--plasma-button-outline-size, 0.0625rem);\n\n :focus {\n outline: none;\n }\n\n ").concat(addFocus({
46
46
  outlineOffset: '-0.125rem',
47
47
  outlineSize: 'var(--plasma_private-btn-outline-size)',
48
48
  outlineRadius: 'calc(0.125rem + var(--plasma_private-btn-br))',
@@ -86,7 +86,7 @@ import { Button } from '@salutejs/{{package}}';
86
86
 
87
87
  export function App() {
88
88
  return (
89
- <div style={{ display: "flex", flexDirection: "column", gap: "1rem" }}>
89
+ <div style=\{{ display: "flex", flexDirection: "column", gap: "1rem" }}>
90
90
  <Button text="Button" stretching="fixed" />
91
91
  <Button text="Button" stretching="auto" />
92
92
  <Button text="Button" stretching="filled" />
@@ -99,7 +99,7 @@ export function App() {
99
99
  Позиционирование контента внутри кнопки регулируется с помощью свойства `contentPlacing`.
100
100
  Возможные значения свойства `contentPlacing`:
101
101
  + `default` – контент центрируется;
102
- + `relaxed` – контент распологается по краям.
102
+ + `relaxed` – контент располагается по краям.
103
103
 
104
104
  ```tsx live
105
105
  import React from 'react';
@@ -107,7 +107,7 @@ import { Button } from '@salutejs/{{package}}';
107
107
 
108
108
  export function App() {
109
109
  return (
110
- <div style={{ display: "flex", flexDirection: "column", gap: "1rem" }}>
110
+ <div style=\{{ display: "flex", flexDirection: "column", gap: "1rem" }}>
111
111
  <Button text="Hello" value="Plasma" stretching="filled" contentPlacing="default" />
112
112
  <Button text="Hello" value="Plasma" stretching="filled" contentPlacing="relaxed" />
113
113
  </div>
@@ -17,8 +17,6 @@ export var tokens = {
17
17
  focusColor: '--plasma-chip-focus-color',
18
18
  outlineSize: '--plasma-chip-outline-size',
19
19
  closeIconColor: '--plasma-chip-close-icon-color',
20
- closeIconColorHover: '--plasma-chip-close-icon-color-hover',
21
- closeIconColorActive: '--plasma-chip-close-icon-color-active',
22
20
  borderRadius: '--plasma-chip-border-radius',
23
21
  pilledBorderRadius: '--plasma-chip-pilled-border-radius',
24
22
  width: '--plasma-chip-width',
@@ -12,9 +12,9 @@ import React, { Children, forwardRef, useEffect, useRef, useState } from 'react'
12
12
  import { safeUseId, useForkRef } from '@salutejs/plasma-core';
13
13
  import { cx } from '../../utils';
14
14
  import { getPlacements } from '../Dropdown/utils';
15
+ import { getChildren, getNewSelected, getValues } from '../Select/utils';
16
+ import { useKeyNavigation } from '../Select/hooks';
15
17
  import { useDidMountEffect, useForceUpdate } from '../../hooks';
16
- import { getChildren, getNewSelected, getValues } from './utils';
17
- import { useKeyNavigation } from './hooks';
18
18
  import { base as viewCSS } from './variations/_view/base';
19
19
  import { base as sizeCSS } from './variations/_size/base';
20
20
  import { ComboboxTarget } from './ui';
@@ -1,2 +1 @@
1
- export { useFocusController } from './useFocusController';
2
- export { useKeyNavigation, Keys } from './useKeyNavigation';
1
+ export { useFocusController } from './useFocusController';
@@ -12,7 +12,8 @@ import React, { forwardRef, useRef, useState } from 'react';
12
12
  import { classes } from '../../Combobox.tokens';
13
13
  import { cx } from '../../../../utils';
14
14
  import { ComboboxChip } from '../ComboboxChip/ComboboxChip';
15
- import { useFocusController, Keys } from '../../hooks';
15
+ import { useFocusController } from '../../hooks';
16
+ import { Keys } from '../../../Select/hooks/useKeyNavigation';
16
17
  import { StyledArrow, StyledChips, StyledContent, StyledLabel, StyledComboboxInput, StyledComboboxInputHelper, StyledComboboxTarget, StyledText } from './ComboboxTarget.styles';
17
18
  var hasChips = classes.hasChips,
18
19
  innerLabelUp = classes.innerLabelUp,
@@ -1,10 +1,5 @@
1
- function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
2
- function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
3
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
4
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
5
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
6
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
7
- import React, { cloneElement, isValidElement, Children } from 'react';
2
+ import React, { cloneElement, isValidElement } from 'react';
8
3
  var isReactObject = function isReactObject(element) {
9
4
  return _typeof(element) === 'object' || typeof element === 'function';
10
5
  };
@@ -17,103 +12,4 @@ export var getValidComponent = function getValidComponent(element, props) {
17
12
  return /*#__PURE__*/React.createElement(Component, props);
18
13
  }
19
14
  return element;
20
- };
21
- export var getNewSelected = function getNewSelected(selected, newValue, type) {
22
- if (newValue === undefined || newValue === null) {
23
- return newValue;
24
- }
25
- if ((type === 'single' || type === 'native') && (typeof newValue === 'string' || typeof newValue === 'number' || typeof newValue === 'boolean')) {
26
- return newValue;
27
- }
28
- var newSelected = selected || [];
29
- var set = new Set(newSelected);
30
- if (set.has(newValue)) {
31
- set["delete"](newValue);
32
- } else {
33
- set.add(newValue);
34
- }
35
- return Array.from(set);
36
- };
37
- var getChildrenInnerText = function getChildrenInnerText(children) {
38
- if (!children || typeof children === 'string') {
39
- return children;
40
- }
41
- return getChildrenInnerText(children.props.children);
42
- };
43
- export var getValues = function getValues(items, value) {
44
- var result = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : [];
45
- items.forEach(function (item) {
46
- if (item.props === undefined) {
47
- return result;
48
- }
49
- var newValue = item.props.value;
50
- if (item.props.children && Array.isArray(item.props.children)) {
51
- return getValues(item.props.children, value, result);
52
- }
53
- if (!Array.isArray(value) && newValue === value || Array.isArray(value) && value !== null && value !== void 0 && value.find(function (v) {
54
- return newValue === v;
55
- })) {
56
- var index = Array.isArray(value) && (value === null || value === void 0 ? void 0 : value.findIndex(function (v) {
57
- return newValue === v;
58
- })) || 0;
59
- if (item.props.text) {
60
- var _newText = item.props.text;
61
- result[index] = [newValue, _newText];
62
- return;
63
- }
64
- var newText = getChildrenInnerText(item.props.children);
65
- result[index] = [newValue, newText];
66
- }
67
- return result;
68
- });
69
- return result;
70
- };
71
- var getChildrenItemChecked = function getChildrenItemChecked(value, child) {
72
- return !Array.isArray(value) && (child === null || child === void 0 ? void 0 : child.props.value) === value || Array.isArray(value) && Boolean(value === null || value === void 0 ? void 0 : value.find(function (v) {
73
- return (child === null || child === void 0 ? void 0 : child.props.value) === v;
74
- }));
75
- };
76
-
77
- // INFO: Функция для рекурсивного обновления пропсов
78
- export var updatePropsRecursively = function updatePropsRecursively(children, externalProps, value, search, filterFunction) {
79
- return Children.map(children || [], function (child) {
80
- if (! /*#__PURE__*/isValidElement(child)) {
81
- return child;
82
- }
83
- var hasValue = ('value' in (child === null || child === void 0 ? void 0 : child.props));
84
- var props = _objectSpread({
85
- key: "".concat(value, "$"),
86
- checked: getChildrenItemChecked(value, child)
87
- }, hasValue && {
88
- ref: function ref(element) {
89
- var _externalProps$childr;
90
- if (externalProps !== null && externalProps !== void 0 && (_externalProps$childr = externalProps.childrenRefs) !== null && _externalProps$childr !== void 0 && _externalProps$childr.current && element) {
91
- externalProps.childrenRefs.current.push(element);
92
- }
93
- },
94
- onClick: function onClick(event) {
95
- var _child$props$onClick, _child$props, _externalProps$onClic;
96
- (_child$props$onClick = (_child$props = child.props).onClick) === null || _child$props$onClick === void 0 || _child$props$onClick.call(_child$props, event);
97
- externalProps === null || externalProps === void 0 || (_externalProps$onClic = externalProps.onClick) === null || _externalProps$onClic === void 0 || _externalProps$onClic.call(externalProps, event);
98
- }
99
- });
100
- var updatedChild = updatePropsRecursively(child.props.children, externalProps, value, search, filterFunction);
101
- if (filterFunction) {
102
- var _child$props2;
103
- var text = ((_child$props2 = child.props) === null || _child$props2 === void 0 ? void 0 : _child$props2.text) || '';
104
- return filterFunction(text, search) ? /*#__PURE__*/cloneElement(child, props, updatedChild) : null;
105
- }
106
- return /*#__PURE__*/cloneElement(child, props, updatedChild);
107
- });
108
- };
109
- var defaultFilterFunction = function defaultFilterFunction(text) {
110
- var filterValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
111
- return text.includes(filterValue);
112
- };
113
- export var getChildren = function getChildren(children, externalProps, value, search) {
114
- var filterFunction = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : defaultFilterFunction;
115
- if (externalProps.childrenRefs) {
116
- externalProps.childrenRefs.current = [];
117
- }
118
- return updatePropsRecursively(children, externalProps, value, search, filterFunction);
119
15
  };
@@ -12,52 +12,24 @@ export var tokens = {
12
12
  borderRadius: '--plasma-dropdown-border-radius',
13
13
  padding: '--plasma-dropdown-padding',
14
14
  disclosureIconColor: '--plasma-dropdown-disclosure-icon-color',
15
- disabledOpacity: '--plasma-dropdown-disabled-opacity',
16
- focusColor: '--plasma-dropdown-focus-color',
17
15
  itemBackground: '--plasma-dropdown-item-background',
18
- itemBackgroundHover: '--plasma-dropdown-item-background-hover',
19
- itemBackgroundSelected: '--plasma-dropdown-item-background-selected',
20
- // Old
21
- itemBackgroundSelectedHover: '--plasma-dropdown-item-background-selected-hover',
22
- // Old
23
16
  itemColor: '--plasma-dropdown-item-color',
24
- itemColorSelected: '--plasma-dropdown-item-color-selected',
25
- // Old
26
- itemColorSelectedHover: '--plasma-dropdown-item-color-selected-hover',
27
- // Old
17
+ itemBackgroundHover: '--plasma-dropdown-item-background-hover',
28
18
  itemBorderRadius: '--plasma-dropdown-item-border-radius',
29
- itemWidth: '--plasma-dropdown-item-width',
30
- // Old
31
- itemHeight: '--plasma-dropdown-item-height',
32
- // Old
33
- itemMarginTop: '--plasma-dropdown-item-margin-top',
34
- // Old
35
- itemMarginRight: '--plasma-dropdown-item-margin-right',
36
- // Old
37
- itemMarginBottom: '--plasma-dropdown-item-margin-bottom',
38
- // Old
39
- itemMarginLeft: '--plasma-dropdown-item-margin-left',
40
- // Old
41
19
  itemPaddingTop: '--plasma-dropdown-item-padding-top',
42
20
  itemPaddingTopTight: '--plasma-dropdown-item-padding-top-tight',
43
21
  itemPaddingRight: '--plasma-dropdown-item-padding-right',
44
22
  itemPaddingBottom: '--plasma-dropdown-item-padding-bottom',
45
23
  itemPaddingBottomTight: '--plasma-dropdown-item-padding-bottom-tight',
46
24
  itemPaddingLeft: '--plasma-dropdown-item-padding-left',
47
- itemContentLeftWidth: '--plasma-dropdown-item-content-left-width',
48
- // Old
49
- itemContentLeftColor: '--plasma-dropdown-item-content-left-color',
50
- // Old
51
- itemContentRightWidth: '--plasma-dropdown-item-content-right-width',
52
- // Old
53
- itemContentRightColor: '--plasma-dropdown-item-content-right-color',
54
- // Old
55
25
  itemFontFamily: '--plasma-dropdown-item-font-family',
56
26
  itemFontSize: '--plasma-dropdown-item-font-size',
57
27
  itemFontStyle: '--plasma-dropdown-item-font-style',
58
28
  itemFontWeightBold: '--plasma-dropdown-item-letter-spacing',
59
29
  itemFontLetterSpacing: '--plasma-dropdown-item-line-height',
60
30
  itemFontLineHeight: '--plasma-dropdown-item-font-weight',
31
+ disabledOpacity: '--plasma-dropdown-disabled-opacity',
32
+ focusColor: '--plasma-dropdown-focus-color',
61
33
  // TODO: Remove below tokens as soon as they are no longer needed
62
34
  footerBackground: '--plasma-dropdown-footer-background',
63
35
  footerWidth: '--plasma-dropdown-footer-width',
@@ -125,5 +97,19 @@ export var tokens = {
125
97
  groupLabelMarginTop: '--plasma-dropdown-group-label-margin-top',
126
98
  groupLabelMarginRight: '--plasma-dropdown-group-label-margin-right',
127
99
  groupLabelMarginBottom: '--plasma-dropdown-group-label-margin-bottom',
128
- groupLabelMarginLeft: '--plasma-dropdown-group-label-margin-left'
100
+ groupLabelMarginLeft: '--plasma-dropdown-group-label-margin-left',
101
+ itemBackgroundSelected: '--plasma-dropdown-item-background-selected',
102
+ itemColorSelected: '--plasma-dropdown-item-color-selected',
103
+ itemBackgroundSelectedHover: '--plasma-dropdown-item-background-selected-hover',
104
+ itemColorSelectedHover: '--plasma-dropdown-item-color-selected-hover',
105
+ itemContentLeftColor: '--plasma-dropdown-item-content-left-color',
106
+ itemContentRightColor: '--plasma-dropdown-item-content-right-color',
107
+ itemWidth: '--plasma-dropdown-item-width',
108
+ itemHeight: '--plasma-dropdown-item-height',
109
+ itemMarginTop: '--plasma-dropdown-item-margin-top',
110
+ itemMarginRight: '--plasma-dropdown-item-margin-right',
111
+ itemMarginBottom: '--plasma-dropdown-item-margin-bottom',
112
+ itemMarginLeft: '--plasma-dropdown-item-margin-left',
113
+ itemContentLeftWidth: '--plasma-dropdown-item-content-left-width',
114
+ itemContentRightWidth: '--plasma-dropdown-item-content-right-width'
129
115
  };
@@ -1,5 +1,5 @@
1
1
  var _PaginationShorter;
2
- var _excluded = ["value", "perPage", "slots", "view", "viewCurrentPage", "type", "size", "pilled", "square", "disabledPages", "count", "hasQuickJump", "hasPerPage", "perPageList", "isCommonButtonStyles", "placeholderQuickJump", "textQuickJump", "textPerPage", "leftContent", "rightContent", "listWidth", "onChangePageValue", "onChangePerPageValue"];
2
+ var _excluded = ["value", "perPage", "slots", "view", "viewCurrentPage", "type", "size", "pilled", "square", "disabledPages", "count", "hasQuickJump", "hasPerPage", "perPageList", "isCommonButtonStyles", "placeholderQuickJump", "textQuickJump", "textPerPage", "leftContent", "rightContent", "onChangePageValue", "onChangePerPageValue"];
3
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
4
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
5
5
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -55,7 +55,6 @@ export var paginationRoot = function paginationRoot(Root) {
55
55
  textPerPage = _ref$textPerPage === void 0 ? defaultValues.textPerPage : _ref$textPerPage,
56
56
  leftContent = _ref.leftContent,
57
57
  rightContent = _ref.rightContent,
58
- listWidth = _ref.listWidth,
59
58
  onChangePageValue = _ref.onChangePageValue,
60
59
  onChangePerPageValue = _ref.onChangePerPageValue,
61
60
  rest = _objectWithoutProperties(_ref, _excluded);
@@ -83,11 +82,7 @@ export var paginationRoot = function paginationRoot(Root) {
83
82
  return isNumber(el) ? Number(el) : null;
84
83
  });
85
84
  var handlerSetPages = function handlerSetPages(newPerPage) {
86
- if (newPerPage) {
87
- setPagesValue(Math.ceil(count / newPerPage));
88
- } else {
89
- setPagesValue(Math.ceil(count / (hasPerPage ? defaultValues.perPage : 1)));
90
- }
85
+ setPagesValue(Math.ceil(count / (newPerPage || (hasPerPage ? defaultValues.perPage : 1))));
91
86
  };
92
87
  var handlerSetPage = function handlerSetPage(newPageValue) {
93
88
  var pageValue = newPageValue !== null && newPageValue !== void 0 ? newPageValue : defaultValues.value;
@@ -159,11 +154,9 @@ export var paginationRoot = function paginationRoot(Root) {
159
154
  onChangeValue: handlerSetPage
160
155
  }), hasPerPage && /*#__PURE__*/React.createElement(PaginationSelectPerPage, {
161
156
  textPerPage: textPerPage,
162
- perPageValue: perPageValue,
163
- perPageList: perPageList,
164
- onChangeValue: handlerSetPerPage,
165
- size: size,
166
- listWidth: listWidth
157
+ value: perPageValue,
158
+ valuesList: perPageList,
159
+ onChangeValue: handlerSetPerPage
167
160
  }))));
168
161
  });
169
162
  };
@@ -22,10 +22,10 @@ export var PaginationSection = /*#__PURE__*/styled.div.withConfig({
22
22
  })(["display:flex;gap:0.125rem;"]);
23
23
  export var PaginationButtonGroup = /*#__PURE__*/styled(ButtonGroup).withConfig({
24
24
  componentId: "plasma-new-hope__sc-13na7gd-4"
25
- })(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");"], buttonGroupTokens.buttonColor, tokens.buttonColor, buttonGroupTokens.buttonBackgroundColor, tokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, tokens.buttonHoverColor, buttonGroupTokens.buttonBackgroundColorHover, tokens.buttonBackgroundColorHover, buttonGroupTokens.buttonColorActive, tokens.buttonActiveColor, buttonGroupTokens.buttonBackgroundColorActive, tokens.buttonBackgroundColorActive, buttonGroupTokens.buttonFontFamily, tokens.paginationFontFamily, buttonGroupTokens.buttonFontSize, tokens.paginationFontSize, buttonGroupTokens.buttonFontStyle, tokens.paginationFontStyle, buttonGroupTokens.buttonFontWeight, tokens.paginationFontWeight, buttonGroupTokens.buttonLetterSpacing, tokens.paginationLetterSpacing, buttonGroupTokens.buttonLineHeight, tokens.paginationLineHeight, buttonGroupTokens.buttonWidth, tokens.buttonWidth, buttonGroupTokens.buttonHeight, tokens.buttonHeight, buttonGroupTokens.buttonDefaultRadius, tokens.buttonRadius, buttonGroupTokens.buttonSideRadius, tokens.buttonRadius, buttonGroupTokens.buttonSegmentedRadius, tokens.buttonRadius, buttonGroupTokens.buttonRadiusCircle, tokens.buttonRadius);
25
+ })(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");"], buttonGroupTokens.buttonColor, tokens.buttonColor, buttonGroupTokens.buttonBackgroundColor, tokens.buttonBackgroundColor, buttonGroupTokens.buttonColorHover, tokens.buttonHoverColor, buttonGroupTokens.buttonBackgroundColorHover, tokens.buttonHoverBackgroundColor, buttonGroupTokens.buttonColorActive, tokens.buttonActiveColor, buttonGroupTokens.buttonBackgroundColorActive, tokens.buttonActiveBackgroundColor, buttonGroupTokens.buttonFontFamily, tokens.paginationFontFamily, buttonGroupTokens.buttonFontSize, tokens.paginationFontSize, buttonGroupTokens.buttonFontStyle, tokens.paginationFontStyle, buttonGroupTokens.buttonFontWeight, tokens.paginationFontWeight, buttonGroupTokens.buttonLetterSpacing, tokens.paginationLetterSpacing, buttonGroupTokens.buttonLineHeight, tokens.paginationLineHeight, buttonGroupTokens.buttonWidth, tokens.buttonWidth, buttonGroupTokens.buttonHeight, tokens.buttonHeight, buttonGroupTokens.buttonDefaultRadius, tokens.buttonRadius, buttonGroupTokens.buttonSideRadius, tokens.buttonRadius, buttonGroupTokens.buttonSegmentedRadius, tokens.buttonRadius, buttonGroupTokens.buttonRadiusCircle, tokens.buttonRadius);
26
26
  export var PaginationButton = /*#__PURE__*/styled(Button).withConfig({
27
27
  componentId: "plasma-new-hope__sc-13na7gd-5"
28
- })(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");&.", "{", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");}:focus{outline:none;}", ""], buttonTokens.buttonColor, tokens.buttonColor, buttonTokens.buttonBackgroundColor, tokens.buttonBackgroundColor, buttonTokens.buttonColorHover, tokens.buttonHoverColor, buttonTokens.buttonBackgroundColorHover, tokens.buttonBackgroundColorHover, buttonTokens.buttonColorActive, tokens.buttonActiveColor, buttonTokens.buttonBackgroundColorActive, tokens.buttonBackgroundColorActive, buttonTokens.buttonFontFamily, tokens.paginationFontFamily, buttonTokens.buttonFontSize, tokens.paginationFontSize, buttonTokens.buttonFontStyle, tokens.paginationFontStyle, buttonTokens.buttonFontWeight, tokens.paginationFontWeight, buttonTokens.buttonLetterSpacing, tokens.paginationLetterSpacing, buttonTokens.buttonLineHeight, tokens.paginationLineHeight, buttonTokens.buttonWidth, tokens.buttonWidth, buttonTokens.buttonHeight, tokens.buttonHeight, buttonTokens.buttonRadius, tokens.buttonRadius, buttonTokens.buttonDisabledOpacity, tokens.buttonDisabledOpacity, buttonTokens.buttonFocusColor, tokens.buttonFocusColor, classes.paginationPageButtonActive, buttonTokens.buttonColor, tokens.paginationCurrentButtonColor, buttonTokens.buttonBackgroundColor, tokens.paginationCurrentButtonBackgroundColor, buttonTokens.buttonColorHover, tokens.paginationCurrentButtonHoverColor, buttonTokens.buttonBackgroundColorHover, tokens.paginationCurrentButtonHoverBackgroundColor, buttonTokens.buttonColorActive, tokens.paginationCurrentButtonActiveColor, buttonTokens.buttonBackgroundColorActive, tokens.paginationCurrentButtonActiveBackgroundColor, /*#__PURE__*/addFocus({
28
+ })(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");&.", "{", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");}:focus{outline:none;}", ""], buttonTokens.buttonColor, tokens.buttonColor, buttonTokens.buttonBackgroundColor, tokens.buttonBackgroundColor, buttonTokens.buttonColorHover, tokens.buttonHoverColor, buttonTokens.buttonBackgroundColorHover, tokens.buttonHoverBackgroundColor, buttonTokens.buttonColorActive, tokens.buttonActiveColor, buttonTokens.buttonBackgroundColorActive, tokens.buttonActiveBackgroundColor, buttonTokens.buttonFontFamily, tokens.paginationFontFamily, buttonTokens.buttonFontSize, tokens.paginationFontSize, buttonTokens.buttonFontStyle, tokens.paginationFontStyle, buttonTokens.buttonFontWeight, tokens.paginationFontWeight, buttonTokens.buttonLetterSpacing, tokens.paginationLetterSpacing, buttonTokens.buttonLineHeight, tokens.paginationLineHeight, buttonTokens.buttonWidth, tokens.buttonWidth, buttonTokens.buttonHeight, tokens.buttonHeight, buttonTokens.buttonRadius, tokens.buttonRadius, buttonTokens.buttonDisabledOpacity, tokens.buttonDisabledOpacity, buttonTokens.buttonFocusColor, tokens.buttonFocusColor, classes.paginationPageButtonActive, buttonTokens.buttonColor, tokens.paginationCurrentButtonColor, buttonTokens.buttonBackgroundColor, tokens.paginationCurrentButtonBackgroundColor, buttonTokens.buttonColorHover, tokens.paginationCurrentButtonHoverColor, buttonTokens.buttonBackgroundColorHover, tokens.paginationCurrentButtonHoverBackgroundColor, buttonTokens.buttonColorActive, tokens.paginationCurrentButtonActiveColor, buttonTokens.buttonBackgroundColorActive, tokens.paginationCurrentButtonActiveBackgroundColor, /*#__PURE__*/addFocus({
29
29
  outlineOffset: 'calc(-1 * var(--plasma_private-btn-outline-size))',
30
30
  outlineSize: 'var(--plasma_private-btn-outline-size)',
31
31
  outlineRadius: 'var(--plasma_private-btn-br)',
@@ -17,18 +17,12 @@ export var tokens = {
17
17
  paginationWidth: '--plasma-pagination-width',
18
18
  paginationColor: '--plasma-pagination-color',
19
19
  buttonBackgroundColor: '--plasma-pagination-button-bg-color',
20
- buttonBackgroundColorHover: '--plasma-pagination-button-bg-color-hover',
21
- buttonBackgroundColorActive: '--plasma-pagination-button-bg-color-active',
22
20
  buttonColor: '--plasma-pagination-button-color',
23
- buttonColorHover: '--plasma-pagination-button-color-hover',
24
- buttonColorActive: '--plasma-pagination-button-color-active',
21
+ buttonHoverBackgroundColor: '--plasma-pagination-button-bg-color-hover',
25
22
  buttonHoverColor: '--plasma-pagination-button-color-hover',
23
+ buttonActiveBackgroundColor: '--plasma-pagination-button-bg-color-active',
26
24
  buttonActiveColor: '--plasma-pagination--button-color-active',
27
25
  buttonFocusColor: '--plasma-pagination--button-color-focus',
28
- buttonArrowColor: '--plasma-pagination--button-arrow-color',
29
- buttonArrowColorHover: '--plasma-pagination--button-arrow-color-hover',
30
- buttonArrowColorActive: '--plasma-pagination--button-arrow-color-active',
31
- buttonArrowMargin: '--plasma-pagination--button-arrow-margin',
32
26
  paginationCurrentButtonBackgroundColor: '--plasma-pagination-button-current-bg-color',
33
27
  paginationCurrentButtonColor: '--plasma-pagination-button-current-color',
34
28
  paginationCurrentButtonHoverBackgroundColor: '--plasma-pagination-button-current-bg-color-hover',
@@ -49,18 +43,26 @@ export var tokens = {
49
43
  paginationFontWeight: '--plasma-pagination-font-weight',
50
44
  paginationLetterSpacing: '--plasma-pagination-letter-spacing',
51
45
  paginationLineHeight: '--plasma-pagination-line-height',
46
+ selectWidth: '--plasma-pagination-select-width',
52
47
  selectHeight: '--plasma-pagination-select-height',
53
48
  selectPaddingTop: '--plasma-pagination-select-padding-top',
54
49
  selectPaddingRight: '--plasma-pagination-select-padding-right',
55
50
  selectPaddingBottom: '--plasma-pagination-select-padding-bottom',
56
51
  selectPaddingLeft: '--plasma-pagination-select-padding-left',
57
52
  selectBackgroundColor: '--plasma-pagination-select-bg-color',
53
+ selectItemWidth: '--plasma-pagination-select-item-width',
58
54
  selectItemHeight: '--plasma-pagination-select-item-height',
59
- selectItemPadding: '--plasma-pagination-select-item-padding',
55
+ selectItemPaddingTop: '--plasma-pagination-select-item-padding-top',
56
+ selectItemPaddingRight: '--plasma-pagination-select-item-padding-right',
57
+ selectItemPaddingBottom: '--plasma-pagination-select-item-padding-bottom',
58
+ selectItemPaddingLeft: '--plasma-pagination-select-item-padding-left',
60
59
  selectItemContentLeftWidth: '--plasma-pagination-select-item-content-left-width',
61
60
  selectItemBackground: '--plasma-pagination-select-item-bg-color',
62
61
  selectTargetArrowRight: '--plasma-pagination-select-target-arrow-right',
62
+ selectTargetWidth: '--plasma-pagination-select-target-width',
63
63
  selectTargetPadding: '--plasma-pagination-select-target-padding',
64
+ selectTargetPaddingHasChips: '--plasma-pagination-select-target-padding-has-chips',
65
+ selectTargetPaddingWithInput: '--plasma-pagination-select-target-padding-with-input',
64
66
  selectTargetInnerTop: '--plasma-pagination-select-target-inner-top',
65
67
  selectTargetLabelInnerTop: '--plasma-pagination-select-target-label-inner-top',
66
68
  inputBackgroundColor: '--plasma-pagination-input-bg-color',
@@ -1,39 +1,50 @@
1
- var _excluded = ["perPageValue", "perPageList", "textPerPage", "onChangeValue", "size", "listWidth"];
1
+ var _IconDone;
2
+ var _excluded = ["value", "valuesList", "textPerPage", "onChangeValue"];
3
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
4
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
5
+ 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); }
6
+ 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; }
7
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
8
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
2
9
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
3
10
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
4
- import React from 'react';
11
+ import React, { useState } from 'react';
12
+ import { IconDone } from '../../../../components/_Icon';
5
13
  import { defaultValues } from '../../utils';
6
14
  import { classes } from '../../Pagination.tokens';
7
- import { SelectPerPageRoot, SelectPerPageTypography, SelectPerPageSelect } from './PaginationSelectPerPage.styles';
15
+ import { SelectPerPageRoot, SelectPerPageTypography, SelectPerPageSelect, SelectPerPageSelectItem } from './PaginationSelectPerPage.styles';
8
16
  export var PaginationSelectPerPage = function PaginationSelectPerPage(_ref) {
9
- var _ref$perPageValue = _ref.perPageValue,
10
- perPageValue = _ref$perPageValue === void 0 ? defaultValues.perPage : _ref$perPageValue,
11
- _ref$perPageList = _ref.perPageList,
12
- perPageList = _ref$perPageList === void 0 ? defaultValues.perPageList : _ref$perPageList,
17
+ var _ref$value = _ref.value,
18
+ value = _ref$value === void 0 ? defaultValues.perPage : _ref$value,
19
+ _ref$valuesList = _ref.valuesList,
20
+ valuesList = _ref$valuesList === void 0 ? defaultValues.perPageList : _ref$valuesList,
13
21
  _ref$textPerPage = _ref.textPerPage,
14
22
  textPerPage = _ref$textPerPage === void 0 ? defaultValues.textPerPage : _ref$textPerPage,
15
23
  onChangeValue = _ref.onChangeValue,
16
- size = _ref.size,
17
- listWidth = _ref.listWidth,
18
24
  rest = _objectWithoutProperties(_ref, _excluded);
25
+ var _useState = useState(value),
26
+ _useState2 = _slicedToArray(_useState, 2),
27
+ selectedValue = _useState2[0],
28
+ setSelectedValue = _useState2[1];
19
29
  var handleSelectChange = function handleSelectChange(newValue) {
20
30
  if (newValue) {
31
+ setSelectedValue(Number(newValue));
21
32
  onChangeValue === null || onChangeValue === void 0 || onChangeValue(Number(newValue));
22
33
  }
23
34
  };
24
- var transformedList = perPageList.map(function (num) {
25
- return {
26
- label: num.toString(),
27
- value: num.toString()
28
- };
29
- });
30
35
  return /*#__PURE__*/React.createElement(SelectPerPageRoot, rest, /*#__PURE__*/React.createElement(SelectPerPageTypography, null, textPerPage), /*#__PURE__*/React.createElement(SelectPerPageSelect, {
31
36
  className: classes.selectWrapper,
32
- items: transformedList,
33
- value: perPageValue.toString(),
34
- onChange: handleSelectChange,
35
- target: "button",
36
- size: size,
37
- listWidth: listWidth
38
- }));
37
+ value: selectedValue,
38
+ onChangeValue: handleSelectChange
39
+ }, valuesList === null || valuesList === void 0 ? void 0 : valuesList.map(function (item) {
40
+ return /*#__PURE__*/React.createElement(SelectPerPageSelectItem, {
41
+ contentLeft: item === selectedValue ? _IconDone || (_IconDone = /*#__PURE__*/React.createElement(IconDone, {
42
+ size: "xs",
43
+ color: "inherit"
44
+ })) : undefined,
45
+ key: item,
46
+ value: item,
47
+ text: String(item)
48
+ });
49
+ })));
39
50
  };
@@ -1,15 +1,20 @@
1
1
  import styled from 'styled-components';
2
- import { selectConfig, selectTokens } from '../../../Select';
2
+ import { selectConfig, selectTokens, selectItemConfig } from '../../../Select';
3
3
  import { component, mergeConfig } from '../../../../engines';
4
4
  import { tokens } from '../../Pagination.tokens';
5
5
  var mergedSelectConfig = /*#__PURE__*/mergeConfig(selectConfig);
6
6
  var Select = /*#__PURE__*/component(mergedSelectConfig);
7
+ var mergedItemConfig = /*#__PURE__*/mergeConfig(selectItemConfig);
8
+ export var SelectItem = /*#__PURE__*/component(mergedItemConfig);
7
9
  export var SelectPerPageRoot = /*#__PURE__*/styled.div.withConfig({
8
10
  componentId: "plasma-new-hope__sc-1g304l9-0"
9
11
  })(["display:flex;align-items:center;gap:0.5rem;"]);
10
12
  export var SelectPerPageSelect = /*#__PURE__*/styled(Select).withConfig({
11
13
  componentId: "plasma-new-hope__sc-1g304l9-1"
12
- })(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":0.125rem;", ":0.125rem;", ":var(", ");", ":calc(var(", ") - 0.125rem);", ":0 0.375rem 0 0;", ":1.5rem;", ":var(", ");"], selectTokens.targetButtonColor, tokens.buttonColor, selectTokens.targetButtonColorHover, tokens.buttonColorHover, selectTokens.targetButtonColorActive, tokens.buttonColorActive, selectTokens.targetButtonBackgroundColor, tokens.buttonBackgroundColor, selectTokens.targetButtonBackgroundColorHover, tokens.buttonBackgroundColorHover, selectTokens.targetButtonBackgroundColorActive, tokens.buttonBackgroundColorActive, selectTokens.targetHeight, tokens.buttonHeight, selectTokens.targetButtonPadding, tokens.selectTargetPadding, selectTokens.borderRadius, tokens.buttonRadius, selectTokens.targetButtonArrowColor, tokens.buttonArrowColor, selectTokens.targetButtonArrowColorHover, tokens.buttonArrowColorHover, selectTokens.targetButtonArrowColorActive, tokens.buttonArrowColorActive, selectTokens.targetButtonArrowMargin, tokens.buttonArrowMargin, selectTokens.padding, selectTokens.focusOffset, selectTokens.itemPadding, tokens.selectItemPadding, selectTokens.itemBorderRadius, tokens.buttonRadius, selectTokens.itemIconMargin, selectTokens.itemIconSize, selectTokens.itemHeight, tokens.selectItemHeight);
13
- export var SelectPerPageTypography = /*#__PURE__*/styled.div.withConfig({
14
+ })(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ") !important;", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(--shadow-down-soft-s);"], selectTokens.targetColor, tokens.buttonColor, selectTokens.targetLabelColor, tokens.buttonColor, selectTokens.targetArrowColor, tokens.buttonColor, selectTokens.targetBackgroundColor, tokens.buttonBackgroundColor, selectTokens.targetBackgroundColorHover, tokens.buttonHoverBackgroundColor, selectTokens.targetBackgroundColorActive, tokens.buttonActiveBackgroundColor, selectTokens.targetBackgroundColorOpen, tokens.buttonHoverBackgroundColor, selectTokens.targetFontWeight, tokens.paginationFontWeight, selectTokens.targetArrowRight, tokens.selectTargetArrowRight, selectTokens.targetHeight, tokens.buttonHeight, selectTokens.targetWidth, tokens.selectTargetWidth, selectTokens.targetRadius, tokens.buttonRadius, selectTokens.targetPadding, tokens.selectTargetPadding, selectTokens.targetPaddingHasChips, tokens.selectTargetPaddingHasChips, selectTokens.targetPaddingWithInput, tokens.selectTargetPaddingWithInput, selectTokens.targetInnerTop, tokens.selectTargetInnerTop, selectTokens.targetLabelInnerTop, tokens.selectTargetLabelInnerTop, selectTokens.targetFontFamily, tokens.paginationFontFamily, selectTokens.targetFontSize, tokens.paginationFontSize, selectTokens.targetFontStyle, tokens.paginationFontStyle, selectTokens.targetFontWeight, tokens.paginationFontWeight, selectTokens.targetLabelInnerFontFamily, tokens.paginationFontFamily, selectTokens.targetLabelInnerFontSize, tokens.paginationFontSize, selectTokens.targetLabelInnerFontStyle, tokens.paginationFontStyle, selectTokens.targetLabelInnerFontWeight, tokens.paginationFontWeight, selectTokens.width, tokens.selectWidth, selectTokens.height, tokens.selectHeight, selectTokens.borderRadius, tokens.buttonRadius, selectTokens.paddingTop, tokens.selectPaddingTop, selectTokens.paddingRight, tokens.selectPaddingRight, selectTokens.paddingBottom, tokens.selectPaddingBottom, selectTokens.paddingLeft, tokens.selectPaddingLeft, selectTokens.background, tokens.selectBackgroundColor, selectTokens.boxShadow);
15
+ export var SelectPerPageSelectItem = /*#__PURE__*/styled(SelectItem).withConfig({
14
16
  componentId: "plasma-new-hope__sc-1g304l9-2"
17
+ })(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");"], selectTokens.itemWidth, tokens.selectItemWidth, selectTokens.itemHeight, tokens.selectItemHeight, selectTokens.itemPaddingTop, tokens.selectItemPaddingTop, selectTokens.itemPaddingRight, tokens.selectItemPaddingRight, selectTokens.itemPaddingBottom, tokens.selectItemPaddingBottom, selectTokens.itemPaddingLeft, tokens.selectItemPaddingLeft, selectTokens.itemBorderRadius, tokens.buttonRadius, selectTokens.itemContentLeftWidth, tokens.selectItemContentLeftWidth, selectTokens.itemFontFamily, tokens.paginationFontFamily, selectTokens.itemFontSize, tokens.paginationFontSize, selectTokens.itemFontStyle, tokens.paginationFontStyle, selectTokens.itemFontWeightBold, tokens.paginationFontWeight, selectTokens.itemFontLetterSpacing, tokens.paginationLetterSpacing, selectTokens.itemFontLineHeight, tokens.paginationLineHeight, selectTokens.itemBackground, tokens.selectItemBackground, selectTokens.itemBackgroundHover, tokens.buttonHoverBackgroundColor, selectTokens.itemBackgroundSelectedHover, tokens.buttonActiveBackgroundColor, selectTokens.itemColor, tokens.buttonColor, selectTokens.itemContentLeftColor, tokens.buttonColor, selectTokens.itemBackgroundSelected, tokens.buttonHoverBackgroundColor, selectTokens.itemColorSelected, tokens.buttonColor);
18
+ export var SelectPerPageTypography = /*#__PURE__*/styled.div.withConfig({
19
+ componentId: "plasma-new-hope__sc-1g304l9-3"
15
20
  })(["font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");"], tokens.paginationFontFamily, tokens.paginationFontSize, tokens.paginationFontStyle, tokens.paginationFontWeight, tokens.paginationLetterSpacing, tokens.paginationLineHeight);
@@ -53,7 +53,7 @@ export function App() {
53
53
  }
54
54
 
55
55
  return (
56
- <div style={{ display: "block" }} >
56
+ <div style=\{{ display: "block" }} >
57
57
  <SegmentProvider>
58
58
  <SegmentTemplate/>
59
59
  </SegmentProvider>