@salutejs/plasma-new-hope 0.77.1-canary.1201.8930079977.0 → 0.78.0-canary.1176.8921778834.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (595) hide show
  1. package/cjs/components/Checkbox/Checkbox.css +13 -0
  2. package/cjs/components/Checkbox/Checkbox.js +20 -59
  3. package/cjs/components/Checkbox/Checkbox.js.map +1 -1
  4. package/cjs/components/Checkbox/Checkbox.styles.js +47 -0
  5. package/cjs/components/Checkbox/Checkbox.styles.js.map +1 -0
  6. package/cjs/components/Checkbox/Checkbox.styles_d1mumx.css +7 -0
  7. package/cjs/components/Checkbox/Checkbox.tokens.js +38 -0
  8. package/cjs/components/Checkbox/Checkbox.tokens.js.map +1 -0
  9. package/cjs/components/Checkbox/IconsSvg.js +9 -9
  10. package/cjs/components/Checkbox/IconsSvg.js.map +1 -1
  11. package/cjs/components/Checkbox/{_view → variations/_disabled}/base.js +2 -2
  12. package/cjs/components/Checkbox/variations/_disabled/base.js.map +1 -0
  13. package/cjs/components/Checkbox/variations/_disabled/base_1krdtt6.css +1 -0
  14. package/cjs/components/Checkbox/variations/_focused/base.js +14 -0
  15. package/cjs/components/Checkbox/variations/_focused/base.js.map +1 -0
  16. package/cjs/components/Checkbox/variations/_focused/base_1rx10n8.css +1 -0
  17. package/cjs/components/{Dropdown/ui/DropdownItemOld → Checkbox}/variations/_size/base.js +1 -1
  18. package/cjs/components/Checkbox/variations/_size/base.js.map +1 -0
  19. package/cjs/components/Checkbox/variations/_view/base.js +9 -0
  20. package/cjs/components/Checkbox/variations/_view/base.js.map +1 -0
  21. package/cjs/components/Checkbox/variations/_view/base_x252cy.css +1 -0
  22. package/cjs/components/Combobox/Combobox.css +7 -17
  23. package/cjs/components/Combobox/ui/ComboboxDivider/ComboboxDivider.css +6 -15
  24. package/cjs/components/Combobox/ui/ComboboxDivider/ComboboxDivider.js +2 -2
  25. package/cjs/components/Combobox/ui/ComboboxFooter/ComboboxFooter.css +6 -15
  26. package/cjs/components/Combobox/ui/ComboboxFooter/ComboboxFooter.js +2 -2
  27. package/cjs/components/Combobox/ui/ComboboxGroup/ComboboxGroup.css +6 -15
  28. package/cjs/components/Combobox/ui/ComboboxGroup/ComboboxGroup.js +2 -2
  29. package/cjs/components/Combobox/ui/ComboboxHeader/ComboboxHeader.css +6 -15
  30. package/cjs/components/Combobox/ui/ComboboxHeader/ComboboxHeader.js +2 -2
  31. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.css +23 -4
  32. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.js +10 -81
  33. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.js.map +1 -1
  34. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js +9 -21
  35. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
  36. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.styles_936wgl.css +1 -0
  37. package/cjs/components/Dropdown/Dropdown.css +2 -25
  38. package/cjs/components/Dropdown/Dropdown.js +54 -138
  39. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  40. package/cjs/components/Dropdown/Dropdown.styles.js +7 -40
  41. package/cjs/components/Dropdown/Dropdown.styles.js.map +1 -1
  42. package/cjs/components/Dropdown/Dropdown.styles_1daxhqh.css +2 -0
  43. package/cjs/components/Dropdown/Dropdown.tokens.js +23 -26
  44. package/cjs/components/Dropdown/Dropdown.tokens.js.map +1 -1
  45. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.css +4 -7
  46. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +100 -79
  47. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  48. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +5 -90
  49. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  50. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles_1juhjtq.css +4 -0
  51. package/cjs/components/{Checkbox → Dropdown/ui/DropdownItem/variations}/_size/base.js +1 -1
  52. package/cjs/components/Dropdown/ui/DropdownItem/variations/_size/base.js.map +1 -0
  53. package/cjs/components/Dropdown/ui/{DropdownItemOld → DropdownItem}/variations/_view/base.js +1 -1
  54. package/cjs/components/Dropdown/ui/DropdownItem/variations/_view/base.js.map +1 -0
  55. package/cjs/components/Dropdown/utils/index.js +0 -16
  56. package/cjs/components/Dropdown/utils/index.js.map +1 -1
  57. package/cjs/components/Pagination/Pagination.css +7 -14
  58. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +7 -14
  59. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  60. package/cjs/components/Radiobox/Radiobox.css +16 -0
  61. package/cjs/components/Radiobox/Radiobox.js +21 -32
  62. package/cjs/components/Radiobox/Radiobox.js.map +1 -1
  63. package/cjs/components/Radiobox/Radiobox.styles.js +19 -0
  64. package/cjs/components/Radiobox/Radiobox.styles.js.map +1 -0
  65. package/cjs/components/Radiobox/Radiobox.styles_155ubn2.css +2 -0
  66. package/cjs/components/Radiobox/Radiobox.tokens.js +39 -0
  67. package/cjs/components/Radiobox/Radiobox.tokens.js.map +1 -0
  68. package/cjs/components/{Checkbox/_focused → Radiobox/variations/_disabled}/base.js +2 -2
  69. package/cjs/components/Radiobox/variations/_disabled/base.js.map +1 -0
  70. package/cjs/components/Radiobox/variations/_disabled/base_6ae9j2.css +1 -0
  71. package/cjs/components/{Checkbox/_disabled → Radiobox/variations/_focused}/base.js +2 -2
  72. package/cjs/components/Radiobox/variations/_focused/base.js.map +1 -0
  73. package/{es/components/Radiobox/_focused/base_1nruwxa.css → cjs/components/Radiobox/variations/_focused/base_25xwn7.css} +1 -1
  74. package/cjs/components/Radiobox/{_size → variations/_size}/base.js +1 -1
  75. package/cjs/components/Radiobox/variations/_size/base.js.map +1 -0
  76. package/cjs/components/Radiobox/variations/_view/base.js +9 -0
  77. package/cjs/components/Radiobox/variations/_view/base.js.map +1 -0
  78. package/cjs/components/Radiobox/{_view/base_wj0ueq.css → variations/_view/base_11n1fn3.css} +1 -1
  79. package/cjs/components/Select/Select.css +7 -14
  80. package/cjs/components/Select/ui/SelectDivider/SelectDivider.css +6 -15
  81. package/cjs/components/Select/ui/SelectDivider/SelectDivider.js +2 -2
  82. package/cjs/components/Select/ui/SelectFooter/SelectFooter.css +6 -15
  83. package/cjs/components/Select/ui/SelectFooter/SelectFooter.js +2 -2
  84. package/cjs/components/Select/ui/SelectGroup/SelectGroup.css +6 -15
  85. package/cjs/components/Select/ui/SelectGroup/SelectGroup.js +2 -2
  86. package/cjs/components/Select/ui/SelectHeader/SelectHeader.css +6 -15
  87. package/cjs/components/Select/ui/SelectHeader/SelectHeader.js +2 -2
  88. package/cjs/components/Select/ui/SelectItem/SelectItem.css +7 -16
  89. package/cjs/components/Select/ui/SelectItem/SelectItem.js +3 -3
  90. package/cjs/components/Select/ui/SelectItem/SelectItem.js.map +1 -1
  91. package/cjs/components/Select/ui/SelectItem/SelectItem.styles.js +2 -2
  92. package/cjs/components/Select/ui/SelectItem/SelectItem.styles.js.map +1 -1
  93. package/cjs/components/Select/ui/SelectItem/{SelectItem.styles_vk39mp.css → SelectItem.styles_6h17aw.css} +1 -1
  94. package/cjs/components/_Icon/Icon.assets/DisclosureRight.js +2 -1
  95. package/cjs/components/_Icon/Icon.assets/DisclosureRight.js.map +1 -1
  96. package/cjs/index.css +23 -33
  97. package/cjs/index.js +6 -8
  98. package/cjs/index.js.map +1 -1
  99. package/es/components/Checkbox/Checkbox.css +13 -0
  100. package/es/components/Checkbox/Checkbox.js +10 -43
  101. package/es/components/Checkbox/Checkbox.js.map +1 -1
  102. package/es/components/Checkbox/Checkbox.styles.js +37 -0
  103. package/es/components/Checkbox/Checkbox.styles.js.map +1 -0
  104. package/es/components/Checkbox/Checkbox.styles_d1mumx.css +7 -0
  105. package/es/components/Checkbox/Checkbox.tokens.js +33 -0
  106. package/es/components/Checkbox/Checkbox.tokens.js.map +1 -0
  107. package/es/components/Checkbox/IconsSvg.js +9 -9
  108. package/es/components/Checkbox/IconsSvg.js.map +1 -1
  109. package/es/components/Checkbox/{_view → variations/_disabled}/base.js +2 -2
  110. package/es/components/Checkbox/variations/_disabled/base.js.map +1 -0
  111. package/es/components/Checkbox/variations/_disabled/base_1krdtt6.css +1 -0
  112. package/es/components/Checkbox/variations/_focused/base.js +10 -0
  113. package/es/components/Checkbox/variations/_focused/base.js.map +1 -0
  114. package/es/components/Checkbox/variations/_focused/base_1rx10n8.css +1 -0
  115. package/es/components/{Dropdown/ui/DropdownItemOld → Checkbox}/variations/_size/base.js +1 -1
  116. package/es/components/Checkbox/variations/_size/base.js.map +1 -0
  117. package/es/components/Checkbox/variations/_view/base.js +5 -0
  118. package/es/components/Checkbox/variations/_view/base.js.map +1 -0
  119. package/es/components/Checkbox/variations/_view/base_x252cy.css +1 -0
  120. package/es/components/Combobox/Combobox.css +7 -17
  121. package/es/components/Combobox/ui/ComboboxDivider/ComboboxDivider.css +6 -15
  122. package/es/components/Combobox/ui/ComboboxDivider/ComboboxDivider.js +2 -2
  123. package/es/components/Combobox/ui/ComboboxFooter/ComboboxFooter.css +6 -15
  124. package/es/components/Combobox/ui/ComboboxFooter/ComboboxFooter.js +2 -2
  125. package/es/components/Combobox/ui/ComboboxGroup/ComboboxGroup.css +6 -15
  126. package/es/components/Combobox/ui/ComboboxGroup/ComboboxGroup.js +2 -2
  127. package/es/components/Combobox/ui/ComboboxHeader/ComboboxHeader.css +6 -15
  128. package/es/components/Combobox/ui/ComboboxHeader/ComboboxHeader.js +2 -2
  129. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.css +23 -4
  130. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.js +11 -82
  131. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.js.map +1 -1
  132. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js +10 -19
  133. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js.map +1 -1
  134. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.styles_936wgl.css +1 -0
  135. package/es/components/Dropdown/Dropdown.css +2 -25
  136. package/es/components/Dropdown/Dropdown.js +60 -144
  137. package/es/components/Dropdown/Dropdown.js.map +1 -1
  138. package/es/components/Dropdown/Dropdown.styles.js +7 -39
  139. package/es/components/Dropdown/Dropdown.styles.js.map +1 -1
  140. package/es/components/Dropdown/Dropdown.styles_1daxhqh.css +2 -0
  141. package/es/components/Dropdown/Dropdown.tokens.js +23 -26
  142. package/es/components/Dropdown/Dropdown.tokens.js.map +1 -1
  143. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.css +4 -7
  144. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +100 -80
  145. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  146. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +5 -89
  147. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  148. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles_1juhjtq.css +4 -0
  149. package/es/components/{Radiobox → Dropdown/ui/DropdownItem/variations}/_size/base.js +1 -1
  150. package/es/components/Dropdown/ui/DropdownItem/variations/_size/base.js.map +1 -0
  151. package/es/components/Dropdown/ui/{DropdownItemOld → DropdownItem}/variations/_view/base.js +1 -1
  152. package/es/components/Dropdown/ui/DropdownItem/variations/_view/base.js.map +1 -0
  153. package/es/components/Dropdown/utils/index.js +2 -16
  154. package/es/components/Dropdown/utils/index.js.map +1 -1
  155. package/es/components/Pagination/Pagination.css +7 -14
  156. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +7 -14
  157. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.js +1 -1
  158. package/es/components/Radiobox/Radiobox.css +16 -0
  159. package/es/components/Radiobox/Radiobox.js +10 -21
  160. package/es/components/Radiobox/Radiobox.js.map +1 -1
  161. package/es/components/Radiobox/Radiobox.styles.js +14 -0
  162. package/es/components/Radiobox/Radiobox.styles.js.map +1 -0
  163. package/es/components/Radiobox/Radiobox.styles_155ubn2.css +2 -0
  164. package/es/components/Radiobox/Radiobox.tokens.js +34 -0
  165. package/es/components/Radiobox/Radiobox.tokens.js.map +1 -0
  166. package/es/components/{Checkbox → Radiobox/variations}/_disabled/base.js +2 -2
  167. package/es/components/Radiobox/variations/_disabled/base.js.map +1 -0
  168. package/es/components/Radiobox/variations/_disabled/base_6ae9j2.css +1 -0
  169. package/es/components/{Checkbox → Radiobox/variations}/_focused/base.js +2 -2
  170. package/es/components/Radiobox/variations/_focused/base.js.map +1 -0
  171. package/{cjs/components/Radiobox/_focused/base_1nruwxa.css → es/components/Radiobox/variations/_focused/base_25xwn7.css} +1 -1
  172. package/es/components/{Checkbox → Radiobox/variations}/_size/base.js +1 -1
  173. package/es/components/Radiobox/variations/_size/base.js.map +1 -0
  174. package/es/components/Radiobox/variations/_view/base.js +5 -0
  175. package/es/components/Radiobox/variations/_view/base.js.map +1 -0
  176. package/es/components/Radiobox/{_view/base_wj0ueq.css → variations/_view/base_11n1fn3.css} +1 -1
  177. package/es/components/Select/Select.css +7 -14
  178. package/es/components/Select/ui/SelectDivider/SelectDivider.css +6 -15
  179. package/es/components/Select/ui/SelectDivider/SelectDivider.js +2 -2
  180. package/es/components/Select/ui/SelectFooter/SelectFooter.css +6 -15
  181. package/es/components/Select/ui/SelectFooter/SelectFooter.js +2 -2
  182. package/es/components/Select/ui/SelectGroup/SelectGroup.css +6 -15
  183. package/es/components/Select/ui/SelectGroup/SelectGroup.js +2 -2
  184. package/es/components/Select/ui/SelectHeader/SelectHeader.css +6 -15
  185. package/es/components/Select/ui/SelectHeader/SelectHeader.js +2 -2
  186. package/es/components/Select/ui/SelectItem/SelectItem.css +7 -16
  187. package/es/components/Select/ui/SelectItem/SelectItem.js +3 -3
  188. package/es/components/Select/ui/SelectItem/SelectItem.js.map +1 -1
  189. package/es/components/Select/ui/SelectItem/SelectItem.styles.js +2 -2
  190. package/es/components/Select/ui/SelectItem/SelectItem.styles.js.map +1 -1
  191. package/es/components/Select/ui/SelectItem/{SelectItem.styles_vk39mp.css → SelectItem.styles_6h17aw.css} +1 -1
  192. package/es/components/_Icon/Icon.assets/DisclosureRight.js +2 -1
  193. package/es/components/_Icon/Icon.assets/DisclosureRight.js.map +1 -1
  194. package/es/index.css +23 -33
  195. package/es/index.js +3 -4
  196. package/es/index.js.map +1 -1
  197. package/package.json +2 -2
  198. package/styled-components/cjs/components/Checkbox/Checkbox.js +18 -40
  199. package/styled-components/cjs/components/Checkbox/Checkbox.styles.js +33 -0
  200. package/styled-components/cjs/components/Checkbox/Checkbox.tokens.js +36 -0
  201. package/styled-components/cjs/components/Checkbox/IconsSvg.js +9 -9
  202. package/styled-components/cjs/components/Checkbox/index.js +8 -1
  203. package/styled-components/cjs/components/Checkbox/variations/_disabled/base.js +10 -0
  204. package/styled-components/cjs/components/Checkbox/variations/_focused/base.js +32 -0
  205. package/styled-components/cjs/components/Checkbox/variations/_view/base.js +10 -0
  206. package/styled-components/cjs/components/Checkbox/variations/_view/tokens.json +1 -0
  207. package/styled-components/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.js +2 -91
  208. package/styled-components/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js +7 -27
  209. package/styled-components/cjs/components/Dropdown/Dropdown.js +54 -140
  210. package/styled-components/cjs/components/Dropdown/Dropdown.styles.js +7 -22
  211. package/styled-components/cjs/components/Dropdown/Dropdown.template-doc.mdx +80 -0
  212. package/styled-components/cjs/components/Dropdown/Dropdown.tokens.js +23 -26
  213. package/styled-components/cjs/components/Dropdown/index.js +1 -9
  214. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +105 -77
  215. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +18 -83
  216. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/variations/_size/tokens.json +19 -0
  217. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/variations/_view/tokens.json +9 -0
  218. package/styled-components/cjs/components/Dropdown/ui/index.js +5 -19
  219. package/styled-components/cjs/components/Dropdown/utils/index.js +1 -15
  220. package/styled-components/cjs/components/Dropdown/variations/_size/tokens.json +9 -1
  221. package/styled-components/cjs/components/Dropdown/variations/_view/tokens.json +1 -1
  222. package/styled-components/cjs/components/Radiobox/Radiobox.js +13 -22
  223. package/styled-components/cjs/components/Radiobox/Radiobox.styles.js +19 -0
  224. package/styled-components/cjs/components/Radiobox/Radiobox.tokens.js +37 -0
  225. package/styled-components/cjs/components/Radiobox/index.js +8 -1
  226. package/styled-components/cjs/components/{Checkbox → Radiobox/variations}/_disabled/base.js +2 -1
  227. package/styled-components/cjs/components/Radiobox/variations/_focused/base.js +27 -0
  228. package/styled-components/cjs/components/Radiobox/variations/_view/base.js +9 -0
  229. package/styled-components/cjs/components/Select/ui/SelectItem/SelectItem.js +1 -1
  230. package/styled-components/cjs/components/Select/ui/SelectItem/SelectItem.styles.js +1 -1
  231. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureRight.js +2 -1
  232. package/styled-components/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +14 -14
  233. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.config.js +27 -0
  234. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.js +13 -0
  235. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.stories.tsx +194 -0
  236. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.config.js +27 -0
  237. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.js +13 -0
  238. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.stories.tsx +195 -0
  239. package/styled-components/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.config.js +13 -12
  240. package/styled-components/cjs/examples/plasma_web/components/Checkbox/Checkbox.config.js +14 -14
  241. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Normal/Dropdown.config.js +27 -0
  242. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Normal/Dropdown.js +13 -0
  243. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Normal/Dropdown.stories.tsx +195 -0
  244. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Tight/Dropdown.config.js +27 -0
  245. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Tight/Dropdown.js +13 -0
  246. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Tight/Dropdown.stories.tsx +195 -0
  247. package/styled-components/cjs/examples/plasma_web/components/Radiobox/Radiobox.config.js +13 -12
  248. package/styled-components/cjs/examples/sds_engineer/components/Checkbox/Checkbox.config.js +14 -14
  249. package/styled-components/cjs/examples/sds_engineer/components/Dropdown/Dropdown.config.js +22 -0
  250. package/styled-components/cjs/examples/sds_engineer/components/Dropdown/Dropdown.js +21 -0
  251. package/styled-components/cjs/examples/sds_engineer/components/Dropdown/Dropdown.stories.tsx +277 -0
  252. package/styled-components/cjs/examples/sds_engineer/components/Radiobox/Radiobox.config.js +13 -12
  253. package/styled-components/es/components/Checkbox/Checkbox.js +10 -33
  254. package/styled-components/es/components/Checkbox/Checkbox.styles.js +25 -0
  255. package/styled-components/es/components/Checkbox/Checkbox.tokens.js +30 -0
  256. package/styled-components/es/components/Checkbox/IconsSvg.js +9 -9
  257. package/styled-components/es/components/Checkbox/index.js +2 -1
  258. package/styled-components/es/components/Checkbox/variations/_disabled/base.js +4 -0
  259. package/styled-components/es/components/Checkbox/variations/_focused/base.js +27 -0
  260. package/styled-components/es/components/Checkbox/variations/_view/base.js +4 -0
  261. package/styled-components/es/components/Checkbox/variations/_view/tokens.json +1 -0
  262. package/styled-components/es/components/Combobox/ui/ComboboxItem/ComboboxItem.js +3 -90
  263. package/styled-components/es/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.js +6 -23
  264. package/styled-components/es/components/Dropdown/Dropdown.js +55 -142
  265. package/styled-components/es/components/Dropdown/Dropdown.styles.js +5 -18
  266. package/styled-components/es/components/Dropdown/Dropdown.template-doc.mdx +80 -0
  267. package/styled-components/es/components/Dropdown/Dropdown.tokens.js +23 -26
  268. package/styled-components/es/components/Dropdown/index.js +0 -1
  269. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +107 -78
  270. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +14 -80
  271. package/styled-components/es/components/Dropdown/ui/DropdownItem/variations/_size/tokens.json +19 -0
  272. package/styled-components/es/components/Dropdown/ui/DropdownItem/variations/_view/tokens.json +9 -0
  273. package/styled-components/es/components/Dropdown/ui/index.js +1 -3
  274. package/styled-components/es/components/Dropdown/utils/index.js +1 -15
  275. package/styled-components/es/components/Dropdown/variations/_size/tokens.json +9 -1
  276. package/styled-components/es/components/Dropdown/variations/_view/tokens.json +1 -1
  277. package/styled-components/es/components/Radiobox/Radiobox.js +11 -22
  278. package/styled-components/es/components/Radiobox/Radiobox.styles.js +12 -0
  279. package/styled-components/es/components/Radiobox/Radiobox.tokens.js +31 -0
  280. package/styled-components/es/components/Radiobox/index.js +2 -1
  281. package/styled-components/es/components/Radiobox/variations/_disabled/base.js +3 -0
  282. package/styled-components/es/components/Radiobox/variations/_focused/base.js +21 -0
  283. package/styled-components/es/components/Radiobox/variations/_view/base.js +3 -0
  284. package/styled-components/es/components/Select/ui/SelectItem/SelectItem.js +2 -2
  285. package/styled-components/es/components/Select/ui/SelectItem/SelectItem.styles.js +1 -1
  286. package/styled-components/es/components/_Icon/Icon.assets/DisclosureRight.js +2 -1
  287. package/styled-components/es/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +14 -14
  288. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.config.js +21 -0
  289. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.js +7 -0
  290. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.stories.tsx +194 -0
  291. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.config.js +21 -0
  292. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.js +7 -0
  293. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.stories.tsx +195 -0
  294. package/styled-components/es/examples/plasma_b2c/components/Radiobox/Radiobox.config.js +13 -12
  295. package/styled-components/es/examples/plasma_web/components/Checkbox/Checkbox.config.js +14 -14
  296. package/styled-components/es/examples/plasma_web/components/Dropdown/Normal/Dropdown.config.js +21 -0
  297. package/styled-components/es/examples/plasma_web/components/Dropdown/Normal/Dropdown.js +7 -0
  298. package/styled-components/es/examples/plasma_web/components/Dropdown/Normal/Dropdown.stories.tsx +195 -0
  299. package/styled-components/es/examples/plasma_web/components/Dropdown/Tight/Dropdown.config.js +21 -0
  300. package/styled-components/es/examples/plasma_web/components/Dropdown/Tight/Dropdown.js +7 -0
  301. package/styled-components/es/examples/plasma_web/components/Dropdown/Tight/Dropdown.stories.tsx +195 -0
  302. package/styled-components/es/examples/plasma_web/components/Radiobox/Radiobox.config.js +13 -12
  303. package/styled-components/es/examples/sds_engineer/components/Checkbox/Checkbox.config.js +14 -14
  304. package/styled-components/es/examples/sds_engineer/components/Dropdown/Dropdown.config.js +16 -0
  305. package/styled-components/es/examples/sds_engineer/components/Dropdown/Dropdown.js +15 -0
  306. package/styled-components/es/examples/sds_engineer/components/Dropdown/Dropdown.stories.tsx +277 -0
  307. package/styled-components/es/examples/sds_engineer/components/Radiobox/Radiobox.config.js +13 -12
  308. package/types/components/Checkbox/Checkbox.d.ts +4 -37
  309. package/types/components/Checkbox/Checkbox.d.ts.map +1 -1
  310. package/types/components/Checkbox/Checkbox.styles.d.ts +9 -0
  311. package/types/components/Checkbox/Checkbox.styles.d.ts.map +1 -0
  312. package/types/components/Checkbox/Checkbox.tokens.d.ts +31 -0
  313. package/types/components/Checkbox/Checkbox.tokens.d.ts.map +1 -0
  314. package/types/components/Checkbox/Checkbox.types.d.ts +29 -0
  315. package/types/components/Checkbox/Checkbox.types.d.ts.map +1 -0
  316. package/types/components/Checkbox/IconsSvg.d.ts.map +1 -1
  317. package/types/components/Checkbox/index.d.ts +2 -1
  318. package/types/components/Checkbox/index.d.ts.map +1 -1
  319. package/types/components/Checkbox/variations/_disabled/base.d.ts.map +1 -0
  320. package/types/components/Checkbox/variations/_focused/base.d.ts +6 -0
  321. package/types/components/Checkbox/variations/_focused/base.d.ts.map +1 -0
  322. package/types/components/Checkbox/variations/_size/base.d.ts.map +1 -0
  323. package/types/components/Checkbox/variations/_view/base.d.ts.map +1 -0
  324. package/types/components/Combobox/ui/ComboboxItem/ComboboxItem.d.ts +13 -15
  325. package/types/components/Combobox/ui/ComboboxItem/ComboboxItem.d.ts.map +1 -1
  326. package/types/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.d.ts +1 -5
  327. package/types/components/Combobox/ui/ComboboxItem/ComboboxItem.styles.d.ts.map +1 -1
  328. package/types/components/Combobox/ui/ComboboxItem/ComboboxItem.type.d.ts +2 -59
  329. package/types/components/Combobox/ui/ComboboxItem/ComboboxItem.type.d.ts.map +1 -1
  330. package/types/components/Dropdown/Dropdown.d.ts +4 -4
  331. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  332. package/types/components/Dropdown/Dropdown.styles.d.ts +1 -8
  333. package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
  334. package/types/components/Dropdown/Dropdown.tokens.d.ts +22 -24
  335. package/types/components/Dropdown/Dropdown.tokens.d.ts.map +1 -1
  336. package/types/components/Dropdown/Dropdown.types.d.ts +40 -64
  337. package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
  338. package/types/components/Dropdown/index.d.ts +1 -3
  339. package/types/components/Dropdown/index.d.ts.map +1 -1
  340. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.d.ts +56 -2
  341. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.d.ts.map +1 -1
  342. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts +2 -5
  343. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts.map +1 -1
  344. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts +38 -44
  345. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts.map +1 -1
  346. package/types/components/Dropdown/ui/DropdownItem/variations/_size/base.d.ts.map +1 -0
  347. package/types/components/Dropdown/ui/DropdownItem/variations/_view/base.d.ts.map +1 -0
  348. package/types/components/Dropdown/ui/index.d.ts +1 -3
  349. package/types/components/Dropdown/ui/index.d.ts.map +1 -1
  350. package/types/components/Dropdown/utils/index.d.ts +2 -5
  351. package/types/components/Dropdown/utils/index.d.ts.map +1 -1
  352. package/types/components/Radiobox/Radiobox.d.ts +1 -1
  353. package/types/components/Radiobox/Radiobox.d.ts.map +1 -1
  354. package/types/components/Radiobox/Radiobox.styles.d.ts +4 -0
  355. package/types/components/Radiobox/Radiobox.styles.d.ts.map +1 -0
  356. package/types/components/Radiobox/Radiobox.tokens.d.ts +32 -0
  357. package/types/components/Radiobox/Radiobox.tokens.d.ts.map +1 -0
  358. package/types/components/Radiobox/index.d.ts +1 -0
  359. package/types/components/Radiobox/index.d.ts.map +1 -1
  360. package/types/components/Radiobox/variations/_disabled/base.d.ts.map +1 -0
  361. package/types/components/Radiobox/variations/_focused/base.d.ts.map +1 -0
  362. package/types/components/Radiobox/variations/_size/base.d.ts.map +1 -0
  363. package/types/components/Radiobox/variations/_view/base.d.ts.map +1 -0
  364. package/types/components/Select/ui/SelectItem/SelectItem.d.ts +2 -2
  365. package/types/components/Select/ui/SelectItem/SelectItem.d.ts.map +1 -1
  366. package/types/components/Select/ui/SelectItem/SelectItem.type.d.ts +2 -2
  367. package/types/components/Select/utils/index.d.ts +1 -1
  368. package/types/components/_Icon/Icon.assets/DisclosureRight.d.ts.map +1 -1
  369. package/types/examples/plasma_b2c/components/Checkbox/Checkbox.config.d.ts +0 -1
  370. package/types/examples/plasma_b2c/components/Checkbox/Checkbox.config.d.ts.map +1 -1
  371. package/types/examples/plasma_b2c/components/Checkbox/Checkbox.d.ts +1 -1
  372. package/types/examples/plasma_b2c/components/Checkbox/Checkbox.d.ts.map +1 -1
  373. package/types/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.config.d.ts.map +1 -0
  374. package/types/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.d.ts +30 -0
  375. package/types/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.d.ts.map +1 -0
  376. package/types/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.config.d.ts +18 -0
  377. package/types/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.config.d.ts.map +1 -0
  378. package/types/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.d.ts +30 -0
  379. package/types/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.d.ts.map +1 -0
  380. package/types/examples/plasma_b2c/components/Radiobox/Radiobox.config.d.ts.map +1 -1
  381. package/types/examples/plasma_web/components/Checkbox/Checkbox.config.d.ts +0 -1
  382. package/types/examples/plasma_web/components/Checkbox/Checkbox.config.d.ts.map +1 -1
  383. package/types/examples/plasma_web/components/Checkbox/Checkbox.d.ts +1 -1
  384. package/types/examples/plasma_web/components/Checkbox/Checkbox.d.ts.map +1 -1
  385. package/types/examples/plasma_web/components/Dropdown/Normal/Dropdown.config.d.ts +18 -0
  386. package/types/examples/plasma_web/components/Dropdown/Normal/Dropdown.config.d.ts.map +1 -0
  387. package/types/examples/plasma_web/components/Dropdown/Normal/Dropdown.d.ts +30 -0
  388. package/types/examples/plasma_web/components/Dropdown/Normal/Dropdown.d.ts.map +1 -0
  389. package/types/examples/plasma_web/components/Dropdown/Tight/Dropdown.config.d.ts +18 -0
  390. package/types/examples/plasma_web/components/Dropdown/Tight/Dropdown.config.d.ts.map +1 -0
  391. package/types/examples/plasma_web/components/Dropdown/Tight/Dropdown.d.ts +30 -0
  392. package/types/examples/plasma_web/components/Dropdown/Tight/Dropdown.d.ts.map +1 -0
  393. package/types/examples/plasma_web/components/Radiobox/Radiobox.config.d.ts.map +1 -1
  394. package/types/examples/sds_engineer/components/Checkbox/Checkbox.config.d.ts +0 -1
  395. package/types/examples/sds_engineer/components/Checkbox/Checkbox.config.d.ts.map +1 -1
  396. package/types/examples/sds_engineer/components/Checkbox/Checkbox.d.ts +1 -1
  397. package/types/examples/sds_engineer/components/Checkbox/Checkbox.d.ts.map +1 -1
  398. package/types/examples/sds_engineer/components/Dropdown/Dropdown.config.d.ts +15 -0
  399. package/types/examples/sds_engineer/components/Dropdown/Dropdown.config.d.ts.map +1 -0
  400. package/types/examples/sds_engineer/components/Dropdown/Dropdown.d.ts +51 -0
  401. package/types/examples/sds_engineer/components/Dropdown/Dropdown.d.ts.map +1 -0
  402. package/types/examples/sds_engineer/components/Radiobox/Radiobox.config.d.ts.map +1 -1
  403. package/cjs/components/Checkbox/Checkbox_1q4l832.css +0 -7
  404. package/cjs/components/Checkbox/_disabled/base.js.map +0 -1
  405. package/cjs/components/Checkbox/_disabled/base_fyu17z.css +0 -1
  406. package/cjs/components/Checkbox/_focused/base.js.map +0 -1
  407. package/cjs/components/Checkbox/_focused/base_po5iiu.css +0 -1
  408. package/cjs/components/Checkbox/_size/base.js.map +0 -1
  409. package/cjs/components/Checkbox/_view/base.js.map +0 -1
  410. package/cjs/components/Checkbox/_view/base_1vqr3f.css +0 -1
  411. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.styles_s4sk53.css +0 -4
  412. package/cjs/components/Combobox/utils/index.js +0 -23
  413. package/cjs/components/Combobox/utils/index.js.map +0 -1
  414. package/cjs/components/Dropdown/Dropdown.styles_1tihqkp.css +0 -3
  415. package/cjs/components/Dropdown/hooks/useHashMaps.js +0 -31
  416. package/cjs/components/Dropdown/hooks/useHashMaps.js.map +0 -1
  417. package/cjs/components/Dropdown/hooks/useKeyboardNavigation.js +0 -200
  418. package/cjs/components/Dropdown/hooks/useKeyboardNavigation.js.map +0 -1
  419. package/cjs/components/Dropdown/reducers/focusedPathReducer.js +0 -37
  420. package/cjs/components/Dropdown/reducers/focusedPathReducer.js.map +0 -1
  421. package/cjs/components/Dropdown/reducers/pathReducer.js +0 -41
  422. package/cjs/components/Dropdown/reducers/pathReducer.js.map +0 -1
  423. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +0 -119
  424. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +0 -1
  425. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles_1o4szyu.css +0 -5
  426. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +0 -30
  427. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +0 -1
  428. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles_12e50g5.css +0 -4
  429. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.css +0 -4
  430. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.js +0 -112
  431. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.js.map +0 -1
  432. package/cjs/components/Dropdown/ui/DropdownItemOld/variations/_size/base.js.map +0 -1
  433. package/cjs/components/Dropdown/ui/DropdownItemOld/variations/_view/base.js.map +0 -1
  434. package/cjs/components/Radiobox/Radiobox_1ri2eqv.css +0 -2
  435. package/cjs/components/Radiobox/_disabled/base.js +0 -9
  436. package/cjs/components/Radiobox/_disabled/base.js.map +0 -1
  437. package/cjs/components/Radiobox/_disabled/base_1jca5bk.css +0 -1
  438. package/cjs/components/Radiobox/_focused/base.js +0 -9
  439. package/cjs/components/Radiobox/_focused/base.js.map +0 -1
  440. package/cjs/components/Radiobox/_size/base.js.map +0 -1
  441. package/cjs/components/Radiobox/_view/base.js +0 -9
  442. package/cjs/components/Radiobox/_view/base.js.map +0 -1
  443. package/es/components/Checkbox/Checkbox_1q4l832.css +0 -7
  444. package/es/components/Checkbox/_disabled/base.js.map +0 -1
  445. package/es/components/Checkbox/_disabled/base_fyu17z.css +0 -1
  446. package/es/components/Checkbox/_focused/base.js.map +0 -1
  447. package/es/components/Checkbox/_focused/base_po5iiu.css +0 -1
  448. package/es/components/Checkbox/_size/base.js.map +0 -1
  449. package/es/components/Checkbox/_view/base.js.map +0 -1
  450. package/es/components/Checkbox/_view/base_1vqr3f.css +0 -1
  451. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.styles_s4sk53.css +0 -4
  452. package/es/components/Combobox/utils/index.js +0 -19
  453. package/es/components/Combobox/utils/index.js.map +0 -1
  454. package/es/components/Dropdown/Dropdown.styles_1tihqkp.css +0 -3
  455. package/es/components/Dropdown/hooks/useHashMaps.js +0 -27
  456. package/es/components/Dropdown/hooks/useHashMaps.js.map +0 -1
  457. package/es/components/Dropdown/hooks/useKeyboardNavigation.js +0 -196
  458. package/es/components/Dropdown/hooks/useKeyboardNavigation.js.map +0 -1
  459. package/es/components/Dropdown/reducers/focusedPathReducer.js +0 -33
  460. package/es/components/Dropdown/reducers/focusedPathReducer.js.map +0 -1
  461. package/es/components/Dropdown/reducers/pathReducer.js +0 -37
  462. package/es/components/Dropdown/reducers/pathReducer.js.map +0 -1
  463. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +0 -115
  464. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +0 -1
  465. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles_1o4szyu.css +0 -5
  466. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +0 -23
  467. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js.map +0 -1
  468. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles_12e50g5.css +0 -4
  469. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.css +0 -4
  470. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.js +0 -107
  471. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.js.map +0 -1
  472. package/es/components/Dropdown/ui/DropdownItemOld/variations/_size/base.js.map +0 -1
  473. package/es/components/Dropdown/ui/DropdownItemOld/variations/_view/base.js.map +0 -1
  474. package/es/components/Radiobox/Radiobox_1ri2eqv.css +0 -2
  475. package/es/components/Radiobox/_disabled/base.js +0 -5
  476. package/es/components/Radiobox/_disabled/base.js.map +0 -1
  477. package/es/components/Radiobox/_disabled/base_1jca5bk.css +0 -1
  478. package/es/components/Radiobox/_focused/base.js +0 -5
  479. package/es/components/Radiobox/_focused/base.js.map +0 -1
  480. package/es/components/Radiobox/_size/base.js.map +0 -1
  481. package/es/components/Radiobox/_view/base.js +0 -5
  482. package/es/components/Radiobox/_view/base.js.map +0 -1
  483. package/styled-components/cjs/components/Checkbox/_focused/base.js +0 -26
  484. package/styled-components/cjs/components/Checkbox/_view/base.js +0 -8
  485. package/styled-components/cjs/components/Checkbox/_view/tokens.json +0 -1
  486. package/styled-components/cjs/components/Combobox/utils/index.js +0 -23
  487. package/styled-components/cjs/components/Dropdown/hooks/useHashMaps.js +0 -29
  488. package/styled-components/cjs/components/Dropdown/hooks/useKeyboardNavigation.js +0 -199
  489. package/styled-components/cjs/components/Dropdown/reducers/focusedPathReducer.js +0 -40
  490. package/styled-components/cjs/components/Dropdown/reducers/pathReducer.js +0 -44
  491. package/styled-components/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +0 -114
  492. package/styled-components/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +0 -33
  493. package/styled-components/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.type.js +0 -5
  494. package/styled-components/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.js +0 -119
  495. package/styled-components/cjs/components/Radiobox/_disabled/base.js +0 -8
  496. package/styled-components/cjs/components/Radiobox/_focused/base.js +0 -26
  497. package/styled-components/cjs/components/Radiobox/_view/base.js +0 -8
  498. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +0 -25
  499. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.js +0 -11
  500. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +0 -292
  501. package/styled-components/es/components/Checkbox/_disabled/base.js +0 -2
  502. package/styled-components/es/components/Checkbox/_focused/base.js +0 -20
  503. package/styled-components/es/components/Checkbox/_view/base.js +0 -2
  504. package/styled-components/es/components/Checkbox/_view/tokens.json +0 -1
  505. package/styled-components/es/components/Combobox/utils/index.js +0 -15
  506. package/styled-components/es/components/Dropdown/hooks/useHashMaps.js +0 -23
  507. package/styled-components/es/components/Dropdown/hooks/useKeyboardNavigation.js +0 -193
  508. package/styled-components/es/components/Dropdown/reducers/focusedPathReducer.js +0 -34
  509. package/styled-components/es/components/Dropdown/reducers/pathReducer.js +0 -38
  510. package/styled-components/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +0 -108
  511. package/styled-components/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +0 -25
  512. package/styled-components/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.type.js +0 -1
  513. package/styled-components/es/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.js +0 -111
  514. package/styled-components/es/components/Radiobox/_disabled/base.js +0 -2
  515. package/styled-components/es/components/Radiobox/_focused/base.js +0 -20
  516. package/styled-components/es/components/Radiobox/_view/base.js +0 -2
  517. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +0 -19
  518. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.js +0 -5
  519. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +0 -292
  520. package/types/components/Checkbox/_disabled/base.d.ts.map +0 -1
  521. package/types/components/Checkbox/_focused/base.d.ts.map +0 -1
  522. package/types/components/Checkbox/_size/base.d.ts.map +0 -1
  523. package/types/components/Checkbox/_view/base.d.ts.map +0 -1
  524. package/types/components/Combobox/utils/index.d.ts +0 -4
  525. package/types/components/Combobox/utils/index.d.ts.map +0 -1
  526. package/types/components/Dropdown/hooks/useHashMaps.d.ts +0 -6
  527. package/types/components/Dropdown/hooks/useHashMaps.d.ts.map +0 -1
  528. package/types/components/Dropdown/hooks/useKeyboardNavigation.d.ts +0 -23
  529. package/types/components/Dropdown/hooks/useKeyboardNavigation.d.ts.map +0 -1
  530. package/types/components/Dropdown/reducers/focusedPathReducer.d.ts +0 -16
  531. package/types/components/Dropdown/reducers/focusedPathReducer.d.ts.map +0 -1
  532. package/types/components/Dropdown/reducers/pathReducer.d.ts +0 -20
  533. package/types/components/Dropdown/reducers/pathReducer.d.ts.map +0 -1
  534. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.d.ts +0 -5
  535. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.d.ts.map +0 -1
  536. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts +0 -26
  537. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts.map +0 -1
  538. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.d.ts +0 -7
  539. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.d.ts.map +0 -1
  540. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItem.type.d.ts +0 -60
  541. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItem.type.d.ts.map +0 -1
  542. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.d.ts +0 -58
  543. package/types/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.d.ts.map +0 -1
  544. package/types/components/Dropdown/ui/DropdownItemOld/variations/_size/base.d.ts.map +0 -1
  545. package/types/components/Dropdown/ui/DropdownItemOld/variations/_view/base.d.ts.map +0 -1
  546. package/types/components/Radiobox/_disabled/base.d.ts.map +0 -1
  547. package/types/components/Radiobox/_focused/base.d.ts.map +0 -1
  548. package/types/components/Radiobox/_size/base.d.ts.map +0 -1
  549. package/types/components/Radiobox/_view/base.d.ts +0 -2
  550. package/types/components/Radiobox/_view/base.d.ts.map +0 -1
  551. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.config.d.ts.map +0 -1
  552. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts +0 -13
  553. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts.map +0 -1
  554. /package/cjs/components/Checkbox/{_size → variations/_size}/base_x642ct.css +0 -0
  555. /package/cjs/components/Dropdown/ui/{DropdownItemOld → DropdownItem}/variations/_size/base_x642ct.css +0 -0
  556. /package/cjs/components/Dropdown/ui/{DropdownItemOld → DropdownItem}/variations/_view/base_x642ct.css +0 -0
  557. /package/cjs/components/Radiobox/{_size → variations/_size}/base_x642ct.css +0 -0
  558. /package/es/components/Checkbox/{_size → variations/_size}/base_x642ct.css +0 -0
  559. /package/es/components/Dropdown/ui/{DropdownItemOld → DropdownItem}/variations/_size/base_x642ct.css +0 -0
  560. /package/es/components/Dropdown/ui/{DropdownItemOld → DropdownItem}/variations/_view/base_x642ct.css +0 -0
  561. /package/es/components/Radiobox/{_size → variations/_size}/base_x642ct.css +0 -0
  562. /package/styled-components/cjs/components/{Dropdown/ui/DropdownInner/DropdownInner.type.js → Checkbox/Checkbox.types.js} +0 -0
  563. /package/styled-components/cjs/components/Checkbox/{_disabled → variations/_disabled}/tokens.json +0 -0
  564. /package/styled-components/cjs/components/Checkbox/{_focused → variations/_focused}/tokens.json +0 -0
  565. /package/styled-components/cjs/components/Checkbox/{_size → variations/_size}/base.js +0 -0
  566. /package/styled-components/cjs/components/Checkbox/{_size → variations/_size}/tokens.json +0 -0
  567. /package/styled-components/cjs/components/Dropdown/ui/{DropdownItemOld → DropdownItem}/variations/_size/base.js +0 -0
  568. /package/styled-components/cjs/components/Dropdown/ui/{DropdownItemOld → DropdownItem}/variations/_view/base.js +0 -0
  569. /package/styled-components/cjs/components/Radiobox/{_disabled → variations/_disabled}/tokens.json +0 -0
  570. /package/styled-components/cjs/components/Radiobox/{_focused → variations/_focused}/tokens.json +0 -0
  571. /package/styled-components/cjs/components/Radiobox/{_size → variations/_size}/base.js +0 -0
  572. /package/styled-components/cjs/components/Radiobox/{_size → variations/_size}/tokens.json +0 -0
  573. /package/styled-components/cjs/components/Radiobox/{_view → variations/_view}/tokens.json +0 -0
  574. /package/styled-components/es/components/{Dropdown/ui/DropdownInner/DropdownInner.type.js → Checkbox/Checkbox.types.js} +0 -0
  575. /package/styled-components/es/components/Checkbox/{_disabled → variations/_disabled}/tokens.json +0 -0
  576. /package/styled-components/es/components/Checkbox/{_focused → variations/_focused}/tokens.json +0 -0
  577. /package/styled-components/es/components/Checkbox/{_size → variations/_size}/base.js +0 -0
  578. /package/styled-components/es/components/Checkbox/{_size → variations/_size}/tokens.json +0 -0
  579. /package/styled-components/es/components/Dropdown/ui/{DropdownItemOld → DropdownItem}/variations/_size/base.js +0 -0
  580. /package/styled-components/es/components/Dropdown/ui/{DropdownItemOld → DropdownItem}/variations/_view/base.js +0 -0
  581. /package/styled-components/es/components/Radiobox/{_disabled → variations/_disabled}/tokens.json +0 -0
  582. /package/styled-components/es/components/Radiobox/{_focused → variations/_focused}/tokens.json +0 -0
  583. /package/styled-components/es/components/Radiobox/{_size → variations/_size}/base.js +0 -0
  584. /package/styled-components/es/components/Radiobox/{_size → variations/_size}/tokens.json +0 -0
  585. /package/styled-components/es/components/Radiobox/{_view → variations/_view}/tokens.json +0 -0
  586. /package/types/components/Checkbox/{_disabled → variations/_disabled}/base.d.ts +0 -0
  587. /package/types/components/Checkbox/{_focused → variations/_size}/base.d.ts +0 -0
  588. /package/types/components/Checkbox/{_size → variations/_view}/base.d.ts +0 -0
  589. /package/types/components/{Checkbox/_view → Dropdown/ui/DropdownItem/variations/_size}/base.d.ts +0 -0
  590. /package/types/components/Dropdown/ui/{DropdownItemOld/variations/_size → DropdownItem/variations/_view}/base.d.ts +0 -0
  591. /package/types/components/{Dropdown/ui/DropdownItemOld/variations/_view → Radiobox/variations/_disabled}/base.d.ts +0 -0
  592. /package/types/components/Radiobox/{_disabled → variations/_focused}/base.d.ts +0 -0
  593. /package/types/components/Radiobox/{_focused → variations/_size}/base.d.ts +0 -0
  594. /package/types/components/Radiobox/{_size → variations/_view}/base.d.ts +0 -0
  595. /package/types/examples/plasma_b2c/components/Dropdown/{Dropdown.config.d.ts → Normal/Dropdown.config.d.ts} +0 -0
@@ -1,66 +1,60 @@
1
- import type { HTMLAttributes, ReactNode, SyntheticEvent } from 'react';
2
- import { DropdownProps } from '../../Dropdown.types';
3
- import type { FocusedPathState } from '../../reducers/focusedPathReducer';
4
- import type { PathState } from '../../reducers/pathReducer';
5
- export declare type DropdownItemOption = {
1
+ import type { HTMLAttributes, ReactNode, MouseEvent, ElementType } from 'react';
2
+ declare type DropdownItemCustomProps = {
6
3
  /**
7
- * Значение у item
4
+ * Уникальный идентификатор элемента
8
5
  */
9
- value: string | number;
6
+ id?: string;
10
7
  /**
11
- * Метка-подпись к item
8
+ * Компонент не активен
12
9
  */
13
- label: string;
10
+ disabled?: boolean;
14
11
  /**
15
- * Список дочерних items.
12
+ * Метка-подпись к элементу
16
13
  */
17
- items?: Array<DropdownItemOption>;
14
+ label?: ReactNode;
18
15
  /**
19
- * Item не активен
16
+ * WAI-ARIA role элемента меню
20
17
  */
21
- disabled?: boolean;
18
+ role?: string;
22
19
  /**
23
20
  * Слот для контента слева
24
21
  */
25
- contentLeft?: ReactNode;
22
+ contentLeft?: ElementType | ReactNode;
26
23
  /**
27
24
  * Слот для контента справа
28
25
  */
29
- contentRight?: ReactNode;
26
+ contentRight?: ElementType | ReactNode;
27
+ /**
28
+ * Название слота контента
29
+ */
30
+ name?: string;
31
+ /**
32
+ * Отмечен ли данный элемент
33
+ */
34
+ checked?: boolean;
35
+ /**
36
+ * Содержимое контента
37
+ */
38
+ text?: string;
39
+ /**
40
+ * Значение контента
41
+ */
42
+ value?: string | number | boolean;
30
43
  /**
31
- * Выбранный item.
32
- * @deprecated использовать ContentLeft || ContentRight
44
+ * Значение контента
33
45
  */
34
- isActive?: boolean;
46
+ isSelected?: boolean;
35
47
  /**
36
- * Кастомный цвет текста
37
- * @deprecated
48
+ * Коллбек при клике на элемент
38
49
  */
39
- color?: string;
50
+ onClick?: (event: MouseEvent<HTMLDivElement>) => void;
40
51
  /**
41
- * Айтем не активен
42
- * @deprecated использовать disabled
52
+ * Коллбек при выборе элемента
43
53
  */
44
- isDisabled?: boolean;
54
+ onSelect?: (value?: any, text?: any) => void;
55
+ size?: string;
56
+ view?: string;
45
57
  };
46
- export interface DropdownItemProps extends HTMLAttributes<HTMLLIElement> {
47
- item: DropdownItemOption;
48
- focusedPath: FocusedPathState;
49
- currentLevel: number;
50
- index: number;
51
- variant: DropdownProps['variant'];
52
- path?: PathState;
53
- itemRole?: DropdownProps['itemRole'];
54
- closeOnSelect?: DropdownProps['closeOnSelect'];
55
- handleGlobalToggle?: (opened: boolean, event: Event | SyntheticEvent<Element, Event>) => void;
56
- onHover?: DropdownProps['onHover'];
57
- onItemSelect?: DropdownProps['onItemSelect'];
58
- onItemClick?: DropdownProps['onItemClick'];
59
- hasArrow?: DropdownProps['hasArrow'];
60
- ariaControls?: string;
61
- ariaExpanded?: boolean;
62
- ariaHasPopup?: React.AriaAttributes['aria-haspopup'];
63
- ariaLevel?: React.AriaAttributes['aria-level'];
64
- ariaLabel?: React.AriaAttributes['aria-label'];
65
- }
58
+ export declare type DropdownItemProps = Omit<HTMLAttributes<HTMLDivElement>, 'onSelect'> & DropdownItemCustomProps;
59
+ export {};
66
60
  //# sourceMappingURL=DropdownItem.type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownItem.type.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownItem/DropdownItem.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAE5D,oBAAY,kBAAkB,GAAG;IAC7B;;OAEG;IACH,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,aAAa,CAAC;IACpE,IAAI,EAAE,kBAAkB,CAAC;IACzB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IAClC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACrC,aAAa,CAAC,EAAE,aAAa,CAAC,eAAe,CAAC,CAAC;IAC/C,kBAAkB,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,GAAG,cAAc,CAAC,OAAO,EAAE,KAAK,CAAC,KAAK,IAAI,CAAC;IAC9F,OAAO,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IACnC,YAAY,CAAC,EAAE,aAAa,CAAC,cAAc,CAAC,CAAC;IAC7C,WAAW,CAAC,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;IAC3C,QAAQ,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,CAAC;IACrD,SAAS,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC;IAC/C,SAAS,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,YAAY,CAAC,CAAC;CAClD"}
1
+ {"version":3,"file":"DropdownItem.type.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownItem/DropdownItem.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAEhF,aAAK,uBAAuB,GAAG;IAC3B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IACtC;;OAEG;IACH,YAAY,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IAClC;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IACtD;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,GAAG,KAAK,IAAI,CAAC;IAC7C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,iBAAiB,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC,GAAG,uBAAuB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Dropdown/ui/DropdownItem/variations/_size/base.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Dropdown/ui/DropdownItem/variations/_view/base.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
@@ -2,7 +2,5 @@ export { dropdownDividerRoot, dropdownDividerConfig } from './DropdownDivider/Dr
2
2
  export { dropdownFooterRoot, dropdownFooterConfig } from './DropdownFooter/DropdownFooter';
3
3
  export { dropdownGroupRoot, dropdownGroupConfig } from './DropdownGroup/DropdownGroup';
4
4
  export { dropdownHeaderRoot, dropdownHeaderConfig } from './DropdownHeader/DropdownHeader';
5
- export { DropdownItem } from './DropdownItem/DropdownItem';
6
- export { DropdownInner } from './DropdownInner/DropdownInner';
7
- export { dropdownItemOldRoot, dropdownItemOldConfig } from './DropdownItemOld/DropdownItemOld';
5
+ export { dropdownItemRoot, dropdownItemConfig } from './DropdownItem/DropdownItem';
8
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Dropdown/ui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC/F,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAC3F,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACvF,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAC3F,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Dropdown/ui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC/F,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAC3F,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACvF,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAC3F,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC"}
@@ -1,9 +1,6 @@
1
- import type { ReactNode } from 'react';
2
- import React, { HTMLAttributes, ElementType } from 'react';
3
- import type { DropdownPlacement, DropdownPlacementBasic, DropdownProps } from '../Dropdown.types';
1
+ import React, { ElementType, ReactNode } from 'react';
2
+ import type { DropdownPlacement, DropdownPlacementBasic } from '../Dropdown.types';
4
3
  export declare const getPlacement: (placement: DropdownPlacement) => import("@popperjs/core").ComputedPlacement;
5
4
  export declare const getPlacements: (placements?: DropdownPlacement | DropdownPlacementBasic[] | undefined) => import("@popperjs/core").ComputedPlacement | import("@popperjs/core").ComputedPlacement[] | undefined;
6
- export declare const getCorrectHeight: (listHeight: Required<DropdownProps>['listHeight']) => string;
7
- export declare const childrenWithProps: (children: ReactNode, additionalProps: HTMLAttributes<HTMLLIElement>) => (string | number | React.ReactFragment | React.ReactElement<any, string | React.JSXElementConstructor<any>>)[] | null | undefined;
8
5
  export declare const getValidComponent: (element: ElementType | ReactNode, props: object) => string | number | boolean | React.ReactFragment | JSX.Element | null | undefined;
9
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Dropdown/utils/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,EAAY,cAAc,EAAE,WAAW,EAAgC,MAAM,OAAO,CAAC;AAGnG,OAAO,KAAK,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElG,eAAO,MAAM,YAAY,cAAe,iBAAiB,+CAExD,CAAC;AAEF,eAAO,MAAM,aAAa,kLAUzB,CAAC;AAEF,eAAO,MAAM,gBAAgB,eAAgB,SAAS,aAAa,CAAC,CAAC,YAAY,CAAC,KAAG,MAKpF,CAAC;AAEF,eAAO,MAAM,iBAAiB,aAAc,SAAS,mBAAmB,eAAe,aAAa,CAAC,sIAM/F,CAAC;AAMP,eAAO,MAAM,iBAAiB,YAAa,WAAW,GAAG,SAAS,SAAS,MAAM,qFAYhF,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Dropdown/utils/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,WAAW,EAAE,SAAS,EAAgC,MAAM,OAAO,CAAC;AAGpF,OAAO,KAAK,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAC;AAEnF,eAAO,MAAM,YAAY,cAAe,iBAAiB,+CAExD,CAAC;AAEF,eAAO,MAAM,aAAa,kLAUzB,CAAC;AAMF,eAAO,MAAM,iBAAiB,YAAa,WAAW,GAAG,SAAS,SAAS,MAAM,qFAYhF,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { InputHTMLAttributes } from '@salutejs/plasma-core';
3
3
  import type { Filter, RootProps } from '../../engines/types';
4
- import { BaseboxProps } from '../Checkbox/Checkbox';
4
+ import { BaseboxProps } from '../Checkbox/Checkbox.types';
5
5
  declare type RadioboxProps = Filter<InputHTMLAttributes<HTMLInputElement>, 'size'> & Omit<BaseboxProps, 'indeterminate'>;
6
6
  export declare const radioboxRoot: (Root: RootProps<HTMLInputElement, RadioboxProps>) => React.ForwardRefExoticComponent<Filter<InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<BaseboxProps, "indeterminate"> & React.RefAttributes<HTMLInputElement>>;
7
7
  export declare const radioboxConfig: {
@@ -1 +1 @@
1
- {"version":3,"file":"Radiobox.d.ts","sourceRoot":"","sources":["../../../src/components/Radiobox/Radiobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAInD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAGjE,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAOH,YAAY,EACf,MAAM,sBAAsB,CAAC;AAmE9B,aAAK,aAAa,GAAG,MAAM,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC,YAAY,EAAE,eAAe,CAAC,CAAC;AAEjH,eAAO,MAAM,YAAY,SAAU,UAAU,gBAAgB,EAAE,aAAa,CAAC,yKA0EvE,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBA5EQ,UAAU,gBAAgB,EAAE,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;CAmG5E,CAAC"}
1
+ {"version":3,"file":"Radiobox.d.ts","sourceRoot":"","sources":["../../../src/components/Radiobox/Radiobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAS7D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAS1D,aAAK,aAAa,GAAG,MAAM,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,GAAG,IAAI,CAAC,YAAY,EAAE,eAAe,CAAC,CAAC;AAEjH,eAAO,MAAM,YAAY,SAAU,UAAU,gBAAgB,EAAE,aAAa,CAAC,yKAyEvE,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBA3EQ,UAAU,gBAAgB,EAAE,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;CAkG5E,CAAC"}
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ export declare const StyledEllipse: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
3
+ export declare const base: import("@linaria/core").LinariaClassName;
4
+ //# sourceMappingURL=Radiobox.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Radiobox.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Radiobox/Radiobox.styles.ts"],"names":[],"mappings":";AAkCA,eAAO,MAAM,aAAa,qKAYzB,CAAC;AAEF,eAAO,MAAM,IAAI,0CAehB,CAAC"}
@@ -0,0 +1,32 @@
1
+ export declare const classes: {
2
+ singleLine: string;
3
+ radioboxTrigger: string;
4
+ };
5
+ export declare const tokens: {
6
+ labelFontFamily: string;
7
+ labelFontSize: string;
8
+ labelFontStyle: string;
9
+ labelFontWeight: string;
10
+ labelLetterSpacing: string;
11
+ labelLineHeight: string;
12
+ descriptionFontFamily: string;
13
+ descriptionFontSize: string;
14
+ descriptionFontStyle: string;
15
+ descriptionFontWeight: string;
16
+ descriptionLetterSpacing: string;
17
+ descriptionLineHeight: string;
18
+ fillColor: string;
19
+ descriptionColor: string;
20
+ triggerBorderColor: string;
21
+ contentTopOffset: string;
22
+ contentLeftOffset: string;
23
+ triggerSize: string;
24
+ triggerBorderRadius: string;
25
+ triggerMargin: string;
26
+ margin: string;
27
+ ellipseSize: string;
28
+ ellipseColor: string;
29
+ disabledOpacity: string;
30
+ focusColor: string;
31
+ };
32
+ //# sourceMappingURL=Radiobox.tokens.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Radiobox.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Radiobox/Radiobox.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;CAGnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BlB,CAAC"}
@@ -1,3 +1,4 @@
1
1
  export { radioboxRoot, radioboxConfig } from './Radiobox';
2
2
  export { RadioGroup } from './RadioGroup';
3
+ export { tokens as radioboxTokens } from './Radiobox.tokens';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Radiobox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Radiobox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Radiobox/variations/_disabled/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAQhB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Radiobox/variations/_focused/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAsChB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Radiobox/variations/_size/base.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Radiobox/variations/_view/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAMhB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export declare const selectItemRoot: (Root: import("../../../..").RootProps<HTMLDivElement, import("../../../Dropdown/ui/DropdownItemOld/DropdownItem.type").DropdownItemProps>) => import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLDivElement>, "onSelect"> & {
2
+ export declare const selectItemRoot: (Root: import("../../../..").RootProps<HTMLDivElement, import("../../../Dropdown/ui/DropdownItem/DropdownItem.type").DropdownItemProps>) => import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLDivElement>, "onSelect"> & {
3
3
  id?: string | undefined;
4
4
  disabled?: boolean | undefined;
5
5
  label?: import("react").ReactNode;
@@ -19,7 +19,7 @@ export declare const selectItemRoot: (Root: import("../../../..").RootProps<HTML
19
19
  export declare const selectItemConfig: {
20
20
  name: string;
21
21
  tag: string;
22
- layout: (Root: import("../../../..").RootProps<HTMLDivElement, import("../../../Dropdown/ui/DropdownItemOld/DropdownItem.type").DropdownItemProps>) => import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLDivElement>, "onSelect"> & {
22
+ layout: (Root: import("../../../..").RootProps<HTMLDivElement, import("../../../Dropdown/ui/DropdownItem/DropdownItem.type").DropdownItemProps>) => import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLDivElement>, "onSelect"> & {
23
23
  id?: string | undefined;
24
24
  disabled?: boolean | undefined;
25
25
  label?: import("react").ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"SelectItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/SelectItem/SelectItem.tsx"],"names":[],"mappings":";AAMA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;kDAAsB,CAAC;AAElD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiB5B,CAAC"}
1
+ {"version":3,"file":"SelectItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/SelectItem/SelectItem.tsx"],"names":[],"mappings":";AAMA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;kDAAmB,CAAC;AAE/C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiB5B,CAAC"}
@@ -1,3 +1,3 @@
1
- import { ComboboxItemProps } from '../../../Combobox/ui/ComboboxItem/ComboboxItem.type';
2
- export declare type SelectItemProps = ComboboxItemProps;
1
+ import { DropdownItemProps } from '../../../Dropdown/ui/DropdownItem/DropdownItem.type';
2
+ export declare type SelectItemProps = DropdownItemProps;
3
3
  //# sourceMappingURL=SelectItem.type.d.ts.map
@@ -8,7 +8,7 @@ declare type NewSelectedFunc = {
8
8
  };
9
9
  export declare const getNewSelected: NewSelectedFunc;
10
10
  export declare const getValues: (items: ReactElement[], value?: SelectValue | undefined, result?: Array<Array<string>>) => string[][];
11
- export declare const updatePropsRecursively: (children?: ReactElement<import("../../Combobox/ui/ComboboxItem/ComboboxItem.type").ComboboxItemProps, string | import("react").JSXElementConstructor<any>>[] | undefined, externalProps?: Record<string, any> | undefined, value?: SelectValue | undefined, search?: string | undefined, filterFunction?: ((childText: string, filterValue?: string | undefined) => boolean) | undefined) => ReactNode[];
11
+ export declare const updatePropsRecursively: (children?: ReactElement<import("../../Dropdown/ui/DropdownItem/DropdownItem.type").DropdownItemProps, string | import("react").JSXElementConstructor<any>>[] | undefined, externalProps?: Record<string, any> | undefined, value?: SelectValue | undefined, search?: string | undefined, filterFunction?: ((childText: string, filterValue?: string | undefined) => boolean) | undefined) => ReactNode[];
12
12
  export declare const getChildren: (children: ReactElement<SelectItemProps>[], externalProps: Record<string, any>, value?: SelectValue | undefined, search?: string | undefined, filterFunction?: (text: string, filterValue?: string) => boolean) => ReactNode[];
13
13
  export {};
14
14
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DisclosureRight.d.ts","sourceRoot":"","sources":["../../../../src/components/_Icon/Icon.assets/DisclosureRight.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAqB/C,CAAC"}
1
+ {"version":3,"file":"DisclosureRight.d.ts","sourceRoot":"","sources":["../../../../src/components/_Icon/Icon.assets/DisclosureRight.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAsB/C,CAAC"}
@@ -1,7 +1,6 @@
1
1
  export declare const config: {
2
2
  defaults: {
3
3
  view: string;
4
- focused: string;
5
4
  };
6
5
  variations: {
7
6
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Checkbox/Checkbox.config.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;QAMX;;WAEG;;;;;QA2CH;;WAEG;;;;;;;;;;;;;;;;;;CA8DV,CAAC"}
1
+ {"version":3,"file":"Checkbox.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Checkbox/Checkbox.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;QAKX;;WAEG;;;;;QA2CH;;WAEG;;;;;;;;;;;;;;;;;;CA8DV,CAAC"}
@@ -20,5 +20,5 @@ export declare const Checkbox: import("react").FunctionComponent<import("../../.
20
20
  focused: {
21
21
  true: import("@linaria/core").LinariaClassName;
22
22
  };
23
- }> & import("../../../../engines/types").Filter<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "size"> & import("../../../../components/Checkbox").BaseboxProps & import("react").RefAttributes<HTMLInputElement>>;
23
+ }> & import("../../../../components/Checkbox/Checkbox.types").CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
24
24
  //# sourceMappingURL=Checkbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Checkbox/Checkbox.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;0OAA0B,CAAC"}
1
+ {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Checkbox/Checkbox.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;8HAA0B,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Dropdown.config.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.config.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;CA4FlB,CAAC"}
@@ -0,0 +1,30 @@
1
+ /// <reference types="react" />
2
+ export declare const Dropdown: import("react").FunctionComponent<import("../../../../../engines/types").PropsType<{
3
+ size: {
4
+ xs: import("@linaria/core").LinariaClassName;
5
+ s: import("@linaria/core").LinariaClassName;
6
+ m: import("@linaria/core").LinariaClassName;
7
+ l: import("@linaria/core").LinariaClassName;
8
+ };
9
+ view: {
10
+ default: import("@linaria/core").LinariaClassName;
11
+ };
12
+ }> & import("react").HTMLAttributes<HTMLDivElement> & import("../../../../../components/Dropdown/Dropdown.types").CustomDropdownProps & import("react").RefAttributes<HTMLDivElement>>;
13
+ export declare const DropdownItem: import("react").FunctionComponent<import("../../../../../engines/types").PropsType<import("../../../../../engines/types").Variants> & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onSelect"> & {
14
+ id?: string | undefined;
15
+ disabled?: boolean | undefined;
16
+ label?: import("react").ReactNode;
17
+ role?: string | undefined;
18
+ contentLeft?: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null | undefined;
19
+ contentRight?: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null | undefined;
20
+ name?: string | undefined;
21
+ checked?: boolean | undefined;
22
+ text?: string | undefined;
23
+ value?: string | number | boolean | undefined;
24
+ isSelected?: boolean | undefined;
25
+ onClick?: ((event: import("react").MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
26
+ onSelect?: ((value?: any, text?: any) => void) | undefined;
27
+ size?: string | undefined;
28
+ view?: string | undefined;
29
+ } & import("react").RefAttributes<HTMLDivElement>>;
30
+ //# sourceMappingURL=Dropdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_b2c/components/Dropdown/Normal/Dropdown.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,QAAQ;;;;;;;;;;sLAA0B,CAAC;AAGhD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;kDAA8B,CAAC"}
@@ -0,0 +1,18 @@
1
+ export declare const config: {
2
+ defaults: {
3
+ view: string;
4
+ size: string;
5
+ };
6
+ variations: {
7
+ size: {
8
+ xs: import("@linaria/core").LinariaClassName;
9
+ s: import("@linaria/core").LinariaClassName;
10
+ m: import("@linaria/core").LinariaClassName;
11
+ l: import("@linaria/core").LinariaClassName;
12
+ };
13
+ view: {
14
+ default: import("@linaria/core").LinariaClassName;
15
+ };
16
+ };
17
+ };
18
+ //# sourceMappingURL=Dropdown.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Dropdown.config.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.config.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;CA4FlB,CAAC"}
@@ -0,0 +1,30 @@
1
+ /// <reference types="react" />
2
+ export declare const Dropdown: import("react").FunctionComponent<import("../../../../../engines/types").PropsType<{
3
+ size: {
4
+ xs: import("@linaria/core").LinariaClassName;
5
+ s: import("@linaria/core").LinariaClassName;
6
+ m: import("@linaria/core").LinariaClassName;
7
+ l: import("@linaria/core").LinariaClassName;
8
+ };
9
+ view: {
10
+ default: import("@linaria/core").LinariaClassName;
11
+ };
12
+ }> & import("react").HTMLAttributes<HTMLDivElement> & import("../../../../../components/Dropdown/Dropdown.types").CustomDropdownProps & import("react").RefAttributes<HTMLDivElement>>;
13
+ export declare const DropdownItem: import("react").FunctionComponent<import("../../../../../engines/types").PropsType<import("../../../../../engines/types").Variants> & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onSelect"> & {
14
+ id?: string | undefined;
15
+ disabled?: boolean | undefined;
16
+ label?: import("react").ReactNode;
17
+ role?: string | undefined;
18
+ contentLeft?: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null | undefined;
19
+ contentRight?: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null | undefined;
20
+ name?: string | undefined;
21
+ checked?: boolean | undefined;
22
+ text?: string | undefined;
23
+ value?: string | number | boolean | undefined;
24
+ isSelected?: boolean | undefined;
25
+ onClick?: ((event: import("react").MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
26
+ onSelect?: ((value?: any, text?: any) => void) | undefined;
27
+ size?: string | undefined;
28
+ view?: string | undefined;
29
+ } & import("react").RefAttributes<HTMLDivElement>>;
30
+ //# sourceMappingURL=Dropdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_b2c/components/Dropdown/Tight/Dropdown.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,QAAQ;;;;;;;;;;sLAA0B,CAAC;AAGhD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;kDAA8B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Radiobox.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Radiobox/Radiobox.config.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;QAMX;;WAEG;;;;;QA6CH;;WAEG;;;;;;;;;;;;;;;;;;CA8DV,CAAC"}
1
+ {"version":3,"file":"Radiobox.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Radiobox/Radiobox.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;QAMX;;WAEG;;;;;QA6CH;;WAEG;;;;;;;;;;;;;;;;;;CA8DV,CAAC"}
@@ -1,7 +1,6 @@
1
1
  export declare const config: {
2
2
  defaults: {
3
3
  view: string;
4
- focused: string;
5
4
  };
6
5
  variations: {
7
6
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Checkbox/Checkbox.config.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;QAMX;;WAEG;;;;;QA2CH;;WAEG;;;;;;;;;;;;;;;;;;CA8DV,CAAC"}
1
+ {"version":3,"file":"Checkbox.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Checkbox/Checkbox.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;QAKX;;WAEG;;;;;QA2CH;;WAEG;;;;;;;;;;;;;;;;;;CA8DV,CAAC"}
@@ -20,5 +20,5 @@ export declare const Checkbox: import("react").FunctionComponent<import("../../.
20
20
  focused: {
21
21
  true: import("@linaria/core").LinariaClassName;
22
22
  };
23
- }> & import("../../../../engines/types").Filter<import("@salutejs/plasma-core").InputHTMLAttributes<HTMLInputElement>, "size"> & import("../../../../components/Checkbox").BaseboxProps & import("react").RefAttributes<HTMLInputElement>>;
23
+ }> & import("../../../../components/Checkbox/Checkbox.types").CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
24
24
  //# sourceMappingURL=Checkbox.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Checkbox/Checkbox.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;0OAA0B,CAAC"}
1
+ {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Checkbox/Checkbox.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;8HAA0B,CAAC"}
@@ -0,0 +1,18 @@
1
+ export declare const config: {
2
+ defaults: {
3
+ view: string;
4
+ size: string;
5
+ };
6
+ variations: {
7
+ size: {
8
+ xs: import("@linaria/core").LinariaClassName;
9
+ s: import("@linaria/core").LinariaClassName;
10
+ m: import("@linaria/core").LinariaClassName;
11
+ l: import("@linaria/core").LinariaClassName;
12
+ };
13
+ view: {
14
+ default: import("@linaria/core").LinariaClassName;
15
+ };
16
+ };
17
+ };
18
+ //# sourceMappingURL=Dropdown.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Dropdown.config.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_web/components/Dropdown/Normal/Dropdown.config.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;CA4FlB,CAAC"}
@@ -0,0 +1,30 @@
1
+ /// <reference types="react" />
2
+ export declare const Dropdown: import("react").FunctionComponent<import("../../../../../engines/types").PropsType<{
3
+ size: {
4
+ xs: import("@linaria/core").LinariaClassName;
5
+ s: import("@linaria/core").LinariaClassName;
6
+ m: import("@linaria/core").LinariaClassName;
7
+ l: import("@linaria/core").LinariaClassName;
8
+ };
9
+ view: {
10
+ default: import("@linaria/core").LinariaClassName;
11
+ };
12
+ }> & import("react").HTMLAttributes<HTMLDivElement> & import("../../../../../components/Dropdown/Dropdown.types").CustomDropdownProps & import("react").RefAttributes<HTMLDivElement>>;
13
+ export declare const DropdownItem: import("react").FunctionComponent<import("../../../../../engines/types").PropsType<import("../../../../../engines/types").Variants> & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onSelect"> & {
14
+ id?: string | undefined;
15
+ disabled?: boolean | undefined;
16
+ label?: import("react").ReactNode;
17
+ role?: string | undefined;
18
+ contentLeft?: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null | undefined;
19
+ contentRight?: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null | undefined;
20
+ name?: string | undefined;
21
+ checked?: boolean | undefined;
22
+ text?: string | undefined;
23
+ value?: string | number | boolean | undefined;
24
+ isSelected?: boolean | undefined;
25
+ onClick?: ((event: import("react").MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
26
+ onSelect?: ((value?: any, text?: any) => void) | undefined;
27
+ size?: string | undefined;
28
+ view?: string | undefined;
29
+ } & import("react").RefAttributes<HTMLDivElement>>;
30
+ //# sourceMappingURL=Dropdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_web/components/Dropdown/Normal/Dropdown.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,QAAQ;;;;;;;;;;sLAA0B,CAAC;AAGhD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;kDAA8B,CAAC"}
@@ -0,0 +1,18 @@
1
+ export declare const config: {
2
+ defaults: {
3
+ view: string;
4
+ size: string;
5
+ };
6
+ variations: {
7
+ size: {
8
+ xs: import("@linaria/core").LinariaClassName;
9
+ s: import("@linaria/core").LinariaClassName;
10
+ m: import("@linaria/core").LinariaClassName;
11
+ l: import("@linaria/core").LinariaClassName;
12
+ };
13
+ view: {
14
+ default: import("@linaria/core").LinariaClassName;
15
+ };
16
+ };
17
+ };
18
+ //# sourceMappingURL=Dropdown.config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Dropdown.config.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_web/components/Dropdown/Tight/Dropdown.config.ts"],"names":[],"mappings":"AAuBA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;CA4FlB,CAAC"}
@@ -0,0 +1,30 @@
1
+ /// <reference types="react" />
2
+ export declare const Dropdown: import("react").FunctionComponent<import("../../../../../engines/types").PropsType<{
3
+ size: {
4
+ xs: import("@linaria/core").LinariaClassName;
5
+ s: import("@linaria/core").LinariaClassName;
6
+ m: import("@linaria/core").LinariaClassName;
7
+ l: import("@linaria/core").LinariaClassName;
8
+ };
9
+ view: {
10
+ default: import("@linaria/core").LinariaClassName;
11
+ };
12
+ }> & import("react").HTMLAttributes<HTMLDivElement> & import("../../../../../components/Dropdown/Dropdown.types").CustomDropdownProps & import("react").RefAttributes<HTMLDivElement>>;
13
+ export declare const DropdownItem: import("react").FunctionComponent<import("../../../../../engines/types").PropsType<import("../../../../../engines/types").Variants> & Omit<import("react").HTMLAttributes<HTMLDivElement>, "onSelect"> & {
14
+ id?: string | undefined;
15
+ disabled?: boolean | undefined;
16
+ label?: import("react").ReactNode;
17
+ role?: string | undefined;
18
+ contentLeft?: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null | undefined;
19
+ contentRight?: string | number | boolean | import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | import("react").ReactFragment | import("react").ReactPortal | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | null | undefined;
20
+ name?: string | undefined;
21
+ checked?: boolean | undefined;
22
+ text?: string | undefined;
23
+ value?: string | number | boolean | undefined;
24
+ isSelected?: boolean | undefined;
25
+ onClick?: ((event: import("react").MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
26
+ onSelect?: ((value?: any, text?: any) => void) | undefined;
27
+ size?: string | undefined;
28
+ view?: string | undefined;
29
+ } & import("react").RefAttributes<HTMLDivElement>>;
30
+ //# sourceMappingURL=Dropdown.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../../../src/examples/plasma_web/components/Dropdown/Tight/Dropdown.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,QAAQ;;;;;;;;;;sLAA0B,CAAC;AAGhD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;kDAA8B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Radiobox.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Radiobox/Radiobox.config.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;QAMX;;WAEG;;;;;QA6CH;;WAEG;;;;;;;;;;;;;;;;;;CA8DV,CAAC"}
1
+ {"version":3,"file":"Radiobox.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Radiobox/Radiobox.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;QAMX;;WAEG;;;;;QA6CH;;WAEG;;;;;;;;;;;;;;;;;;CA8DV,CAAC"}
@@ -1,7 +1,6 @@
1
1
  export declare const config: {
2
2
  defaults: {
3
3
  view: string;
4
- focused: string;
5
4
  };
6
5
  variations: {
7
6
  /**