@me1a/ui 2.2.2 → 2.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (353) hide show
  1. package/dist/{atoms/accordion.mjs → accordion/index.mjs} +2 -2
  2. package/dist/accordion/index.mjs.map +1 -0
  3. package/dist/{atoms/avatar.mjs → avatar/index.mjs} +2 -2
  4. package/dist/avatar/index.mjs.map +1 -0
  5. package/dist/{atoms/badge.d.mts → badge/index.d.mts} +9 -8
  6. package/dist/{atoms/badge.mjs → badge/index.mjs} +2 -2
  7. package/dist/{atoms/badge.mjs.map → badge/index.mjs.map} +1 -1
  8. package/dist/{atoms/box.mjs → box/index.mjs} +2 -2
  9. package/dist/box/index.mjs.map +1 -0
  10. package/dist/{atoms/breadcrumb.mjs → breadcrumb/index.mjs} +2 -2
  11. package/dist/breadcrumb/index.mjs.map +1 -0
  12. package/dist/{atoms/button.d.mts → button/index.d.mts} +2 -2
  13. package/dist/{atoms/button.mjs → button/index.mjs} +2 -2
  14. package/dist/button/index.mjs.map +1 -0
  15. package/dist/card/index.d.mts +127 -0
  16. package/dist/card/index.mjs +2 -0
  17. package/dist/card/index.mjs.map +1 -0
  18. package/dist/{atoms/checkbox.mjs → checkbox/index.mjs} +2 -2
  19. package/dist/checkbox/index.mjs.map +1 -0
  20. package/dist/{atoms/collapsible.mjs → collapsible/index.mjs} +2 -2
  21. package/dist/collapsible/index.mjs.map +1 -0
  22. package/dist/{atoms/command.mjs → command/index.mjs} +2 -2
  23. package/dist/command/index.mjs.map +1 -0
  24. package/dist/container/index.d.mts +33 -0
  25. package/dist/{atoms/container.mjs → container/index.mjs} +2 -2
  26. package/dist/container/index.mjs.map +1 -0
  27. package/dist/{atoms/dialog.mjs → dialog/index.mjs} +2 -2
  28. package/dist/dialog/index.mjs.map +1 -0
  29. package/dist/{organisms/drawer.mjs → drawer/index.mjs} +2 -2
  30. package/dist/drawer/index.mjs.map +1 -0
  31. package/dist/{organisms/dropdown-menu.d.mts → dropdown-menu/index.d.mts} +2 -2
  32. package/dist/{organisms/dropdown-menu.mjs → dropdown-menu/index.mjs} +2 -2
  33. package/dist/dropdown-menu/index.mjs.map +1 -0
  34. package/dist/{rhf/form.mjs → form/index.mjs} +2 -2
  35. package/dist/form/index.mjs.map +1 -0
  36. package/dist/{hooks.d.mts → hooks/index.d.mts} +2 -2
  37. package/dist/{hooks.mjs → hooks/index.mjs} +2 -2
  38. package/dist/{hooks.js.map → hooks/index.mjs.map} +1 -1
  39. package/dist/index.d.mts +159 -39
  40. package/dist/index.mjs +47 -2
  41. package/dist/index.mjs.map +1 -1
  42. package/dist/{atoms/input.mjs → input/index.mjs} +2 -2
  43. package/dist/{atoms/input.mjs.map → input/index.mjs.map} +1 -1
  44. package/dist/{atoms/label.d.mts → label/index.d.mts} +2 -2
  45. package/dist/{atoms/label.mjs → label/index.mjs} +2 -2
  46. package/dist/{atoms/label.mjs.map → label/index.mjs.map} +1 -1
  47. package/dist/{molecules/navigation-menu.d.mts → navigation-menu/index.d.mts} +21 -20
  48. package/dist/{molecules/navigation-menu.mjs → navigation-menu/index.mjs} +2 -2
  49. package/dist/navigation-menu/index.mjs.map +1 -0
  50. package/dist/{atoms/page-loader.d.mts → page-loader/index.d.mts} +2 -2
  51. package/dist/{atoms/page-loader.mjs → page-loader/index.mjs} +2 -2
  52. package/dist/page-loader/index.mjs.map +1 -0
  53. package/dist/{atoms/pagination.d.mts → pagination/index.d.mts} +2 -2
  54. package/dist/{atoms/pagination.mjs → pagination/index.mjs} +2 -2
  55. package/dist/pagination/index.mjs.map +1 -0
  56. package/dist/{atoms/popover.mjs → popover/index.mjs} +2 -2
  57. package/dist/popover/index.mjs.map +1 -0
  58. package/dist/{atoms/radio-group.d.mts → radio-group/index.d.mts} +2 -2
  59. package/dist/{atoms/radio-group.mjs → radio-group/index.mjs} +2 -2
  60. package/dist/radio-group/index.mjs.map +1 -0
  61. package/dist/{atoms/resizable.mjs → resizable/index.mjs} +2 -2
  62. package/dist/resizable/index.mjs.map +1 -0
  63. package/dist/{rhf/rhf-checkbox.mjs → rhf-checkbox/index.mjs} +2 -2
  64. package/dist/rhf-checkbox/index.mjs.map +1 -0
  65. package/dist/{rhf/rhf-multi-select.mjs → rhf-multi-select/index.mjs} +2 -2
  66. package/dist/rhf-multi-select/index.mjs.map +1 -0
  67. package/dist/{rhf/rhf-radio-button-group.mjs → rhf-radio-button-group/index.mjs} +2 -2
  68. package/dist/rhf-radio-button-group/index.mjs.map +1 -0
  69. package/dist/{rhf/rhf-radio-group.mjs → rhf-radio-group/index.mjs} +2 -2
  70. package/dist/rhf-radio-group/index.mjs.map +1 -0
  71. package/dist/{rhf/rhf-select.mjs → rhf-select/index.mjs} +2 -2
  72. package/dist/rhf-select/index.mjs.map +1 -0
  73. package/dist/{rhf/rhf-switch.mjs → rhf-switch/index.mjs} +2 -2
  74. package/dist/rhf-switch/index.mjs.map +1 -0
  75. package/dist/{rhf/rhf-textarea.mjs → rhf-textarea/index.mjs} +2 -2
  76. package/dist/rhf-textarea/index.mjs.map +1 -0
  77. package/dist/{atoms/separator.mjs → separator/index.mjs} +2 -2
  78. package/dist/separator/index.mjs.map +1 -0
  79. package/dist/{atoms/sheet.d.mts → sheet/index.d.mts} +2 -2
  80. package/dist/{atoms/sheet.mjs → sheet/index.mjs} +2 -2
  81. package/dist/{atoms/sheet.mjs.map → sheet/index.mjs.map} +1 -1
  82. package/dist/{organisms/sidebar.d.mts → sidebar/index.d.mts} +4 -4
  83. package/dist/{organisms/sidebar.mjs → sidebar/index.mjs} +2 -2
  84. package/dist/sidebar/index.mjs.map +1 -0
  85. package/dist/skeleton/index.d.mts +17 -0
  86. package/dist/skeleton/index.mjs +2 -0
  87. package/dist/skeleton/index.mjs.map +1 -0
  88. package/dist/{atoms/stack.mjs → stack/index.mjs} +2 -2
  89. package/dist/{atoms/stack.mjs.map → stack/index.mjs.map} +1 -1
  90. package/dist/{atoms/switch.mjs → switch/index.mjs} +2 -2
  91. package/dist/switch/index.mjs.map +1 -0
  92. package/dist/{atoms/table.mjs → table/index.mjs} +2 -2
  93. package/dist/{atoms/table.mjs.map → table/index.mjs.map} +1 -1
  94. package/dist/tabs/index.d.mts +97 -0
  95. package/dist/tabs/index.mjs +2 -0
  96. package/dist/tabs/index.mjs.map +1 -0
  97. package/dist/{atoms/text-field.d.mts → text-field/index.d.mts} +2 -2
  98. package/dist/{atoms/text-field.mjs → text-field/index.mjs} +2 -2
  99. package/dist/text-field/index.mjs.map +1 -0
  100. package/dist/textarea/index.d.mts +24 -0
  101. package/dist/{atoms/textarea.mjs → textarea/index.mjs} +2 -2
  102. package/dist/textarea/index.mjs.map +1 -0
  103. package/dist/{atoms/toast.d.mts → toast/index.d.mts} +2 -2
  104. package/dist/{atoms/toast.mjs → toast/index.mjs} +2 -2
  105. package/dist/{atoms/toast.mjs.map → toast/index.mjs.map} +1 -1
  106. package/dist/{atoms/toaster.mjs → toaster/index.mjs} +2 -2
  107. package/dist/toaster/index.mjs.map +1 -0
  108. package/dist/{atoms/tooltip.mjs → tooltip/index.mjs} +2 -2
  109. package/dist/tooltip/index.mjs.map +1 -0
  110. package/dist/types/index.d.mts +2 -0
  111. package/dist/types/index.mjs +2 -0
  112. package/dist/types/index.mjs.map +1 -0
  113. package/dist/{atoms/typography.d.mts → typography/index.d.mts} +2 -2
  114. package/dist/{atoms/typography.mjs → typography/index.mjs} +2 -2
  115. package/dist/typography/index.mjs.map +1 -0
  116. package/dist/utils/index.d.mts +5 -0
  117. package/dist/{utils.mjs → utils/index.mjs} +2 -2
  118. package/dist/utils/index.mjs.map +1 -0
  119. package/package.json +197 -257
  120. package/dist/atoms/accordion.d.ts +0 -94
  121. package/dist/atoms/accordion.js +0 -2
  122. package/dist/atoms/accordion.js.map +0 -1
  123. package/dist/atoms/accordion.mjs.map +0 -1
  124. package/dist/atoms/avatar.d.ts +0 -34
  125. package/dist/atoms/avatar.js +0 -2
  126. package/dist/atoms/avatar.js.map +0 -1
  127. package/dist/atoms/avatar.mjs.map +0 -1
  128. package/dist/atoms/badge.d.ts +0 -40
  129. package/dist/atoms/badge.js +0 -2
  130. package/dist/atoms/badge.js.map +0 -1
  131. package/dist/atoms/box.d.ts +0 -50
  132. package/dist/atoms/box.js +0 -2
  133. package/dist/atoms/box.js.map +0 -1
  134. package/dist/atoms/box.mjs.map +0 -1
  135. package/dist/atoms/breadcrumb.d.ts +0 -35
  136. package/dist/atoms/breadcrumb.js +0 -2
  137. package/dist/atoms/breadcrumb.js.map +0 -1
  138. package/dist/atoms/breadcrumb.mjs.map +0 -1
  139. package/dist/atoms/button.d.ts +0 -82
  140. package/dist/atoms/button.js +0 -2
  141. package/dist/atoms/button.js.map +0 -1
  142. package/dist/atoms/button.mjs.map +0 -1
  143. package/dist/atoms/checkbox.d.ts +0 -21
  144. package/dist/atoms/checkbox.js +0 -2
  145. package/dist/atoms/checkbox.js.map +0 -1
  146. package/dist/atoms/checkbox.mjs.map +0 -1
  147. package/dist/atoms/collapsible.d.ts +0 -26
  148. package/dist/atoms/collapsible.js +0 -2
  149. package/dist/atoms/collapsible.js.map +0 -1
  150. package/dist/atoms/collapsible.mjs.map +0 -1
  151. package/dist/atoms/command.d.ts +0 -122
  152. package/dist/atoms/command.js +0 -2
  153. package/dist/atoms/command.js.map +0 -1
  154. package/dist/atoms/command.mjs.map +0 -1
  155. package/dist/atoms/container.js +0 -2
  156. package/dist/atoms/container.js.map +0 -1
  157. package/dist/atoms/container.mjs.map +0 -1
  158. package/dist/atoms/dialog.d.ts +0 -35
  159. package/dist/atoms/dialog.js +0 -2
  160. package/dist/atoms/dialog.js.map +0 -1
  161. package/dist/atoms/dialog.mjs.map +0 -1
  162. package/dist/atoms/input.d.ts +0 -12
  163. package/dist/atoms/input.js +0 -2
  164. package/dist/atoms/input.js.map +0 -1
  165. package/dist/atoms/label.d.ts +0 -18
  166. package/dist/atoms/label.js +0 -2
  167. package/dist/atoms/label.js.map +0 -1
  168. package/dist/atoms/page-loader.d.ts +0 -29
  169. package/dist/atoms/page-loader.js +0 -2
  170. package/dist/atoms/page-loader.js.map +0 -1
  171. package/dist/atoms/page-loader.mjs.map +0 -1
  172. package/dist/atoms/pagination.d.ts +0 -105
  173. package/dist/atoms/pagination.js +0 -2
  174. package/dist/atoms/pagination.js.map +0 -1
  175. package/dist/atoms/pagination.mjs.map +0 -1
  176. package/dist/atoms/popover.d.ts +0 -30
  177. package/dist/atoms/popover.js +0 -2
  178. package/dist/atoms/popover.js.map +0 -1
  179. package/dist/atoms/popover.mjs.map +0 -1
  180. package/dist/atoms/radio-group.d.ts +0 -62
  181. package/dist/atoms/radio-group.js +0 -2
  182. package/dist/atoms/radio-group.js.map +0 -1
  183. package/dist/atoms/radio-group.mjs.map +0 -1
  184. package/dist/atoms/resizable.d.ts +0 -53
  185. package/dist/atoms/resizable.js +0 -2
  186. package/dist/atoms/resizable.js.map +0 -1
  187. package/dist/atoms/resizable.mjs.map +0 -1
  188. package/dist/atoms/separator.d.ts +0 -13
  189. package/dist/atoms/separator.js +0 -2
  190. package/dist/atoms/separator.js.map +0 -1
  191. package/dist/atoms/separator.mjs.map +0 -1
  192. package/dist/atoms/sheet.d.ts +0 -42
  193. package/dist/atoms/sheet.js +0 -2
  194. package/dist/atoms/sheet.js.map +0 -1
  195. package/dist/atoms/skeleton.js +0 -2
  196. package/dist/atoms/skeleton.js.map +0 -1
  197. package/dist/atoms/skeleton.mjs +0 -2
  198. package/dist/atoms/skeleton.mjs.map +0 -1
  199. package/dist/atoms/stack.d.ts +0 -121
  200. package/dist/atoms/stack.js +0 -2
  201. package/dist/atoms/stack.js.map +0 -1
  202. package/dist/atoms/switch.d.ts +0 -21
  203. package/dist/atoms/switch.js +0 -2
  204. package/dist/atoms/switch.js.map +0 -1
  205. package/dist/atoms/switch.mjs.map +0 -1
  206. package/dist/atoms/table.d.ts +0 -53
  207. package/dist/atoms/table.js +0 -2
  208. package/dist/atoms/table.js.map +0 -1
  209. package/dist/atoms/text-field.d.ts +0 -65
  210. package/dist/atoms/text-field.js +0 -2
  211. package/dist/atoms/text-field.js.map +0 -1
  212. package/dist/atoms/text-field.mjs.map +0 -1
  213. package/dist/atoms/textarea.js +0 -2
  214. package/dist/atoms/textarea.js.map +0 -1
  215. package/dist/atoms/textarea.mjs.map +0 -1
  216. package/dist/atoms/toast.d.ts +0 -18
  217. package/dist/atoms/toast.js +0 -2
  218. package/dist/atoms/toast.js.map +0 -1
  219. package/dist/atoms/toaster.d.ts +0 -26
  220. package/dist/atoms/toaster.js +0 -2
  221. package/dist/atoms/toaster.js.map +0 -1
  222. package/dist/atoms/toaster.mjs.map +0 -1
  223. package/dist/atoms/tooltip.d.ts +0 -25
  224. package/dist/atoms/tooltip.js +0 -2
  225. package/dist/atoms/tooltip.js.map +0 -1
  226. package/dist/atoms/tooltip.mjs.map +0 -1
  227. package/dist/atoms/typography.d.ts +0 -24
  228. package/dist/atoms/typography.js +0 -2
  229. package/dist/atoms/typography.js.map +0 -1
  230. package/dist/atoms/typography.mjs.map +0 -1
  231. package/dist/atoms.d.mts +0 -1237
  232. package/dist/atoms.d.ts +0 -1237
  233. package/dist/atoms.js +0 -2
  234. package/dist/atoms.js.map +0 -1
  235. package/dist/atoms.mjs +0 -2
  236. package/dist/atoms.mjs.map +0 -1
  237. package/dist/hooks.d.ts +0 -57
  238. package/dist/hooks.js +0 -2
  239. package/dist/hooks.mjs.map +0 -1
  240. package/dist/index.d.ts +0 -2619
  241. package/dist/index.js +0 -2
  242. package/dist/index.js.map +0 -1
  243. package/dist/molecules/card.d.mts +0 -72
  244. package/dist/molecules/card.d.ts +0 -72
  245. package/dist/molecules/card.js +0 -2
  246. package/dist/molecules/card.js.map +0 -1
  247. package/dist/molecules/card.mjs +0 -2
  248. package/dist/molecules/card.mjs.map +0 -1
  249. package/dist/molecules/navigation-menu.d.ts +0 -103
  250. package/dist/molecules/navigation-menu.js +0 -2
  251. package/dist/molecules/navigation-menu.js.map +0 -1
  252. package/dist/molecules/navigation-menu.mjs.map +0 -1
  253. package/dist/molecules/tabs.d.mts +0 -32
  254. package/dist/molecules/tabs.d.ts +0 -32
  255. package/dist/molecules/tabs.js +0 -2
  256. package/dist/molecules/tabs.js.map +0 -1
  257. package/dist/molecules/tabs.mjs +0 -2
  258. package/dist/molecules/tabs.mjs.map +0 -1
  259. package/dist/molecules.d.mts +0 -201
  260. package/dist/molecules.d.ts +0 -201
  261. package/dist/molecules.js +0 -2
  262. package/dist/molecules.js.map +0 -1
  263. package/dist/molecules.mjs +0 -2
  264. package/dist/molecules.mjs.map +0 -1
  265. package/dist/organisms/drawer.d.ts +0 -63
  266. package/dist/organisms/drawer.js +0 -2
  267. package/dist/organisms/drawer.js.map +0 -1
  268. package/dist/organisms/drawer.mjs.map +0 -1
  269. package/dist/organisms/dropdown-menu.d.ts +0 -335
  270. package/dist/organisms/dropdown-menu.js +0 -2
  271. package/dist/organisms/dropdown-menu.js.map +0 -1
  272. package/dist/organisms/dropdown-menu.mjs.map +0 -1
  273. package/dist/organisms/sidebar.d.ts +0 -328
  274. package/dist/organisms/sidebar.js +0 -2
  275. package/dist/organisms/sidebar.js.map +0 -1
  276. package/dist/organisms/sidebar.mjs.map +0 -1
  277. package/dist/organisms.d.mts +0 -717
  278. package/dist/organisms.d.ts +0 -717
  279. package/dist/organisms.js +0 -2
  280. package/dist/organisms.js.map +0 -1
  281. package/dist/organisms.mjs +0 -2
  282. package/dist/organisms.mjs.map +0 -1
  283. package/dist/rhf/form.d.ts +0 -96
  284. package/dist/rhf/form.js +0 -2
  285. package/dist/rhf/form.js.map +0 -1
  286. package/dist/rhf/form.mjs.map +0 -1
  287. package/dist/rhf/rhf-checkbox.d.ts +0 -57
  288. package/dist/rhf/rhf-checkbox.js +0 -2
  289. package/dist/rhf/rhf-checkbox.js.map +0 -1
  290. package/dist/rhf/rhf-checkbox.mjs.map +0 -1
  291. package/dist/rhf/rhf-multi-select.d.ts +0 -84
  292. package/dist/rhf/rhf-multi-select.js +0 -2
  293. package/dist/rhf/rhf-multi-select.js.map +0 -1
  294. package/dist/rhf/rhf-multi-select.mjs.map +0 -1
  295. package/dist/rhf/rhf-radio-button-group.d.ts +0 -73
  296. package/dist/rhf/rhf-radio-button-group.js +0 -2
  297. package/dist/rhf/rhf-radio-button-group.js.map +0 -1
  298. package/dist/rhf/rhf-radio-button-group.mjs.map +0 -1
  299. package/dist/rhf/rhf-radio-group.d.ts +0 -103
  300. package/dist/rhf/rhf-radio-group.js +0 -2
  301. package/dist/rhf/rhf-radio-group.js.map +0 -1
  302. package/dist/rhf/rhf-radio-group.mjs.map +0 -1
  303. package/dist/rhf/rhf-select.d.ts +0 -80
  304. package/dist/rhf/rhf-select.js +0 -2
  305. package/dist/rhf/rhf-select.js.map +0 -1
  306. package/dist/rhf/rhf-select.mjs.map +0 -1
  307. package/dist/rhf/rhf-switch.d.ts +0 -57
  308. package/dist/rhf/rhf-switch.js +0 -2
  309. package/dist/rhf/rhf-switch.js.map +0 -1
  310. package/dist/rhf/rhf-switch.mjs.map +0 -1
  311. package/dist/rhf/rhf-textarea.d.ts +0 -66
  312. package/dist/rhf/rhf-textarea.js +0 -2
  313. package/dist/rhf/rhf-textarea.js.map +0 -1
  314. package/dist/rhf/rhf-textarea.mjs.map +0 -1
  315. package/dist/rhf.d.mts +0 -614
  316. package/dist/rhf.d.ts +0 -614
  317. package/dist/rhf.js +0 -2
  318. package/dist/rhf.js.map +0 -1
  319. package/dist/rhf.mjs +0 -2
  320. package/dist/rhf.mjs.map +0 -1
  321. package/dist/types.js +0 -2
  322. package/dist/types.js.map +0 -1
  323. package/dist/types.mjs +0 -2
  324. package/dist/types.mjs.map +0 -1
  325. package/dist/utils.js +0 -2
  326. package/dist/utils.js.map +0 -1
  327. package/dist/utils.mjs.map +0 -1
  328. /package/dist/{atoms/accordion.d.mts → accordion/index.d.mts} +0 -0
  329. /package/dist/{atoms/avatar.d.mts → avatar/index.d.mts} +0 -0
  330. /package/dist/{atoms/box.d.mts → box/index.d.mts} +0 -0
  331. /package/dist/{atoms/breadcrumb.d.mts → breadcrumb/index.d.mts} +0 -0
  332. /package/dist/{atoms/checkbox.d.mts → checkbox/index.d.mts} +0 -0
  333. /package/dist/{atoms/collapsible.d.mts → collapsible/index.d.mts} +0 -0
  334. /package/dist/{atoms/command.d.mts → command/index.d.mts} +0 -0
  335. /package/dist/{atoms/dialog.d.mts → dialog/index.d.mts} +0 -0
  336. /package/dist/{organisms/drawer.d.mts → drawer/index.d.mts} +0 -0
  337. /package/dist/{rhf/form.d.mts → form/index.d.mts} +0 -0
  338. /package/dist/{atoms/input.d.mts → input/index.d.mts} +0 -0
  339. /package/dist/{atoms/popover.d.mts → popover/index.d.mts} +0 -0
  340. /package/dist/{atoms/resizable.d.mts → resizable/index.d.mts} +0 -0
  341. /package/dist/{rhf/rhf-checkbox.d.mts → rhf-checkbox/index.d.mts} +0 -0
  342. /package/dist/{rhf/rhf-multi-select.d.mts → rhf-multi-select/index.d.mts} +0 -0
  343. /package/dist/{rhf/rhf-radio-button-group.d.mts → rhf-radio-button-group/index.d.mts} +0 -0
  344. /package/dist/{rhf/rhf-radio-group.d.mts → rhf-radio-group/index.d.mts} +0 -0
  345. /package/dist/{rhf/rhf-select.d.mts → rhf-select/index.d.mts} +0 -0
  346. /package/dist/{rhf/rhf-switch.d.mts → rhf-switch/index.d.mts} +0 -0
  347. /package/dist/{rhf/rhf-textarea.d.mts → rhf-textarea/index.d.mts} +0 -0
  348. /package/dist/{atoms/separator.d.mts → separator/index.d.mts} +0 -0
  349. /package/dist/{atoms/stack.d.mts → stack/index.d.mts} +0 -0
  350. /package/dist/{atoms/switch.d.mts → switch/index.d.mts} +0 -0
  351. /package/dist/{atoms/table.d.mts → table/index.d.mts} +0 -0
  352. /package/dist/{atoms/toaster.d.mts → toaster/index.d.mts} +0 -0
  353. /package/dist/{atoms/tooltip.d.mts → tooltip/index.d.mts} +0 -0
@@ -1,717 +0,0 @@
1
- import * as vaul from 'vaul';
2
- import { Drawer as Drawer$1 } from 'vaul';
3
- import * as _radix_ui_react_dialog from '@radix-ui/react-dialog';
4
- import * as react_jsx_runtime from 'react/jsx-runtime';
5
- import * as React$1 from 'react';
6
- import * as class_variance_authority_types from 'class-variance-authority/types';
7
- import * as _radix_ui_react_separator from '@radix-ui/react-separator';
8
- import { VariantProps } from 'class-variance-authority';
9
- import * as TooltipPrimitive from '@radix-ui/react-tooltip';
10
- import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
11
-
12
- declare const Drawer: {
13
- ({ shouldScaleBackground, ...props }: React$1.ComponentProps<typeof Drawer$1.Root>): react_jsx_runtime.JSX.Element;
14
- displayName: string;
15
- };
16
- /**
17
- * The trigger element that opens the drawer.
18
- * Should be used with the `asChild` prop to wrap your own trigger element.
19
- */
20
- declare const DrawerTrigger: React$1.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
21
- /**
22
- * Portal component that renders the drawer content outside the DOM hierarchy.
23
- * This ensures proper stacking context and accessibility.
24
- */
25
- declare const DrawerPortal: typeof vaul.Portal;
26
- /**
27
- * Close button component for the drawer.
28
- * Should be used with the `asChild` prop to wrap your own close button.
29
- */
30
- declare const DrawerClose: React$1.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
31
- /**
32
- * Overlay component that appears behind the drawer.
33
- * Provides a semi-transparent backdrop and handles click-outside behavior.
34
- */
35
- declare const DrawerOverlay: React$1.ForwardRefExoticComponent<Omit<Omit<_radix_ui_react_dialog.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
36
- /**
37
- * The main content container for the drawer.
38
- * Includes the handle bar at the top and manages the slide-up animation.
39
- */
40
- declare const DrawerContent: React$1.ForwardRefExoticComponent<Omit<Omit<_radix_ui_react_dialog.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
41
- /**
42
- * Header section of the drawer.
43
- * Typically contains the title and description.
44
- */
45
- declare const DrawerHeader: {
46
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
47
- displayName: string;
48
- };
49
- /**
50
- * Footer section of the drawer.
51
- * Typically contains action buttons.
52
- */
53
- declare const DrawerFooter: {
54
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
55
- displayName: string;
56
- };
57
- /**
58
- * Title component for the drawer.
59
- * Should be used within DrawerHeader.
60
- */
61
- declare const DrawerTitle: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_dialog.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
62
- /**
63
- * Description component for the drawer.
64
- * Should be used within DrawerHeader.
65
- */
66
- declare const DrawerDescription: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_dialog.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
67
-
68
- /**
69
- * Props interface for the Button component.
70
- * Extends the native button HTML attributes and adds support for variants and asChild prop.
71
- * Implements proper accessibility features and follows WCAG 2.1 Level AA guidelines.
72
- *
73
- * @interface ButtonProps
74
- * @extends {React.ButtonHTMLAttributes<HTMLButtonElement>}
75
- * @extends {VariantProps<typeof buttonVariants>}
76
- *
77
- * @property {boolean} [asChild] - When true, renders the button as a child component using Radix UI's Slot.
78
- * @property {ButtonVariant} [variant] - The visual style variant of the button.
79
- * @property {ButtonSize} [size] - The size variant of the button.
80
- * @property {string} [className] - Additional CSS classes to apply to the button.
81
- * @property {React.ReactNode} [startIcon] - Icon to display before the button text.
82
- * @property {React.ReactNode} [endIcon] - Icon to display after the button text.
83
- * @property {boolean} [loading] - Whether the button is in a loading state.
84
- * @property {string} [type] - The type of button (button, submit, reset). Defaults to "button".
85
- * @property {string} [aria-label] - Accessible label for the button. Falls back to button text if not provided.
86
- */
87
- interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
88
- asChild?: boolean;
89
- startIcon?: React$1.ReactNode;
90
- endIcon?: React$1.ReactNode;
91
- loading?: boolean;
92
- type?: "button" | "submit" | "reset";
93
- "aria-label"?: string;
94
- }
95
-
96
- /**
97
- * Button variant styles using class-variance-authority.
98
- * Defines the visual styles for different button variants and sizes.
99
- * Follows WCAG 2.1 Level AA guidelines for accessibility.
100
- *
101
- * @example
102
- * ```tsx
103
- * <Button variant="primary" size="lg">Click me</Button>
104
- * ```
105
- */
106
- declare const buttonVariants: (props?: ({
107
- variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
108
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
109
- } & class_variance_authority_types.ClassProp) | undefined) => string;
110
-
111
- declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
112
-
113
- type SidebarContextProps$1 = {
114
- state: "expanded" | "collapsed";
115
- open: boolean;
116
- setOpen: (open: boolean) => void;
117
- openMobile: boolean;
118
- setOpenMobile: (open: boolean) => void;
119
- isMobile: boolean;
120
- toggleSidebar: () => void;
121
- };
122
- declare function useSidebar(): SidebarContextProps$1;
123
- declare const SidebarProvider: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
124
- defaultOpen?: boolean;
125
- open?: boolean;
126
- onOpenChange?: (open: boolean) => void;
127
- }, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
128
- /**
129
- * A flexible sidebar component that supports various layouts and configurations.
130
- * The sidebar can be positioned on either side of the screen and supports different
131
- * visual styles and collapse behaviors.
132
- *
133
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
134
- *
135
- * @example
136
- * ```tsx
137
- * <Sidebar>
138
- * <SidebarHeader>
139
- * <SidebarTitle>Dashboard</SidebarTitle>
140
- * </SidebarHeader>
141
- * <SidebarContent>
142
- * <SidebarMenu>
143
- * <SidebarMenuItem icon={<HomeIcon />}>Home</SidebarMenuItem>
144
- * <SidebarMenuItem icon={<SettingsIcon />}>Settings</SidebarMenuItem>
145
- * </SidebarMenu>
146
- * </SidebarContent>
147
- * <SidebarFooter>
148
- * <SidebarTrigger />
149
- * </SidebarFooter>
150
- * </Sidebar>
151
- * ```
152
- */
153
- declare const Sidebar: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
154
- side?: "left" | "right";
155
- variant?: "sidebar" | "floating" | "inset";
156
- collapsible?: "offcanvas" | "icon" | "none";
157
- }, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
158
- declare const SidebarTrigger: React$1.ForwardRefExoticComponent<Omit<ButtonProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
159
- declare const SidebarRail: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
160
- declare const SidebarInset: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
161
- declare const SidebarInput: React$1.ForwardRefExoticComponent<Omit<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
162
- declare const SidebarHeader: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
163
- declare const SidebarFooter: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
164
- declare const SidebarSeparator: React$1.ForwardRefExoticComponent<Omit<Omit<_radix_ui_react_separator.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
165
- declare const SidebarContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
166
- declare const SidebarGroup: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
167
- declare const SidebarGroupLabel: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
168
- asChild?: boolean;
169
- }, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
170
- declare const SidebarGroupAction: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
171
- asChild?: boolean;
172
- }, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
173
- declare const SidebarGroupContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
174
- declare const SidebarMenu: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
175
- declare const SidebarMenuItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
176
- declare const sidebarMenuButtonVariants: (props?: ({
177
- variant?: "default" | "outline" | null | undefined;
178
- size?: "default" | "sm" | "lg" | null | undefined;
179
- } & class_variance_authority_types.ClassProp) | undefined) => string;
180
- declare const SidebarMenuButton: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
181
- asChild?: boolean;
182
- isActive?: boolean;
183
- tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
184
- } & VariantProps<(props?: ({
185
- variant?: "default" | "outline" | null | undefined;
186
- size?: "default" | "sm" | "lg" | null | undefined;
187
- } & class_variance_authority_types.ClassProp) | undefined) => string>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
188
- declare const SidebarMenuAction: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLButtonElement> & React$1.ButtonHTMLAttributes<HTMLButtonElement> & {
189
- asChild?: boolean;
190
- showOnHover?: boolean;
191
- }, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
192
- declare const SidebarMenuBadge: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
193
- declare const SidebarMenuSkeleton: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
194
- showIcon?: boolean;
195
- }, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
196
- declare const SidebarMenuSub: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
197
- declare const SidebarMenuSubItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
198
- declare const SidebarMenuSubButton: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLAnchorElement> & React$1.AnchorHTMLAttributes<HTMLAnchorElement> & {
199
- asChild?: boolean;
200
- size?: "sm" | "md";
201
- isActive?: boolean;
202
- }, "ref"> & React$1.RefAttributes<HTMLAnchorElement>>;
203
-
204
- /**
205
- * Context props for the Sidebar component that manages its state and behavior.
206
- * This context provides the necessary state and methods to control the sidebar's
207
- * expansion, collapse, and mobile responsiveness.
208
- *
209
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
210
- */
211
- type SidebarContextProps = {
212
- /** Current state of the sidebar - either expanded or collapsed */
213
- state: "expanded" | "collapsed";
214
- /** Whether the sidebar is currently open */
215
- open: boolean;
216
- /** Function to control the sidebar's open state */
217
- setOpen: (open: boolean) => void;
218
- /** Whether the mobile sidebar is currently open */
219
- openMobile: boolean;
220
- /** Function to control the mobile sidebar's open state */
221
- setOpenMobile: (open: boolean) => void;
222
- /** Whether the sidebar is being viewed on a mobile device */
223
- isMobile: boolean;
224
- /** Function to toggle the sidebar's state */
225
- toggleSidebar: () => void;
226
- };
227
- /**
228
- * Props for the main Sidebar component.
229
- * Extends the base div props and adds sidebar-specific configuration options.
230
- *
231
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
232
- *
233
- * @example
234
- * ```tsx
235
- * <Sidebar
236
- * side="left"
237
- * variant="sidebar"
238
- * collapsible="icon"
239
- * >
240
- * <SidebarContent>...</SidebarContent>
241
- * </Sidebar>
242
- * ```
243
- */
244
- type SidebarProps = React$1.ComponentProps<"div"> & {
245
- /** Position of the sidebar relative to the main content */
246
- side?: "left" | "right";
247
- /** Visual style variant of the sidebar */
248
- variant?: "sidebar" | "floating" | "inset";
249
- /** Collapse behavior of the sidebar */
250
- collapsible?: "offcanvas" | "icon" | "none";
251
- };
252
- /**
253
- * Props for the SidebarProvider component that manages sidebar state.
254
- * Provides controlled and uncontrolled state management options.
255
- *
256
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
257
- *
258
- * @example
259
- * ```tsx
260
- * <SidebarProvider defaultOpen={true}>
261
- * <Sidebar>...</Sidebar>
262
- * </SidebarProvider>
263
- * ```
264
- */
265
- type SidebarProviderProps = React$1.ComponentProps<"div"> & {
266
- /** Initial open state for uncontrolled usage */
267
- defaultOpen?: boolean;
268
- /** Controlled open state */
269
- open?: boolean;
270
- /** Callback when open state changes */
271
- onOpenChange?: (open: boolean) => void;
272
- };
273
- /**
274
- * Props for the SidebarMenuButton component.
275
- * Extends button props with additional styling and behavior options.
276
- *
277
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
278
- *
279
- * @example
280
- * ```tsx
281
- * <SidebarMenuButton
282
- * isActive={true}
283
- * tooltip="Dashboard"
284
- * >
285
- * <DashboardIcon />
286
- * </SidebarMenuButton>
287
- * ```
288
- */
289
- type SidebarMenuButtonProps = React$1.ComponentProps<"button"> & {
290
- /** Whether to render as a child component */
291
- asChild?: boolean;
292
- /** Whether the button is currently active */
293
- isActive?: boolean;
294
- /** Tooltip content or configuration */
295
- tooltip?: string | React$1.ComponentProps<typeof TooltipContent>;
296
- } & VariantProps<typeof sidebarMenuButtonVariants>;
297
- /**
298
- * Props for the SidebarMenuAction component.
299
- * Used for action buttons within the sidebar menu.
300
- *
301
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
302
- *
303
- * @example
304
- * ```tsx
305
- * <SidebarMenuAction showOnHover>
306
- * <PlusIcon />
307
- * </SidebarMenuAction>
308
- * ```
309
- */
310
- type SidebarMenuActionProps = React$1.ComponentProps<"button"> & {
311
- /** Whether to render as a child component */
312
- asChild?: boolean;
313
- /** Whether to only show the action on hover */
314
- showOnHover?: boolean;
315
- };
316
- /**
317
- * Props for the SidebarMenuSubButton component.
318
- * Used for secondary navigation items within the sidebar.
319
- *
320
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
321
- *
322
- * @example
323
- * ```tsx
324
- * <SidebarMenuSubButton
325
- * size="sm"
326
- * isActive={true}
327
- * href="/settings/profile"
328
- * >
329
- * Profile Settings
330
- * </SidebarMenuSubButton>
331
- * ```
332
- */
333
- type SidebarMenuSubButtonProps = React$1.ComponentProps<"a"> & {
334
- /** Whether to render as a child component */
335
- asChild?: boolean;
336
- /** Size variant of the sub-button */
337
- size?: "sm" | "md";
338
- /** Whether the sub-button is currently active */
339
- isActive?: boolean;
340
- };
341
- /**
342
- * Props for the SidebarMenuSkeleton component.
343
- * Used to show loading states in the sidebar menu.
344
- *
345
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
346
- *
347
- * @example
348
- * ```tsx
349
- * <SidebarMenuSkeleton showIcon />
350
- * ```
351
- */
352
- type SidebarMenuSkeletonProps = React$1.ComponentProps<"div"> & {
353
- /** Whether to show an icon skeleton */
354
- showIcon?: boolean;
355
- };
356
- /**
357
- * Props for the SidebarGroupLabel component.
358
- * Used to display section labels within the sidebar.
359
- *
360
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
361
- *
362
- * @example
363
- * ```tsx
364
- * <SidebarGroupLabel>Navigation</SidebarGroupLabel>
365
- * ```
366
- */
367
- type SidebarGroupLabelProps = React$1.ComponentProps<"div"> & {
368
- /** Whether to render as a child component */
369
- asChild?: boolean;
370
- };
371
- /**
372
- * Props for the SidebarGroupAction component.
373
- * Used for action buttons within sidebar groups.
374
- *
375
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-sidebar--docs
376
- *
377
- * @example
378
- * ```tsx
379
- * <SidebarGroupAction>
380
- * <SettingsIcon />
381
- * </SidebarGroupAction>
382
- * ```
383
- */
384
- type SidebarGroupActionProps = React$1.ComponentProps<"button"> & {
385
- /** Whether to render as a child component */
386
- asChild?: boolean;
387
- };
388
-
389
- /**
390
- * DropdownMenu component for creating accessible dropdown menus.
391
- * Built on top of Radix UI's DropdownMenu primitive.
392
- *
393
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/organisms-dropdown-menu--docs
394
- *
395
- * @example
396
- * ```tsx
397
- * <DropdownMenu>
398
- * <DropdownMenuTrigger>Open Menu</DropdownMenuTrigger>
399
- * <DropdownMenuContent>
400
- * <DropdownMenuItem>Item 1</DropdownMenuItem>
401
- * <DropdownMenuItem>Item 2</DropdownMenuItem>
402
- * <DropdownMenuItem>Item 3</DropdownMenuItem>
403
- * </DropdownMenuContent>
404
- * </DropdownMenu>
405
- * ```
406
- */
407
- declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps>;
408
- declare const DropdownMenuTrigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
409
- declare const DropdownMenuGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
410
- declare const DropdownMenuPortal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
411
- declare const DropdownMenuSub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
412
- declare const DropdownMenuRadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
413
- declare const DropdownMenuSubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
414
- inset?: boolean;
415
- } & React$1.RefAttributes<HTMLDivElement>>;
416
- declare const DropdownMenuSubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
417
- declare const DropdownMenuContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
418
- declare const DropdownMenuItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
419
- inset?: boolean;
420
- } & React$1.RefAttributes<HTMLDivElement>>;
421
- declare const DropdownMenuCheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
422
- declare const DropdownMenuRadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
423
- declare const DropdownMenuLabel: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
424
- inset?: boolean;
425
- } & React$1.RefAttributes<HTMLDivElement>>;
426
- declare const DropdownMenuSeparator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
427
- declare const DropdownMenuShortcut: {
428
- ({ className, ...props }: React$1.HTMLAttributes<HTMLSpanElement>): react_jsx_runtime.JSX.Element;
429
- displayName: string;
430
- };
431
-
432
- declare const dropdownMenuTriggerStyle: (props?: ({
433
- variant?: "link" | "default" | "outline" | "ghost" | null | undefined;
434
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
435
- } & class_variance_authority_types.ClassProp) | undefined) => string;
436
-
437
- type DropdownMenuTriggerVariants = VariantProps<typeof dropdownMenuTriggerStyle>;
438
- interface DropdownMenuProps {
439
- /**
440
- * The content of the dropdown menu
441
- */
442
- children: React.ReactNode;
443
- /**
444
- * The open state of the dropdown menu
445
- */
446
- open?: boolean;
447
- /**
448
- * The default open state of the dropdown menu
449
- */
450
- defaultOpen?: boolean;
451
- /**
452
- * The controlled open state of the dropdown menu
453
- */
454
- onOpenChange?: (open: boolean) => void;
455
- /**
456
- * The modal state of the dropdown menu
457
- */
458
- modal?: boolean;
459
- }
460
- interface DropdownMenuTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, DropdownMenuTriggerVariants {
461
- /**
462
- * The content of the trigger
463
- */
464
- children: React.ReactNode;
465
- /**
466
- * The variant of the trigger
467
- */
468
- variant?: DropdownMenuTriggerVariants["variant"];
469
- /**
470
- * The size of the trigger
471
- */
472
- size?: DropdownMenuTriggerVariants["size"];
473
- }
474
- interface DropdownMenuContentProps extends React.HTMLAttributes<HTMLDivElement> {
475
- /**
476
- * The content of the dropdown menu
477
- */
478
- children: React.ReactNode;
479
- /**
480
- * The side offset of the dropdown menu
481
- */
482
- sideOffset?: number;
483
- /**
484
- * The align offset of the dropdown menu
485
- */
486
- alignOffset?: number;
487
- /**
488
- * The side of the dropdown menu
489
- */
490
- side?: "top" | "right" | "bottom" | "left";
491
- /**
492
- * The alignment of the dropdown menu
493
- */
494
- align?: "start" | "center" | "end";
495
- /**
496
- * The collision padding of the dropdown menu
497
- */
498
- collisionPadding?: number;
499
- /**
500
- * The collision boundary of the dropdown menu
501
- */
502
- collisionBoundary?: Element | null | Array<Element | null>;
503
- /**
504
- * The arrow padding of the dropdown menu
505
- */
506
- arrowPadding?: number;
507
- /**
508
- * The sticky state of the dropdown menu
509
- */
510
- sticky?: "partial" | "always";
511
- /**
512
- * The hide when detached state of the dropdown menu
513
- */
514
- hideWhenDetached?: boolean;
515
- /**
516
- * The update position strategy of the dropdown menu
517
- */
518
- updatePositionStrategy?: "optimized" | "always";
519
- /**
520
- * The force mount state of the dropdown menu
521
- */
522
- forceMount?: boolean;
523
- /**
524
- * The container of the dropdown menu
525
- */
526
- container?: HTMLElement;
527
- }
528
- interface DropdownMenuItemProps extends React.HTMLAttributes<HTMLDivElement> {
529
- /**
530
- * The content of the dropdown menu item
531
- */
532
- children: React.ReactNode;
533
- /**
534
- * The inset state of the dropdown menu item
535
- */
536
- inset?: boolean;
537
- /**
538
- * The disabled state of the dropdown menu item
539
- */
540
- disabled?: boolean;
541
- /**
542
- * The selected state of the dropdown menu item
543
- */
544
- selected?: boolean;
545
- }
546
- interface DropdownMenuCheckboxItemProps extends React.HTMLAttributes<HTMLDivElement> {
547
- /**
548
- * The content of the dropdown menu checkbox item
549
- */
550
- children: React.ReactNode;
551
- /**
552
- * The checked state of the dropdown menu checkbox item
553
- */
554
- checked?: boolean;
555
- /**
556
- * The disabled state of the dropdown menu checkbox item
557
- */
558
- disabled?: boolean;
559
- /**
560
- * The on checked change handler of the dropdown menu checkbox item
561
- */
562
- onCheckedChange?: (checked: boolean) => void;
563
- }
564
- interface DropdownMenuRadioItemProps extends React.HTMLAttributes<HTMLDivElement> {
565
- /**
566
- * The content of the dropdown menu radio item
567
- */
568
- children: React.ReactNode;
569
- /**
570
- * The value of the dropdown menu radio item
571
- */
572
- value: string;
573
- /**
574
- * The disabled state of the dropdown menu radio item
575
- */
576
- disabled?: boolean;
577
- }
578
- interface DropdownMenuLabelProps extends React.HTMLAttributes<HTMLDivElement> {
579
- /**
580
- * The content of the dropdown menu label
581
- */
582
- children: React.ReactNode;
583
- /**
584
- * The inset state of the dropdown menu label
585
- */
586
- inset?: boolean;
587
- }
588
- interface DropdownMenuSeparatorProps extends React.HTMLAttributes<HTMLDivElement> {
589
- }
590
- interface DropdownMenuShortcutProps extends React.HTMLAttributes<HTMLSpanElement> {
591
- /**
592
- * The content of the dropdown menu shortcut
593
- */
594
- children: React.ReactNode;
595
- }
596
- interface DropdownMenuGroupProps extends React.HTMLAttributes<HTMLDivElement> {
597
- /**
598
- * The content of the dropdown menu group
599
- */
600
- children: React.ReactNode;
601
- }
602
- interface DropdownMenuPortalProps {
603
- /**
604
- * The content of the dropdown menu portal
605
- */
606
- children: React.ReactNode;
607
- /**
608
- * The container of the dropdown menu portal
609
- */
610
- container?: HTMLElement;
611
- }
612
- interface DropdownMenuSubProps {
613
- /**
614
- * The content of the dropdown menu sub
615
- */
616
- children: React.ReactNode;
617
- /**
618
- * The open state of the dropdown menu sub
619
- */
620
- open?: boolean;
621
- /**
622
- * The default open state of the dropdown menu sub
623
- */
624
- defaultOpen?: boolean;
625
- /**
626
- * The controlled open state of the dropdown menu sub
627
- */
628
- onOpenChange?: (open: boolean) => void;
629
- }
630
- interface DropdownMenuSubContentProps extends React.HTMLAttributes<HTMLDivElement> {
631
- /**
632
- * The content of the dropdown menu sub content
633
- */
634
- children: React.ReactNode;
635
- /**
636
- * The side offset of the dropdown menu sub content
637
- */
638
- sideOffset?: number;
639
- /**
640
- * The align offset of the dropdown menu sub content
641
- */
642
- alignOffset?: number;
643
- /**
644
- * The side of the dropdown menu sub content
645
- */
646
- side?: "top" | "right" | "bottom" | "left";
647
- /**
648
- * The alignment of the dropdown menu sub content
649
- */
650
- align?: "start" | "center" | "end";
651
- /**
652
- * The collision padding of the dropdown menu sub content
653
- */
654
- collisionPadding?: number;
655
- /**
656
- * The collision boundary of the dropdown menu sub content
657
- */
658
- collisionBoundary?: Element | null | Array<Element | null>;
659
- /**
660
- * The arrow padding of the dropdown menu sub content
661
- */
662
- arrowPadding?: number;
663
- /**
664
- * The sticky state of the dropdown menu sub content
665
- */
666
- sticky?: "partial" | "always";
667
- /**
668
- * The hide when detached state of the dropdown menu sub content
669
- */
670
- hideWhenDetached?: boolean;
671
- /**
672
- * The update position strategy of the dropdown menu sub content
673
- */
674
- updatePositionStrategy?: "optimized" | "always";
675
- /**
676
- * The force mount state of the dropdown menu sub content
677
- */
678
- forceMount?: boolean;
679
- /**
680
- * The container of the dropdown menu sub content
681
- */
682
- container?: HTMLElement;
683
- }
684
- interface DropdownMenuSubTriggerProps extends React.HTMLAttributes<HTMLDivElement> {
685
- /**
686
- * The content of the dropdown menu sub trigger
687
- */
688
- children: React.ReactNode;
689
- /**
690
- * The inset state of the dropdown menu sub trigger
691
- */
692
- inset?: boolean;
693
- /**
694
- * The disabled state of the dropdown menu sub trigger
695
- */
696
- disabled?: boolean;
697
- }
698
- interface DropdownMenuRadioGroupProps {
699
- /**
700
- * The content of the dropdown menu radio group
701
- */
702
- children: React.ReactNode;
703
- /**
704
- * The value of the dropdown menu radio group
705
- */
706
- value?: string;
707
- /**
708
- * The default value of the dropdown menu radio group
709
- */
710
- defaultValue?: string;
711
- /**
712
- * The controlled value of the dropdown menu radio group
713
- */
714
- onValueChange?: (value: string) => void;
715
- }
716
-
717
- export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, type DropdownMenuContentProps, DropdownMenuGroup, type DropdownMenuGroupProps, DropdownMenuItem, type DropdownMenuItemProps, DropdownMenuLabel, type DropdownMenuLabelProps, DropdownMenuPortal, type DropdownMenuPortalProps, type DropdownMenuProps, DropdownMenuRadioGroup, type DropdownMenuRadioGroupProps, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuShortcut, type DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, type DropdownMenuSubContentProps, type DropdownMenuSubProps, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, Sidebar, SidebarContent, type SidebarContextProps, SidebarFooter, SidebarGroup, SidebarGroupAction, type SidebarGroupActionProps, SidebarGroupContent, SidebarGroupLabel, type SidebarGroupLabelProps, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, type SidebarMenuActionProps, SidebarMenuBadge, SidebarMenuButton, type SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuSkeleton, type SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, type SidebarMenuSubButtonProps, SidebarMenuSubItem, type SidebarProps, SidebarProvider, type SidebarProviderProps, SidebarRail, SidebarSeparator, SidebarTrigger, sidebarMenuButtonVariants, useSidebar };