@salutejs/plasma-new-hope 0.174.0-canary.1497.11463811587.0 → 0.174.0-canary.1503.11466452273.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (269) hide show
  1. package/cjs/components/Combobox/ComboboxOld/Combobox.css +14 -28
  2. package/cjs/components/Combobox/ComboboxOld/Combobox.js +1 -2
  3. package/cjs/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
  4. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +18 -32
  5. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js +2 -3
  6. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js.map +1 -1
  7. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +18 -32
  8. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js +2 -3
  9. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js.map +1 -1
  10. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +18 -32
  11. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js +2 -3
  12. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js.map +1 -1
  13. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +18 -32
  14. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js +2 -3
  15. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js.map +1 -1
  16. package/cjs/components/Dropdown/Dropdown.css +16 -30
  17. package/cjs/components/Dropdown/Dropdown.js +45 -67
  18. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  19. package/cjs/components/Dropdown/Dropdown.styles.js +27 -14
  20. package/cjs/components/Dropdown/Dropdown.styles.js.map +1 -1
  21. package/cjs/components/Dropdown/Dropdown.styles_1tihqkp.css +3 -0
  22. package/cjs/components/Dropdown/Dropdown.tokens.js +1 -24
  23. package/cjs/components/Dropdown/Dropdown.tokens.js.map +1 -1
  24. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +52 -17
  25. package/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  26. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.css +6 -46
  27. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +18 -29
  28. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  29. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +31 -27
  30. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  31. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles_blclup.css +6 -0
  32. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +1 -1
  33. package/cjs/components/Dropdown/ui/DropdownItemOld/{DropdownItem.styles_1lyg81y.css → DropdownItem.styles_12e50g5.css} +1 -1
  34. package/cjs/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.css +4 -4
  35. package/cjs/components/Dropdown/utils/index.js.map +1 -1
  36. package/cjs/components/Notification/Notification.js +2 -2
  37. package/cjs/components/Notification/Notification.js.map +1 -1
  38. package/cjs/components/Notification/Notification.types.js.map +1 -1
  39. package/cjs/components/Notification/NotificationsPortal.js +4 -2
  40. package/cjs/components/Notification/NotificationsPortal.js.map +1 -1
  41. package/cjs/components/Notification/NotificationsProvider.js +3 -1
  42. package/cjs/components/Notification/NotificationsProvider.js.map +1 -1
  43. package/cjs/components/Select/utils/getCorrectHeight.js.map +1 -1
  44. package/cjs/hooks/useOutsideClick.js +1 -1
  45. package/cjs/hooks/useOutsideClick.js.map +1 -1
  46. package/cjs/index.css +14 -12
  47. package/cjs/index.js +1 -1
  48. package/emotion/cjs/components/Dropdown/Dropdown.js +37 -58
  49. package/emotion/cjs/components/Dropdown/Dropdown.styles.js +25 -9
  50. package/emotion/cjs/components/Dropdown/Dropdown.tokens.js +2 -36
  51. package/emotion/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +51 -17
  52. package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +18 -29
  53. package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +41 -21
  54. package/emotion/cjs/components/Dropdown/utils/index.js +1 -23
  55. package/emotion/cjs/components/Notification/Notification.js +2 -2
  56. package/emotion/cjs/components/Notification/Notification.template-doc.mdx +15 -7
  57. package/emotion/cjs/components/Notification/NotificationsPortal.js +5 -3
  58. package/emotion/cjs/components/Notification/NotificationsProvider.js +3 -1
  59. package/emotion/cjs/components/Notification/index.js +4 -4
  60. package/emotion/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +5 -5
  61. package/emotion/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +5 -6
  62. package/emotion/cjs/examples/plasma_b2c/components/Notification/Notification.js +5 -3
  63. package/emotion/cjs/examples/plasma_b2c/components/Notification/Notification.stories.tsx +25 -4
  64. package/emotion/cjs/examples/plasma_web/components/Dropdown/Dropdown.config.js +5 -5
  65. package/emotion/cjs/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +5 -6
  66. package/emotion/cjs/examples/plasma_web/components/Notification/Notification.js +5 -3
  67. package/emotion/cjs/examples/plasma_web/components/Notification/Notification.stories.tsx +25 -4
  68. package/emotion/cjs/hooks/useOutsideClick.js +1 -1
  69. package/emotion/es/components/Dropdown/Dropdown.js +40 -60
  70. package/emotion/es/components/Dropdown/Dropdown.styles.js +25 -9
  71. package/emotion/es/components/Dropdown/Dropdown.tokens.js +1 -35
  72. package/emotion/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +52 -18
  73. package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +20 -31
  74. package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +42 -22
  75. package/emotion/es/components/Dropdown/utils/index.js +1 -4
  76. package/emotion/es/components/Notification/Notification.js +1 -1
  77. package/emotion/es/components/Notification/Notification.template-doc.mdx +15 -7
  78. package/emotion/es/components/Notification/NotificationsPortal.js +5 -3
  79. package/emotion/es/components/Notification/NotificationsProvider.js +3 -1
  80. package/emotion/es/components/Notification/index.js +1 -1
  81. package/emotion/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +6 -6
  82. package/emotion/es/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +5 -6
  83. package/emotion/es/examples/plasma_b2c/components/Notification/Notification.js +6 -4
  84. package/emotion/es/examples/plasma_b2c/components/Notification/Notification.stories.tsx +25 -4
  85. package/emotion/es/examples/plasma_web/components/Dropdown/Dropdown.config.js +6 -6
  86. package/emotion/es/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +5 -6
  87. package/emotion/es/examples/plasma_web/components/Notification/Notification.js +6 -4
  88. package/emotion/es/examples/plasma_web/components/Notification/Notification.stories.tsx +25 -4
  89. package/emotion/es/hooks/useOutsideClick.js +1 -1
  90. package/es/components/Combobox/ComboboxOld/Combobox.css +14 -28
  91. package/es/components/Combobox/ComboboxOld/Combobox.js +1 -2
  92. package/es/components/Combobox/ComboboxOld/Combobox.js.map +1 -1
  93. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +18 -32
  94. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js +2 -3
  95. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.js.map +1 -1
  96. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +18 -32
  97. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js +2 -3
  98. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.js.map +1 -1
  99. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +18 -32
  100. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js +2 -3
  101. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.js.map +1 -1
  102. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +18 -32
  103. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js +2 -3
  104. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.js.map +1 -1
  105. package/es/components/Dropdown/Dropdown.css +16 -30
  106. package/es/components/Dropdown/Dropdown.js +47 -68
  107. package/es/components/Dropdown/Dropdown.js.map +1 -1
  108. package/es/components/Dropdown/Dropdown.styles.js +27 -15
  109. package/es/components/Dropdown/Dropdown.styles.js.map +1 -1
  110. package/es/components/Dropdown/Dropdown.styles_1tihqkp.css +3 -0
  111. package/es/components/Dropdown/Dropdown.tokens.js +1 -24
  112. package/es/components/Dropdown/Dropdown.tokens.js.map +1 -1
  113. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +53 -18
  114. package/es/components/Dropdown/ui/DropdownInner/DropdownInner.js.map +1 -1
  115. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.css +6 -46
  116. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +20 -31
  117. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  118. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +29 -26
  119. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  120. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles_blclup.css +6 -0
  121. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItem.styles.js +1 -1
  122. package/es/components/Dropdown/ui/DropdownItemOld/{DropdownItem.styles_1lyg81y.css → DropdownItem.styles_12e50g5.css} +1 -1
  123. package/es/components/Dropdown/ui/DropdownItemOld/DropdownItemOld.css +4 -4
  124. package/es/components/Dropdown/utils/index.js.map +1 -1
  125. package/es/components/Notification/Notification.js +2 -2
  126. package/es/components/Notification/Notification.js.map +1 -1
  127. package/es/components/Notification/Notification.types.js.map +1 -1
  128. package/es/components/Notification/NotificationsPortal.js +4 -2
  129. package/es/components/Notification/NotificationsPortal.js.map +1 -1
  130. package/es/components/Notification/NotificationsProvider.js +3 -1
  131. package/es/components/Notification/NotificationsProvider.js.map +1 -1
  132. package/es/components/Select/utils/getCorrectHeight.js.map +1 -1
  133. package/es/hooks/useOutsideClick.js +1 -1
  134. package/es/hooks/useOutsideClick.js.map +1 -1
  135. package/es/index.css +14 -12
  136. package/es/index.js +1 -1
  137. package/package.json +2 -2
  138. package/styled-components/cjs/components/Dropdown/Dropdown.js +37 -58
  139. package/styled-components/cjs/components/Dropdown/Dropdown.styles.js +15 -9
  140. package/styled-components/cjs/components/Dropdown/Dropdown.tokens.js +2 -36
  141. package/styled-components/cjs/components/Dropdown/ui/DropdownInner/DropdownInner.js +51 -17
  142. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +18 -29
  143. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +19 -17
  144. package/styled-components/cjs/components/Dropdown/utils/index.js +1 -23
  145. package/styled-components/cjs/components/Notification/Notification.js +2 -2
  146. package/styled-components/cjs/components/Notification/Notification.template-doc.mdx +15 -7
  147. package/styled-components/cjs/components/Notification/NotificationsPortal.js +4 -2
  148. package/styled-components/cjs/components/Notification/NotificationsProvider.js +3 -1
  149. package/styled-components/cjs/components/Notification/index.js +4 -4
  150. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +5 -5
  151. package/styled-components/cjs/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +5 -6
  152. package/styled-components/cjs/examples/plasma_b2c/components/Notification/Notification.js +5 -3
  153. package/styled-components/cjs/examples/plasma_b2c/components/Notification/Notification.stories.tsx +25 -4
  154. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Dropdown.config.js +5 -5
  155. package/styled-components/cjs/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +5 -6
  156. package/styled-components/cjs/examples/plasma_web/components/Notification/Notification.js +5 -3
  157. package/styled-components/cjs/examples/plasma_web/components/Notification/Notification.stories.tsx +25 -4
  158. package/styled-components/cjs/hooks/useOutsideClick.js +1 -1
  159. package/styled-components/es/components/Dropdown/Dropdown.js +40 -60
  160. package/styled-components/es/components/Dropdown/Dropdown.styles.js +15 -9
  161. package/styled-components/es/components/Dropdown/Dropdown.tokens.js +1 -35
  162. package/styled-components/es/components/Dropdown/ui/DropdownInner/DropdownInner.js +52 -18
  163. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +20 -31
  164. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +20 -18
  165. package/styled-components/es/components/Dropdown/utils/index.js +1 -4
  166. package/styled-components/es/components/Notification/Notification.js +1 -1
  167. package/styled-components/es/components/Notification/Notification.template-doc.mdx +15 -7
  168. package/styled-components/es/components/Notification/NotificationsPortal.js +4 -2
  169. package/styled-components/es/components/Notification/NotificationsProvider.js +3 -1
  170. package/styled-components/es/components/Notification/index.js +1 -1
  171. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.config.js +6 -6
  172. package/styled-components/es/examples/plasma_b2c/components/Dropdown/Dropdown.stories.tsx +5 -6
  173. package/styled-components/es/examples/plasma_b2c/components/Notification/Notification.js +6 -4
  174. package/styled-components/es/examples/plasma_b2c/components/Notification/Notification.stories.tsx +25 -4
  175. package/styled-components/es/examples/plasma_web/components/Dropdown/Dropdown.config.js +6 -6
  176. package/styled-components/es/examples/plasma_web/components/Dropdown/Dropdown.stories.tsx +5 -6
  177. package/styled-components/es/examples/plasma_web/components/Notification/Notification.js +6 -4
  178. package/styled-components/es/examples/plasma_web/components/Notification/Notification.stories.tsx +25 -4
  179. package/styled-components/es/hooks/useOutsideClick.js +1 -1
  180. package/types/components/Combobox/ComboboxOld/Combobox.types.d.ts +1 -2
  181. package/types/components/Combobox/ComboboxOld/Combobox.types.d.ts.map +1 -1
  182. package/types/components/Dropdown/Dropdown.d.ts +1 -2
  183. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  184. package/types/components/Dropdown/Dropdown.styles.d.ts +6 -1
  185. package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
  186. package/types/components/Dropdown/Dropdown.tokens.d.ts +0 -25
  187. package/types/components/Dropdown/Dropdown.tokens.d.ts.map +1 -1
  188. package/types/components/Dropdown/Dropdown.types.d.ts +4 -30
  189. package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
  190. package/types/components/Dropdown/index.d.ts +1 -1
  191. package/types/components/Dropdown/index.d.ts.map +1 -1
  192. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.d.ts.map +1 -1
  193. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts +12 -1
  194. package/types/components/Dropdown/ui/DropdownInner/DropdownInner.type.d.ts.map +1 -1
  195. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.d.ts.map +1 -1
  196. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts +3 -32
  197. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts.map +1 -1
  198. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts +14 -1
  199. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.type.d.ts.map +1 -1
  200. package/types/components/Dropdown/utils/index.d.ts +0 -3
  201. package/types/components/Dropdown/utils/index.d.ts.map +1 -1
  202. package/types/components/Notification/Notification.d.ts +3 -3
  203. package/types/components/Notification/Notification.d.ts.map +1 -1
  204. package/types/components/Notification/Notification.types.d.ts +11 -5
  205. package/types/components/Notification/Notification.types.d.ts.map +1 -1
  206. package/types/components/Notification/NotificationsProvider.d.ts +4 -3
  207. package/types/components/Notification/NotificationsProvider.d.ts.map +1 -1
  208. package/types/components/Notification/index.d.ts +2 -2
  209. package/types/components/Notification/index.d.ts.map +1 -1
  210. package/types/components/Select/utils/getCorrectHeight.d.ts +2 -2
  211. package/types/components/Select/utils/getCorrectHeight.d.ts.map +1 -1
  212. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.config.d.ts +3 -3
  213. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.config.d.ts.map +1 -1
  214. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts +4 -4
  215. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts.map +1 -1
  216. package/types/examples/plasma_b2c/components/Notification/Notification.d.ts +4 -2
  217. package/types/examples/plasma_b2c/components/Notification/Notification.d.ts.map +1 -1
  218. package/types/examples/plasma_web/components/Dropdown/Dropdown.config.d.ts +3 -3
  219. package/types/examples/plasma_web/components/Dropdown/Dropdown.config.d.ts.map +1 -1
  220. package/types/examples/plasma_web/components/Dropdown/Dropdown.d.ts +4 -4
  221. package/types/examples/plasma_web/components/Dropdown/Dropdown.d.ts.map +1 -1
  222. package/types/examples/plasma_web/components/Notification/Notification.d.ts +4 -13
  223. package/types/examples/plasma_web/components/Notification/Notification.d.ts.map +1 -1
  224. package/types/hooks/useOutsideClick.d.ts +1 -1
  225. package/types/hooks/useOutsideClick.d.ts.map +1 -1
  226. package/cjs/components/Dropdown/Dropdown.styles_18f0qpm.css +0 -2
  227. package/cjs/components/Dropdown/FloatingPopover.js +0 -104
  228. package/cjs/components/Dropdown/FloatingPopover.js.map +0 -1
  229. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles_17va0nk.css +0 -5
  230. package/cjs/components/Dropdown/utils/getItemByFocused.js +0 -13
  231. package/cjs/components/Dropdown/utils/getItemByFocused.js.map +0 -1
  232. package/cjs/components/Dropdown/utils/getItemId.js +0 -10
  233. package/cjs/components/Dropdown/utils/getItemId.js.map +0 -1
  234. package/cjs/components/Dropdown/utils/getPlacement.js +0 -16
  235. package/cjs/components/Dropdown/utils/getPlacement.js.map +0 -1
  236. package/emotion/cjs/components/Dropdown/FloatingPopover.js +0 -109
  237. package/emotion/cjs/components/Dropdown/utils/getItemByFocused.js +0 -12
  238. package/emotion/cjs/components/Dropdown/utils/getItemId.js +0 -9
  239. package/emotion/cjs/components/Dropdown/utils/getPlacement.js +0 -15
  240. package/emotion/es/components/Dropdown/FloatingPopover.js +0 -102
  241. package/emotion/es/components/Dropdown/utils/getItemByFocused.js +0 -6
  242. package/emotion/es/components/Dropdown/utils/getItemId.js +0 -3
  243. package/emotion/es/components/Dropdown/utils/getPlacement.js +0 -9
  244. package/es/components/Dropdown/Dropdown.styles_18f0qpm.css +0 -2
  245. package/es/components/Dropdown/FloatingPopover.js +0 -100
  246. package/es/components/Dropdown/FloatingPopover.js.map +0 -1
  247. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles_17va0nk.css +0 -5
  248. package/es/components/Dropdown/utils/getItemByFocused.js +0 -9
  249. package/es/components/Dropdown/utils/getItemByFocused.js.map +0 -1
  250. package/es/components/Dropdown/utils/getItemId.js +0 -6
  251. package/es/components/Dropdown/utils/getItemId.js.map +0 -1
  252. package/es/components/Dropdown/utils/getPlacement.js +0 -12
  253. package/es/components/Dropdown/utils/getPlacement.js.map +0 -1
  254. package/styled-components/cjs/components/Dropdown/FloatingPopover.js +0 -109
  255. package/styled-components/cjs/components/Dropdown/utils/getItemByFocused.js +0 -12
  256. package/styled-components/cjs/components/Dropdown/utils/getItemId.js +0 -9
  257. package/styled-components/cjs/components/Dropdown/utils/getPlacement.js +0 -15
  258. package/styled-components/es/components/Dropdown/FloatingPopover.js +0 -102
  259. package/styled-components/es/components/Dropdown/utils/getItemByFocused.js +0 -6
  260. package/styled-components/es/components/Dropdown/utils/getItemId.js +0 -3
  261. package/styled-components/es/components/Dropdown/utils/getPlacement.js +0 -9
  262. package/types/components/Dropdown/FloatingPopover.d.ts +0 -5
  263. package/types/components/Dropdown/FloatingPopover.d.ts.map +0 -1
  264. package/types/components/Dropdown/utils/getItemByFocused.d.ts +0 -4
  265. package/types/components/Dropdown/utils/getItemByFocused.d.ts.map +0 -1
  266. package/types/components/Dropdown/utils/getItemId.d.ts +0 -2
  267. package/types/components/Dropdown/utils/getItemId.d.ts.map +0 -1
  268. package/types/components/Dropdown/utils/getPlacement.d.ts +0 -3
  269. package/types/components/Dropdown/utils/getPlacement.d.ts.map +0 -1
@@ -1,8 +1,7 @@
1
1
  import type { CSSProperties, HTMLAttributes, ReactNode, SyntheticEvent } from 'react';
2
- import React from 'react';
3
- import { FocusedPathState } from './reducers/focusedPathReducer';
4
2
  import { DropdownItemOption } from './ui/DropdownItem/DropdownItem.type';
5
- export declare type DropdownPlacement = 'auto' | 'top' | 'right' | 'bottom' | 'left';
3
+ export declare type DropdownPlacementBasic = 'top' | 'bottom' | 'right' | 'left';
4
+ export declare type DropdownPlacement = DropdownPlacementBasic | 'auto';
6
5
  export declare type DropdownTrigger = 'hover' | 'click';
7
6
  export interface DropdownProps extends HTMLAttributes<HTMLDivElement> {
8
7
  /**
@@ -35,7 +34,7 @@ export interface DropdownProps extends HTMLAttributes<HTMLDivElement> {
35
34
  * Сторона открытия дропдауна относительно target элемента.
36
35
  * @default bottom
37
36
  */
38
- placement?: DropdownPlacement;
37
+ placement?: DropdownPlacement | Array<DropdownPlacementBasic>;
39
38
  /**
40
39
  * Отступ дропдауна относительно элемента, у которого оно вызвано.
41
40
  * @default [0, 0]
@@ -101,30 +100,5 @@ export interface DropdownProps extends HTMLAttributes<HTMLDivElement> {
101
100
  */
102
101
  hoverIndex?: number;
103
102
  }
104
- export declare type HandleGlobalToggleType = (opened: boolean, event: SyntheticEvent | Event) => void;
105
- export declare type PlacementType = 'auto' | 'top-start' | 'right-start' | 'bottom-start' | 'left-start';
106
- export declare type FloatingPopoverProps = {
107
- target: React.ReactNode;
108
- children: React.ReactNode;
109
- opened: boolean;
110
- onToggle: (opened: boolean, event: SyntheticEvent | Event) => void;
111
- placement: PlacementType;
112
- trigger: DropdownProps['trigger'];
113
- isInner?: boolean;
114
- portal?: DropdownProps['portal'];
115
- offset?: [number, number];
116
- };
117
- export declare type ItemContext = {
118
- focusedPath: FocusedPathState;
119
- size: DropdownProps['size'];
120
- variant: DropdownProps['variant'];
121
- itemRole: DropdownProps['itemRole'];
122
- handleGlobalToggle: HandleGlobalToggleType;
123
- closeOnSelect: DropdownProps['closeOnSelect'];
124
- onHover: DropdownProps['onHover'];
125
- onItemSelect: DropdownProps['onItemSelect'];
126
- onItemClick: DropdownProps['onItemClick'];
127
- hasArrow: DropdownProps['hasArrow'];
128
- treeId: string;
129
- };
103
+ export declare type HandleGlobalToggleType = (opened: boolean, event: Event | SyntheticEvent<Element, Event>) => void;
130
104
  //# sourceMappingURL=Dropdown.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.types.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACtF,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,oBAAY,iBAAiB,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE7E,oBAAY,eAAe,GAAG,OAAO,GAAG,OAAO,CAAC;AAEhD,MAAM,WAAW,aAAc,SAAQ,cAAc,CAAC,cAAc,CAAC;IACjE;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;IACjC;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,kBAAkB,EAAE,KAAK,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;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,OAAO,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC7B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAE/C;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,kBAAkB,EAAE,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IACxE;;;;;OAKG;IACH,YAAY,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACzC;;;;;OAKG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC,QAAQ,CAAC,CAAC;IAC9C;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,oBAAY,sBAAsB,GAAG,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,GAAG,cAAc,CAAC,OAAO,EAAE,KAAK,CAAC,KAAK,IAAI,CAAC"}
@@ -1,7 +1,7 @@
1
1
  export { dropdownRoot, dropdownConfig } from './Dropdown';
2
2
  export { classes as dropdownClasses, tokens as dropdownTokens } from './Dropdown.tokens';
3
3
  export { useKeyNavigation as useDropdownKeyNavigation } from './hooks/useKeyboardNavigation';
4
- export type { DropdownProps, DropdownPlacementBasic, DropdownPlacement, DropdownTrigger, } from './ui/DropdownOld/Dropdown.types';
4
+ export type { DropdownProps, DropdownPlacementBasic, DropdownPlacement, DropdownTrigger } from './Dropdown.types';
5
5
  export type { DropdownItemProps, DropdownItemOption } from './ui/DropdownItem/DropdownItem.type';
6
6
  export * from './ui';
7
7
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACzF,OAAO,EAAE,gBAAgB,IAAI,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAC7F,YAAY,EACR,aAAa,EACb,sBAAsB,EACtB,iBAAiB,EACjB,eAAe,GAClB,MAAM,iCAAiC,CAAC;AACzC,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACjG,cAAc,MAAM,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACzF,OAAO,EAAE,gBAAgB,IAAI,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAC7F,YAAY,EAAE,aAAa,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAClH,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACjG,cAAc,MAAM,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownInner.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownInner/DropdownInner.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAOhC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CA0EzC,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,CAAC"}
1
+ {"version":3,"file":"DropdownInner.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownInner/DropdownInner.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAsHzC,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,CAAC"}
@@ -1,16 +1,27 @@
1
- import type { Dispatch } from 'react';
1
+ import type { SyntheticEvent, Dispatch } from 'react';
2
2
  import type { DropdownItemOption } from '../DropdownItem/DropdownItem.type';
3
3
  import type { DropdownProps } from '../../Dropdown.types';
4
+ import type { FocusedPathState } from '../../reducers/focusedPathReducer';
4
5
  import type { PathState, PathAction } from '../../reducers/pathReducer';
5
6
  export interface DropdownInnerProps {
6
7
  item: DropdownItemOption;
7
8
  currentLevel: number;
9
+ focusedPath: FocusedPathState;
8
10
  path: PathState;
9
11
  dispatchPath: Dispatch<PathAction>;
10
12
  index: number;
11
13
  trigger: DropdownProps['trigger'];
14
+ itemRole: string;
12
15
  listHeight: DropdownProps['listHeight'];
13
16
  listOverflow: DropdownProps['listOverflow'];
17
+ handleGlobalToggle: (opened: boolean, event: Event | SyntheticEvent<Element, Event>) => void;
18
+ closeOnSelect: DropdownProps['closeOnSelect'];
19
+ onHover: DropdownProps['onHover'];
20
+ onItemSelect: DropdownProps['onItemSelect'];
21
+ onItemClick: DropdownProps['onItemClick'];
14
22
  listWidth: DropdownProps['listWidth'];
23
+ variant: DropdownProps['variant'];
24
+ hasArrow: DropdownProps['hasArrow'];
25
+ size?: string;
15
26
  }
16
27
  //# sourceMappingURL=DropdownInner.type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownInner.type.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownInner/DropdownInner.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExE,MAAM,WAAW,kBAAkB;IAC/B,IAAI,EAAE,kBAAkB,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,SAAS,CAAC;IAChB,YAAY,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IAClC,UAAU,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IACxC,YAAY,EAAE,aAAa,CAAC,cAAc,CAAC,CAAC;IAC5C,SAAS,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;CACzC"}
1
+ {"version":3,"file":"DropdownInner.type.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownInner/DropdownInner.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAC5E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,KAAK,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExE,MAAM,WAAW,kBAAkB;IAC/B,IAAI,EAAE,kBAAkB,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,IAAI,EAAE,SAAS,CAAC;IAChB,YAAY,EAAE,QAAQ,CAAC,UAAU,CAAC,CAAC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;IACxC,YAAY,EAAE,aAAa,CAAC,cAAc,CAAC,CAAC;IAC5C,kBAAkB,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,GAAG,cAAc,CAAC,OAAO,EAAE,KAAK,CAAC,KAAK,IAAI,CAAC;IAC7F,aAAa,EAAE,aAAa,CAAC,eAAe,CAAC,CAAC;IAC9C,OAAO,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IAClC,YAAY,EAAE,aAAa,CAAC,cAAc,CAAC,CAAC;IAC5C,WAAW,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;IAC1C,SAAS,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;IACtC,OAAO,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IAClC,QAAQ,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownItem/DropdownItem.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAqB,EAAE,EAAc,MAAM,OAAO,CAAC;AASjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA8G9C,CAAC"}
1
+ {"version":3,"file":"DropdownItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownItem/DropdownItem.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAqB,EAAE,EAAE,MAAM,OAAO,CAAC;AAcrD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAkG9C,CAAC"}
@@ -1,38 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import { DropdownProps } from '../../Dropdown.types';
3
- export declare const CellWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
- export declare const StyledCell: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../../engines/types").PropsType<import("../../../../engines/types").Variants> & (({
5
- size?: string | undefined;
6
- view?: string | undefined;
7
- contentLeft?: import("react").ReactNode;
8
- contentRight?: import("react").ReactNode;
9
- alignContentLeft?: import("../../../Cell/Cell.types").AlignProp | undefined;
10
- alignContentRight?: import("../../../Cell/Cell.types").AlignProp | undefined;
11
- stretching?: "auto" | "fixed" | "filled" | undefined;
12
- content?: import("react").ReactNode;
13
- description?: string | undefined;
14
- } & {
15
- title?: string | undefined;
16
- subtitle?: string | undefined;
17
- label?: string | undefined;
18
- children?: undefined;
19
- } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>) | ({
20
- size?: string | undefined;
21
- view?: string | undefined;
22
- contentLeft?: import("react").ReactNode;
23
- contentRight?: import("react").ReactNode;
24
- alignContentLeft?: import("../../../Cell/Cell.types").AlignProp | undefined;
25
- alignContentRight?: import("../../../Cell/Cell.types").AlignProp | undefined;
26
- stretching?: "auto" | "fixed" | "filled" | undefined;
27
- content?: import("react").ReactNode;
28
- description?: string | undefined;
29
- } & {
30
- title?: undefined;
31
- subtitle?: undefined;
32
- label?: undefined;
33
- children?: import("react").ReactNode;
34
- } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>))>;
3
+ export declare const StyledContentLeft: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
4
+ export declare const StyledContentRight: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
35
5
  export declare const DisclosureIconWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
6
+ export declare const StyledText: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
36
7
  export declare const Divider: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
37
8
  variant: DropdownProps['variant'];
38
9
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownItem.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownItem/DropdownItem.styles.ts"],"names":[],"mappings":";AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAOrD,eAAO,MAAM,WAAW,qKAgBvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qGAAiB,CAAC;AAEzC,eAAO,MAAM,qBAAqB,qKAGjC,CAAC;AAEF,eAAO,MAAM,OAAO;aAAyB,aAAa,CAAC,SAAS,CAAC;EASpE,CAAC;AAEF,eAAO,MAAM,OAAO;aAAwB,aAAa,CAAC,SAAS,CAAC;EAmDnE,CAAC"}
1
+ {"version":3,"file":"DropdownItem.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownItem/DropdownItem.styles.ts"],"names":[],"mappings":";AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,eAAO,MAAM,iBAAiB,qKAE7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,qKAG9B,CAAC;AAEF,eAAO,MAAM,qBAAqB,qKAGjC,CAAC;AAEF,eAAO,MAAM,UAAU,qKAGtB,CAAC;AAEF,eAAO,MAAM,OAAO;aAAyB,aAAa,CAAC,SAAS,CAAC;EASpE,CAAC;AAEF,eAAO,MAAM,OAAO;aAAwB,aAAa,CAAC,SAAS,CAAC;EAoDnE,CAAC"}
@@ -1,4 +1,6 @@
1
- import type { HTMLAttributes, ReactNode } from 'react';
1
+ import type { HTMLAttributes, ReactNode, SyntheticEvent } from 'react';
2
+ import { DropdownProps } from '../../Dropdown.types';
3
+ import type { FocusedPathState } from '../../reducers/focusedPathReducer';
2
4
  import type { PathState } from '../../reducers/pathReducer';
3
5
  export declare type DropdownItemOption = {
4
6
  /**
@@ -51,11 +53,22 @@ export declare type DropdownItemOption = {
51
53
  };
52
54
  export interface DropdownItemProps extends HTMLAttributes<HTMLLIElement> {
53
55
  item: DropdownItemOption;
56
+ focusedPath: FocusedPathState;
54
57
  currentLevel: number;
55
58
  index: number;
59
+ variant: DropdownProps['variant'];
60
+ size?: string;
56
61
  path?: PathState;
62
+ itemRole?: DropdownProps['itemRole'];
63
+ closeOnSelect?: DropdownProps['closeOnSelect'];
64
+ handleGlobalToggle?: (opened: boolean, event: Event | SyntheticEvent<Element, Event>) => void;
65
+ onHover?: DropdownProps['onHover'];
66
+ onItemSelect?: DropdownProps['onItemSelect'];
67
+ onItemClick?: DropdownProps['onItemClick'];
68
+ hasArrow?: DropdownProps['hasArrow'];
57
69
  ariaControls?: string;
58
70
  ariaExpanded?: boolean;
71
+ ariaHasPopup?: React.AriaAttributes['aria-haspopup'];
59
72
  ariaLevel?: React.AriaAttributes['aria-level'];
60
73
  ariaLabel?: React.AriaAttributes['aria-label'];
61
74
  }
@@ -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,MAAM,OAAO,CAAC;AAEvD,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;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;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,YAAY,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,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,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,SAA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,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"}
@@ -4,7 +4,4 @@ import type { DropdownProps } from '../Dropdown.types';
4
4
  export declare const getCorrectHeight: (listHeight: Required<DropdownProps>['listHeight']) => string;
5
5
  export declare const childrenWithProps: (children: ReactNode, additionalProps: HTMLAttributes<HTMLLIElement>) => (string | number | React.ReactFragment | React.ReactElement<any, string | React.JSXElementConstructor<any>>)[] | null | undefined;
6
6
  export declare const getValidComponent: (element: ElementType | ReactNode, props: object) => string | number | boolean | React.ReactFragment | JSX.Element | null | undefined;
7
- export { getItemId } from './getItemId';
8
- export { getItemByFocused } from './getItemByFocused';
9
- export { getPlacement } from './getPlacement';
10
7
  //# 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;AAEnG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD,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;AAEF,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
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;AAEnG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD,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"}
@@ -4,11 +4,11 @@ import { NotificationProps } from './Notification.types';
4
4
  /**
5
5
  * Компонент для небольших уведомлений пользователя
6
6
  */
7
- export declare const notificationRoot: (Root: RootProps<HTMLDivElement, NotificationProps>) => React.ForwardRefExoticComponent<NotificationProps & React.RefAttributes<HTMLDivElement>>;
8
- export declare const noticationConfig: {
7
+ export declare const notificationRoot: (Root: RootProps<HTMLDivElement, Omit<NotificationProps, 'title'>>) => React.ForwardRefExoticComponent<NotificationProps & React.RefAttributes<HTMLDivElement>>;
8
+ export declare const notificationConfig: {
9
9
  name: string;
10
10
  tag: string;
11
- layout: (Root: RootProps<HTMLDivElement, NotificationProps>) => React.ForwardRefExoticComponent<NotificationProps & React.RefAttributes<HTMLDivElement>>;
11
+ layout: (Root: RootProps<HTMLDivElement, Omit<NotificationProps, 'title'>>) => React.ForwardRefExoticComponent<NotificationProps & React.RefAttributes<HTMLDivElement>>;
12
12
  base: import("@linaria/core").LinariaClassName;
13
13
  variations: {
14
14
  layout: {
@@ -1 +1 @@
1
- {"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../src/components/Notification/Notification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAQ1C,OAAO,EAAsB,iBAAiB,EAAW,MAAM,sBAAsB,CAAC;AActF;;GAEG;AACH,eAAO,MAAM,gBAAgB,SAAU,UAAU,cAAc,EAAE,iBAAiB,CAAC,6FAwF7E,CAAC;AAEP,eAAO,MAAM,gBAAgB;;;mBA1FU,UAAU,cAAc,EAAE,iBAAiB,CAAC;;;;;;;;;;;;;;;;;;CA+GlF,CAAC"}
1
+ {"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../src/components/Notification/Notification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAQ1C,OAAO,EAAsB,iBAAiB,EAAW,MAAM,sBAAsB,CAAC;AActF;;GAEG;AACH,eAAO,MAAM,gBAAgB,SAAU,UAAU,cAAc,EAAE,KAAK,iBAAiB,EAAE,OAAO,CAAC,CAAC,6FAwF5F,CAAC;AAEP,eAAO,MAAM,kBAAkB;;;mBA1FQ,UAAU,cAAc,EAAE,KAAK,iBAAiB,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;CA+GjG,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import type { AsProps } from '@salutejs/plasma-core';
2
- import { HTMLAttributes, ReactNode, RefAttributes } from 'react';
2
+ import { HTMLAttributes, ReactNode } from 'react';
3
3
  import { ComponentConfig, PropsType, Variants } from '../../engines/types';
4
4
  export declare const layouts: {
5
5
  horizontal: string;
@@ -11,6 +11,7 @@ export declare const placements: {
11
11
  left: string;
12
12
  };
13
13
  export declare type NotificationIconPlacement = keyof typeof placements;
14
+ export declare type NotificationPlacement = 'bottom-right' | 'bottom-left';
14
15
  export declare type LayoutType = {
15
16
  layout?: NotificationLayout;
16
17
  };
@@ -20,11 +21,11 @@ export declare type IconPlacementType = {
20
21
  export declare type CloseIconType = {
21
22
  showCloseIcon?: boolean;
22
23
  };
23
- export interface NotificationProps extends AsProps, HTMLAttributes<HTMLDivElement> {
24
+ export interface NotificationProps extends AsProps, Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
24
25
  /**
25
26
  * Заголовок.
26
27
  */
27
- title?: string;
28
+ title?: ReactNode;
28
29
  /**
29
30
  * Контент под заголовком.
30
31
  */
@@ -70,14 +71,19 @@ export interface NotificationProps extends AsProps, HTMLAttributes<HTMLDivElemen
70
71
  */
71
72
  size?: string;
72
73
  }
73
- export interface NotificationPortalProps extends HTMLAttributes<HTMLDivElement> {
74
+ export interface NotificationPortalProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
74
75
  /**
75
76
  * Конфиг компонента Notification.
76
77
  */
77
- config: ComponentConfig<string, Variants, PropsType<Variants>, NotificationProps & RefAttributes<HTMLDivElement>>;
78
+ config: ComponentConfig<string, Variants, PropsType<Variants>, NotificationProps & HTMLAttributes<HTMLDivElement>>;
78
79
  /**
79
80
  * В каком контейнере позиционируется(по умолчанию document), можно также указать id элемента или ref для него.
80
81
  */
81
82
  frame?: string;
83
+ /**
84
+ * Расположение компонента Notification во frame
85
+ * @default bottom-right
86
+ */
87
+ placement?: NotificationPlacement;
82
88
  }
83
89
  //# sourceMappingURL=Notification.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Notification.types.d.ts","sourceRoot":"","sources":["../../../src/components/Notification/Notification.types.ts"],"names":[],"mappings":"AAAA,O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G;IACH,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB;;OAEG;IACH,MAAM,CAAC,EAAE,kBAAkB,CAAC;IAC5B;;OAEG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,aAAa,CAAC,EAAE,yBAAyB,CAAC;IAC1C;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,IAAI,CAAC;IAChC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,uBAAwB,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC;IAC1F;;OAEG;IACH,MAAM,EAAE,eAAe,CAAC,MAAM,EAAE,QAAQ,EAAE,SAAS,CAAC,QAAQ,CAAC,EAAE,iBAAiB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC;IACnH;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,SAAS,CAAC,EAAE,qBAAqB,CAAC;CACrC"}
@@ -1,10 +1,11 @@
1
- import { FC, ReactNode, RefAttributes } from 'react';
1
+ import { FC, HTMLAttributes, ReactNode } from 'react';
2
2
  import { ComponentConfig } from '../../engines';
3
3
  import { PropsType, Variants } from '../../engines/types';
4
- import { NotificationProps } from './Notification.types';
4
+ import { NotificationPlacement, NotificationProps } from './Notification.types';
5
5
  export declare const NotificationsProvider: FC<{
6
6
  children: ReactNode;
7
- config: ComponentConfig<string, Variants, PropsType<Variants>, NotificationProps & RefAttributes<HTMLDivElement>>;
7
+ config: ComponentConfig<string, Variants, PropsType<Variants>, NotificationProps & HTMLAttributes<HTMLDivElement>>;
8
8
  frame?: string;
9
+ placement?: NotificationPlacement;
9
10
  }>;
10
11
  //# sourceMappingURL=NotificationsProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationsProvider.d.ts","sourceRoot":"","sources":["../../../src/components/Notification/NotificationsProvider.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAG5D,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAI1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC;IACnC,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,EAAE,eAAe,CAAC,MAAM,EAAE,QAAQ,EAAE,SAAS,CAAC,QAAQ,CAAC,EAAE,iBAAiB,GAAG,aAAa,CAAC,cAAc,CAAC,CAAC,CAAC;IAClH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAOA,CAAC"}
1
+ {"version":3,"file":"NotificationsProvider.d.ts","sourceRoot":"","sources":["../../../src/components/Notification/NotificationsProvider.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAG7D,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAI1D,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEhF,eAAO,MAAM,qBAAqB,EAAE,EAAE,CAAC;IACnC,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,EAAE,eAAe,CAAC,MAAM,EAAE,QAAQ,EAAE,SAAS,CAAC,QAAQ,CAAC,EAAE,iBAAiB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC;IACnH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,qBAAqB,CAAC;CACrC,CAOA,CAAC"}
@@ -1,6 +1,6 @@
1
1
  export { NotificationsProvider } from './NotificationsProvider';
2
- export { notificationRoot, noticationConfig } from './Notification';
2
+ export { notificationRoot, notificationConfig } from './Notification';
3
3
  export { addNotification, closeNotification } from './NotificationsStore';
4
4
  export { classes as notificationClasses, tokens as notificationTokens } from './Notification.tokens';
5
- export type { NotificationProps, NotificationPortalProps, NotificationLayout, NotificationIconPlacement, } from './Notification.types';
5
+ export type { NotificationProps, NotificationPortalProps, NotificationLayout, NotificationIconPlacement, NotificationPlacement, } from './Notification.types';
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Notification/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,IAAI,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AACrG,YAAY,EACR,iBAAiB,EACjB,uBAAuB,EACvB,kBAAkB,EAClB,yBAAyB,GAC5B,MAAM,sBAAsB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Notification/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAAE,eAAe,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,IAAI,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AACrG,YAAY,EACR,iBAAiB,EACjB,uBAAuB,EACvB,kBAAkB,EAClB,yBAAyB,EACzB,qBAAqB,GACxB,MAAM,sBAAsB,CAAC"}
@@ -1,3 +1,3 @@
1
- import type { CSSProperties } from 'react';
2
- export declare const getCorrectHeight: (listHeight: NonNullable<CSSProperties['height']>) => string;
1
+ import type { DropdownProps } from '../../Dropdown';
2
+ export declare const getCorrectHeight: (listHeight: Required<DropdownProps>['listHeight']) => string;
3
3
  //# sourceMappingURL=getCorrectHeight.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getCorrectHeight.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/utils/getCorrectHeight.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE3C,eAAO,MAAM,gBAAgB,eAAgB,YAAY,aAAa,CAAC,QAAQ,CAAC,CAAC,KAAG,MAKnF,CAAC"}
1
+ {"version":3,"file":"getCorrectHeight.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/utils/getCorrectHeight.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAEpD,eAAO,MAAM,gBAAgB,eAAgB,SAAS,aAAa,CAAC,CAAC,YAAY,CAAC,KAAG,MAKpF,CAAC"}
@@ -5,10 +5,10 @@ export declare const config: {
5
5
  };
6
6
  variations: {
7
7
  size: {
8
- l: import("@linaria/core").LinariaClassName;
9
- m: import("@linaria/core").LinariaClassName;
10
- s: import("@linaria/core").LinariaClassName;
11
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
12
  };
13
13
  view: {
14
14
  default: import("@linaria/core").LinariaClassName;
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Dropdown/Dropdown.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;CAkKlB,CAAC"}
1
+ {"version":3,"file":"Dropdown.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Dropdown/Dropdown.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;CAkIlB,CAAC"}
@@ -1,13 +1,13 @@
1
1
  /// <reference types="react" />
2
2
  export declare const Dropdown: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
3
3
  size: {
4
- l: import("@linaria/core").LinariaClassName;
5
- m: import("@linaria/core").LinariaClassName;
6
- s: import("@linaria/core").LinariaClassName;
7
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
8
  };
9
9
  view: {
10
10
  default: import("@linaria/core").LinariaClassName;
11
11
  };
12
- }> & import("../../../../components/Dropdown/Dropdown.types").DropdownProps & import("react").RefAttributes<HTMLDivElement>>;
12
+ }> & import("../../../../components/Dropdown").DropdownProps & import("react").RefAttributes<HTMLDivElement>>;
13
13
  //# sourceMappingURL=Dropdown.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Dropdown/Dropdown.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,QAAQ;;;;;;;;;;4HAA0B,CAAC"}
1
+ {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Dropdown/Dropdown.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,QAAQ;;;;;;;;;;6GAA0B,CAAC"}
@@ -1,9 +1,11 @@
1
1
  import React, { ReactNode } from 'react';
2
- import { NotificationProps } from '../../../../components/Notification';
2
+ import { NotificationProps, NotificationPlacement } from '../../../../components/Notification';
3
3
  export { modalClasses } from '../../../../components/Modal';
4
- export declare const Notification: React.ForwardRefExoticComponent<NotificationProps & React.RefAttributes<HTMLDivElement>>;
4
+ export declare const Notification: React.ForwardRefExoticComponent<NotificationProps & React.HTMLAttributes<HTMLDivElement>>;
5
+ export type { NotificationPlacement };
5
6
  export declare const NotificationsProvider: React.FC<{
6
7
  children: ReactNode;
7
8
  frame?: string;
9
+ placement?: NotificationPlacement;
8
10
  }>;
9
11
  //# sourceMappingURL=Notification.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Notification/Notification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA6B,SAAS,EAAiB,MAAM,OAAO,CAAC;AAEnF,OAAO,EAEH,iBAAiB,EAEpB,MAAM,qCAAqC,CAAC;AAK7C,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAI5D,eAAO,MAAM,YAAY,0FAExB,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,SAAS,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CASnF,CAAC"}
1
+ {"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Notification/Notification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA6C,SAAS,EAAE,MAAM,OAAO,CAAC;AAEpF,OAAO,EAEH,iBAAiB,EAEjB,qBAAqB,EACxB,MAAM,qCAAqC,CAAC;AAK7C,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAI5D,eAAO,MAAM,YAAY,2FAExB,CAAC;AAEF,YAAY,EAAE,qBAAqB,EAAE,CAAC;AAEtC,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC;IACzC,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,qBAAqB,CAAC;CACrC,CAMA,CAAC"}
@@ -5,10 +5,10 @@ export declare const config: {
5
5
  };
6
6
  variations: {
7
7
  size: {
8
- l: import("@linaria/core").LinariaClassName;
9
- m: import("@linaria/core").LinariaClassName;
10
- s: import("@linaria/core").LinariaClassName;
11
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
12
  };
13
13
  view: {
14
14
  default: import("@linaria/core").LinariaClassName;
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Dropdown/Dropdown.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;CAkKlB,CAAC"}
1
+ {"version":3,"file":"Dropdown.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Dropdown/Dropdown.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;CAkIlB,CAAC"}
@@ -1,13 +1,13 @@
1
1
  /// <reference types="react" />
2
2
  export declare const Dropdown: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
3
3
  size: {
4
- l: import("@linaria/core").LinariaClassName;
5
- m: import("@linaria/core").LinariaClassName;
6
- s: import("@linaria/core").LinariaClassName;
7
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
8
  };
9
9
  view: {
10
10
  default: import("@linaria/core").LinariaClassName;
11
11
  };
12
- }> & import("../../../../components/Dropdown/Dropdown.types").DropdownProps & import("react").RefAttributes<HTMLDivElement>>;
12
+ }> & import("../../../../components/Dropdown").DropdownProps & import("react").RefAttributes<HTMLDivElement>>;
13
13
  //# sourceMappingURL=Dropdown.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Dropdown/Dropdown.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,QAAQ;;;;;;;;;;4HAA0B,CAAC"}
1
+ {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Dropdown/Dropdown.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,QAAQ;;;;;;;;;;6GAA0B,CAAC"}
@@ -1,20 +1,11 @@
1
1
  import React, { ReactNode } from 'react';
2
+ import { NotificationProps, NotificationPlacement } from '../../../../components/Notification';
2
3
  export { modalClasses } from '../../../../components/Modal';
3
- export declare const Notification: React.FunctionComponent<import("../../../../engines/types").PropsType<{
4
- view: {
5
- default: import("@linaria/core").LinariaClassName;
6
- };
7
- layout: {
8
- horizontal: import("@linaria/core").LinariaClassName;
9
- vertical: import("@linaria/core").LinariaClassName;
10
- };
11
- size: {
12
- xs: import("@linaria/core").LinariaClassName;
13
- xxs: import("@linaria/core").LinariaClassName;
14
- };
15
- }> & import("../../../../components/Notification").NotificationProps & React.RefAttributes<HTMLDivElement>>;
4
+ export declare const Notification: React.ForwardRefExoticComponent<NotificationProps & React.HTMLAttributes<HTMLDivElement>>;
5
+ export type { NotificationPlacement };
16
6
  export declare const NotificationsProvider: React.FC<{
17
7
  children: ReactNode;
18
8
  frame?: string;
9
+ placement?: NotificationPlacement;
19
10
  }>;
20
11
  //# sourceMappingURL=Notification.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Notification/Notification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAOzC,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAI5D,eAAO,MAAM,YAAY;;;;;;;;;;;;2GAA0B,CAAC;AAEpD,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,EAAE,SAAS,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CASnF,CAAC"}
1
+ {"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Notification/Notification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA6C,SAAS,EAAE,MAAM,OAAO,CAAC;AAEpF,OAAO,EAEH,iBAAiB,EAEjB,qBAAqB,EACxB,MAAM,qCAAqC,CAAC;AAK7C,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAI5D,eAAO,MAAM,YAAY,2FAExB,CAAC;AAEF,YAAY,EAAE,qBAAqB,EAAE,CAAC;AAEtC,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC;IACzC,QAAQ,EAAE,SAAS,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,qBAAqB,CAAC;CACrC,CAMA,CAAC"}
@@ -1,3 +1,3 @@
1
1
  import type { RefObject } from 'react';
2
- export declare const useOutsideClick: <T extends HTMLElement = HTMLElement>(callback: (event: MouseEvent | TouchEvent) => void, secondaryRef?: RefObject<HTMLElement | null> | null | undefined) => import("react").MutableRefObject<T | null>;
2
+ export declare const useOutsideClick: <T extends HTMLElement = HTMLElement>(callback: () => void, secondaryRef?: RefObject<HTMLElement | null> | null | undefined) => import("react").MutableRefObject<T | null>;
3
3
  //# sourceMappingURL=useOutsideClick.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useOutsideClick.d.ts","sourceRoot":"","sources":["../../src/hooks/useOutsideClick.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,eAAO,MAAM,eAAe,0DACN,UAAU,GAAG,UAAU,KAAK,IAAI,gHA2BrD,CAAC"}
1
+ {"version":3,"file":"useOutsideClick.d.ts","sourceRoot":"","sources":["../../src/hooks/useOutsideClick.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,eAAO,MAAM,eAAe,kDACd,MAAM,IAAI,gHA0BvB,CAAC"}
@@ -1,2 +0,0 @@
1
- .un7uamp{box-sizing:border-box;width:var(--un7uamp-0);height:var(--un7uamp-1);margin:var(--un7uamp-2);padding:var(--plasma-dropdown-padding) 0;overflow:var(--un7uamp-3);background:var(--surface-solid-card);box-shadow:0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);border-radius:var(--plasma-dropdown-border-radius);}
2
-