@fabio.caffarello/react-design-system 1.24.0 → 2.0.1

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 (149) hide show
  1. package/README.md +2 -12
  2. package/dist/index.cjs +204 -375
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.js +7400 -6914
  5. package/dist/index.js.map +1 -1
  6. package/dist/react-design-system.css +1 -1
  7. package/dist/styles/index.cjs +1 -1
  8. package/dist/styles/index.js +1 -1
  9. package/dist/ui/components/Accordion/Accordion.d.ts +1 -1
  10. package/dist/ui/components/Autocomplete/Autocomplete.d.ts +0 -1
  11. package/dist/ui/components/Autocomplete/AutocompleteList.d.ts +1 -1
  12. package/dist/ui/components/Autocomplete/index.d.ts +1 -1
  13. package/dist/ui/components/Breadcrumb/Breadcrumb.d.ts +1 -1
  14. package/dist/ui/components/ButtonGroup/ButtonGroup.d.ts +1 -1
  15. package/dist/ui/components/Card/Card.d.ts +1 -1
  16. package/dist/ui/components/ColorPicker/ColorPicker.d.ts +1 -1
  17. package/dist/ui/components/CommandPalette/CommandPalette.d.ts +1 -1
  18. package/dist/ui/components/DashboardLayout/DashboardLayout.d.ts +1 -1
  19. package/dist/ui/components/DataGrid/DataGrid.d.ts +27 -4
  20. package/dist/ui/components/DataTablePattern/DataTablePattern.d.ts +1 -1
  21. package/dist/ui/components/DatePicker/DatePicker.d.ts +4 -4
  22. package/dist/ui/components/DatePicker/DatePickerCalendar.d.ts +1 -1
  23. package/dist/ui/components/DatePicker/DatePickerInput.d.ts +1 -1
  24. package/dist/ui/components/DatePicker/DatePickerProvider.d.ts +1 -1
  25. package/dist/ui/components/Dialog/AlertDialog.d.ts +1 -1
  26. package/dist/ui/components/Dialog/Dialog.d.ts +1 -1
  27. package/dist/ui/components/Dialog/DialogClose.d.ts +6 -2
  28. package/dist/ui/components/Dialog/DialogContent.d.ts +1 -1
  29. package/dist/ui/components/Dialog/DialogDescription.d.ts +1 -1
  30. package/dist/ui/components/Dialog/DialogFooter.d.ts +1 -1
  31. package/dist/ui/components/Dialog/DialogHeader.d.ts +1 -1
  32. package/dist/ui/components/Dialog/DialogTitle.d.ts +1 -1
  33. package/dist/ui/components/Dialog/DialogTrigger.d.ts +6 -2
  34. package/dist/ui/components/Drawer/Drawer.d.ts +1 -1
  35. package/dist/ui/components/Drawer/DrawerContext.d.ts +1 -1
  36. package/dist/ui/components/Drawer/DrawerFooter.d.ts +1 -1
  37. package/dist/ui/components/Drawer/DrawerHeader.d.ts +1 -1
  38. package/dist/ui/components/Dropdown/Dropdown.d.ts +2 -1
  39. package/dist/ui/components/EmptyState/EmptyState.d.ts +1 -1
  40. package/dist/ui/components/FileUpload/FileUpload.d.ts +1 -1
  41. package/dist/ui/components/Form/Form.d.ts +1 -1
  42. package/dist/ui/components/Form/FormContext.d.ts +15 -4
  43. package/dist/ui/components/Form/FormField.d.ts +3 -3
  44. package/dist/ui/components/Form/FormProvider.d.ts +1 -1
  45. package/dist/ui/components/Form/useFormFieldArray.d.ts +2 -2
  46. package/dist/ui/components/FormWizardPattern/FormWizardPattern.d.ts +1 -1
  47. package/dist/ui/components/Header/Header.d.ts +1 -1
  48. package/dist/ui/components/Header/components/HeaderActions.d.ts +1 -1
  49. package/dist/ui/components/Header/components/HeaderHamburger.d.ts +2 -2
  50. package/dist/ui/components/Header/components/HeaderLogo.d.ts +1 -1
  51. package/dist/ui/components/Header/components/HeaderMobileMenu.d.ts +1 -1
  52. package/dist/ui/components/Header/components/HeaderNavigation.d.ts +1 -1
  53. package/dist/ui/components/Header/contexts/HeaderContext.d.ts +1 -1
  54. package/dist/ui/components/LoginBox/LoginBox.d.ts +1 -1
  55. package/dist/ui/components/Menu/Menu.d.ts +1 -1
  56. package/dist/ui/components/Menu/MenuContext.d.ts +1 -1
  57. package/dist/ui/components/Menu/MenuSeparator.d.ts +1 -1
  58. package/dist/ui/components/Modal/Modal.d.ts +1 -1
  59. package/dist/ui/components/Navigation/Navigation.d.ts +1 -1
  60. package/dist/ui/components/PageHeader/PageHeader.d.ts +1 -1
  61. package/dist/ui/components/Pagination/Pagination.d.ts +1 -1
  62. package/dist/ui/components/Popover/Popover.d.ts +1 -1
  63. package/dist/ui/components/Rating/Rating.d.ts +1 -1
  64. package/dist/ui/components/SearchAndFilterPattern/SearchAndFilterPattern.d.ts +1 -1
  65. package/dist/ui/components/SearchInput/SearchInput.d.ts +1 -1
  66. package/dist/ui/components/SideNavbar/SideNavbar.d.ts +1 -1
  67. package/dist/ui/components/SideNavbar/components/Navbar/Navbar.d.ts +2 -1
  68. package/dist/ui/components/SideNavbar/components/Navbar/NavbarGroup.d.ts +1 -1
  69. package/dist/ui/components/SideNavbar/components/Navbar/NavbarItem.d.ts +2 -1
  70. package/dist/ui/components/SideNavbar/components/Navbar/NavbarSeparator.d.ts +1 -1
  71. package/dist/ui/components/SideNavbar/components/Navbar/NavbarToggle.d.ts +1 -1
  72. package/dist/ui/components/SideNavbar/components/SideNavbarBackdrop.d.ts +1 -1
  73. package/dist/ui/components/SideNavbar/components/SideNavbarGroup.d.ts +1 -1
  74. package/dist/ui/components/SideNavbar/components/SideNavbarResizeHandle.d.ts +1 -1
  75. package/dist/ui/components/SideNavbar/components/SideNavbarRoot.d.ts +2 -1
  76. package/dist/ui/components/SideNavbar/components/SideNavbarToggle.d.ts +1 -1
  77. package/dist/ui/components/SideNavbar/components/Sidebar/Sidebar.d.ts +1 -1
  78. package/dist/ui/components/SideNavbar/components/Sidebar/SidebarContent.d.ts +2 -1
  79. package/dist/ui/components/SideNavbar/components/Sidebar/SidebarFooter.d.ts +1 -1
  80. package/dist/ui/components/SideNavbar/components/Sidebar/SidebarGroup.d.ts +1 -1
  81. package/dist/ui/components/SideNavbar/components/Sidebar/SidebarHeader.d.ts +1 -1
  82. package/dist/ui/components/SideNavbar/components/Sidebar/SidebarSlot.d.ts +1 -1
  83. package/dist/ui/components/SideNavbar/components/Sidebar/SidebarSlotContent.d.ts +1 -1
  84. package/dist/ui/components/SideNavbar/hooks/useSideNavbar.d.ts +3 -3
  85. package/dist/ui/components/SideNavbar/providers/SideNavbarConfigProvider.d.ts +1 -1
  86. package/dist/ui/components/SideNavbar/providers/SideNavbarProvider.d.ts +1 -1
  87. package/dist/ui/components/SideNavbar/providers/SideNavbarStateProvider.d.ts +1 -1
  88. package/dist/ui/components/SideNavbar/providers/SideNavbarThemeProvider.d.ts +1 -1
  89. package/dist/ui/components/SideNavbar/providers/SidebarSlotProvider.d.ts +1 -1
  90. package/dist/ui/components/SideNavbar/types/index.d.ts +31 -3
  91. package/dist/ui/components/Stepper/Stepper.d.ts +1 -1
  92. package/dist/ui/components/Table/Table.d.ts +1 -1
  93. package/dist/ui/components/Table/TableActions/TableActions.d.ts +1 -1
  94. package/dist/ui/components/Table/TableActions.d.ts +1 -1
  95. package/dist/ui/components/Table/TableBody.d.ts +2 -2
  96. package/dist/ui/components/Table/TableCell.d.ts +1 -1
  97. package/dist/ui/components/Table/TableContext.d.ts +20 -2
  98. package/dist/ui/components/Table/TableEmptyState.d.ts +1 -1
  99. package/dist/ui/components/Table/TableFilters/TableFilters.d.ts +1 -1
  100. package/dist/ui/components/Table/TableFilters.d.ts +1 -1
  101. package/dist/ui/components/Table/TableHeader.d.ts +1 -1
  102. package/dist/ui/components/Table/TableHeaderCell.d.ts +1 -1
  103. package/dist/ui/components/Table/TableHeaderRow.d.ts +1 -1
  104. package/dist/ui/components/Table/TablePagination/TablePagination.d.ts +1 -1
  105. package/dist/ui/components/Table/TablePagination.d.ts +1 -1
  106. package/dist/ui/components/Table/TableProvider.d.ts +1 -1
  107. package/dist/ui/components/Table/TableRow.d.ts +1 -1
  108. package/dist/ui/components/Tabs/TabsContent.d.ts +1 -1
  109. package/dist/ui/components/Tabs/TabsList.d.ts +12 -3
  110. package/dist/ui/components/Tabs/TabsProvider.d.ts +1 -1
  111. package/dist/ui/components/Tabs/TabsTrigger.d.ts +1 -1
  112. package/dist/ui/components/TimePicker/TimePicker.d.ts +1 -1
  113. package/dist/ui/components/Timeline/Timeline.d.ts +1 -1
  114. package/dist/ui/components/Toast/Toast.d.ts +1 -1
  115. package/dist/ui/components/Toast/ToastContainer.d.ts +1 -1
  116. package/dist/ui/components/index.d.ts +1 -1
  117. package/dist/ui/hooks/createGenericContext.d.ts +85 -0
  118. package/dist/ui/hooks/focusable.d.ts +33 -0
  119. package/dist/ui/hooks/useAutoFocus.d.ts +37 -0
  120. package/dist/ui/hooks/useFocusRestore.d.ts +28 -0
  121. package/dist/ui/hooks/useFocusTrap.d.ts +33 -0
  122. package/dist/ui/primitives/Avatar/AvatarGroup.d.ts +1 -1
  123. package/dist/ui/primitives/Checkbox/Checkbox.d.ts +9 -0
  124. package/dist/ui/primitives/Collapsible/Collapsible.d.ts +8 -2
  125. package/dist/ui/primitives/ErrorMessage/ErrorMessage.d.ts +1 -1
  126. package/dist/ui/primitives/Info/Info.d.ts +1 -1
  127. package/dist/ui/primitives/NavLink/NavLink.d.ts +12 -1
  128. package/dist/ui/primitives/Radio/Radio.d.ts +9 -0
  129. package/dist/ui/primitives/Separator/Separator.d.ts +1 -1
  130. package/dist/ui/primitives/Skeleton/Skeleton.d.ts +1 -1
  131. package/dist/ui/primitives/Spinner/Spinner.d.ts +1 -1
  132. package/dist/ui/primitives/Switch/Switch.d.ts +16 -2
  133. package/dist/ui/primitives/Text/Text.d.ts +0 -1
  134. package/dist/ui/primitives/Textarea/Textarea.d.ts +18 -0
  135. package/dist/ui/primitives/Tooltip/Tooltip.d.ts +2 -1
  136. package/dist/ui/providers/AppProvider.d.ts +1 -1
  137. package/dist/ui/providers/ConfigProvider.d.ts +1 -1
  138. package/dist/ui/providers/DialogProvider.d.ts +1 -1
  139. package/dist/ui/providers/ThemeProvider.d.ts +1 -1
  140. package/dist/ui/providers/ToastProvider.d.ts +1 -1
  141. package/dist/ui/tokens/TokenVisualizations.d.ts +8 -8
  142. package/dist/ui/tokens/spacing.d.ts +1 -1
  143. package/dist/ui/utils/index.d.ts +1 -0
  144. package/dist/ui/utils/mergeRefs.d.ts +16 -0
  145. package/package.json +58 -36
  146. package/dist/ui/components/Dialog/DialogContext.d.ts +0 -10
  147. package/dist/ui/components/Dialog/DialogProvider.d.ts +0 -10
  148. package/dist/ui/components/Toast/ToastContext.d.ts +0 -21
  149. package/dist/ui/components/Toast/ToastProvider.d.ts +0 -7
@@ -53,7 +53,7 @@ export interface DatePickerProps {
53
53
  * </DatePicker>
54
54
  * ```
55
55
  */
56
- declare function DatePickerComponent({ children, mode, value, defaultValue, onValueChange, minDate, maxDate, disabledDates, placeholder, format, showCalendarButton, "aria-label": ariaLabel, className, }: DatePickerProps): import("react/jsx-runtime").JSX.Element;
56
+ declare function DatePickerComponent({ children, mode, value, defaultValue, onValueChange, minDate, maxDate, disabledDates, placeholder, format, showCalendarButton, "aria-label": ariaLabel, className, }: DatePickerProps): React.JSX.Element;
57
57
  declare namespace DatePickerComponent {
58
58
  var Input: typeof DatePickerInput;
59
59
  var Calendar: typeof DatePickerCalendar;
@@ -61,9 +61,9 @@ declare namespace DatePickerComponent {
61
61
  }
62
62
  declare function DatePickerPopup({ children, containerRef, popupRef: externalPopupRef, }: {
63
63
  children: ReactNode;
64
- containerRef?: RefObject<HTMLDivElement>;
65
- popupRef?: RefObject<HTMLDivElement>;
66
- }): import("react/jsx-runtime").JSX.Element | null;
64
+ containerRef?: RefObject<HTMLDivElement | null>;
65
+ popupRef?: RefObject<HTMLDivElement | null>;
66
+ }): React.JSX.Element | null;
67
67
  export interface DatePickerComponentType extends React.FC<DatePickerProps> {
68
68
  Input: typeof DatePickerInput;
69
69
  Calendar: typeof DatePickerCalendar;
@@ -3,4 +3,4 @@ export interface DatePickerCalendarProps extends HTMLAttributes<HTMLDivElement>
3
3
  month?: Date;
4
4
  onMonthChange?: (month: Date) => void;
5
5
  }
6
- export declare function DatePickerCalendar({ month: controlledMonth, onMonthChange, className, ...props }: DatePickerCalendarProps): import("react/jsx-runtime").JSX.Element;
6
+ export declare function DatePickerCalendar({ month: controlledMonth, onMonthChange, className, ...props }: DatePickerCalendarProps): import("react").JSX.Element;
@@ -6,4 +6,4 @@ export interface DatePickerInputProps extends Omit<HTMLAttributes<HTMLDivElement
6
6
  "aria-label"?: string;
7
7
  onFocus?: () => void;
8
8
  }
9
- export declare function DatePickerInput({ placeholder, format, showCalendarButton, "aria-label": ariaLabel, onFocus, className, ...props }: DatePickerInputProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function DatePickerInput({ placeholder, format, showCalendarButton, "aria-label": ariaLabel, onFocus, className, ...props }: DatePickerInputProps): import("react").JSX.Element;
@@ -20,4 +20,4 @@ export interface DatePickerProviderProps {
20
20
  disabledDates?: Date[];
21
21
  locale?: Locale;
22
22
  }
23
- export declare function DatePickerProvider({ children, mode, value: controlledValue, defaultValue, onValueChange, minDate, maxDate, disabledDates, locale, }: DatePickerProviderProps): import("react/jsx-runtime").JSX.Element;
23
+ export declare function DatePickerProvider({ children, mode, value: controlledValue, defaultValue, onValueChange, minDate, maxDate, disabledDates, locale, }: DatePickerProviderProps): import("react").JSX.Element;
@@ -30,5 +30,5 @@ export interface AlertDialogProps {
30
30
  * />
31
31
  * ```
32
32
  */
33
- export declare function AlertDialog({ open, defaultOpen, onOpenChange, title, description, confirmLabel, cancelLabel, variant, onConfirm, onCancel, children, }: AlertDialogProps): import("react/jsx-runtime").JSX.Element;
33
+ export declare function AlertDialog({ open, defaultOpen, onOpenChange, title, description, confirmLabel, cancelLabel, variant, onConfirm, onCancel, children, }: AlertDialogProps): import("react").JSX.Element;
34
34
  export default AlertDialog;
@@ -45,7 +45,7 @@ export interface DialogProps {
45
45
  * </Dialog>
46
46
  * ```
47
47
  */
48
- declare function Dialog({ children, open, defaultOpen, onOpenChange }: DialogProps): import("react/jsx-runtime").JSX.Element;
48
+ declare function Dialog({ children, open, defaultOpen, onOpenChange }: DialogProps): import("react").JSX.Element;
49
49
  declare namespace Dialog {
50
50
  var Trigger: typeof DialogTrigger;
51
51
  var Content: typeof DialogContent;
@@ -1,8 +1,12 @@
1
1
  import { type ReactElement } from "react";
2
+ type CloseChildProps = {
3
+ onClick?: (e: React.MouseEvent) => void;
4
+ };
2
5
  export interface DialogCloseProps {
3
6
  "aria-label"?: string;
4
7
  className?: string;
5
8
  asChild?: boolean;
6
- children?: ReactElement;
9
+ children?: ReactElement<CloseChildProps>;
7
10
  }
8
- export declare function DialogClose({ "aria-label": ariaLabel, className, asChild, children, }: DialogCloseProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare function DialogClose({ "aria-label": ariaLabel, className, asChild, children, }: DialogCloseProps): import("react").JSX.Element;
12
+ export {};
@@ -5,4 +5,4 @@ export interface DialogContentProps extends Omit<HTMLAttributes<HTMLDivElement>,
5
5
  closeOnOverlayClick?: boolean;
6
6
  closeOnEscape?: boolean;
7
7
  }
8
- export declare function DialogContent({ children, size, closeOnOverlayClick, closeOnEscape, className, ...props }: DialogContentProps): import("react/jsx-runtime").JSX.Element | null;
8
+ export declare function DialogContent({ children, size, closeOnOverlayClick, closeOnEscape, className, ...props }: DialogContentProps): import("react").JSX.Element | null;
@@ -1,3 +1,3 @@
1
1
  import { type HTMLAttributes } from "react";
2
2
  export type DialogDescriptionProps = HTMLAttributes<HTMLParagraphElement>;
3
- export declare function DialogDescription({ children, className, id, ...props }: DialogDescriptionProps): import("react/jsx-runtime").JSX.Element;
3
+ export declare function DialogDescription({ children, className, id, ...props }: DialogDescriptionProps): import("react").JSX.Element;
@@ -2,4 +2,4 @@ import { type HTMLAttributes, type ReactNode } from "react";
2
2
  export interface DialogFooterProps extends HTMLAttributes<HTMLDivElement> {
3
3
  children: ReactNode;
4
4
  }
5
- export declare function DialogFooter({ children, className, ...props }: DialogFooterProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function DialogFooter({ children, className, ...props }: DialogFooterProps): import("react").JSX.Element;
@@ -2,4 +2,4 @@ import { type HTMLAttributes, type ReactNode } from "react";
2
2
  export interface DialogHeaderProps extends HTMLAttributes<HTMLDivElement> {
3
3
  children: ReactNode;
4
4
  }
5
- export declare function DialogHeader({ children, className, ...props }: DialogHeaderProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function DialogHeader({ children, className, ...props }: DialogHeaderProps): import("react").JSX.Element;
@@ -2,4 +2,4 @@ import { type HTMLAttributes } from "react";
2
2
  export interface DialogTitleProps extends HTMLAttributes<HTMLHeadingElement> {
3
3
  as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
4
4
  }
5
- export declare function DialogTitle({ as: Component, children, className, id, ...props }: DialogTitleProps): import("react/jsx-runtime").JSX.Element;
5
+ export declare function DialogTitle({ as: Component, children, className, id, ...props }: DialogTitleProps): import("react").JSX.Element;
@@ -1,6 +1,10 @@
1
1
  import { type ReactElement } from "react";
2
+ type TriggerChildProps = {
3
+ onClick?: (e: React.MouseEvent) => void;
4
+ };
2
5
  export interface DialogTriggerProps {
3
- children: ReactElement;
6
+ children: ReactElement<TriggerChildProps>;
4
7
  asChild?: boolean;
5
8
  }
6
- export declare function DialogTrigger({ children, asChild, }: DialogTriggerProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function DialogTrigger({ children, asChild, }: DialogTriggerProps): import("react").JSX.Element;
10
+ export {};
@@ -35,7 +35,7 @@ export interface DrawerProps {
35
35
  * </Drawer>
36
36
  * ```
37
37
  */
38
- declare function Drawer({ children, open: controlledOpen, defaultOpen, onOpenChange, position, size, closeOnOverlayClick, closeOnEscape, }: DrawerProps): import("react/jsx-runtime").JSX.Element;
38
+ declare function Drawer({ children, open: controlledOpen, defaultOpen, onOpenChange, position, size, closeOnOverlayClick, closeOnEscape, }: DrawerProps): import("react").JSX.Element;
39
39
  declare namespace Drawer {
40
40
  var Content: typeof DrawerContent;
41
41
  var Header: typeof DrawerHeader;
@@ -11,5 +11,5 @@ export interface DrawerContextValue {
11
11
  export declare function DrawerProvider({ children, value, }: {
12
12
  children: ReactNode;
13
13
  value: DrawerContextValue;
14
- }): import("react/jsx-runtime").JSX.Element;
14
+ }): import("react").JSX.Element;
15
15
  export declare function useDrawerContext(): DrawerContextValue;
@@ -15,4 +15,4 @@ export interface DrawerFooterProps extends HTMLAttributes<HTMLDivElement> {
15
15
  * </DrawerFooter>
16
16
  * ```
17
17
  */
18
- export default function DrawerFooter({ children, className, ...props }: DrawerFooterProps): import("react/jsx-runtime").JSX.Element;
18
+ export default function DrawerFooter({ children, className, ...props }: DrawerFooterProps): import("react").JSX.Element;
@@ -14,4 +14,4 @@ export interface DrawerHeaderProps extends HTMLAttributes<HTMLDivElement> {
14
14
  * </DrawerHeader>
15
15
  * ```
16
16
  */
17
- export default function DrawerHeader({ children, className, ...props }: DrawerHeaderProps): import("react/jsx-runtime").JSX.Element;
17
+ export default function DrawerHeader({ children, className, ...props }: DrawerHeaderProps): import("react").JSX.Element;
@@ -1,4 +1,5 @@
1
1
  import type { HTMLAttributes, ReactNode } from "react";
2
+ import React from "react";
2
3
  export interface DropdownItem {
3
4
  label: string;
4
5
  onClick: () => void;
@@ -29,4 +30,4 @@ export interface DropdownProps extends HTMLAttributes<HTMLDivElement> {
29
30
  * />
30
31
  * ```
31
32
  */
32
- export default function Dropdown({ trigger, items, align, variant: _variant, className, "aria-label": ariaLabel, ...props }: DropdownProps): import("react/jsx-runtime").JSX.Element;
33
+ export default function Dropdown({ trigger, items, align, variant: _variant, className, "aria-label": ariaLabel, ...props }: DropdownProps): React.JSX.Element;
@@ -23,4 +23,4 @@ export interface EmptyStateProps extends HTMLAttributes<HTMLDivElement> {
23
23
  * />
24
24
  * ```
25
25
  */
26
- export default function EmptyState({ title, message, actionLabel, onAction, illustration, variant, className, ...props }: EmptyStateProps): import("react/jsx-runtime").JSX.Element;
26
+ export default function EmptyState({ title, message, actionLabel, onAction, illustration, variant, className, ...props }: EmptyStateProps): import("react").JSX.Element;
@@ -34,4 +34,4 @@ export interface FileUploadProps {
34
34
  * />
35
35
  * ```
36
36
  */
37
- export default function FileUpload({ accept, multiple, maxSize, maxFiles, onFilesChange, onFileRemove, showPreview, showProgress, disabled, className, label, description, }: FileUploadProps): import("react/jsx-runtime").JSX.Element;
37
+ export default function FileUpload({ accept, multiple, maxSize, maxFiles, onFilesChange, onFileRemove, showPreview, showProgress, disabled, className, label, description, }: FileUploadProps): import("react").JSX.Element;
@@ -45,5 +45,5 @@ type FormProps<TFieldValues extends FieldValues = FieldValues> = SimpleFormProps
45
45
  * </Form>
46
46
  * ```
47
47
  */
48
- export default function Form<TFieldValues extends FieldValues = FieldValues>({ children, onSubmit, loading, error, success, className, ...props }: FormProps<TFieldValues>): import("react/jsx-runtime").JSX.Element;
48
+ export default function Form<TFieldValues extends FieldValues = FieldValues>({ children, onSubmit, loading, error, success, className, ...props }: FormProps<TFieldValues>): import("react").JSX.Element;
49
49
  export {};
@@ -3,15 +3,26 @@ export interface FormContextValue<TFieldValues extends FieldValues = FieldValues
3
3
  form?: UseFormReturn<TFieldValues>;
4
4
  loading?: boolean;
5
5
  }
6
- declare const FormContext: import("react").Context<FormContextValue<FieldValues> | undefined>;
7
6
  /**
8
- * Hook to access Form context
7
+ * Raw React Context object. Exposed so `useContextSelector(FormContext, …)`
8
+ * keeps working. Prefer the typed hooks below for direct reads.
9
+ */
10
+ export declare const FormContext: import("react").Context<FormContextValue<FieldValues> | undefined>;
11
+ /**
12
+ * Internal Provider — consumed by `FormProvider.tsx` only. Not re-exported
13
+ * from `Form/index.ts`; keeps the public surface unchanged.
14
+ */
15
+ export declare const FormContextProvider: <TSpecific = FormContextValue<FieldValues>>(props: {
16
+ value: TSpecific;
17
+ children: import("react").ReactNode;
18
+ }) => import("react").JSX.Element;
19
+ /**
20
+ * Hook to access Form context.
9
21
  *
10
22
  * @throws Error if used outside of Form component with react-hook-form
11
23
  */
12
24
  export declare function useFormContext<TFieldValues extends FieldValues = FieldValues>(): FormContextValue<TFieldValues>;
13
25
  /**
14
- * Hook to access Form context (optional, returns undefined if not in Form)
26
+ * Hook to access Form context (optional, returns undefined if not in Form).
15
27
  */
16
28
  export declare function useFormContextOptional<TFieldValues extends FieldValues = FieldValues>(): FormContextValue<TFieldValues> | undefined;
17
- export { FormContext };
@@ -9,8 +9,8 @@ export interface FormFieldProps<TFieldValues extends FieldValues = FieldValues>
9
9
  register: (fieldName: Path<TFieldValues>) => ReturnType<UseFormReturn<TFieldValues>["register"]>;
10
10
  error?: string;
11
11
  value?: unknown;
12
- onChange?: (e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>) => void;
13
- onBlur?: () => void;
12
+ onChange?: ReturnType<UseFormReturn<TFieldValues>["register"]>["onChange"];
13
+ onBlur?: ReturnType<UseFormReturn<TFieldValues>["register"]>["onBlur"];
14
14
  }) => ReactNode;
15
15
  rules?: RegisterOptions<TFieldValues>;
16
16
  className?: string;
@@ -34,4 +34,4 @@ export interface FormFieldProps<TFieldValues extends FieldValues = FieldValues>
34
34
  * </FormField>
35
35
  * ```
36
36
  */
37
- export declare function FormField<TFieldValues extends FieldValues = FieldValues>({ name, label, children, rules, className, }: FormFieldProps<TFieldValues>): import("react/jsx-runtime").JSX.Element;
37
+ export declare function FormField<TFieldValues extends FieldValues = FieldValues>({ name, label, children, rules, className, }: FormFieldProps<TFieldValues>): import("react").JSX.Element;
@@ -11,4 +11,4 @@ export interface FormProviderProps<TFieldValues extends FieldValues = FieldValue
11
11
  * Provides react-hook-form context to form children.
12
12
  * Used internally by Form component when react-hook-form is integrated.
13
13
  */
14
- export declare function FormProvider<TFieldValues extends FieldValues = FieldValues>({ form, loading, children, }: FormProviderProps<TFieldValues>): import("react/jsx-runtime").JSX.Element;
14
+ export declare function FormProvider<TFieldValues extends FieldValues = FieldValues>({ form, loading, children, }: FormProviderProps<TFieldValues>): import("react").JSX.Element;
@@ -1,4 +1,4 @@
1
- import type { FieldValues, Path, UseFieldArrayProps } from "react-hook-form";
1
+ import type { ArrayPath, FieldValues, UseFieldArrayProps } from "react-hook-form";
2
2
  /**
3
3
  * Hook for managing field arrays in forms
4
4
  *
@@ -25,4 +25,4 @@ import type { FieldValues, Path, UseFieldArrayProps } from "react-hook-form";
25
25
  * );
26
26
  * ```
27
27
  */
28
- export declare function useFormFieldArray<TFieldValues extends FieldValues = FieldValues, TFieldArrayName extends Path<TFieldValues> = Path<TFieldValues>>(props: Omit<UseFieldArrayProps<TFieldValues, TFieldArrayName>, "control">): import("react-hook-form").UseFieldArrayReturn<TFieldValues, TFieldArrayName, "id">;
28
+ export declare function useFormFieldArray<TFieldValues extends FieldValues = FieldValues, TFieldArrayName extends ArrayPath<TFieldValues> = ArrayPath<TFieldValues>>(props: Omit<UseFieldArrayProps<TFieldValues, TFieldArrayName>, "control">): import("react-hook-form").UseFieldArrayReturn<TFieldValues, TFieldArrayName, "id">;
@@ -48,4 +48,4 @@ export interface FormWizardPatternProps {
48
48
  * />
49
49
  * ```
50
50
  */
51
- export declare function FormWizardPattern({ steps, onComplete, allowBackNavigation, showStepNumbers: _showStepNumbers, }: FormWizardPatternProps): import("react/jsx-runtime").JSX.Element;
51
+ export declare function FormWizardPattern({ steps, onComplete, allowBackNavigation, showStepNumbers: _showStepNumbers, }: FormWizardPatternProps): React.JSX.Element;
@@ -33,7 +33,7 @@ import type { HeaderProps } from "./types";
33
33
  * </Header>
34
34
  * ```
35
35
  */
36
- export declare function Header({ children, variant, sticky, maxWidth, bare, className, ...props }: HeaderProps): import("react/jsx-runtime").JSX.Element;
36
+ export declare function Header({ children, variant, sticky, maxWidth, bare, className, ...props }: HeaderProps): import("react").JSX.Element;
37
37
  export declare namespace Header {
38
38
  var Logo: typeof HeaderLogo;
39
39
  var Navigation: typeof HeaderNavigation;
@@ -30,4 +30,4 @@ export interface HeaderActionsProps {
30
30
  * </Header.Actions>
31
31
  * ```
32
32
  */
33
- export declare function HeaderActions({ children, className }: HeaderActionsProps): import("react/jsx-runtime").JSX.Element;
33
+ export declare function HeaderActions({ children, className }: HeaderActionsProps): import("react").JSX.Element;
@@ -24,7 +24,7 @@ export interface HeaderHamburgerProps {
24
24
  * Button variant
25
25
  * @default 'ghost'
26
26
  */
27
- variant?: "ghost" | "outline" | "default";
27
+ variant?: "ghost" | "outline";
28
28
  /**
29
29
  * Button size
30
30
  * @default 'md'
@@ -45,4 +45,4 @@ export interface HeaderHamburgerProps {
45
45
  * </Header>
46
46
  * ```
47
47
  */
48
- export declare function HeaderHamburger({ className, icon, closeIcon, variant, size, }: HeaderHamburgerProps): import("react/jsx-runtime").JSX.Element;
48
+ export declare function HeaderHamburger({ className, icon, closeIcon, variant, size, }: HeaderHamburgerProps): React.JSX.Element;
@@ -31,4 +31,4 @@ export interface HeaderLogoProps extends Omit<NavLinkProps, "children"> {
31
31
  * </Header.Logo>
32
32
  * ```
33
33
  */
34
- export declare function HeaderLogo({ children, className, ...props }: HeaderLogoProps): import("react/jsx-runtime").JSX.Element;
34
+ export declare function HeaderLogo({ children, className, href, ...props }: HeaderLogoProps): import("react").JSX.Element;
@@ -33,4 +33,4 @@ export interface HeaderMobileMenuProps {
33
33
  * </Header>
34
34
  * ```
35
35
  */
36
- export declare function HeaderMobileMenu({ children, className, }: HeaderMobileMenuProps): import("react/jsx-runtime").JSX.Element;
36
+ export declare function HeaderMobileMenu({ children, className, }: HeaderMobileMenuProps): React.JSX.Element;
@@ -30,4 +30,4 @@ export interface HeaderNavigationProps {
30
30
  * </Header.Navigation>
31
31
  * ```
32
32
  */
33
- export declare function HeaderNavigation({ children, className, }: HeaderNavigationProps): import("react/jsx-runtime").JSX.Element;
33
+ export declare function HeaderNavigation({ children, className, }: HeaderNavigationProps): import("react").JSX.Element;
@@ -79,7 +79,7 @@ export interface HeaderProviderProps {
79
79
  * </HeaderProvider>
80
80
  * ```
81
81
  */
82
- export declare function HeaderProvider({ children, mobileMenuOpen: controlledMobileMenuOpen, onMobileMenuChange, defaultMobileMenuOpen, }: HeaderProviderProps): import("react/jsx-runtime").JSX.Element;
82
+ export declare function HeaderProvider({ children, mobileMenuOpen: controlledMobileMenuOpen, onMobileMenuChange, defaultMobileMenuOpen, }: HeaderProviderProps): import("react").JSX.Element;
83
83
  /**
84
84
  * useHeaderContext Hook
85
85
  *
@@ -2,5 +2,5 @@ import type { HTMLAttributes } from "react";
2
2
  interface Props extends HTMLAttributes<HTMLFormElement> {
3
3
  onForgotPasswordClick: () => void;
4
4
  }
5
- export default function LoginBox({ onForgotPasswordClick, className, ...props }: Props): import("react/jsx-runtime").JSX.Element;
5
+ export default function LoginBox({ onForgotPasswordClick, className, ...props }: Props): import("react").JSX.Element;
6
6
  export {};
@@ -33,7 +33,7 @@ export interface MenuProps {
33
33
  * </Menu>
34
34
  * ```
35
35
  */
36
- declare function Menu({ children, open: controlledOpen, defaultOpen, onOpenChange, placement, }: MenuProps): import("react/jsx-runtime").JSX.Element;
36
+ declare function Menu({ children, open: controlledOpen, defaultOpen, onOpenChange, placement, }: MenuProps): import("react").JSX.Element;
37
37
  declare namespace Menu {
38
38
  var Trigger: import("react").ForwardRefExoticComponent<import("./MenuTrigger").MenuTriggerProps & import("react").RefAttributes<HTMLElement>>;
39
39
  var Content: typeof MenuContent;
@@ -8,6 +8,6 @@ interface MenuContextValue {
8
8
  export declare function MenuProvider({ children, value, }: {
9
9
  children: ReactNode;
10
10
  value: MenuContextValue;
11
- }): import("react/jsx-runtime").JSX.Element;
11
+ }): import("react").JSX.Element;
12
12
  export declare function useMenuContext(): MenuContextValue;
13
13
  export {};
@@ -10,4 +10,4 @@ export type MenuSeparatorProps = HTMLAttributes<HTMLDivElement>;
10
10
  * <MenuSeparator />
11
11
  * ```
12
12
  */
13
- export default function MenuSeparator({ className, ...props }: MenuSeparatorProps): import("react/jsx-runtime").JSX.Element;
13
+ export default function MenuSeparator({ className, ...props }: MenuSeparatorProps): import("react").JSX.Element;
@@ -21,5 +21,5 @@ interface Props extends HTMLAttributes<HTMLDivElement> {
21
21
  * </Modal>
22
22
  * ```
23
23
  */
24
- export default function Modal({ isOpen, onClose, title, children, variant, showCloseButton, footer, className, ...props }: Props): import("react/jsx-runtime").JSX.Element | null;
24
+ export default function Modal({ isOpen, onClose, title, children, variant, showCloseButton, footer, className, ...props }: Props): import("react").JSX.Element | null;
25
25
  export {};
@@ -13,5 +13,5 @@ import type { NavigationProps } from "./types";
13
13
  * Wrapper that handles Next.js integration safely.
14
14
  * Always uses NavigationWithPathname which will try to auto-detect pathname.
15
15
  */
16
- export declare function Navigation(props: NavigationProps): import("react/jsx-runtime").JSX.Element;
16
+ export declare function Navigation(props: NavigationProps): import("react").JSX.Element;
17
17
  export default Navigation;
@@ -24,5 +24,5 @@ import type { PageHeaderProps } from "./types";
24
24
  * />
25
25
  * ```
26
26
  */
27
- export declare function PageHeader({ title, description, breadcrumb, actions, variant, className, ...props }: PageHeaderProps): import("react/jsx-runtime").JSX.Element;
27
+ export declare function PageHeader({ title, description, breadcrumb, actions, variant, className, ...props }: PageHeaderProps): import("react").JSX.Element;
28
28
  export default PageHeader;
@@ -24,5 +24,5 @@ interface Props extends HTMLAttributes<HTMLDivElement> {
24
24
  * />
25
25
  * ```
26
26
  */
27
- export default function Pagination({ currentPage, totalPages, onPageChange, totalItems, itemsPerPage, showPageInfo, className, ...props }: Props): import("react/jsx-runtime").JSX.Element;
27
+ export default function Pagination({ currentPage, totalPages, onPageChange, totalItems, itemsPerPage, showPageInfo, className, ...props }: Props): import("react").JSX.Element;
28
28
  export {};
@@ -32,4 +32,4 @@ export interface PopoverProps {
32
32
  * </Popover>
33
33
  * ```
34
34
  */
35
- export default function Popover({ trigger, children, open: controlledOpen, defaultOpen, onOpenChange, placement, showCloseButton, title, closeOnClickOutside, closeOnEscape, className, triggerClassName, contentClassName, }: PopoverProps): import("react/jsx-runtime").JSX.Element;
35
+ export default function Popover({ trigger, children, open: controlledOpen, defaultOpen, onOpenChange, placement, showCloseButton, title, closeOnClickOutside, closeOnEscape, className, triggerClassName, contentClassName, }: PopoverProps): import("react").JSX.Element;
@@ -30,4 +30,4 @@ export interface RatingProps {
30
30
  * <Rating value={3.5} readOnly showValue />
31
31
  * ```
32
32
  */
33
- export default function Rating({ value: controlledValue, defaultValue, max, size, variant, readOnly, allowHalf, showValue, onChange, onHover, className, icon, emptyIcon, }: RatingProps): import("react/jsx-runtime").JSX.Element;
33
+ export default function Rating({ value: controlledValue, defaultValue, max, size, variant, readOnly, allowHalf, showValue, onChange, onHover, className, icon, emptyIcon, }: RatingProps): import("react").JSX.Element;
@@ -62,4 +62,4 @@ export interface SearchAndFilterPatternProps<T = unknown> {
62
62
  * />
63
63
  * ```
64
64
  */
65
- export declare function SearchAndFilterPattern<T = unknown>({ items, searchFn, filterFn, renderItem, filters, searchPlaceholder, emptyMessage, showResultsCount, }: SearchAndFilterPatternProps<T>): import("react/jsx-runtime").JSX.Element;
65
+ export declare function SearchAndFilterPattern<T = unknown>({ items, searchFn, filterFn, renderItem, filters, searchPlaceholder, emptyMessage, showResultsCount, }: SearchAndFilterPatternProps<T>): React.JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import type { InputHTMLAttributes } from "react";
2
- export interface SearchInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "onChange"> {
2
+ export interface SearchInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size"> {
3
3
  onSearch?: (value: string) => void;
4
4
  onClear?: () => void;
5
5
  loading?: boolean;
@@ -85,7 +85,7 @@ import type { SideNavbarProps } from "./types";
85
85
  * ```
86
86
  * ```
87
87
  */
88
- declare function SideNavbar({ mode, variant, navigationWidth, width, animationDuration, resizable, minWidth, maxWidth, snapPoints, responsive, mobileBreakpoint, mobileVariant, overlayBackdrop, storageKey, persistWidth, defaultCollapsed, collapsed, onCollapseChange, onWidthChange, onMobileChange, exclusiveGroups, showToggle, togglePosition, children, ...rootProps }: SideNavbarProps): import("react/jsx-runtime").JSX.Element;
88
+ declare function SideNavbar({ mode, variant, navigationWidth, width, animationDuration, resizable, minWidth, maxWidth, snapPoints, responsive, mobileBreakpoint, mobileVariant, overlayBackdrop, storageKey, persistWidth, defaultCollapsed, collapsed, onCollapseChange, onWidthChange, onMobileChange, exclusiveGroups, showToggle, togglePosition, children, ...rootProps }: SideNavbarProps): import("react").JSX.Element;
89
89
  declare namespace SideNavbar {
90
90
  var Navbar: typeof import(".").Navbar;
91
91
  var Sidebar: typeof import(".").Sidebar;
@@ -17,12 +17,13 @@ import { NavbarGroup } from "./NavbarGroup";
17
17
  * </SideNavbar.Navbar>
18
18
  * ```
19
19
  */
20
- declare function Navbar({ children, showMainToggle: showMainToggleProp, mainTogglePosition: mainTogglePositionProp, showToggle, togglePosition, labelMode, expandedWidth, className, style, ...props }: NavbarProps): import("react/jsx-runtime").JSX.Element;
20
+ declare function Navbar({ children, showMainToggle: _showMainToggle, mainTogglePosition: _mainTogglePosition, showToggle, togglePosition, labelMode, expandedWidth, className, style, ...props }: NavbarProps): import("react").JSX.Element;
21
21
  declare namespace Navbar {
22
22
  var Toggle: typeof NavbarToggle;
23
23
  var Item: typeof NavbarItem;
24
24
  var Separator: typeof NavbarSeparator;
25
25
  var Group: typeof NavbarGroup;
26
26
  var displayName: string;
27
+ var __SIDENAVBAR_KIND__: "navbar";
27
28
  }
28
29
  export default Navbar;
@@ -14,4 +14,4 @@ import type { NavbarGroupProps } from "../../types";
14
14
  * </SideNavbar.Navbar>
15
15
  * ```
16
16
  */
17
- export declare function NavbarGroup({ id, label, collapsible, defaultCollapsed, children, className, ...props }: NavbarGroupProps): import("react/jsx-runtime").JSX.Element;
17
+ export declare function NavbarGroup({ id, label, collapsible, defaultCollapsed, children, className, ...props }: NavbarGroupProps): import("react").JSX.Element;
@@ -1,2 +1,3 @@
1
+ import React from "react";
1
2
  import type { NavbarItemProps } from "../../types";
2
- export default function NavbarItem({ id, icon, label, labelMode, showLabel, active, showTooltip, badge, badgeVariant, variant, size, href, target, onClick, disabled, className, ...props }: NavbarItemProps): import("react/jsx-runtime").JSX.Element;
3
+ export default function NavbarItem({ id, icon, label, labelMode, showLabel, active, showTooltip, badge, badgeVariant, variant, size, href, target, onClick, disabled, className, ...props }: NavbarItemProps): React.JSX.Element;
@@ -13,4 +13,4 @@ import type { NavbarSeparatorProps } from "../../types";
13
13
  * </SideNavbar.Navbar>
14
14
  * ```
15
15
  */
16
- export default function NavbarSeparator({ orientation, className, ...props }: NavbarSeparatorProps): import("react/jsx-runtime").JSX.Element;
16
+ export default function NavbarSeparator({ orientation, className, ...props }: NavbarSeparatorProps): import("react").JSX.Element;
@@ -13,4 +13,4 @@ import type { NavbarToggleProps } from "../../types";
13
13
  * />
14
14
  * ```
15
15
  */
16
- export default function NavbarToggle({ icon, size, variant, className, ...props }: NavbarToggleProps): import("react/jsx-runtime").JSX.Element;
16
+ export default function NavbarToggle({ icon, size, variant, className, ...props }: NavbarToggleProps): import("react").JSX.Element;
@@ -24,4 +24,4 @@ export interface SideNavbarBackdropProps extends HTMLAttributes<HTMLDivElement>
24
24
  * <SideNavbar.Backdrop onBackdropClick={() => console.log('clicked')} />
25
25
  * ```
26
26
  */
27
- export default function SideNavbarBackdrop({ visible: visibleOverride, onBackdropClick, className, style, ...props }: SideNavbarBackdropProps): import("react/jsx-runtime").JSX.Element | null;
27
+ export default function SideNavbarBackdrop({ visible: visibleOverride, onBackdropClick, className, style, ...props }: SideNavbarBackdropProps): import("react").JSX.Element | null;
@@ -60,4 +60,4 @@ export interface SideNavbarGroupProps extends Omit<HTMLAttributes<HTMLDivElement
60
60
  * </SideNavbar.Sidebar.Content>
61
61
  * ```
62
62
  */
63
- export default function SideNavbarGroup({ id, title, icon, actions, collapsible, defaultCollapsed, showBorder, padding, children, className, ...props }: SideNavbarGroupProps): import("react/jsx-runtime").JSX.Element;
63
+ export default function SideNavbarGroup({ id, title, icon, actions, collapsible, defaultCollapsed, showBorder, padding, children, className, ...props }: SideNavbarGroupProps): import("react").JSX.Element;
@@ -14,4 +14,4 @@ export type SideNavbarResizeHandleProps = HTMLAttributes<HTMLDivElement>;
14
14
  * </SideNavbar>
15
15
  * ```
16
16
  */
17
- export default function SideNavbarResizeHandle({ className, ...props }: SideNavbarResizeHandleProps): import("react/jsx-runtime").JSX.Element | null;
17
+ export default function SideNavbarResizeHandle({ className, ...props }: SideNavbarResizeHandleProps): import("react").JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import type { SideNavbarRootProps } from "../types";
2
3
  /**
3
4
  * SideNavbar Root Component
@@ -28,4 +29,4 @@ import type { SideNavbarRootProps } from "../types";
28
29
  * </SideNavbar.ThemeProvider>
29
30
  * ```
30
31
  */
31
- export default function SideNavbarRoot({ children, className, style, "aria-label": ariaLabel, ...props }: SideNavbarRootProps): import("react/jsx-runtime").JSX.Element;
32
+ export default function SideNavbarRoot({ children, className, style, "aria-label": ariaLabel, ...props }: SideNavbarRootProps): React.JSX.Element;
@@ -28,4 +28,4 @@ import type { SideNavbarToggleProps } from "../types";
28
28
  * </SideNavbar.Navbar>
29
29
  * ```
30
30
  */
31
- export default function SideNavbarToggle({ position, offset, icon, expandIcon, collapseIcon, size, variant, showTooltip, tooltipPosition: tooltipPositionOverride, keyboardShortcut: keyboardShortcutOverride, enableKeyboardShortcut: enableKeyboardShortcutOverride, className, style, "aria-label": ariaLabel, ...props }: SideNavbarToggleProps): import("react/jsx-runtime").JSX.Element;
31
+ export default function SideNavbarToggle({ position, offset, icon, expandIcon, collapseIcon, size, variant, showTooltip, tooltipPosition: tooltipPositionOverride, keyboardShortcut: keyboardShortcutOverride, enableKeyboardShortcut: enableKeyboardShortcutOverride, className, style, "aria-label": ariaLabel, ...props }: SideNavbarToggleProps): import("react").JSX.Element;
@@ -26,7 +26,7 @@ import { SidebarSlotContent } from "./SidebarSlotContent";
26
26
  * </SideNavbar.Sidebar>
27
27
  * ```
28
28
  */
29
- declare function Sidebar({ children, className, style, ...props }: SidebarProps): import("react/jsx-runtime").JSX.Element;
29
+ declare function Sidebar({ children, className, style, ...props }: SidebarProps): import("react").JSX.Element;
30
30
  declare namespace Sidebar {
31
31
  var Header: typeof SidebarHeader;
32
32
  var Content: typeof SidebarContent;
@@ -1,3 +1,4 @@
1
+ import React from "react";
1
2
  import type { SidebarContentProps } from "../../types";
2
3
  /**
3
4
  * Content component for the Sidebar subcomponent
@@ -14,4 +15,4 @@ import type { SidebarContentProps } from "../../types";
14
15
  * </SideNavbar.Sidebar.Content>
15
16
  * ```
16
17
  */
17
- export default function SidebarContent({ scrollable, padding, children, className, style, ...props }: SidebarContentProps): import("react/jsx-runtime").JSX.Element | null;
18
+ export default function SidebarContent({ scrollable, padding, children, className, style, ...props }: SidebarContentProps): React.JSX.Element | null;
@@ -12,4 +12,4 @@ import type { SidebarFooterProps } from "../../types";
12
12
  * </SideNavbar.Sidebar.Footer>
13
13
  * ```
14
14
  */
15
- export default function SidebarFooter({ padding, showBorder, children, className, style, ...props }: SidebarFooterProps): import("react/jsx-runtime").JSX.Element | null;
15
+ export default function SidebarFooter({ padding, showBorder, children, className, style, ...props }: SidebarFooterProps): import("react").JSX.Element | null;
@@ -17,4 +17,4 @@ import type { SidebarGroupProps } from "../../types";
17
17
  * </SideNavbar.Sidebar.Group>
18
18
  * ```
19
19
  */
20
- export default function SidebarGroup({ id, title, icon, actions, collapsible, defaultCollapsed, children, className, ...props }: SidebarGroupProps): import("react/jsx-runtime").JSX.Element | null;
20
+ export default function SidebarGroup({ id, title, icon, actions, collapsible, defaultCollapsed, children, className, ...props }: SidebarGroupProps): import("react").JSX.Element | null;
@@ -10,4 +10,4 @@ import type { SidebarHeaderProps } from "../../types";
10
10
  * <SideNavbar.Sidebar.Header title="Dashboard" subtitle="Overview" />
11
11
  * ```
12
12
  */
13
- export default function SidebarHeader({ title, subtitle, showBorder, children, className, style, ...props }: SidebarHeaderProps): import("react/jsx-runtime").JSX.Element | null;
13
+ export default function SidebarHeader({ title, subtitle, showBorder, children, className, style, ...props }: SidebarHeaderProps): import("react").JSX.Element | null;
@@ -37,4 +37,4 @@ export interface SidebarSlotProps {
37
37
  * </SideNavbar>
38
38
  * ```
39
39
  */
40
- export declare function SidebarSlot({ id, children }: SidebarSlotProps): import("react/jsx-runtime").JSX.Element | null;
40
+ export declare function SidebarSlot({ id, children }: SidebarSlotProps): import("react").JSX.Element | null;