@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
package/dist/atoms.d.ts DELETED
@@ -1,1237 +0,0 @@
1
- import * as class_variance_authority_types from 'class-variance-authority/types';
2
- import * as React$1 from 'react';
3
- import { ComponentProps, ComponentPropsWithoutRef, ElementRef } from 'react';
4
- import { VariantProps } from 'class-variance-authority';
5
- import * as react_jsx_runtime from 'react/jsx-runtime';
6
- import * as DialogPrimitive from '@radix-ui/react-dialog';
7
- import { DialogProps } from '@radix-ui/react-dialog';
8
- import * as SeparatorPrimitive from '@radix-ui/react-separator';
9
- import * as AvatarPrimitive from '@radix-ui/react-avatar';
10
- import * as TooltipPrimitive from '@radix-ui/react-tooltip';
11
- import * as LabelPrimitive from '@radix-ui/react-label';
12
- import * as ToastPrimitives from '@radix-ui/react-toast';
13
- import * as ResizablePrimitive from 'react-resizable-panels';
14
- import * as SwitchPrimitives from '@radix-ui/react-switch';
15
- import * as CollapsiblePrimitive from '@radix-ui/react-collapsible';
16
- import { Command as Command$1 } from 'cmdk';
17
- import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
18
- import * as AccordionPrimitive from '@radix-ui/react-accordion';
19
- import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
20
-
21
- /**
22
- * Props interface for the Button component.
23
- * Extends the native button HTML attributes and adds support for variants and asChild prop.
24
- * Implements proper accessibility features and follows WCAG 2.1 Level AA guidelines.
25
- *
26
- * @interface ButtonProps
27
- * @extends {React.ButtonHTMLAttributes<HTMLButtonElement>}
28
- * @extends {VariantProps<typeof buttonVariants>}
29
- *
30
- * @property {boolean} [asChild] - When true, renders the button as a child component using Radix UI's Slot.
31
- * @property {ButtonVariant} [variant] - The visual style variant of the button.
32
- * @property {ButtonSize} [size] - The size variant of the button.
33
- * @property {string} [className] - Additional CSS classes to apply to the button.
34
- * @property {React.ReactNode} [startIcon] - Icon to display before the button text.
35
- * @property {React.ReactNode} [endIcon] - Icon to display after the button text.
36
- * @property {boolean} [loading] - Whether the button is in a loading state.
37
- * @property {string} [type] - The type of button (button, submit, reset). Defaults to "button".
38
- * @property {string} [aria-label] - Accessible label for the button. Falls back to button text if not provided.
39
- */
40
- interface ButtonProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
41
- asChild?: boolean;
42
- startIcon?: React$1.ReactNode;
43
- endIcon?: React$1.ReactNode;
44
- loading?: boolean;
45
- type?: "button" | "submit" | "reset";
46
- "aria-label"?: string;
47
- }
48
-
49
- /**
50
- * Button variant styles using class-variance-authority.
51
- * Defines the visual styles for different button variants and sizes.
52
- * Follows WCAG 2.1 Level AA guidelines for accessibility.
53
- *
54
- * @example
55
- * ```tsx
56
- * <Button variant="primary" size="lg">Click me</Button>
57
- * ```
58
- */
59
- declare const buttonVariants: (props?: ({
60
- variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
61
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
62
- } & class_variance_authority_types.ClassProp) | undefined) => string;
63
- /**
64
- * A versatile button component that supports multiple variants, sizes, and can be rendered as a child component.
65
- * Built on top of Radix UI's Slot primitive for maximum flexibility.
66
- * Implements proper accessibility features and follows WCAG 2.1 Level AA guidelines.
67
- *
68
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-button--docs
69
- *
70
- * @component
71
- * @example
72
- * ```tsx
73
- * // Default button
74
- * <Button>Click me</Button>
75
- *
76
- * // Destructive button with small size
77
- * <Button variant="destructive" size="sm">Delete</Button>
78
- *
79
- * // As a link
80
- * <Button variant="link" asChild>
81
- * <a href="/about">About</a>
82
- * </Button>
83
- *
84
- * // With icons
85
- * <Button startIcon={<Icon />}>With Start Icon</Button>
86
- * <Button endIcon={<Icon />}>With End Icon</Button>
87
- *
88
- * // Loading state
89
- * <Button loading>Loading</Button>
90
- * ```
91
- *
92
- * @param {ButtonProps} props - The component props
93
- * @param {React.Ref<HTMLButtonElement>} ref - Forwarded ref
94
- * @returns {JSX.Element} A button element
95
- */
96
- declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
97
-
98
- /**
99
- * Props interface for the TextField component.
100
- * Extends the native input HTML attributes and adds support for variants and icons.
101
- *
102
- * @interface TextFieldProps
103
- * @extends {React.InputHTMLAttributes<HTMLInputElement>}
104
- * @extends {VariantProps<typeof textFieldVariants>}
105
- *
106
- * @property {string} [variant] - The visual style variant of the text field.
107
- * @property {string} [size] - The size variant of the text field.
108
- * @property {string} [className] - Additional CSS classes to apply to the text field.
109
- * @property {React.ReactNode} [startIcon] - Icon to display before the input.
110
- * @property {React.ReactNode} [endIcon] - Icon to display after the input.
111
- * @property {boolean} [loading] - Whether the text field is in a loading state.
112
- * @property {string} [error] - Error message to display below the text field.
113
- * @property {string} [label] - Label text for the text field.
114
- * @property {string} [helperText] - Helper text to display below the text field.
115
- */
116
- interface TextFieldProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size">, VariantProps<typeof textFieldVariants> {
117
- startIcon?: React$1.ReactNode;
118
- endIcon?: React$1.ReactNode;
119
- loading?: boolean;
120
- error?: string;
121
- label?: string;
122
- helperText?: string;
123
- }
124
-
125
- /**
126
- * Text field variant styles using class-variance-authority.
127
- * Defines the visual styles for different text field variants and sizes.
128
- */
129
- declare const textFieldVariants: (props?: ({
130
- variant?: "default" | "error" | null | undefined;
131
- size?: "default" | "sm" | "lg" | null | undefined;
132
- } & class_variance_authority_types.ClassProp) | undefined) => string;
133
- /**
134
- * A versatile text field component that supports multiple variants, sizes, and icons.
135
- * Built on top of shadcn/ui's Input component.
136
- *
137
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-text-field--docs
138
- *
139
- * @component
140
- * @example
141
- * ```tsx
142
- * // Default text field
143
- * <TextField placeholder="Enter text" />
144
- *
145
- * // With icons
146
- * <TextField startIcon={<SearchIcon />} placeholder="Search..." />
147
- * <TextField endIcon={<CalendarIcon />} placeholder="Select date" />
148
- *
149
- * // With loading state
150
- * <TextField loading placeholder="Loading..." />
151
- *
152
- * // With error
153
- * <TextField error="Invalid input" placeholder="Enter text" />
154
- * ```
155
- */
156
- declare const TextField: React$1.ForwardRefExoticComponent<TextFieldProps & React$1.RefAttributes<HTMLInputElement>>;
157
-
158
- interface ContainerProps extends React$1.HTMLAttributes<HTMLDivElement> {
159
- /**
160
- * The maximum width of the container.
161
- * - "sm": 640px
162
- * - "md": 768px
163
- * - "lg": 1024px
164
- * - "xl": 1280px
165
- * - "full": 100%
166
- * - false: No max-width (fluid)
167
- *
168
- * @default "lg"
169
- */
170
- maxWidth?: "sm" | "md" | "lg" | "xl" | "full" | false;
171
- /**
172
- * Whether to disable the default horizontal padding.
173
- * When true, removes the default padding (px-4 sm:px-6 lg:px-8).
174
- *
175
- * @default false
176
- */
177
- disablePadding?: boolean;
178
- /**
179
- * Whether to make the container fluid (no max-width).
180
- * When true, the container will expand to fill its parent's width.
181
- *
182
- * @default false
183
- */
184
- fluid?: boolean;
185
- }
186
- declare const Container: React$1.ForwardRefExoticComponent<ContainerProps & React$1.RefAttributes<HTMLDivElement>>;
187
-
188
- /**
189
- * Box is a fundamental layout component that serves as a building block for other components.
190
- * It's a polymorphic component that can render as different HTML elements while maintaining
191
- * consistent styling and behavior.
192
- *
193
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-box--docs
194
- *
195
- * @example
196
- * ```tsx
197
- * // Basic usage
198
- * <Box>Content</Box>
199
- *
200
- * // As a different element
201
- * <Box as="section">Section content</Box>
202
- *
203
- * // With custom className
204
- * <Box className="bg-primary text-white p-4">Styled content</Box>
205
- *
206
- * // With custom dimensions
207
- * <Box width="100px" height="200px">Fixed size content</Box>
208
- * <Box width="50%" height="auto">Responsive content</Box>
209
- * ```
210
- */
211
-
212
- type BoxComponent = "div" | "span" | "section" | "article" | "main" | "aside" | "header" | "footer" | "nav";
213
- type DimensionValue = string | number;
214
- interface BoxProps extends React$1.HTMLAttributes<HTMLDivElement> {
215
- /**
216
- * The HTML element to render the Box as.
217
- * This allows for semantic HTML while maintaining consistent styling.
218
- *
219
- * @default "div"
220
- */
221
- as?: BoxComponent;
222
- /**
223
- * The width of the Box component.
224
- * Can be a number (interpreted as pixels) or a string (e.g., "100%", "50px", "10rem").
225
- */
226
- width?: DimensionValue;
227
- /**
228
- * The height of the Box component.
229
- * Can be a number (interpreted as pixels) or a string (e.g., "100%", "50px", "10rem").
230
- */
231
- height?: DimensionValue;
232
- }
233
- declare const Box: React$1.ForwardRefExoticComponent<BoxProps & React$1.RefAttributes<HTMLDivElement>>;
234
-
235
- /**
236
- * Stack is a layout component that arranges its children in a vertical or horizontal stack
237
- * with consistent spacing between items. It's built on top of Flexbox and provides
238
- * a simple way to create consistent layouts.
239
- *
240
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-stack--docs
241
- *
242
- * @example
243
- * ```tsx
244
- * // Basic vertical stack
245
- * <Stack>
246
- * <div>Item 1</div>
247
- * <div>Item 2</div>
248
- * <div>Item 3</div>
249
- * </Stack>
250
- *
251
- * // Horizontal stack with custom spacing
252
- * <Stack direction="horizontal" spacing="lg">
253
- * <div>Item 1</div>
254
- * <div>Item 2</div>
255
- * </Stack>
256
- *
257
- * // Centered stack with wrapping
258
- * <Stack direction="horizontal" center wrap>
259
- * <div>Item 1</div>
260
- * <div>Item 2</div>
261
- * <div>Item 3</div>
262
- * </Stack>
263
- *
264
- * // Stack with custom alignment
265
- * <Stack align="center" justify="between">
266
- * <div>Left</div>
267
- * <div>Center</div>
268
- * <div>Right</div>
269
- * </Stack>
270
- *
271
- * // Stack with custom dimensions
272
- * <Stack width="100%" height="200px">
273
- * <div>Full width, fixed height stack</div>
274
- * </Stack>
275
- * ```
276
- */
277
-
278
- interface StackProps extends React$1.HTMLAttributes<HTMLDivElement> {
279
- /**
280
- * The direction in which to stack the items.
281
- * - "vertical": Items are stacked top to bottom
282
- * - "horizontal": Items are stacked left to right
283
- *
284
- * @default "vertical"
285
- */
286
- direction?: "vertical" | "horizontal";
287
- /**
288
- * The spacing between items in the stack.
289
- * - "none": 0px
290
- * - "xs": 0.25rem (4px)
291
- * - "sm": 0.5rem (8px)
292
- * - "md": 1rem (16px)
293
- * - "lg": 1.5rem (24px)
294
- * - "xl": 2rem (32px)
295
- *
296
- * @default "md"
297
- */
298
- spacing?: "none" | "xs" | "sm" | "md" | "lg" | "xl";
299
- /**
300
- * Whether to allow items to wrap to the next line when they don't fit.
301
- * Only applies to horizontal stacks.
302
- *
303
- * @default false
304
- */
305
- wrap?: boolean;
306
- /**
307
- * Whether to center items both horizontally and vertically.
308
- * This is a shorthand for setting both align and justify to "center".
309
- *
310
- * @default false
311
- */
312
- center?: boolean;
313
- /**
314
- * How to justify items along the main axis.
315
- * - "start": Items are packed toward the start
316
- * - "end": Items are packed toward the end
317
- * - "center": Items are centered
318
- * - "between": Items are evenly distributed with first item at start and last at end
319
- * - "around": Items are evenly distributed with equal space around them
320
- * - "evenly": Items are distributed so that the spacing between any two items is equal
321
- *
322
- * @default undefined
323
- */
324
- justify?: "start" | "end" | "center" | "between" | "around" | "evenly";
325
- /**
326
- * How to align items along the cross axis.
327
- * - "start": Items are aligned at the start
328
- * - "end": Items are aligned at the end
329
- * - "center": Items are centered
330
- * - "stretch": Items are stretched to fill the container
331
- * - "baseline": Items are aligned at their baselines
332
- *
333
- * @default undefined
334
- */
335
- align?: "start" | "end" | "center" | "stretch" | "baseline";
336
- /**
337
- * The width of the stack container.
338
- * Can be any valid CSS width value (e.g., "100%", "200px", "50vw").
339
- *
340
- * @default undefined
341
- */
342
- width?: string;
343
- /**
344
- * The height of the stack container.
345
- * Can be any valid CSS height value (e.g., "100%", "200px", "50vh").
346
- *
347
- * @default undefined
348
- */
349
- height?: string;
350
- }
351
- declare const Stack: React$1.ForwardRefExoticComponent<StackProps & React$1.RefAttributes<HTMLDivElement>>;
352
-
353
- /**
354
- * Dialog component for creating accessible dialogs with overlay and content.
355
- * Built on top of Radix UI's Dialog primitive.
356
- *
357
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-dialog--docs
358
- *
359
- * @example
360
- * ```tsx
361
- * <Dialog>
362
- * <DialogTrigger>Open Dialog</DialogTrigger>
363
- * <DialogContent>Dialog Content</DialogContent>
364
- * </Dialog>
365
- */
366
- declare const Dialog: React$1.FC<DialogPrimitive.DialogProps>;
367
- declare const DialogTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
368
- declare const DialogPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
369
- declare const DialogClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
370
- declare const DialogOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
371
- declare const DialogContent: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
372
- declare const DialogHeader: {
373
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
374
- displayName: string;
375
- };
376
- declare const DialogFooter: {
377
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
378
- displayName: string;
379
- };
380
- declare const DialogTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
381
- declare const DialogDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
382
-
383
- /**
384
- * Input component for creating accessible input fields.
385
- * Built on top of shadcn/ui's Input component.
386
- *
387
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-input--docs
388
- *
389
- */
390
- declare const Input: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
391
-
392
- /**
393
- * Separator component for creating horizontal or vertical dividers.
394
- * Built on top of Radix UI's Separator primitive.
395
- *
396
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-separator--docs
397
- *
398
- */
399
- declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
400
-
401
- /**
402
- * Sheet component for creating accessible sheets with overlay and content.
403
- * Built on top of Radix UI's Sheet primitive.
404
- *
405
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-sheet--docs
406
- *
407
- * @example
408
- * ```tsx
409
- * <Sheet>
410
- * <SheetTrigger>Open Sheet</SheetTrigger>
411
- * <SheetContent>Sheet Content</SheetContent>
412
- * </Sheet>
413
- */
414
- declare const Sheet: React$1.FC<DialogPrimitive.DialogProps>;
415
- declare const SheetTrigger: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
416
- declare const SheetClose: React$1.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
417
- declare const SheetPortal: React$1.FC<DialogPrimitive.DialogPortalProps>;
418
- declare const SheetOverlay: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
419
- declare const sheetVariants: (props?: ({
420
- side?: "left" | "right" | "bottom" | "top" | null | undefined;
421
- } & class_variance_authority_types.ClassProp) | undefined) => string;
422
- interface SheetContentProps extends React$1.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>, VariantProps<typeof sheetVariants> {
423
- }
424
- declare const SheetContent: React$1.ForwardRefExoticComponent<SheetContentProps & React$1.RefAttributes<HTMLDivElement>>;
425
- declare const SheetHeader: {
426
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
427
- displayName: string;
428
- };
429
- declare const SheetFooter: {
430
- ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
431
- displayName: string;
432
- };
433
- declare const SheetTitle: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
434
- declare const SheetDescription: React$1.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
435
-
436
- /**
437
- * Skeleton component for creating a loading state.
438
- * Built on top of shadcn/ui's Skeleton component.
439
- *
440
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-skeleton--docs
441
- *
442
- * @example
443
- * ```tsx
444
- * <Skeleton className="w-10 h-10" />
445
- * ```
446
- */
447
- declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
448
-
449
- /**
450
- * Avatar component that displays a user's profile picture or fallback.
451
- * Built on top of Radix UI's Avatar primitive.
452
- *
453
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-avatar--docs
454
- *
455
- * @example
456
- * ```tsx
457
- * <Avatar>
458
- * <AvatarImage src="/path/to/image.jpg" alt="User avatar" />
459
- * <AvatarFallback>JD</AvatarFallback>
460
- * </Avatar>
461
- * ```
462
- */
463
- declare const Avatar: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
464
- /**
465
- * AvatarImage component that displays the user's profile picture.
466
- * Falls back to AvatarFallback if the image fails to load.
467
- */
468
- declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarImageProps & React$1.RefAttributes<HTMLImageElement>, "ref"> & React$1.RefAttributes<HTMLImageElement>>;
469
- /**
470
- * AvatarFallback component that displays when the image fails to load.
471
- * Typically shows the user's initials or a placeholder icon.
472
- */
473
- declare const AvatarFallback: React$1.ForwardRefExoticComponent<Omit<AvatarPrimitive.AvatarFallbackProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
474
-
475
- type AvatarProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>;
476
- type AvatarImageProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>;
477
- type AvatarFallbackProps = React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Fallback>;
478
-
479
- /**
480
- * TooltipProvider component for creating accessible tooltips.
481
- * Built on top of Radix UI's Tooltip primitive.
482
- *
483
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-tooltip--docs
484
- *
485
- * @example
486
- * ```tsx
487
- * <TooltipProvider>
488
- * <Tooltip>
489
- * <TooltipTrigger>Hover me</TooltipTrigger>
490
- * <TooltipContent>Tooltip content</TooltipContent>
491
- * </Tooltip>
492
- * </TooltipProvider>
493
- * ```
494
- */
495
- declare const TooltipProvider: React$1.FC<TooltipPrimitive.TooltipProviderProps>;
496
- declare const Tooltip: React$1.FC<TooltipPrimitive.TooltipProps>;
497
- declare const TooltipTrigger: React$1.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
498
- declare const TooltipContent: React$1.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
499
-
500
- declare const badgeVariants: (props?: ({
501
- variant?: "default" | "destructive" | "outline" | "secondary" | "success" | "warning" | "info" | null | undefined;
502
- size?: "default" | "sm" | "lg" | null | undefined;
503
- } & class_variance_authority_types.ClassProp) | undefined) => string;
504
-
505
- interface BadgeProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
506
- /**
507
- * The content to display inside the badge
508
- */
509
- children: React.ReactNode;
510
- /**
511
- * Optional icon to display before the badge content
512
- */
513
- icon?: React.ReactNode;
514
- /**
515
- * Optional icon to display after the badge content
516
- */
517
- iconAfter?: React.ReactNode;
518
- }
519
-
520
- /**
521
- * Badge component for displaying status, counts, or labels.
522
- * Supports various variants, sizes, and optional icons.
523
- *
524
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-badge--docs
525
- *
526
- * @example
527
- * ```tsx
528
- * <Badge variant="success">Active</Badge>
529
- * <Badge variant="warning" icon={<AlertIcon />}>Warning</Badge>
530
- * <Badge variant="info" size="lg" iconAfter={<ArrowIcon />}>New</Badge>
531
- * ```
532
- */
533
- declare const Badge: React$1.ForwardRefExoticComponent<BadgeProps & React$1.RefAttributes<HTMLDivElement>>;
534
-
535
- declare const typographyVariants: (props?: ({
536
- variant?: "list" | "small" | "blockquote" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "muted" | "large" | "lead" | null | undefined;
537
- align?: "center" | "left" | "right" | "justify" | null | undefined;
538
- } & class_variance_authority_types.ClassProp) | undefined) => string;
539
- interface TypographyProps extends React$1.HTMLAttributes<HTMLElement>, VariantProps<typeof typographyVariants> {
540
- as?: React$1.ElementType;
541
- }
542
- /**
543
- * Typography component for creating accessible text elements.
544
- * Built on top of shadcn/ui's Typography component.
545
- *
546
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-typography--docs
547
- *
548
- */
549
- declare const Typography: React$1.ForwardRefExoticComponent<TypographyProps & React$1.RefAttributes<HTMLElement>>;
550
-
551
- type TypographyVariant = NonNullable<VariantProps<typeof typographyVariants>["variant"]>;
552
- type TypographyAlign = NonNullable<VariantProps<typeof typographyVariants>["align"]>;
553
-
554
- interface PageLoaderProps {
555
- /**
556
- * Optional className to extend the component's styles
557
- */
558
- className?: string;
559
- /**
560
- * Optional size of the loader (default: "default")
561
- */
562
- size?: "sm" | "default" | "lg";
563
- /**
564
- * Optional text to display below the loader
565
- */
566
- text?: string;
567
- /**
568
- * Optional color of the loader (default: "primary")
569
- */
570
- color?: "primary" | "secondary" | "accent" | "muted" | "destructive" | string;
571
- }
572
- /**
573
- * PageLoader component for displaying a loading indicator.
574
- *
575
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-page-loader--docs
576
- *
577
- */
578
- declare function PageLoader({ className, size, text, color }: PageLoaderProps): react_jsx_runtime.JSX.Element;
579
-
580
- declare const labelVariants: (props?: class_variance_authority_types.ClassProp | undefined) => string;
581
- interface LabelProps extends React$1.ComponentPropsWithoutRef<typeof LabelPrimitive.Root>, VariantProps<typeof labelVariants> {
582
- }
583
- /**
584
- * Label component for creating accessible labels.
585
- * Built on top of Radix UI's Label primitive.
586
- *
587
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-label--docs
588
- *
589
- */
590
- declare const Label: React$1.ForwardRefExoticComponent<LabelProps & React$1.RefAttributes<HTMLLabelElement>>;
591
-
592
- declare const ToastProvider: React$1.FC<ToastPrimitives.ToastProviderProps>;
593
- declare const ToastViewport: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React$1.RefAttributes<HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
594
- declare const Toast: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React$1.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
595
- variant?: "default" | "destructive" | null | undefined;
596
- } & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLLIElement>>;
597
- declare const ToastAction: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
598
- declare const ToastClose: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
599
- declare const ToastTitle: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
600
- declare const ToastDescription: React$1.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
601
- type ToastProps = React$1.ComponentPropsWithoutRef<typeof Toast>;
602
- type ToastActionElement = React$1.ReactElement<typeof ToastAction>;
603
-
604
- /**
605
- * Toaster component for managing and displaying toast notifications.
606
- * Built on top of the Toast primitive components.
607
- *
608
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-toaster--docs
609
- *
610
- * @example
611
- * ```tsx
612
- * // Add Toaster to your app's root layout
613
- * <Toaster />
614
- *
615
- * // Use the toast hook to show notifications
616
- * const { toast } = useToast()
617
- *
618
- * toast({
619
- * title: "Success",
620
- * description: "Your changes have been saved.",
621
- * action: <ToastAction altText="Undo">Undo</ToastAction>
622
- * })
623
- * ```
624
- */
625
- declare function Toaster(): react_jsx_runtime.JSX.Element;
626
-
627
- interface TableProps extends React$1.HTMLAttributes<HTMLTableElement> {
628
- }
629
- interface TableHeaderProps extends React$1.HTMLAttributes<HTMLTableSectionElement> {
630
- }
631
- interface TableBodyProps extends React$1.HTMLAttributes<HTMLTableSectionElement> {
632
- }
633
- interface TableFooterProps extends React$1.HTMLAttributes<HTMLTableSectionElement> {
634
- }
635
- interface TableRowProps extends React$1.HTMLAttributes<HTMLTableRowElement> {
636
- }
637
- interface TableHeadProps extends React$1.ThHTMLAttributes<HTMLTableCellElement> {
638
- }
639
- interface TableCellProps extends React$1.TdHTMLAttributes<HTMLTableCellElement> {
640
- }
641
- interface TableCaptionProps extends React$1.HTMLAttributes<HTMLTableCaptionElement> {
642
- }
643
-
644
- /**
645
- * Table component that provides a structured way to display data in rows and columns.
646
- * Built on top of native HTML table elements with enhanced styling and accessibility.
647
- *
648
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-table--docs
649
- *
650
- * @example
651
- * ```tsx
652
- * <Table>
653
- * <TableHeader>
654
- * <TableRow>
655
- * <TableHead>Name</TableHead>
656
- * <TableHead>Email</TableHead>
657
- * </TableRow>
658
- * </TableHeader>
659
- * <TableBody>
660
- * <TableRow>
661
- * <TableCell>John Doe</TableCell>
662
- * <TableCell>john@example.com</TableCell>
663
- * </TableRow>
664
- * </TableBody>
665
- * </Table>
666
- * ```
667
- */
668
- declare const Table: React$1.ForwardRefExoticComponent<TableProps & React$1.RefAttributes<HTMLTableElement>>;
669
- declare const TableHeader: React$1.ForwardRefExoticComponent<TableHeaderProps & React$1.RefAttributes<HTMLTableSectionElement>>;
670
- declare const TableBody: React$1.ForwardRefExoticComponent<TableBodyProps & React$1.RefAttributes<HTMLTableSectionElement>>;
671
- declare const TableFooter: React$1.ForwardRefExoticComponent<TableFooterProps & React$1.RefAttributes<HTMLTableSectionElement>>;
672
- declare const TableRow: React$1.ForwardRefExoticComponent<TableRowProps & React$1.RefAttributes<HTMLTableRowElement>>;
673
- declare const TableHead: React$1.ForwardRefExoticComponent<TableHeadProps & React$1.RefAttributes<HTMLTableCellElement>>;
674
- declare const TableCell: React$1.ForwardRefExoticComponent<TableCellProps & React$1.RefAttributes<HTMLTableCellElement>>;
675
- declare const TableCaption: React$1.ForwardRefExoticComponent<TableCaptionProps & React$1.RefAttributes<HTMLTableCaptionElement>>;
676
-
677
- /**
678
- * Resizable component that provides resizable panel functionality.
679
- * Built on top of react-resizable-panels.
680
- *
681
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-resizable--docs
682
- *
683
- * @example
684
- * ```tsx
685
- * <ResizablePanelGroup>
686
- * <ResizablePanel defaultSize={20}>
687
- * <div>Left Panel</div>
688
- * </ResizablePanel>
689
- * <ResizableHandle withHandle />
690
- * <ResizablePanel defaultSize={80}>
691
- * <div>Right Panel</div>
692
- * </ResizablePanel>
693
- * </ResizablePanelGroup>
694
- * ```
695
- */
696
- declare const ResizablePanelGroup: ({ className, ...props }: ComponentProps<typeof ResizablePrimitive.PanelGroup>) => react_jsx_runtime.JSX.Element;
697
- declare const ResizablePanel: React$1.ForwardRefExoticComponent<Omit<React$1.HTMLAttributes<HTMLButtonElement | HTMLElement | HTMLSpanElement | HTMLInputElement | HTMLLabelElement | HTMLObjectElement | HTMLLinkElement | HTMLFormElement | HTMLSlotElement | HTMLStyleElement | HTMLTitleElement | HTMLDialogElement | HTMLImageElement | HTMLOptionElement | HTMLTableElement | HTMLAnchorElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDivElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLHeadingElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLLegendElement | HTMLLIElement | HTMLMapElement | HTMLMetaElement | HTMLMeterElement | HTMLOListElement | HTMLOptGroupElement | HTMLOutputElement | HTMLParagraphElement | HTMLPreElement | HTMLProgressElement | HTMLScriptElement | HTMLSelectElement | HTMLSourceElement | HTMLTemplateElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTableRowElement | HTMLTrackElement | HTMLUListElement | HTMLVideoElement | HTMLTableCaptionElement | HTMLMenuElement | HTMLPictureElement>, "id" | "onResize"> & {
698
- className?: string;
699
- collapsedSize?: number | undefined;
700
- collapsible?: boolean | undefined;
701
- defaultSize?: number | undefined;
702
- id?: string;
703
- maxSize?: number | undefined;
704
- minSize?: number | undefined;
705
- onCollapse?: ResizablePrimitive.PanelOnCollapse;
706
- onExpand?: ResizablePrimitive.PanelOnExpand;
707
- onResize?: ResizablePrimitive.PanelOnResize;
708
- order?: number;
709
- style?: object;
710
- tagName?: keyof HTMLElementTagNameMap | undefined;
711
- } & {
712
- children?: React$1.ReactNode | undefined;
713
- } & React$1.RefAttributes<ResizablePrimitive.ImperativePanelHandle>>;
714
- declare const ResizableHandle: ({ withHandle, className, ...props }: ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
715
- withHandle?: boolean;
716
- }) => react_jsx_runtime.JSX.Element;
717
-
718
- type ResizablePanelGroupProps = ComponentProps<typeof ResizablePrimitive.PanelGroup>;
719
- type ResizablePanelProps = ComponentProps<typeof ResizablePrimitive.Panel>;
720
- type ResizableHandleProps = ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
721
- withHandle?: boolean;
722
- };
723
-
724
- type SelectOption = {
725
- id: string;
726
- label: string;
727
- startIcon?: React$1.ReactNode;
728
- endIcon?: React$1.ReactNode;
729
- className?: string;
730
- disabled?: boolean;
731
- };
732
- type SelectProps = {
733
- /** Whether the select is searchable */
734
- searchable?: boolean;
735
- /** Whether the select should take up the full width of its container */
736
- fullWidth?: boolean;
737
- /** Currently selected value */
738
- value: string;
739
- /** Array of options to display in the select */
740
- options: SelectOption[];
741
- /** Callback fired when the value changes */
742
- onChange: (value: string) => void;
743
- /** Render a custom CommandList for the select, if not provided, the select will render a default CommandList with the options */
744
- renderCommandList?: (options: SelectOption[]) => React$1.ReactNode;
745
- /** Placeholder text to show when no value is selected */
746
- placeholder?: string;
747
- /** Whether the select is disabled */
748
- disabled?: boolean;
749
- /** Whether the select is required */
750
- required?: boolean;
751
- /** Error message to display */
752
- error?: string;
753
- /** Additional class name for the select */
754
- className?: string;
755
- /** ID for the select element */
756
- id?: string;
757
- };
758
- /**
759
- * SearchableSelect component that provides a searchable dropdown select input.
760
- * Built on top of Radix UI's Select primitive.
761
- *
762
- * @url https://sergii-melnykov.github.io/ui/?path=/docs-atoms-select--docs
763
- *
764
- * @example
765
- * ```tsx
766
- * <Select
767
- * options={[
768
- * { id: "1", label: "Option 1" },
769
- * { id: "2", label: "Option 2" }
770
- * ]}
771
- * value="1"
772
- * onChange={setValue}
773
- * required
774
- * />
775
- * ```
776
- */
777
- declare function Select({ options, value, onChange, placeholder, disabled, required, error, className, fullWidth, searchable, id, renderCommandList }: SelectProps): react_jsx_runtime.JSX.Element;
778
-
779
- type MultiSelectOption = {
780
- id: string;
781
- label: string;
782
- startIcon?: React$1.ReactNode;
783
- endIcon?: React$1.ReactNode;
784
- className?: string;
785
- disabled?: boolean;
786
- };
787
- type MultiSelectProps = {
788
- /** Whether the select is searchable */
789
- searchable?: boolean;
790
- /** Whether the select should take up the full width of its container */
791
- fullWidth?: boolean;
792
- /** Array of options to display in the select */
793
- options: MultiSelectOption[];
794
- /** Currently selected values */
795
- value: string[];
796
- /** Callback fired when the values change */
797
- onChange: (value: string[]) => void;
798
- /** Render a custom CommandList for the select, if not provided, the select will render a default CommandList with the options */
799
- renderCommandList?: (options: MultiSelectOption[]) => React$1.ReactNode;
800
- /** Placeholder text to show when no value is selected */
801
- placeholder?: string;
802
- /** Whether the select is disabled */
803
- disabled?: boolean;
804
- /** Whether the select is required */
805
- required?: boolean;
806
- /** Error message to display */
807
- error?: string;
808
- /** Additional class name for the select */
809
- className?: string;
810
- /** ID for the select element */
811
- id?: string;
812
- /** Maximum number of selections allowed */
813
- maxSelections?: number;
814
- /** Whether to show the select all option */
815
- showSelectAll?: boolean;
816
- };
817
- /**
818
- * MultiSelect component that provides a searchable dropdown select input with multiple selection.
819
- * Built on top of Radix UI's Select primitive.
820
- *
821
- * @url https://sergii-melnykov.github.io/ui/?path=/docs-atoms-multiselect--docs
822
- *
823
- * @example
824
- * ```tsx
825
- * <MultiSelect
826
- * options={[
827
- * { id: "1", label: "Option 1" },
828
- * { id: "2", label: "Option 2" }
829
- * ]}
830
- * value={["1"]}
831
- * onChange={setValue}
832
- * showSelectAll
833
- * />
834
- * ```
835
- */
836
- declare function MultiSelect({ options, value, onChange, placeholder, disabled, required, error, className, fullWidth, searchable, id, maxSelections, showSelectAll, renderCommandList }: MultiSelectProps): react_jsx_runtime.JSX.Element;
837
-
838
- /**
839
- * Switch component that provides a toggle input control.
840
- * Built on top of Radix UI's Switch primitive.
841
- *
842
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-switch--docs
843
- *
844
- * @example
845
- * ```tsx
846
- * <Switch />
847
- * <Switch defaultChecked />
848
- * <Switch disabled />
849
- * ```
850
- */
851
- declare const Switch: React$1.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
852
-
853
- type SwitchProps = React$1.ComponentPropsWithoutRef<typeof SwitchPrimitives.Root>;
854
-
855
- /**
856
- * Collapsible component that allows content to be expanded and collapsed.
857
- * Built on top of Radix UI's Collapsible primitive.
858
- *
859
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-collapsible--docs
860
- *
861
- * @example
862
- * ```tsx
863
- * <Collapsible>
864
- * <CollapsibleTrigger>Toggle</CollapsibleTrigger>
865
- * <CollapsibleContent>Content</CollapsibleContent>
866
- * </Collapsible>
867
- * ```
868
- */
869
- declare const Collapsible: React$1.ForwardRefExoticComponent<CollapsiblePrimitive.CollapsibleProps & React$1.RefAttributes<HTMLDivElement>>;
870
- declare const CollapsibleTrigger: React$1.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
871
- declare const CollapsibleContent: React$1.ForwardRefExoticComponent<Omit<CollapsiblePrimitive.CollapsibleContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
872
-
873
- type CollapsibleProps = React$1.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.Root>;
874
- type CollapsibleTriggerProps = React$1.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.Trigger>;
875
- type CollapsibleContentProps = React$1.ComponentPropsWithoutRef<typeof CollapsiblePrimitive.Content>;
876
-
877
- type CommandProps = ComponentPropsWithoutRef<typeof Command$1>;
878
- type CommandRef = ElementRef<typeof Command$1>;
879
- type CommandDialogProps = DialogProps;
880
- type CommandInputProps = ComponentPropsWithoutRef<typeof Command$1.Input>;
881
- type CommandInputRef = ElementRef<typeof Command$1.Input>;
882
- type CommandListProps = ComponentPropsWithoutRef<typeof Command$1.List>;
883
- type CommandListRef = ElementRef<typeof Command$1.List>;
884
- type CommandEmptyProps = ComponentPropsWithoutRef<typeof Command$1.Empty>;
885
- type CommandEmptyRef = ElementRef<typeof Command$1.Empty>;
886
- type CommandGroupProps = ComponentPropsWithoutRef<typeof Command$1.Group>;
887
- type CommandGroupRef = ElementRef<typeof Command$1.Group>;
888
- type CommandSeparatorProps = ComponentPropsWithoutRef<typeof Command$1.Separator>;
889
- type CommandSeparatorRef = ElementRef<typeof Command$1.Separator>;
890
- type CommandItemProps = ComponentPropsWithoutRef<typeof Command$1.Item>;
891
- type CommandItemRef = ElementRef<typeof Command$1.Item>;
892
- type CommandShortcutProps = React$1.HTMLAttributes<HTMLSpanElement>;
893
-
894
- /**
895
- * Command component that provides a command palette interface.
896
- * Built on top of cmdk and Radix UI's Dialog primitive.
897
- *
898
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-command--docs
899
- *
900
- * @example
901
- * ```tsx
902
- * <Command>
903
- * <CommandInput placeholder="Search..." />
904
- * <CommandList>
905
- * <CommandEmpty>No results found.</CommandEmpty>
906
- * <CommandGroup heading="Suggestions">
907
- * <CommandItem>Calendar</CommandItem>
908
- * <CommandItem>Search</CommandItem>
909
- * </CommandGroup>
910
- * </CommandList>
911
- * </Command>
912
- * ```
913
- */
914
- declare const Command: React$1.ForwardRefExoticComponent<Omit<{
915
- children?: React$1.ReactNode;
916
- } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
917
- ref?: React$1.Ref<HTMLDivElement>;
918
- } & {
919
- asChild?: boolean;
920
- }, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
921
- label?: string;
922
- shouldFilter?: boolean;
923
- filter?: (value: string, search: string, keywords?: string[]) => number;
924
- defaultValue?: string;
925
- value?: string;
926
- onValueChange?: (value: string) => void;
927
- loop?: boolean;
928
- disablePointerSelection?: boolean;
929
- vimBindings?: boolean;
930
- } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
931
- declare const CommandDialog: ({ children, ...props }: CommandDialogProps) => react_jsx_runtime.JSX.Element;
932
- declare const CommandInput: React$1.ForwardRefExoticComponent<Omit<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>> & {
933
- ref?: React$1.Ref<HTMLInputElement>;
934
- } & {
935
- asChild?: boolean;
936
- }, "asChild" | "key" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "type" | "value" | "onChange"> & {
937
- value?: string;
938
- onValueChange?: (search: string) => void;
939
- } & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
940
- declare const CommandList: React$1.ForwardRefExoticComponent<Omit<{
941
- children?: React$1.ReactNode;
942
- } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
943
- ref?: React$1.Ref<HTMLDivElement>;
944
- } & {
945
- asChild?: boolean;
946
- }, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
947
- label?: string;
948
- } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
949
- declare const CommandEmpty: React$1.ForwardRefExoticComponent<Omit<{
950
- children?: React$1.ReactNode;
951
- } & Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
952
- ref?: React$1.Ref<HTMLDivElement>;
953
- } & {
954
- asChild?: boolean;
955
- }, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
956
- declare const CommandGroup: React$1.ForwardRefExoticComponent<Omit<{
957
- children?: React$1.ReactNode;
958
- } & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
959
- ref?: React$1.Ref<HTMLDivElement>;
960
- } & {
961
- asChild?: boolean;
962
- }, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
963
- heading?: React$1.ReactNode;
964
- value?: string;
965
- forceMount?: boolean;
966
- } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
967
- declare const CommandSeparator: React$1.ForwardRefExoticComponent<Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
968
- ref?: React$1.Ref<HTMLDivElement>;
969
- } & {
970
- asChild?: boolean;
971
- }, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
972
- alwaysRender?: boolean;
973
- } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
974
- declare const CommandItem: React$1.ForwardRefExoticComponent<Omit<{
975
- children?: React$1.ReactNode;
976
- } & Omit<Pick<Pick<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React$1.HTMLAttributes<HTMLDivElement>> & {
977
- ref?: React$1.Ref<HTMLDivElement>;
978
- } & {
979
- asChild?: boolean;
980
- }, "asChild" | "key" | keyof React$1.HTMLAttributes<HTMLDivElement>>, "disabled" | "value" | "onSelect"> & {
981
- disabled?: boolean;
982
- onSelect?: (value: string) => void;
983
- value?: string;
984
- keywords?: string[];
985
- forceMount?: boolean;
986
- } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
987
- declare const CommandShortcut: {
988
- ({ className, ...props }: CommandShortcutProps): react_jsx_runtime.JSX.Element;
989
- displayName: string;
990
- };
991
-
992
- /**
993
- * Pagination component that provides navigation controls for paginated content.
994
- * Built on top of shadcn/ui's button component.
995
- *
996
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-pagination--docs
997
- *
998
- * @example
999
- * ```tsx
1000
- * <Pagination>
1001
- * <PaginationContent>
1002
- * <PaginationItem>
1003
- * <PaginationPrevious href="#" />
1004
- * </PaginationItem>
1005
- * <PaginationItem>
1006
- * <PaginationLink href="#" isActive>1</PaginationLink>
1007
- * </PaginationItem>
1008
- * <PaginationItem>
1009
- * <PaginationEllipsis />
1010
- * </PaginationItem>
1011
- * <PaginationItem>
1012
- * <PaginationNext href="#" />
1013
- * </PaginationItem>
1014
- * </PaginationContent>
1015
- * </Pagination>
1016
- * ```
1017
- */
1018
- declare const Pagination: {
1019
- ({ className, ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
1020
- displayName: string;
1021
- };
1022
- declare const PaginationContent: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
1023
- declare const PaginationItem: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
1024
- type PaginationLinkProps$1 = {
1025
- isActive?: boolean;
1026
- } & Pick<ButtonProps, "size"> & React$1.ComponentProps<"a">;
1027
- declare const PaginationLink: {
1028
- ({ className, isActive, size, children, ...props }: PaginationLinkProps$1): react_jsx_runtime.JSX.Element;
1029
- displayName: string;
1030
- };
1031
- declare const PaginationPrevious: {
1032
- ({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
1033
- displayName: string;
1034
- };
1035
- declare const PaginationNext: {
1036
- ({ className, ...props }: React$1.ComponentProps<typeof PaginationLink>): react_jsx_runtime.JSX.Element;
1037
- displayName: string;
1038
- };
1039
- declare const PaginationEllipsis: {
1040
- ({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
1041
- displayName: string;
1042
- };
1043
-
1044
- type PaginationLinkProps = {
1045
- isActive?: boolean;
1046
- } & Pick<ButtonProps, "size"> & React$1.ComponentProps<"a">;
1047
-
1048
- /**
1049
- * RadioGroup component that allows users to select a single option from a list.
1050
- * Built on top of Radix UI's RadioGroup primitive.
1051
- *
1052
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-radio-group--docs
1053
- *
1054
- * @example
1055
- * ```tsx
1056
- * <RadioGroup defaultValue="option-1">
1057
- * <RadioGroupItem value="option-1">Option 1</RadioGroupItem>
1058
- * <RadioGroupItem value="option-2">Option 2</RadioGroupItem>
1059
- * </RadioGroup>
1060
- * ```
1061
- */
1062
- declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1063
- /**
1064
- * RadioGroupItem component that represents a single option in a RadioGroup.
1065
- * Built on top of Radix UI's RadioGroupItem primitive.
1066
- *
1067
- * @example
1068
- * ```tsx
1069
- * <RadioGroupItem value="option-1">Option 1</RadioGroupItem>
1070
- * ```
1071
- */
1072
- declare const RadioGroupItem: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
1073
- /**
1074
- * RadioItemContainer component that provides a container for radio group items with proper spacing and layout.
1075
- *
1076
- * @example
1077
- * ```tsx
1078
- * <RadioItemContainer>
1079
- * <RadioGroupItem value="option-1">Option 1</RadioGroupItem>
1080
- * <RadioGroupItem value="option-2">Option 2</RadioGroupItem>
1081
- * </RadioItemContainer>
1082
- * ```
1083
- */
1084
- declare const RadioItemContainer: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
1085
- /**
1086
- * RadioItemLabel component that provides a label for individual radio items.
1087
- * Built on top of the Label component.
1088
- *
1089
- * @example
1090
- * ```tsx
1091
- * <RadioItemLabel>Select an option</RadioItemLabel>
1092
- * ```
1093
- */
1094
- declare const RadioItemLabel: React$1.ForwardRefExoticComponent<Omit<LabelProps & React$1.RefAttributes<HTMLLabelElement>, "ref"> & React$1.RefAttributes<HTMLLabelElement>>;
1095
-
1096
- type RadioGroupProps = React$1.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>;
1097
- type RadioGroupItemProps = React$1.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item>;
1098
-
1099
- /**
1100
- * Props for a single-item accordion
1101
- */
1102
- type AccordionSingleProps = React$1.ComponentPropsWithoutRef<typeof AccordionPrimitive.Root> & {
1103
- /** The type of accordion - must be "single" for this variant */
1104
- type: "single";
1105
- /** The default value of the accordion item */
1106
- defaultValue?: string;
1107
- /** The controlled value of the accordion item */
1108
- value?: string;
1109
- /** Callback fired when the value changes */
1110
- onValueChange?: (_value: string) => void;
1111
- /** Whether the accordion item can be collapsed */
1112
- collapsible?: boolean;
1113
- };
1114
- /**
1115
- * Props for a multiple-item accordion
1116
- */
1117
- type AccordionMultipleProps = React$1.ComponentPropsWithoutRef<typeof AccordionPrimitive.Root> & {
1118
- /** The type of accordion - must be "multiple" for this variant */
1119
- type: "multiple";
1120
- /** The default values of the accordion items */
1121
- defaultValue?: string[];
1122
- /** The controlled values of the accordion items */
1123
- value?: string[];
1124
- /** Callback fired when the values change */
1125
- onValueChange?: (_value: string[]) => void;
1126
- };
1127
- /**
1128
- * Props for the Accordion component
1129
- */
1130
- type AccordionProps = AccordionSingleProps | AccordionMultipleProps;
1131
- /**
1132
- * Props for an individual accordion item
1133
- */
1134
- interface AccordionItemProps extends React$1.ComponentPropsWithoutRef<typeof AccordionPrimitive.Item> {
1135
- /** The value of the accordion item */
1136
- value: string;
1137
- }
1138
- /**
1139
- * Props for the accordion trigger button
1140
- */
1141
- interface AccordionTriggerProps extends React$1.ComponentPropsWithoutRef<typeof AccordionPrimitive.Trigger> {
1142
- /** The content of the accordion trigger */
1143
- children: React$1.ReactNode;
1144
- }
1145
- /**
1146
- * Props for the accordion content panel
1147
- */
1148
- interface AccordionContentProps extends React$1.ComponentPropsWithoutRef<typeof AccordionPrimitive.Content> {
1149
- /** The content of the accordion panel */
1150
- children: React$1.ReactNode;
1151
- }
1152
-
1153
- /**
1154
- * Accordion component that displays a list of expandable/collapsible sections.
1155
- * Built on top of Radix UI's Accordion primitive.
1156
- *
1157
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-accordion--docs
1158
- *
1159
- * @example
1160
- * ```tsx
1161
- * <Accordion type="single" collapsible>
1162
- * <AccordionItem value="item-1">
1163
- * <AccordionTrigger>Section 1</AccordionTrigger>
1164
- * <AccordionContent>Content 1</AccordionContent>
1165
- * </AccordionItem>
1166
- * <AccordionItem value="item-2">
1167
- * <AccordionTrigger>Section 2</AccordionTrigger>
1168
- * <AccordionContent>Content 2</AccordionContent>
1169
- * </AccordionItem>
1170
- * </Accordion>
1171
- * ```
1172
- */
1173
- declare const Accordion: React$1.ForwardRefExoticComponent<((Omit<AccordionPrimitive.AccordionSingleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
1174
- type: "single";
1175
- defaultValue?: string;
1176
- value?: string;
1177
- onValueChange?: (_value: string) => void;
1178
- collapsible?: boolean;
1179
- }) | (Omit<AccordionPrimitive.AccordionMultipleProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
1180
- type: "multiple";
1181
- defaultValue?: string[];
1182
- value?: string[];
1183
- onValueChange?: (_value: string[]) => void;
1184
- })) & React$1.RefAttributes<HTMLDivElement>>;
1185
- declare const AccordionItem: React$1.ForwardRefExoticComponent<AccordionItemProps & React$1.RefAttributes<HTMLDivElement>>;
1186
- declare const AccordionTrigger: React$1.ForwardRefExoticComponent<AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
1187
- declare const AccordionContent: React$1.ForwardRefExoticComponent<AccordionContentProps & React$1.RefAttributes<HTMLDivElement>>;
1188
-
1189
- /**
1190
- * Checkbox component built on top of Radix UI's Checkbox primitive.
1191
- * Provides a customizable checkbox input with proper accessibility and keyboard navigation.
1192
- *
1193
- * @url https://sergii-melnykov.github.io/ui/?path=/docs/atoms-checkbox--docs
1194
- *
1195
- * @example
1196
- * ```tsx
1197
- * <Checkbox id="terms" name="terms" />
1198
- * <label htmlFor="terms">Accept terms and conditions</label>
1199
- * ```
1200
- */
1201
-
1202
- declare const Checkbox: React$1.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
1203
-
1204
- type CheckboxProps = React$1.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root>;
1205
-
1206
- interface BreadcrumbProps extends React$1.ComponentPropsWithoutRef<"nav"> {
1207
- separator?: React$1.ReactNode;
1208
- }
1209
- interface BreadcrumbListProps extends React$1.ComponentPropsWithoutRef<"ol"> {
1210
- }
1211
- interface BreadcrumbItemProps extends React$1.ComponentPropsWithoutRef<"li"> {
1212
- }
1213
- interface BreadcrumbLinkProps extends React$1.ComponentPropsWithoutRef<"a"> {
1214
- asChild?: boolean;
1215
- }
1216
- interface BreadcrumbPageProps extends React$1.ComponentPropsWithoutRef<"span"> {
1217
- }
1218
- interface BreadcrumbSeparatorProps extends React$1.ComponentProps<"li"> {
1219
- }
1220
- interface BreadcrumbEllipsisProps extends React$1.ComponentProps<"span"> {
1221
- }
1222
-
1223
- declare const Breadcrumb: React$1.ForwardRefExoticComponent<BreadcrumbProps & React$1.RefAttributes<HTMLElement>>;
1224
- declare const BreadcrumbList: React$1.ForwardRefExoticComponent<BreadcrumbListProps & React$1.RefAttributes<HTMLOListElement>>;
1225
- declare const BreadcrumbItem: React$1.ForwardRefExoticComponent<BreadcrumbItemProps & React$1.RefAttributes<HTMLLIElement>>;
1226
- declare const BreadcrumbLink: React$1.ForwardRefExoticComponent<BreadcrumbLinkProps & React$1.RefAttributes<HTMLAnchorElement>>;
1227
- declare const BreadcrumbPage: React$1.ForwardRefExoticComponent<BreadcrumbPageProps & React$1.RefAttributes<HTMLSpanElement>>;
1228
- declare const BreadcrumbSeparator: {
1229
- ({ children, className, ...props }: BreadcrumbSeparatorProps): react_jsx_runtime.JSX.Element;
1230
- displayName: string;
1231
- };
1232
- declare const BreadcrumbEllipsis: {
1233
- ({ className, ...props }: BreadcrumbEllipsisProps): react_jsx_runtime.JSX.Element;
1234
- displayName: string;
1235
- };
1236
-
1237
- export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, Avatar, AvatarFallback, type AvatarFallbackProps, AvatarImage, type AvatarImageProps, type AvatarProps, Badge, type BadgeProps, Box, type BoxProps, Breadcrumb, BreadcrumbEllipsis, type BreadcrumbEllipsisProps, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, type BreadcrumbLinkProps, BreadcrumbList, type BreadcrumbListProps, BreadcrumbPage, type BreadcrumbPageProps, type BreadcrumbProps, BreadcrumbSeparator, type BreadcrumbSeparatorProps, Button, type ButtonProps, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, type CollapsibleContentProps, type CollapsibleProps, CollapsibleTrigger, type CollapsibleTriggerProps, Command, CommandDialog, type CommandDialogProps, CommandEmpty, type CommandEmptyProps, type CommandEmptyRef, CommandGroup, type CommandGroupProps, type CommandGroupRef, CommandInput, type CommandInputProps, type CommandInputRef, CommandItem, type CommandItemProps, type CommandItemRef, CommandList, type CommandListProps, type CommandListRef, type CommandProps, type CommandRef, CommandSeparator, type CommandSeparatorProps, type CommandSeparatorRef, CommandShortcut, type CommandShortcutProps, Container, type ContainerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Input, Label, type LabelProps, MultiSelect, type MultiSelectOption, type MultiSelectProps, PageLoader, type PageLoaderProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, type PaginationLinkProps, PaginationNext, PaginationPrevious, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, RadioItemContainer, RadioItemLabel, ResizableHandle, type ResizableHandleProps, ResizablePanel, ResizablePanelGroup, type ResizablePanelGroupProps, type ResizablePanelProps, Select, type SelectOption, type SelectProps, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Stack, type StackProps, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableCaption, type TableCaptionProps, TableCell, type TableCellProps, TableFooter, type TableFooterProps, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, TextField, type TextFieldProps, Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, Toaster, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Typography, type TypographyAlign, type TypographyProps, type TypographyVariant, badgeVariants, buttonVariants, typographyVariants };