@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
@@ -24,7 +24,9 @@ var StyledPopup = /*#__PURE__*/styled(Popup).withConfig({
24
24
  */
25
25
  export var NotificationsPortal = function NotificationsPortal(_ref) {
26
26
  var config = _ref.config,
27
- frame = _ref.frame;
27
+ frame = _ref.frame,
28
+ _ref$placement = _ref.placement,
29
+ placement = _ref$placement === void 0 ? 'bottom-right' : _ref$placement;
28
30
  var _useStoreon = useStoreon('notifications'),
29
31
  notifications = _useStoreon.notifications;
30
32
  var Notification = useMemo(function () {
@@ -33,7 +35,7 @@ export var NotificationsPortal = function NotificationsPortal(_ref) {
33
35
  return /*#__PURE__*/React.createElement(PopupProvider, null, notifications.length > 0 && /*#__PURE__*/React.createElement(StyledPopup, {
34
36
  opened: true,
35
37
  frame: frame,
36
- placement: "bottom-right",
38
+ placement: placement,
37
39
  zIndex: "9100"
38
40
  }, /*#__PURE__*/React.createElement(StyledRoot, null, notifications.map(function (_ref2) {
39
41
  var id = _ref2.id,
@@ -5,11 +5,13 @@ import { NotificationsPortal } from './NotificationsPortal';
5
5
  export var NotificationsProvider = function NotificationsProvider(_ref) {
6
6
  var children = _ref.children,
7
7
  config = _ref.config,
8
- frame = _ref.frame;
8
+ frame = _ref.frame,
9
+ placement = _ref.placement;
9
10
  return /*#__PURE__*/React.createElement(StoreContext.Provider, {
10
11
  value: NotificationsStore
11
12
  }, children, /*#__PURE__*/React.createElement(NotificationsPortal, {
12
13
  frame: frame,
14
+ placement: placement,
13
15
  config: config
14
16
  }));
15
17
  };
@@ -1,4 +1,4 @@
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';
@@ -1,5 +1,5 @@
1
1
  import { css } from 'styled-components';
2
- import { dropdownTokens as tokens } from '../../../../components/Dropdown';
2
+ import { dropdownTokens } from '../../../../components/Dropdown';
3
3
  export var config = {
4
4
  defaults: {
5
5
  view: 'default',
@@ -7,13 +7,13 @@ export var config = {
7
7
  },
8
8
  variations: {
9
9
  size: {
10
- l: /*#__PURE__*/css(["", ":0.125rem;", ":17.5rem;", ":0.875rem;", ":1.5rem;", ":1rem 1rem 1rem 0.875rem;", ":0.75rem 1rem 0.75rem 0.875rem;", ":0.75rem;", ":0.5rem;", ":1.125rem;", ":0.5rem;", ":1.125rem;", ":0.375rem;", ":0.375rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0rem;", ":0rem;", ":0rem;", ":0rem;", ":0.125rem;", ":0.375rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);"], tokens.padding, tokens.width, tokens.borderRadius, tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemBorderRadius, tokens.dividerMarginTop, tokens.dividerMarginRight, tokens.dividerMarginBottom, tokens.dividerMarginLeft, tokens.dividerMarginTopTight, tokens.dividerMarginBottomTight, tokens.itemFontFamily, tokens.itemFontSize, tokens.itemFontStyle, tokens.itemFontWeightBold, tokens.itemFontLetterSpacing, tokens.itemFontLineHeight, tokens.cellPadding, tokens.cellPaddingLeftContent, tokens.cellPaddingContent, tokens.cellPaddingRightContent, tokens.cellTextboxGap, tokens.cellGap, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight),
11
- m: /*#__PURE__*/css(["", ":0.125rem;", ":15rem;", ":0.75rem;", ":1.5rem;", ":0.75rem 0.75rem 0.75rem 0.75rem;", ":0.5rem 0.75rem 0.5rem 0.75rem;", ":0.625rem;", ":0.375rem;", ":0.875rem;", ":0.375rem;", ":0.875rem;", ":0.375rem;", ":0.375rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":0rem;", ":0rem;", ":0rem;", ":0rem;", ":0.125rem;", ":0.375rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);"], tokens.padding, tokens.width, tokens.borderRadius, tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemBorderRadius, tokens.dividerMarginTop, tokens.dividerMarginRight, tokens.dividerMarginBottom, tokens.dividerMarginLeft, tokens.dividerMarginTopTight, tokens.dividerMarginBottomTight, tokens.itemFontFamily, tokens.itemFontSize, tokens.itemFontStyle, tokens.itemFontWeightBold, tokens.itemFontLetterSpacing, tokens.itemFontLineHeight, tokens.cellPadding, tokens.cellPaddingLeftContent, tokens.cellPaddingContent, tokens.cellPaddingRightContent, tokens.cellTextboxGap, tokens.cellGap, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight),
12
- s: /*#__PURE__*/css(["", ":0.125rem;", ":12.5rem;", ":0.625rem;", ":1.5rem;", ":0.5rem 0.75rem 0.5rem 0.675rem;", ":0.25rem 0.75rem 0.25rem 0.675rem;", ":0.5rem;", ":0.375rem;", ":0.75rem;", ":0.375rem;", ":0.75rem;", ":0.25rem;", ":0.25rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":0rem;", ":0rem;", ":0rem;", ":0rem;", ":0.125rem;", ":0.375rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);"], tokens.padding, tokens.width, tokens.borderRadius, tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemBorderRadius, tokens.dividerMarginTop, tokens.dividerMarginRight, tokens.dividerMarginBottom, tokens.dividerMarginLeft, tokens.dividerMarginTopTight, tokens.dividerMarginBottomTight, tokens.itemFontFamily, tokens.itemFontSize, tokens.itemFontStyle, tokens.itemFontWeightBold, tokens.itemFontLetterSpacing, tokens.itemFontLineHeight, tokens.cellPadding, tokens.cellPaddingLeftContent, tokens.cellPaddingContent, tokens.cellPaddingRightContent, tokens.cellTextboxGap, tokens.cellGap, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight),
13
- xs: /*#__PURE__*/css(["", ":0.125rem;", ":10rem;", ":0.5rem;", ":1rem;", ":0.5rem 0.5rem 0.5rem 0.375rem;", ":0.25rem 0.5rem 0.25rem 0.375rem;", ":0.375rem;", ":0.25rem;", ":0.5rem;", ":0.25rem;", ":0.5rem;", ":0.125rem;", ":0.125rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0rem;", ":0rem;", ":0rem;", ":0rem;", ":0.125rem;", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], tokens.padding, tokens.width, tokens.borderRadius, tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemBorderRadius, tokens.dividerMarginTop, tokens.dividerMarginRight, tokens.dividerMarginBottom, tokens.dividerMarginLeft, tokens.dividerMarginTopTight, tokens.dividerMarginBottomTight, tokens.itemFontFamily, tokens.itemFontSize, tokens.itemFontStyle, tokens.itemFontWeightBold, tokens.itemFontLetterSpacing, tokens.itemFontLineHeight, tokens.cellPadding, tokens.cellPaddingLeftContent, tokens.cellPaddingContent, tokens.cellPaddingRightContent, tokens.cellTextboxGap, tokens.cellGap, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight)
10
+ xs: /*#__PURE__*/css(["", ":0.125rem;", ":10rem;", ":0.5rem;", ":0.5625rem;", ":0.5rem;", ":0.5625rem;", ":0.5rem;", ":0.375rem;", ":0.3125rem;", ":0.3125rem;", ":0.25rem;", ":0.5rem;", ":0.25rem;", ":0.5rem;", ":0.125rem;", ":0.125rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], dropdownTokens.padding, dropdownTokens.width, dropdownTokens.borderRadius, dropdownTokens.itemPaddingTop, dropdownTokens.itemPaddingRight, dropdownTokens.itemPaddingBottom, dropdownTokens.itemPaddingLeft, dropdownTokens.itemBorderRadius, dropdownTokens.itemPaddingTopTight, dropdownTokens.itemPaddingBottomTight, dropdownTokens.dividerMarginTop, dropdownTokens.dividerMarginRight, dropdownTokens.dividerMarginBottom, dropdownTokens.dividerMarginLeft, dropdownTokens.dividerMarginTopTight, dropdownTokens.dividerMarginBottomTight, dropdownTokens.itemFontFamily, dropdownTokens.itemFontSize, dropdownTokens.itemFontStyle, dropdownTokens.itemFontWeightBold, dropdownTokens.itemFontLetterSpacing, dropdownTokens.itemFontLineHeight),
11
+ s: /*#__PURE__*/css(["", ":0.125rem;", ":12.5rem;", ":0.625rem;", ":0.6875rem;", ":0.75rem;", ":0.6875rem;", ":0.75rem;", ":0.5rem;", ":0.4375rem;", ":0.4375rem;", ":0.375rem;", ":0.75rem;", ":0.375rem;", ":0.75rem;", ":0.25rem;", ":0.25rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);"], dropdownTokens.padding, dropdownTokens.width, dropdownTokens.borderRadius, dropdownTokens.itemPaddingTop, dropdownTokens.itemPaddingRight, dropdownTokens.itemPaddingBottom, dropdownTokens.itemPaddingLeft, dropdownTokens.itemBorderRadius, dropdownTokens.itemPaddingTopTight, dropdownTokens.itemPaddingBottomTight, dropdownTokens.dividerMarginTop, dropdownTokens.dividerMarginRight, dropdownTokens.dividerMarginBottom, dropdownTokens.dividerMarginLeft, dropdownTokens.dividerMarginTopTight, dropdownTokens.dividerMarginBottomTight, dropdownTokens.itemFontFamily, dropdownTokens.itemFontSize, dropdownTokens.itemFontStyle, dropdownTokens.itemFontWeightBold, dropdownTokens.itemFontLetterSpacing, dropdownTokens.itemFontLineHeight),
12
+ m: /*#__PURE__*/css(["", ":0.125rem;", ":15rem;", ":0.75rem;", ":0.875rem;", ":0.875rem;", ":0.875rem;", ":0.875rem;", ":0.625rem;", ":0.625rem;", ":0.625rem;", ":0.375rem;", ":0.875rem;", ":0.375rem;", ":0.875rem;", ":0.375rem;", ":0.375rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);"], dropdownTokens.padding, dropdownTokens.width, dropdownTokens.borderRadius, dropdownTokens.itemPaddingTop, dropdownTokens.itemPaddingRight, dropdownTokens.itemPaddingBottom, dropdownTokens.itemPaddingLeft, dropdownTokens.itemBorderRadius, dropdownTokens.itemPaddingTopTight, dropdownTokens.itemPaddingBottomTight, dropdownTokens.dividerMarginTop, dropdownTokens.dividerMarginRight, dropdownTokens.dividerMarginBottom, dropdownTokens.dividerMarginLeft, dropdownTokens.dividerMarginTopTight, dropdownTokens.dividerMarginBottomTight, dropdownTokens.itemFontFamily, dropdownTokens.itemFontSize, dropdownTokens.itemFontStyle, dropdownTokens.itemFontWeightBold, dropdownTokens.itemFontLetterSpacing, dropdownTokens.itemFontLineHeight),
13
+ l: /*#__PURE__*/css(["", ":0.125rem;", ":17.5rem;", ":0.875rem;", ":1.0625rem;", ":1rem;", ":1.0625rem;", ":1rem;", ":0.75rem;", ":0.8125rem;", ":0.8125rem;", ":0.5rem;", ":1.125rem;", ":0.5rem;", ":1.125rem;", ":0.375rem;", ":0.375rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);"], dropdownTokens.padding, dropdownTokens.width, dropdownTokens.borderRadius, dropdownTokens.itemPaddingTop, dropdownTokens.itemPaddingRight, dropdownTokens.itemPaddingBottom, dropdownTokens.itemPaddingLeft, dropdownTokens.itemBorderRadius, dropdownTokens.itemPaddingTopTight, dropdownTokens.itemPaddingBottomTight, dropdownTokens.dividerMarginTop, dropdownTokens.dividerMarginRight, dropdownTokens.dividerMarginBottom, dropdownTokens.dividerMarginLeft, dropdownTokens.dividerMarginTopTight, dropdownTokens.dividerMarginBottomTight, dropdownTokens.itemFontFamily, dropdownTokens.itemFontSize, dropdownTokens.itemFontStyle, dropdownTokens.itemFontWeightBold, dropdownTokens.itemFontLetterSpacing, dropdownTokens.itemFontLineHeight)
14
14
  },
15
15
  view: {
16
- "default": /*#__PURE__*/css(["", ":var(--surface-transparent-tertiary);"], tokens.dividerColor)
16
+ "default": /*#__PURE__*/css(["", ":0.4;", ":var(--surface-accent);", ":var(--surface-solid-card-brightness);", ":0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);", ":var(--text-secondary);", ":var(--surface-clear);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-tertiary);"], dropdownTokens.disabledOpacity, dropdownTokens.focusColor, dropdownTokens.background, dropdownTokens.boxShadow, dropdownTokens.disclosureIconColor, dropdownTokens.itemBackground, dropdownTokens.itemBackgroundHover, dropdownTokens.itemColor, dropdownTokens.dividerColor)
17
17
  }
18
18
  }
19
19
  };
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import type { ComponentProps } from 'react';
3
3
  import type { Meta, StoryObj } from '@storybook/react';
4
4
  import { action } from '@storybook/addon-actions';
@@ -11,7 +11,7 @@ import { Dropdown } from './Dropdown';
11
11
 
12
12
  type StoryDropdownProps = ComponentProps<typeof Dropdown>;
13
13
 
14
- const placements: Array<DropdownPlacement> = ['auto', 'top', 'right', 'bottom', 'left'];
14
+ const placements: Array<DropdownPlacement> = ['top', 'bottom', 'right', 'left', 'auto'];
15
15
  const triggers: Array<DropdownTrigger> = ['click', 'hover'];
16
16
  const size = ['xs', 's', 'm', 'l'];
17
17
  const variant = ['normal', 'tight'];
@@ -47,15 +47,14 @@ const meta: Meta<StoryDropdownProps> = {
47
47
  },
48
48
  },
49
49
  args: {
50
- size: 'm',
51
- variant: 'normal',
52
- placement: 'bottom-start',
53
50
  trigger: 'click',
54
51
  offset: [0, 0],
55
- listWidth: '',
52
+ listWidth: 'auto',
56
53
  hasArrow: true,
57
54
  closeOnOverlayClick: true,
58
55
  closeOnSelect: true,
56
+ size: 'm',
57
+ variant: 'normal',
59
58
  },
60
59
  };
61
60
 
@@ -1,16 +1,18 @@
1
1
  import React from 'react';
2
- import { noticationConfig, NotificationsProvider as Provider } from '../../../../components/Notification';
2
+ import { notificationConfig, NotificationsProvider as Provider } from '../../../../components/Notification';
3
3
  import { component, mergeConfig } from '../../../../engines';
4
4
  import { config } from './Notification.config';
5
5
  export { modalClasses } from '../../../../components/Modal';
6
- var mergedConfig = /*#__PURE__*/mergeConfig(noticationConfig, config);
6
+ var mergedConfig = /*#__PURE__*/mergeConfig(notificationConfig, config);
7
7
  export var Notification = /*#__PURE__*/component(mergedConfig);
8
8
  export var NotificationsProvider = function NotificationsProvider(_ref) {
9
9
  var children = _ref.children,
10
10
  _ref$frame = _ref.frame,
11
- frame = _ref$frame === void 0 ? 'theme-root' : _ref$frame;
11
+ frame = _ref$frame === void 0 ? 'theme-root' : _ref$frame,
12
+ placement = _ref.placement;
12
13
  return /*#__PURE__*/React.createElement(Provider, {
13
14
  config: mergedConfig,
14
- frame: frame
15
+ frame: frame,
16
+ placement: placement
15
17
  }, children);
16
18
  };
@@ -5,6 +5,7 @@ import type { StoryObj, Meta } from '@storybook/react';
5
5
  import { Button } from '../Button/Button';
6
6
  import { Modal } from '../Modal/Modal';
7
7
  import {
8
+ NotificationPlacement,
8
9
  NotificationIconPlacement,
9
10
  NotificationLayout,
10
11
  addNotification,
@@ -20,6 +21,7 @@ const titles = ['Выполнено', 'Внимание', 'Ошибка'];
20
21
  const texts = ['SSH ключ успешно скопирован', 'Нельзя скопировать SSH ключ', 'Не удалось скопировать SSH ключ'];
21
22
  const size = ['xs', 'xxs'];
22
23
  const iconPlacement = ['top', 'left'];
24
+ const notificationsPlacements = ['bottom-right', 'bottom-left'];
23
25
 
24
26
  const longText = `JavaScript frameworks are an essential part of modern front-end web development,
25
27
  providing developers with proven tools for building scalable, interactive web applications.
@@ -49,6 +51,7 @@ interface StoryDefaultProps {
49
51
  layout: NotificationLayout;
50
52
  size: 'xs' | 'xxs';
51
53
  iconPlacement: NotificationIconPlacement;
54
+ placement?: NotificationPlacement;
52
55
  }
53
56
 
54
57
  const StoryDefault = ({ title, children, iconPlacement, size, layout, showLeftIcon, ...rest }: StoryDefaultProps) => {
@@ -111,9 +114,10 @@ type StoryLiveDemoProps = ComponentProps<typeof Notification> & {
111
114
  layout: NotificationLayout;
112
115
  size: 'xs' | 'xxs';
113
116
  iconPlacement: NotificationIconPlacement;
117
+ placement?: NotificationPlacement;
114
118
  };
115
119
 
116
- const StoryLiveDemo = ({ timeout, ...rest }: StoryLiveDemoProps) => {
120
+ const StoryLiveDemo = ({ timeout, placement, ...rest }: StoryLiveDemoProps) => {
117
121
  const count = useRef(0);
118
122
  const handleClick = useCallback(() => {
119
123
  addNotification({ icon: <IconDisclosureRight />, ...rest, ...getNotificationProps(count.current) }, timeout);
@@ -121,7 +125,7 @@ const StoryLiveDemo = ({ timeout, ...rest }: StoryLiveDemoProps) => {
121
125
  }, [count, rest]);
122
126
 
123
127
  return (
124
- <NotificationsProvider>
128
+ <NotificationsProvider placement={placement}>
125
129
  <Button text="Добавить уведомление" onClick={handleClick} />
126
130
  </NotificationsProvider>
127
131
  );
@@ -135,20 +139,28 @@ export const LiveDemo: StoryObj<StoryLiveDemoProps> = {
135
139
  type: 'select',
136
140
  },
137
141
  },
142
+ placement: {
143
+ options: notificationsPlacements,
144
+ control: {
145
+ type: 'select',
146
+ },
147
+ },
138
148
  },
139
149
  args: {
140
150
  timeout: 3000,
141
151
  role: 'alert',
142
152
  layout: 'vertical',
153
+ placement: 'bottom-right',
143
154
  },
144
155
  render: (args) => <StoryLiveDemo {...args} />,
145
156
  };
146
157
 
147
158
  type StoryWithModalProps = ComponentProps<typeof Notification> & {
148
159
  timeout: number;
160
+ placement?: NotificationPlacement;
149
161
  };
150
162
 
151
- const StoryWithModal = ({ timeout }: StoryWithModalProps) => {
163
+ const StoryWithModal = ({ timeout, placement }: StoryWithModalProps) => {
152
164
  const [isModalOpen, setIsModalOpen] = useState(false);
153
165
  const count = useRef(0);
154
166
  const handleClick = useCallback(() => {
@@ -157,7 +169,7 @@ const StoryWithModal = ({ timeout }: StoryWithModalProps) => {
157
169
  }, [count]);
158
170
 
159
171
  return (
160
- <NotificationsProvider>
172
+ <NotificationsProvider placement={placement}>
161
173
  <PopupProvider>
162
174
  <Button text="Open modal" onClick={() => setIsModalOpen(true)} />
163
175
  <Modal frame="theme-root" opened={isModalOpen} onClose={() => setIsModalOpen(false)}>
@@ -172,6 +184,15 @@ const StoryWithModal = ({ timeout }: StoryWithModalProps) => {
172
184
  export const WithModal: StoryObj<StoryLiveDemoProps> = {
173
185
  args: {
174
186
  timeout: 3500,
187
+ placement: 'bottom-right',
188
+ },
189
+ argTypes: {
190
+ placement: {
191
+ options: notificationsPlacements,
192
+ control: {
193
+ type: 'select',
194
+ },
195
+ },
175
196
  },
176
197
  render: (args) => <StoryWithModal {...args} />,
177
198
  };
@@ -1,5 +1,5 @@
1
1
  import { css } from 'styled-components';
2
- import { dropdownTokens as tokens } from '../../../../components/Dropdown';
2
+ import { dropdownTokens } from '../../../../components/Dropdown';
3
3
  export var config = {
4
4
  defaults: {
5
5
  view: 'default',
@@ -7,13 +7,13 @@ export var config = {
7
7
  },
8
8
  variations: {
9
9
  size: {
10
- l: /*#__PURE__*/css(["", ":0.125rem;", ":17.5rem;", ":0.875rem;", ":1.5rem;", ":1rem 1rem 1rem 0.875rem;", ":0.75rem 1rem 0.75rem 0.875rem;", ":0.75rem;", ":0.5rem;", ":1.125rem;", ":0.5rem;", ":1.125rem;", ":0.375rem;", ":0.375rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":0rem;", ":0rem;", ":0rem;", ":0rem;", ":0.125rem;", ":0.375rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);"], tokens.padding, tokens.width, tokens.borderRadius, tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemBorderRadius, tokens.dividerMarginTop, tokens.dividerMarginRight, tokens.dividerMarginBottom, tokens.dividerMarginLeft, tokens.dividerMarginTopTight, tokens.dividerMarginBottomTight, tokens.itemFontFamily, tokens.itemFontSize, tokens.itemFontStyle, tokens.itemFontWeightBold, tokens.itemFontLetterSpacing, tokens.itemFontLineHeight, tokens.cellPadding, tokens.cellPaddingLeftContent, tokens.cellPaddingContent, tokens.cellPaddingRightContent, tokens.cellTextboxGap, tokens.cellGap, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight),
11
- m: /*#__PURE__*/css(["", ":0.125rem;", ":15rem;", ":0.75rem;", ":1.5rem;", ":0.75rem 0.75rem 0.75rem 0.75rem;", ":0.5rem 0.75rem 0.5rem 0.75rem;", ":0.625rem;", ":0.375rem;", ":0.875rem;", ":0.375rem;", ":0.875rem;", ":0.375rem;", ":0.375rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":0rem;", ":0rem;", ":0rem;", ":0rem;", ":0.125rem;", ":0.375rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);"], tokens.padding, tokens.width, tokens.borderRadius, tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemBorderRadius, tokens.dividerMarginTop, tokens.dividerMarginRight, tokens.dividerMarginBottom, tokens.dividerMarginLeft, tokens.dividerMarginTopTight, tokens.dividerMarginBottomTight, tokens.itemFontFamily, tokens.itemFontSize, tokens.itemFontStyle, tokens.itemFontWeightBold, tokens.itemFontLetterSpacing, tokens.itemFontLineHeight, tokens.cellPadding, tokens.cellPaddingLeftContent, tokens.cellPaddingContent, tokens.cellPaddingRightContent, tokens.cellTextboxGap, tokens.cellGap, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight),
12
- s: /*#__PURE__*/css(["", ":0.125rem;", ":12.5rem;", ":0.625rem;", ":1.5rem;", ":0.5rem 0.75rem 0.5rem 0.675rem;", ":0.25rem 0.75rem 0.25rem 0.675rem;", ":0.5rem;", ":0.375rem;", ":0.75rem;", ":0.375rem;", ":0.75rem;", ":0.25rem;", ":0.25rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":0rem;", ":0rem;", ":0rem;", ":0rem;", ":0.125rem;", ":0.375rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);"], tokens.padding, tokens.width, tokens.borderRadius, tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemBorderRadius, tokens.dividerMarginTop, tokens.dividerMarginRight, tokens.dividerMarginBottom, tokens.dividerMarginLeft, tokens.dividerMarginTopTight, tokens.dividerMarginBottomTight, tokens.itemFontFamily, tokens.itemFontSize, tokens.itemFontStyle, tokens.itemFontWeightBold, tokens.itemFontLetterSpacing, tokens.itemFontLineHeight, tokens.cellPadding, tokens.cellPaddingLeftContent, tokens.cellPaddingContent, tokens.cellPaddingRightContent, tokens.cellTextboxGap, tokens.cellGap, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight),
13
- xs: /*#__PURE__*/css(["", ":0.125rem;", ":10rem;", ":0.5rem;", ":1rem;", ":0.5rem 0.5rem 0.5rem 0.375rem;", ":0.25rem 0.5rem 0.25rem 0.375rem;", ":0.375rem;", ":0.25rem;", ":0.5rem;", ":0.25rem;", ":0.5rem;", ":0.125rem;", ":0.125rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":0rem;", ":0rem;", ":0rem;", ":0rem;", ":0.125rem;", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], tokens.padding, tokens.width, tokens.borderRadius, tokens.itemHeight, tokens.itemPadding, tokens.itemPaddingTight, tokens.itemBorderRadius, tokens.dividerMarginTop, tokens.dividerMarginRight, tokens.dividerMarginBottom, tokens.dividerMarginLeft, tokens.dividerMarginTopTight, tokens.dividerMarginBottomTight, tokens.itemFontFamily, tokens.itemFontSize, tokens.itemFontStyle, tokens.itemFontWeightBold, tokens.itemFontLetterSpacing, tokens.itemFontLineHeight, tokens.cellPadding, tokens.cellPaddingLeftContent, tokens.cellPaddingContent, tokens.cellPaddingRightContent, tokens.cellTextboxGap, tokens.cellGap, tokens.cellTitleFontFamily, tokens.cellTitleFontSize, tokens.cellTitleFontStyle, tokens.cellTitleFontWeight, tokens.cellTitleLetterSpacing, tokens.cellTitleLineHeight)
10
+ xs: /*#__PURE__*/css(["", ":0.125rem;", ":10rem;", ":0.5rem;", ":0.5625rem;", ":0.5rem;", ":0.5625rem;", ":0.5rem;", ":0.375rem;", ":0.3125rem;", ":0.3125rem;", ":0.25rem;", ":0.5rem;", ":0.25rem;", ":0.5rem;", ":0.125rem;", ":0.125rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], dropdownTokens.padding, dropdownTokens.width, dropdownTokens.borderRadius, dropdownTokens.itemPaddingTop, dropdownTokens.itemPaddingRight, dropdownTokens.itemPaddingBottom, dropdownTokens.itemPaddingLeft, dropdownTokens.itemBorderRadius, dropdownTokens.itemPaddingTopTight, dropdownTokens.itemPaddingBottomTight, dropdownTokens.dividerMarginTop, dropdownTokens.dividerMarginRight, dropdownTokens.dividerMarginBottom, dropdownTokens.dividerMarginLeft, dropdownTokens.dividerMarginTopTight, dropdownTokens.dividerMarginBottomTight, dropdownTokens.itemFontFamily, dropdownTokens.itemFontSize, dropdownTokens.itemFontStyle, dropdownTokens.itemFontWeightBold, dropdownTokens.itemFontLetterSpacing, dropdownTokens.itemFontLineHeight),
11
+ s: /*#__PURE__*/css(["", ":0.125rem;", ":12.5rem;", ":0.625rem;", ":0.6875rem;", ":0.75rem;", ":0.6875rem;", ":0.75rem;", ":0.5rem;", ":0.4375rem;", ":0.4375rem;", ":0.375rem;", ":0.75rem;", ":0.375rem;", ":0.75rem;", ":0.25rem;", ":0.25rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);"], dropdownTokens.padding, dropdownTokens.width, dropdownTokens.borderRadius, dropdownTokens.itemPaddingTop, dropdownTokens.itemPaddingRight, dropdownTokens.itemPaddingBottom, dropdownTokens.itemPaddingLeft, dropdownTokens.itemBorderRadius, dropdownTokens.itemPaddingTopTight, dropdownTokens.itemPaddingBottomTight, dropdownTokens.dividerMarginTop, dropdownTokens.dividerMarginRight, dropdownTokens.dividerMarginBottom, dropdownTokens.dividerMarginLeft, dropdownTokens.dividerMarginTopTight, dropdownTokens.dividerMarginBottomTight, dropdownTokens.itemFontFamily, dropdownTokens.itemFontSize, dropdownTokens.itemFontStyle, dropdownTokens.itemFontWeightBold, dropdownTokens.itemFontLetterSpacing, dropdownTokens.itemFontLineHeight),
12
+ m: /*#__PURE__*/css(["", ":0.125rem;", ":15rem;", ":0.75rem;", ":0.875rem;", ":0.875rem;", ":0.875rem;", ":0.875rem;", ":0.625rem;", ":0.625rem;", ":0.625rem;", ":0.375rem;", ":0.875rem;", ":0.375rem;", ":0.875rem;", ":0.375rem;", ":0.375rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);"], dropdownTokens.padding, dropdownTokens.width, dropdownTokens.borderRadius, dropdownTokens.itemPaddingTop, dropdownTokens.itemPaddingRight, dropdownTokens.itemPaddingBottom, dropdownTokens.itemPaddingLeft, dropdownTokens.itemBorderRadius, dropdownTokens.itemPaddingTopTight, dropdownTokens.itemPaddingBottomTight, dropdownTokens.dividerMarginTop, dropdownTokens.dividerMarginRight, dropdownTokens.dividerMarginBottom, dropdownTokens.dividerMarginLeft, dropdownTokens.dividerMarginTopTight, dropdownTokens.dividerMarginBottomTight, dropdownTokens.itemFontFamily, dropdownTokens.itemFontSize, dropdownTokens.itemFontStyle, dropdownTokens.itemFontWeightBold, dropdownTokens.itemFontLetterSpacing, dropdownTokens.itemFontLineHeight),
13
+ l: /*#__PURE__*/css(["", ":0.125rem;", ":17.5rem;", ":0.875rem;", ":1.0625rem;", ":1rem;", ":1.0625rem;", ":1rem;", ":0.75rem;", ":0.8125rem;", ":0.8125rem;", ":0.5rem;", ":1.125rem;", ":0.5rem;", ":1.125rem;", ":0.375rem;", ":0.375rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);"], dropdownTokens.padding, dropdownTokens.width, dropdownTokens.borderRadius, dropdownTokens.itemPaddingTop, dropdownTokens.itemPaddingRight, dropdownTokens.itemPaddingBottom, dropdownTokens.itemPaddingLeft, dropdownTokens.itemBorderRadius, dropdownTokens.itemPaddingTopTight, dropdownTokens.itemPaddingBottomTight, dropdownTokens.dividerMarginTop, dropdownTokens.dividerMarginRight, dropdownTokens.dividerMarginBottom, dropdownTokens.dividerMarginLeft, dropdownTokens.dividerMarginTopTight, dropdownTokens.dividerMarginBottomTight, dropdownTokens.itemFontFamily, dropdownTokens.itemFontSize, dropdownTokens.itemFontStyle, dropdownTokens.itemFontWeightBold, dropdownTokens.itemFontLetterSpacing, dropdownTokens.itemFontLineHeight)
14
14
  },
15
15
  view: {
16
- "default": /*#__PURE__*/css(["", ":var(--surface-transparent-tertiary);"], tokens.dividerColor)
16
+ "default": /*#__PURE__*/css(["", ":0.4;", ":var(--surface-accent);", ":var(--surface-solid-card-brightness);", ":0px 4px 14px -4px rgba(8,8,8,0.08),0px 1px 4px -1px rgba(0,0,0,0.04);", ":var(--text-secondary);", ":var(--surface-clear);", ":var(--surface-transparent-secondary);", ":var(--text-primary);", ":var(--surface-transparent-tertiary);"], dropdownTokens.disabledOpacity, dropdownTokens.focusColor, dropdownTokens.background, dropdownTokens.boxShadow, dropdownTokens.disclosureIconColor, dropdownTokens.itemBackground, dropdownTokens.itemBackgroundHover, dropdownTokens.itemColor, dropdownTokens.dividerColor)
17
17
  }
18
18
  }
19
19
  };
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
1
+ import React from 'react';
2
2
  import type { ComponentProps } from 'react';
3
3
  import type { Meta, StoryObj } from '@storybook/react';
4
4
  import { action } from '@storybook/addon-actions';
@@ -11,7 +11,7 @@ import { Dropdown } from './Dropdown';
11
11
 
12
12
  type StoryDropdownProps = ComponentProps<typeof Dropdown>;
13
13
 
14
- const placements: Array<DropdownPlacement> = ['auto', 'top', 'right', 'bottom', 'left'];
14
+ const placements: Array<DropdownPlacement> = ['top', 'bottom', 'right', 'left', 'auto'];
15
15
  const triggers: Array<DropdownTrigger> = ['click', 'hover'];
16
16
  const size = ['xs', 's', 'm', 'l'];
17
17
  const variant = ['normal', 'tight'];
@@ -47,15 +47,14 @@ const meta: Meta<StoryDropdownProps> = {
47
47
  },
48
48
  },
49
49
  args: {
50
- size: 'm',
51
- variant: 'normal',
52
- placement: 'bottom-start',
53
50
  trigger: 'click',
54
51
  offset: [0, 0],
55
- listWidth: '',
52
+ listWidth: 'auto',
56
53
  hasArrow: true,
57
54
  closeOnOverlayClick: true,
58
55
  closeOnSelect: true,
56
+ size: 'm',
57
+ variant: 'normal',
59
58
  },
60
59
  };
61
60
 
@@ -1,16 +1,18 @@
1
1
  import React from 'react';
2
- import { noticationConfig, NotificationsProvider as Provider } from '../../../../components/Notification';
2
+ import { notificationConfig, NotificationsProvider as Provider } from '../../../../components/Notification';
3
3
  import { component, mergeConfig } from '../../../../engines';
4
4
  import { config } from './Notification.config';
5
5
  export { modalClasses } from '../../../../components/Modal';
6
- var mergedConfig = /*#__PURE__*/mergeConfig(noticationConfig, config);
6
+ var mergedConfig = /*#__PURE__*/mergeConfig(notificationConfig, config);
7
7
  export var Notification = /*#__PURE__*/component(mergedConfig);
8
8
  export var NotificationsProvider = function NotificationsProvider(_ref) {
9
9
  var children = _ref.children,
10
10
  _ref$frame = _ref.frame,
11
- frame = _ref$frame === void 0 ? 'theme-root' : _ref$frame;
11
+ frame = _ref$frame === void 0 ? 'theme-root' : _ref$frame,
12
+ placement = _ref.placement;
12
13
  return /*#__PURE__*/React.createElement(Provider, {
13
14
  config: mergedConfig,
14
- frame: frame
15
+ frame: frame,
16
+ placement: placement
15
17
  }, children);
16
18
  };
@@ -5,6 +5,7 @@ import type { StoryObj, Meta } from '@storybook/react';
5
5
  import { Button } from '../Button/Button';
6
6
  import { Modal } from '../Modal/Modal';
7
7
  import {
8
+ NotificationPlacement,
8
9
  NotificationIconPlacement,
9
10
  NotificationLayout,
10
11
  addNotification,
@@ -20,6 +21,7 @@ const titles = ['Выполнено', 'Внимание', 'Ошибка'];
20
21
  const texts = ['SSH ключ успешно скопирован', 'Нельзя скопировать SSH ключ', 'Не удалось скопировать SSH ключ'];
21
22
  const size = ['xs', 'xxs'];
22
23
  const iconPlacement = ['top', 'left'];
24
+ const notificationsPlacements = ['bottom-right', 'bottom-left'];
23
25
 
24
26
  const longText = `JavaScript frameworks are an essential part of modern front-end web development,
25
27
  providing developers with proven tools for building scalable, interactive web applications.
@@ -49,6 +51,7 @@ interface StoryDefaultProps {
49
51
  layout: NotificationLayout;
50
52
  size: 'xs' | 'xxs';
51
53
  iconPlacement: NotificationIconPlacement;
54
+ placement?: NotificationPlacement;
52
55
  }
53
56
 
54
57
  const StoryDefault = ({ title, children, iconPlacement, size, layout, showLeftIcon, ...rest }: StoryDefaultProps) => {
@@ -111,9 +114,10 @@ type StoryLiveDemoProps = ComponentProps<typeof Notification> & {
111
114
  layout: NotificationLayout;
112
115
  size: 'xs' | 'xxs';
113
116
  iconPlacement: NotificationIconPlacement;
117
+ placement?: NotificationPlacement;
114
118
  };
115
119
 
116
- const StoryLiveDemo = ({ timeout, ...rest }: StoryLiveDemoProps) => {
120
+ const StoryLiveDemo = ({ timeout, placement, ...rest }: StoryLiveDemoProps) => {
117
121
  const count = useRef(0);
118
122
  const handleClick = useCallback(() => {
119
123
  addNotification({ icon: <IconDisclosureRight />, ...rest, ...getNotificationProps(count.current) }, timeout);
@@ -121,7 +125,7 @@ const StoryLiveDemo = ({ timeout, ...rest }: StoryLiveDemoProps) => {
121
125
  }, [count, rest]);
122
126
 
123
127
  return (
124
- <NotificationsProvider>
128
+ <NotificationsProvider placement={placement}>
125
129
  <Button text="Добавить уведомление" onClick={handleClick} />
126
130
  </NotificationsProvider>
127
131
  );
@@ -135,20 +139,28 @@ export const LiveDemo: StoryObj<StoryLiveDemoProps> = {
135
139
  type: 'select',
136
140
  },
137
141
  },
142
+ placement: {
143
+ options: notificationsPlacements,
144
+ control: {
145
+ type: 'select',
146
+ },
147
+ },
138
148
  },
139
149
  args: {
140
150
  timeout: 3000,
141
151
  role: 'alert',
142
152
  layout: 'vertical',
153
+ placement: 'bottom-right',
143
154
  },
144
155
  render: (args) => <StoryLiveDemo {...args} />,
145
156
  };
146
157
 
147
158
  type StoryWithModalProps = ComponentProps<typeof Notification> & {
148
159
  timeout: number;
160
+ placement?: NotificationPlacement;
149
161
  };
150
162
 
151
- const StoryWithModal = ({ timeout }: StoryWithModalProps) => {
163
+ const StoryWithModal = ({ timeout, placement }: StoryWithModalProps) => {
152
164
  const [isModalOpen, setIsModalOpen] = useState(false);
153
165
  const count = useRef(0);
154
166
  const handleClick = useCallback(() => {
@@ -157,7 +169,7 @@ const StoryWithModal = ({ timeout }: StoryWithModalProps) => {
157
169
  }, [count]);
158
170
 
159
171
  return (
160
- <NotificationsProvider>
172
+ <NotificationsProvider placement={placement}>
161
173
  <PopupProvider>
162
174
  <Button text="Open modal" onClick={() => setIsModalOpen(true)} />
163
175
  <Modal frame="theme-root" opened={isModalOpen} onClose={() => setIsModalOpen(false)}>
@@ -172,6 +184,15 @@ const StoryWithModal = ({ timeout }: StoryWithModalProps) => {
172
184
  export const WithModal: StoryObj<StoryLiveDemoProps> = {
173
185
  args: {
174
186
  timeout: 3500,
187
+ placement: 'bottom-right',
188
+ },
189
+ argTypes: {
190
+ placement: {
191
+ options: notificationsPlacements,
192
+ control: {
193
+ type: 'select',
194
+ },
195
+ },
175
196
  },
176
197
  render: (args) => <StoryWithModal {...args} />,
177
198
  };
@@ -5,7 +5,7 @@ export var useOutsideClick = function useOutsideClick(callback, secondaryRef) {
5
5
  var handleClickOutside = function handleClickOutside(event) {
6
6
  if (ref.current && !ref.current.contains(event.target)) {
7
7
  if (!(secondaryRef !== null && secondaryRef !== void 0 && secondaryRef.current) || secondaryRef.current && !secondaryRef.current.contains(event.target)) {
8
- callback(event);
8
+ callback();
9
9
  }
10
10
  }
11
11
  };
@@ -1,7 +1,6 @@
1
1
  import { MouseEvent, MutableRefObject, SyntheticEvent } from 'react';
2
2
  import { InputHTMLAttributes } from '@salutejs/plasma-core';
3
- export declare type DropdownPlacementBasic = 'top' | 'bottom' | 'right' | 'left';
4
- export declare type DropdownPlacement = DropdownPlacementBasic | 'auto';
3
+ import { DropdownPlacement, DropdownPlacementBasic } from '../../Dropdown/Dropdown.types';
5
4
  export declare type ComponentType = 'select' | 'combobox';
6
5
  export declare type SelectPrimitiveValue = string | number | boolean;
7
6
  export declare type SelectValue = SelectPrimitiveValue | Array<SelectPrimitiveValue>;
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxOld/Combobox.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE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AChB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,KAAK,CAAC,EAAE,sBAAsB,GAAG,sBAAsB,EAAE,CAAC;IAC1D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,WAAW,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;IACxE,YAAY,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;CACzE"}
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  import { RootProps } from '../../engines';
3
- import type { DropdownProps, ItemContext } from './Dropdown.types';
4
- export declare const Context: React.Context<ItemContext>;
3
+ import type { DropdownProps } from './Dropdown.types';
5
4
  /**
6
5
  * Выпадающий список.
7
6
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwD,MAAM,OAAO,CAAC;AAG7E,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAW1C,OAAO,KAAK,EAAE,aAAa,EAA0B,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAM3F,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,cAAc,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC,yFAwJrF,CAAC;AAEN,eAAO,MAAM,cAAc;;;mBA1JQ,UAAU,cAAc,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;CA2KzF,CAAC"}
1
+ {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAEtD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAU1C,OAAO,KAAK,EAAE,aAAa,EAA0B,MAAM,kBAAkB,CAAC;AAK9E;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,cAAc,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC,yFA4HrF,CAAC;AAEN,eAAO,MAAM,cAAc;;;mBA9HQ,UAAU,cAAc,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;CA+IzF,CAAC"}
@@ -1,10 +1,15 @@
1
1
  /// <reference types="react" />
2
2
  import { DropdownProps } from './Dropdown.types';
3
+ export declare const StyledPopover: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../engines/types").PropsType<{
4
+ view: {
5
+ css: import("@linaria/core").LinariaClassName;
6
+ };
7
+ }> & import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & import("react").RefAttributes<HTMLDivElement>>;
3
8
  export declare const Ul: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLUListElement> & import("react").HTMLAttributes<HTMLUListElement> & {
4
9
  listHeight: DropdownProps['listHeight'];
5
10
  listOverflow: DropdownProps['listOverflow'];
6
- listWidth?: DropdownProps['listWidth'];
7
11
  isInnerUl?: boolean | undefined;
12
+ listWidth?: DropdownProps['listWidth'];
8
13
  }>;
9
14
  export declare const base: import("@linaria/core").LinariaClassName;
10
15
  //# sourceMappingURL=Dropdown.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.styles.ts"],"names":[],"mappings":";AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGjD,eAAO,MAAM,EAAE;gBACC,aAAa,CAAC,YAAY,CAAC;kBACzB,aAAa,CAAC,cAAc,CAAC;gBAC/B,aAAa,CAAC,WAAW,CAAC;;EAYzC,CAAC;AAEF,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
1
+ {"version":3,"file":"Dropdown.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.styles.ts"],"names":[],"mappings":";AAOA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,eAAO,MAAM,aAAa;;;;4JAIzB,CAAC;AAEF,eAAO,MAAM,EAAE;gBACC,aAAa,CAAC,YAAY,CAAC;kBACzB,aAAa,CAAC,cAAc,CAAC;;gBAE/B,aAAa,CAAC,WAAW,CAAC;EAczC,CAAC;AAEF,eAAO,MAAM,IAAI,0CAEhB,CAAC"}
@@ -51,20 +51,6 @@ export declare const tokens: {
51
51
  itemFontWeightBold: string;
52
52
  itemFontLetterSpacing: string;
53
53
  itemFontLineHeight: string;
54
- itemPadding: string;
55
- itemPaddingTight: string;
56
- cellPadding: string;
57
- cellPaddingLeftContent: string;
58
- cellPaddingContent: string;
59
- cellPaddingRightContent: string;
60
- cellTextboxGap: string;
61
- cellGap: string;
62
- cellTitleFontFamily: string;
63
- cellTitleFontSize: string;
64
- cellTitleFontStyle: string;
65
- cellTitleFontWeight: string;
66
- cellTitleLetterSpacing: string;
67
- cellTitleLineHeight: string;
68
54
  footerBackground: string;
69
55
  footerWidth: string;
70
56
  footerHeight: string;
@@ -128,15 +114,4 @@ export declare const tokens: {
128
114
  groupLabelMarginBottom: string;
129
115
  groupLabelMarginLeft: string;
130
116
  };
131
- export declare const constants: {
132
- focusColor: string;
133
- background: string;
134
- boxShadow: string;
135
- disclosureIconColor: string;
136
- itemBackground: string;
137
- itemBackgroundHover: string;
138
- opacity: string;
139
- cellTitleColor: string;
140
- cellBackgroundColor: string;
141
- };
142
117
  //# sourceMappingURL=Dropdown.tokens.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;CAMnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkIlB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;CAUrB,CAAC"}
1
+ {"version":3,"file":"Dropdown.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;CAMnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmHlB,CAAC"}