@salutejs/plasma-new-hope 0.175.1-canary.1506.11553215359.0 → 0.175.2-canary.1505.11553165432.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (593) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +1 -1
  2. package/cjs/components/Autocomplete/Autocomplete.tokens.js +0 -1
  3. package/cjs/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
  4. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  5. package/cjs/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  6. package/cjs/components/Autocomplete/ui/TextField/{TextField.styles_1ye9068.css → TextField.styles_1csckkd.css} +1 -1
  7. package/cjs/components/Calendar/Calendar.tokens.js +0 -3
  8. package/cjs/components/Calendar/Calendar.tokens.js.map +1 -1
  9. package/cjs/components/Calendar/CalendarBase/CalendarBase.css +10 -11
  10. package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  11. package/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  12. package/{es/components/Calendar/CalendarBase/CalendarBase.styles_ni8729.css → cjs/components/Calendar/CalendarBase/CalendarBase.styles_1m6uih1.css} +1 -1
  13. package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +10 -11
  14. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.css +8 -9
  15. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +4 -3
  16. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  17. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +1 -11
  18. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  19. package/{es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1xijs8w.css → cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1jfelqf.css} +0 -1
  20. package/cjs/components/Combobox/ComboboxNew/Combobox.css +12 -12
  21. package/cjs/components/Combobox/ComboboxNew/Combobox.js +27 -22
  22. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  23. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +10 -10
  24. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  25. package/{es/components/Combobox/ComboboxNew/Combobox.styles_1nqrvms.css → cjs/components/Combobox/ComboboxNew/Combobox.styles_1s09ifw.css} +1 -1
  26. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -5
  27. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  28. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +12 -12
  29. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +12 -12
  30. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  31. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  32. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +7 -21
  33. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  34. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/{Item.styles_1njzasn.css → Item.styles_y71664.css} +3 -3
  35. package/cjs/components/Combobox/ComboboxNew/utils/getInitialValue.js +21 -0
  36. package/cjs/components/Combobox/ComboboxNew/utils/getInitialValue.js.map +1 -0
  37. package/cjs/components/Combobox/ComboboxNew/utils/initialItemsTransform.js +9 -5
  38. package/cjs/components/Combobox/ComboboxNew/utils/initialItemsTransform.js.map +1 -1
  39. package/cjs/components/Combobox/ComboboxOld/Combobox.css +28 -14
  40. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +32 -18
  41. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +32 -18
  42. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +32 -18
  43. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +32 -18
  44. package/cjs/components/DatePicker/DatePicker.tokens.js +0 -5
  45. package/cjs/components/DatePicker/DatePicker.tokens.js.map +1 -1
  46. package/cjs/components/DatePicker/DatePickerBase.styles.js +1 -1
  47. package/cjs/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  48. package/cjs/components/DatePicker/DatePickerBase.styles_mjc9xz.css +2 -0
  49. package/cjs/components/DatePicker/RangeDate/RangeDate.css +14 -15
  50. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +12 -13
  51. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +1 -1
  52. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1gljtdv.css +2 -0
  53. package/cjs/components/DatePicker/SingleDate/SingleDate.css +14 -15
  54. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  55. package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  56. package/{es/components/DatePicker/SingleDate/SingleDate.styles_e72b5o.css → cjs/components/DatePicker/SingleDate/SingleDate.styles_1rrq00l.css} +1 -1
  57. package/cjs/components/Dropdown/Dropdown.css +30 -16
  58. package/cjs/components/Dropdown/Dropdown.js +60 -37
  59. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  60. package/cjs/components/Dropdown/Dropdown.styles.js +14 -26
  61. package/cjs/components/Dropdown/Dropdown.styles.js.map +1 -1
  62. package/cjs/components/Dropdown/Dropdown.styles_1ix6io8.css +2 -0
  63. package/cjs/components/Dropdown/Dropdown.tokens.js +24 -3
  64. package/cjs/components/Dropdown/Dropdown.tokens.js.map +1 -1
  65. package/cjs/components/Dropdown/FloatingPopover.js +104 -0
  66. package/cjs/components/Dropdown/FloatingPopover.js.map +1 -0
  67. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +17 -51
  68. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  69. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.css +46 -6
  70. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +29 -18
  71. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  72. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +25 -31
  73. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  74. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles_17va0nk.css +5 -0
  75. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +1 -1
  76. package/cjs/components/Dropdown/ui/DropdownItemOld/{DropdownItem.styles_12e50g5.css → DropdownItem.styles_1lyg81y.css} +1 -1
  77. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.css +4 -4
  78. package/cjs/components/Dropdown/utils/getItemByFocused.js +13 -0
  79. package/cjs/components/Dropdown/utils/getItemByFocused.js.map +1 -0
  80. package/cjs/components/Dropdown/utils/getItemId.js +10 -0
  81. package/cjs/components/Dropdown/utils/getItemId.js.map +1 -0
  82. package/cjs/components/Dropdown/utils/getPlacement.js +16 -0
  83. package/cjs/components/Dropdown/utils/getPlacement.js.map +1 -0
  84. package/cjs/components/Dropdown/utils/index.js.map +1 -1
  85. package/cjs/components/Notification/Notification.css +11 -11
  86. package/cjs/components/Notification/Notification.styles.js +15 -15
  87. package/cjs/components/Notification/Notification.styles.js.map +1 -1
  88. package/cjs/components/Notification/{Notification.styles_1g34msm.css → Notification.styles_7h8hp0.css} +1 -1
  89. package/cjs/components/Notification/Notification.tokens.js +0 -2
  90. package/cjs/components/Notification/Notification.tokens.js.map +1 -1
  91. package/cjs/components/Notification/NotificationsProvider.css +11 -11
  92. package/cjs/components/Pagination/Pagination.css +10 -10
  93. package/cjs/components/Pagination/Pagination.js +5 -5
  94. package/cjs/components/Pagination/Pagination.js.map +1 -1
  95. package/cjs/components/Pagination/Pagination.styles.js +3 -3
  96. package/cjs/components/Pagination/Pagination.styles.js.map +1 -1
  97. package/cjs/components/Pagination/{Pagination.styles_1w5oej6.css → Pagination.styles_y6gcva.css} +1 -1
  98. package/cjs/components/Pagination/Pagination.tokens.js +1 -4
  99. package/cjs/components/Pagination/Pagination.tokens.js.map +1 -1
  100. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +3 -3
  101. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +2 -2
  102. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js.map +1 -1
  103. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  104. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  105. package/cjs/components/Pagination/ui/PaginationSelectPerPage/{PaginationSelectPerPage.styles_1fesyfv.css → PaginationSelectPerPage.styles_187mk6b.css} +1 -1
  106. package/cjs/components/Select/Select.js +14 -26
  107. package/cjs/components/Select/Select.js.map +1 -1
  108. package/cjs/components/Select/hooks/useKeyboardNavigation.js +1 -1
  109. package/cjs/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
  110. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  111. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  112. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
  113. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  114. package/cjs/components/Select/utils/getButtonLabel.js +1 -1
  115. package/cjs/components/Select/utils/getButtonLabel.js.map +1 -1
  116. package/cjs/components/Select/utils/getCorrectHeight.js.map +1 -1
  117. package/cjs/components/Select/utils/getInitialValue.js +21 -0
  118. package/cjs/components/Select/utils/getInitialValue.js.map +1 -0
  119. package/cjs/components/Select/utils/initialItemsTransform.js +9 -6
  120. package/cjs/components/Select/utils/initialItemsTransform.js.map +1 -1
  121. package/cjs/components/Tabs/tokens.js +1 -7
  122. package/cjs/components/Tabs/tokens.js.map +1 -1
  123. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +5 -5
  124. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  125. package/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  126. package/{es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_uaaqqg.css → cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_hfqv5b.css} +1 -1
  127. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -5
  128. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  129. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  130. package/cjs/components/Tabs/ui/vertical/VerticalTabItem/{VerticalTabItem.styles_1g7zipg.css → VerticalTabItem.styles_16d3lah.css} +1 -1
  131. package/cjs/hooks/useOutsideClick.js +1 -1
  132. package/cjs/hooks/useOutsideClick.js.map +1 -1
  133. package/cjs/index.css +71 -74
  134. package/emotion/cjs/components/Autocomplete/Autocomplete.tokens.js +0 -1
  135. package/emotion/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  136. package/emotion/cjs/components/Calendar/Calendar.tokens.js +0 -3
  137. package/emotion/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -2
  138. package/emotion/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -3
  139. package/emotion/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +17 -22
  140. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +26 -22
  141. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +7 -7
  142. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -5
  143. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  144. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +15 -21
  145. package/emotion/cjs/components/Combobox/ComboboxNew/utils/getInitialValue.js +20 -0
  146. package/emotion/cjs/components/Combobox/ComboboxNew/utils/index.js +8 -1
  147. package/emotion/cjs/components/Combobox/ComboboxNew/utils/initialItemsTransform.js +19 -5
  148. package/emotion/cjs/components/DatePicker/DatePicker.tokens.js +0 -5
  149. package/emotion/cjs/components/DatePicker/DatePickerBase.styles.js +3 -3
  150. package/emotion/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +5 -5
  151. package/emotion/cjs/components/Dropdown/Dropdown.js +58 -37
  152. package/emotion/cjs/components/Dropdown/Dropdown.styles.js +9 -25
  153. package/emotion/cjs/components/Dropdown/Dropdown.tokens.js +36 -4
  154. package/emotion/cjs/components/Dropdown/FloatingPopover.js +109 -0
  155. package/emotion/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +17 -51
  156. package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +29 -18
  157. package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +21 -41
  158. package/emotion/cjs/components/Dropdown/utils/getItemByFocused.js +12 -0
  159. package/emotion/cjs/components/Dropdown/utils/getItemId.js +9 -0
  160. package/emotion/cjs/components/Dropdown/utils/getPlacement.js +15 -0
  161. package/emotion/cjs/components/Dropdown/utils/index.js +23 -1
  162. package/emotion/cjs/components/Notification/Notification.styles.js +11 -11
  163. package/emotion/cjs/components/Notification/Notification.tokens.js +0 -2
  164. package/emotion/cjs/components/Pagination/Pagination.js +5 -5
  165. package/emotion/cjs/components/Pagination/Pagination.styles.js +8 -8
  166. package/emotion/cjs/components/Pagination/Pagination.tokens.js +1 -4
  167. package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +2 -2
  168. package/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  169. package/emotion/cjs/components/Select/Select.js +12 -25
  170. package/emotion/cjs/components/Select/hooks/useKeyboardNavigation.js +1 -1
  171. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  172. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +13 -13
  173. package/emotion/cjs/components/Select/utils/getButtonLabel.js +1 -1
  174. package/emotion/cjs/components/Select/utils/getInitialValue.js +20 -0
  175. package/emotion/cjs/components/Select/utils/index.js +8 -1
  176. package/emotion/cjs/components/Select/utils/initialItemsTransform.js +19 -6
  177. package/emotion/cjs/components/Tabs/tokens.js +1 -7
  178. package/emotion/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +5 -5
  179. package/emotion/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +5 -5
  180. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  181. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +6 -0
  182. package/emotion/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +5 -5
  183. package/emotion/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +6 -5
  184. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
  185. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +6 -0
  186. package/emotion/cjs/examples/plasma_web/components/Dropdown/Dropdown.config.js +5 -5
  187. package/emotion/cjs/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +6 -5
  188. package/emotion/cjs/hooks/useOutsideClick.js +1 -1
  189. package/emotion/es/components/Autocomplete/Autocomplete.tokens.js +0 -1
  190. package/emotion/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  191. package/emotion/es/components/Calendar/Calendar.tokens.js +0 -3
  192. package/emotion/es/components/Calendar/CalendarBase/CalendarBase.styles.js +2 -2
  193. package/emotion/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -5
  194. package/emotion/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +16 -21
  195. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +27 -23
  196. package/emotion/es/components/Combobox/ComboboxNew/Combobox.styles.js +7 -7
  197. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -5
  198. package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  199. package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +15 -21
  200. package/emotion/es/components/Combobox/ComboboxNew/utils/getInitialValue.js +14 -0
  201. package/emotion/es/components/Combobox/ComboboxNew/utils/index.js +2 -1
  202. package/emotion/es/components/Combobox/ComboboxNew/utils/initialItemsTransform.js +19 -5
  203. package/emotion/es/components/DatePicker/DatePicker.tokens.js +0 -5
  204. package/emotion/es/components/DatePicker/DatePickerBase.styles.js +3 -3
  205. package/emotion/es/components/DatePicker/SingleDate/SingleDate.styles.js +5 -5
  206. package/emotion/es/components/Dropdown/Dropdown.js +60 -40
  207. package/emotion/es/components/Dropdown/Dropdown.styles.js +9 -25
  208. package/emotion/es/components/Dropdown/Dropdown.tokens.js +35 -3
  209. package/emotion/es/components/Dropdown/FloatingPopover.js +102 -0
  210. package/emotion/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +18 -52
  211. package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +31 -20
  212. package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +22 -42
  213. package/emotion/es/components/Dropdown/utils/getItemByFocused.js +6 -0
  214. package/emotion/es/components/Dropdown/utils/getItemId.js +3 -0
  215. package/emotion/es/components/Dropdown/utils/getPlacement.js +9 -0
  216. package/emotion/es/components/Dropdown/utils/index.js +4 -1
  217. package/emotion/es/components/Notification/Notification.styles.js +11 -11
  218. package/emotion/es/components/Notification/Notification.tokens.js +0 -2
  219. package/emotion/es/components/Pagination/Pagination.js +5 -5
  220. package/emotion/es/components/Pagination/Pagination.styles.js +8 -8
  221. package/emotion/es/components/Pagination/Pagination.tokens.js +1 -4
  222. package/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +2 -2
  223. package/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +3 -3
  224. package/emotion/es/components/Select/Select.js +13 -26
  225. package/emotion/es/components/Select/hooks/useKeyboardNavigation.js +1 -1
  226. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  227. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +13 -13
  228. package/emotion/es/components/Select/utils/getButtonLabel.js +1 -1
  229. package/emotion/es/components/Select/utils/getInitialValue.js +14 -0
  230. package/emotion/es/components/Select/utils/index.js +2 -1
  231. package/emotion/es/components/Select/utils/initialItemsTransform.js +19 -6
  232. package/emotion/es/components/Tabs/tokens.js +1 -7
  233. package/emotion/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +5 -5
  234. package/emotion/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +5 -5
  235. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +12 -12
  236. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +6 -0
  237. package/emotion/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +6 -6
  238. package/emotion/es/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +6 -5
  239. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.config.js +12 -12
  240. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +6 -0
  241. package/emotion/es/examples/plasma_web/components/Dropdown/Dropdown.config.js +6 -6
  242. package/emotion/es/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +6 -5
  243. package/emotion/es/hooks/useOutsideClick.js +1 -1
  244. package/es/components/Autocomplete/Autocomplete.css +1 -1
  245. package/es/components/Autocomplete/Autocomplete.tokens.js +0 -1
  246. package/es/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
  247. package/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  248. package/es/components/Autocomplete/ui/TextField/TextField.styles.js.map +1 -1
  249. package/es/components/Autocomplete/ui/TextField/{TextField.styles_1ye9068.css → TextField.styles_1csckkd.css} +1 -1
  250. package/es/components/Calendar/Calendar.tokens.js +0 -3
  251. package/es/components/Calendar/Calendar.tokens.js.map +1 -1
  252. package/es/components/Calendar/CalendarBase/CalendarBase.css +10 -11
  253. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  254. package/es/components/Calendar/CalendarBase/CalendarBase.styles.js.map +1 -1
  255. package/{cjs/components/Calendar/CalendarBase/CalendarBase.styles_ni8729.css → es/components/Calendar/CalendarBase/CalendarBase.styles_1m6uih1.css} +1 -1
  256. package/es/components/Calendar/CalendarDouble/CalendarDouble.css +10 -11
  257. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.css +8 -9
  258. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -4
  259. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js.map +1 -1
  260. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +2 -11
  261. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js.map +1 -1
  262. package/{cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1xijs8w.css → es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles_1jfelqf.css} +0 -1
  263. package/es/components/Combobox/ComboboxNew/Combobox.css +12 -12
  264. package/es/components/Combobox/ComboboxNew/Combobox.js +27 -22
  265. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  266. package/es/components/Combobox/ComboboxNew/Combobox.styles.js +10 -10
  267. package/es/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  268. package/{cjs/components/Combobox/ComboboxNew/Combobox.styles_1nqrvms.css → es/components/Combobox/ComboboxNew/Combobox.styles_1s09ifw.css} +1 -1
  269. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -5
  270. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  271. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +12 -12
  272. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +12 -12
  273. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  274. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  275. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +7 -21
  276. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  277. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/{Item.styles_1njzasn.css → Item.styles_y71664.css} +3 -3
  278. package/es/components/Combobox/ComboboxNew/utils/getInitialValue.js +17 -0
  279. package/es/components/Combobox/ComboboxNew/utils/getInitialValue.js.map +1 -0
  280. package/es/components/Combobox/ComboboxNew/utils/initialItemsTransform.js +9 -5
  281. package/es/components/Combobox/ComboboxNew/utils/initialItemsTransform.js.map +1 -1
  282. package/es/components/Combobox/ComboboxOld/Combobox.css +28 -14
  283. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +32 -18
  284. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +32 -18
  285. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +32 -18
  286. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +32 -18
  287. package/es/components/DatePicker/DatePicker.tokens.js +0 -5
  288. package/es/components/DatePicker/DatePicker.tokens.js.map +1 -1
  289. package/es/components/DatePicker/DatePickerBase.styles.js +1 -1
  290. package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -1
  291. package/es/components/DatePicker/DatePickerBase.styles_mjc9xz.css +2 -0
  292. package/es/components/DatePicker/RangeDate/RangeDate.css +14 -15
  293. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +12 -13
  294. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +1 -1
  295. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1gljtdv.css +2 -0
  296. package/es/components/DatePicker/SingleDate/SingleDate.css +14 -15
  297. package/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  298. package/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  299. package/{cjs/components/DatePicker/SingleDate/SingleDate.styles_e72b5o.css → es/components/DatePicker/SingleDate/SingleDate.styles_1rrq00l.css} +1 -1
  300. package/es/components/Dropdown/Dropdown.css +30 -16
  301. package/es/components/Dropdown/Dropdown.js +62 -40
  302. package/es/components/Dropdown/Dropdown.js.map +1 -1
  303. package/es/components/Dropdown/Dropdown.styles.js +15 -26
  304. package/es/components/Dropdown/Dropdown.styles.js.map +1 -1
  305. package/es/components/Dropdown/Dropdown.styles_1ix6io8.css +2 -0
  306. package/es/components/Dropdown/Dropdown.tokens.js +24 -3
  307. package/es/components/Dropdown/Dropdown.tokens.js.map +1 -1
  308. package/es/components/Dropdown/FloatingPopover.js +100 -0
  309. package/es/components/Dropdown/FloatingPopover.js.map +1 -0
  310. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +18 -52
  311. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  312. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.css +46 -6
  313. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +31 -20
  314. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  315. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +24 -29
  316. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  317. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles_17va0nk.css +5 -0
  318. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +1 -1
  319. package/es/components/Dropdown/ui/DropdownItemOld/{DropdownItem.styles_12e50g5.css → DropdownItem.styles_1lyg81y.css} +1 -1
  320. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.css +4 -4
  321. package/es/components/Dropdown/utils/getItemByFocused.js +9 -0
  322. package/es/components/Dropdown/utils/getItemByFocused.js.map +1 -0
  323. package/es/components/Dropdown/utils/getItemId.js +6 -0
  324. package/es/components/Dropdown/utils/getItemId.js.map +1 -0
  325. package/es/components/Dropdown/utils/getPlacement.js +12 -0
  326. package/es/components/Dropdown/utils/getPlacement.js.map +1 -0
  327. package/es/components/Dropdown/utils/index.js.map +1 -1
  328. package/es/components/Notification/Notification.css +11 -11
  329. package/es/components/Notification/Notification.styles.js +15 -15
  330. package/es/components/Notification/Notification.styles.js.map +1 -1
  331. package/es/components/Notification/{Notification.styles_1g34msm.css → Notification.styles_7h8hp0.css} +1 -1
  332. package/es/components/Notification/Notification.tokens.js +0 -2
  333. package/es/components/Notification/Notification.tokens.js.map +1 -1
  334. package/es/components/Notification/NotificationsProvider.css +11 -11
  335. package/es/components/Pagination/Pagination.css +10 -10
  336. package/es/components/Pagination/Pagination.js +5 -5
  337. package/es/components/Pagination/Pagination.js.map +1 -1
  338. package/es/components/Pagination/Pagination.styles.js +3 -3
  339. package/es/components/Pagination/Pagination.styles.js.map +1 -1
  340. package/es/components/Pagination/{Pagination.styles_1w5oej6.css → Pagination.styles_y6gcva.css} +1 -1
  341. package/es/components/Pagination/Pagination.tokens.js +1 -4
  342. package/es/components/Pagination/Pagination.tokens.js.map +1 -1
  343. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +3 -3
  344. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +2 -2
  345. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js.map +1 -1
  346. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  347. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js.map +1 -1
  348. package/es/components/Pagination/ui/PaginationSelectPerPage/{PaginationSelectPerPage.styles_1fesyfv.css → PaginationSelectPerPage.styles_187mk6b.css} +1 -1
  349. package/es/components/Select/Select.js +15 -27
  350. package/es/components/Select/Select.js.map +1 -1
  351. package/es/components/Select/hooks/useKeyboardNavigation.js +1 -1
  352. package/es/components/Select/hooks/useKeyboardNavigation.js.map +1 -1
  353. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  354. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  355. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
  356. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  357. package/es/components/Select/utils/getButtonLabel.js +1 -1
  358. package/es/components/Select/utils/getButtonLabel.js.map +1 -1
  359. package/es/components/Select/utils/getCorrectHeight.js.map +1 -1
  360. package/es/components/Select/utils/getInitialValue.js +17 -0
  361. package/es/components/Select/utils/getInitialValue.js.map +1 -0
  362. package/es/components/Select/utils/initialItemsTransform.js +9 -6
  363. package/es/components/Select/utils/initialItemsTransform.js.map +1 -1
  364. package/es/components/Tabs/tokens.js +1 -7
  365. package/es/components/Tabs/tokens.js.map +1 -1
  366. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.css +5 -5
  367. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  368. package/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js.map +1 -1
  369. package/{cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_uaaqqg.css → es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles_hfqv5b.css} +1 -1
  370. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.css +5 -5
  371. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  372. package/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js.map +1 -1
  373. package/es/components/Tabs/ui/vertical/VerticalTabItem/{VerticalTabItem.styles_1g7zipg.css → VerticalTabItem.styles_16d3lah.css} +1 -1
  374. package/es/hooks/useOutsideClick.js +1 -1
  375. package/es/hooks/useOutsideClick.js.map +1 -1
  376. package/es/index.css +71 -74
  377. package/package.json +2 -2
  378. package/styled-components/cjs/components/Autocomplete/Autocomplete.tokens.js +0 -1
  379. package/styled-components/cjs/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  380. package/styled-components/cjs/components/Calendar/Calendar.tokens.js +0 -3
  381. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  382. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +3 -3
  383. package/styled-components/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +2 -6
  384. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +26 -22
  385. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  386. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -5
  387. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  388. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +6 -12
  389. package/styled-components/cjs/components/Combobox/ComboboxNew/utils/getInitialValue.js +20 -0
  390. package/styled-components/cjs/components/Combobox/ComboboxNew/utils/index.js +8 -1
  391. package/styled-components/cjs/components/Combobox/ComboboxNew/utils/initialItemsTransform.js +19 -5
  392. package/styled-components/cjs/components/DatePicker/DatePicker.tokens.js +0 -5
  393. package/styled-components/cjs/components/DatePicker/DatePickerBase.styles.js +1 -1
  394. package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  395. package/styled-components/cjs/components/Dropdown/Dropdown.js +58 -37
  396. package/styled-components/cjs/components/Dropdown/Dropdown.styles.js +9 -15
  397. package/styled-components/cjs/components/Dropdown/Dropdown.tokens.js +36 -4
  398. package/styled-components/cjs/components/Dropdown/FloatingPopover.js +109 -0
  399. package/styled-components/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +17 -51
  400. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +29 -18
  401. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +17 -19
  402. package/styled-components/cjs/components/Dropdown/utils/getItemByFocused.js +12 -0
  403. package/styled-components/cjs/components/Dropdown/utils/getItemId.js +9 -0
  404. package/styled-components/cjs/components/Dropdown/utils/getPlacement.js +15 -0
  405. package/styled-components/cjs/components/Dropdown/utils/index.js +23 -1
  406. package/styled-components/cjs/components/Notification/Notification.styles.js +1 -1
  407. package/styled-components/cjs/components/Notification/Notification.tokens.js +0 -2
  408. package/styled-components/cjs/components/Pagination/Pagination.js +5 -5
  409. package/styled-components/cjs/components/Pagination/Pagination.styles.js +1 -1
  410. package/styled-components/cjs/components/Pagination/Pagination.tokens.js +1 -4
  411. package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +2 -2
  412. package/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  413. package/styled-components/cjs/components/Select/Select.js +12 -25
  414. package/styled-components/cjs/components/Select/hooks/useKeyboardNavigation.js +1 -1
  415. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  416. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
  417. package/styled-components/cjs/components/Select/utils/getButtonLabel.js +1 -1
  418. package/styled-components/cjs/components/Select/utils/getInitialValue.js +20 -0
  419. package/styled-components/cjs/components/Select/utils/index.js +8 -1
  420. package/styled-components/cjs/components/Select/utils/initialItemsTransform.js +19 -6
  421. package/styled-components/cjs/components/Tabs/tokens.js +1 -7
  422. package/styled-components/cjs/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  423. package/styled-components/cjs/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  424. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
  425. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +6 -0
  426. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +5 -5
  427. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +6 -5
  428. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
  429. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.stories.tsx +6 -0
  430. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Dropdown.config.js +5 -5
  431. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +6 -5
  432. package/styled-components/cjs/hooks/useOutsideClick.js +1 -1
  433. package/styled-components/es/components/Autocomplete/Autocomplete.tokens.js +0 -1
  434. package/styled-components/es/components/Autocomplete/ui/TextField/TextField.styles.js +1 -1
  435. package/styled-components/es/components/Calendar/Calendar.tokens.js +0 -3
  436. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.styles.js +1 -1
  437. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +5 -5
  438. package/styled-components/es/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.js +1 -5
  439. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +27 -23
  440. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  441. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +1 -5
  442. package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  443. package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +6 -12
  444. package/styled-components/es/components/Combobox/ComboboxNew/utils/getInitialValue.js +14 -0
  445. package/styled-components/es/components/Combobox/ComboboxNew/utils/index.js +2 -1
  446. package/styled-components/es/components/Combobox/ComboboxNew/utils/initialItemsTransform.js +19 -5
  447. package/styled-components/es/components/DatePicker/DatePicker.tokens.js +0 -5
  448. package/styled-components/es/components/DatePicker/DatePickerBase.styles.js +1 -1
  449. package/styled-components/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
  450. package/styled-components/es/components/Dropdown/Dropdown.js +60 -40
  451. package/styled-components/es/components/Dropdown/Dropdown.styles.js +9 -15
  452. package/styled-components/es/components/Dropdown/Dropdown.tokens.js +35 -3
  453. package/styled-components/es/components/Dropdown/FloatingPopover.js +102 -0
  454. package/styled-components/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +18 -52
  455. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +31 -20
  456. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +18 -20
  457. package/styled-components/es/components/Dropdown/utils/getItemByFocused.js +6 -0
  458. package/styled-components/es/components/Dropdown/utils/getItemId.js +3 -0
  459. package/styled-components/es/components/Dropdown/utils/getPlacement.js +9 -0
  460. package/styled-components/es/components/Dropdown/utils/index.js +4 -1
  461. package/styled-components/es/components/Notification/Notification.styles.js +1 -1
  462. package/styled-components/es/components/Notification/Notification.tokens.js +0 -2
  463. package/styled-components/es/components/Pagination/Pagination.js +5 -5
  464. package/styled-components/es/components/Pagination/Pagination.styles.js +1 -1
  465. package/styled-components/es/components/Pagination/Pagination.tokens.js +1 -4
  466. package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +2 -2
  467. package/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  468. package/styled-components/es/components/Select/Select.js +13 -26
  469. package/styled-components/es/components/Select/hooks/useKeyboardNavigation.js +1 -1
  470. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +1 -1
  471. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +1 -1
  472. package/styled-components/es/components/Select/utils/getButtonLabel.js +1 -1
  473. package/styled-components/es/components/Select/utils/getInitialValue.js +14 -0
  474. package/styled-components/es/components/Select/utils/index.js +2 -1
  475. package/styled-components/es/components/Select/utils/initialItemsTransform.js +19 -6
  476. package/styled-components/es/components/Tabs/tokens.js +1 -7
  477. package/styled-components/es/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.js +1 -1
  478. package/styled-components/es/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.js +1 -1
  479. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
  480. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.stories.tsx +6 -0
  481. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +6 -6
  482. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +6 -5
  483. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
  484. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.stories.tsx +6 -0
  485. package/styled-components/es/examples/plasma_web/components/Dropdown/Dropdown.config.js +6 -6
  486. package/styled-components/es/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +6 -5
  487. package/styled-components/es/hooks/useOutsideClick.js +1 -1
  488. package/types/components/Autocomplete/Autocomplete.tokens.d.ts +0 -1
  489. package/types/components/Autocomplete/Autocomplete.tokens.d.ts.map +1 -1
  490. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  491. package/types/components/Calendar/Calendar.tokens.d.ts +0 -3
  492. package/types/components/Calendar/Calendar.tokens.d.ts.map +1 -1
  493. package/types/components/Calendar/CalendarBase/CalendarBase.styles.d.ts.map +1 -1
  494. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.d.ts.map +1 -1
  495. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts +0 -1
  496. package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts.map +1 -1
  497. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  498. package/types/components/Combobox/ComboboxNew/Combobox.styles.d.ts.map +1 -1
  499. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +0 -4
  500. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  501. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +14 -3
  502. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  503. package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.d.ts.map +1 -1
  504. package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.d.ts.map +1 -1
  505. package/types/components/Combobox/ComboboxNew/utils/getInitialValue.d.ts +4 -0
  506. package/types/components/Combobox/ComboboxNew/utils/getInitialValue.d.ts.map +1 -0
  507. package/types/components/Combobox/ComboboxNew/utils/index.d.ts +1 -0
  508. package/types/components/Combobox/ComboboxNew/utils/index.d.ts.map +1 -1
  509. package/types/components/Combobox/ComboboxNew/utils/initialItemsTransform.d.ts.map +1 -1
  510. package/types/components/Combobox/ComboboxOld/Combobox.types.d.ts +2 -1
  511. package/types/components/Combobox/ComboboxOld/Combobox.types.d.ts.map +1 -1
  512. package/types/components/DatePicker/DatePicker.tokens.d.ts +0 -5
  513. package/types/components/DatePicker/DatePicker.tokens.d.ts.map +1 -1
  514. package/types/components/DatePicker/DatePickerBase.styles.d.ts.map +1 -1
  515. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  516. package/types/components/Dropdown/Dropdown.d.ts +2 -1
  517. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  518. package/types/components/Dropdown/Dropdown.styles.d.ts +1 -6
  519. package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
  520. package/types/components/Dropdown/Dropdown.tokens.d.ts +25 -2
  521. package/types/components/Dropdown/Dropdown.tokens.d.ts.map +1 -1
  522. package/types/components/Dropdown/Dropdown.types.d.ts +30 -4
  523. package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
  524. package/types/components/Dropdown/FloatingPopover.d.ts +5 -0
  525. package/types/components/Dropdown/FloatingPopover.d.ts.map +1 -0
  526. package/types/components/Dropdown/index.d.ts +1 -1
  527. package/types/components/Dropdown/index.d.ts.map +1 -1
  528. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.d.ts.map +1 -1
  529. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts +1 -12
  530. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts.map +1 -1
  531. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.d.ts.map +1 -1
  532. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts +32 -3
  533. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts.map +1 -1
  534. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts +1 -14
  535. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts.map +1 -1
  536. package/types/components/Dropdown/utils/getItemByFocused.d.ts +4 -0
  537. package/types/components/Dropdown/utils/getItemByFocused.d.ts.map +1 -0
  538. package/types/components/Dropdown/utils/getItemId.d.ts +2 -0
  539. package/types/components/Dropdown/utils/getItemId.d.ts.map +1 -0
  540. package/types/components/Dropdown/utils/getPlacement.d.ts +3 -0
  541. package/types/components/Dropdown/utils/getPlacement.d.ts.map +1 -0
  542. package/types/components/Dropdown/utils/index.d.ts +3 -0
  543. package/types/components/Dropdown/utils/index.d.ts.map +1 -1
  544. package/types/components/Notification/Notification.styles.d.ts.map +1 -1
  545. package/types/components/Notification/Notification.tokens.d.ts +0 -2
  546. package/types/components/Notification/Notification.tokens.d.ts.map +1 -1
  547. package/types/components/Pagination/Pagination.d.ts.map +1 -1
  548. package/types/components/Pagination/Pagination.styles.d.ts.map +1 -1
  549. package/types/components/Pagination/Pagination.tokens.d.ts +0 -3
  550. package/types/components/Pagination/Pagination.tokens.d.ts.map +1 -1
  551. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  552. package/types/components/Select/Select.d.ts.map +1 -1
  553. package/types/components/Select/Select.types.d.ts +1 -0
  554. package/types/components/Select/Select.types.d.ts.map +1 -1
  555. package/types/components/Select/hooks/useKeyboardNavigation.d.ts +2 -2
  556. package/types/components/Select/hooks/useKeyboardNavigation.d.ts.map +1 -1
  557. package/types/components/Select/ui/Target/Target.types.d.ts +2 -2
  558. package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
  559. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +4 -4
  560. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  561. package/types/components/Select/utils/getCorrectHeight.d.ts +2 -2
  562. package/types/components/Select/utils/getCorrectHeight.d.ts.map +1 -1
  563. package/types/components/Select/utils/getInitialValue.d.ts +4 -0
  564. package/types/components/Select/utils/getInitialValue.d.ts.map +1 -0
  565. package/types/components/Select/utils/index.d.ts +1 -0
  566. package/types/components/Select/utils/index.d.ts.map +1 -1
  567. package/types/components/Select/utils/initialItemsTransform.d.ts.map +1 -1
  568. package/types/components/Tabs/tokens.d.ts +0 -6
  569. package/types/components/Tabs/tokens.d.ts.map +1 -1
  570. package/types/components/Tabs/ui/horizontal/HorizontalTabItem/HorizontalTabItem.styles.d.ts.map +1 -1
  571. package/types/components/Tabs/ui/vertical/VerticalTabItem/VerticalTabItem.styles.d.ts.map +1 -1
  572. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +30 -6
  573. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
  574. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.config.d.ts +3 -3
  575. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.config.d.ts.map +1 -1
  576. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts +4 -4
  577. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts.map +1 -1
  578. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +30 -6
  579. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -1
  580. package/types/examples/plasma_web/components/Dropdown/Dropdown.config.d.ts +3 -3
  581. package/types/examples/plasma_web/components/Dropdown/Dropdown.config.d.ts.map +1 -1
  582. package/types/examples/plasma_web/components/Dropdown/Dropdown.d.ts +4 -4
  583. package/types/examples/plasma_web/components/Dropdown/Dropdown.d.ts.map +1 -1
  584. package/types/hooks/useOutsideClick.d.ts +1 -1
  585. package/types/hooks/useOutsideClick.d.ts.map +1 -1
  586. package/cjs/components/DatePicker/DatePickerBase.styles_1x090si.css +0 -2
  587. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1i6gpss.css +0 -2
  588. package/cjs/components/Dropdown/Dropdown.styles_zvi9m3.css +0 -3
  589. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles_blclup.css +0 -6
  590. package/es/components/DatePicker/DatePickerBase.styles_1x090si.css +0 -2
  591. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1i6gpss.css +0 -2
  592. package/es/components/Dropdown/Dropdown.styles_zvi9m3.css +0 -3
  593. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles_blclup.css +0 -6
@@ -38,13 +38,13 @@
38
38
 
39
39
  .ButtonGroup_styles_92nbdg_b181uun8__0ffde6c1{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;}
40
40
 
41
- .Pagination_styles_1w5oej6_p1m4gnut__3b89d2a5{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;color:var(--plasma-pagination-color);}.Pagination_styles_1w5oej6_p1m4gnut__3b89d2a5.Pagination_styles_1w5oej6_paginationTypeCompact__3b89d2a5{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:0.5rem;}.Pagination_styles_1w5oej6_p1m4gnut__3b89d2a5.Pagination_styles_1w5oej6_paginationTypeDefault__3b89d2a5{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-flex:0 0 100%;-ms-flex:0 0 100%;flex:0 0 100%;gap:1rem;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;}
42
- .Pagination_styles_1w5oej6_p195n7xj__3b89d2a5{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:0.25rem;margin:0 auto;}
43
- .Pagination_styles_1w5oej6_p19axp12__3b89d2a5{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;gap:0.625rem;}.Pagination_styles_1w5oej6_p19axp12__3b89d2a5.Pagination_styles_1w5oej6_paginationTypeCompact__3b89d2a5{-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;}.Pagination_styles_1w5oej6_p19axp12__3b89d2a5.Pagination_styles_1w5oej6_paginationHasPerpageSelect__3b89d2a5{-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;}.Pagination_styles_1w5oej6_p19axp12__3b89d2a5.Pagination_styles_1w5oej6_paginationHasQuickJump__3b89d2a5{-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;}
44
- .Pagination_styles_1w5oej6_p1rlzvhv__3b89d2a5{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:0.125rem;}
45
- .Pagination_styles_1w5oej6_pivhg1z__3b89d2a5{--plasma-button-group-item-color:var(--plasma-pagination-button-color);--plasma-button-group-item-background-color:var(--plasma-pagination-button-bg-color);--plasma-button-group-item-color-hover:var(--plasma-pagination-button-color-hover);--plasma-button-group-item-background-color-hover:var(--plasma-pagination-button-bg-color-hover);--plasma-button-group-item-color-active:var(--plasma-pagination--button-color-active);--plasma-button-group-item-background-color-active:var(--plasma-pagination-button-bg-color-active);--plasma-button-group-item-font-family:var(--plasma-pagination-font-family);--plasma-button-group-item-font-size:var(--plasma-pagination-font-size);--plasma-button-group-item-font-style:var(--plasma-pagination-font-style);--plasma-button-group-item-font-weight:var(--plasma-pagination-font-weight);--plasma-button-group-item-letter-spacing:var(--plasma-pagination-letter-spacing);--plasma-button-group-item-line-height:var(--plasma-pagination-line-height);--plasma-button-group-item-width:var(--plasma-pagination-button-width);--plasma-button-group-item-height:var(--plasma-pagination-button-height);--plasma-button-group-item-default-radius:var(--plasma-pagination-button-radius);--plasma-button-group-side-item-radius:var(--plasma-pagination-button-radius);--plasma-button-group-item-segmented-radius:var(--plasma-pagination-button-radius);--plasma-button-group-item-radius-circle:var(--plasma-pagination-button-radius);}
46
- .Pagination_styles_1w5oej6_pshury3__3b89d2a5{--plasma-button-color:var(--plasma-pagination-button-color);--plasma-button-background-color:var(--plasma-pagination-button-bg-color);--plasma-button-color-hover:var(--plasma-pagination-button-color-hover);--plasma-button-background-color-hover:var(--plasma-pagination-button-bg-color-hover);--plasma-button-color-active:var(--plasma-pagination--button-color-active);--plasma-button-background-color-active:var(--plasma-pagination-button-bg-color-active);--plasma-button-font-family:var(--plasma-pagination-font-family);--plasma-button-font-size:var(--plasma-pagination-font-size);--plasma-button-font-style:var(--plasma-pagination-font-style);--plasma-button-font-weight:var(--plasma-pagination-font-weight);--plasma-button-letter-spacing:var(--plasma-pagination-letter-spacing);--plasma-button-line-height:var(--plasma-pagination-line-height);--plasma-button-width:var(--plasma-pagination-button-width);--plasma-button-height:var(--plasma-pagination-button-height);--plasma-button-radius:var(--plasma-pagination-button-radius);--plasma-button-disabled-opacity:var(--plasma-pagination-button-disabled-opacity);--plasma-button-focus-color:var(--plasma-pagination--button-color-focus);position:relative;}.Pagination_styles_1w5oej6_pshury3__3b89d2a5.Pagination_styles_1w5oej6_paginationPageButtonActive__3b89d2a5{--plasma-button-color:var(--plasma-pagination-button-current-color);--plasma-button-background-color:var(--plasma-pagination-button-current-bg-color);--plasma-button-color-hover:var(--plasma-pagination-button-current-color-hover);--plasma-button-background-color-hover:var(--plasma-pagination-button-current-bg-color-hover);--plasma-button-color-active:var(--plasma-pagination--button-current-color-active);--plasma-button-background-color-active:var(--plasma-pagination-button-current-bg-color-active);}.Pagination_styles_1w5oej6_pshury3__3b89d2a5.Pagination_styles_1w5oej6_paginationButtonDisabled__3b89d2a5{--plasma-button-color:var(--plasma-pagination--button-color-disabled,var(--plasma-pagination-button-color));--plasma-button-background-color:var(--plasma-pagination--button-bg-color-disabled,var(--plasma-pagination-button-bg-color ));}.Pagination_styles_1w5oej6_pshury3__3b89d2a5:focus{outline:none;}.Pagination_styles_1w5oej6_pshury3__3b89d2a5::before{content:'';position:absolute;top:calc(-1 * var(--plasma_private-btn-outline-size));left:calc(-1 * var(--plasma_private-btn-outline-size));right:calc(-1 * var(--plasma_private-btn-outline-size));bottom:calc(-1 * var(--plasma_private-btn-outline-size));z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-btn-outline-size) solid transparent;border-radius:var(--plasma_private-btn-br);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.Pagination_styles_1w5oej6_pshury3__3b89d2a5.Pagination_styles_1w5oej6_focusVisible__3b89d2a5:focus::before,.Pagination_styles_1w5oej6_pshury3__3b89d2a5[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-btn-outline-size) var(--plasma-pagination--button-color-focus);}
47
- .Pagination_styles_1w5oej6_pwlctp1__3b89d2a5.Pagination_styles_1w5oej6_pshury3__3b89d2a5{--plasma-button-width:var(--plasma-pagination-button-width-shorter);--plasma-button-padding:0;}
41
+ .Pagination_styles_y6gcva_p1m4gnut__6a3d68ab{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;color:var(--plasma-pagination-color);}.Pagination_styles_y6gcva_p1m4gnut__6a3d68ab.Pagination_styles_y6gcva_paginationTypeCompact__6a3d68ab{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;gap:0.5rem;}.Pagination_styles_y6gcva_p1m4gnut__6a3d68ab.Pagination_styles_y6gcva_paginationTypeDefault__6a3d68ab{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-flex:0 0 100%;-ms-flex:0 0 100%;flex:0 0 100%;gap:1rem;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;}
42
+ .Pagination_styles_y6gcva_p195n7xj__6a3d68ab{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:0.25rem;margin:0 auto;}
43
+ .Pagination_styles_y6gcva_p19axp12__6a3d68ab{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;gap:0.625rem;}.Pagination_styles_y6gcva_p19axp12__6a3d68ab.Pagination_styles_y6gcva_paginationTypeCompact__6a3d68ab{-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;}.Pagination_styles_y6gcva_p19axp12__6a3d68ab.Pagination_styles_y6gcva_paginationHasPerpageSelect__6a3d68ab{-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;}.Pagination_styles_y6gcva_p19axp12__6a3d68ab.Pagination_styles_y6gcva_paginationHasQuickJump__6a3d68ab{-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;}
44
+ .Pagination_styles_y6gcva_p1rlzvhv__6a3d68ab{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:0.125rem;}
45
+ .Pagination_styles_y6gcva_pivhg1z__6a3d68ab{--plasma-button-group-item-color:var(--plasma-pagination-button-color);--plasma-button-group-item-background-color:var(--plasma-pagination-button-bg-color);--plasma-button-group-item-color-hover:var(--plasma-pagination-button-color-hover);--plasma-button-group-item-background-color-hover:var(--plasma-pagination-button-bg-color-hover);--plasma-button-group-item-color-active:var(--plasma-pagination--button-color-active);--plasma-button-group-item-background-color-active:var(--plasma-pagination-button-bg-color-active);--plasma-button-group-item-font-family:var(--plasma-pagination-font-family);--plasma-button-group-item-font-size:var(--plasma-pagination-font-size);--plasma-button-group-item-font-style:var(--plasma-pagination-font-style);--plasma-button-group-item-font-weight:var(--plasma-pagination-font-weight);--plasma-button-group-item-letter-spacing:var(--plasma-pagination-letter-spacing);--plasma-button-group-item-line-height:var(--plasma-pagination-line-height);--plasma-button-group-item-width:var(--plasma-pagination-button-width);--plasma-button-group-item-height:var(--plasma-pagination-button-height);--plasma-button-group-item-default-radius:var(--plasma-pagination-button-radius);--plasma-button-group-side-item-radius:var(--plasma-pagination-button-radius);--plasma-button-group-item-segmented-radius:var(--plasma-pagination-button-radius);--plasma-button-group-item-radius-circle:var(--plasma-pagination-button-radius);}
46
+ .Pagination_styles_y6gcva_pshury3__6a3d68ab{--plasma-button-color:var(--plasma-pagination-button-color);--plasma-button-background-color:var(--plasma-pagination-button-bg-color);--plasma-button-color-hover:var(--plasma-pagination-button-color-hover);--plasma-button-background-color-hover:var(--plasma-pagination-button-bg-color-hover);--plasma-button-color-active:var(--plasma-pagination--button-color-active);--plasma-button-background-color-active:var(--plasma-pagination-button-bg-color-active);--plasma-button-font-family:var(--plasma-pagination-font-family);--plasma-button-font-size:var(--plasma-pagination-font-size);--plasma-button-font-style:var(--plasma-pagination-font-style);--plasma-button-font-weight:var(--plasma-pagination-font-weight);--plasma-button-letter-spacing:var(--plasma-pagination-letter-spacing);--plasma-button-line-height:var(--plasma-pagination-line-height);--plasma-button-width:var(--plasma-pagination-button-width);--plasma-button-height:var(--plasma-pagination-button-height);--plasma-button-radius:var(--plasma-pagination-button-radius);--plasma-button-disabled-opacity:var(--plasma-pagination-button-disabled-opacity);--plasma-button-focus-color:var(--plasma-pagination--button-color-focus);position:relative;}.Pagination_styles_y6gcva_pshury3__6a3d68ab.Pagination_styles_y6gcva_paginationPageButtonActive__6a3d68ab{--plasma-button-color:var(--plasma-pagination-button-current-color);--plasma-button-background-color:var(--plasma-pagination-button-current-bg-color);--plasma-button-color-hover:var(--plasma-pagination-button-current-color-hover);--plasma-button-background-color-hover:var(--plasma-pagination-button-current-bg-color-hover);--plasma-button-color-active:var(--plasma-pagination--button-current-color-active);--plasma-button-background-color-active:var(--plasma-pagination-button-current-bg-color-active);}.Pagination_styles_y6gcva_pshury3__6a3d68ab:focus{outline:none;}.Pagination_styles_y6gcva_pshury3__6a3d68ab::before{content:'';position:absolute;top:calc(-1 * var(--plasma_private-btn-outline-size));left:calc(-1 * var(--plasma_private-btn-outline-size));right:calc(-1 * var(--plasma_private-btn-outline-size));bottom:calc(-1 * var(--plasma_private-btn-outline-size));z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-btn-outline-size) solid transparent;border-radius:var(--plasma_private-btn-br);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.Pagination_styles_y6gcva_pshury3__6a3d68ab.Pagination_styles_y6gcva_focusVisible__6a3d68ab:focus::before,.Pagination_styles_y6gcva_pshury3__6a3d68ab[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-btn-outline-size) var(--plasma-pagination--button-color-focus);}
47
+ .Pagination_styles_y6gcva_pwlctp1__6a3d68ab.Pagination_styles_y6gcva_pshury3__6a3d68ab{--plasma-button-width:var(--plasma-pagination-button-width-shorter);--plasma-button-padding:0;}
48
48
 
49
49
  .base_ldqogv_b1fjr2lv__916b2a9f .base_ldqogv_paginationIconReverse__916b2a9f{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}
50
50
 
@@ -138,6 +138,6 @@
138
138
  .Select_styles_768h42_ogpldc9__d1d95a37{display:block;margin-bottom:var(--plasma-select-label-offset);color:var(--text-primary);font-family:var(--plasma-select-label-font-family);font-size:var(--plasma-select-label-font-size);font-style:var(--plasma-select-label-font-style);font-weight:var(--plasma-select-label-font-weight);-webkit-letter-spacing:var(--plasma-select-label-font-letter-spacing);-moz-letter-spacing:var(--plasma-select-label-font-letter-spacing);-ms-letter-spacing:var(--plasma-select-label-font-letter-spacing);letter-spacing:var(--plasma-select-label-font-letter-spacing);line-height:var(--plasma-select-label-font-line-height);}
139
139
  .Select_styles_768h42_h2ef052__d1d95a37{margin-top:var(--plasma-select-helper-text-offset);color:var(--plasma-select-helper-text-color);font-family:var(--plasma-select-helper-text-font-family);font-size:var(--plasma-select-helper-text-font-size);font-style:var(--plasma-select-helper-text-font-style);font-weight:var(--plasma-select-helper-text-font-weight);-webkit-letter-spacing:var(--plasma-select-helper-text-font-letter-spacing);-moz-letter-spacing:var(--plasma-select-helper-text-font-letter-spacing);-ms-letter-spacing:var(--plasma-select-helper-text-font-letter-spacing);letter-spacing:var(--plasma-select-helper-text-font-letter-spacing);line-height:var(--plasma-select-helper-text-font-line-height);}
140
140
 
141
- .PaginationSelectPerPage_styles_1fesyfv_s1e57mfu__09044c9e{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:0.5rem;}
142
- .PaginationSelectPerPage_styles_1fesyfv_s5dck5y__09044c9e{--plasma-select-target-button-color:var(--plasma-pagination-button-color);--plasma-select-target-button-color-hover:var(--plasma-pagination-button-color-hover);--plasma-select-target-button-color-active:var(--plasma-pagination-button-color-active);--plasma-select-target-button-background-color:var(--plasma-pagination-button-bg-color);--plasma-select-target-button-background-color-hover:var(--plasma-pagination-button-bg-color-hover);--plasma-select-target-button-background-color-active:var(--plasma-pagination-button-bg-color-active);--plasma-select-target-height:var(--plasma-pagination-button-height);--plasma-select-target-button-padding:var(--plasma-pagination-select-target-padding);--plasma-select-border-radius:var(--plasma-pagination-button-radius);--plasma-select-target-button-arrow-color:var(--plasma-pagination--button-arrow-color);--plasma-select-target-button-arrow-color-hover:var(--plasma-pagination--button-arrow-color-hover);--plasma-select-target-button-arrow-color-active:var(--plasma-pagination--button-arrow-color-active);--plasma-select-target-button-arrow-margin:var(--plasma-pagination--button-arrow-margin);--plasma-select-padding:0.125rem;--plasma-select-focus-offset:0.125rem;--plasma-select-item-padding:var(--plasma-pagination-select-item-padding);--plasma-select-item-border-radius:calc(var(--plasma-pagination-button-radius) - 0.125rem);--plasma-select-item-icon-margin:0 0.375rem 0 0;--plasma-select-item-icon-size:1.5rem;--plasma-select-item-height:var(--plasma-pagination-select-item-height);--plasma-select-font-family:var(--plasma-pagination-font-family);--plasma-select-font-size:var(--plasma-pagination-font-size);--plasma-select-font-style:var(--plasma-pagination-font-style);--plasma-select-font-weight:var(--plasma-pagination-font-weight);--plasma-select-font-letter-spacing:var(--plasma-pagination-letter-spacing);--plasma-select-font-line-height:var(--plasma-pagination-line-height);}
143
- .PaginationSelectPerPage_styles_1fesyfv_squvg2e__09044c9e{font-family:var(--plasma-pagination-font-family);font-size:var(--plasma-pagination-font-size);font-style:var(--plasma-pagination-font-style);font-weight:var(--plasma-pagination-font-weight);-webkit-letter-spacing:var(--plasma-pagination-letter-spacing);-moz-letter-spacing:var(--plasma-pagination-letter-spacing);-ms-letter-spacing:var(--plasma-pagination-letter-spacing);letter-spacing:var(--plasma-pagination-letter-spacing);line-height:var(--plasma-pagination-line-height);}
141
+ .PaginationSelectPerPage_styles_187mk6b_s1e57mfu__a3b3456a{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:0.5rem;}
142
+ .PaginationSelectPerPage_styles_187mk6b_s5dck5y__a3b3456a{--plasma-select-target-button-color:var(--plasma-pagination-button-color);--plasma-select-target-button-color-hover:var(--plasma-pagination-button-color-hover);--plasma-select-target-button-color-active:var(--plasma-pagination-button-color-active);--plasma-select-target-button-background-color:var(--plasma-pagination-button-bg-color);--plasma-select-target-button-background-color-hover:var(--plasma-pagination-button-bg-color-hover);--plasma-select-target-button-background-color-active:var(--plasma-pagination-button-bg-color-active);--plasma-select-target-height:var(--plasma-pagination-button-height);--plasma-select-target-button-padding:var(--plasma-pagination-select-target-padding);--plasma-select-border-radius:var(--plasma-pagination-button-radius);--plasma-select-target-button-arrow-color:var(--plasma-pagination--button-arrow-color);--plasma-select-target-button-arrow-color-hover:var(--plasma-pagination--button-arrow-color-hover);--plasma-select-target-button-arrow-color-active:var(--plasma-pagination--button-arrow-color-active);--plasma-select-target-button-arrow-margin:var(--plasma-pagination--button-arrow-margin);--plasma-select-padding:0.125rem;--plasma-select-focus-offset:0.125rem;--plasma-select-item-padding:var(--plasma-pagination-select-item-padding);--plasma-select-item-border-radius:calc(var(--plasma-pagination-button-radius) - 0.125rem);--plasma-select-item-icon-margin:0 0.375rem 0 0;--plasma-select-item-icon-size:1.5rem;--plasma-select-item-height:var(--plasma-pagination-select-item-height);}
143
+ .PaginationSelectPerPage_styles_187mk6b_squvg2e__a3b3456a{font-family:var(--plasma-pagination-font-family);font-size:var(--plasma-pagination-font-size);font-style:var(--plasma-pagination-font-style);font-weight:var(--plasma-pagination-font-weight);-webkit-letter-spacing:var(--plasma-pagination-letter-spacing);-moz-letter-spacing:var(--plasma-pagination-letter-spacing);-ms-letter-spacing:var(--plasma-pagination-letter-spacing);letter-spacing:var(--plasma-pagination-letter-spacing);line-height:var(--plasma-pagination-line-height);}
@@ -11,6 +11,7 @@ import { PaginationQuickJumpToPage } from './ui/PaginationQuickJumpToPage/Pagina
11
11
  import { PaginationSelectPerPage } from './ui/PaginationSelectPerPage/PaginationSelectPerPage.js';
12
12
  import { isNumber } from '../../utils/isNumber.js';
13
13
 
14
+ var _PaginationShorter;
14
15
  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"];
15
16
  var paginationRoot = function paginationRoot(Root) {
16
17
  return /*#__PURE__*/forwardRef(function (_ref, ref) {
@@ -125,11 +126,10 @@ var paginationRoot = function paginationRoot(Root) {
125
126
  }, /*#__PURE__*/React.createElement(PaginationPages, null, leftContent && /*#__PURE__*/React.createElement(PaginationButtonGroup, {
126
127
  isCommonButtonStyles: isCommonButtonStyles
127
128
  }, leftContent), sections && sections.map(function (section, indexSection) {
128
- return /*#__PURE__*/React.createElement(React.Fragment, null, indexSection !== 0 && /*#__PURE__*/React.createElement(PaginationShorter, {
129
+ return /*#__PURE__*/React.createElement(React.Fragment, null, indexSection !== 0 && (_PaginationShorter || (_PaginationShorter = /*#__PURE__*/React.createElement(PaginationShorter, {
129
130
  stretching: "fixed",
130
- disabled: true,
131
- className: classes.buttonDisabled
132
- }, "..."), /*#__PURE__*/React.createElement(PaginationSection, {
131
+ disabled: true
132
+ }, "..."))), /*#__PURE__*/React.createElement(PaginationSection, {
133
133
  key: indexSection
134
134
  }, section.map(function (pageValue) {
135
135
  return /*#__PURE__*/React.createElement(PaginationButton, {
@@ -140,7 +140,7 @@ var paginationRoot = function paginationRoot(Root) {
140
140
  return handlerSetPage(pageValue);
141
141
  },
142
142
  disabled: disabled.includes(pageValue),
143
- className: cx(classes.paginationPageButton, isActiveButton(pageValue), disabled.includes(pageValue) ? classes.buttonDisabled : '')
143
+ className: cx(classes.paginationPageButton, isActiveButton(pageValue))
144
144
  }, pageValue);
145
145
  })));
146
146
  }), rightContent && /*#__PURE__*/React.createElement(PaginationButtonGroup, {
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.js","sources":["../../../src/components/Pagination/Pagination.tsx"],"sourcesContent":["import React, { useEffect, useState, forwardRef } from 'react';\n\nimport { cx, isNumber } from '../../utils';\nimport { RootProps } from '../../engines';\n\nimport {\n PaginationPages,\n PaginationActions,\n PaginationButton,\n PaginationSection,\n PaginationButtonGroup,\n PaginationRoot,\n PaginationShorter,\n} from './Pagination.styles';\nimport type { PaginationProps } from './Pagination.types';\nimport { getSections, defaultValues } from './utils';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as typeCSS } from './variations/_type/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { classes } from './Pagination.tokens';\nimport { PaginationQuickJumpToPage } from './ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage';\nimport { PaginationSelectPerPage } from './ui/PaginationSelectPerPage/PaginationSelectPerPage';\n\nexport const paginationRoot = (Root: RootProps<HTMLDivElement, PaginationProps>) =>\n forwardRef<HTMLDivElement, PaginationProps>(\n (\n {\n value = defaultValues.value,\n perPage,\n slots = defaultValues.slots,\n\n view,\n viewCurrentPage,\n type = defaultValues.type,\n size,\n pilled = defaultValues.pilled,\n square = defaultValues.square,\n disabledPages = defaultValues.disabledPages,\n\n count = defaultValues.value,\n\n hasQuickJump = defaultValues.hasQuickJump,\n hasPerPage = defaultValues.hasPerPage,\n perPageList = defaultValues.perPageList,\n isCommonButtonStyles = defaultValues.isCommonButtonStyles,\n\n placeholderQuickJump = defaultValues.placeholderQuickJump,\n textQuickJump = defaultValues.textQuickJump,\n textPerPage = defaultValues.textPerPage,\n\n leftContent,\n rightContent,\n\n listWidth,\n\n onChangePageValue,\n onChangePerPageValue,\n ...rest\n },\n ref,\n ) => {\n const [page, setPageValue] = useState<number>(1);\n const [perPageValue, setPerPageValue] = useState(perPage);\n const [pages, setPagesValue] = useState<number>(value);\n const [sections, setSections] = useState<number[][] | null>(null);\n\n const typeClass = classes[`${type}Type` as keyof typeof classes];\n const roundedClass = pilled ? 'circle-circle' : 'square-square';\n\n const withHasPerPageSelect = hasPerPage ? classes.withHasPerPageSelect : undefined;\n const withHasQuickJump = hasQuickJump ? classes.withHasQuickJump : undefined;\n\n const disabled = disabledPages.map((el) => (isNumber(el) ? Number(el) : null));\n\n const handlerSetPages = (newPerPage?: number) => {\n if (newPerPage) {\n setPagesValue(Math.ceil(count / newPerPage));\n } else {\n setPagesValue(Math.ceil(count / (hasPerPage ? defaultValues.perPage : 1)));\n }\n };\n\n const handlerSetPage = (newPageValue?: number) => {\n let pageValue = newPageValue ?? defaultValues.value;\n if (pageValue > pages) {\n pageValue = pages;\n }\n if (pageValue < 1) {\n pageValue = 1;\n }\n if (disabled.includes(pageValue)) {\n return;\n }\n setPageValue(pageValue);\n onChangePageValue?.(pageValue);\n };\n\n const handlerSetPerPage = (newPerPageValue?: number) => {\n handlerSetPage(1);\n setPerPageValue(newPerPageValue);\n onChangePerPageValue?.(newPerPageValue);\n\n handlerSetPages(newPerPageValue);\n };\n\n const isActiveButton = (checkPage: number) => {\n return page === checkPage ? classes.paginationPageButtonActive : '';\n };\n\n useEffect(() => {\n handlerSetPages(perPage);\n }, [perPage, count, handlerSetPages]);\n\n useEffect(() => {\n handlerSetPage(value);\n }, [value]);\n\n useEffect(() => {\n setSections(getSections(page, pages, slots));\n }, [page, slots, pages, setSections, getSections]);\n\n return (\n <Root\n size={size}\n view={view}\n viewCurrentPage={viewCurrentPage}\n className={cx(classes.wrapper, typeClass)}\n ref={ref}\n {...rest}\n >\n <PaginationRoot className={typeClass}>\n <PaginationPages>\n {leftContent && (\n <PaginationButtonGroup isCommonButtonStyles={isCommonButtonStyles}>\n {leftContent}\n </PaginationButtonGroup>\n )}\n {sections &&\n sections.map((section, indexSection) => (\n <>\n {indexSection !== 0 && (\n <PaginationShorter\n stretching=\"fixed\"\n disabled\n className={classes.buttonDisabled}\n >\n ...\n </PaginationShorter>\n )}\n <PaginationSection key={indexSection}>\n {section.map((pageValue) => (\n <PaginationButton\n square={square}\n pin={roundedClass}\n key={pageValue}\n onClick={() => handlerSetPage(pageValue)}\n disabled={disabled.includes(pageValue)}\n className={cx(\n classes.paginationPageButton,\n isActiveButton(pageValue),\n disabled.includes(pageValue) ? classes.buttonDisabled : '',\n )}\n >\n {pageValue}\n </PaginationButton>\n ))}\n </PaginationSection>\n </>\n ))}\n {rightContent && (\n <PaginationButtonGroup isCommonButtonStyles={isCommonButtonStyles}>\n {rightContent}\n </PaginationButtonGroup>\n )}\n </PaginationPages>\n <PaginationActions\n className={cx(classes.actions, typeClass, withHasPerPageSelect, withHasQuickJump)}\n >\n {hasQuickJump && (\n <PaginationQuickJumpToPage\n placeholderQuickJump={placeholderQuickJump}\n textQuickJump={textQuickJump}\n onChangeValue={handlerSetPage}\n />\n )}\n {hasPerPage && (\n <PaginationSelectPerPage\n textPerPage={textPerPage}\n perPageValue={perPageValue}\n perPageList={perPageList}\n onChangeValue={handlerSetPerPage}\n size={size}\n listWidth={listWidth}\n />\n )}\n </PaginationActions>\n </PaginationRoot>\n </Root>\n );\n },\n );\n\nexport const paginationConfig = {\n name: 'Pagination',\n tag: 'div',\n layout: paginationRoot,\n base: '',\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n type: {\n css: typeCSS,\n },\n },\n defaults: {\n view: 'clear',\n size: 'm',\n },\n};\n"],"names":["paginationRoot","Root","forwardRef","_ref","ref","_ref$value","value","defaultValues","perPage","_ref$slots","slots","view","viewCurrentPage","_ref$type","type","size","_ref$pilled","pilled","_ref$square","square","_ref$disabledPages","disabledPages","_ref$count","count","_ref$hasQuickJump","hasQuickJump","_ref$hasPerPage","hasPerPage","_ref$perPageList","perPageList","_ref$isCommonButtonSt","isCommonButtonStyles","_ref$placeholderQuick","placeholderQuickJump","_ref$textQuickJump","textQuickJump","_ref$textPerPage","textPerPage","leftContent","rightContent","listWidth","onChangePageValue","onChangePerPageValue","rest","_objectWithoutProperties","_excluded","_useState","useState","_useState2","_slicedToArray","page","setPageValue","_useState3","_useState4","perPageValue","setPerPageValue","_useState5","_useState6","pages","setPagesValue","_useState7","_useState8","sections","setSections","typeClass","classes","concat","roundedClass","withHasPerPageSelect","undefined","withHasQuickJump","disabled","map","el","isNumber","Number","handlerSetPages","newPerPage","Math","ceil","handlerSetPage","newPageValue","pageValue","includes","handlerSetPerPage","newPerPageValue","isActiveButton","checkPage","paginationPageButtonActive","useEffect","getSections","React","createElement","_extends","className","cx","wrapper","PaginationRoot","PaginationPages","PaginationButtonGroup","section","indexSection","Fragment","PaginationShorter","stretching","buttonDisabled","PaginationSection","key","PaginationButton","pin","onClick","paginationPageButton","PaginationActions","actions","PaginationQuickJumpToPage","onChangeValue","PaginationSelectPerPage","paginationConfig","name","tag","layout","base","variations","css","viewCSS","sizeCSS","typeCSS","defaults"],"mappings":";;;;;;;;;;;;;;IAuBaA,cAAc,GAAG,SAAjBA,cAAcA,CAAIC,IAAgD,EAAA;AAAA,EAAA,oBAC3EC,UAAU,CACN,UAAAC,IAAA,EAkCIC,GAAG,EACF;AAAA,IAAA,IAAAC,UAAA,GAAAF,IAAA,CAjCGG,KAAK;AAALA,MAAAA,KAAK,GAAAD,UAAA,KAAA,KAAA,CAAA,GAAGE,aAAa,CAACD,KAAK,GAAAD,UAAA;MAC3BG,OAAO,GAAAL,IAAA,CAAPK,OAAO;MAAAC,UAAA,GAAAN,IAAA,CACPO,KAAK;AAALA,MAAAA,KAAK,GAAAD,UAAA,KAAA,KAAA,CAAA,GAAGF,aAAa,CAACG,KAAK,GAAAD,UAAA;MAE3BE,IAAI,GAAAR,IAAA,CAAJQ,IAAI;MACJC,eAAe,GAAAT,IAAA,CAAfS,eAAe;MAAAC,SAAA,GAAAV,IAAA,CACfW,IAAI;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;AAC3CE,MAAAA,aAAa,EAAEA,aAAc;AAC7BgF,MAAAA,aAAa,EAAEnC,cAAAA;KAClB,CACJ,EACArD,UAAU,iBACPgE,KAAA,CAAAC,aAAA,CAACwB,uBAAuB,EAAA;AACpB/E,MAAAA,WAAW,EAAEA,WAAY;AACzBiB,MAAAA,YAAY,EAAEA,YAAa;AAC3BzB,MAAAA,WAAW,EAAEA,WAAY;AACzBsF,MAAAA,aAAa,EAAE/B,iBAAkB;AACjCrE,MAAAA,IAAI,EAAEA,IAAK;AACXyB,MAAAA,SAAS,EAAEA,SAAAA;KACd,CAEU,CACP,CACd,CAAC,CAAA;AAEf,GACJ,CAAC,CAAA;AAAA,EAAA;AAEE,IAAM6E,gBAAgB,GAAG;AAC5BC,EAAAA,IAAI,EAAE,YAAY;AAClBC,EAAAA,GAAG,EAAE,KAAK;AACVC,EAAAA,MAAM,EAAExH,cAAc;AACtByH,EAAAA,IAAI,EAAE,EAAE;AACRC,EAAAA,UAAU,EAAE;AACR/G,IAAAA,IAAI,EAAE;AACFgH,MAAAA,GAAG,EAAEC,IAAAA;KACR;AACD7G,IAAAA,IAAI,EAAE;AACF4G,MAAAA,GAAG,EAAEE,MAAAA;KACR;AACD/G,IAAAA,IAAI,EAAE;AACF6G,MAAAA,GAAG,EAAEG,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNpH,IAAAA,IAAI,EAAE,OAAO;AACbI,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;"}
1
+ {"version":3,"file":"Pagination.js","sources":["../../../src/components/Pagination/Pagination.tsx"],"sourcesContent":["import React, { useEffect, useState, forwardRef } from 'react';\n\nimport { cx, isNumber } from '../../utils';\nimport { RootProps } from '../../engines';\n\nimport {\n PaginationPages,\n PaginationActions,\n PaginationButton,\n PaginationSection,\n PaginationButtonGroup,\n PaginationRoot,\n PaginationShorter,\n} from './Pagination.styles';\nimport type { PaginationProps } from './Pagination.types';\nimport { getSections, defaultValues } from './utils';\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as typeCSS } from './variations/_type/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { classes } from './Pagination.tokens';\nimport { PaginationQuickJumpToPage } from './ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage';\nimport { PaginationSelectPerPage } from './ui/PaginationSelectPerPage/PaginationSelectPerPage';\n\nexport const paginationRoot = (Root: RootProps<HTMLDivElement, PaginationProps>) =>\n forwardRef<HTMLDivElement, PaginationProps>(\n (\n {\n value = defaultValues.value,\n perPage,\n slots = defaultValues.slots,\n\n view,\n viewCurrentPage,\n type = defaultValues.type,\n size,\n pilled = defaultValues.pilled,\n square = defaultValues.square,\n disabledPages = defaultValues.disabledPages,\n\n count = defaultValues.value,\n\n hasQuickJump = defaultValues.hasQuickJump,\n hasPerPage = defaultValues.hasPerPage,\n perPageList = defaultValues.perPageList,\n isCommonButtonStyles = defaultValues.isCommonButtonStyles,\n\n placeholderQuickJump = defaultValues.placeholderQuickJump,\n textQuickJump = defaultValues.textQuickJump,\n textPerPage = defaultValues.textPerPage,\n\n leftContent,\n rightContent,\n\n listWidth,\n\n onChangePageValue,\n onChangePerPageValue,\n ...rest\n },\n ref,\n ) => {\n const [page, setPageValue] = useState<number>(1);\n const [perPageValue, setPerPageValue] = useState(perPage);\n const [pages, setPagesValue] = useState<number>(value);\n const [sections, setSections] = useState<number[][] | null>(null);\n\n const typeClass = classes[`${type}Type` as keyof typeof classes];\n const roundedClass = pilled ? 'circle-circle' : 'square-square';\n\n const withHasPerPageSelect = hasPerPage ? classes.withHasPerPageSelect : undefined;\n const withHasQuickJump = hasQuickJump ? classes.withHasQuickJump : undefined;\n\n const disabled = disabledPages.map((el) => (isNumber(el) ? Number(el) : null));\n\n const handlerSetPages = (newPerPage?: number) => {\n if (newPerPage) {\n setPagesValue(Math.ceil(count / newPerPage));\n } else {\n setPagesValue(Math.ceil(count / (hasPerPage ? defaultValues.perPage : 1)));\n }\n };\n\n const handlerSetPage = (newPageValue?: number) => {\n let pageValue = newPageValue ?? defaultValues.value;\n if (pageValue > pages) {\n pageValue = pages;\n }\n if (pageValue < 1) {\n pageValue = 1;\n }\n if (disabled.includes(pageValue)) {\n return;\n }\n setPageValue(pageValue);\n onChangePageValue?.(pageValue);\n };\n\n const handlerSetPerPage = (newPerPageValue?: number) => {\n handlerSetPage(1);\n setPerPageValue(newPerPageValue);\n onChangePerPageValue?.(newPerPageValue);\n\n handlerSetPages(newPerPageValue);\n };\n\n const isActiveButton = (checkPage: number) => {\n return page === checkPage ? classes.paginationPageButtonActive : '';\n };\n\n useEffect(() => {\n handlerSetPages(perPage);\n }, [perPage, count, handlerSetPages]);\n\n useEffect(() => {\n handlerSetPage(value);\n }, [value]);\n\n useEffect(() => {\n setSections(getSections(page, pages, slots));\n }, [page, slots, pages, setSections, getSections]);\n\n return (\n <Root\n size={size}\n view={view}\n viewCurrentPage={viewCurrentPage}\n className={cx(classes.wrapper, typeClass)}\n ref={ref}\n {...rest}\n >\n <PaginationRoot className={typeClass}>\n <PaginationPages>\n {leftContent && (\n <PaginationButtonGroup isCommonButtonStyles={isCommonButtonStyles}>\n {leftContent}\n </PaginationButtonGroup>\n )}\n {sections &&\n sections.map((section, indexSection) => (\n <>\n {indexSection !== 0 && (\n <PaginationShorter stretching=\"fixed\" disabled>\n ...\n </PaginationShorter>\n )}\n <PaginationSection key={indexSection}>\n {section.map((pageValue) => (\n <PaginationButton\n square={square}\n pin={roundedClass}\n key={pageValue}\n onClick={() => handlerSetPage(pageValue)}\n disabled={disabled.includes(pageValue)}\n className={cx(\n classes.paginationPageButton,\n isActiveButton(pageValue),\n )}\n >\n {pageValue}\n </PaginationButton>\n ))}\n </PaginationSection>\n </>\n ))}\n {rightContent && (\n <PaginationButtonGroup isCommonButtonStyles={isCommonButtonStyles}>\n {rightContent}\n </PaginationButtonGroup>\n )}\n </PaginationPages>\n <PaginationActions\n className={cx(classes.actions, typeClass, withHasPerPageSelect, withHasQuickJump)}\n >\n {hasQuickJump && (\n <PaginationQuickJumpToPage\n placeholderQuickJump={placeholderQuickJump}\n textQuickJump={textQuickJump}\n onChangeValue={handlerSetPage}\n />\n )}\n {hasPerPage && (\n <PaginationSelectPerPage\n textPerPage={textPerPage}\n perPageValue={perPageValue}\n perPageList={perPageList}\n onChangeValue={handlerSetPerPage}\n size={size}\n listWidth={listWidth}\n />\n )}\n </PaginationActions>\n </PaginationRoot>\n </Root>\n );\n },\n );\n\nexport const paginationConfig = {\n name: 'Pagination',\n tag: 'div',\n layout: paginationRoot,\n base: '',\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n type: {\n css: typeCSS,\n },\n },\n defaults: {\n view: 'clear',\n size: 'm',\n },\n};\n"],"names":["paginationRoot","Root","forwardRef","_ref","ref","_ref$value","value","defaultValues","perPage","_ref$slots","slots","view","viewCurrentPage","_ref$type","type","size","_ref$pilled","pilled","_ref$square","square","_ref$disabledPages","disabledPages","_ref$count","count","_ref$hasQuickJump","hasQuickJump","_ref$hasPerPage","hasPerPage","_ref$perPageList","perPageList","_ref$isCommonButtonSt","isCommonButtonStyles","_ref$placeholderQuick","placeholderQuickJump","_ref$textQuickJump","textQuickJump","_ref$textPerPage","textPerPage","leftContent","rightContent","listWidth","onChangePageValue","onChangePerPageValue","rest","_objectWithoutProperties","_excluded","_useState","useState","_useState2","_slicedToArray","page","setPageValue","_useState3","_useState4","perPageValue","setPerPageValue","_useState5","_useState6","pages","setPagesValue","_useState7","_useState8","sections","setSections","typeClass","classes","concat","roundedClass","withHasPerPageSelect","undefined","withHasQuickJump","disabled","map","el","isNumber","Number","handlerSetPages","newPerPage","Math","ceil","handlerSetPage","newPageValue","pageValue","includes","handlerSetPerPage","newPerPageValue","isActiveButton","checkPage","paginationPageButtonActive","useEffect","getSections","React","createElement","_extends","className","cx","wrapper","PaginationRoot","PaginationPages","PaginationButtonGroup","section","indexSection","Fragment","_PaginationShorter","PaginationShorter","stretching","PaginationSection","key","PaginationButton","pin","onClick","paginationPageButton","PaginationActions","actions","PaginationQuickJumpToPage","onChangeValue","PaginationSelectPerPage","paginationConfig","name","tag","layout","base","variations","css","viewCSS","sizeCSS","typeCSS","defaults"],"mappings":";;;;;;;;;;;;;;;IAuBaA,cAAc,GAAG,SAAjBA,cAAcA,CAAIC,IAAgD,EAAA;AAAA,EAAA,oBAC3EC,UAAU,CACN,UAAAC,IAAA,EAkCIC,GAAG,EACF;AAAA,IAAA,IAAAC,UAAA,GAAAF,IAAA,CAjCGG,KAAK;AAALA,MAAAA,KAAK,GAAAD,UAAA,KAAA,KAAA,CAAA,GAAGE,aAAa,CAACD,KAAK,GAAAD,UAAA;MAC3BG,OAAO,GAAAL,IAAA,CAAPK,OAAO;MAAAC,UAAA,GAAAN,IAAA,CACPO,KAAK;AAALA,MAAAA,KAAK,GAAAD,UAAA,KAAA,KAAA,CAAA,GAAGF,aAAa,CAACG,KAAK,GAAAD,UAAA;MAE3BE,IAAI,GAAAR,IAAA,CAAJQ,IAAI;MACJC,eAAe,GAAAT,IAAA,CAAfS,eAAe;MAAAC,SAAA,GAAAV,IAAA,CACfW,IAAI;AAAJA,MAAAA,IAAI,GAAAD,SAAA,KAAA,KAAA,CAAA,GAAGN,aAAa,CAACO,IAAI,GAAAD,SAAA;MACzBE,IAAI,GAAAZ,IAAA,CAAJY,IAAI;MAAAC,WAAA,GAAAb,IAAA,CACJc,MAAM;AAANA,MAAAA,MAAM,GAAAD,WAAA,KAAA,KAAA,CAAA,GAAGT,aAAa,CAACU,MAAM,GAAAD,WAAA;MAAAE,WAAA,GAAAf,IAAA,CAC7BgB,MAAM;AAANA,MAAAA,MAAM,GAAAD,WAAA,KAAA,KAAA,CAAA,GAAGX,aAAa,CAACY,MAAM,GAAAD,WAAA;MAAAE,kBAAA,GAAAjB,IAAA,CAC7BkB,aAAa;AAAbA,MAAAA,aAAa,GAAAD,kBAAA,KAAA,KAAA,CAAA,GAAGb,aAAa,CAACc,aAAa,GAAAD,kBAAA;MAAAE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ACFgH,MAAAA,GAAG,EAAEC,IAAAA;KACR;AACD7G,IAAAA,IAAI,EAAE;AACF4G,MAAAA,GAAG,EAAEE,MAAAA;KACR;AACD/G,IAAAA,IAAI,EAAE;AACF6G,MAAAA,GAAG,EAAEG,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNpH,IAAAA,IAAI,EAAE,OAAO;AACbI,IAAAA,IAAI,EAAE,GAAA;AACV,GAAA;AACJ;;;;"}
@@ -1,4 +1,4 @@
1
- import './Pagination.styles_1w5oej6.css';
1
+ import './Pagination.styles_y6gcva.css';
2
2
  import { styled } from '@linaria/react';
3
3
  import { component, mergeConfig } from '../../engines/common.js';
4
4
  import { buttonConfig } from '../Button/Button.js';
@@ -44,10 +44,10 @@ var PaginationButton = /*#__PURE__*/styled(_exp44())({
44
44
  "class": "pshury3",
45
45
  propsAsIs: true
46
46
  });
47
- var _exp100 = function _exp100() {
47
+ var _exp93 = function _exp93() {
48
48
  return PaginationButton;
49
49
  };
50
- var PaginationShorter = /*#__PURE__*/styled(_exp100())({
50
+ var PaginationShorter = /*#__PURE__*/styled(_exp93())({
51
51
  name: "PaginationShorter",
52
52
  "class": "pwlctp1",
53
53
  propsAsIs: true
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.styles.js","sources":["../../../src/components/Pagination/Pagination.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { buttonConfig, buttonTokens } from '../Button';\nimport { buttonGroupConfig, buttonGroupTokens } from '../ButtonGroup';\nimport { component, mergeConfig } from '../../engines';\nimport { addFocus } from '../../mixins';\n\nimport { classes, tokens } from './Pagination.tokens';\n\nconst mergedButtonConfig = mergeConfig(buttonConfig);\nconst Button = component(mergedButtonConfig);\n\nconst mergedButtonGroupConfig = mergeConfig(buttonGroupConfig);\nconst ButtonGroup = component(mergedButtonGroupConfig);\n\nexport const PaginationRoot = styled.div`\n display: flex;\n color: var(${tokens.paginationColor});\n\n &.${classes.compactType} {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n }\n &.${classes.defaultType} {\n display: flex;\n justify-content: space-between;\n flex: 0 0 100%;\n gap: 1rem;\n flex-wrap: wrap;\n }\n`;\n\nexport const PaginationPages = styled.div`\n display: flex;\n align-items: center;\n gap: 0.25rem;\n margin: 0 auto;\n`;\n\nexport const PaginationActions = styled.div`\n display: flex;\n justify-content: space-between;\n flex-grow: 1;\n gap: 0.625rem;\n &.${classes.compactType} {\n flex-direction: row;\n }\n\n &.${classes.withHasPerPageSelect} {\n flex-direction: row-reverse;\n }\n\n &.${classes.withHasQuickJump} {\n flex-direction: row;\n }\n`;\n\nexport const PaginationSection = styled.div`\n display: flex;\n gap: 0.125rem;\n`;\n\nexport const PaginationButtonGroup = styled(ButtonGroup)`\n ${buttonGroupTokens.buttonColor}: var(${tokens.buttonColor});\n ${buttonGroupTokens.buttonBackgroundColor}: var(${tokens.buttonBackgroundColor});\n\n ${buttonGroupTokens.buttonColorHover}: var(${tokens.buttonHoverColor});\n ${buttonGroupTokens.buttonBackgroundColorHover}: var(${tokens.buttonBackgroundColorHover});\n\n ${buttonGroupTokens.buttonColorActive}: var(${tokens.buttonActiveColor});\n ${buttonGroupTokens.buttonBackgroundColorActive}: var(${tokens.buttonBackgroundColorActive});\n\n ${buttonGroupTokens.buttonFontFamily}: var(${tokens.paginationFontFamily});\n ${buttonGroupTokens.buttonFontSize}: var(${tokens.paginationFontSize});\n ${buttonGroupTokens.buttonFontStyle}: var(${tokens.paginationFontStyle});\n ${buttonGroupTokens.buttonFontWeight}:var(${tokens.paginationFontWeight});\n ${buttonGroupTokens.buttonLetterSpacing}: var(${tokens.paginationLetterSpacing});\n ${buttonGroupTokens.buttonLineHeight}: var(${tokens.paginationLineHeight});\n\n ${buttonGroupTokens.buttonWidth}: var(${tokens.buttonWidth});\n ${buttonGroupTokens.buttonHeight}: var(${tokens.buttonHeight});\n\n ${buttonGroupTokens.buttonDefaultRadius}: var(${tokens.buttonRadius});\n ${buttonGroupTokens.buttonSideRadius}: var(${tokens.buttonRadius});\n ${buttonGroupTokens.buttonSegmentedRadius}: var(${tokens.buttonRadius});\n ${buttonGroupTokens.buttonRadiusCircle}: var(${tokens.buttonRadius});\n`;\n\nexport const PaginationButton = styled(Button)`\n ${buttonTokens.buttonColor}: var(${tokens.buttonColor});\n ${buttonTokens.buttonBackgroundColor}: var(${tokens.buttonBackgroundColor});\n\n ${buttonTokens.buttonColorHover}: var(${tokens.buttonHoverColor});\n ${buttonTokens.buttonBackgroundColorHover}: var(${tokens.buttonBackgroundColorHover});\n\n ${buttonTokens.buttonColorActive}: var(${tokens.buttonActiveColor});\n ${buttonTokens.buttonBackgroundColorActive}: var(${tokens.buttonBackgroundColorActive});\n\n\n ${buttonTokens.buttonFontFamily}: var(${tokens.paginationFontFamily});\n ${buttonTokens.buttonFontSize}: var(${tokens.paginationFontSize});\n ${buttonTokens.buttonFontStyle}: var(${tokens.paginationFontStyle});\n ${buttonTokens.buttonFontWeight}:var(${tokens.paginationFontWeight});\n ${buttonTokens.buttonLetterSpacing}: var(${tokens.paginationLetterSpacing});\n ${buttonTokens.buttonLineHeight}: var(${tokens.paginationLineHeight});\n\n ${buttonTokens.buttonWidth}: var(${tokens.buttonWidth});\n ${buttonTokens.buttonHeight}: var(${tokens.buttonHeight});\n ${buttonTokens.buttonRadius}: var(${tokens.buttonRadius});\n\n ${buttonTokens.buttonDisabledOpacity}: var(${tokens.buttonDisabledOpacity});\n ${buttonTokens.buttonFocusColor}: var(${tokens.buttonFocusColor});\n\n &.${classes.paginationPageButtonActive} {\n ${buttonTokens.buttonColor}: var(${tokens.paginationCurrentButtonColor});\n ${buttonTokens.buttonBackgroundColor}: var(${tokens.paginationCurrentButtonBackgroundColor});\n\n ${buttonTokens.buttonColorHover}: var(${tokens.paginationCurrentButtonHoverColor});\n ${buttonTokens.buttonBackgroundColorHover}: var(${tokens.paginationCurrentButtonHoverBackgroundColor});\n\n ${buttonTokens.buttonColorActive}: var(${tokens.paginationCurrentButtonActiveColor});\n ${buttonTokens.buttonBackgroundColorActive}: var(${tokens.paginationCurrentButtonActiveBackgroundColor});\n }\n\n &.${classes.buttonDisabled} {\n ${buttonTokens.buttonColor}: var(${tokens.paginationDisabledButtonColor}, var(${tokens.buttonColor}));\n ${buttonTokens.buttonBackgroundColor}: var(${tokens.paginationDisabledButtonBackgroundColor}, var(${\n tokens.buttonBackgroundColor\n}));\n }\n\n :focus {\n outline: none;\n }\n\n ${addFocus({\n outlineOffset: 'calc(-1 * var(--plasma_private-btn-outline-size))',\n outlineSize: 'var(--plasma_private-btn-outline-size)',\n outlineRadius: 'var(--plasma_private-btn-br)',\n outlineColor: `var(${tokens.buttonFocusColor})`,\n })}\n`;\n\nexport const PaginationShorter = styled(PaginationButton)`\n ${buttonTokens.buttonWidth}: var(${tokens.buttonWidthShorter});\n ${buttonTokens.buttonPadding}: 0;\n`;\n"],"names":["mergedButtonConfig","mergeConfig","buttonConfig","Button","component","mergedButtonGroupConfig","buttonGroupConfig","ButtonGroup","PaginationRoot","styled","name","class","propsAsIs","PaginationPages","PaginationActions","PaginationSection","_exp7","PaginationButtonGroup","_exp44","PaginationButton","_exp100","PaginationShorter"],"mappings":";;;;;AASA,IAAMA,kBAAkB,gBAAGC,WAAW,CAACC,YAAY,CAAC,CAAA;AACpD,IAAMC,MAAM,gBAAGC,SAAS,CAACJ,kBAAkB,CAAC,CAAA;AAE5C,IAAMK,uBAAuB,gBAAGJ,WAAW,CAACK,iBAAiB,CAAC,CAAA;AAC9D,IAAMC,WAAW,gBAAGH,SAAS,CAACC,uBAAuB,CAAC,CAAA;AAE/C,IAAMG,cAAc,gBAAGC,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,gBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAgBnC,EAAA;AAEM,IAAMC,eAAe,gBAAGJ,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,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AV,EAAAA,IAAA,EAAA,mBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAGtC;;;;"}
1
+ {"version":3,"file":"Pagination.styles.js","sources":["../../../src/components/Pagination/Pagination.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { buttonConfig, buttonTokens } from '../Button';\nimport { buttonGroupConfig, buttonGroupTokens } from '../ButtonGroup';\nimport { component, mergeConfig } from '../../engines';\nimport { addFocus } from '../../mixins';\n\nimport { classes, tokens } from './Pagination.tokens';\n\nconst mergedButtonConfig = mergeConfig(buttonConfig);\nconst Button = component(mergedButtonConfig);\n\nconst mergedButtonGroupConfig = mergeConfig(buttonGroupConfig);\nconst ButtonGroup = component(mergedButtonGroupConfig);\n\nexport const PaginationRoot = styled.div`\n display: flex;\n color: var(${tokens.paginationColor});\n\n &.${classes.compactType} {\n display: flex;\n flex-direction: column;\n gap: 0.5rem;\n }\n &.${classes.defaultType} {\n display: flex;\n justify-content: space-between;\n flex: 0 0 100%;\n gap: 1rem;\n flex-wrap: wrap;\n }\n`;\n\nexport const PaginationPages = styled.div`\n display: flex;\n align-items: center;\n gap: 0.25rem;\n margin: 0 auto;\n`;\n\nexport const PaginationActions = styled.div`\n display: flex;\n justify-content: space-between;\n flex-grow: 1;\n gap: 0.625rem;\n &.${classes.compactType} {\n flex-direction: row;\n }\n\n &.${classes.withHasPerPageSelect} {\n flex-direction: row-reverse;\n }\n\n &.${classes.withHasQuickJump} {\n flex-direction: row;\n }\n`;\n\nexport const PaginationSection = styled.div`\n display: flex;\n gap: 0.125rem;\n`;\n\nexport const PaginationButtonGroup = styled(ButtonGroup)`\n ${buttonGroupTokens.buttonColor}: var(${tokens.buttonColor});\n ${buttonGroupTokens.buttonBackgroundColor}: var(${tokens.buttonBackgroundColor});\n\n ${buttonGroupTokens.buttonColorHover}: var(${tokens.buttonHoverColor});\n ${buttonGroupTokens.buttonBackgroundColorHover}: var(${tokens.buttonBackgroundColorHover});\n\n ${buttonGroupTokens.buttonColorActive}: var(${tokens.buttonActiveColor});\n ${buttonGroupTokens.buttonBackgroundColorActive}: var(${tokens.buttonBackgroundColorActive});\n\n ${buttonGroupTokens.buttonFontFamily}: var(${tokens.paginationFontFamily});\n ${buttonGroupTokens.buttonFontSize}: var(${tokens.paginationFontSize});\n ${buttonGroupTokens.buttonFontStyle}: var(${tokens.paginationFontStyle});\n ${buttonGroupTokens.buttonFontWeight}:var(${tokens.paginationFontWeight});\n ${buttonGroupTokens.buttonLetterSpacing}: var(${tokens.paginationLetterSpacing});\n ${buttonGroupTokens.buttonLineHeight}: var(${tokens.paginationLineHeight});\n\n ${buttonGroupTokens.buttonWidth}: var(${tokens.buttonWidth});\n ${buttonGroupTokens.buttonHeight}: var(${tokens.buttonHeight});\n\n ${buttonGroupTokens.buttonDefaultRadius}: var(${tokens.buttonRadius});\n ${buttonGroupTokens.buttonSideRadius}: var(${tokens.buttonRadius});\n ${buttonGroupTokens.buttonSegmentedRadius}: var(${tokens.buttonRadius});\n ${buttonGroupTokens.buttonRadiusCircle}: var(${tokens.buttonRadius});\n`;\n\nexport const PaginationButton = styled(Button)`\n ${buttonTokens.buttonColor}: var(${tokens.buttonColor});\n ${buttonTokens.buttonBackgroundColor}: var(${tokens.buttonBackgroundColor});\n\n ${buttonTokens.buttonColorHover}: var(${tokens.buttonHoverColor});\n ${buttonTokens.buttonBackgroundColorHover}: var(${tokens.buttonBackgroundColorHover});\n\n ${buttonTokens.buttonColorActive}: var(${tokens.buttonActiveColor});\n ${buttonTokens.buttonBackgroundColorActive}: var(${tokens.buttonBackgroundColorActive});\n\n\n ${buttonTokens.buttonFontFamily}: var(${tokens.paginationFontFamily});\n ${buttonTokens.buttonFontSize}: var(${tokens.paginationFontSize});\n ${buttonTokens.buttonFontStyle}: var(${tokens.paginationFontStyle});\n ${buttonTokens.buttonFontWeight}:var(${tokens.paginationFontWeight});\n ${buttonTokens.buttonLetterSpacing}: var(${tokens.paginationLetterSpacing});\n ${buttonTokens.buttonLineHeight}: var(${tokens.paginationLineHeight});\n\n ${buttonTokens.buttonWidth}: var(${tokens.buttonWidth});\n ${buttonTokens.buttonHeight}: var(${tokens.buttonHeight});\n ${buttonTokens.buttonRadius}: var(${tokens.buttonRadius});\n\n ${buttonTokens.buttonDisabledOpacity}: var(${tokens.buttonDisabledOpacity});\n ${buttonTokens.buttonFocusColor}: var(${tokens.buttonFocusColor});\n\n &.${classes.paginationPageButtonActive} {\n ${buttonTokens.buttonColor}: var(${tokens.paginationCurrentButtonColor});\n ${buttonTokens.buttonBackgroundColor}: var(${tokens.paginationCurrentButtonBackgroundColor});\n\n ${buttonTokens.buttonColorHover}: var(${tokens.paginationCurrentButtonHoverColor});\n ${buttonTokens.buttonBackgroundColorHover}: var(${tokens.paginationCurrentButtonHoverBackgroundColor});\n\n ${buttonTokens.buttonColorActive}: var(${tokens.paginationCurrentButtonActiveColor});\n ${buttonTokens.buttonBackgroundColorActive}: var(${tokens.paginationCurrentButtonActiveBackgroundColor});\n }\n\n :focus {\n outline: none;\n }\n\n ${addFocus({\n outlineOffset: 'calc(-1 * var(--plasma_private-btn-outline-size))',\n outlineSize: 'var(--plasma_private-btn-outline-size)',\n outlineRadius: 'var(--plasma_private-btn-br)',\n outlineColor: `var(${tokens.buttonFocusColor})`,\n })}\n`;\n\nexport const PaginationShorter = styled(PaginationButton)`\n ${buttonTokens.buttonWidth}: var(${tokens.buttonWidthShorter});\n ${buttonTokens.buttonPadding}: 0;\n`;\n"],"names":["mergedButtonConfig","mergeConfig","buttonConfig","Button","component","mergedButtonGroupConfig","buttonGroupConfig","ButtonGroup","PaginationRoot","styled","name","class","propsAsIs","PaginationPages","PaginationActions","PaginationSection","_exp7","PaginationButtonGroup","_exp44","PaginationButton","_exp93","PaginationShorter"],"mappings":";;;;;AASA,IAAMA,kBAAkB,gBAAGC,WAAW,CAACC,YAAY,CAAC,CAAA;AACpD,IAAMC,MAAM,gBAAGC,SAAS,CA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AAM,CAAA;AAAA,CAAA,CAAA;AAAtC,IAAMgB,gBAAgB,gBAAGV,MAAM,CAAAS,MAAA,EAAA,CAAA,CAAA;AAAAR,EAAAA,IAAA,EAAA,kBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CA8CrC,EAAA;AAAC,IAAAQ,MAAA,GAtIgBA,SAsIhBA,MAAAA,GAAA;AAAA,EAAA,OAEsCD,gBAAgB,CAAA;AAAA,CAAA,CAAA;AAAjD,IAAME,iBAAiB,gBAAGZ,MAAM,CAAAW,MAAA,EAAA,CAAA,CAAA;AAAAV,EAAAA,IAAA,EAAA,mBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAGtC;;;;"}
@@ -3,5 +3,5 @@
3
3
  .p19axp12{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;gap:0.625rem;}.p19axp12.pagination-type-compact{-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;}.p19axp12.pagination-has-perpage-select{-webkit-flex-direction:row-reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;}.p19axp12.pagination-has-quick-jump{-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;}
4
4
  .p1rlzvhv{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;gap:0.125rem;}
5
5
  .pivhg1z{--plasma-button-group-item-color:var(--plasma-pagination-button-color);--plasma-button-group-item-background-color:var(--plasma-pagination-button-bg-color);--plasma-button-group-item-color-hover:var(--plasma-pagination-button-color-hover);--plasma-button-group-item-background-color-hover:var(--plasma-pagination-button-bg-color-hover);--plasma-button-group-item-color-active:var(--plasma-pagination--button-color-active);--plasma-button-group-item-background-color-active:var(--plasma-pagination-button-bg-color-active);--plasma-button-group-item-font-family:var(--plasma-pagination-font-family);--plasma-button-group-item-font-size:var(--plasma-pagination-font-size);--plasma-button-group-item-font-style:var(--plasma-pagination-font-style);--plasma-button-group-item-font-weight:var(--plasma-pagination-font-weight);--plasma-button-group-item-letter-spacing:var(--plasma-pagination-letter-spacing);--plasma-button-group-item-line-height:var(--plasma-pagination-line-height);--plasma-button-group-item-width:var(--plasma-pagination-button-width);--plasma-button-group-item-height:var(--plasma-pagination-button-height);--plasma-button-group-item-default-radius:var(--plasma-pagination-button-radius);--plasma-button-group-side-item-radius:var(--plasma-pagination-button-radius);--plasma-button-group-item-segmented-radius:var(--plasma-pagination-button-radius);--plasma-button-group-item-radius-circle:var(--plasma-pagination-button-radius);}
6
- .pshury3{--plasma-button-color:var(--plasma-pagination-button-color);--plasma-button-background-color:var(--plasma-pagination-button-bg-color);--plasma-button-color-hover:var(--plasma-pagination-button-color-hover);--plasma-button-background-color-hover:var(--plasma-pagination-button-bg-color-hover);--plasma-button-color-active:var(--plasma-pagination--button-color-active);--plasma-button-background-color-active:var(--plasma-pagination-button-bg-color-active);--plasma-button-font-family:var(--plasma-pagination-font-family);--plasma-button-font-size:var(--plasma-pagination-font-size);--plasma-button-font-style:var(--plasma-pagination-font-style);--plasma-button-font-weight:var(--plasma-pagination-font-weight);--plasma-button-letter-spacing:var(--plasma-pagination-letter-spacing);--plasma-button-line-height:var(--plasma-pagination-line-height);--plasma-button-width:var(--plasma-pagination-button-width);--plasma-button-height:var(--plasma-pagination-button-height);--plasma-button-radius:var(--plasma-pagination-button-radius);--plasma-button-disabled-opacity:var(--plasma-pagination-button-disabled-opacity);--plasma-button-focus-color:var(--plasma-pagination--button-color-focus);position:relative;}.pshury3.pagination-page-button-active{--plasma-button-color:var(--plasma-pagination-button-current-color);--plasma-button-background-color:var(--plasma-pagination-button-current-bg-color);--plasma-button-color-hover:var(--plasma-pagination-button-current-color-hover);--plasma-button-background-color-hover:var(--plasma-pagination-button-current-bg-color-hover);--plasma-button-color-active:var(--plasma-pagination--button-current-color-active);--plasma-button-background-color-active:var(--plasma-pagination-button-current-bg-color-active);}.pshury3.pagination-button-disabled{--plasma-button-color:var(--plasma-pagination--button-color-disabled,var(--plasma-pagination-button-color));--plasma-button-background-color:var(--plasma-pagination--button-bg-color-disabled,var(--plasma-pagination-button-bg-color ));}.pshury3:focus{outline:none;}.pshury3::before{content:'';position:absolute;top:calc(-1 * var(--plasma_private-btn-outline-size));left:calc(-1 * var(--plasma_private-btn-outline-size));right:calc(-1 * var(--plasma_private-btn-outline-size));bottom:calc(-1 * var(--plasma_private-btn-outline-size));z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-btn-outline-size) solid transparent;border-radius:var(--plasma_private-btn-br);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.pshury3.focus-visible:focus::before,.pshury3[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-btn-outline-size) var(--plasma-pagination--button-color-focus);}
6
+ .pshury3{--plasma-button-color:var(--plasma-pagination-button-color);--plasma-button-background-color:var(--plasma-pagination-button-bg-color);--plasma-button-color-hover:var(--plasma-pagination-button-color-hover);--plasma-button-background-color-hover:var(--plasma-pagination-button-bg-color-hover);--plasma-button-color-active:var(--plasma-pagination--button-color-active);--plasma-button-background-color-active:var(--plasma-pagination-button-bg-color-active);--plasma-button-font-family:var(--plasma-pagination-font-family);--plasma-button-font-size:var(--plasma-pagination-font-size);--plasma-button-font-style:var(--plasma-pagination-font-style);--plasma-button-font-weight:var(--plasma-pagination-font-weight);--plasma-button-letter-spacing:var(--plasma-pagination-letter-spacing);--plasma-button-line-height:var(--plasma-pagination-line-height);--plasma-button-width:var(--plasma-pagination-button-width);--plasma-button-height:var(--plasma-pagination-button-height);--plasma-button-radius:var(--plasma-pagination-button-radius);--plasma-button-disabled-opacity:var(--plasma-pagination-button-disabled-opacity);--plasma-button-focus-color:var(--plasma-pagination--button-color-focus);position:relative;}.pshury3.pagination-page-button-active{--plasma-button-color:var(--plasma-pagination-button-current-color);--plasma-button-background-color:var(--plasma-pagination-button-current-bg-color);--plasma-button-color-hover:var(--plasma-pagination-button-current-color-hover);--plasma-button-background-color-hover:var(--plasma-pagination-button-current-bg-color-hover);--plasma-button-color-active:var(--plasma-pagination--button-current-color-active);--plasma-button-background-color-active:var(--plasma-pagination-button-current-bg-color-active);}.pshury3:focus{outline:none;}.pshury3::before{content:'';position:absolute;top:calc(-1 * var(--plasma_private-btn-outline-size));left:calc(-1 * var(--plasma_private-btn-outline-size));right:calc(-1 * var(--plasma_private-btn-outline-size));bottom:calc(-1 * var(--plasma_private-btn-outline-size));z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-btn-outline-size) solid transparent;border-radius:var(--plasma_private-btn-br);-webkit-transition:box-shadow 0.2s ease-in-out;transition:box-shadow 0.2s ease-in-out;pointer-events:none;}.pshury3.focus-visible:focus::before,.pshury3[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-btn-outline-size) var(--plasma-pagination--button-color-focus);}
7
7
  .pwlctp1.pshury3{--plasma-button-width:var(--plasma-pagination-button-width-shorter);--plasma-button-padding:0;}
@@ -11,8 +11,7 @@ var classes = {
11
11
  withHasPerPageSelect: 'pagination-has-perpage-select',
12
12
  paginationPageButton: 'pagination-page-button',
13
13
  paginationPageButtonActive: 'pagination-page-button-active',
14
- paginationIconReverse: 'pagination-icon-reverse',
15
- buttonDisabled: 'pagination-button-disabled'
14
+ paginationIconReverse: 'pagination-icon-reverse'
16
15
  };
17
16
  var tokens = {
18
17
  paginationWidth: '--plasma-pagination-width',
@@ -36,8 +35,6 @@ var tokens = {
36
35
  paginationCurrentButtonHoverColor: '--plasma-pagination-button-current-color-hover',
37
36
  paginationCurrentButtonActiveBackgroundColor: '--plasma-pagination-button-current-bg-color-active',
38
37
  paginationCurrentButtonActiveColor: '--plasma-pagination--button-current-color-active',
39
- paginationDisabledButtonColor: '--plasma-pagination--button-color-disabled',
40
- paginationDisabledButtonBackgroundColor: '--plasma-pagination--button-bg-color-disabled',
41
38
  buttonDisabledOpacity: '--plasma-pagination-button-disabled-opacity',
42
39
  buttonHeight: '--plasma-pagination-button-height',
43
40
  buttonWidthShorter: '--plasma-pagination-button-width-shorter',
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.tokens.js","sources":["../../../src/components/Pagination/Pagination.tokens.ts"],"sourcesContent":["export const classes = {\n wrapper: 'pagination-wrapper',\n pages: 'pagination-pages',\n actions: 'pagination-actions',\n perPage: 'pagination-perpage-select',\n quickJump: 'pagination-quick-jump-page',\n\n selectWrapper: 'pagination-select-wrapper',\n\n defaultType: 'pagination-type-default',\n compactType: 'pagination-type-compact',\n\n withHasQuickJump: 'pagination-has-quick-jump',\n withHasPerPageSelect: 'pagination-has-perpage-select',\n\n paginationPageButton: 'pagination-page-button',\n paginationPageButtonActive: 'pagination-page-button-active',\n\n paginationIconReverse: 'pagination-icon-reverse',\n buttonDisabled: 'pagination-button-disabled',\n};\n\nexport const tokens = {\n paginationWidth: '--plasma-pagination-width',\n paginationColor: '--plasma-pagination-color',\n\n buttonBackgroundColor: '--plasma-pagination-button-bg-color',\n buttonBackgroundColorHover: '--plasma-pagination-button-bg-color-hover',\n buttonBackgroundColorActive: '--plasma-pagination-button-bg-color-active',\n buttonColor: '--plasma-pagination-button-color',\n buttonColorHover: '--plasma-pagination-button-color-hover',\n buttonColorActive: '--plasma-pagination-button-color-active',\n buttonHoverColor: '--plasma-pagination-button-color-hover',\n buttonActiveColor: '--plasma-pagination--button-color-active',\n buttonFocusColor: '--plasma-pagination--button-color-focus',\n buttonArrowColor: '--plasma-pagination--button-arrow-color',\n buttonArrowColorHover: '--plasma-pagination--button-arrow-color-hover',\n buttonArrowColorActive: '--plasma-pagination--button-arrow-color-active',\n buttonArrowMargin: '--plasma-pagination--button-arrow-margin',\n\n paginationCurrentButtonBackgroundColor: '--plasma-pagination-button-current-bg-color',\n paginationCurrentButtonColor: '--plasma-pagination-button-current-color',\n paginationCurrentButtonHoverBackgroundColor: '--plasma-pagination-button-current-bg-color-hover',\n paginationCurrentButtonHoverColor: '--plasma-pagination-button-current-color-hover',\n paginationCurrentButtonActiveBackgroundColor: '--plasma-pagination-button-current-bg-color-active',\n paginationCurrentButtonActiveColor: '--plasma-pagination--button-current-color-active',\n paginationDisabledButtonColor: '--plasma-pagination--button-color-disabled',\n paginationDisabledButtonBackgroundColor: '--plasma-pagination--button-bg-color-disabled',\n\n buttonDisabledOpacity: '--plasma-pagination-button-disabled-opacity',\n\n buttonHeight: '--plasma-pagination-button-height',\n buttonWidthShorter: '--plasma-pagination-button-width-shorter',\n buttonWidth: '--plasma-pagination-button-width',\n paginationInputWidth: '--plasma-pagination-input-width',\n buttonRadius: '--plasma-pagination-button-radius',\n paginationIconSize: '--plasma-pagination-icon-size',\n paginationIconDoubleSize: '--plasma-pagination-icon-double-size',\n\n paginationFontFamily: '--plasma-pagination-font-family',\n paginationFontSize: '--plasma-pagination-font-size',\n paginationFontStyle: '--plasma-pagination-font-style',\n paginationFontWeight: '--plasma-pagination-font-weight',\n paginationLetterSpacing: '--plasma-pagination-letter-spacing',\n paginationLineHeight: '--plasma-pagination-line-height',\n\n selectHeight: '--plasma-pagination-select-height',\n selectPaddingTop: '--plasma-pagination-select-padding-top',\n selectPaddingRight: '--plasma-pagination-select-padding-right',\n selectPaddingBottom: '--plasma-pagination-select-padding-bottom',\n selectPaddingLeft: '--plasma-pagination-select-padding-left',\n selectBackgroundColor: '--plasma-pagination-select-bg-color',\n\n selectItemHeight: '--plasma-pagination-select-item-height',\n selectItemPadding: '--plasma-pagination-select-item-padding',\n selectItemContentLeftWidth: '--plasma-pagination-select-item-content-left-width',\n selectItemBackground: '--plasma-pagination-select-item-bg-color',\n\n selectTargetArrowRight: '--plasma-pagination-select-target-arrow-right',\n selectTargetPadding: '--plasma-pagination-select-target-padding',\n selectTargetInnerTop: '--plasma-pagination-select-target-inner-top',\n selectTargetLabelInnerTop: '--plasma-pagination-select-target-label-inner-top',\n\n inputBackgroundColor: '--plasma-pagination-input-bg-color',\n inputColor: '--plasma-pagination-input-color',\n inputBorderRadius: '--plasma-pagination-input-border-radius',\n inputWidth: '--plasma-pagination-input-width',\n inputHeight: '--plasma-pagination-input-height',\n inputBorderColor: '--plasma-pagination-input-border-color',\n inputBorderWidth: '--plasma-pagination-input-border-width',\n inputPadding: '--plasma-pagination-input-padding',\n};\n"],"names":["classes","wrapper","pages","actions","perPage","quickJump","selectWrapper","defaultType","compactType","withHasQuickJump","withHasPerPageSelect","paginationPageButton","paginationPageButtonActive","paginationIconReverse","buttonDisabled","tokens","paginationWidth","paginationColor","buttonBackgroundColor","buttonBackgroundColorHover","buttonBackgroundColorActive","buttonColor","buttonColorHover","buttonColorActive","buttonHoverColor","buttonActiveColor","buttonFocusColor","buttonArrowColor","buttonArrowColorHover","buttonArrowColorActive","buttonArrowMargin","paginationCurrentButtonBackgroundColor","paginationCurrentButtonColor","paginationCurrentButtonHoverBackgroundColor","paginationCurrentButtonHoverColor","paginationCurrentButtonActiveBackgroundColor","paginationCurrentButtonActiveColor","paginationDisabledButtonColor","paginationDisabledButtonBackgroundColor","buttonDisabledOpacity","buttonHeight","buttonWidthShorter","buttonWidth","paginationInputWidth","buttonRadius","paginationIconSize","paginationIconDoubleSize","paginationFontFamily","paginationFontSize","paginationFontStyle","paginationFontWeight","paginationLetterSpacing","paginationLineHeight","selectHeight","selectPaddingTop","selectPaddingRight","selectPaddingBottom","selectPaddingLeft","selectBackgroundColor","selectItemHeight","selectItemPadding","selectItemContentLeftWidth","selectItemBackground","selectTargetArrowRight","selectTargetPadding","selectTargetInnerTop","selectTargetLabelInnerTop","inputBackgroundColor","inputColor","inputBorderRadius","inputWidth","inputHeight","inputBorderColor","inputBorderWidth","inputPadding"],"mappings":"AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,OAAO,EAAE,oBAAoB;AAC7BC,EAAAA,KAAK,EAAE,kBAAkB;A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AAC7CC,EAAAA,iBAAiB,EAAE,yCAAyC;AAC5DC,EAAAA,UAAU,EAAE,iCAAiC;AAC7CC,EAAAA,WAAW,EAAE,kCAAkC;AAC/CC,EAAAA,gBAAgB,EAAE,wCAAwC;AAC1DC,EAAAA,gBAAgB,EAAE,wCAAwC;AAC1DC,EAAAA,YAAY,EAAE,mCAAA;AAClB;;;;"}
1
+ {"version":3,"file":"Pagination.tokens.js","sources":["../../../src/components/Pagination/Pagination.tokens.ts"],"sourcesContent":["export const classes = {\n wrapper: 'pagination-wrapper',\n pages: 'pagination-pages',\n actions: 'pagination-actions',\n perPage: 'pagination-perpage-select',\n quickJump: 'pagination-quick-jump-page',\n\n selectWrapper: 'pagination-select-wrapper',\n\n defaultType: 'pagination-type-default',\n compactType: 'pagination-type-compact',\n\n withHasQuickJump: 'pagination-has-quick-jump',\n withHasPerPageSelect: 'pagination-has-perpage-select',\n\n paginationPageButton: 'pagination-page-button',\n paginationPageButtonActive: 'pagination-page-button-active',\n\n paginationIconReverse: 'pagination-icon-reverse',\n};\n\nexport const tokens = {\n paginationWidth: '--plasma-pagination-width',\n paginationColor: '--plasma-pagination-color',\n\n buttonBackgroundColor: '--plasma-pagination-button-bg-color',\n buttonBackgroundColorHover: '--plasma-pagination-button-bg-color-hover',\n buttonBackgroundColorActive: '--plasma-pagination-button-bg-color-active',\n buttonColor: '--plasma-pagination-button-color',\n buttonColorHover: '--plasma-pagination-button-color-hover',\n buttonColorActive: '--plasma-pagination-button-color-active',\n buttonHoverColor: '--plasma-pagination-button-color-hover',\n buttonActiveColor: '--plasma-pagination--button-color-active',\n buttonFocusColor: '--plasma-pagination--button-color-focus',\n buttonArrowColor: '--plasma-pagination--button-arrow-color',\n buttonArrowColorHover: '--plasma-pagination--button-arrow-color-hover',\n buttonArrowColorActive: '--plasma-pagination--button-arrow-color-active',\n buttonArrowMargin: '--plasma-pagination--button-arrow-margin',\n\n paginationCurrentButtonBackgroundColor: '--plasma-pagination-button-current-bg-color',\n paginationCurrentButtonColor: '--plasma-pagination-button-current-color',\n paginationCurrentButtonHoverBackgroundColor: '--plasma-pagination-button-current-bg-color-hover',\n paginationCurrentButtonHoverColor: '--plasma-pagination-button-current-color-hover',\n paginationCurrentButtonActiveBackgroundColor: '--plasma-pagination-button-current-bg-color-active',\n paginationCurrentButtonActiveColor: '--plasma-pagination--button-current-color-active',\n\n buttonDisabledOpacity: '--plasma-pagination-button-disabled-opacity',\n\n buttonHeight: '--plasma-pagination-button-height',\n buttonWidthShorter: '--plasma-pagination-button-width-shorter',\n buttonWidth: '--plasma-pagination-button-width',\n paginationInputWidth: '--plasma-pagination-input-width',\n buttonRadius: '--plasma-pagination-button-radius',\n paginationIconSize: '--plasma-pagination-icon-size',\n paginationIconDoubleSize: '--plasma-pagination-icon-double-size',\n\n paginationFontFamily: '--plasma-pagination-font-family',\n paginationFontSize: '--plasma-pagination-font-size',\n paginationFontStyle: '--plasma-pagination-font-style',\n paginationFontWeight: '--plasma-pagination-font-weight',\n paginationLetterSpacing: '--plasma-pagination-letter-spacing',\n paginationLineHeight: '--plasma-pagination-line-height',\n\n selectHeight: '--plasma-pagination-select-height',\n selectPaddingTop: '--plasma-pagination-select-padding-top',\n selectPaddingRight: '--plasma-pagination-select-padding-right',\n selectPaddingBottom: '--plasma-pagination-select-padding-bottom',\n selectPaddingLeft: '--plasma-pagination-select-padding-left',\n selectBackgroundColor: '--plasma-pagination-select-bg-color',\n\n selectItemHeight: '--plasma-pagination-select-item-height',\n selectItemPadding: '--plasma-pagination-select-item-padding',\n selectItemContentLeftWidth: '--plasma-pagination-select-item-content-left-width',\n selectItemBackground: '--plasma-pagination-select-item-bg-color',\n\n selectTargetArrowRight: '--plasma-pagination-select-target-arrow-right',\n selectTargetPadding: '--plasma-pagination-select-target-padding',\n selectTargetInnerTop: '--plasma-pagination-select-target-inner-top',\n selectTargetLabelInnerTop: '--plasma-pagination-select-target-label-inner-top',\n\n inputBackgroundColor: '--plasma-pagination-input-bg-color',\n inputColor: '--plasma-pagination-input-color',\n inputBorderRadius: '--plasma-pagination-input-border-radius',\n inputWidth: '--plasma-pagination-input-width',\n inputHeight: '--plasma-pagination-input-height',\n inputBorderColor: '--plasma-pagination-input-border-color',\n inputBorderWidth: '--plasma-pagination-input-border-width',\n inputPadding: '--plasma-pagination-input-padding',\n};\n"],"names":["classes","wrapper","pages","actions","perPage","quickJump","selectWrapper","defaultType","compactType","withHasQuickJump","withHasPerPageSelect","paginationPageButton","paginationPageButtonActive","paginationIconReverse","tokens","paginationWidth","paginationColor","buttonBackgroundColor","buttonBackgroundColorHover","buttonBackgroundColorActive","buttonColor","buttonColorHover","buttonColorActive","buttonHoverColor","buttonActiveColor","buttonFocusColor","buttonArrowColor","buttonArrowColorHover","buttonArrowColorActive","buttonArrowMargin","paginationCurrentButtonBackgroundColor","paginationCurrentButtonColor","paginationCurrentButtonHoverBackgroundColor","paginationCurrentButtonHoverColor","paginationCurrentButtonActiveBackgroundColor","paginationCurrentButtonActiveColor","buttonDisabledOpacity","buttonHeight","buttonWidthShorter","buttonWidth","paginationInputWidth","buttonRadius","paginationIconSize","paginationIconDoubleSize","paginationFontFamily","paginationFontSize","paginationFontStyle","paginationFontWeight","paginationLetterSpacing","paginationLineHeight","selectHeight","selectPaddingTop","selectPaddingRight","selectPaddingBottom","selectPaddingLeft","selectBackgroundColor","selectItemHeight","selectItemPadding","selectItemContentLeftWidth","selectItemBackground","selectTargetArrowRight","selectTargetPadding","selectTargetInnerTop","selectTargetLabelInnerTop","inputBackgroundColor","inputColor","inputBorderRadius","inputWidth","inputHeight","inputBorderColor","inputBorderWidth","inputPadding"],"mappings":"AAAO,IAAMA,OAAO,GAAG;AACnBC,EAAAA,OAAO,EAAE,oBAAoB;AAC7BC,EAAAA,KAAK,EAAE,kBAAkB;AACzBC,EAAAA,OAAO,EAAE,oBAAoB;AAC7BC,EAAAA,OAAO,EAAE,2BAA2B;AACpCC,EAAAA,SAAS,EAAE,4BAA4B;AAEvCC,EAAAA,aAAa,E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@@ -106,6 +106,6 @@
106
106
  .Select_styles_768h42_ogpldc9__d1d95a37{display:block;margin-bottom:var(--plasma-select-label-offset);color:var(--text-primary);font-family:var(--plasma-select-label-font-family);font-size:var(--plasma-select-label-font-size);font-style:var(--plasma-select-label-font-style);font-weight:var(--plasma-select-label-font-weight);-webkit-letter-spacing:var(--plasma-select-label-font-letter-spacing);-moz-letter-spacing:var(--plasma-select-label-font-letter-spacing);-ms-letter-spacing:var(--plasma-select-label-font-letter-spacing);letter-spacing:var(--plasma-select-label-font-letter-spacing);line-height:var(--plasma-select-label-font-line-height);}
107
107
  .Select_styles_768h42_h2ef052__d1d95a37{margin-top:var(--plasma-select-helper-text-offset);color:var(--plasma-select-helper-text-color);font-family:var(--plasma-select-helper-text-font-family);font-size:var(--plasma-select-helper-text-font-size);font-style:var(--plasma-select-helper-text-font-style);font-weight:var(--plasma-select-helper-text-font-weight);-webkit-letter-spacing:var(--plasma-select-helper-text-font-letter-spacing);-moz-letter-spacing:var(--plasma-select-helper-text-font-letter-spacing);-ms-letter-spacing:var(--plasma-select-helper-text-font-letter-spacing);letter-spacing:var(--plasma-select-helper-text-font-letter-spacing);line-height:var(--plasma-select-helper-text-font-line-height);}
108
108
 
109
- .PaginationSelectPerPage_styles_1fesyfv_s1e57mfu__09044c9e{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:0.5rem;}
110
- .PaginationSelectPerPage_styles_1fesyfv_s5dck5y__09044c9e{--plasma-select-target-button-color:var(--plasma-pagination-button-color);--plasma-select-target-button-color-hover:var(--plasma-pagination-button-color-hover);--plasma-select-target-button-color-active:var(--plasma-pagination-button-color-active);--plasma-select-target-button-background-color:var(--plasma-pagination-button-bg-color);--plasma-select-target-button-background-color-hover:var(--plasma-pagination-button-bg-color-hover);--plasma-select-target-button-background-color-active:var(--plasma-pagination-button-bg-color-active);--plasma-select-target-height:var(--plasma-pagination-button-height);--plasma-select-target-button-padding:var(--plasma-pagination-select-target-padding);--plasma-select-border-radius:var(--plasma-pagination-button-radius);--plasma-select-target-button-arrow-color:var(--plasma-pagination--button-arrow-color);--plasma-select-target-button-arrow-color-hover:var(--plasma-pagination--button-arrow-color-hover);--plasma-select-target-button-arrow-color-active:var(--plasma-pagination--button-arrow-color-active);--plasma-select-target-button-arrow-margin:var(--plasma-pagination--button-arrow-margin);--plasma-select-padding:0.125rem;--plasma-select-focus-offset:0.125rem;--plasma-select-item-padding:var(--plasma-pagination-select-item-padding);--plasma-select-item-border-radius:calc(var(--plasma-pagination-button-radius) - 0.125rem);--plasma-select-item-icon-margin:0 0.375rem 0 0;--plasma-select-item-icon-size:1.5rem;--plasma-select-item-height:var(--plasma-pagination-select-item-height);--plasma-select-font-family:var(--plasma-pagination-font-family);--plasma-select-font-size:var(--plasma-pagination-font-size);--plasma-select-font-style:var(--plasma-pagination-font-style);--plasma-select-font-weight:var(--plasma-pagination-font-weight);--plasma-select-font-letter-spacing:var(--plasma-pagination-letter-spacing);--plasma-select-font-line-height:var(--plasma-pagination-line-height);}
111
- .PaginationSelectPerPage_styles_1fesyfv_squvg2e__09044c9e{font-family:var(--plasma-pagination-font-family);font-size:var(--plasma-pagination-font-size);font-style:var(--plasma-pagination-font-style);font-weight:var(--plasma-pagination-font-weight);-webkit-letter-spacing:var(--plasma-pagination-letter-spacing);-moz-letter-spacing:var(--plasma-pagination-letter-spacing);-ms-letter-spacing:var(--plasma-pagination-letter-spacing);letter-spacing:var(--plasma-pagination-letter-spacing);line-height:var(--plasma-pagination-line-height);}
109
+ .PaginationSelectPerPage_styles_187mk6b_s1e57mfu__a3b3456a{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:0.5rem;}
110
+ .PaginationSelectPerPage_styles_187mk6b_s5dck5y__a3b3456a{--plasma-select-target-button-color:var(--plasma-pagination-button-color);--plasma-select-target-button-color-hover:var(--plasma-pagination-button-color-hover);--plasma-select-target-button-color-active:var(--plasma-pagination-button-color-active);--plasma-select-target-button-background-color:var(--plasma-pagination-button-bg-color);--plasma-select-target-button-background-color-hover:var(--plasma-pagination-button-bg-color-hover);--plasma-select-target-button-background-color-active:var(--plasma-pagination-button-bg-color-active);--plasma-select-target-height:var(--plasma-pagination-button-height);--plasma-select-target-button-padding:var(--plasma-pagination-select-target-padding);--plasma-select-border-radius:var(--plasma-pagination-button-radius);--plasma-select-target-button-arrow-color:var(--plasma-pagination--button-arrow-color);--plasma-select-target-button-arrow-color-hover:var(--plasma-pagination--button-arrow-color-hover);--plasma-select-target-button-arrow-color-active:var(--plasma-pagination--button-arrow-color-active);--plasma-select-target-button-arrow-margin:var(--plasma-pagination--button-arrow-margin);--plasma-select-padding:0.125rem;--plasma-select-focus-offset:0.125rem;--plasma-select-item-padding:var(--plasma-pagination-select-item-padding);--plasma-select-item-border-radius:calc(var(--plasma-pagination-button-radius) - 0.125rem);--plasma-select-item-icon-margin:0 0.375rem 0 0;--plasma-select-item-icon-size:1.5rem;--plasma-select-item-height:var(--plasma-pagination-select-item-height);}
111
+ .PaginationSelectPerPage_styles_187mk6b_squvg2e__a3b3456a{font-family:var(--plasma-pagination-font-family);font-size:var(--plasma-pagination-font-size);font-style:var(--plasma-pagination-font-style);font-weight:var(--plasma-pagination-font-weight);-webkit-letter-spacing:var(--plasma-pagination-letter-spacing);-moz-letter-spacing:var(--plasma-pagination-letter-spacing);-ms-letter-spacing:var(--plasma-pagination-letter-spacing);letter-spacing:var(--plasma-pagination-letter-spacing);line-height:var(--plasma-pagination-line-height);}
@@ -17,8 +17,8 @@ var PaginationSelectPerPage = function PaginationSelectPerPage(_ref) {
17
17
  listWidth = _ref.listWidth,
18
18
  rest = _objectWithoutProperties(_ref, _excluded);
19
19
  var handleSelectChange = function handleSelectChange(newValue) {
20
- if (newValue) {
21
- onChangeValue === null || onChangeValue === void 0 || onChangeValue(Number(newValue));
20
+ if (newValue && !Array.isArray(newValue) && onChangeValue) {
21
+ onChangeValue(Number(newValue));
22
22
  }
23
23
  };
24
24
  var transformedList = perPageList.map(function (num) {
@@ -1 +1 @@
1
- {"version":3,"file":"PaginationSelectPerPage.js","sources":["../../../../../src/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.tsx"],"sourcesContent":["import React from 'react';\n\nimport { defaultValues } from '../../utils';\nimport { classes } from '../../Pagination.tokens';\n\nimport type { PaginationSelectPerPageProps } from './PaginationSelectPerPage.types';\nimport { SelectPerPageRoot, SelectPerPageTypography, SelectPerPageSelect } from './PaginationSelectPerPage.styles';\n\nexport const PaginationSelectPerPage: React.FC<PaginationSelectPerPageProps> = ({\n perPageValue = defaultValues.perPage,\n perPageList = defaultValues.perPageList,\n textPerPage = defaultValues.textPerPage,\n onChangeValue,\n size,\n listWidth,\n ...rest\n}) => {\n const handleSelectChange = (newValue?: string) => {\n if (newValue) {\n onChangeValue?.(Number(newValue));\n }\n };\n\n const transformedList = perPageList.map((num) => ({ label: num.toString(), value: num.toString() }));\n\n return (\n <SelectPerPageRoot {...rest}>\n <SelectPerPageTypography>{textPerPage}</SelectPerPageTypography>\n\n <SelectPerPageSelect\n className={classes.selectWrapper}\n items={transformedList}\n value={perPageValue.toString()}\n onChange={handleSelectChange}\n target=\"button-like\"\n size={size}\n listWidth={listWidth}\n />\n </SelectPerPageRoot>\n );\n};\n"],"names":["PaginationSelectPerPage","_ref","_ref$perPageValue","perPageValue","defaultValues","perPage","_ref$perPageList","perPageList","_ref$textPerPage","textPerPage","onChangeValue","size","listWidth","rest","_objectWithoutProperties","_excluded","handleSelectChange","newValue","Number","transformedList","map","num","label","toString","value","React","createElement","SelectPerPageRoot","SelectPerPageTypography","SelectPerPageSelect","className","classes","selectWrapper","items","onChange","target"],"mappings":";;;;;;;IAQaA,uBAA+D,GAAG,SAAlEA,uBAA+DA,CAAAC,IAAA,EAQtE;AAAA,EAAA,IAAAC,iBAAA,GAAAD,IAAA,CAPFE,YAAY;A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AACjCC,IAAAA,KAAK,EAAEd,eAAgB;AACvBK,IAAAA,KAAK,EAAErB,YAAY,CAACoB,QAAQ,EAAG;AAC/BW,IAAAA,QAAQ,EAAElB,kBAAmB;AAC7BmB,IAAAA,MAAM,EAAC,aAAa;AACpBxB,IAAAA,IAAI,EAAEA,IAAK;AACXC,IAAAA,SAAS,EAAEA,SAAAA;AAAU,GACxB,CACc,CAAC,CAAA;AAE5B;;;;"}
1
+ {"version":3,"file":"PaginationSelectPerPage.js","sources":["../../../../../src/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.tsx"],"sourcesContent":["import React from 'react';\n\nimport { defaultValues } from '../../utils';\nimport { classes } from '../../Pagination.tokens';\n\nimport type { PaginationSelectPerPageProps } from './PaginationSelectPerPage.types';\nimport { SelectPerPageRoot, SelectPerPageTypography, SelectPerPageSelect } from './PaginationSelectPerPage.styles';\n\nexport const PaginationSelectPerPage: React.FC<PaginationSelectPerPageProps> = ({\n perPageValue = defaultValues.perPage,\n perPageList = defaultValues.perPageList,\n textPerPage = defaultValues.textPerPage,\n onChangeValue,\n size,\n listWidth,\n ...rest\n}) => {\n const handleSelectChange = (newValue: string | number | Array<string | number>) => {\n if (newValue && !Array.isArray(newValue) && onChangeValue) {\n onChangeValue(Number(newValue));\n }\n };\n\n const transformedList = perPageList.map((num) => ({ label: num.toString(), value: num.toString() }));\n\n return (\n <SelectPerPageRoot {...rest}>\n <SelectPerPageTypography>{textPerPage}</SelectPerPageTypography>\n\n <SelectPerPageSelect\n className={classes.selectWrapper}\n items={transformedList}\n value={perPageValue.toString()}\n onChange={handleSelectChange}\n target=\"button-like\"\n size={size}\n listWidth={listWidth}\n />\n </SelectPerPageRoot>\n );\n};\n"],"names":["PaginationSelectPerPage","_ref","_ref$perPageValue","perPageValue","defaultValues","perPage","_ref$perPageList","perPageList","_ref$textPerPage","textPerPage","onChangeValue","size","listWidth","rest","_objectWithoutProperties","_excluded","handleSelectChange","newValue","Array","isArray","Number","transformedList","map","num","label","toString","value","React","createElement","SelectPerPageRoot","SelectPerPageTypography","SelectPerPageSelect","className","classes","selectWrapper","items","onChange","target"],"mappings":";;;;;;;IAQaA,uBAA+D,GAAG,SAAlEA,uBAA+DA,CAAAC,IAAA,EAQtE;AAAA,EAAA,IAAAC,iBAAA,GAAAD,IAAA,CAPFE,YAAY;AAAZA,IAAAA,YAAY,GAAAD,iBAAA,KAAA,KAAA,CAAA,GAAGE,aAAa,CAACC,OAAO,GAAAH,iBAAA;IAAAI,gBAAA,GAAAL,IAAA,CACpCM,WAAW;AAAXA,IAAAA,WAAW,GAAAD,gBAAA,KAAA,KAAA,CAAA,GAAGF,aAAa,CAACG,WAAW,GAAAD,gBAAA;IAAAE,gBAAA,GAAAP,IAAA,CACvCQ,WAAW;AAAXA,IAAAA,WAAW,GAAAD,gBAAA,KAAA,KAAA,CAAA,GAAGJ,aAAa,CAACK,WAAW,GAAAD,gBAAA;IACvCE,aAAa,GAAAT,IAAA,CAAbS,aAAa;IACbC,IAAI,GAAAV,IAAA,CAAJU,IAAI;IACJC,SAAS,GAAAX,IAAA,CAATW,SAAS;AACNC,IAAAA,IAAI,GAAAC,wBAAA,CAAAb,IAAA,EAAAc,SAAA,CAAA,CAAA;AAEP,EAAA,IAAMC,kBAAkB,GAAG,SAArBA,kBAAkBA,CAAIC,QAAkD,EAAK;IAC/E,IAAIA,QAAQ,IAAI,CAACC,KAAK,CAACC,OAAO,CAACF,QAAQ,CAAC,IAAIP,aAAa,EAAE;AACvDA,MAAAA,aAAa,CAACU,MAAM,CAACH,QAAQ,CAAC,CAAC,CAAA;AACnC,KAAA;GACH,CAAA;AAED,EAAA,IAAMI,eAAe,GAAGd,WAAW,CAACe,GAAG,CAAC,UAACC,GAAG,EAAA;IAAA,OAAM;AAAEC,MAAAA,KAAK,EAAED,GAAG,CAACE,QAAQ,EAAE;AAAEC,MAAAA,KAAK,EAAEH,GAAG,CAACE,QAAQ,EAAC;KAAG,CAAA;AAAA,GAAC,CAAC,CAAA;EAEpG,oBACIE,KAAA,CAAAC,aAAA,CAACC,iBAAiB,EAAKhB,IAAI,eACvBc,KAAA,CAAAC,aAAA,CAACE,uBAAuB,QAAErB,WAAqC,CAAC,eAEhEkB,KAAA,CAAAC,aAAA,CAACG,mBAAmB,EAAA;IAChBC,SAAS,EAAEC,OAAO,CAACC,aAAc;AACjCC,IAAAA,KAAK,EAAEd,eAAgB;AACvBK,IAAAA,KAAK,EAAEvB,YAAY,CAACsB,QAAQ,EAAG;AAC/BW,IAAAA,QAAQ,EAAEpB,kBAAmB;AAC7BqB,IAAAA,MAAM,EAAC,aAAa;AACpB1B,IAAAA,IAAI,EAAEA,IAAK;AACXC,IAAAA,SAAS,EAAEA,SAAAA;AAAU,GACxB,CACc,CAAC,CAAA;AAE5B;;;;"}
@@ -1,4 +1,4 @@
1
- import './PaginationSelectPerPage.styles_1fesyfv.css';
1
+ import './PaginationSelectPerPage.styles_187mk6b.css';
2
2
  import { styled } from '@linaria/react';
3
3
  import { component, mergeConfig } from '../../../../engines/common.js';
4
4
  import { selectConfig } from '../../../Select/Select.js';
@@ -1 +1 @@
1
- {"version":3,"file":"PaginationSelectPerPage.styles.js","sources":["../../../../../src/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { selectConfig, selectTokens } from '../../../Select';\nimport { component, mergeConfig } from '../../../../engines';\nimport { tokens } from '../../Pagination.tokens';\n\nconst mergedSelectConfig = mergeConfig(selectConfig);\nconst Select = component(mergedSelectConfig);\n\nexport const SelectPerPageRoot = styled.div`\n display: flex;\n align-items: center;\n gap: 0.5rem;\n`;\n\nexport const SelectPerPageSelect = styled(Select)`\n ${selectTokens.targetButtonColor}: var(${tokens.buttonColor});\n ${selectTokens.targetButtonColorHover}: var(${tokens.buttonColorHover});\n ${selectTokens.targetButtonColorActive}: var(${tokens.buttonColorActive});\n ${selectTokens.targetButtonBackgroundColor}: var(${tokens.buttonBackgroundColor});\n ${selectTokens.targetButtonBackgroundColorHover}: var(${tokens.buttonBackgroundColorHover});\n ${selectTokens.targetButtonBackgroundColorActive}: var(${tokens.buttonBackgroundColorActive});\n ${selectTokens.targetHeight}: var(${tokens.buttonHeight});\n ${selectTokens.targetButtonPadding}: var(${tokens.selectTargetPadding});\n ${selectTokens.borderRadius}: var(${tokens.buttonRadius});\n ${selectTokens.targetButtonArrowColor}: var(${tokens.buttonArrowColor});\n ${selectTokens.targetButtonArrowColorHover}: var(${tokens.buttonArrowColorHover});\n ${selectTokens.targetButtonArrowColorActive}: var(${tokens.buttonArrowColorActive});\n ${selectTokens.targetButtonArrowMargin}: var(${tokens.buttonArrowMargin});\n\n ${selectTokens.padding}: 0.125rem;\n ${selectTokens.focusOffset}: 0.125rem;\n ${selectTokens.itemPadding}: var(${tokens.selectItemPadding});\n ${selectTokens.itemBorderRadius}: calc(var(${tokens.buttonRadius}) - 0.125rem);\n ${selectTokens.itemIconMargin}: 0 0.375rem 0 0;\n ${selectTokens.itemIconSize}: 1.5rem;\n ${selectTokens.itemHeight}: var(${tokens.selectItemHeight});\n\n ${selectTokens.fontFamily}: var(${tokens.paginationFontFamily});\n ${selectTokens.fontSize}: var(${tokens.paginationFontSize});\n ${selectTokens.fontStyle}: var(${tokens.paginationFontStyle});\n ${selectTokens.fontWeight}: var(${tokens.paginationFontWeight});\n ${selectTokens.fontLetterSpacing}: var(${tokens.paginationLetterSpacing});\n ${selectTokens.fontLineHeight}: var(${tokens.paginationLineHeight});\n`;\n\nexport const SelectPerPageTypography = styled.div`\n font-family: var(${tokens.paginationFontFamily});\n font-size: var(${tokens.paginationFontSize});\n font-style: var(${tokens.paginationFontStyle});\n font-weight: var(${tokens.paginationFontWeight});\n letter-spacing: var(${tokens.paginationLetterSpacing});\n line-height: var(${tokens.paginationLineHeight});\n`;\n"],"names":["mergedSelectConfig","mergeConfig","selectConfig","Select","component","SelectPerPageRoot","styled","name","class","propsAsIs","_exp","SelectPerPageSelect","SelectPerPageTypography"],"mappings":";;;;AAMA,IAAMA,kBAAkB,gBAAGC,WAAW,CAACC,YAAY,CAAC,CAAA;AACpD,IAAMC,MAAM,gBAAGC,SAAS,CAACJ,kBAAkB,CAAC,CAAA;AAErC,IAAMK,iBAAiB,gBAAGC,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,mBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAItC,EAAA;AAAC,IAAAC,IAAA,GAZgBA,SAYhBA,IAAAA,GAAA;AAAA,EAAA,OAEwCP,MAAM,CAAA;AAAA,CAAA,CAAA;AAAzC,IAAMQ,mBAAmB,gBAAGL,MAAM,CAAAI,IAAA,EAAA,CAAA,CAAA;AAAAH,EAAAA,IAAA,EAAA,qBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CA6BxC,EAAA;AAEM,IAAMG,uBAAuB,gBAAGN,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,yBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAO5C;;;;"}
1
+ {"version":3,"file":"PaginationSelectPerPage.styles.js","sources":["../../../../../src/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.ts"],"sourcesContent":["import { styled } from '@linaria/react';\n\nimport { selectConfig, selectTokens } from '../../../Select';\nimport { component, mergeConfig } from '../../../../engines';\nimport { tokens } from '../../Pagination.tokens';\n\nconst mergedSelectConfig = mergeConfig(selectConfig);\nconst Select = component(mergedSelectConfig);\n\nexport const SelectPerPageRoot = styled.div`\n display: flex;\n align-items: center;\n gap: 0.5rem;\n`;\n\nexport const SelectPerPageSelect = styled(Select)`\n ${selectTokens.targetButtonColor}: var(${tokens.buttonColor});\n ${selectTokens.targetButtonColorHover}: var(${tokens.buttonColorHover});\n ${selectTokens.targetButtonColorActive}: var(${tokens.buttonColorActive});\n ${selectTokens.targetButtonBackgroundColor}: var(${tokens.buttonBackgroundColor});\n ${selectTokens.targetButtonBackgroundColorHover}: var(${tokens.buttonBackgroundColorHover});\n ${selectTokens.targetButtonBackgroundColorActive}: var(${tokens.buttonBackgroundColorActive});\n ${selectTokens.targetHeight}: var(${tokens.buttonHeight});\n ${selectTokens.targetButtonPadding}: var(${tokens.selectTargetPadding});\n ${selectTokens.borderRadius}: var(${tokens.buttonRadius});\n ${selectTokens.targetButtonArrowColor}: var(${tokens.buttonArrowColor});\n ${selectTokens.targetButtonArrowColorHover}: var(${tokens.buttonArrowColorHover});\n ${selectTokens.targetButtonArrowColorActive}: var(${tokens.buttonArrowColorActive});\n ${selectTokens.targetButtonArrowMargin}: var(${tokens.buttonArrowMargin});\n\n ${selectTokens.padding}: 0.125rem;\n ${selectTokens.focusOffset}: 0.125rem;\n ${selectTokens.itemPadding}: var(${tokens.selectItemPadding});\n ${selectTokens.itemBorderRadius}: calc(var(${tokens.buttonRadius}) - 0.125rem);\n ${selectTokens.itemIconMargin}: 0 0.375rem 0 0;\n ${selectTokens.itemIconSize}: 1.5rem;\n ${selectTokens.itemHeight}: var(${tokens.selectItemHeight});\n`;\n\nexport const SelectPerPageTypography = styled.div`\n font-family: var(${tokens.paginationFontFamily});\n font-size: var(${tokens.paginationFontSize});\n font-style: var(${tokens.paginationFontStyle});\n font-weight: var(${tokens.paginationFontWeight});\n letter-spacing: var(${tokens.paginationLetterSpacing});\n line-height: var(${tokens.paginationLineHeight});\n`;\n"],"names":["mergedSelectConfig","mergeConfig","selectConfig","Select","component","SelectPerPageRoot","styled","name","class","propsAsIs","_exp","SelectPerPageSelect","SelectPerPageTypography"],"mappings":";;;;AAMA,IAAMA,kBAAkB,gBAAGC,WAAW,CAACC,YAAY,CAAC,CAAA;AACpD,IAAMC,MAAM,gBAAGC,SAAS,CAACJ,kBAAkB,CAAC,CAAA;AAErC,IAAMK,iBAAiB,gBAAGC,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,mBAAA;AAAAC,EAAAA,OAAAA,EAAA,UAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAItC,EAAA;AAAC,IAAAC,IAAA,GAZgBA,SAYhBA,IAAAA,GAAA;AAAA,EAAA,OAEwCP,MAAM,CAAA;AAAA,CAAA,CAAA;AAAzC,IAAMQ,mBAAmB,gBAAGL,MAAM,CAAAI,IAAA,EAAA,CAAA,CAAA;AAAAH,EAAAA,IAAA,EAAA,qBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,IAAA;AAAA,CAsBxC,EAAA;AAEM,IAAMG,uBAAuB,gBAAGN,MAAM,CAAA,KAAA,CAAA,CAAA;AAAAC,EAAAA,IAAA,EAAA,yBAAA;AAAAC,EAAAA,OAAAA,EAAA,SAAA;AAAAC,EAAAA,SAAA,EAAA,KAAA;AAAA,CAO5C;;;;"}
@@ -1,3 +1,3 @@
1
1
  .s1e57mfu{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;gap:0.5rem;}
2
- .s5dck5y{--plasma-select-target-button-color:var(--plasma-pagination-button-color);--plasma-select-target-button-color-hover:var(--plasma-pagination-button-color-hover);--plasma-select-target-button-color-active:var(--plasma-pagination-button-color-active);--plasma-select-target-button-background-color:var(--plasma-pagination-button-bg-color);--plasma-select-target-button-background-color-hover:var(--plasma-pagination-button-bg-color-hover);--plasma-select-target-button-background-color-active:var(--plasma-pagination-button-bg-color-active);--plasma-select-target-height:var(--plasma-pagination-button-height);--plasma-select-target-button-padding:var(--plasma-pagination-select-target-padding);--plasma-select-border-radius:var(--plasma-pagination-button-radius);--plasma-select-target-button-arrow-color:var(--plasma-pagination--button-arrow-color);--plasma-select-target-button-arrow-color-hover:var(--plasma-pagination--button-arrow-color-hover);--plasma-select-target-button-arrow-color-active:var(--plasma-pagination--button-arrow-color-active);--plasma-select-target-button-arrow-margin:var(--plasma-pagination--button-arrow-margin);--plasma-select-padding:0.125rem;--plasma-select-focus-offset:0.125rem;--plasma-select-item-padding:var(--plasma-pagination-select-item-padding);--plasma-select-item-border-radius:calc(var(--plasma-pagination-button-radius) - 0.125rem);--plasma-select-item-icon-margin:0 0.375rem 0 0;--plasma-select-item-icon-size:1.5rem;--plasma-select-item-height:var(--plasma-pagination-select-item-height);--plasma-select-font-family:var(--plasma-pagination-font-family);--plasma-select-font-size:var(--plasma-pagination-font-size);--plasma-select-font-style:var(--plasma-pagination-font-style);--plasma-select-font-weight:var(--plasma-pagination-font-weight);--plasma-select-font-letter-spacing:var(--plasma-pagination-letter-spacing);--plasma-select-font-line-height:var(--plasma-pagination-line-height);}
2
+ .s5dck5y{--plasma-select-target-button-color:var(--plasma-pagination-button-color);--plasma-select-target-button-color-hover:var(--plasma-pagination-button-color-hover);--plasma-select-target-button-color-active:var(--plasma-pagination-button-color-active);--plasma-select-target-button-background-color:var(--plasma-pagination-button-bg-color);--plasma-select-target-button-background-color-hover:var(--plasma-pagination-button-bg-color-hover);--plasma-select-target-button-background-color-active:var(--plasma-pagination-button-bg-color-active);--plasma-select-target-height:var(--plasma-pagination-button-height);--plasma-select-target-button-padding:var(--plasma-pagination-select-target-padding);--plasma-select-border-radius:var(--plasma-pagination-button-radius);--plasma-select-target-button-arrow-color:var(--plasma-pagination--button-arrow-color);--plasma-select-target-button-arrow-color-hover:var(--plasma-pagination--button-arrow-color-hover);--plasma-select-target-button-arrow-color-active:var(--plasma-pagination--button-arrow-color-active);--plasma-select-target-button-arrow-margin:var(--plasma-pagination--button-arrow-margin);--plasma-select-padding:0.125rem;--plasma-select-focus-offset:0.125rem;--plasma-select-item-padding:var(--plasma-pagination-select-item-padding);--plasma-select-item-border-radius:calc(var(--plasma-pagination-button-radius) - 0.125rem);--plasma-select-item-icon-margin:0 0.375rem 0 0;--plasma-select-item-icon-size:1.5rem;--plasma-select-item-height:var(--plasma-pagination-select-item-height);}
3
3
  .squvg2e{font-family:var(--plasma-pagination-font-family);font-size:var(--plasma-pagination-font-size);font-style:var(--plasma-pagination-font-style);font-weight:var(--plasma-pagination-font-weight);-webkit-letter-spacing:var(--plasma-pagination-letter-spacing);-moz-letter-spacing:var(--plasma-pagination-letter-spacing);-ms-letter-spacing:var(--plasma-pagination-letter-spacing);letter-spacing:var(--plasma-pagination-letter-spacing);line-height:var(--plasma-pagination-line-height);}
@@ -1,11 +1,12 @@
1
1
  import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
2
- import React, { forwardRef, useState, useMemo, useReducer, useLayoutEffect, createContext } from 'react';
2
+ import React, { forwardRef, useMemo, useReducer, useState, useLayoutEffect, createContext } from 'react';
3
3
  import { useKeyNavigation } from './hooks/useKeyboardNavigation.js';
4
4
  import { usePathMaps } from './hooks/usePathMaps.js';
5
5
  import { OuterLabel, StyledPopover, Ul, HelperText, base } from './Select.styles.js';
6
6
  import { base as base$1 } from './variations/_view/base.js';
7
7
  import { base as base$2 } from './variations/_size/base.js';
8
8
  import { initialItemsTransform } from './utils/initialItemsTransform.js';
9
+ import { getInitialValue } from './utils/getInitialValue.js';
9
10
  import { pathReducer } from './reducers/pathReducer.js';
10
11
  import { focusedPathReducer } from './reducers/focusedPathReducer.js';
11
12
  import { focusedChipIndexReducer } from './reducers/focusedChipIndexReducer.js';
@@ -15,9 +16,9 @@ import { updateDescendants } from './utils/updateDescendants.js';
15
16
  import { updateAncestors } from './utils/updateAncestors.js';
16
17
  import { updateSingleAncestors } from './utils/updateSingleAncestors.js';
17
18
  import { getView } from './utils/getView.js';
19
+ import { getPlacements } from '../../utils/getPopoverPlacement.js';
18
20
  import { Target } from './ui/Target/Target.js';
19
21
  import { Inner } from './ui/Inner/Inner.js';
20
- import { getPlacements } from '../../utils/getPopoverPlacement.js';
21
22
 
22
23
  var _excluded = ["value", "onChange", "target", "items", "placement", "label", "labelPlacement", "placeholder", "helperText", "disabled", "view", "size", "listOverflow", "listHeight", "listWidth", "contentLeft", "onScrollBottom", "chipView", "variant", "portal", "renderValue", "renderItem", "status", "onItemSelect", "separator", "closeAfterSelect"];
23
24
  var Context = /*#__PURE__*/createContext({});
@@ -58,17 +59,6 @@ var selectRoot = function selectRoot(Root) {
58
59
  onItemSelect = props.onItemSelect,
59
60
  outerCloseAfterSelect = props.closeAfterSelect,
60
61
  rest = _objectWithoutProperties(props, _excluded);
61
- var _useState = useState(outerValue || props.multiselect ? [] : ''),
62
- _useState2 = _slicedToArray(_useState, 2),
63
- internalValue = _useState2[0],
64
- setInternalValue = _useState2[1];
65
- var value = outerValue || internalValue;
66
- var onChange = function onChange(e) {
67
- if (outerOnChange) {
68
- outerOnChange(e);
69
- }
70
- setInternalValue(e);
71
- };
72
62
  var transformedItems = useMemo(function () {
73
63
  return initialItemsTransform(items || []);
74
64
  }, [items]);
@@ -78,6 +68,12 @@ var selectRoot = function selectRoot(Root) {
78
68
  focusedToValueMap = _usePathMaps2[1],
79
69
  valueToCheckedMap = _usePathMaps2[2],
80
70
  valueToItemMap = _usePathMaps2[3];
71
+ var value = getInitialValue(outerValue, valueToItemMap);
72
+ var onChange = function onChange(e) {
73
+ if (outerOnChange) {
74
+ outerOnChange(e);
75
+ }
76
+ };
81
77
  var _useReducer = useReducer(pathReducer, []),
82
78
  _useReducer2 = _slicedToArray(_useReducer, 2),
83
79
  path = _useReducer2[0],
@@ -90,10 +86,10 @@ var selectRoot = function selectRoot(Root) {
90
86
  _useReducer6 = _slicedToArray(_useReducer5, 2),
91
87
  focusedChipIndex = _useReducer6[0],
92
88
  dispatchFocusedChipIndex = _useReducer6[1];
93
- var _useState3 = useState(valueToCheckedMap),
94
- _useState4 = _slicedToArray(_useState3, 2),
95
- checked = _useState4[0],
96
- setChecked = _useState4[1];
89
+ var _useState = useState(valueToCheckedMap),
90
+ _useState2 = _slicedToArray(_useState, 2),
91
+ checked = _useState2[0],
92
+ setChecked = _useState2[1];
97
93
  var closeAfterSelect = outerCloseAfterSelect !== null && outerCloseAfterSelect !== void 0 ? outerCloseAfterSelect : !props.multiselect;
98
94
  var targetRef = useOutsideClick(function () {
99
95
  if (focusedChipIndex != null) {
@@ -159,15 +155,7 @@ var selectRoot = function selectRoot(Root) {
159
155
  if (e) {
160
156
  e.stopPropagation();
161
157
  }
162
- var checkedCopy = new Map(checked);
163
- var isCurrentChecked = checkedCopy.get(item.value);
164
- checkedCopy.forEach(function (_, key) {
165
- checkedCopy.set(key, false);
166
- });
167
- if (!isCurrentChecked) {
168
- checkedCopy.set(item.value, 'done');
169
- updateSingleAncestors(item, checkedCopy, 'dot');
170
- }
158
+ var isCurrentChecked = checked.get(item.value);
171
159
  if (closeAfterSelect) {
172
160
  dispatchPath({
173
161
  type: 'reset'
@@ -239,7 +227,7 @@ var selectRoot = function selectRoot(Root) {
239
227
  }
240
228
  }
241
229
  setChecked(checkedCopy);
242
- }, [value]);
230
+ }, [outerValue, items]);
243
231
  return /*#__PURE__*/React.createElement(Root, _extends({
244
232
  ref: ref,
245
233
  size: size,