@salutejs/plasma-new-hope 0.78.0-canary.1203.8970261959.0 → 0.79.0-canary.1195.9053577477.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (518) hide show
  1. package/cjs/components/Button/Button.styles.js +1 -0
  2. package/cjs/components/Button/Button.styles.js.map +1 -1
  3. package/cjs/components/Calendar/Calendar.types.js.map +1 -1
  4. package/cjs/components/Calendar/CalendarBase/CalendarBase.js +1 -3
  5. package/cjs/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
  6. package/cjs/components/Calendar/hooks/useDays.js +3 -6
  7. package/cjs/components/Calendar/hooks/useDays.js.map +1 -1
  8. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js +1 -2
  9. package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js.map +1 -1
  10. package/cjs/components/Combobox/Combobox.css +20 -7
  11. package/cjs/components/Combobox/ui/ComboboxDivider/ComboboxDivider.css +18 -6
  12. package/cjs/components/Combobox/ui/ComboboxDivider/ComboboxDivider.js +2 -2
  13. package/cjs/components/Combobox/ui/ComboboxFooter/ComboboxFooter.css +18 -6
  14. package/cjs/components/Combobox/ui/ComboboxFooter/ComboboxFooter.js +2 -2
  15. package/cjs/components/Combobox/ui/ComboboxGroup/ComboboxGroup.css +18 -6
  16. package/cjs/components/Combobox/ui/ComboboxGroup/ComboboxGroup.js +2 -2
  17. package/cjs/components/Combobox/ui/ComboboxHeader/ComboboxHeader.css +18 -6
  18. package/cjs/components/Combobox/ui/ComboboxHeader/ComboboxHeader.js +2 -2
  19. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.css +4 -23
  20. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.js +81 -10
  21. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.js.map +1 -1
  22. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js +21 -9
  23. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
  24. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.styles_s4sk53.css +4 -0
  25. package/cjs/components/Combobox/utils/index.js +23 -0
  26. package/cjs/components/Combobox/utils/index.js.map +1 -0
  27. package/cjs/components/Drawer/Drawer.js +1 -0
  28. package/cjs/components/Drawer/Drawer.js.map +1 -1
  29. package/cjs/components/Dropdown/Dropdown.css +28 -2
  30. package/cjs/components/Dropdown/Dropdown.js +141 -54
  31. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  32. package/cjs/components/Dropdown/Dropdown.styles.js +40 -7
  33. package/cjs/components/Dropdown/Dropdown.styles.js.map +1 -1
  34. package/cjs/components/Dropdown/Dropdown.styles_1tihqkp.css +3 -0
  35. package/cjs/components/Dropdown/Dropdown.tokens.js +26 -23
  36. package/cjs/components/Dropdown/Dropdown.tokens.js.map +1 -1
  37. package/cjs/components/Dropdown/hooks/useHashMaps.js +34 -0
  38. package/cjs/components/Dropdown/hooks/useHashMaps.js.map +1 -0
  39. package/cjs/components/Dropdown/hooks/useKeyboardNavigation.js +247 -0
  40. package/cjs/components/Dropdown/hooks/useKeyboardNavigation.js.map +1 -0
  41. package/cjs/components/Dropdown/reducers/focusedPathReducer.js +37 -0
  42. package/cjs/components/Dropdown/reducers/focusedPathReducer.js.map +1 -0
  43. package/cjs/components/Dropdown/reducers/pathReducer.js +41 -0
  44. package/cjs/components/Dropdown/reducers/pathReducer.js.map +1 -0
  45. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +125 -0
  46. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -0
  47. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.css +7 -4
  48. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +79 -100
  49. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  50. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +31 -5
  51. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  52. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles_1o4szyu.css +5 -0
  53. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +30 -0
  54. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -0
  55. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles_12e50g5.css +4 -0
  56. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.css +4 -0
  57. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.js +112 -0
  58. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.js.map +1 -0
  59. package/cjs/components/Dropdown/ui/{DropdownItem → DropdownItemOld}/variations/_size/base.js +1 -1
  60. package/cjs/components/Dropdown/ui/DropdownItemOld/variations/_size/base.js.map +1 -0
  61. package/cjs/components/Dropdown/ui/{DropdownItem → DropdownItemOld}/variations/_view/base.js +1 -1
  62. package/cjs/components/Dropdown/ui/DropdownItemOld/variations/_view/base.js.map +1 -0
  63. package/cjs/components/Dropdown/ui/DropdownOld/Dropdown.styles.js +29 -0
  64. package/cjs/components/Dropdown/ui/DropdownOld/Dropdown.styles.js.map +1 -0
  65. package/cjs/components/Dropdown/ui/DropdownOld/Dropdown.styles_3w3l45.css +2 -0
  66. package/cjs/components/Dropdown/ui/DropdownOld/DropdownOld.css +7 -0
  67. package/cjs/components/Dropdown/ui/DropdownOld/DropdownOld.js +99 -0
  68. package/cjs/components/Dropdown/ui/DropdownOld/DropdownOld.js.map +1 -0
  69. package/cjs/components/Dropdown/ui/DropdownOld/DropdownOld.tokens.js +115 -0
  70. package/cjs/components/Dropdown/ui/DropdownOld/DropdownOld.tokens.js.map +1 -0
  71. package/cjs/components/Dropdown/ui/DropdownOld/utils/index.js +23 -0
  72. package/cjs/components/Dropdown/ui/DropdownOld/utils/index.js.map +1 -0
  73. package/cjs/components/Dropdown/ui/DropdownOld/variations/_size/base.js +9 -0
  74. package/cjs/components/Dropdown/ui/DropdownOld/variations/_size/base.js.map +1 -0
  75. package/cjs/components/Dropdown/ui/DropdownOld/variations/_view/base.js +9 -0
  76. package/cjs/components/Dropdown/ui/DropdownOld/variations/_view/base.js.map +1 -0
  77. package/cjs/components/Dropdown/utils/index.js +16 -0
  78. package/cjs/components/Dropdown/utils/index.js.map +1 -1
  79. package/cjs/components/IconButton/IconButton.css +24 -0
  80. package/cjs/components/IconButton/IconButton.js +50 -0
  81. package/cjs/components/IconButton/IconButton.js.map +1 -0
  82. package/cjs/components/IconButton/IconButton.styles.js +16 -0
  83. package/cjs/components/IconButton/IconButton.styles.js.map +1 -0
  84. package/cjs/components/IconButton/IconButton.styles_1hknr37.css +1 -0
  85. package/cjs/components/IconButton/IconButton.tokens.js +32 -0
  86. package/cjs/components/IconButton/IconButton.tokens.js.map +1 -0
  87. package/cjs/components/Pagination/Pagination.css +17 -7
  88. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +17 -7
  89. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  90. package/cjs/components/Select/Select.css +17 -7
  91. package/cjs/components/Select/ui/SelectDivider/SelectDivider.css +18 -6
  92. package/cjs/components/Select/ui/SelectDivider/SelectDivider.js +2 -2
  93. package/cjs/components/Select/ui/SelectFooter/SelectFooter.css +18 -6
  94. package/cjs/components/Select/ui/SelectFooter/SelectFooter.js +2 -2
  95. package/cjs/components/Select/ui/SelectGroup/SelectGroup.css +18 -6
  96. package/cjs/components/Select/ui/SelectGroup/SelectGroup.js +2 -2
  97. package/cjs/components/Select/ui/SelectHeader/SelectHeader.css +18 -6
  98. package/cjs/components/Select/ui/SelectHeader/SelectHeader.js +2 -2
  99. package/cjs/components/Select/ui/SelectItem/SelectItem.css +19 -7
  100. package/cjs/components/Select/ui/SelectItem/SelectItem.js +3 -3
  101. package/cjs/components/Select/ui/SelectItem/SelectItem.js.map +1 -1
  102. package/cjs/components/Select/ui/SelectItem/SelectItem.styles.js +2 -2
  103. package/cjs/components/Select/ui/SelectItem/SelectItem.styles.js.map +1 -1
  104. package/cjs/components/Select/ui/SelectItem/{SelectItem.styles_6h17aw.css → SelectItem.styles_vk39mp.css} +1 -1
  105. package/cjs/components/_Icon/Icon.assets/DisclosureRight.js +1 -2
  106. package/cjs/components/_Icon/Icon.assets/DisclosureRight.js.map +1 -1
  107. package/cjs/index.css +23 -8
  108. package/cjs/index.js +18 -2
  109. package/cjs/index.js.map +1 -1
  110. package/es/components/Button/Button.styles.js +1 -0
  111. package/es/components/Button/Button.styles.js.map +1 -1
  112. package/es/components/Calendar/Calendar.types.js.map +1 -1
  113. package/es/components/Calendar/CalendarBase/CalendarBase.js +1 -3
  114. package/es/components/Calendar/CalendarBase/CalendarBase.js.map +1 -1
  115. package/es/components/Calendar/hooks/useDays.js +3 -6
  116. package/es/components/Calendar/hooks/useDays.js.map +1 -1
  117. package/es/components/Calendar/ui/CalendarDays/CalendarDays.js +1 -2
  118. package/es/components/Calendar/ui/CalendarDays/CalendarDays.js.map +1 -1
  119. package/es/components/Combobox/Combobox.css +20 -7
  120. package/es/components/Combobox/ui/ComboboxDivider/ComboboxDivider.css +18 -6
  121. package/es/components/Combobox/ui/ComboboxDivider/ComboboxDivider.js +2 -2
  122. package/es/components/Combobox/ui/ComboboxFooter/ComboboxFooter.css +18 -6
  123. package/es/components/Combobox/ui/ComboboxFooter/ComboboxFooter.js +2 -2
  124. package/es/components/Combobox/ui/ComboboxGroup/ComboboxGroup.css +18 -6
  125. package/es/components/Combobox/ui/ComboboxGroup/ComboboxGroup.js +2 -2
  126. package/es/components/Combobox/ui/ComboboxHeader/ComboboxHeader.css +18 -6
  127. package/es/components/Combobox/ui/ComboboxHeader/ComboboxHeader.js +2 -2
  128. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.css +4 -23
  129. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.js +82 -11
  130. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.js.map +1 -1
  131. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js +19 -10
  132. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
  133. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.styles_s4sk53.css +4 -0
  134. package/es/components/Combobox/utils/index.js +19 -0
  135. package/es/components/Combobox/utils/index.js.map +1 -0
  136. package/es/components/Drawer/Drawer.js +1 -0
  137. package/es/components/Drawer/Drawer.js.map +1 -1
  138. package/es/components/Dropdown/Dropdown.css +28 -2
  139. package/es/components/Dropdown/Dropdown.js +147 -60
  140. package/es/components/Dropdown/Dropdown.js.map +1 -1
  141. package/es/components/Dropdown/Dropdown.styles.js +39 -7
  142. package/es/components/Dropdown/Dropdown.styles.js.map +1 -1
  143. package/es/components/Dropdown/Dropdown.styles_1tihqkp.css +3 -0
  144. package/es/components/Dropdown/Dropdown.tokens.js +26 -23
  145. package/es/components/Dropdown/Dropdown.tokens.js.map +1 -1
  146. package/es/components/Dropdown/hooks/useHashMaps.js +30 -0
  147. package/es/components/Dropdown/hooks/useHashMaps.js.map +1 -0
  148. package/es/components/Dropdown/hooks/useKeyboardNavigation.js +242 -0
  149. package/es/components/Dropdown/hooks/useKeyboardNavigation.js.map +1 -0
  150. package/es/components/Dropdown/reducers/focusedPathReducer.js +33 -0
  151. package/es/components/Dropdown/reducers/focusedPathReducer.js.map +1 -0
  152. package/es/components/Dropdown/reducers/pathReducer.js +37 -0
  153. package/es/components/Dropdown/reducers/pathReducer.js.map +1 -0
  154. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +121 -0
  155. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -0
  156. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.css +7 -4
  157. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +80 -100
  158. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  159. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +30 -5
  160. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  161. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles_1o4szyu.css +5 -0
  162. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +23 -0
  163. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +1 -0
  164. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles_12e50g5.css +4 -0
  165. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.css +4 -0
  166. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.js +107 -0
  167. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.js.map +1 -0
  168. package/es/components/Dropdown/ui/{DropdownItem → DropdownItemOld}/variations/_size/base.js +1 -1
  169. package/es/components/Dropdown/ui/DropdownItemOld/variations/_size/base.js.map +1 -0
  170. package/es/components/Dropdown/ui/DropdownItemOld/variations/_size/base_x642ct.css +1 -0
  171. package/es/components/Dropdown/ui/{DropdownItem → DropdownItemOld}/variations/_view/base.js +1 -1
  172. package/es/components/Dropdown/ui/DropdownItemOld/variations/_view/base.js.map +1 -0
  173. package/es/components/Dropdown/ui/DropdownItemOld/variations/_view/base_x642ct.css +1 -0
  174. package/es/components/Dropdown/ui/DropdownOld/Dropdown.styles.js +24 -0
  175. package/es/components/Dropdown/ui/DropdownOld/Dropdown.styles.js.map +1 -0
  176. package/es/components/Dropdown/ui/DropdownOld/Dropdown.styles_3w3l45.css +2 -0
  177. package/es/components/Dropdown/ui/DropdownOld/DropdownOld.css +7 -0
  178. package/es/components/Dropdown/ui/DropdownOld/DropdownOld.js +94 -0
  179. package/es/components/Dropdown/ui/DropdownOld/DropdownOld.js.map +1 -0
  180. package/es/components/Dropdown/ui/DropdownOld/DropdownOld.tokens.js +111 -0
  181. package/es/components/Dropdown/ui/DropdownOld/DropdownOld.tokens.js.map +1 -0
  182. package/es/components/Dropdown/ui/DropdownOld/utils/index.js +18 -0
  183. package/es/components/Dropdown/ui/DropdownOld/utils/index.js.map +1 -0
  184. package/es/components/Dropdown/ui/DropdownOld/variations/_size/base.js +5 -0
  185. package/es/components/Dropdown/ui/DropdownOld/variations/_size/base.js.map +1 -0
  186. package/es/components/Dropdown/ui/DropdownOld/variations/_size/base_x642ct.css +1 -0
  187. package/es/components/Dropdown/ui/DropdownOld/variations/_view/base.js +5 -0
  188. package/es/components/Dropdown/ui/DropdownOld/variations/_view/base.js.map +1 -0
  189. package/es/components/Dropdown/ui/DropdownOld/variations/_view/base_x642ct.css +1 -0
  190. package/es/components/Dropdown/utils/index.js +16 -2
  191. package/es/components/Dropdown/utils/index.js.map +1 -1
  192. package/es/components/IconButton/IconButton.css +24 -0
  193. package/es/components/IconButton/IconButton.js +45 -0
  194. package/es/components/IconButton/IconButton.js.map +1 -0
  195. package/es/components/IconButton/IconButton.styles.js +12 -0
  196. package/es/components/IconButton/IconButton.styles.js.map +1 -0
  197. package/es/components/IconButton/IconButton.styles_1hknr37.css +1 -0
  198. package/es/components/IconButton/IconButton.tokens.js +28 -0
  199. package/es/components/IconButton/IconButton.tokens.js.map +1 -0
  200. package/es/components/Pagination/Pagination.css +17 -7
  201. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +17 -7
  202. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  203. package/es/components/Select/Select.css +17 -7
  204. package/es/components/Select/ui/SelectDivider/SelectDivider.css +18 -6
  205. package/es/components/Select/ui/SelectDivider/SelectDivider.js +2 -2
  206. package/es/components/Select/ui/SelectFooter/SelectFooter.css +18 -6
  207. package/es/components/Select/ui/SelectFooter/SelectFooter.js +2 -2
  208. package/es/components/Select/ui/SelectGroup/SelectGroup.css +18 -6
  209. package/es/components/Select/ui/SelectGroup/SelectGroup.js +2 -2
  210. package/es/components/Select/ui/SelectHeader/SelectHeader.css +18 -6
  211. package/es/components/Select/ui/SelectHeader/SelectHeader.js +2 -2
  212. package/es/components/Select/ui/SelectItem/SelectItem.css +19 -7
  213. package/es/components/Select/ui/SelectItem/SelectItem.js +3 -3
  214. package/es/components/Select/ui/SelectItem/SelectItem.js.map +1 -1
  215. package/es/components/Select/ui/SelectItem/SelectItem.styles.js +2 -2
  216. package/es/components/Select/ui/SelectItem/SelectItem.styles.js.map +1 -1
  217. package/es/components/Select/ui/SelectItem/{SelectItem.styles_6h17aw.css → SelectItem.styles_vk39mp.css} +1 -1
  218. package/es/components/_Icon/Icon.assets/DisclosureRight.js +1 -2
  219. package/es/components/_Icon/Icon.assets/DisclosureRight.js.map +1 -1
  220. package/es/index.css +23 -8
  221. package/es/index.js +8 -1
  222. package/es/index.js.map +1 -1
  223. package/package.json +2 -2
  224. package/styled-components/cjs/components/Button/Button.styles.js +10 -2
  225. package/styled-components/cjs/components/Calendar/CalendarBase/CalendarBase.js +1 -3
  226. package/styled-components/cjs/components/Calendar/hooks/useDays.js +3 -6
  227. package/styled-components/cjs/components/Calendar/ui/CalendarDays/CalendarDays.js +1 -2
  228. package/styled-components/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.js +91 -2
  229. package/styled-components/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js +27 -7
  230. package/styled-components/cjs/components/Combobox/utils/index.js +23 -0
  231. package/styled-components/cjs/components/Dropdown/Dropdown.js +140 -54
  232. package/styled-components/cjs/components/Dropdown/Dropdown.styles.js +22 -7
  233. package/styled-components/cjs/components/Dropdown/Dropdown.template-doc.mdx +325 -66
  234. package/styled-components/cjs/components/Dropdown/Dropdown.tokens.js +26 -23
  235. package/styled-components/cjs/components/Dropdown/hooks/useHashMaps.js +32 -0
  236. package/styled-components/cjs/components/Dropdown/hooks/useKeyboardNavigation.js +249 -0
  237. package/styled-components/cjs/components/Dropdown/index.js +9 -1
  238. package/styled-components/cjs/components/Dropdown/reducers/focusedPathReducer.js +40 -0
  239. package/styled-components/cjs/components/Dropdown/reducers/pathReducer.js +44 -0
  240. package/styled-components/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +117 -0
  241. package/styled-components/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.type.js +5 -0
  242. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +77 -105
  243. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +24 -19
  244. package/styled-components/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +33 -0
  245. package/styled-components/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.type.js +5 -0
  246. package/styled-components/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.js +119 -0
  247. package/styled-components/cjs/components/Dropdown/ui/DropdownOld/Dropdown.styles.js +19 -0
  248. package/styled-components/cjs/components/Dropdown/ui/DropdownOld/Dropdown.types.js +5 -0
  249. package/styled-components/cjs/components/Dropdown/ui/DropdownOld/DropdownOld.js +101 -0
  250. package/styled-components/cjs/components/Dropdown/ui/DropdownOld/DropdownOld.tokens.js +118 -0
  251. package/styled-components/cjs/components/Dropdown/ui/DropdownOld/utils/index.js +21 -0
  252. package/styled-components/cjs/components/Dropdown/ui/DropdownOld/variations/_size/base.js +8 -0
  253. package/styled-components/cjs/components/Dropdown/ui/DropdownOld/variations/_size/tokens.json +1 -0
  254. package/styled-components/cjs/components/Dropdown/ui/DropdownOld/variations/_view/base.js +8 -0
  255. package/styled-components/cjs/components/Dropdown/ui/DropdownOld/variations/_view/tokens.json +1 -0
  256. package/styled-components/cjs/components/Dropdown/ui/index.js +39 -5
  257. package/styled-components/cjs/components/Dropdown/utils/index.js +15 -1
  258. package/styled-components/cjs/components/Dropdown/variations/_size/tokens.json +1 -9
  259. package/styled-components/cjs/components/Dropdown/variations/_view/tokens.json +1 -1
  260. package/styled-components/cjs/components/IconButton/IconButton.js +47 -0
  261. package/styled-components/cjs/components/IconButton/IconButton.styles.js +13 -0
  262. package/styled-components/cjs/components/IconButton/IconButton.tokens.js +31 -0
  263. package/styled-components/cjs/components/IconButton/index.js +25 -0
  264. package/styled-components/cjs/components/Select/ui/SelectItem/SelectItem.js +1 -1
  265. package/styled-components/cjs/components/Select/ui/SelectItem/SelectItem.styles.js +1 -1
  266. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureRight.js +1 -2
  267. package/styled-components/cjs/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +6 -18
  268. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +25 -0
  269. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.js +11 -0
  270. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +292 -0
  271. package/styled-components/cjs/examples/plasma_b2c/components/IconButton/IconButton.config.js +45 -0
  272. package/styled-components/cjs/examples/plasma_b2c/components/IconButton/IconButton.js +11 -0
  273. package/styled-components/cjs/examples/plasma_b2c/components/IconButton/IconButton.stories.tsx +71 -0
  274. package/styled-components/cjs/examples/plasma_web/components/Calendar/Calendar.stories.tsx +6 -18
  275. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Dropdown.config.js +25 -0
  276. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Dropdown.js +11 -0
  277. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +292 -0
  278. package/styled-components/cjs/examples/plasma_web/components/IconButton/IconButton.config.js +45 -0
  279. package/styled-components/cjs/examples/plasma_web/components/IconButton/IconButton.js +11 -0
  280. package/styled-components/cjs/examples/plasma_web/components/IconButton/IconButton.stories.tsx +71 -0
  281. package/styled-components/cjs/examples/sds_engineer/components/Calendar/Calendar.stories.tsx +6 -18
  282. package/styled-components/cjs/index.js +11 -0
  283. package/styled-components/es/components/Button/Button.styles.js +10 -2
  284. package/styled-components/es/components/Calendar/CalendarBase/CalendarBase.js +1 -3
  285. package/styled-components/es/components/Calendar/hooks/useDays.js +3 -6
  286. package/styled-components/es/components/Calendar/ui/CalendarDays/CalendarDays.js +1 -2
  287. package/styled-components/es/components/Combobox/ui/ComboboxItem/ComboboxItem.js +90 -3
  288. package/styled-components/es/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js +23 -6
  289. package/styled-components/es/components/Combobox/utils/index.js +15 -0
  290. package/styled-components/es/components/Dropdown/Dropdown.js +142 -55
  291. package/styled-components/es/components/Dropdown/Dropdown.styles.js +18 -5
  292. package/styled-components/es/components/Dropdown/Dropdown.template-doc.mdx +325 -66
  293. package/styled-components/es/components/Dropdown/Dropdown.tokens.js +26 -23
  294. package/styled-components/es/components/Dropdown/hooks/useHashMaps.js +26 -0
  295. package/styled-components/es/components/Dropdown/hooks/useKeyboardNavigation.js +243 -0
  296. package/styled-components/es/components/Dropdown/index.js +1 -0
  297. package/styled-components/es/components/Dropdown/reducers/focusedPathReducer.js +34 -0
  298. package/styled-components/es/components/Dropdown/reducers/pathReducer.js +38 -0
  299. package/styled-components/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +111 -0
  300. package/styled-components/es/components/Dropdown/ui/DropdownInner/DropdownInner.type.js +1 -0
  301. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +78 -107
  302. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +21 -15
  303. package/styled-components/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +25 -0
  304. package/styled-components/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.type.js +1 -0
  305. package/styled-components/es/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.js +111 -0
  306. package/styled-components/es/components/Dropdown/ui/DropdownOld/Dropdown.styles.js +13 -0
  307. package/styled-components/es/components/Dropdown/ui/DropdownOld/Dropdown.types.js +1 -0
  308. package/styled-components/es/components/Dropdown/ui/DropdownOld/DropdownOld.js +92 -0
  309. package/styled-components/es/components/Dropdown/ui/DropdownOld/DropdownOld.tokens.js +112 -0
  310. package/styled-components/es/components/Dropdown/ui/DropdownOld/utils/index.js +15 -0
  311. package/styled-components/es/components/Dropdown/ui/DropdownOld/variations/_size/base.js +2 -0
  312. package/styled-components/es/components/Dropdown/ui/DropdownOld/variations/_size/tokens.json +1 -0
  313. package/styled-components/es/components/Dropdown/ui/DropdownOld/variations/_view/base.js +2 -0
  314. package/styled-components/es/components/Dropdown/ui/DropdownOld/variations/_view/tokens.json +1 -0
  315. package/styled-components/es/components/Dropdown/ui/index.js +5 -1
  316. package/styled-components/es/components/Dropdown/utils/index.js +15 -1
  317. package/styled-components/es/components/Dropdown/variations/_size/tokens.json +1 -9
  318. package/styled-components/es/components/Dropdown/variations/_view/tokens.json +1 -1
  319. package/styled-components/es/components/IconButton/IconButton.js +41 -0
  320. package/styled-components/es/components/IconButton/IconButton.styles.js +8 -0
  321. package/styled-components/es/components/IconButton/IconButton.tokens.js +25 -0
  322. package/styled-components/es/components/IconButton/index.js +2 -0
  323. package/styled-components/es/components/Select/ui/SelectItem/SelectItem.js +2 -2
  324. package/styled-components/es/components/Select/ui/SelectItem/SelectItem.styles.js +1 -1
  325. package/styled-components/es/components/_Icon/Icon.assets/DisclosureRight.js +1 -2
  326. package/styled-components/es/examples/plasma_b2c/components/Calendar/Calendar.stories.tsx +6 -18
  327. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +19 -0
  328. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.js +5 -0
  329. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +292 -0
  330. package/styled-components/es/examples/plasma_b2c/components/IconButton/IconButton.config.js +39 -0
  331. package/styled-components/es/examples/plasma_b2c/components/IconButton/IconButton.js +5 -0
  332. package/styled-components/es/examples/plasma_b2c/components/IconButton/IconButton.stories.tsx +71 -0
  333. package/styled-components/es/examples/plasma_web/components/Calendar/Calendar.stories.tsx +6 -18
  334. package/styled-components/es/examples/plasma_web/components/Dropdown/Dropdown.config.js +19 -0
  335. package/styled-components/es/examples/plasma_web/components/Dropdown/Dropdown.js +5 -0
  336. package/styled-components/es/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +292 -0
  337. package/styled-components/es/examples/plasma_web/components/IconButton/IconButton.config.js +39 -0
  338. package/styled-components/es/examples/plasma_web/components/IconButton/IconButton.js +5 -0
  339. package/styled-components/es/examples/plasma_web/components/IconButton/IconButton.stories.tsx +71 -0
  340. package/styled-components/es/examples/sds_engineer/components/Calendar/Calendar.stories.tsx +6 -18
  341. package/styled-components/es/index.js +1 -0
  342. package/types/components/Button/Button.styles.d.ts +1 -0
  343. package/types/components/Button/Button.styles.d.ts.map +1 -1
  344. package/types/components/Calendar/Calendar.types.d.ts +0 -4
  345. package/types/components/Calendar/Calendar.types.d.ts.map +1 -1
  346. package/types/components/Calendar/CalendarBase/CalendarBase.d.ts.map +1 -1
  347. package/types/components/Calendar/hooks/useDays.d.ts +1 -1
  348. package/types/components/Calendar/hooks/useDays.d.ts.map +1 -1
  349. package/types/components/Calendar/ui/CalendarDays/CalendarDays.d.ts.map +1 -1
  350. package/types/components/Calendar/ui/CalendarDays/CalendarDays.types.d.ts +0 -1
  351. package/types/components/Calendar/ui/CalendarDays/CalendarDays.types.d.ts.map +1 -1
  352. package/types/components/Combobox/ui/ComboboxItem/ComboboxItem.d.ts +15 -13
  353. package/types/components/Combobox/ui/ComboboxItem/ComboboxItem.d.ts.map +1 -1
  354. package/types/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.d.ts +5 -1
  355. package/types/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.d.ts.map +1 -1
  356. package/types/components/Combobox/ui/ComboboxItem/ComboboxItem.type.d.ts +59 -2
  357. package/types/components/Combobox/ui/ComboboxItem/ComboboxItem.type.d.ts.map +1 -1
  358. package/types/components/Combobox/utils/index.d.ts +4 -0
  359. package/types/components/Combobox/utils/index.d.ts.map +1 -0
  360. package/types/components/Dropdown/Dropdown.d.ts +4 -4
  361. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  362. package/types/components/Dropdown/Dropdown.styles.d.ts +8 -1
  363. package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
  364. package/types/components/Dropdown/Dropdown.tokens.d.ts +24 -22
  365. package/types/components/Dropdown/Dropdown.tokens.d.ts.map +1 -1
  366. package/types/components/Dropdown/Dropdown.types.d.ts +64 -40
  367. package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
  368. package/types/components/Dropdown/hooks/useHashMaps.d.ts +6 -0
  369. package/types/components/Dropdown/hooks/useHashMaps.d.ts.map +1 -0
  370. package/types/components/Dropdown/hooks/useKeyboardNavigation.d.ts +37 -0
  371. package/types/components/Dropdown/hooks/useKeyboardNavigation.d.ts.map +1 -0
  372. package/types/components/Dropdown/index.d.ts +3 -1
  373. package/types/components/Dropdown/index.d.ts.map +1 -1
  374. package/types/components/Dropdown/reducers/focusedPathReducer.d.ts +16 -0
  375. package/types/components/Dropdown/reducers/focusedPathReducer.d.ts.map +1 -0
  376. package/types/components/Dropdown/reducers/pathReducer.d.ts +20 -0
  377. package/types/components/Dropdown/reducers/pathReducer.d.ts.map +1 -0
  378. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.d.ts +5 -0
  379. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.d.ts.map +1 -0
  380. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts +26 -0
  381. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts.map +1 -0
  382. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.d.ts +2 -56
  383. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.d.ts.map +1 -1
  384. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts +5 -2
  385. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts.map +1 -1
  386. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts +44 -38
  387. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts.map +1 -1
  388. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.d.ts +7 -0
  389. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.d.ts.map +1 -0
  390. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItem.type.d.ts +60 -0
  391. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItem.type.d.ts.map +1 -0
  392. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.d.ts +58 -0
  393. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.d.ts.map +1 -0
  394. package/types/components/Dropdown/ui/DropdownItemOld/variations/_size/base.d.ts.map +1 -0
  395. package/types/components/Dropdown/ui/DropdownItemOld/variations/_view/base.d.ts.map +1 -0
  396. package/types/components/Dropdown/ui/DropdownOld/Dropdown.styles.d.ts +8 -0
  397. package/types/components/Dropdown/ui/DropdownOld/Dropdown.styles.d.ts.map +1 -0
  398. package/types/components/Dropdown/ui/DropdownOld/Dropdown.types.d.ts +76 -0
  399. package/types/components/Dropdown/ui/DropdownOld/Dropdown.types.d.ts.map +1 -0
  400. package/types/components/Dropdown/ui/DropdownOld/DropdownOld.d.ts +26 -0
  401. package/types/components/Dropdown/ui/DropdownOld/DropdownOld.d.ts.map +1 -0
  402. package/types/components/Dropdown/ui/DropdownOld/DropdownOld.tokens.d.ts +113 -0
  403. package/types/components/Dropdown/ui/DropdownOld/DropdownOld.tokens.d.ts.map +1 -0
  404. package/types/components/Dropdown/ui/DropdownOld/utils/index.d.ts +4 -0
  405. package/types/components/Dropdown/ui/DropdownOld/utils/index.d.ts.map +1 -0
  406. package/types/components/Dropdown/ui/DropdownOld/variations/_size/base.d.ts +2 -0
  407. package/types/components/Dropdown/ui/DropdownOld/variations/_size/base.d.ts.map +1 -0
  408. package/types/components/Dropdown/ui/DropdownOld/variations/_view/base.d.ts +2 -0
  409. package/types/components/Dropdown/ui/DropdownOld/variations/_view/base.d.ts.map +1 -0
  410. package/types/components/Dropdown/ui/index.d.ts +5 -1
  411. package/types/components/Dropdown/ui/index.d.ts.map +1 -1
  412. package/types/components/Dropdown/utils/index.d.ts +5 -2
  413. package/types/components/Dropdown/utils/index.d.ts.map +1 -1
  414. package/types/components/IconButton/IconButton.d.ts +35 -0
  415. package/types/components/IconButton/IconButton.d.ts.map +1 -0
  416. package/types/components/IconButton/IconButton.styles.d.ts +3 -0
  417. package/types/components/IconButton/IconButton.styles.d.ts.map +1 -0
  418. package/types/components/IconButton/IconButton.tokens.d.ts +26 -0
  419. package/types/components/IconButton/IconButton.tokens.d.ts.map +1 -0
  420. package/types/components/IconButton/index.d.ts +3 -0
  421. package/types/components/IconButton/index.d.ts.map +1 -0
  422. package/types/components/Select/ui/SelectItem/SelectItem.d.ts +2 -2
  423. package/types/components/Select/ui/SelectItem/SelectItem.d.ts.map +1 -1
  424. package/types/components/Select/ui/SelectItem/SelectItem.type.d.ts +2 -2
  425. package/types/components/Select/utils/index.d.ts +1 -1
  426. package/types/components/_Icon/Icon.assets/DisclosureRight.d.ts.map +1 -1
  427. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.config.d.ts.map +1 -0
  428. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts +13 -0
  429. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts.map +1 -0
  430. package/types/examples/plasma_b2c/components/IconButton/IconButton.config.d.ts +38 -0
  431. package/types/examples/plasma_b2c/components/IconButton/IconButton.config.d.ts.map +1 -0
  432. package/types/examples/plasma_b2c/components/IconButton/IconButton.d.ts +32 -0
  433. package/types/examples/plasma_b2c/components/IconButton/IconButton.d.ts.map +1 -0
  434. package/types/examples/plasma_web/components/Dropdown/Dropdown.config.d.ts.map +1 -0
  435. package/types/examples/plasma_web/components/Dropdown/Dropdown.d.ts +13 -0
  436. package/types/examples/plasma_web/components/Dropdown/Dropdown.d.ts.map +1 -0
  437. package/types/examples/plasma_web/components/IconButton/IconButton.config.d.ts +38 -0
  438. package/types/examples/plasma_web/components/IconButton/IconButton.config.d.ts.map +1 -0
  439. package/types/examples/plasma_web/components/IconButton/IconButton.d.ts +32 -0
  440. package/types/examples/plasma_web/components/IconButton/IconButton.d.ts.map +1 -0
  441. package/types/index.d.ts +1 -0
  442. package/types/index.d.ts.map +1 -1
  443. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.styles_936wgl.css +0 -1
  444. package/cjs/components/Dropdown/Dropdown.styles_1daxhqh.css +0 -2
  445. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles_1juhjtq.css +0 -4
  446. package/cjs/components/Dropdown/ui/DropdownItem/variations/_size/base.js.map +0 -1
  447. package/cjs/components/Dropdown/ui/DropdownItem/variations/_view/base.js.map +0 -1
  448. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.styles_936wgl.css +0 -1
  449. package/es/components/Dropdown/Dropdown.styles_1daxhqh.css +0 -2
  450. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles_1juhjtq.css +0 -4
  451. package/es/components/Dropdown/ui/DropdownItem/variations/_size/base.js.map +0 -1
  452. package/es/components/Dropdown/ui/DropdownItem/variations/_view/base.js.map +0 -1
  453. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/variations/_size/tokens.json +0 -19
  454. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/variations/_view/tokens.json +0 -9
  455. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.config.js +0 -27
  456. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.js +0 -13
  457. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.stories.tsx +0 -194
  458. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.config.js +0 -27
  459. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.js +0 -13
  460. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.stories.tsx +0 -195
  461. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Normal/Dropdown.config.js +0 -27
  462. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Normal/Dropdown.js +0 -13
  463. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Normal/Dropdown.stories.tsx +0 -195
  464. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Tight/Dropdown.config.js +0 -27
  465. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Tight/Dropdown.js +0 -13
  466. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Tight/Dropdown.stories.tsx +0 -195
  467. package/styled-components/cjs/examples/sds_engineer/components/Dropdown/Dropdown.config.js +0 -22
  468. package/styled-components/cjs/examples/sds_engineer/components/Dropdown/Dropdown.js +0 -21
  469. package/styled-components/cjs/examples/sds_engineer/components/Dropdown/Dropdown.stories.tsx +0 -277
  470. package/styled-components/es/components/Dropdown/ui/DropdownItem/variations/_size/tokens.json +0 -19
  471. package/styled-components/es/components/Dropdown/ui/DropdownItem/variations/_view/tokens.json +0 -9
  472. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.config.js +0 -21
  473. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.js +0 -7
  474. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.stories.tsx +0 -194
  475. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.config.js +0 -21
  476. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.js +0 -7
  477. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.stories.tsx +0 -195
  478. package/styled-components/es/examples/plasma_web/components/Dropdown/Normal/Dropdown.config.js +0 -21
  479. package/styled-components/es/examples/plasma_web/components/Dropdown/Normal/Dropdown.js +0 -7
  480. package/styled-components/es/examples/plasma_web/components/Dropdown/Normal/Dropdown.stories.tsx +0 -195
  481. package/styled-components/es/examples/plasma_web/components/Dropdown/Tight/Dropdown.config.js +0 -21
  482. package/styled-components/es/examples/plasma_web/components/Dropdown/Tight/Dropdown.js +0 -7
  483. package/styled-components/es/examples/plasma_web/components/Dropdown/Tight/Dropdown.stories.tsx +0 -195
  484. package/styled-components/es/examples/sds_engineer/components/Dropdown/Dropdown.config.js +0 -16
  485. package/styled-components/es/examples/sds_engineer/components/Dropdown/Dropdown.js +0 -15
  486. package/styled-components/es/examples/sds_engineer/components/Dropdown/Dropdown.stories.tsx +0 -277
  487. package/types/components/Dropdown/ui/DropdownItem/variations/_size/base.d.ts.map +0 -1
  488. package/types/components/Dropdown/ui/DropdownItem/variations/_view/base.d.ts.map +0 -1
  489. package/types/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.config.d.ts.map +0 -1
  490. package/types/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.d.ts +0 -30
  491. package/types/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.d.ts.map +0 -1
  492. package/types/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.config.d.ts.map +0 -1
  493. package/types/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.d.ts +0 -30
  494. package/types/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.d.ts.map +0 -1
  495. package/types/examples/plasma_web/components/Dropdown/Normal/Dropdown.config.d.ts +0 -18
  496. package/types/examples/plasma_web/components/Dropdown/Normal/Dropdown.config.d.ts.map +0 -1
  497. package/types/examples/plasma_web/components/Dropdown/Normal/Dropdown.d.ts +0 -30
  498. package/types/examples/plasma_web/components/Dropdown/Normal/Dropdown.d.ts.map +0 -1
  499. package/types/examples/plasma_web/components/Dropdown/Tight/Dropdown.config.d.ts +0 -18
  500. package/types/examples/plasma_web/components/Dropdown/Tight/Dropdown.config.d.ts.map +0 -1
  501. package/types/examples/plasma_web/components/Dropdown/Tight/Dropdown.d.ts +0 -30
  502. package/types/examples/plasma_web/components/Dropdown/Tight/Dropdown.d.ts.map +0 -1
  503. package/types/examples/sds_engineer/components/Dropdown/Dropdown.config.d.ts +0 -15
  504. package/types/examples/sds_engineer/components/Dropdown/Dropdown.config.d.ts.map +0 -1
  505. package/types/examples/sds_engineer/components/Dropdown/Dropdown.d.ts +0 -51
  506. package/types/examples/sds_engineer/components/Dropdown/Dropdown.d.ts.map +0 -1
  507. /package/cjs/components/Dropdown/ui/{DropdownItem → DropdownItemOld}/variations/_size/base_x642ct.css +0 -0
  508. /package/cjs/components/Dropdown/ui/{DropdownItem → DropdownItemOld}/variations/_view/base_x642ct.css +0 -0
  509. /package/{es/components/Dropdown/ui/DropdownItem → cjs/components/Dropdown/ui/DropdownOld}/variations/_size/base_x642ct.css +0 -0
  510. /package/{es/components/Dropdown/ui/DropdownItem → cjs/components/Dropdown/ui/DropdownOld}/variations/_view/base_x642ct.css +0 -0
  511. /package/styled-components/cjs/components/Dropdown/ui/{DropdownItem → DropdownItemOld}/variations/_size/base.js +0 -0
  512. /package/styled-components/cjs/components/Dropdown/ui/{DropdownItem → DropdownItemOld}/variations/_view/base.js +0 -0
  513. /package/styled-components/es/components/Dropdown/ui/{DropdownItem → DropdownItemOld}/variations/_size/base.js +0 -0
  514. /package/styled-components/es/components/Dropdown/ui/{DropdownItem → DropdownItemOld}/variations/_view/base.js +0 -0
  515. /package/types/components/Dropdown/ui/{DropdownItem → DropdownItemOld}/variations/_size/base.d.ts +0 -0
  516. /package/types/components/Dropdown/ui/{DropdownItem → DropdownItemOld}/variations/_view/base.d.ts +0 -0
  517. /package/types/examples/plasma_b2c/components/Dropdown/{Normal/Dropdown.config.d.ts → Dropdown.config.d.ts} +0 -0
  518. /package/types/examples/{plasma_b2c/components/Dropdown/Tight → plasma_web/components/Dropdown}/Dropdown.config.d.ts +0 -0
@@ -0,0 +1,7 @@
1
+ .Popover_styles_rmr9za_s1g1xbt5__0bafa6fb{display:inline-block;}
2
+ .Popover_styles_rmr9za_s12xwbyh__0bafa6fb{display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;box-sizing:border-box;position:relative;}
3
+ .Popover_styles_rmr9za_s1pd4d8a__0bafa6fb{width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);}.Popover_styles_rmr9za_s1pd4d8a__0bafa6fb::before{position:absolute;width:var(--plasma-popover-arrow-mask-width);height:var(--plasma-popover-arrow-mask-height);-webkit-mask-image:var(--plasma-popover-arrow-mask-image);mask-image:var(--plasma-popover-arrow-mask-image);background:var(--plasma-popover-arrow-background);content:'';-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}
4
+ .Popover_styles_rmr9za_s16xlixz__0bafa6fb{position:absolute;z-index:var(--s16xlixz-0);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='top'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{bottom:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{right:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(-90deg);-ms-transform:rotate(-90deg);transform:rotate(-90deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{left:calc(0px - var(--plasma-popover-arrow-height));}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='top-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{bottom:calc(0px - var(--plasma-popover-arrow-height));left:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='top-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{bottom:calc(0px - var(--plasma-popover-arrow-height));left:unset !important;right:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:calc(0px - var(--plasma-popover-arrow-height));left:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:calc(0px - var(--plasma-popover-arrow-height));left:unset !important;right:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='bottom-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb::before{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg);}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb,.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right-start'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='left-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb,.Popover_styles_rmr9za_s16xlixz__0bafa6fb[data-popper-placement^='right-end'] > .Popover_styles_rmr9za_popoverArrow__0bafa6fb{top:unset !important;bottom:var(--plasma-popover-arrow-edge-margin) !important;-webkit-transform:unset !important;-ms-transform:unset !important;transform:unset !important;}
5
+
6
+ .Dropdown_styles_3w3l45_s1rwu6ky__59648b20 .Dropdown_styles_3w3l45_popoverTarget__59648b20{display:block;}
7
+ .Dropdown_styles_3w3l45_s10jhp3l__59648b20{box-sizing:border-box;background:var(--plasma-dropdown-background);box-shadow:var(--plasma-dropdown-box-shadow);border-radius:var(--plasma-dropdown-border-radius);width:var(--plasma-dropdown-width);height:var(--plasma-dropdown-height);padding:var(--plasma-dropdown-padding-top) var(--plasma-dropdown-padding-right) var(--plasma-dropdown-padding-bottom) var(--plasma-dropdown-padding-left);}
@@ -0,0 +1,94 @@
1
+ import { objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../../_virtual/_rollupPluginBabelHelpers.js';
2
+ import React, { forwardRef, useRef } from 'react';
3
+ import { useUniqId, useForkRef, useFocusTrap } from '@salutejs/plasma-core';
4
+ import { base } from './variations/_view/base.js';
5
+ import { base as base$1 } from './variations/_size/base.js';
6
+ import { StyledPopover, StyledDropdown } from './Dropdown.styles.js';
7
+ import { getPlacements } from './utils/index.js';
8
+
9
+ var _excluded = ["id", "target", "children", "hasArrow", "role", "view", "size", "frame", "onToggle", "isFocusTrapped", "isOpen", "placement", "trigger", "offset", "preventOverflow", "closeOnOverlayClick", "closeOnEsc"];
10
+ /**
11
+ * Выпадающий список без внешнего контроля видимости.
12
+ */
13
+ var dropdownOldRoot = function dropdownOldRoot(Root) {
14
+ return /*#__PURE__*/forwardRef(function (_ref, outerRootRef) {
15
+ var id = _ref.id,
16
+ target = _ref.target,
17
+ children = _ref.children,
18
+ hasArrow = _ref.hasArrow,
19
+ role = _ref.role,
20
+ view = _ref.view,
21
+ size = _ref.size,
22
+ frame = _ref.frame,
23
+ _onToggle = _ref.onToggle,
24
+ _ref$isFocusTrapped = _ref.isFocusTrapped,
25
+ isFocusTrapped = _ref$isFocusTrapped === void 0 ? true : _ref$isFocusTrapped,
26
+ _ref$isOpen = _ref.isOpen,
27
+ isOpen = _ref$isOpen === void 0 ? false : _ref$isOpen,
28
+ _ref$placement = _ref.placement,
29
+ placement = _ref$placement === void 0 ? 'auto' : _ref$placement,
30
+ _ref$trigger = _ref.trigger,
31
+ trigger = _ref$trigger === void 0 ? 'click' : _ref$trigger,
32
+ _ref$offset = _ref.offset,
33
+ offset = _ref$offset === void 0 ? [0, 6] : _ref$offset,
34
+ _ref$preventOverflow = _ref.preventOverflow,
35
+ preventOverflow = _ref$preventOverflow === void 0 ? false : _ref$preventOverflow,
36
+ _ref$closeOnOverlayCl = _ref.closeOnOverlayClick,
37
+ closeOnOverlayClick = _ref$closeOnOverlayCl === void 0 ? false : _ref$closeOnOverlayCl,
38
+ _ref$closeOnEsc = _ref.closeOnEsc,
39
+ closeOnEsc = _ref$closeOnEsc === void 0 ? false : _ref$closeOnEsc,
40
+ rest = _objectWithoutProperties(_ref, _excluded);
41
+ var uniqId = useUniqId();
42
+ var innerId = id || uniqId;
43
+ var rootRef = useRef(null);
44
+ var dropdownRef = useRef(null);
45
+ var handleRef = useForkRef(rootRef, outerRootRef);
46
+ var trapRef = useFocusTrap(isOpen && isFocusTrapped);
47
+ var dropdownForkRef = useForkRef(dropdownRef, trapRef);
48
+ return /*#__PURE__*/React.createElement(StyledPopover, {
49
+ role: role,
50
+ isOpen: isOpen,
51
+ usePortal: false,
52
+ onToggle: function onToggle(is, event) {
53
+ return _onToggle === null || _onToggle === void 0 ? void 0 : _onToggle(is, event);
54
+ },
55
+ id: innerId,
56
+ ref: dropdownForkRef,
57
+ target: target,
58
+ offset: offset,
59
+ preventOverflow: preventOverflow,
60
+ hasArrow: hasArrow,
61
+ placement: getPlacements(placement),
62
+ trigger: trigger,
63
+ closeOnOverlayClick: closeOnOverlayClick,
64
+ closeOnEsc: closeOnEsc,
65
+ isFocusTrapped: isFocusTrapped,
66
+ frame: frame
67
+ }, /*#__PURE__*/React.createElement(Root, _extends({
68
+ ref: handleRef,
69
+ view: view,
70
+ size: size
71
+ }, rest), /*#__PURE__*/React.createElement(StyledDropdown, null, children)));
72
+ });
73
+ };
74
+ var dropdownOldConfig = {
75
+ name: 'Dropdown',
76
+ tag: 'div',
77
+ layout: dropdownOldRoot,
78
+ base: '',
79
+ variations: {
80
+ view: {
81
+ css: base
82
+ },
83
+ size: {
84
+ css: base$1
85
+ }
86
+ },
87
+ defaults: {
88
+ view: 'default',
89
+ size: 'm'
90
+ }
91
+ };
92
+
93
+ export { dropdownOldConfig, dropdownOldRoot };
94
+ //# sourceMappingURL=DropdownOld.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DropdownOld.js","sources":["../../../../../src/components/Dropdown/ui/DropdownOld/DropdownOld.tsx"],"sourcesContent":["import React, { forwardRef, useRef } from 'react';\nimport { useFocusTrap, useForkRef, useUniqId } from '@salutejs/plasma-core';\n\nimport { RootProps } from '../../../../engines';\n\nimport { base as viewCSS } from './variations/_view/base';\nimport { base as sizeCSS } from './variations/_size/base';\nimport { StyledDropdown, StyledPopover } from './Dropdown.styles';\nimport { getPlacements } from './utils';\nimport type { DropdownProps } from './Dropdown.types';\n\n/**\n * Выпадающий список без внешнего контроля видимости.\n */\nexport const dropdownOldRoot = (Root: RootProps<HTMLDivElement, DropdownProps>) =>\n forwardRef<HTMLDivElement, DropdownProps>(\n (\n {\n id,\n target,\n children,\n hasArrow,\n role,\n view,\n size,\n frame,\n onToggle,\n isFocusTrapped = true,\n isOpen = false,\n placement = 'auto',\n trigger = 'click',\n offset = [0, 6],\n preventOverflow = false,\n closeOnOverlayClick = false,\n closeOnEsc = false,\n ...rest\n },\n outerRootRef,\n ) => {\n const uniqId = useUniqId();\n const innerId = id || uniqId;\n\n const rootRef = useRef<HTMLDivElement | null>(null);\n const dropdownRef = useRef<HTMLDivElement | null>(null);\n const handleRef = useForkRef<HTMLDivElement>(rootRef, outerRootRef);\n\n const trapRef = useFocusTrap(isOpen && isFocusTrapped);\n\n const dropdownForkRef = useForkRef<HTMLDivElement>(dropdownRef, trapRef);\n\n return (\n <StyledPopover\n role={role}\n isOpen={isOpen}\n usePortal={false}\n onToggle={(is, event) => onToggle?.(is, event)}\n id={innerId}\n ref={dropdownForkRef}\n target={target}\n offset={offset}\n preventOverflow={preventOverflow}\n hasArrow={hasArrow}\n placement={getPlacements(placement)}\n trigger={trigger}\n closeOnOverlayClick={closeOnOverlayClick}\n closeOnEsc={closeOnEsc}\n isFocusTrapped={isFocusTrapped}\n frame={frame}\n >\n <Root ref={handleRef} view={view} size={size} {...rest}>\n <StyledDropdown>{children}</StyledDropdown>\n </Root>\n </StyledPopover>\n );\n },\n );\n\nexport const dropdownOldConfig = {\n name: 'Dropdown',\n tag: 'div',\n layout: dropdownOldRoot,\n base: '',\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n },\n defaults: {\n view: 'default',\n size: 'm',\n },\n};\n"],"names":["dropdownOldRoot","Root","forwardRef","_ref","outerRootRef","id","target","children","hasArrow","role","view","size","frame","onToggle","_ref$isFocusTrapped","isFocusTrapped","_ref$isOpen","isOpen","_ref$placement","placement","_ref$trigger","trigger","_ref$offset","offset","_ref$preventOverflow","preventOverflow","_ref$closeOnOverlayCl","closeOnOverlayClick","_ref$closeOnEsc","closeOnEsc","rest","_objectWithoutProperties","_excluded","uniqId","useUniqId","innerId","rootRef","useRef","dropdownRef","handleRef","useForkRef","trapRef","useFocusTrap","dropdownForkRef","React","createElement","StyledPopover","usePortal","is","event","ref","getPlacements","_extends","StyledDropdown","dropdownOldConfig","name","tag","layout","base","variations","css","viewCSS","sizeCSS","defaults"],"mappings":"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"}
@@ -0,0 +1,111 @@
1
+ var tokens = {
2
+ background: '--plasma-dropdown-background',
3
+ boxShadow: '--plasma-dropdown-box-shadow',
4
+ width: '--plasma-dropdown-width',
5
+ height: '--plasma-dropdown-height',
6
+ borderRadius: '--plasma-dropdown-border-radius',
7
+ paddingTop: '--plasma-dropdown-padding-top',
8
+ paddingRight: '--plasma-dropdown-padding-right',
9
+ paddingBottom: '--plasma-dropdown-padding-bottom',
10
+ paddingLeft: '--plasma-dropdown-padding-left',
11
+ itemBackground: '--plasma-dropdown-item-background',
12
+ itemColor: '--plasma-dropdown-item-color',
13
+ itemBackgroundHover: '--plasma-dropdown-item-background-hover',
14
+ itemBackgroundSelected: '--plasma-dropdown-item-background-selected',
15
+ itemColorSelected: '--plasma-dropdown-item-color-selected',
16
+ itemBackgroundSelectedHover: '--plasma-dropdown-item-background-selected-hover',
17
+ itemColorSelectedHover: '--plasma-dropdown-item-color-selected-hover',
18
+ itemWidth: '--plasma-dropdown-item-width',
19
+ itemHeight: '--plasma-dropdown-item-height',
20
+ itemBorderRadius: '--plasma-dropdown-item-border-radius',
21
+ itemPaddingTop: '--plasma-dropdown-item-padding-top',
22
+ itemPaddingRight: '--plasma-dropdown-item-padding-right',
23
+ itemPaddingBottom: '--plasma-dropdown-item-padding-bottom',
24
+ itemPaddingLeft: '--plasma-dropdown-item-padding-left',
25
+ itemMarginTop: '--plasma-dropdown-item-margin-top',
26
+ itemMarginRight: '--plasma-dropdown-item-margin-right',
27
+ itemMarginBottom: '--plasma-dropdown-item-margin-bottom',
28
+ itemMarginLeft: '--plasma-dropdown-item-margin-left',
29
+ itemFontFamily: '--plasma-dropdown-item-font-family',
30
+ itemFontSize: '--plasma-dropdown-item-font-size',
31
+ itemFontStyle: '--plasma-dropdown-item-font-style',
32
+ itemFontWeightBold: '--plasma-dropdown-item-letter-spacing',
33
+ itemFontLetterSpacing: '--plasma-dropdown-item-line-height',
34
+ itemFontLineHeight: '--plasma-dropdown-item-font-weight',
35
+ itemContentLeftColor: '--plasma-dropdown-item-content-left-color',
36
+ itemContentRightColor: '--plasma-dropdown-item-content-right-color',
37
+ itemContentLeftWidth: '--plasma-dropdown-item-content-left-width',
38
+ itemContentRightWidth: '--plasma-dropdown-item-content-right-width',
39
+ footerBackground: '--plasma-dropdown-footer-background',
40
+ footerWidth: '--plasma-dropdown-footer-width',
41
+ footerHeight: '--plasma-dropdown-footer-height',
42
+ footerPaddingTop: '--plasma-dropdown-footer-padding-top',
43
+ footerPaddingRight: '--plasma-dropdown-footer-padding-right',
44
+ footerPaddingBottom: '--plasma-dropdown-footer-padding-bottom',
45
+ footerPaddingLeft: '--plasma-dropdown-footer-padding-left',
46
+ footerMarginTop: '--plasma-dropdown-footer-margin-top',
47
+ footerMarginRight: '--plasma-dropdown-footer-margin-right',
48
+ footerMarginBottom: '--plasma-dropdown-footer-margin-bottom',
49
+ footerMarginLeft: '--plasma-dropdown-footer-margin-left',
50
+ footerFontFamily: '--plasma-dropdown-footer-font-family',
51
+ footerFontSize: '--plasma-dropdown-footer-font-size',
52
+ footerFontStyle: '--plasma-dropdown-footer-font-style',
53
+ footerFontWeightBold: '--plasma-dropdown-footer-letter-spacing',
54
+ footerFontLetterSpacing: '--plasma-dropdown-footer-line-height',
55
+ footerFontLineHeight: '--plasma-dropdown-footer-font-weight',
56
+ headerBackground: '--plasma-dropdown-header-background',
57
+ headerWidth: '--plasma-dropdown-header-width',
58
+ headerHeight: '--plasma-dropdown-header-height',
59
+ headerPaddingTop: '--plasma-dropdown-header-padding-top',
60
+ headerPaddingRight: '--plasma-dropdown-header-padding-right',
61
+ headerPaddingBottom: '--plasma-dropdown-header-padding-bottom',
62
+ headerPaddingLeft: '--plasma-dropdown-header-padding-left',
63
+ headerMarginTop: '--plasma-dropdown-header-margin-top',
64
+ headerMarginRight: '--plasma-dropdown-header-margin-right',
65
+ headerMarginBottom: '--plasma-dropdown-header-margin-bottom',
66
+ headerMarginLeft: '--plasma-dropdown-header-margin-left',
67
+ headerFontFamily: '--plasma-dropdown-header-font-family',
68
+ headerFontSize: '--plasma-dropdown-header-font-size',
69
+ headerFontStyle: '--plasma-dropdown-header-font-style',
70
+ headerFontWeightBold: '--plasma-dropdown-header-letter-spacing',
71
+ headerFontLetterSpacing: '--plasma-dropdown-header-line-height',
72
+ headerFontLineHeight: '--plasma-dropdown-header-font-weight',
73
+ dividerColor: '--plasma-dropdown-divider-color',
74
+ dividerWidth: '--plasma-dropdown-divider-width',
75
+ dividerHeight: '--plasma-dropdown-divider-height',
76
+ dividerMarginTop: '--plasma-dropdown-divider-margin-top',
77
+ dividerMarginRight: '--plasma-dropdown-divider-margin-right',
78
+ dividerMarginBottom: '--plasma-dropdown-divider-margin-bottom',
79
+ dividerMarginLeft: '--plasma-dropdown-divider-margin-left',
80
+ groupBackground: '--plasma-dropdown-group-background',
81
+ groupWidth: '--plasma-dropdown-group-width',
82
+ groupHeight: '--plasma-dropdown-group-height',
83
+ groupPaddingTop: '--plasma-dropdown-group-padding-top',
84
+ groupPaddingRight: '--plasma-dropdown-group-padding-right',
85
+ groupPaddingBottom: '--plasma-dropdown-group-padding-bottom',
86
+ groupPaddingLeft: '--plasma-dropdown-group-padding-left',
87
+ groupMarginTop: '--plasma-dropdown-group-margin-top',
88
+ groupMarginRight: '--plasma-dropdown-group-margin-right',
89
+ groupMarginBottom: '--plasma-dropdown-group-margin-bottom',
90
+ groupMarginLeft: '--plasma-dropdown-group-margin-left',
91
+ groupLabelColor: '--plasma-dropdown-group-label-color',
92
+ groupLabelFontFamily: '--plasma-dropdown-group-label-font-family',
93
+ groupLabelFontSize: '--plasma-dropdown-group-label-font-size',
94
+ groupLabelFontStyle: '--plasma-dropdown-group-label-font-style',
95
+ groupLabelFontWeight: '--plasma-dropdown-group-label-font-weight',
96
+ groupLabelLetterSpacing: '--plasma-dropdown-group-label-letter-spacing',
97
+ groupLabelLineHeight: '--plasma-dropdown-group-label-line-height',
98
+ groupLabelPaddingTop: '--plasma-dropdown-group-label-padding-top',
99
+ groupLabelPaddingRight: '--plasma-dropdown-group-label-padding-right',
100
+ groupLabelPaddingBottom: '--plasma-dropdown-group-label-padding-bottom',
101
+ groupLabelPaddingLeft: '--plasma-dropdown-group-label-padding-left',
102
+ groupLabelMarginTop: '--plasma-dropdown-group-label-margin-top',
103
+ groupLabelMarginRight: '--plasma-dropdown-group-label-margin-right',
104
+ groupLabelMarginBottom: '--plasma-dropdown-group-label-margin-bottom',
105
+ groupLabelMarginLeft: '--plasma-dropdown-group-label-margin-left',
106
+ disabledOpacity: '--plasma-dropdown-disabled-opacity',
107
+ focusColor: '--plasma-dropdown-focus-color'
108
+ };
109
+
110
+ export { tokens };
111
+ //# sourceMappingURL=DropdownOld.tokens.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DropdownOld.tokens.js","sources":["../../../../../src/components/Dropdown/ui/DropdownOld/DropdownOld.tokens.ts"],"sourcesContent":["export const classes = {\n dropdownItemIsSelected: 'dropdown-item-is-selected',\n dropdownItemIsDisabled: 'dropdown-item-is-disabled',\n};\n\nexport const tokens = {\n background: '--plasma-dropdown-background',\n boxShadow: '--plasma-dropdown-box-shadow',\n width: '--plasma-dropdown-width',\n height: '--plasma-dropdown-height',\n borderRadius: '--plasma-dropdown-border-radius',\n paddingTop: '--plasma-dropdown-padding-top',\n paddingRight: '--plasma-dropdown-padding-right',\n paddingBottom: '--plasma-dropdown-padding-bottom',\n paddingLeft: '--plasma-dropdown-padding-left',\n\n itemBackground: '--plasma-dropdown-item-background',\n itemColor: '--plasma-dropdown-item-color',\n itemBackgroundHover: '--plasma-dropdown-item-background-hover',\n itemBackgroundSelected: '--plasma-dropdown-item-background-selected',\n itemColorSelected: '--plasma-dropdown-item-color-selected',\n itemBackgroundSelectedHover: '--plasma-dropdown-item-background-selected-hover',\n itemColorSelectedHover: '--plasma-dropdown-item-color-selected-hover',\n itemWidth: '--plasma-dropdown-item-width',\n itemHeight: '--plasma-dropdown-item-height',\n itemBorderRadius: '--plasma-dropdown-item-border-radius',\n itemPaddingTop: '--plasma-dropdown-item-padding-top',\n itemPaddingRight: '--plasma-dropdown-item-padding-right',\n itemPaddingBottom: '--plasma-dropdown-item-padding-bottom',\n itemPaddingLeft: '--plasma-dropdown-item-padding-left',\n itemMarginTop: '--plasma-dropdown-item-margin-top',\n itemMarginRight: '--plasma-dropdown-item-margin-right',\n itemMarginBottom: '--plasma-dropdown-item-margin-bottom',\n itemMarginLeft: '--plasma-dropdown-item-margin-left',\n itemFontFamily: '--plasma-dropdown-item-font-family',\n itemFontSize: '--plasma-dropdown-item-font-size',\n itemFontStyle: '--plasma-dropdown-item-font-style',\n itemFontWeightBold: '--plasma-dropdown-item-letter-spacing',\n itemFontLetterSpacing: '--plasma-dropdown-item-line-height',\n itemFontLineHeight: '--plasma-dropdown-item-font-weight',\n itemContentLeftColor: '--plasma-dropdown-item-content-left-color',\n itemContentRightColor: '--plasma-dropdown-item-content-right-color',\n itemContentLeftWidth: '--plasma-dropdown-item-content-left-width',\n itemContentRightWidth: '--plasma-dropdown-item-content-right-width',\n\n footerBackground: '--plasma-dropdown-footer-background',\n footerWidth: '--plasma-dropdown-footer-width',\n footerHeight: '--plasma-dropdown-footer-height',\n footerPaddingTop: '--plasma-dropdown-footer-padding-top',\n footerPaddingRight: '--plasma-dropdown-footer-padding-right',\n footerPaddingBottom: '--plasma-dropdown-footer-padding-bottom',\n footerPaddingLeft: '--plasma-dropdown-footer-padding-left',\n footerMarginTop: '--plasma-dropdown-footer-margin-top',\n footerMarginRight: '--plasma-dropdown-footer-margin-right',\n footerMarginBottom: '--plasma-dropdown-footer-margin-bottom',\n footerMarginLeft: '--plasma-dropdown-footer-margin-left',\n footerFontFamily: '--plasma-dropdown-footer-font-family',\n footerFontSize: '--plasma-dropdown-footer-font-size',\n footerFontStyle: '--plasma-dropdown-footer-font-style',\n footerFontWeightBold: '--plasma-dropdown-footer-letter-spacing',\n footerFontLetterSpacing: '--plasma-dropdown-footer-line-height',\n footerFontLineHeight: '--plasma-dropdown-footer-font-weight',\n\n headerBackground: '--plasma-dropdown-header-background',\n headerWidth: '--plasma-dropdown-header-width',\n headerHeight: '--plasma-dropdown-header-height',\n headerPaddingTop: '--plasma-dropdown-header-padding-top',\n headerPaddingRight: '--plasma-dropdown-header-padding-right',\n headerPaddingBottom: '--plasma-dropdown-header-padding-bottom',\n headerPaddingLeft: '--plasma-dropdown-header-padding-left',\n headerMarginTop: '--plasma-dropdown-header-margin-top',\n headerMarginRight: '--plasma-dropdown-header-margin-right',\n headerMarginBottom: '--plasma-dropdown-header-margin-bottom',\n headerMarginLeft: '--plasma-dropdown-header-margin-left',\n headerFontFamily: '--plasma-dropdown-header-font-family',\n headerFontSize: '--plasma-dropdown-header-font-size',\n headerFontStyle: '--plasma-dropdown-header-font-style',\n headerFontWeightBold: '--plasma-dropdown-header-letter-spacing',\n headerFontLetterSpacing: '--plasma-dropdown-header-line-height',\n headerFontLineHeight: '--plasma-dropdown-header-font-weight',\n\n dividerColor: '--plasma-dropdown-divider-color',\n dividerWidth: '--plasma-dropdown-divider-width',\n dividerHeight: '--plasma-dropdown-divider-height',\n dividerMarginTop: '--plasma-dropdown-divider-margin-top',\n dividerMarginRight: '--plasma-dropdown-divider-margin-right',\n dividerMarginBottom: '--plasma-dropdown-divider-margin-bottom',\n dividerMarginLeft: '--plasma-dropdown-divider-margin-left',\n\n groupBackground: '--plasma-dropdown-group-background',\n groupWidth: '--plasma-dropdown-group-width',\n groupHeight: '--plasma-dropdown-group-height',\n groupPaddingTop: '--plasma-dropdown-group-padding-top',\n groupPaddingRight: '--plasma-dropdown-group-padding-right',\n groupPaddingBottom: '--plasma-dropdown-group-padding-bottom',\n groupPaddingLeft: '--plasma-dropdown-group-padding-left',\n groupMarginTop: '--plasma-dropdown-group-margin-top',\n groupMarginRight: '--plasma-dropdown-group-margin-right',\n groupMarginBottom: '--plasma-dropdown-group-margin-bottom',\n groupMarginLeft: '--plasma-dropdown-group-margin-left',\n groupLabelColor: '--plasma-dropdown-group-label-color',\n groupLabelFontFamily: '--plasma-dropdown-group-label-font-family',\n groupLabelFontSize: '--plasma-dropdown-group-label-font-size',\n groupLabelFontStyle: '--plasma-dropdown-group-label-font-style',\n groupLabelFontWeight: '--plasma-dropdown-group-label-font-weight',\n groupLabelLetterSpacing: '--plasma-dropdown-group-label-letter-spacing',\n groupLabelLineHeight: '--plasma-dropdown-group-label-line-height',\n groupLabelPaddingTop: '--plasma-dropdown-group-label-padding-top',\n groupLabelPaddingRight: '--plasma-dropdown-group-label-padding-right',\n groupLabelPaddingBottom: '--plasma-dropdown-group-label-padding-bottom',\n groupLabelPaddingLeft: '--plasma-dropdown-group-label-padding-left',\n groupLabelMarginTop: '--plasma-dropdown-group-label-margin-top',\n groupLabelMarginRight: '--plasma-dropdown-group-label-margin-right',\n groupLabelMarginBottom: '--plasma-dropdown-group-label-margin-bottom',\n groupLabelMarginLeft: '--plasma-dropdown-group-label-margin-left',\n\n disabledOpacity: '--plasma-dropdown-disabled-opacity',\n focusColor: '--plasma-dropdown-focus-color',\n};\n"],"names":["tokens","background","boxShadow","width","height","borderRadius","paddingTop","paddingRight","paddingBottom","paddingLeft","itemBackground","itemColor","itemBackgroundHover","itemBackgroundSelected","itemColorSelected","itemBackgroundSelectedHover","itemColorSelectedHover","itemWidth","itemHeight","itemBorderRadius","itemPaddingTop","itemPaddingRight","itemPaddingBottom","itemPaddingLeft","itemMarginTop","itemMarginRight","itemMarginBottom","itemMarginLeft","itemFontFamily","itemFontSize","itemFontStyle","itemFontWeightBold","itemFontLetterSpacing","itemFontLineHeight","itemContentLeftColor","itemContentRightColor","itemContentLeftWidth","itemContentRightWidth","footerBackground","footerWidth","footerHeight","footerPaddingTop","footerPaddingRight","footerPaddingBottom","footerPaddingLeft","footerMarginTop","footerMarginRight","footerMarginBottom","footerMarginLeft","footerFontFamily","footerFontSize","footerFontStyle","footerFontWeightBold","footerFontLetterSpacing","footerFontLineHeight","headerBackground","headerWidth","headerHeight","headerPaddingTop","headerPaddingRight","headerPaddingBottom","headerPaddingLeft","headerMarginTop","headerMarginRight","headerMarginBottom","headerMarginLeft","headerFontFamily","headerFontSize","headerFontStyle","headerFontWeightBold","headerFontLetterSpacing","headerFontLineHeight","dividerColor","dividerWidth","dividerHeight","dividerMarginTop","dividerMarginRight","dividerMarginBottom","dividerMarginLeft","groupBackground","groupWidth","groupHeight","groupPaddingTop","groupPaddingRight","groupPaddingBottom","groupPaddingLeft","groupMarginTop","groupMarginRight","groupMarginBottom","groupMarginLeft","groupLabelColor","groupLabelFontFamily","groupLabelFontSize","groupLabelFontStyle","groupLabelFontWeight","groupLabelLetterSpacing","groupLabelLineHeight","groupLabelPaddingTop","groupLabelPaddingRight","groupLabelPaddingBottom","groupLabelPaddingLeft","groupLabelMarginTop","groupLabelMarginRight","groupLabelMarginBottom","groupLabelMarginLeft","disabledOpacity","focusColor"],"mappings":"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"}
@@ -0,0 +1,18 @@
1
+ var getPlacement = function getPlacement(placement) {
2
+ return "".concat(placement, "-start");
3
+ };
4
+ var getPlacements = function getPlacements(placements) {
5
+ if (!placements) {
6
+ return;
7
+ }
8
+ var isArray = Array.isArray(placements);
9
+ if (!isArray) {
10
+ return getPlacement(placements);
11
+ }
12
+ return (placements || []).map(function (placement) {
13
+ return getPlacement(placement);
14
+ });
15
+ };
16
+
17
+ export { getPlacement, getPlacements };
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../src/components/Dropdown/ui/DropdownOld/utils/index.tsx"],"sourcesContent":["import type { PopoverPlacementBasic } from '../../../../Popover';\nimport type { DropdownPlacement, DropdownPlacementBasic } from '../Dropdown.types';\n\nexport const getPlacement = (placement: DropdownPlacement) => {\n return `${placement}-start` as PopoverPlacementBasic;\n};\n\nexport const getPlacements = (placements?: DropdownPlacement | DropdownPlacementBasic[]) => {\n if (!placements) {\n return;\n }\n const isArray = Array.isArray(placements);\n\n if (!isArray) {\n return getPlacement(placements as DropdownPlacement);\n }\n return ((placements || []) as DropdownPlacementBasic[]).map((placement) => getPlacement(placement));\n};\n"],"names":["getPlacement","placement","concat","getPlacements","placements","isArray","Array","map"],"mappings":"IAGaA,YAAY,GAAG,SAAfA,YAAYA,CAAIC,SAA4B,EAAK;EAC1D,OAAAC,EAAAA,CAAAA,MAAA,CAAUD,SAAS,EAAA,QAAA,CAAA,CAAA;AACvB,EAAC;IAEYE,aAAa,GAAG,SAAhBA,aAAaA,CAAIC,UAAyD,EAAK;EACxF,IAAI,CAACA,UAAU,EAAE;AACb,IAAA,OAAA;AACJ,GAAA;AACA,EAAA,IAAMC,OAAO,GAAGC,KAAK,CAACD,OAAO,CAACD,UAAU,CAAC,CAAA;EAEzC,IAAI,CAACC,OAAO,EAAE;IACV,OAAOL,YAAY,CAACI,UAA+B,CAAC,CAAA;AACxD,GAAA;EACA,OAAO,CAAEA,UAAU,IAAI,EAAE,EAA+BG,GAAG,CAAC,UAACN,SAAS,EAAA;IAAA,OAAKD,YAAY,CAACC,SAAS,CAAC,CAAA;GAAC,CAAA,CAAA;AACvG;;;;"}
@@ -0,0 +1,5 @@
1
+ import './base_x642ct.css';
2
+ var base = "bj0yadk";
3
+
4
+ export { base };
5
+ //# sourceMappingURL=base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.js","sources":["../../../../../../../src/components/Dropdown/ui/DropdownOld/variations/_size/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nexport const base = css``;\n"],"names":["base"],"mappings":"AAEO,IAAMA,IAAI,GAAQ;;;;"}
@@ -0,0 +1,5 @@
1
+ import './base_x642ct.css';
2
+ var base = "b1lt6g31";
3
+
4
+ export { base };
5
+ //# sourceMappingURL=base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.js","sources":["../../../../../../../src/components/Dropdown/ui/DropdownOld/variations/_view/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nexport const base = css``;\n"],"names":["base"],"mappings":"AAEO,IAAMA,IAAI,GAAQ;;;;"}
@@ -1,5 +1,5 @@
1
1
  import { typeof as _typeof } from '../../../_virtual/_rollupPluginBabelHelpers.js';
2
- import React, { isValidElement, cloneElement } from 'react';
2
+ import React, { Children, isValidElement, cloneElement } from 'react';
3
3
 
4
4
  var getPlacement = function getPlacement(placement) {
5
5
  return "".concat(placement, "-start");
@@ -16,6 +16,20 @@ var getPlacements = function getPlacements(placements) {
16
16
  return getPlacement(placement);
17
17
  });
18
18
  };
19
+ var getCorrectHeight = function getCorrectHeight(listHeight) {
20
+ if (Number.isNaN(Number(listHeight))) {
21
+ return listHeight.toString();
22
+ }
23
+ return "".concat(listHeight, "rem");
24
+ };
25
+ var childrenWithProps = function childrenWithProps(children, additionalProps) {
26
+ return Children.map(children, function (child) {
27
+ if ( /*#__PURE__*/React.isValidElement(child)) {
28
+ return /*#__PURE__*/React.cloneElement(child, additionalProps);
29
+ }
30
+ return child;
31
+ });
32
+ };
19
33
  var isReactObject = function isReactObject(element) {
20
34
  return _typeof(element) === 'object' || typeof element === 'function';
21
35
  };
@@ -30,5 +44,5 @@ var getValidComponent = function getValidComponent(element, props) {
30
44
  return element;
31
45
  };
32
46
 
33
- export { getPlacement, getPlacements, getValidComponent };
47
+ export { childrenWithProps, getCorrectHeight, getPlacement, getPlacements, getValidComponent };
34
48
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/components/Dropdown/utils/index.tsx"],"sourcesContent":["import React, { ElementType, ReactNode, cloneElement, isValidElement } from 'react';\n\nimport type { PopoverPlacementBasic } from '../../Popover';\nimport type { DropdownPlacement, DropdownPlacementBasic } from '../Dropdown.types';\n\nexport const getPlacement = (placement: DropdownPlacement) => {\n return `${placement}-start` as PopoverPlacementBasic;\n};\n\nexport const getPlacements = (placements?: DropdownPlacement | DropdownPlacementBasic[]) => {\n if (!placements) {\n return;\n }\n const isArray = Array.isArray(placements);\n\n if (!isArray) {\n return getPlacement(placements as DropdownPlacement);\n }\n return ((placements || []) as DropdownPlacementBasic[]).map((placement) => getPlacement(placement));\n};\n\nconst isReactObject = (element: any): element is ElementType => {\n return typeof element === 'object' || typeof element === 'function';\n};\n\nexport const getValidComponent = (element: ElementType | ReactNode, props: object) => {\n if (isValidElement(element)) {\n return cloneElement(element, props);\n }\n\n if (isReactObject(element)) {\n const Component = element;\n\n return <Component {...props} />;\n }\n\n return element;\n};\n"],"names":["getPlacement","placement","concat","getPlacements","placements","isArray","Array","map","isReactObject","element","_typeof","getValidComponent","props","isValidElement","cloneElement","Component","React","createElement"],"mappings":";;;IAKaA,YAAY,GAAG,SAAfA,YAAYA,CAAIC,SAA4B,EAAK;EAC1D,OAAAC,EAAAA,CAAAA,MAAA,CAAUD,SAAS,EAAA,QAAA,CAAA,CAAA;AACvB,EAAC;IAEYE,aAAa,GAAG,SAAhBA,aAAaA,CAAIC,UAAyD,EAAK;EACxF,IAAI,CAACA,UAAU,EAAE;AACb,IAAA,OAAA;AACJ,GAAA;AACA,EAAA,IAAMC,OAAO,GAAGC,KAAK,CAACD,OAAO,CAACD,UAAU,CAAC,CAAA;EAEzC,IAAI,CAACC,OAAO,EAAE;IACV,OAAOL,YAAY,CAACI,UAA+B,CAAC,CAAA;AACxD,GAAA;EACA,OAAO,CAAEA,UAAU,IAAI,EAAE,EAA+BG,GAAG,CAAC,UAACN,SAAS,EAAA;IAAA,OAAKD,YAAY,CAACC,SAAS,CAAC,CAAA;GAAC,CAAA,CAAA;AACvG,EAAC;AAED,IAAMO,aAAa,GAAG,SAAhBA,aAAaA,CAAIC,OAAY,EAA6B;EAC5D,OAAOC,OAAA,CAAOD,OAAO,CAAA,KAAK,QAAQ,IAAI,OAAOA,OAAO,KAAK,UAAU,CAAA;AACvE,CAAC,CAAA;AAEM,IAAME,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAIF,OAAgC,EAAEG,KAAa,EAAK;AAClF,EAAA,kBAAIC,cAAc,CAACJ,OAAO,CAAC,EAAE;AACzB,IAAA,oBAAOK,YAAY,CAACL,OAAO,EAAEG,KAAK,CAAC,CAAA;AACvC,GAAA;AAEA,EAAA,IAAIJ,aAAa,CAACC,OAAO,CAAC,EAAE;IACxB,IAAMM,SAAS,GAAGN,OAAO,CAAA;AAEzB,IAAA,oBAAOO,KAAA,CAAAC,aAAA,CAACF,SAAS,EAAKH,KAAQ,CAAC,CAAA;AACnC,GAAA;AAEA,EAAA,OAAOH,OAAO,CAAA;AAClB;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/components/Dropdown/utils/index.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport React, { Children, HTMLAttributes, ElementType, cloneElement, isValidElement } from 'react';\n\nimport type { PopoverPlacementBasic } from '../../Popover';\nimport type { DropdownPlacement, DropdownPlacementBasic, DropdownProps } from '../Dropdown.types';\n\nexport const getPlacement = (placement: DropdownPlacement) => {\n return `${placement}-start` as PopoverPlacementBasic;\n};\n\nexport const getPlacements = (placements?: DropdownPlacement | DropdownPlacementBasic[]) => {\n if (!placements) {\n return;\n }\n const isArray = Array.isArray(placements);\n\n if (!isArray) {\n return getPlacement(placements as DropdownPlacement);\n }\n return ((placements || []) as DropdownPlacementBasic[]).map((placement) => getPlacement(placement));\n};\n\nexport const getCorrectHeight = (listHeight: Required<DropdownProps>['listHeight']): string => {\n if (Number.isNaN(Number(listHeight))) {\n return listHeight.toString();\n }\n return `${listHeight}rem`;\n};\n\nexport const childrenWithProps = (children: ReactNode, additionalProps: HTMLAttributes<HTMLLIElement>) =>\n Children.map(children, (child) => {\n if (React.isValidElement(child)) {\n return React.cloneElement(child, additionalProps);\n }\n return child;\n });\n\nconst isReactObject = (element: any): element is ElementType => {\n return typeof element === 'object' || typeof element === 'function';\n};\n\nexport const getValidComponent = (element: ElementType | ReactNode, props: object) => {\n if (isValidElement(element)) {\n return cloneElement(element, props);\n }\n\n if (isReactObject(element)) {\n const Component = element;\n\n return <Component {...props} />;\n }\n\n return element;\n};\n"],"names":["getPlacement","placement","concat","getPlacements","placements","isArray","Array","map","getCorrectHeight","listHeight","Number","isNaN","toString","childrenWithProps","children","additionalProps","Children","child","React","isValidElement","cloneElement","isReactObject","element","_typeof","getValidComponent","props","Component","createElement"],"mappings":";;;IAMaA,YAAY,GAAG,SAAfA,YAAYA,CAAIC,SAA4B,EAAK;EAC1D,OAAAC,EAAAA,CAAAA,MAAA,CAAUD,SAAS,EAAA,QAAA,CAAA,CAAA;AACvB,EAAC;IAEYE,aAAa,GAAG,SAAhBA,aAAaA,CAAIC,UAAyD,EAAK;EACxF,IAAI,CAACA,UAAU,EAAE;AACb,IAAA,OAAA;AACJ,GAAA;AACA,EAAA,IAAMC,OAAO,GAAGC,KAAK,CAACD,OAAO,CAACD,UAAU,CAAC,CAAA;EAEzC,IAAI,CAACC,OAAO,EAAE;IACV,OAAOL,YAAY,CAACI,UAA+B,CAAC,CAAA;AACxD,GAAA;EACA,OAAO,CAAEA,UAAU,IAAI,EAAE,EAA+BG,GAAG,CAAC,UAACN,SAAS,EAAA;IAAA,OAAKD,YAAY,CAACC,SAAS,CAAC,CAAA;GAAC,CAAA,CAAA;AACvG,EAAC;IAEYO,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAIC,UAAiD,EAAa;EAC3F,IAAIC,MAAM,CAACC,KAAK,CAACD,MAAM,CAACD,UAAU,CAAC,CAAC,EAAE;AAClC,IAAA,OAAOA,UAAU,CAACG,QAAQ,EAAE,CAAA;AAChC,GAAA;EACA,OAAAV,EAAAA,CAAAA,MAAA,CAAUO,UAAU,EAAA,KAAA,CAAA,CAAA;AACxB,EAAC;AAEM,IAAMI,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAIC,QAAmB,EAAEC,eAA8C,EAAA;EAAA,OACjGC,QAAQ,CAACT,GAAG,CAACO,QAAQ,EAAE,UAACG,KAAK,EAAK;AAC9B,IAAA,kBAAIC,KAAK,CAACC,cAAc,CAACF,KAAK,CAAC,EAAE;AAC7B,MAAA,oBAAOC,KAAK,CAACE,YAAY,CAACH,KAAK,EAAEF,eAAe,CAAC,CAAA;AACrD,KAAA;AACA,IAAA,OAAOE,KAAK,CAAA;AAChB,GAAC,CAAC,CAAA;AAAA,EAAA;AAEN,IAAMI,aAAa,GAAG,SAAhBA,aAAaA,CAAIC,OAAY,EAA6B;EAC5D,OAAOC,OAAA,CAAOD,OAAO,CAAA,KAAK,QAAQ,IAAI,OAAOA,OAAO,KAAK,UAAU,CAAA;AACvE,CAAC,CAAA;AAEM,IAAME,iBAAiB,GAAG,SAApBA,iBAAiBA,CAAIF,OAAgC,EAAEG,KAAa,EAAK;AAClF,EAAA,kBAAIN,cAAc,CAACG,OAAO,CAAC,EAAE;AACzB,IAAA,oBAAOF,YAAY,CAACE,OAAO,EAAEG,KAAK,CAAC,CAAA;AACvC,GAAA;AAEA,EAAA,IAAIJ,aAAa,CAACC,OAAO,CAAC,EAAE;IACxB,IAAMI,SAAS,GAAGJ,OAAO,CAAA;AAEzB,IAAA,oBAAOJ,KAAA,CAAAS,aAAA,CAACD,SAAS,EAAKD,KAAQ,CAAC,CAAA;AACnC,GAAA;AAEA,EAAA,OAAOH,OAAO,CAAA;AAClB;;;;"}
@@ -0,0 +1,24 @@
1
+ .base_1gusher_b1chvyq8__76b641f5{color:var(--plasma-spinner-color);}
2
+
3
+ .base_ova69f_bw56nfh__55225c7f{width:var(--plasma-spinner-size);height:var(--plasma-spinner-size);}
4
+
5
+ .Spinner_styles_13q7ndk_b1hp2dsz__af962114{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;box-sizing:border-box;}
6
+ .Spinner_styles_13q7ndk_s122r4cn__af962114{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:var(--s122r4cn-0);height:var(--s122r4cn-1);-webkit-animation:Spinner_styles_13q7ndk_rotateS122r4cn__af962114 1s linear infinite;animation:Spinner_styles_13q7ndk_rotateS122r4cn__af962114 1s linear infinite;}@-webkit-keyframes Spinner_styles_13q7ndk_rotateS122r4cn__af962114{from{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}to{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}@keyframes Spinner_styles_13q7ndk_rotateS122r4cn__af962114{from{-webkit-transform:rotate(0);-ms-transform:rotate(0);transform:rotate(0);}to{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}
7
+
8
+ .Button_styles_uqvh6u_bzw1898__b7cda4d5{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);--plasma_private-btn-br:var(--plasma_computed-btn-br);border-radius:var(--plasma_private-btn-br);}a.Button_styles_uqvh6u_bzw1898__b7cda4d5{-webkit-text-decoration:none;text-decoration:none;}.Button_styles_uqvh6u_bzw1898__b7cda4d5.Button_styles_uqvh6u_bzw1898__b7cda4d5.Button_styles_uqvh6u_buttonSquare__b7cda4d5{width:var(--plasma-button-height);padding:0;}
9
+ .Button_styles_uqvh6u_bdfuqwe__b7cda4d5{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.Button_styles_uqvh6u_bdfuqwe__b7cda4d5:not(:last-child){margin-right:0.375rem;}.Button_styles_uqvh6u_bdfuqwe__b7cda4d5:not(:first-child){margin-left:0.375rem;}
10
+ .Button_styles_uqvh6u_l9ypozh__b7cda4d5{opacity:var(--l9ypozh-0);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:100%;-webkit-align-items:inherit;-webkit-box-align:inherit;-ms-flex-align:inherit;align-items:inherit;-webkit-box-pack:inherit;-webkit-justify-content:inherit;-ms-flex-pack:inherit;justify-content:inherit;height:100%;}
11
+ .Button_styles_uqvh6u_l4dfhbg__b7cda4d5{position:absolute;}
12
+ .Button_styles_uqvh6u_srdlazt__b7cda4d5{--plasma-spinner-size:var(--plasma-button-spinner-size);--plasma-spinner-color:var(--plasma-button-spinner-color);}
13
+
14
+ .base_x95x4p_b1ty39ru__349bf40b{color:var(--plasma-button-color);background-color:var(--plasma-button-background-color);}.base_x95x4p_b1ty39ru__349bf40b:hover{color:var(--plasma-button-color-hover,var(--plasma-button-color));background-color:var(--plasma-button-background-color-hover,var(--plasma-button-background-color));scale:var(--plasma-button-scale-hover);}.base_x95x4p_b1ty39ru__349bf40b:active{color:var(--plasma-button-color-active,var(--plasma-button-color));background-color:var(--plasma-button-background-color-active,var(--plasma-button-background-color));scale:var(---plasma-button-scale-active);}
15
+
16
+ .base_1alzrso_be0ha5g__cdc67255{height:var(--plasma-button-height);padding:0 var(--plasma-button-padding,calc(var(--plasma-button-height) * 1.618 / 4));font-family:var(--plasma-button-font-family);font-size:var(--plasma-button-font-size);font-style:var(--plasma-button-font-style);font-weight:var(--plasma-button-font-weight);-webkit-letter-spacing:var(--plasma-button-letter-spacing);-moz-letter-spacing:var(--plasma-button-letter-spacing);-ms-letter-spacing:var(--plasma-button-letter-spacing);letter-spacing:var(--plasma-button-letter-spacing);line-height:var(--plasma-button-line-height);--plasma_private-btn-outline-size:var(--plasma-button-outline-size,0.0625rem);}
17
+
18
+ .base_1t3ywu_b169l30m__aba40ddd[disabled]{opacity:var(--plasma-button-disabled-opacity);cursor:not-allowed;}.base_1t3ywu_b169l30m__aba40ddd[disabled]:hover,.base_1t3ywu_b169l30m__aba40ddd[disabled]:active{scale:none;color:var(--plasma-button-color);background-color:var(--plasma-button-background-color);}
19
+
20
+ .base_1kq737e_b187cmzt__d829f64a{position:relative;}.base_1kq737e_b187cmzt__d829f64a:focus{outline:none;}.base_1kq737e_b187cmzt__d829f64a::before{content:'';position:absolute;top:-0.125rem;left:-0.125rem;right:-0.125rem;bottom:-0.125rem;z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-btn-outline-size) solid transparent;border-radius:calc(0.125rem + 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;}.base_1kq737e_b187cmzt__d829f64a.base_1kq737e_focusVisible__d829f64a:focus::before,.base_1kq737e_b187cmzt__d829f64a[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-btn-outline-size) var(--plasma-button-focus-color);}
21
+
22
+ .base_1lx0ute_bdz31nb__16e78f09.base_1lx0ute_buttonStretchingFixed__16e78f09{width:var(--plasma-button-width);}.base_1lx0ute_bdz31nb__16e78f09.base_1lx0ute_buttonStretchingFilled__16e78f09{width:100%;}.base_1lx0ute_bdz31nb__16e78f09.base_1lx0ute_buttonStretchingAuto__16e78f09{width:auto;}
23
+
24
+ .IconButton_styles_1hknr37_b1ua728l__f14249fc{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);--plasma_private-btn-br:var(--plasma_computed-btn-br);border-radius:var(--plasma_private-btn-br);color:var(--plasma-button-color);background-color:var(--plasma-button-background-color);height:var(--plasma-button-height);width:var(--plasma-button-width);padding:0 var(--plasma-button-padding,calc(var(--plasma-button-height) * 1.618 / 4));font-family:var(--plasma-button-font-family);font-size:var(--plasma-button-font-size);font-style:var(--plasma-button-font-style);font-weight:var(--plasma-button-font-weight);-webkit-letter-spacing:var(--plasma-button-letter-spacing);-moz-letter-spacing:var(--plasma-button-letter-spacing);-ms-letter-spacing:var(--plasma-button-letter-spacing);letter-spacing:var(--plasma-button-letter-spacing);line-height:var(--plasma-button-line-height);--plasma_private-btn-outline-size:var(--plasma-button-outline-size,0.0625rem);position:relative;--plasma-button-padding:0;--plasma-button-color:var(--plasma-icon-button-color);--plasma-button-background-color:var(--plasma-icon-button-background-color);--plasma-button-color-hover:var(--plasma-icon-button-color-hover);--plasma-button-background-color-hover:var(--plasma-icon-button-background-color-hover);--plasma-button-color-active:var(--plasma-icon-button-color-active);--plasma-button-background-color-active:var(--plasma-icon-button-background-color-active);--plasma-button-font-family:var(--plasma-icon-button-font-family);--plasma-button-font-size:var(--plasma-icon-button-font-size);--plasma-button-font-style:var(--plasma-icon-button-font-style);--plasma-button-font-weight:var(--plasma-icon-button-font-weight);--plasma-button-letter-spacing:var(--plasma-icon-button-letter-spacing);--plasma-button-line-height:var(--plasma-icon-button-line-height);--plasma-button-width:var(--plasma-icon-button-width);--plasma-button-height:var(--plasma-icon-button-height);--plasma-button-radius:var(--plasma-icon-button-radius);--plasma-button-disabled-opacity:var(--plasma-icon-button-disabled-opacity);--plasma-button-focus-color:var(--plasma-icon-button-focus-color);--plasma-button-spinner-size:var(--plasma-icon-button-spinner-size);--plasma-button-spinner-color:var(--plasma-icon-button-spinner-color);}a.IconButton_styles_1hknr37_b1ua728l__f14249fc{-webkit-text-decoration:none;text-decoration:none;}.IconButton_styles_1hknr37_b1ua728l__f14249fc.IconButton_styles_1hknr37_b1ua728l__f14249fc.IconButton_styles_1hknr37_buttonSquare__f14249fc{width:var(--plasma-button-height);padding:0;}.IconButton_styles_1hknr37_b1ua728l__f14249fc:hover{color:var(--plasma-button-color-hover,var(--plasma-button-color));background-color:var(--plasma-button-background-color-hover,var(--plasma-button-background-color));scale:var(--plasma-button-scale-hover);}.IconButton_styles_1hknr37_b1ua728l__f14249fc:active{color:var(--plasma-button-color-active,var(--plasma-button-color));background-color:var(--plasma-button-background-color-active,var(--plasma-button-background-color));scale:var(---plasma-button-scale-active);}.IconButton_styles_1hknr37_b1ua728l__f14249fc:focus{outline:none;}.IconButton_styles_1hknr37_b1ua728l__f14249fc::before{content:'';position:absolute;top:-0.125rem;left:-0.125rem;right:-0.125rem;bottom:-0.125rem;z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-btn-outline-size) solid transparent;border-radius:calc(0.125rem + 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;}.IconButton_styles_1hknr37_b1ua728l__f14249fc.IconButton_styles_1hknr37_focusVisible__f14249fc:focus::before,.IconButton_styles_1hknr37_b1ua728l__f14249fc[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-btn-outline-size) var(--plasma-button-focus-color);}.IconButton_styles_1hknr37_b1ua728l__f14249fc[disabled]{opacity:var(--plasma-button-disabled-opacity);cursor:not-allowed;}.IconButton_styles_1hknr37_b1ua728l__f14249fc[disabled]:hover,.IconButton_styles_1hknr37_b1ua728l__f14249fc[disabled]:active{scale:none;color:var(--plasma-button-color);background-color:var(--plasma-button-background-color);}.IconButton_styles_1hknr37_b1ua728l__f14249fc.IconButton_styles_1hknr37_buttonStretchingFixed__f14249fc{width:var(--plasma-button-width);}.IconButton_styles_1hknr37_b1ua728l__f14249fc.IconButton_styles_1hknr37_buttonStretchingFilled__f14249fc{width:100%;}.IconButton_styles_1hknr37_b1ua728l__f14249fc.IconButton_styles_1hknr37_buttonStretchingAuto__f14249fc{width:auto;}
@@ -0,0 +1,45 @@
1
+ import { buttonRoot } from '../Button/Button.js';
2
+ import { base as base$1 } from '../Button/variations/_view/base.js';
3
+ import { base as base$2 } from '../Button/variations/_size/base.js';
4
+ import { base as base$3 } from '../Button/variations/_disabled/base.js';
5
+ import { base as base$4 } from '../Button/variations/_focused/base.js';
6
+ import { base as base$5 } from '../Button/variations/_blurred/base.js';
7
+ import { base as base$6 } from '../Button/variations/_stretching/base.js';
8
+ import { base } from './IconButton.styles.js';
9
+
10
+ var iconButtonRoot = buttonRoot;
11
+ var iconButtonConfig = {
12
+ name: 'IconButton',
13
+ tag: 'button',
14
+ layout: iconButtonRoot,
15
+ base: base,
16
+ variations: {
17
+ view: {
18
+ css: base$1
19
+ },
20
+ size: {
21
+ css: base$2
22
+ },
23
+ disabled: {
24
+ css: base$3,
25
+ attrs: true
26
+ },
27
+ focused: {
28
+ css: base$4
29
+ },
30
+ blurred: {
31
+ css: base$5
32
+ },
33
+ stretching: {
34
+ css: base$6
35
+ }
36
+ },
37
+ defaults: {
38
+ view: 'secondary',
39
+ size: 'm',
40
+ stretching: 'fixed'
41
+ }
42
+ };
43
+
44
+ export { iconButtonConfig, iconButtonRoot };
45
+ //# sourceMappingURL=IconButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconButton.js","sources":["../../../src/components/IconButton/IconButton.tsx"],"sourcesContent":["import { buttonRoot } from '../Button';\nimport { base as viewCSS } from '../Button/variations/_view/base';\nimport { base as sizeCSS } from '../Button/variations/_size/base';\nimport { base as disabledCSS } from '../Button/variations/_disabled/base';\nimport { base as focusedCSS } from '../Button/variations/_focused/base';\nimport { base as blurredCSS } from '../Button/variations/_blurred/base';\nimport { base as stretchingCSS } from '../Button/variations/_stretching/base';\n\nimport { base } from './IconButton.styles';\n\nexport const iconButtonRoot = buttonRoot;\n\nexport const iconButtonConfig = {\n name: 'IconButton',\n tag: 'button',\n layout: iconButtonRoot,\n base,\n variations: {\n view: {\n css: viewCSS,\n },\n size: {\n css: sizeCSS,\n },\n disabled: {\n css: disabledCSS,\n attrs: true,\n },\n focused: {\n css: focusedCSS,\n },\n blurred: {\n css: blurredCSS,\n },\n stretching: {\n css: stretchingCSS,\n },\n },\n defaults: {\n view: 'secondary',\n size: 'm',\n stretching: 'fixed',\n },\n};\n"],"names":["iconButtonRoot","buttonRoot","iconButtonConfig","name","tag","layout","base","variations","view","css","viewCSS","size","sizeCSS","disabled","disabledCSS","attrs","focused","focusedCSS","blurred","blurredCSS","stretching","stretchingCSS","defaults"],"mappings":";;;;;;;;;AAUO,IAAMA,cAAc,GAAGC,WAAU;AAEjC,IAAMC,gBAAgB,GAAG;AAC5BC,EAAAA,IAAI,EAAE,YAAY;AAClBC,EAAAA,GAAG,EAAE,QAAQ;AACbC,EAAAA,MAAM,EAAEL,cAAc;AACtBM,EAAAA,IAAI,EAAJA,IAAI;AACJC,EAAAA,UAAU,EAAE;AACRC,IAAAA,IAAI,EAAE;AACFC,MAAAA,GAAG,EAAEC,MAAAA;KACR;AACDC,IAAAA,IAAI,EAAE;AACFF,MAAAA,GAAG,EAAEG,MAAAA;KACR;AACDC,IAAAA,QAAQ,EAAE;AACNJ,MAAAA,GAAG,EAAEK,MAAW;AAChBC,MAAAA,KAAK,EAAE,IAAA;KACV;AACDC,IAAAA,OAAO,EAAE;AACLP,MAAAA,GAAG,EAAEQ,MAAAA;KACR;AACDC,IAAAA,OAAO,EAAE;AACLT,MAAAA,GAAG,EAAEU,MAAAA;KACR;AACDC,IAAAA,UAAU,EAAE;AACRX,MAAAA,GAAG,EAAEY,MAAAA;AACT,KAAA;GACH;AACDC,EAAAA,QAAQ,EAAE;AACNd,IAAAA,IAAI,EAAE,WAAW;AACjBG,IAAAA,IAAI,EAAE,GAAG;AACTS,IAAAA,UAAU,EAAE,OAAA;AAChB,GAAA;AACJ;;;;"}
@@ -0,0 +1,12 @@
1
+ import './IconButton.styles_1hknr37.css';
2
+ import 'react';
3
+ import '../../utils/react.js';
4
+ import '@linaria/react';
5
+ import 'focus-visible';
6
+ import '@linaria/core';
7
+ import '@salutejs/plasma-core';
8
+
9
+ var base = "b1ua728l";
10
+
11
+ export { base };
12
+ //# sourceMappingURL=IconButton.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconButton.styles.js","sources":["../../../src/components/IconButton/IconButton.styles.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { buttonTokens } from '../Button';\nimport { baseContent as buttonBase } from '../Button/Button.styles';\n\nimport { tokens } from './IconButton.tokens';\n\n// Переопределние токенов из Button\nexport const mappingOverride = `\n ${buttonTokens.buttonPadding}: 0;\n\n ${buttonTokens.buttonColor}: var(${tokens.iconButtonColor});\n ${buttonTokens.buttonBackgroundColor}: var(${tokens.iconButtonBackgroundColor});\n\n ${buttonTokens.buttonColorHover}: var(${tokens.iconButtonColorHover});\n ${buttonTokens.buttonBackgroundColorHover}: var(${tokens.iconButtonBackgroundColorHover});\n\n ${buttonTokens.buttonColorActive}: var(${tokens.iconButtonColorActive});\n ${buttonTokens.buttonBackgroundColorActive}: var(${tokens.iconButtonBackgroundColorActive});\n\n\n ${buttonTokens.buttonFontFamily}: var(${tokens.iconButtonFontFamily});\n ${buttonTokens.buttonFontSize}: var(${tokens.iconButtonFontSize});\n ${buttonTokens.buttonFontStyle}: var(${tokens.iconButtonFontStyle});\n ${buttonTokens.buttonFontWeight}:var(${tokens.iconButtonFontWeight});\n ${buttonTokens.buttonLetterSpacing}: var(${tokens.iconButtonLetterSpacing});\n ${buttonTokens.buttonLineHeight}: var(${tokens.iconButtonLineHeight});\n\n ${buttonTokens.buttonWidth}: var(${tokens.iconButtonWidth});\n ${buttonTokens.buttonHeight}: var(${tokens.iconButtonHeight});\n ${buttonTokens.buttonRadius}: var(${tokens.iconButtonRadius});\n\n ${buttonTokens.buttonDisabledOpacity}: var(${tokens.iconButtonDisabledOpacity});\n ${buttonTokens.buttonFocusColor}: var(${tokens.iconButtonFocusColor});\n\n ${buttonTokens.buttonSpinnerSize}: var(${tokens.iconButtonSpinnerSize});\n ${buttonTokens.buttonSpinnerColor}: var(${tokens.iconButtonSpinnerColor});\n`;\n\nexport const base = css`\n ${buttonBase};\n ${mappingOverride};\n`;\n"],"names":["base"],"mappings":";;;;;;;AAuCO,IAAMA,IAAI,GAGhB;;;;"}
@@ -0,0 +1 @@
1
+ .b1ua728l{position:relative;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0);--plasma_private-btn-br:var(--plasma_computed-btn-br);border-radius:var(--plasma_private-btn-br);color:var(--plasma-button-color);background-color:var(--plasma-button-background-color);height:var(--plasma-button-height);width:var(--plasma-button-width);padding:0 var(--plasma-button-padding,calc(var(--plasma-button-height) * 1.618 / 4));font-family:var(--plasma-button-font-family);font-size:var(--plasma-button-font-size);font-style:var(--plasma-button-font-style);font-weight:var(--plasma-button-font-weight);-webkit-letter-spacing:var(--plasma-button-letter-spacing);-moz-letter-spacing:var(--plasma-button-letter-spacing);-ms-letter-spacing:var(--plasma-button-letter-spacing);letter-spacing:var(--plasma-button-letter-spacing);line-height:var(--plasma-button-line-height);--plasma_private-btn-outline-size:var(--plasma-button-outline-size,0.0625rem);position:relative;--plasma-button-padding:0;--plasma-button-color:var(--plasma-icon-button-color);--plasma-button-background-color:var(--plasma-icon-button-background-color);--plasma-button-color-hover:var(--plasma-icon-button-color-hover);--plasma-button-background-color-hover:var(--plasma-icon-button-background-color-hover);--plasma-button-color-active:var(--plasma-icon-button-color-active);--plasma-button-background-color-active:var(--plasma-icon-button-background-color-active);--plasma-button-font-family:var(--plasma-icon-button-font-family);--plasma-button-font-size:var(--plasma-icon-button-font-size);--plasma-button-font-style:var(--plasma-icon-button-font-style);--plasma-button-font-weight:var(--plasma-icon-button-font-weight);--plasma-button-letter-spacing:var(--plasma-icon-button-letter-spacing);--plasma-button-line-height:var(--plasma-icon-button-line-height);--plasma-button-width:var(--plasma-icon-button-width);--plasma-button-height:var(--plasma-icon-button-height);--plasma-button-radius:var(--plasma-icon-button-radius);--plasma-button-disabled-opacity:var(--plasma-icon-button-disabled-opacity);--plasma-button-focus-color:var(--plasma-icon-button-focus-color);--plasma-button-spinner-size:var(--plasma-icon-button-spinner-size);--plasma-button-spinner-color:var(--plasma-icon-button-spinner-color);}a.b1ua728l{-webkit-text-decoration:none;text-decoration:none;}.b1ua728l.b1ua728l.button-square{width:var(--plasma-button-height);padding:0;}.b1ua728l:hover{color:var(--plasma-button-color-hover,var(--plasma-button-color));background-color:var(--plasma-button-background-color-hover,var(--plasma-button-background-color));scale:var(--plasma-button-scale-hover);}.b1ua728l:active{color:var(--plasma-button-color-active,var(--plasma-button-color));background-color:var(--plasma-button-background-color-active,var(--plasma-button-background-color));scale:var(---plasma-button-scale-active);}.b1ua728l:focus{outline:none;}.b1ua728l::before{content:'';position:absolute;top:-0.125rem;left:-0.125rem;right:-0.125rem;bottom:-0.125rem;z-index:1;display:block;box-sizing:content-box;border:var(--plasma_private-btn-outline-size) solid transparent;border-radius:calc(0.125rem + 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;}.b1ua728l.focus-visible:focus::before,.b1ua728l[data-focus-visible-added]::before{outline:none;box-shadow:0 0 0 var(--plasma_private-btn-outline-size) var(--plasma-button-focus-color);}.b1ua728l[disabled]{opacity:var(--plasma-button-disabled-opacity);cursor:not-allowed;}.b1ua728l[disabled]:hover,.b1ua728l[disabled]:active{scale:none;color:var(--plasma-button-color);background-color:var(--plasma-button-background-color);}.b1ua728l.button-stretching-fixed{width:var(--plasma-button-width);}.b1ua728l.button-stretching-filled{width:100%;}.b1ua728l.button-stretching-auto{width:auto;}
@@ -0,0 +1,28 @@
1
+ var tokens = {
2
+ iconButtonColor: '--plasma-icon-button-color',
3
+ iconButtonBackgroundColor: '--plasma-icon-button-background-color',
4
+ iconButtonColorHover: '--plasma-icon-button-color-hover',
5
+ iconButtonBackgroundColorHover: '--plasma-icon-button-background-color-hover',
6
+ iconButtonColorActive: '--plasma-icon-button-color-active',
7
+ iconButtonBackgroundColorActive: '--plasma-icon-button-background-color-active',
8
+ iconButtonScaleHover: '--plasma-icon-button-scale-hover',
9
+ iconButtonScaleActive: '---plasma-icon-button-scale-active',
10
+ iconButtonHeight: '--plasma-icon-button-height',
11
+ iconButtonWidth: '--plasma-icon-button-width',
12
+ iconButtonPadding: '--plasma-icon-button-padding',
13
+ iconButtonRadius: '--plasma-icon-button-radius',
14
+ iconButtonRadiusCircle: '--plasma-icon-button-radius-circle',
15
+ iconButtonFontFamily: '--plasma-icon-button-font-family',
16
+ iconButtonFontSize: '--plasma-icon-button-font-size',
17
+ iconButtonFontStyle: '--plasma-icon-button-font-style',
18
+ iconButtonFontWeight: '--plasma-icon-button-font-weight',
19
+ iconButtonLetterSpacing: '--plasma-icon-button-letter-spacing',
20
+ iconButtonLineHeight: '--plasma-icon-button-line-height',
21
+ iconButtonDisabledOpacity: '--plasma-icon-button-disabled-opacity',
22
+ iconButtonFocusColor: '--plasma-icon-button-focus-color',
23
+ iconButtonSpinnerColor: '--plasma-icon-button-spinner-color',
24
+ iconButtonSpinnerSize: '--plasma-icon-button-spinner-size'
25
+ };
26
+
27
+ export { tokens };
28
+ //# sourceMappingURL=IconButton.tokens.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconButton.tokens.js","sources":["../../../src/components/IconButton/IconButton.tokens.ts"],"sourcesContent":["export const tokens = {\n iconButtonColor: '--plasma-icon-button-color',\n iconButtonBackgroundColor: '--plasma-icon-button-background-color',\n iconButtonColorHover: '--plasma-icon-button-color-hover',\n iconButtonBackgroundColorHover: '--plasma-icon-button-background-color-hover',\n iconButtonColorActive: '--plasma-icon-button-color-active',\n iconButtonBackgroundColorActive: '--plasma-icon-button-background-color-active',\n\n iconButtonScaleHover: '--plasma-icon-button-scale-hover',\n iconButtonScaleActive: '---plasma-icon-button-scale-active',\n iconButtonHeight: '--plasma-icon-button-height',\n iconButtonWidth: '--plasma-icon-button-width',\n iconButtonPadding: '--plasma-icon-button-padding',\n iconButtonRadius: '--plasma-icon-button-radius',\n iconButtonRadiusCircle: '--plasma-icon-button-radius-circle',\n\n iconButtonFontFamily: '--plasma-icon-button-font-family',\n iconButtonFontSize: '--plasma-icon-button-font-size',\n iconButtonFontStyle: '--plasma-icon-button-font-style',\n iconButtonFontWeight: '--plasma-icon-button-font-weight',\n iconButtonLetterSpacing: '--plasma-icon-button-letter-spacing',\n iconButtonLineHeight: '--plasma-icon-button-line-height',\n\n iconButtonDisabledOpacity: '--plasma-icon-button-disabled-opacity',\n iconButtonFocusColor: '--plasma-icon-button-focus-color',\n\n iconButtonSpinnerColor: '--plasma-icon-button-spinner-color',\n iconButtonSpinnerSize: '--plasma-icon-button-spinner-size',\n};\n"],"names":["tokens","iconButtonColor","iconButtonBackgroundColor","iconButtonColorHover","iconButtonBackgroundColorHover","iconButtonColorActive","iconButtonBackgroundColorActive","iconButtonScaleHover","iconButtonScaleActive","iconButtonHeight","iconButtonWidth","iconButtonPadding","iconButtonRadius","iconButtonRadiusCircle","iconButtonFontFamily","iconButtonFontSize","iconButtonFontStyle","iconButtonFontWeight","iconButtonLetterSpacing","iconButtonLineHeight","iconButtonDisabledOpacity","iconButtonFocusColor","iconButtonSpinnerColor","iconButtonSpinnerSize"],"mappings":"AAAO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,eAAe,EAAE,4BAA4B;AAC7CC,EAAAA,yBAAyB,EAAE,uCAAuC;AAClEC,EAAAA,oBAAoB,EAAE,kCAAkC;AACxDC,EAAAA,8BAA8B,EAAE,6CAA6C;AAC7EC,EAAAA,qBAAqB,EAAE,mCAAmC;AAC1DC,EAAAA,+BAA+B,EAAE,8CAA8C;AAE/EC,EAAAA,oBAAoB,EAAE,kCAAkC;AACxDC,EAAAA,qBAAqB,EAAE,oCAAoC;AAC3DC,EAAAA,gBAAgB,EAAE,6BAA6B;AAC/CC,EAAAA,eAAe,EAAE,4BAA4B;AAC7CC,EAAAA,iBAAiB,EAAE,8BAA8B;AACjDC,EAAAA,gBAAgB,EAAE,6BAA6B;AAC/CC,EAAAA,sBAAsB,EAAE,oCAAoC;AAE5DC,EAAAA,oBAAoB,EAAE,kCAAkC;AACxDC,EAAAA,kBAAkB,EAAE,gCAAgC;AACpDC,EAAAA,mBAAmB,EAAE,iCAAiC;AACtDC,EAAAA,oBAAoB,EAAE,kCAAkC;AACxDC,EAAAA,uBAAuB,EAAE,qCAAqC;AAC9DC,EAAAA,oBAAoB,EAAE,kCAAkC;AAExDC,EAAAA,yBAAyB,EAAE,uCAAuC;AAClEC,EAAAA,oBAAoB,EAAE,kCAAkC;AAExDC,EAAAA,sBAAsB,EAAE,oCAAoC;AAC5DC,EAAAA,qBAAqB,EAAE,mCAAA;AAC3B;;;;"}