@mbao01/common 0.5.2 → 0.6.0

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 (325) hide show
  1. package/dist/types/components/Alert/constants.d.ts +1 -1
  2. package/dist/types/components/AlertDialog/AlertDialog.d.ts +7 -5
  3. package/dist/types/components/Anchor/{constant.d.ts → constants.d.ts} +1 -1
  4. package/dist/types/components/Anchor/types.d.ts +1 -1
  5. package/dist/types/components/AspectRatio/AspectRatio.d.ts +6 -0
  6. package/dist/types/components/AspectRatio/constants.d.ts +3 -0
  7. package/dist/types/components/AspectRatio/index.d.ts +2 -0
  8. package/dist/types/components/AspectRatio/types.d.ts +5 -0
  9. package/dist/types/components/Avatar/constants.d.ts +6 -6
  10. package/dist/types/components/Badge/constants.d.ts +1 -1
  11. package/dist/types/components/Banner/Banner.d.ts +11 -0
  12. package/dist/types/components/Banner/constants.d.ts +4 -0
  13. package/dist/types/components/Banner/index.d.ts +2 -0
  14. package/dist/types/components/Banner/types.d.ts +9 -0
  15. package/dist/types/components/Blockquote/Blockquote.d.ts +6 -0
  16. package/dist/types/components/Blockquote/constants.d.ts +3 -0
  17. package/dist/types/components/Blockquote/index.d.ts +2 -0
  18. package/dist/types/components/Blockquote/types.d.ts +5 -0
  19. package/dist/types/components/Box/Box.d.ts +6 -0
  20. package/dist/types/components/Box/constants.d.ts +5 -0
  21. package/dist/types/components/Box/index.d.ts +2 -0
  22. package/dist/types/components/Box/types.d.ts +3 -0
  23. package/dist/types/components/Breadcrumb/Breadcrumb.d.ts +1 -1
  24. package/dist/types/components/Breadcrumb/types.d.ts +1 -1
  25. package/dist/types/components/Button/Button.d.ts +3 -2
  26. package/dist/types/components/Button/constants.d.ts +2 -1
  27. package/dist/types/components/Carousel/Carousel.d.ts +6 -4
  28. package/dist/types/components/Center/Center.d.ts +5 -0
  29. package/dist/types/components/Center/constants.d.ts +4 -0
  30. package/dist/types/components/Center/index.d.ts +2 -0
  31. package/dist/types/components/Center/types.d.ts +3 -0
  32. package/dist/types/components/Chart/constants.d.ts +2 -2
  33. package/dist/types/components/Code/Code.d.ts +8 -0
  34. package/dist/types/components/Code/constants.d.ts +4 -0
  35. package/dist/types/components/Code/helper.d.ts +2 -0
  36. package/dist/types/components/Code/index.d.ts +2 -0
  37. package/dist/types/components/Code/types.d.ts +6 -0
  38. package/dist/types/components/Combobox/Combobox.d.ts +1 -1
  39. package/dist/types/components/Combobox/types.d.ts +1 -0
  40. package/dist/types/components/Container/Container.d.ts +6 -0
  41. package/dist/types/components/Container/constants.d.ts +5 -0
  42. package/dist/types/components/Container/index.d.ts +2 -0
  43. package/dist/types/components/Container/types.d.ts +3 -0
  44. package/dist/types/components/DatetimePicker/DatetimeGrid.d.ts +2 -2
  45. package/dist/types/components/DatetimePicker/DatetimePicker.d.ts +2 -2
  46. package/dist/types/components/DatetimePicker/constants.d.ts +1 -1
  47. package/dist/types/components/Dialog/Dialog.d.ts +1 -1
  48. package/dist/types/components/Dialog/constants.d.ts +1 -1
  49. package/dist/types/components/Dock/constants.d.ts +2 -2
  50. package/dist/types/components/Empty/Empty.d.ts +8 -0
  51. package/dist/types/components/Empty/constants.d.ts +6 -0
  52. package/dist/types/components/Empty/index.d.ts +2 -0
  53. package/dist/types/components/Empty/types.d.ts +3 -0
  54. package/dist/types/components/Flex/Flex.d.ts +8 -0
  55. package/dist/types/components/Flex/constants.d.ts +7 -0
  56. package/dist/types/components/Flex/index.d.ts +2 -0
  57. package/dist/types/components/Flex/types.d.ts +3 -0
  58. package/dist/types/components/Footer/Footer.d.ts +6 -0
  59. package/dist/types/components/Footer/constants.d.ts +4 -0
  60. package/dist/types/components/Footer/index.d.ts +2 -0
  61. package/dist/types/components/Footer/types.d.ts +4 -0
  62. package/dist/types/components/Form/DatetimeInput/DatetimeInput.d.ts +3 -3
  63. package/dist/types/components/Form/Input/Input.d.ts +4 -4
  64. package/dist/types/components/Form/Input/constants.d.ts +2 -2
  65. package/dist/types/components/Form/NativeSelect/NativeSelect.d.ts +8 -0
  66. package/dist/types/components/Form/NativeSelect/constants.d.ts +7 -0
  67. package/dist/types/components/Form/NativeSelect/index.d.ts +2 -0
  68. package/dist/types/components/Form/NativeSelect/types.d.ts +3 -0
  69. package/dist/types/components/Form/Radio/Radio.d.ts +1 -1
  70. package/dist/types/components/Form/Range/Range.d.ts +1 -1
  71. package/dist/types/components/Form/Select/Select.d.ts +4 -4
  72. package/dist/types/components/Form/Select/constants.d.ts +2 -2
  73. package/dist/types/components/Form/Switch/Switch.d.ts +1 -1
  74. package/dist/types/components/Form/TagsInput/TagsInput.d.ts +2 -2
  75. package/dist/types/components/Form/TextField/TextField.d.ts +4 -4
  76. package/dist/types/components/Form/Textarea/Textarea.d.ts +3 -3
  77. package/dist/types/components/Form/Textarea/constants.d.ts +1 -1
  78. package/dist/types/components/Form/components/Field/Field.d.ts +8 -0
  79. package/dist/types/components/Form/components/Field/FieldContext.d.ts +2 -0
  80. package/dist/types/components/Form/components/Field/constants.d.ts +6 -0
  81. package/dist/types/components/Form/components/Field/hooks/index.d.ts +1 -0
  82. package/dist/types/components/Form/components/Field/hooks/useField/index.d.ts +1 -0
  83. package/dist/types/components/Form/components/Field/hooks/useField/useField.d.ts +1 -0
  84. package/dist/types/components/Form/components/Field/index.d.ts +2 -0
  85. package/dist/types/components/Form/components/Field/types.d.ts +12 -0
  86. package/dist/types/components/Form/index.d.ts +2 -0
  87. package/dist/types/components/Grid/Grid.d.ts +11 -0
  88. package/dist/types/components/Grid/constants.d.ts +10 -0
  89. package/dist/types/components/Grid/index.d.ts +2 -0
  90. package/dist/types/components/Grid/types.d.ts +4 -0
  91. package/dist/types/components/Header/Header.d.ts +7 -0
  92. package/dist/types/components/Header/constants.d.ts +3 -0
  93. package/dist/types/components/Header/index.d.ts +2 -0
  94. package/dist/types/components/Header/types.d.ts +3 -0
  95. package/dist/types/components/Heading/Heading.d.ts +7 -0
  96. package/dist/types/components/Heading/constants.d.ts +4 -0
  97. package/dist/types/components/Heading/index.d.ts +2 -0
  98. package/dist/types/components/Heading/types.d.ts +7 -0
  99. package/dist/types/components/Image/Image.d.ts +7 -0
  100. package/dist/types/components/Image/constants.d.ts +4 -0
  101. package/dist/types/components/Image/index.d.ts +2 -0
  102. package/dist/types/components/Image/types.d.ts +5 -0
  103. package/dist/types/components/Kbd/constants.d.ts +1 -1
  104. package/dist/types/components/List/constants.d.ts +1 -1
  105. package/dist/types/components/Loading/Loading.d.ts +1 -1
  106. package/dist/types/components/Loading/constants.d.ts +2 -2
  107. package/dist/types/components/Menu/ContextMenu/ContextMenu.d.ts +4 -4
  108. package/dist/types/components/Menu/DropdownMenu/DropdownMenu.d.ts +4 -4
  109. package/dist/types/components/Menu/Menubar/Menubar.d.ts +5 -5
  110. package/dist/types/components/Menu/Menubar/constants.d.ts +5 -5
  111. package/dist/types/components/Menu/NavigationMenu/NavigationMenu.d.ts +1 -1
  112. package/dist/types/components/Menu/NavigationMenu/constants.d.ts +1 -1
  113. package/dist/types/components/Panel/Panel.d.ts +11 -0
  114. package/dist/types/components/Panel/constants.d.ts +7 -0
  115. package/dist/types/components/Panel/index.d.ts +2 -0
  116. package/dist/types/components/Panel/types.d.ts +8 -0
  117. package/dist/types/components/Paragraph/Paragraph.d.ts +3 -0
  118. package/dist/types/components/Paragraph/constants.d.ts +3 -0
  119. package/dist/types/components/Paragraph/index.d.ts +2 -0
  120. package/dist/types/components/Paragraph/types.d.ts +5 -0
  121. package/dist/types/components/Progress/Progress.d.ts +1 -1
  122. package/dist/types/components/Progress/constants.d.ts +2 -2
  123. package/dist/types/components/Resizable/Resizable.d.ts +1 -1
  124. package/dist/types/components/ScrollArea/ScrollArea.d.ts +1 -1
  125. package/dist/types/components/ScrollArea/constants.d.ts +1 -1
  126. package/dist/types/components/Sheet/Sheet.d.ts +12 -0
  127. package/dist/types/components/Sheet/constants.d.ts +7 -0
  128. package/dist/types/components/Sheet/index.d.ts +2 -0
  129. package/dist/types/components/Sheet/types.d.ts +5 -0
  130. package/dist/types/components/Sidebar/Sidebar.d.ts +8 -7
  131. package/dist/types/components/Sidebar/SidebarMenu.d.ts +3 -2
  132. package/dist/types/components/Sidebar/constants.d.ts +5 -4
  133. package/dist/types/components/Sidebar/types.d.ts +1 -1
  134. package/dist/types/components/Skeleton/Skeleton.d.ts +1 -1
  135. package/dist/types/components/Skeleton/constants.d.ts +3 -3
  136. package/dist/types/components/Sonner/constants.d.ts +2 -2
  137. package/dist/types/components/Spacer/Spacer.d.ts +5 -0
  138. package/dist/types/components/Spacer/constants.d.ts +4 -0
  139. package/dist/types/components/Spacer/index.d.ts +2 -0
  140. package/dist/types/components/Spacer/types.d.ts +3 -0
  141. package/dist/types/components/Spinner/Spinner.d.ts +5 -0
  142. package/dist/types/components/Spinner/constants.d.ts +4 -0
  143. package/dist/types/components/Spinner/index.d.ts +2 -0
  144. package/dist/types/components/Spinner/types.d.ts +3 -0
  145. package/dist/types/components/Status/constants.d.ts +1 -1
  146. package/dist/types/components/Stepper/Stepper.d.ts +9 -0
  147. package/dist/types/components/Stepper/constants.d.ts +6 -0
  148. package/dist/types/components/Stepper/index.d.ts +2 -0
  149. package/dist/types/components/Stepper/types.d.ts +6 -0
  150. package/dist/types/components/Text/constants.d.ts +1 -1
  151. package/dist/types/components/Timeline/Timeline.d.ts +5 -5
  152. package/dist/types/components/Timeline/constants.d.ts +5 -5
  153. package/dist/types/components/Toggle/Toggle.d.ts +5 -3
  154. package/dist/types/components/Toggle/constants.d.ts +2 -1
  155. package/dist/types/components/ToggleGroup/ToggleGroup.d.ts +5 -3
  156. package/dist/types/index.d.ts +24 -0
  157. package/dist/types/utilities/createVariants/createVariants.d.ts +2 -0
  158. package/dist/types/utilities/createVariants/index.d.ts +1 -0
  159. package/dist/types/utilities/createVariants/type.d.ts +10 -0
  160. package/dist/types/utilities/index.d.ts +1 -0
  161. package/package.json +41 -41
  162. package/src/components/Alert/constants.ts +3 -2
  163. package/src/components/Anchor/Anchor.tsx +1 -1
  164. package/src/components/Anchor/{constant.ts → constants.ts} +4 -4
  165. package/src/components/Anchor/types.ts +1 -1
  166. package/src/components/AspectRatio/AspectRatio.tsx +23 -0
  167. package/src/components/AspectRatio/constants.ts +17 -0
  168. package/src/components/AspectRatio/index.ts +2 -0
  169. package/src/components/AspectRatio/types.ts +7 -0
  170. package/src/components/Avatar/constants.ts +17 -22
  171. package/src/components/Badge/constants.ts +3 -2
  172. package/src/components/Banner/Banner.tsx +36 -0
  173. package/src/components/Banner/constants.ts +18 -0
  174. package/src/components/Banner/index.ts +2 -0
  175. package/src/components/Banner/types.ts +11 -0
  176. package/src/components/Blockquote/Blockquote.tsx +21 -0
  177. package/src/components/Blockquote/constants.ts +22 -0
  178. package/src/components/Blockquote/index.ts +2 -0
  179. package/src/components/Blockquote/types.ts +7 -0
  180. package/src/components/Box/Box.tsx +20 -0
  181. package/src/components/Box/constants.ts +34 -0
  182. package/src/components/Box/index.ts +2 -0
  183. package/src/components/Box/types.ts +4 -0
  184. package/src/components/Breadcrumb/types.ts +1 -1
  185. package/src/components/Button/Button.tsx +3 -4
  186. package/src/components/Button/constants.ts +6 -3
  187. package/src/components/Card/constants.ts +3 -2
  188. package/src/components/Carousel/constants.ts +9 -8
  189. package/src/components/Center/Center.tsx +16 -0
  190. package/src/components/Center/constants.ts +20 -0
  191. package/src/components/Center/index.ts +2 -0
  192. package/src/components/Center/types.ts +5 -0
  193. package/src/components/Chart/constants.ts +9 -8
  194. package/src/components/Code/Code.tsx +51 -0
  195. package/src/components/Code/constants.ts +28 -0
  196. package/src/components/Code/helper.ts +10 -0
  197. package/src/components/Code/index.ts +2 -0
  198. package/src/components/Code/types.ts +8 -0
  199. package/src/components/Combobox/Combobox.tsx +2 -3
  200. package/src/components/Combobox/types.ts +1 -0
  201. package/src/components/Container/Container.tsx +20 -0
  202. package/src/components/Container/constants.ts +31 -0
  203. package/src/components/Container/index.ts +2 -0
  204. package/src/components/Container/types.ts +5 -0
  205. package/src/components/DatetimePicker/constants.ts +5 -4
  206. package/src/components/Dialog/Dialog.tsx +3 -3
  207. package/src/components/Dialog/constants.ts +5 -4
  208. package/src/components/Dock/constants.ts +14 -13
  209. package/src/components/DragAndDrop/Draggable/constants.ts +5 -4
  210. package/src/components/DragAndDrop/Droppable/constants.ts +3 -2
  211. package/src/components/DragAndDrop/Sortable/constants.ts +3 -2
  212. package/src/components/Empty/Empty.tsx +66 -0
  213. package/src/components/Empty/constants.ts +30 -0
  214. package/src/components/Empty/index.ts +2 -0
  215. package/src/components/Empty/types.ts +5 -0
  216. package/src/components/Flex/Flex.tsx +20 -0
  217. package/src/components/Flex/constants.ts +51 -0
  218. package/src/components/Flex/index.ts +2 -0
  219. package/src/components/Flex/types.ts +4 -0
  220. package/src/components/Footer/Footer.tsx +26 -0
  221. package/src/components/Footer/constants.ts +12 -0
  222. package/src/components/Footer/index.ts +2 -0
  223. package/src/components/Footer/types.ts +6 -0
  224. package/src/components/Form/Checkbox/constants.ts +5 -4
  225. package/src/components/Form/DatetimeInput/constants.ts +9 -8
  226. package/src/components/Form/Input/constants.ts +7 -6
  227. package/src/components/Form/MultiSelect/constants.ts +10 -9
  228. package/src/components/Form/NativeSelect/NativeSelect.tsx +23 -0
  229. package/src/components/Form/NativeSelect/constants.ts +39 -0
  230. package/src/components/Form/NativeSelect/index.ts +2 -0
  231. package/src/components/Form/NativeSelect/types.ts +5 -0
  232. package/src/components/Form/Radio/constants.ts +3 -2
  233. package/src/components/Form/Range/constants.ts +3 -2
  234. package/src/components/Form/Select/constants.ts +14 -13
  235. package/src/components/Form/Slider/constants.ts +9 -8
  236. package/src/components/Form/Switch/constants.ts +3 -2
  237. package/src/components/Form/TagsInput/TagsInput.tsx +1 -1
  238. package/src/components/Form/TagsInput/constants.ts +7 -6
  239. package/src/components/Form/Textarea/constants.ts +3 -2
  240. package/src/components/Form/Validator/constants.ts +3 -2
  241. package/src/components/Form/components/Field/Field.tsx +81 -0
  242. package/src/components/Form/components/Field/FieldContext.tsx +4 -0
  243. package/src/components/Form/components/Field/constants.ts +20 -0
  244. package/src/components/Form/components/Field/hooks/index.ts +1 -0
  245. package/src/components/Form/components/Field/hooks/useField/index.ts +1 -0
  246. package/src/components/Form/components/Field/hooks/useField/useField.ts +10 -0
  247. package/src/components/Form/components/Field/index.ts +2 -0
  248. package/src/components/Form/components/Field/types.ts +19 -0
  249. package/src/components/Form/index.ts +2 -0
  250. package/src/components/Grid/Grid.tsx +32 -0
  251. package/src/components/Grid/constants.ts +84 -0
  252. package/src/components/Grid/index.ts +2 -0
  253. package/src/components/Grid/types.ts +7 -0
  254. package/src/components/Header/Header.tsx +49 -0
  255. package/src/components/Header/constants.ts +18 -0
  256. package/src/components/Header/index.ts +2 -0
  257. package/src/components/Header/types.ts +4 -0
  258. package/src/components/Heading/Heading.tsx +23 -0
  259. package/src/components/Heading/constants.ts +25 -0
  260. package/src/components/Heading/index.ts +2 -0
  261. package/src/components/Heading/types.ts +10 -0
  262. package/src/components/Image/Image.tsx +30 -0
  263. package/src/components/Image/constants.ts +25 -0
  264. package/src/components/Image/index.ts +2 -0
  265. package/src/components/Image/types.ts +7 -0
  266. package/src/components/Kbd/constants.ts +3 -2
  267. package/src/components/List/constants.ts +3 -2
  268. package/src/components/Loading/Loading.tsx +2 -4
  269. package/src/components/Loading/constants.ts +5 -4
  270. package/src/components/Menu/Menubar/constants.ts +16 -14
  271. package/src/components/Menu/NavigationMenu/constants.ts +5 -3
  272. package/src/components/Panel/Panel.tsx +58 -0
  273. package/src/components/Panel/constants.ts +31 -0
  274. package/src/components/Panel/index.ts +2 -0
  275. package/src/components/Panel/types.ts +11 -0
  276. package/src/components/Paragraph/Paragraph.tsx +17 -0
  277. package/src/components/Paragraph/constants.ts +18 -0
  278. package/src/components/Paragraph/index.ts +2 -0
  279. package/src/components/Paragraph/types.ts +8 -0
  280. package/src/components/Progress/constants.ts +9 -10
  281. package/src/components/Resizable/constants.ts +3 -2
  282. package/src/components/ScrollArea/constants.ts +6 -5
  283. package/src/components/Separator/constants.ts +3 -2
  284. package/src/components/Sheet/Sheet.tsx +126 -0
  285. package/src/components/Sheet/constants.ts +45 -0
  286. package/src/components/Sheet/index.ts +9 -0
  287. package/src/components/Sheet/types.ts +7 -0
  288. package/src/components/Sidebar/Sidebar.tsx +5 -5
  289. package/src/components/Sidebar/SidebarMenu.tsx +3 -3
  290. package/src/components/Sidebar/constants.ts +32 -25
  291. package/src/components/Sidebar/types.ts +1 -1
  292. package/src/components/Skeleton/Skeleton.tsx +2 -2
  293. package/src/components/Skeleton/constants.ts +4 -3
  294. package/src/components/Sonner/Toaster.tsx +1 -1
  295. package/src/components/Sonner/constants.ts +6 -5
  296. package/src/components/Sonner/helpers.ts +1 -1
  297. package/src/components/Spacer/Spacer.tsx +19 -0
  298. package/src/components/Spacer/constants.ts +55 -0
  299. package/src/components/Spacer/index.ts +2 -0
  300. package/src/components/Spacer/types.ts +5 -0
  301. package/src/components/Spinner/Spinner.tsx +24 -0
  302. package/src/components/Spinner/constants.ts +29 -0
  303. package/src/components/Spinner/index.ts +2 -0
  304. package/src/components/Spinner/types.ts +5 -0
  305. package/src/components/Stack/constants.ts +3 -2
  306. package/src/components/Stat/constants.ts +5 -4
  307. package/src/components/Status/constants.ts +3 -2
  308. package/src/components/Stepper/Stepper.tsx +30 -0
  309. package/src/components/Stepper/constants.ts +29 -0
  310. package/src/components/Stepper/index.ts +2 -0
  311. package/src/components/Stepper/types.ts +10 -0
  312. package/src/components/Table/constants.ts +3 -2
  313. package/src/components/Text/constants.ts +4 -7
  314. package/src/components/Timeline/Timeline.example.tsx +1 -1
  315. package/src/components/Timeline/constants.ts +19 -22
  316. package/src/components/Toggle/Toggle.tsx +3 -3
  317. package/src/components/Toggle/constants.ts +6 -3
  318. package/src/components/ToggleGroup/ToggleGroup.tsx +4 -2
  319. package/src/components/Tooltip/constants.ts +5 -4
  320. package/src/index.ts +27 -0
  321. package/src/utilities/createVariants/createVariants.ts +5 -0
  322. package/src/utilities/createVariants/index.ts +1 -0
  323. package/src/utilities/createVariants/type.ts +29 -0
  324. package/src/utilities/index.ts +1 -0
  325. package/vitest-setup.ts +4 -0
@@ -1,4 +1,4 @@
1
1
  export declare const getAlertClasses: (props?: ({
2
- variant?: "accent" | "default" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "ghost" | null | undefined;
2
+ variant?: "accent" | "default" | "error" | "ghost" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | null | undefined;
3
3
  outline?: boolean | null | undefined;
4
4
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -7,7 +7,7 @@ declare const AlertDialog: {
7
7
  Overlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & {} & React.RefAttributes<HTMLDivElement>>;
8
8
  Trigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
9
9
  Content: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
10
- variant?: "dialog" | "sheet" | undefined;
10
+ type?: "dialog" | "sheet" | undefined;
11
11
  side?: "top" | "right" | "bottom" | "left" | undefined;
12
12
  } & React.RefAttributes<HTMLDivElement>>;
13
13
  Header: {
@@ -21,18 +21,20 @@ declare const AlertDialog: {
21
21
  Title: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & {} & React.RefAttributes<HTMLHeadingElement>>;
22
22
  Description: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & {} & React.RefAttributes<HTMLParagraphElement>>;
23
23
  Action: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
24
- variant?: "accent" | "default" | "error" | "info" | "link" | "neutral" | "primary" | "secondary" | "success" | "warning" | "ghost" | undefined;
25
- size?: "xs" | "sm" | "md" | "lg" | undefined;
24
+ link?: boolean | undefined;
25
+ variant?: "accent" | "default" | "error" | "ghost" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
26
26
  outline?: boolean | undefined;
27
+ size?: "xs" | "sm" | "md" | "lg" | undefined;
27
28
  rounded?: "xs" | "sm" | "md" | "lg" | undefined;
28
29
  wide?: boolean | undefined;
29
30
  isLoading?: boolean | undefined;
30
31
  disabled?: boolean | undefined;
31
32
  } & React.RefAttributes<HTMLButtonElement>>;
32
33
  Cancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
33
- variant?: "accent" | "default" | "error" | "info" | "link" | "neutral" | "primary" | "secondary" | "success" | "warning" | "ghost" | undefined;
34
- size?: "xs" | "sm" | "md" | "lg" | undefined;
34
+ link?: boolean | undefined;
35
+ variant?: "accent" | "default" | "error" | "ghost" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
35
36
  outline?: boolean | undefined;
37
+ size?: "xs" | "sm" | "md" | "lg" | undefined;
36
38
  rounded?: "xs" | "sm" | "md" | "lg" | undefined;
37
39
  wide?: boolean | undefined;
38
40
  isLoading?: boolean | undefined;
@@ -1,5 +1,5 @@
1
1
  export declare const getAnchorClasses: (props?: ({
2
- variant?: "accent" | "default" | "error" | "info" | "link" | "neutral" | "primary" | "secondary" | "success" | "warning" | null | undefined;
2
+ variant?: "accent" | "default" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | null | undefined;
3
3
  hover?: boolean | null | undefined;
4
4
  underline?: boolean | null | undefined;
5
5
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -1,5 +1,5 @@
1
1
  import { VariantProps } from '../../libs';
2
- import { getAnchorClasses } from './constant';
2
+ import { getAnchorClasses } from './constants';
3
3
  export type AnchorProps = React.AnchorHTMLAttributes<HTMLAnchorElement> & {
4
4
  isExternal?: boolean;
5
5
  } & VariantProps<typeof getAnchorClasses>;
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ export declare const AspectRatio: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
3
+ ratio?: "auto" | "16/9" | "4/3" | "1/1" | "21/9" | undefined;
4
+ } & {
5
+ value?: number;
6
+ } & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,3 @@
1
+ export declare const getAspectRatioClasses: (props?: ({
2
+ ratio?: "auto" | "16/9" | "4/3" | "1/1" | "21/9" | null | undefined;
3
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -0,0 +1,2 @@
1
+ export { AspectRatio } from './AspectRatio';
2
+ export type { AspectRatioProps } from './types';
@@ -0,0 +1,5 @@
1
+ import { VariantProps } from '../../libs';
2
+ import { getAspectRatioClasses } from './constants';
3
+ export type AspectRatioProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof getAspectRatioClasses> & {
4
+ value?: number;
5
+ };
@@ -1,15 +1,15 @@
1
1
  export declare const getAvatarClasses: (props?: ({
2
- size?: 4 | 8 | 12 | 16 | 24 | 32 | 48 | 64 | null | undefined;
2
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
3
3
  status?: "online" | "offline" | null | undefined;
4
4
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
5
5
  export declare const getAvatarImageClasses: (props?: ({
6
- variant?: "accent" | "default" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "ghost" | null | undefined;
7
- shape?: "circle" | "round" | "hexagon" | "triangle" | "television" | null | undefined;
6
+ variant?: "accent" | "default" | "error" | "ghost" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | null | undefined;
7
+ shape?: "circle" | "round" | "triangle" | "hexagon" | "television" | null | undefined;
8
8
  ring?: boolean | null | undefined;
9
9
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
10
10
  export declare const getAvatarFallbackClasses: (props?: ({
11
- size?: 4 | 8 | 12 | 16 | 24 | 32 | 48 | 64 | null | undefined;
12
- variant?: "accent" | "default" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "ghost" | null | undefined;
13
- shape?: "circle" | "round" | "hexagon" | "triangle" | "television" | null | undefined;
11
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
12
+ variant?: "accent" | "default" | "error" | "ghost" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | null | undefined;
13
+ shape?: "circle" | "round" | "triangle" | "hexagon" | "television" | null | undefined;
14
14
  ring?: boolean | null | undefined;
15
15
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -1,5 +1,5 @@
1
1
  export declare const getBadgeClasses: (props?: ({
2
- variant?: "accent" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "ghost" | null | undefined;
2
+ variant?: "accent" | "error" | "ghost" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | null | undefined;
3
3
  outline?: boolean | null | undefined;
4
4
  size?: "xs" | "sm" | "md" | "lg" | null | undefined;
5
5
  rounded?: "xs" | "sm" | "md" | "lg" | null | undefined;
@@ -0,0 +1,11 @@
1
+ import { default as React } from 'react';
2
+ export declare const Banner: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
3
+ variant?: "error" | "info" | "success" | "warning" | undefined;
4
+ border?: "none" | "dashed" | "solid" | undefined;
5
+ } & {
6
+ icon?: React.ReactNode;
7
+ title?: string;
8
+ description?: string;
9
+ action?: React.ReactNode;
10
+ onClose?: () => void;
11
+ } & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,4 @@
1
+ export declare const getBannerClasses: (props?: ({
2
+ variant?: "error" | "info" | "success" | "warning" | null | undefined;
3
+ border?: "none" | "dashed" | "solid" | null | undefined;
4
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -0,0 +1,2 @@
1
+ export { Banner } from './Banner';
2
+ export type { BannerProps } from './types';
@@ -0,0 +1,9 @@
1
+ import { VariantProps } from '../../libs';
2
+ import { getBannerClasses } from './constants';
3
+ export type BannerProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof getBannerClasses> & {
4
+ icon?: React.ReactNode;
5
+ title?: string;
6
+ description?: string;
7
+ action?: React.ReactNode;
8
+ onClose?: () => void;
9
+ };
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ export declare const Blockquote: React.ForwardRefExoticComponent<React.BlockquoteHTMLAttributes<HTMLQuoteElement> & {
3
+ variant?: "accent" | "default" | "error" | "ghost" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
4
+ } & {
5
+ cite?: string;
6
+ } & React.RefAttributes<HTMLQuoteElement>>;
@@ -0,0 +1,3 @@
1
+ export declare const getBlockquoteClasses: (props?: ({
2
+ variant?: "accent" | "default" | "error" | "ghost" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | null | undefined;
3
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -0,0 +1,2 @@
1
+ export { Blockquote } from './Blockquote';
2
+ export type { BlockquoteProps } from './types';
@@ -0,0 +1,5 @@
1
+ import { VariantProps } from '../../libs';
2
+ import { getBlockquoteClasses } from './constants';
3
+ export type BlockquoteProps = React.BlockquoteHTMLAttributes<HTMLQuoteElement> & VariantProps<typeof getBlockquoteClasses> & {
4
+ cite?: string;
5
+ };
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ export declare const Box: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
3
+ display?: "hidden" | "grid" | "inline" | "block" | "inline-block" | "flex" | "inline-flex" | "inline-grid" | undefined;
4
+ overflow?: "hidden" | "auto" | "visible" | "scroll" | "x-auto" | "y-auto" | "x-hidden" | "y-hidden" | undefined;
5
+ position?: "fixed" | "sticky" | "static" | "absolute" | "relative" | undefined;
6
+ } & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,5 @@
1
+ export declare const getBoxClasses: (props?: ({
2
+ display?: "hidden" | "grid" | "inline" | "block" | "inline-block" | "flex" | "inline-flex" | "inline-grid" | null | undefined;
3
+ position?: "fixed" | "sticky" | "static" | "absolute" | "relative" | null | undefined;
4
+ overflow?: "hidden" | "auto" | "visible" | "scroll" | "x-auto" | "y-auto" | "x-hidden" | "y-hidden" | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -0,0 +1,2 @@
1
+ export { Box } from './Box';
2
+ export type { BoxProps } from './types';
@@ -0,0 +1,3 @@
1
+ import { VariantProps } from '../../libs';
2
+ import { getBoxClasses } from './constants';
3
+ export type BoxProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof getBoxClasses>;
@@ -4,7 +4,7 @@ declare const Breadcrumb: {
4
4
  displayName: string;
5
5
  List: import('react').ForwardRefExoticComponent<BreadcrumbListProps & import('react').RefAttributes<HTMLOListElement>>;
6
6
  Item: import('react').ForwardRefExoticComponent<BreadcrumbItemProps & import('react').RefAttributes<HTMLLIElement>>;
7
- Link: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLAnchorElement> & {
7
+ Link: import('react').ForwardRefExoticComponent<import('react').AnchorHTMLAttributes<HTMLAnchorElement> & {
8
8
  asChild?: boolean;
9
9
  } & import('react').RefAttributes<HTMLAnchorElement>>;
10
10
  Page: import('react').ForwardRefExoticComponent<BreadcrumbPageProps & import('react').RefAttributes<HTMLSpanElement>>;
@@ -4,7 +4,7 @@ export type BreadcrumbProps = React.HTMLAttributes<HTMLElement> & {
4
4
  };
5
5
  export type BreadcrumbListProps = React.HTMLAttributes<HTMLUListElement>;
6
6
  export type BreadcrumbItemProps = React.HTMLAttributes<HTMLLIElement>;
7
- export type BreadcrumbLinkProps = React.HTMLAttributes<HTMLAnchorElement> & {
7
+ export type BreadcrumbLinkProps = React.AnchorHTMLAttributes<HTMLAnchorElement> & {
8
8
  asChild?: boolean;
9
9
  };
10
10
  export type BreadcrumbPageProps = React.HTMLAttributes<HTMLSpanElement>;
@@ -1,8 +1,9 @@
1
1
  import { default as React } from 'react';
2
2
  declare const Button: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
3
- variant?: "accent" | "default" | "error" | "info" | "link" | "neutral" | "primary" | "secondary" | "success" | "warning" | "ghost" | undefined;
4
- size?: "xs" | "sm" | "md" | "lg" | undefined;
3
+ link?: boolean | undefined;
4
+ variant?: "accent" | "default" | "error" | "ghost" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
5
5
  outline?: boolean | undefined;
6
+ size?: "xs" | "sm" | "md" | "lg" | undefined;
6
7
  rounded?: "xs" | "sm" | "md" | "lg" | undefined;
7
8
  wide?: boolean | undefined;
8
9
  isLoading?: boolean | undefined;
@@ -1,6 +1,7 @@
1
1
  export declare const getButtonClasses: (props?: ({
2
- variant?: "accent" | "default" | "error" | "info" | "link" | "neutral" | "primary" | "secondary" | "success" | "warning" | "ghost" | null | undefined;
2
+ variant?: "accent" | "default" | "error" | "ghost" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | null | undefined;
3
3
  outline?: boolean | null | undefined;
4
+ link?: boolean | null | undefined;
4
5
  rounded?: "xs" | "sm" | "md" | "lg" | null | undefined;
5
6
  wide?: boolean | null | undefined;
6
7
  size?: "xs" | "sm" | "md" | "lg" | null | undefined;
@@ -5,9 +5,10 @@ declare const Carousel: {
5
5
  Content: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
6
6
  Item: import('react').ForwardRefExoticComponent<import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
7
7
  Next: import('react').ForwardRefExoticComponent<Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement> & {
8
- variant?: "accent" | "default" | "error" | "info" | "link" | "neutral" | "primary" | "secondary" | "success" | "warning" | "ghost" | undefined;
9
- size?: "xs" | "sm" | "md" | "lg" | undefined;
8
+ link?: boolean | undefined;
9
+ variant?: "accent" | "default" | "error" | "ghost" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
10
10
  outline?: boolean | undefined;
11
+ size?: "xs" | "sm" | "md" | "lg" | undefined;
11
12
  rounded?: "xs" | "sm" | "md" | "lg" | undefined;
12
13
  wide?: boolean | undefined;
13
14
  isLoading?: boolean | undefined;
@@ -16,9 +17,10 @@ declare const Carousel: {
16
17
  asChild?: boolean;
17
18
  } & import('react').RefAttributes<HTMLButtonElement>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
18
19
  Previous: import('react').ForwardRefExoticComponent<Omit<import('react').ButtonHTMLAttributes<HTMLButtonElement> & {
19
- variant?: "accent" | "default" | "error" | "info" | "link" | "neutral" | "primary" | "secondary" | "success" | "warning" | "ghost" | undefined;
20
- size?: "xs" | "sm" | "md" | "lg" | undefined;
20
+ link?: boolean | undefined;
21
+ variant?: "accent" | "default" | "error" | "ghost" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | undefined;
21
22
  outline?: boolean | undefined;
23
+ size?: "xs" | "sm" | "md" | "lg" | undefined;
22
24
  rounded?: "xs" | "sm" | "md" | "lg" | undefined;
23
25
  wide?: boolean | undefined;
24
26
  isLoading?: boolean | undefined;
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ export declare const Center: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
3
+ inline?: boolean | undefined;
4
+ axis?: "both" | "horizontal" | "vertical" | undefined;
5
+ } & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,4 @@
1
+ export declare const getCenterClasses: (props?: ({
2
+ inline?: boolean | null | undefined;
3
+ axis?: "both" | "horizontal" | "vertical" | null | undefined;
4
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -0,0 +1,2 @@
1
+ export { Center } from './Center';
2
+ export type { CenterProps } from './types';
@@ -0,0 +1,3 @@
1
+ import { VariantProps } from '../../libs';
2
+ import { getCenterClasses } from './constants';
3
+ export type CenterProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof getCenterClasses>;
@@ -10,13 +10,13 @@ export declare const getChartLegendItemClasses: (props?: import('class-variance-
10
10
  export declare const getChartLegendMarkerClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
11
11
  export declare const getChartTooltipContainerClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
12
12
  export declare const getChartTooltipItemClasses: (props?: ({
13
- indicator?: "line" | "dot" | "dashed" | null | undefined;
13
+ indicator?: "line" | "dashed" | "dot" | null | undefined;
14
14
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
15
15
  export declare const getChartTooltipItemLabelClasses: (props?: ({
16
16
  nestLabel?: boolean | null | undefined;
17
17
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
18
18
  export declare const getChartTooltipItemValueClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
19
19
  export declare const getChartTooltipItemIndicatorClasses: (props?: ({
20
- indicator?: "line" | "dot" | "dashed" | null | undefined;
20
+ indicator?: "line" | "dashed" | "dot" | null | undefined;
21
21
  nestLabel?: boolean | null | undefined;
22
22
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ export declare const Code: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
3
+ inline?: boolean | undefined;
4
+ colorScheme?: "accent" | "default" | "primary" | "secondary" | undefined;
5
+ } & {
6
+ skip?: boolean;
7
+ prefix?: "numeric" | "uppercase" | "lowercase" | "none";
8
+ } & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,4 @@
1
+ export declare const getCodeClasses: (props?: ({
2
+ inline?: boolean | null | undefined;
3
+ colorScheme?: "accent" | "default" | "primary" | "secondary" | null | undefined;
4
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -0,0 +1,2 @@
1
+ import { CodeProps } from './types';
2
+ export declare const getDataPrefix: (prefix: CodeProps["prefix"], index: number) => string | number;
@@ -0,0 +1,2 @@
1
+ export { Code } from './Code';
2
+ export type { CodeProps } from './types';
@@ -0,0 +1,6 @@
1
+ import { VariantProps } from '../../libs';
2
+ import { getCodeClasses } from './constants';
3
+ export type CodeProps = React.HTMLAttributes<HTMLElement> & VariantProps<typeof getCodeClasses> & {
4
+ skip?: boolean;
5
+ prefix?: "numeric" | "uppercase" | "lowercase" | "none";
6
+ };
@@ -1,2 +1,2 @@
1
1
  import { ComboboxProps, Item } from './types';
2
- export declare const Combobox: <T extends Item>({ label, items, classes, emptyText, placeholder, getItemValue, getItemLabel, }: ComboboxProps<T>) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Combobox: <T extends Item>({ label, items, classes, emptyText, placeholder, getItemValue, getItemLabel, onSelectItem, }: ComboboxProps<T>) => import("react/jsx-runtime").JSX.Element;
@@ -6,6 +6,7 @@ export type ComboboxProps<T extends Item> = {
6
6
  emptyText?: string;
7
7
  getItemValue?: (item: T) => string;
8
8
  getItemLabel?: (item: T) => string;
9
+ onSelectItem?: (item: T) => void;
9
10
  classes?: Partial<{
10
11
  root: string;
11
12
  trigger: string;
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ export declare const Container: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
3
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
4
+ center?: boolean | undefined;
5
+ padding?: boolean | undefined;
6
+ } & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,5 @@
1
+ export declare const getContainerClasses: (props?: ({
2
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
3
+ center?: boolean | null | undefined;
4
+ padding?: boolean | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -0,0 +1,2 @@
1
+ export { Container } from './Container';
2
+ export type { ContainerProps } from './types';
@@ -0,0 +1,3 @@
1
+ import { VariantProps } from '../../libs';
2
+ import { getContainerClasses } from './constants';
3
+ export type ContainerProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof getContainerClasses>;
@@ -27,9 +27,9 @@ export declare const DatetimeGrid: import('react').ForwardRefExoticComponent<{
27
27
  }, "getRootProps" | "getInputProps">;
28
28
  placeholders: import('./types').InputPlaceholders;
29
29
  } & {
30
- variant?: "accent" | "default" | "error" | "info" | "primary" | "secondary" | "success" | "warning" | "ghost" | undefined;
31
- size?: "xs" | "sm" | "md" | "lg" | undefined;
30
+ variant?: "accent" | "default" | "error" | "ghost" | "info" | "primary" | "secondary" | "success" | "warning" | undefined;
32
31
  outline?: boolean | undefined;
32
+ size?: "xs" | "sm" | "md" | "lg" | undefined;
33
33
  wide?: boolean | undefined;
34
34
  disabled?: boolean | undefined;
35
35
  } & import('react').RefAttributes<HTMLDivElement>>;
@@ -5,9 +5,9 @@ export declare const DatetimePicker: import('react').ForwardRefExoticComponent<O
5
5
  onChange?: import('timescape/react').Options["onChangeDate"];
6
6
  className?: string;
7
7
  } & {
8
- variant?: "accent" | "default" | "error" | "info" | "primary" | "secondary" | "success" | "warning" | "ghost" | undefined;
9
- size?: "xs" | "sm" | "md" | "lg" | undefined;
8
+ variant?: "accent" | "default" | "error" | "ghost" | "info" | "primary" | "secondary" | "success" | "warning" | undefined;
10
9
  outline?: boolean | undefined;
10
+ size?: "xs" | "sm" | "md" | "lg" | undefined;
11
11
  wide?: boolean | undefined;
12
12
  disabled?: boolean | undefined;
13
13
  } & import('react').RefAttributes<HTMLDivElement>>;
@@ -2,7 +2,7 @@ import { DateFormat, DatetimeFormatDefaults, InputPlaceholders, TimeFormat } fro
2
2
  export declare const DEFAULTS: DatetimeFormatDefaults;
3
3
  export declare const INPUT_PLACEHOLDERS: InputPlaceholders;
4
4
  export declare const getDatetimeGridClasses: (props?: ({
5
- variant?: "accent" | "default" | "error" | "info" | "primary" | "secondary" | "success" | "warning" | "ghost" | null | undefined;
5
+ variant?: "accent" | "default" | "error" | "ghost" | "info" | "primary" | "secondary" | "success" | "warning" | null | undefined;
6
6
  outline?: boolean | null | undefined;
7
7
  disabled?: boolean | null | undefined;
8
8
  wide?: boolean | null | undefined;
@@ -13,7 +13,7 @@ declare const Dialog: {
13
13
  Title: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & {} & React.RefAttributes<HTMLHeadingElement>>;
14
14
  Description: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & {} & React.RefAttributes<HTMLParagraphElement>>;
15
15
  Content: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
16
- variant?: "dialog" | "sheet" | undefined;
16
+ type?: "dialog" | "sheet" | undefined;
17
17
  side?: "top" | "right" | "bottom" | "left" | undefined;
18
18
  } & {
19
19
  showClose?: boolean;
@@ -1,6 +1,6 @@
1
1
  export declare const getDialogOverlayClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
2
2
  export declare const getDialogContentClasses: (props?: ({
3
- variant?: "dialog" | "sheet" | null | undefined;
3
+ type?: "dialog" | "sheet" | null | undefined;
4
4
  side?: "top" | "right" | "bottom" | "left" | null | undefined;
5
5
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
6
  export declare const getDialogHeaderClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
@@ -1,7 +1,7 @@
1
1
  export declare const getDockClasses: (props?: ({
2
- size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
3
- variant?: "accent" | "default" | "error" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | "ghost" | null | undefined;
2
+ variant?: "accent" | "default" | "error" | "ghost" | "info" | "neutral" | "primary" | "secondary" | "success" | "warning" | null | undefined;
4
3
  outline?: boolean | null | undefined;
4
+ size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
5
5
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
6
  export declare const getDockButtonClasses: (props?: ({
7
7
  active?: boolean | null | undefined;
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ export declare const Empty: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
3
+ size?: "sm" | "md" | "lg" | "xl" | undefined;
4
+ } & React.RefAttributes<HTMLDivElement>>;
5
+ export declare const EmptyImage: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
6
+ export declare const EmptyTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
7
+ export declare const EmptyDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
8
+ export declare const EmptyActions: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,6 @@
1
+ export declare const getEmptyClasses: (props?: ({
2
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
3
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
4
+ export declare const getEmptyImageClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
5
+ export declare const getEmptyTitleClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
6
+ export declare const getEmptyDescriptionClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
@@ -0,0 +1,2 @@
1
+ export { Empty, EmptyImage, EmptyTitle, EmptyDescription, EmptyActions } from './Empty';
2
+ export type { EmptyProps } from './types';
@@ -0,0 +1,3 @@
1
+ import { VariantProps } from '../../libs';
2
+ import { getEmptyClasses } from './constants';
3
+ export type EmptyProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof getEmptyClasses>;
@@ -0,0 +1,8 @@
1
+ import { default as React } from 'react';
2
+ export declare const Flex: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
3
+ direction?: "row" | "col" | "row-reverse" | "col-reverse" | undefined;
4
+ align?: "end" | "center" | "start" | "stretch" | "baseline" | undefined;
5
+ justify?: "end" | "center" | "start" | "between" | "around" | "evenly" | undefined;
6
+ wrap?: "wrap" | "wrap-reverse" | "nowrap" | undefined;
7
+ gap?: 0 | 1 | 4 | 3 | 8 | 2 | 5 | 6 | 10 | 12 | 16 | undefined;
8
+ } & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,7 @@
1
+ export declare const getFlexClasses: (props?: ({
2
+ direction?: "row" | "col" | "row-reverse" | "col-reverse" | null | undefined;
3
+ align?: "end" | "center" | "start" | "stretch" | "baseline" | null | undefined;
4
+ justify?: "end" | "center" | "start" | "between" | "around" | "evenly" | null | undefined;
5
+ wrap?: "wrap" | "wrap-reverse" | "nowrap" | null | undefined;
6
+ gap?: 0 | 1 | 4 | 3 | 8 | 2 | 5 | 6 | 10 | 12 | 16 | null | undefined;
7
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -0,0 +1,2 @@
1
+ export { Flex } from './Flex';
2
+ export type { FlexProps } from './types';
@@ -0,0 +1,3 @@
1
+ import { VariantProps } from '../../libs';
2
+ import { getFlexClasses } from './constants';
3
+ export type FlexProps = React.HTMLAttributes<HTMLDivElement> & VariantProps<typeof getFlexClasses>;
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ import { FooterTitleProps } from './types';
3
+ export declare const Footer: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
4
+ center?: boolean | undefined;
5
+ } & React.RefAttributes<HTMLElement>>;
6
+ export declare const FooterTitle: React.ForwardRefExoticComponent<FooterTitleProps & React.RefAttributes<HTMLSpanElement>>;
@@ -0,0 +1,4 @@
1
+ export declare const getFooterClasses: (props?: ({
2
+ center?: boolean | null | undefined;
3
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
4
+ export declare const getFooterTitleClasses: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
@@ -0,0 +1,2 @@
1
+ export { Footer, FooterTitle } from './Footer';
2
+ export type { FooterProps, FooterTitleProps } from './types';
@@ -0,0 +1,4 @@
1
+ import { VariantProps } from '../../libs';
2
+ import { getFooterClasses } from './constants';
3
+ export type FooterProps = React.HTMLAttributes<HTMLElement> & VariantProps<typeof getFooterClasses>;
4
+ export type FooterTitleProps = React.HTMLAttributes<HTMLSpanElement>;
@@ -3,9 +3,9 @@ export declare const DatetimeInput: import('react').ForwardRefExoticComponent<{
3
3
  } & {
4
4
  locale?: Intl.LocalesArgument;
5
5
  } & Omit<import('../Input/types').InputProps, "type" | "defaultValue" | "onBlur" | "ref" | "disabled" | "value"> & {
6
- variant?: "accent" | "default" | "error" | "info" | "primary" | "secondary" | "success" | "warning" | "ghost" | undefined;
7
- size?: "xs" | "sm" | "md" | "lg" | undefined;
6
+ variant?: "accent" | "default" | "error" | "ghost" | "info" | "primary" | "secondary" | "success" | "warning" | undefined;
8
7
  outline?: boolean | undefined;
8
+ size?: "xs" | "sm" | "md" | "lg" | undefined;
9
9
  wide?: boolean | undefined;
10
10
  disabled?: boolean | undefined;
11
11
  readOnly?: boolean | undefined;
@@ -62,7 +62,7 @@ export declare const DatetimeInput: import('react').ForwardRefExoticComponent<{
62
62
  modifiers?: Record<string, import('react-day-picker').Matcher | import('react-day-picker').Matcher[] | undefined> | undefined;
63
63
  labels?: Partial<import('react-day-picker').Labels> | undefined;
64
64
  formatters?: Partial<import('react-day-picker').Formatters> | undefined;
65
- locale?: Partial<import('date-fns').Locale> | undefined;
65
+ locale?: Partial<import('react-day-picker').DayPickerLocale> | undefined;
66
66
  numerals?: import('react-day-picker').Numerals | undefined;
67
67
  weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | undefined | undefined;
68
68
  firstWeekContainsDate?: 1 | 4 | undefined;
@@ -1,9 +1,9 @@
1
1
  import { default as React } from 'react';
2
- export declare const Input: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "ref" | "size"> & Omit<{
3
- variant?: "accent" | "default" | "error" | "info" | "primary" | "secondary" | "success" | "warning" | "ghost" | undefined;
4
- type?: string | number | undefined;
5
- size?: "xs" | "sm" | "md" | "lg" | undefined;
2
+ export declare const Input: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "ref"> & Omit<{
3
+ variant?: "accent" | "default" | "error" | "ghost" | "info" | "primary" | "secondary" | "success" | "warning" | undefined;
6
4
  outline?: boolean | undefined;
5
+ size?: "xs" | "sm" | "md" | "lg" | undefined;
6
+ type?: string | number | undefined;
7
7
  wide?: boolean | undefined;
8
8
  readOnly?: boolean | undefined;
9
9
  }, "type"> & {