react-shadcn-kit 0.2.4 → 0.2.5

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 (110) hide show
  1. package/dist/assets/global.css +1 -1
  2. package/dist/components/composites/ComponentSearch.d.ts +43 -0
  3. package/dist/components/composites/action-button.d.ts +16 -0
  4. package/dist/components/composites/sidebar-wrapper.d.ts +27 -0
  5. package/dist/components/composites/theme-toggle.d.ts +9 -0
  6. package/dist/components/composites/user-menu.d.ts +18 -0
  7. package/dist/components/data-table/data-table-column-header.d.ts +7 -0
  8. package/dist/components/data-table/data-table-faceted-filter.d.ts +15 -0
  9. package/dist/components/data-table/data-table-pagination.d.ts +6 -0
  10. package/dist/components/data-table/data-table-toolbar.d.ts +20 -0
  11. package/dist/components/data-table/data-table-view-options.d.ts +6 -0
  12. package/dist/components/data-table/data-table.d.ts +30 -0
  13. package/dist/components/kanban/KanbanBoard.d.ts +2 -0
  14. package/dist/components/kanban/KanbanCard.d.ts +9 -0
  15. package/dist/components/kanban/KanbanColumn.d.ts +10 -0
  16. package/dist/components/kanban/KanbanDialog.d.ts +12 -0
  17. package/dist/components/kanban/kanban-types.d.ts +17 -0
  18. package/dist/components/kanban/kanban.d.ts +45 -0
  19. package/dist/components/marketing/hero.d.ts +12 -0
  20. package/dist/components/marketing/social-proof.d.ts +10 -0
  21. package/dist/components/marketing/value-props.d.ts +14 -0
  22. package/dist/components/primitives/accordion.d.ts +7 -0
  23. package/dist/components/primitives/action-button.d.ts +10 -0
  24. package/dist/components/primitives/alert-dialog.d.ts +14 -0
  25. package/dist/components/primitives/alert.d.ts +9 -0
  26. package/dist/components/primitives/aspect-ratio.d.ts +3 -0
  27. package/dist/components/primitives/avatar.d.ts +6 -0
  28. package/dist/components/primitives/badge-variants.d.ts +3 -0
  29. package/dist/components/primitives/badge.d.ts +9 -0
  30. package/dist/components/primitives/breadcrumb.d.ts +11 -0
  31. package/dist/components/primitives/button-group-variants.d.ts +3 -0
  32. package/dist/components/primitives/button-group.d.ts +13 -0
  33. package/dist/components/primitives/button-variants.d.ts +4 -0
  34. package/dist/components/primitives/button.d.ts +9 -0
  35. package/dist/components/primitives/calendar.d.ts +8 -0
  36. package/dist/components/primitives/card.d.ts +9 -0
  37. package/dist/components/primitives/carousel.d.ts +19 -0
  38. package/dist/components/primitives/chart.d.ts +54 -0
  39. package/dist/components/primitives/checkbox.d.ts +4 -0
  40. package/dist/components/primitives/collapsible.d.ts +5 -0
  41. package/dist/components/primitives/command.d.ts +18 -0
  42. package/dist/components/primitives/context-menu.d.ts +25 -0
  43. package/dist/components/primitives/context-menu.js +3 -3
  44. package/dist/components/primitives/context-menu.js.map +1 -1
  45. package/dist/components/primitives/custom-button-variants.d.ts +5 -0
  46. package/dist/components/primitives/custom-button.d.ts +22 -0
  47. package/dist/components/primitives/dialog.d.ts +15 -0
  48. package/dist/components/primitives/drawer.d.ts +13 -0
  49. package/dist/components/primitives/dropdown-menu.d.ts +25 -0
  50. package/dist/components/primitives/dropdown-menu.js +1 -1
  51. package/dist/components/primitives/dropdown-menu.js.map +1 -1
  52. package/dist/components/primitives/empty.d.ts +11 -0
  53. package/dist/components/primitives/field.d.ts +24 -0
  54. package/dist/components/primitives/field.js +3 -3
  55. package/dist/components/primitives/field.js.map +1 -1
  56. package/dist/components/primitives/form-context.d.ts +23 -0
  57. package/dist/components/primitives/form.d.ts +11 -0
  58. package/dist/components/primitives/hover-card.d.ts +6 -0
  59. package/dist/components/primitives/input-group.d.ts +16 -0
  60. package/dist/components/primitives/input-otp.d.ts +11 -0
  61. package/dist/components/primitives/input.d.ts +3 -0
  62. package/dist/components/primitives/item.d.ts +23 -0
  63. package/dist/components/primitives/kbd.d.ts +3 -0
  64. package/dist/components/primitives/label.d.ts +4 -0
  65. package/dist/components/primitives/loading-swap.d.ts +8 -0
  66. package/dist/components/primitives/menubar.d.ts +26 -0
  67. package/dist/components/primitives/menubar.js +3 -3
  68. package/dist/components/primitives/menubar.js.map +1 -1
  69. package/dist/components/primitives/navigation-menu-variants.d.ts +1 -0
  70. package/dist/components/primitives/navigation-menu.d.ts +13 -0
  71. package/dist/components/primitives/pagination.d.ts +13 -0
  72. package/dist/components/primitives/popover.d.ts +7 -0
  73. package/dist/components/primitives/progress.d.ts +4 -0
  74. package/dist/components/primitives/radio-group.d.ts +5 -0
  75. package/dist/components/primitives/resizable.d.ts +8 -0
  76. package/dist/components/primitives/scroll-area.d.ts +5 -0
  77. package/dist/components/primitives/select.d.ts +15 -0
  78. package/dist/components/primitives/select.js +30 -30
  79. package/dist/components/primitives/select.js.map +1 -1
  80. package/dist/components/primitives/separator.d.ts +4 -0
  81. package/dist/components/primitives/sheet.d.ts +13 -0
  82. package/dist/components/primitives/sidebar-context.d.ts +12 -0
  83. package/dist/components/primitives/sidebar-variants.d.ts +4 -0
  84. package/dist/components/primitives/sidebar.d.ts +56 -0
  85. package/dist/components/primitives/skeleton.d.ts +2 -0
  86. package/dist/components/primitives/slider.d.ts +4 -0
  87. package/dist/components/primitives/sonner.d.ts +3 -0
  88. package/dist/components/primitives/spinner.d.ts +2 -0
  89. package/dist/components/primitives/switch.d.ts +4 -0
  90. package/dist/components/primitives/table.d.ts +10 -0
  91. package/dist/components/primitives/tabs.d.ts +7 -0
  92. package/dist/components/primitives/textarea.d.ts +3 -0
  93. package/dist/components/primitives/theme-provider.d.ts +3 -0
  94. package/dist/components/primitives/theme-toggle.d.ts +3 -0
  95. package/dist/components/primitives/toggle-group.d.ts +9 -0
  96. package/dist/components/primitives/toggle-variants.d.ts +4 -0
  97. package/dist/components/primitives/toggle.d.ts +9 -0
  98. package/dist/components/primitives/tooltip.d.ts +7 -0
  99. package/dist/hooks/use-aria-live.d.ts +22 -0
  100. package/dist/hooks/use-browser-cache-image.d.ts +4 -0
  101. package/dist/hooks/use-focus-visible.d.ts +15 -0
  102. package/dist/hooks/use-mobile.d.ts +1 -0
  103. package/dist/hooks/use-screen-reader-only.d.ts +14 -0
  104. package/dist/hooks/use-theme.d.ts +7 -0
  105. package/dist/index.d.ts +14 -145
  106. package/dist/lib/browser-image-cache.d.ts +1 -0
  107. package/dist/lib/utils-enhanced.d.ts +27 -0
  108. package/dist/lib/utils-enhanced.test.d.ts +1 -0
  109. package/dist/lib/utils.d.ts +2 -0
  110. package/package.json +1 -1
@@ -0,0 +1,16 @@
1
+ import { CustomButtonProps } from '../primitives/custom-button';
2
+ import * as React from "react";
3
+ interface ActionButtonProps extends CustomButtonProps {
4
+ action: () => Promise<{
5
+ error: boolean;
6
+ message?: string;
7
+ }>;
8
+ requireAreYouSure?: boolean;
9
+ areYouSureTitle?: React.ReactNode;
10
+ areYouSureDescription?: React.ReactNode;
11
+ showSuccessToast?: boolean;
12
+ showErrorToast?: boolean;
13
+ }
14
+ declare const ActionButton: React.ForwardRefExoticComponent<ActionButtonProps & React.RefAttributes<HTMLButtonElement>>;
15
+ export { ActionButton };
16
+ export type { ActionButtonProps };
@@ -0,0 +1,27 @@
1
+ import { Sidebar } from '../primitives/sidebar';
2
+ import * as React from "react";
3
+ export interface SidebarWrapperProps extends React.ComponentPropsWithoutRef<typeof Sidebar> {
4
+ /**
5
+ * Optional custom trigger component. If not provided, a default trigger button is rendered.
6
+ */
7
+ trigger?: React.ReactNode;
8
+ /**
9
+ * Children rendered inside the SidebarContent area.
10
+ */
11
+ children: React.ReactNode;
12
+ }
13
+ /**
14
+ * SidebarWrapper
15
+ *
16
+ * A composable wrapper around the shadcn/ui `Sidebar` components tailored for the
17
+ * `mcomposites` package. It provides a ready‑to‑use layout consisting of a
18
+ * `SidebarProvider`, a `Sidebar` with optional custom trigger, and a content
19
+ * area. The wrapper can be dropped into any page to instantly gain a fully
20
+ * functional, accessible sidebar.
21
+ *
22
+ * Example usage:
23
+ * ```tsx
24
+ * <SidebarWrapper trigger={<MyTrigger />}>...</SidebarWrapper>
25
+ * ```
26
+ */
27
+ export declare function SidebarWrapper({ trigger, children, className, ...sidebarProps }: SidebarWrapperProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import * as React from "react";
2
+ export interface ThemeToggleProps {
3
+ align?: "center" | "start" | "end";
4
+ side?: "top" | "right" | "bottom" | "left";
5
+ sideOffset?: number;
6
+ className?: string;
7
+ trigger?: React.ReactNode;
8
+ }
9
+ export declare function ThemeToggle({ align, side, sideOffset, className, trigger, }: ThemeToggleProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,18 @@
1
+ import * as React from "react";
2
+ export interface UserMenuProps {
3
+ user: {
4
+ name: string;
5
+ email: string;
6
+ avatar?: string;
7
+ };
8
+ items?: Array<{
9
+ label: string;
10
+ href?: string;
11
+ onClick?: () => void;
12
+ icon?: React.ComponentType<{
13
+ className?: string;
14
+ }>;
15
+ }>;
16
+ className?: string;
17
+ }
18
+ export declare function UserMenu({ user, items, className }: UserMenuProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { Column } from '@tanstack/react-table';
2
+ interface DataTableColumnHeaderProps<TData, TValue> extends React.HTMLAttributes<HTMLDivElement> {
3
+ column: Column<TData, TValue>;
4
+ title: string;
5
+ }
6
+ export declare function DataTableColumnHeader<TData, TValue>({ column, title, className, }: DataTableColumnHeaderProps<TData, TValue>): import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,15 @@
1
+ import { Column } from '@tanstack/react-table';
2
+ import * as React from "react";
3
+ interface DataTableFacetedFilterProps<TData, TValue> {
4
+ column?: Column<TData, TValue>;
5
+ title?: string;
6
+ options: {
7
+ label: string;
8
+ value: string;
9
+ icon?: React.ComponentType<{
10
+ className?: string;
11
+ }>;
12
+ }[];
13
+ }
14
+ export declare function DataTableFacetedFilter<TData, TValue>({ column, title, options, }: DataTableFacetedFilterProps<TData, TValue>): import("react/jsx-runtime").JSX.Element;
15
+ export {};
@@ -0,0 +1,6 @@
1
+ import { Table } from '@tanstack/react-table';
2
+ interface DataTablePaginationProps<TData> {
3
+ table: Table<TData>;
4
+ }
5
+ export declare function DataTablePagination<TData>({ table }: DataTablePaginationProps<TData>): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,20 @@
1
+ import { Table } from '@tanstack/react-table';
2
+ interface DataTableToolbarProps<TData> {
3
+ table: Table<TData>;
4
+ searchKey?: string;
5
+ placeholder?: string;
6
+ enableGlobalFilter?: boolean;
7
+ facetedFilters?: {
8
+ columnId: string;
9
+ title: string;
10
+ options: {
11
+ label: string;
12
+ value: string;
13
+ icon?: React.ComponentType<{
14
+ className?: string;
15
+ }>;
16
+ }[];
17
+ }[];
18
+ }
19
+ export declare function DataTableToolbar<TData>({ table, searchKey, placeholder, enableGlobalFilter, facetedFilters, }: DataTableToolbarProps<TData>): import("react/jsx-runtime").JSX.Element;
20
+ export {};
@@ -0,0 +1,6 @@
1
+ import { Table } from '@tanstack/react-table';
2
+ interface DataTableViewOptionsProps<TData> {
3
+ table: Table<TData>;
4
+ }
5
+ export declare function DataTableViewOptions<TData>({ table }: DataTableViewOptionsProps<TData>): import("react/jsx-runtime").JSX.Element;
6
+ export {};
@@ -0,0 +1,30 @@
1
+ import { Row, ColumnDef } from '@tanstack/react-table';
2
+ import * as React from "react";
3
+ interface DataTableProps<TData, TValue> {
4
+ columns: ColumnDef<TData, TValue>[];
5
+ data: TData[];
6
+ searchKey?: string;
7
+ onRowClick?: (row: Row<TData>) => void;
8
+ renderSubComponent?: (props: {
9
+ row: Row<TData>;
10
+ }) => React.ReactNode;
11
+ enableRowExpansion?: boolean;
12
+ enableColumnSizing?: boolean;
13
+ enableColumnPinning?: boolean;
14
+ enableGlobalFilter?: boolean;
15
+ enableColumnOrdering?: boolean;
16
+ enableRowPinning?: boolean;
17
+ facetedFilters?: {
18
+ columnId: string;
19
+ title: string;
20
+ options: {
21
+ label: string;
22
+ value: string;
23
+ icon?: React.ComponentType<{
24
+ className?: string;
25
+ }>;
26
+ }[];
27
+ }[];
28
+ }
29
+ export declare function DataTable<TData, TValue>({ columns, data, searchKey, onRowClick, renderSubComponent, enableRowExpansion, enableColumnSizing, enableColumnPinning, enableGlobalFilter, enableColumnOrdering, enableRowPinning, facetedFilters, }: DataTableProps<TData, TValue>): import("react/jsx-runtime").JSX.Element;
30
+ export {};
@@ -0,0 +1,2 @@
1
+ import { KanbanBoardProps, KanbanItem } from './kanban-types';
2
+ export declare function KanbanBoard<T extends KanbanItem>({ items, columns, onItemUpdate, onItemClick, renderCard, }: KanbanBoardProps<T>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { KanbanItem } from './kanban-types';
2
+ interface Props<T extends KanbanItem> {
3
+ card: T;
4
+ onCardClick?: (item: T) => void;
5
+ renderCard?: (item: T) => React.ReactNode;
6
+ }
7
+ declare function KanbanCardInner<T extends KanbanItem>({ card, onCardClick, renderCard }: Props<T>): import("react/jsx-runtime").JSX.Element;
8
+ export declare const KanbanCard: typeof KanbanCardInner;
9
+ export {};
@@ -0,0 +1,10 @@
1
+ import { KanbanColumnDef, KanbanItem } from './kanban-types';
2
+ interface Props<T extends KanbanItem> {
3
+ column: KanbanColumnDef;
4
+ items: T[];
5
+ onCardClick?: (item: T) => void;
6
+ renderCard?: (item: T) => React.ReactNode;
7
+ }
8
+ declare function KanbanColumnInner<T extends KanbanItem>({ column, items, onCardClick, renderCard, }: Props<T>): import("react/jsx-runtime").JSX.Element;
9
+ export declare const KanbanColumn: typeof KanbanColumnInner;
10
+ export {};
@@ -0,0 +1,12 @@
1
+ import { default as React } from 'react';
2
+ interface KanbanItemDialogProps {
3
+ open: boolean;
4
+ onOpenChange: (open: boolean) => void;
5
+ title: string;
6
+ description?: string;
7
+ children: React.ReactNode;
8
+ sidebar?: React.ReactNode;
9
+ className?: string;
10
+ }
11
+ export declare function KanbanItemDialog({ open, onOpenChange, title, description, children, sidebar, className, }: KanbanItemDialogProps): import("react/jsx-runtime").JSX.Element;
12
+ export {};
@@ -0,0 +1,17 @@
1
+ export type KanbanId = string | number;
2
+ export interface KanbanColumnDef {
3
+ id: string;
4
+ title: string;
5
+ }
6
+ export interface KanbanItem {
7
+ id: KanbanId;
8
+ status: string;
9
+ [key: string]: unknown;
10
+ }
11
+ export interface KanbanBoardProps<T extends KanbanItem> {
12
+ items: T[];
13
+ columns?: KanbanColumnDef[];
14
+ onItemUpdate: (itemId: KanbanId, newStatus: string) => void;
15
+ onItemClick?: (item: T) => void;
16
+ renderCard?: (item: T) => React.ReactNode;
17
+ }
@@ -0,0 +1,45 @@
1
+ import * as React from "react";
2
+ export type KanbanId = string | number;
3
+ export interface KanbanColumnDef {
4
+ id: string;
5
+ title: string;
6
+ }
7
+ export interface KanbanItem {
8
+ id: KanbanId;
9
+ status: string;
10
+ title?: string;
11
+ name?: string;
12
+ description?: string;
13
+ [key: string]: unknown;
14
+ }
15
+ interface KanbanRootProps<T extends KanbanItem> {
16
+ items: T[];
17
+ columns?: KanbanColumnDef[];
18
+ onItemUpdate: (itemId: KanbanId, newStatus: string) => void;
19
+ onItemClick?: (item: T) => void;
20
+ renderCard?: (item: T) => React.ReactNode;
21
+ className?: string;
22
+ }
23
+ declare function KanbanRoot<T extends KanbanItem>({ items, columns, onItemUpdate, onItemClick, renderCard, className, }: KanbanRootProps<T>): import("react/jsx-runtime").JSX.Element;
24
+ interface KanbanColumnProps<T extends KanbanItem> {
25
+ column: KanbanColumnDef;
26
+ items: T[];
27
+ onCardClick?: (item: T) => void;
28
+ renderCard?: (item: T) => React.ReactNode;
29
+ className?: string;
30
+ }
31
+ declare function KanbanColumn<T extends KanbanItem>({ column, items, onCardClick, renderCard, className, }: KanbanColumnProps<T>): import("react/jsx-runtime").JSX.Element;
32
+ declare function KanbanColumnHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
33
+ declare function KanbanColumnBadge({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
34
+ declare function KanbanColumnContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
35
+ interface KanbanCardProps<T extends KanbanItem> {
36
+ card: T;
37
+ onCardClick?: (item: T) => void;
38
+ renderCard?: (item: T) => React.ReactNode;
39
+ className?: string;
40
+ }
41
+ declare const KanbanCardInner: <T extends KanbanItem>({ card, onCardClick, renderCard, className, }: KanbanCardProps<T>) => import("react/jsx-runtime").JSX.Element;
42
+ declare const KanbanCard: typeof KanbanCardInner;
43
+ declare function KanbanCardTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
44
+ declare function KanbanCardDescription({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
45
+ export { KanbanRoot as Kanban, KanbanColumn, KanbanColumnHeader, KanbanColumnBadge, KanbanColumnContent, KanbanCard, KanbanCardTitle, KanbanCardDescription, };
@@ -0,0 +1,12 @@
1
+ import * as React from "react";
2
+ interface HeroSectionProps extends React.HTMLAttributes<HTMLElement> {
3
+ title: string;
4
+ subtitle?: string;
5
+ ctaText?: string;
6
+ ctaHref?: string;
7
+ secondaryCtaText?: string;
8
+ secondaryCtaHref?: string;
9
+ badge?: string;
10
+ }
11
+ declare const HeroSection: React.ForwardRefExoticComponent<HeroSectionProps & React.RefAttributes<HTMLElement>>;
12
+ export { HeroSection };
@@ -0,0 +1,10 @@
1
+ import * as React from "react";
2
+ interface SocialProofProps extends React.HTMLAttributes<HTMLElement> {
3
+ logos: {
4
+ name: string;
5
+ src: string;
6
+ }[];
7
+ title?: string;
8
+ }
9
+ declare const SocialProof: React.ForwardRefExoticComponent<SocialProofProps & React.RefAttributes<HTMLElement>>;
10
+ export { SocialProof };
@@ -0,0 +1,14 @@
1
+ import * as React from "react";
2
+ interface Feature {
3
+ name: string;
4
+ description: string;
5
+ icon?: React.ElementType;
6
+ }
7
+ interface ValuePropsProps extends React.HTMLAttributes<HTMLElement> {
8
+ features: Feature[];
9
+ title: string;
10
+ subtitle?: string;
11
+ badge?: string;
12
+ }
13
+ declare const ValueProps: React.ForwardRefExoticComponent<ValuePropsProps & React.RefAttributes<HTMLElement>>;
14
+ export { ValueProps };
@@ -0,0 +1,7 @@
1
+ import * as React from "react";
2
+ import * as AccordionPrimitive from "@radix-ui/react-accordion";
3
+ declare function Accordion({ ...props }: React.ComponentProps<typeof AccordionPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function AccordionItem({ className, ...props }: React.ComponentProps<typeof AccordionPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
5
+ declare function AccordionTrigger({ className, children, ...props }: React.ComponentProps<typeof AccordionPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
+ declare function AccordionContent({ className, children, ...props }: React.ComponentProps<typeof AccordionPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
7
+ export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };
@@ -0,0 +1,10 @@
1
+ import { ComponentProps, ReactNode } from 'react';
2
+ import { Button } from './button';
3
+ export declare function ActionButton({ action, requireAreYouSure, areYouSureDescription, ...props }: ComponentProps<typeof Button> & {
4
+ action: () => Promise<{
5
+ error: boolean;
6
+ message?: string;
7
+ }>;
8
+ requireAreYouSure?: boolean;
9
+ areYouSureDescription?: ReactNode;
10
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,14 @@
1
+ import * as React from "react";
2
+ import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
3
+ declare function AlertDialog({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function AlertDialogTrigger({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
+ declare function AlertDialogPortal({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
6
+ declare function AlertDialogOverlay({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Overlay>): import("react/jsx-runtime").JSX.Element;
7
+ declare function AlertDialogContent({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
8
+ declare function AlertDialogHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
9
+ declare function AlertDialogFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
10
+ declare function AlertDialogTitle({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
11
+ declare function AlertDialogDescription({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
12
+ declare function AlertDialogAction({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Action>): import("react/jsx-runtime").JSX.Element;
13
+ declare function AlertDialogCancel({ className, ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Cancel>): import("react/jsx-runtime").JSX.Element;
14
+ export { AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, };
@@ -0,0 +1,9 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import * as React from "react";
3
+ declare const alertVariants: (props?: ({
4
+ variant?: "default" | "destructive" | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
+ declare function Alert({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof alertVariants>): import("react/jsx-runtime").JSX.Element;
7
+ declare function AlertTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
8
+ declare function AlertDescription({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
9
+ export { Alert, AlertTitle, AlertDescription };
@@ -0,0 +1,3 @@
1
+ import * as AspectRatioPrimitive from "@radix-ui/react-aspect-ratio";
2
+ declare function AspectRatio({ ...props }: React.ComponentProps<typeof AspectRatioPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
3
+ export { AspectRatio };
@@ -0,0 +1,6 @@
1
+ import * as React from "react";
2
+ import * as AvatarPrimitive from "@radix-ui/react-avatar";
3
+ declare function Avatar({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function AvatarImage({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>): import("react/jsx-runtime").JSX.Element;
5
+ declare function AvatarFallback({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>): import("react/jsx-runtime").JSX.Element;
6
+ export { Avatar, AvatarImage, AvatarFallback };
@@ -0,0 +1,3 @@
1
+ export declare const badgeVariants: (props?: ({
2
+ variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
3
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -0,0 +1,9 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { badgeVariants } from './badge-variants';
3
+ import * as React from "react";
4
+ interface BadgeProps extends React.ComponentProps<"span">, VariantProps<typeof badgeVariants> {
5
+ asChild?: boolean;
6
+ }
7
+ declare const Badge: React.ForwardRefExoticComponent<Omit<BadgeProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
8
+ export { Badge };
9
+ export type { BadgeProps };
@@ -0,0 +1,11 @@
1
+ import * as React from "react";
2
+ declare function Breadcrumb({ ...props }: React.ComponentProps<"nav">): import("react/jsx-runtime").JSX.Element;
3
+ declare function BreadcrumbList({ className, ...props }: React.ComponentProps<"ol">): import("react/jsx-runtime").JSX.Element;
4
+ declare function BreadcrumbItem({ className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
5
+ declare function BreadcrumbLink({ asChild, className, ...props }: React.ComponentProps<"a"> & {
6
+ asChild?: boolean;
7
+ }): import("react/jsx-runtime").JSX.Element;
8
+ declare function BreadcrumbPage({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
9
+ declare function BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
10
+ declare function BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
11
+ export { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis, };
@@ -0,0 +1,3 @@
1
+ export declare const buttonGroupVariants: (props?: ({
2
+ orientation?: "horizontal" | "vertical" | null | undefined;
3
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -0,0 +1,13 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { buttonGroupVariants } from './button-group-variants';
3
+ import * as React from "react";
4
+ interface ButtonGroupProps extends React.ComponentProps<"div">, VariantProps<typeof buttonGroupVariants> {
5
+ }
6
+ declare const ButtonGroup: React.ForwardRefExoticComponent<Omit<ButtonGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
+ interface ButtonGroupTextProps extends React.ComponentProps<"div"> {
8
+ asChild?: boolean;
9
+ }
10
+ declare const ButtonGroupText: React.ForwardRefExoticComponent<Omit<ButtonGroupTextProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
11
+ declare const ButtonGroupSeparator: React.ForwardRefExoticComponent<Omit<import('@radix-ui/react-separator').SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
12
+ export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText };
13
+ export type { ButtonGroupProps, ButtonGroupTextProps };
@@ -0,0 +1,4 @@
1
+ export declare const buttonVariants: (props?: ({
2
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
3
+ size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
4
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -0,0 +1,9 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { buttonVariants } from './button-variants';
3
+ import * as React from "react";
4
+ interface ButtonProps extends React.ComponentProps<"button">, VariantProps<typeof buttonVariants> {
5
+ asChild?: boolean;
6
+ }
7
+ declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
8
+ export { Button };
9
+ export type { ButtonProps };
@@ -0,0 +1,8 @@
1
+ import { DayButton, DayPicker } from 'react-day-picker';
2
+ import { Button } from '../primitives/button';
3
+ import * as React from "react";
4
+ declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
5
+ buttonVariant?: React.ComponentProps<typeof Button>["variant"];
6
+ }): import("react/jsx-runtime").JSX.Element;
7
+ declare function CalendarDayButton({ className, day, modifiers, ...props }: React.ComponentProps<typeof DayButton>): import("react/jsx-runtime").JSX.Element;
8
+ export { Calendar, CalendarDayButton };
@@ -0,0 +1,9 @@
1
+ import * as React from "react";
2
+ declare function Card({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
3
+ declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
4
+ declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
5
+ declare function CardDescription({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
6
+ declare function CardAction({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
7
+ declare function CardContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
8
+ declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
9
+ export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent };
@@ -0,0 +1,19 @@
1
+ import { default as useEmblaCarousel, UseEmblaCarouselType } from 'embla-carousel-react';
2
+ import { Button } from '../primitives/button';
3
+ import * as React from "react";
4
+ type CarouselApi = UseEmblaCarouselType[1];
5
+ type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
6
+ type CarouselOptions = UseCarouselParameters[0];
7
+ type CarouselPlugin = UseCarouselParameters[1];
8
+ type CarouselProps = {
9
+ opts?: CarouselOptions;
10
+ plugins?: CarouselPlugin;
11
+ orientation?: "horizontal" | "vertical";
12
+ setApi?: (api: CarouselApi) => void;
13
+ };
14
+ declare function Carousel({ orientation, opts, setApi, plugins, className, children, ...props }: React.ComponentProps<"div"> & CarouselProps): import("react/jsx-runtime").JSX.Element;
15
+ declare function CarouselContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
16
+ declare function CarouselItem({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
17
+ declare function CarouselPrevious({ className, variant, size, ...props }: React.ComponentProps<typeof Button>): import("react/jsx-runtime").JSX.Element;
18
+ declare function CarouselNext({ className, variant, size, ...props }: React.ComponentProps<typeof Button>): import("react/jsx-runtime").JSX.Element;
19
+ export { type CarouselApi, Carousel, CarouselContent, CarouselItem, CarouselPrevious, CarouselNext, };
@@ -0,0 +1,54 @@
1
+ import * as React from "react";
2
+ import * as RechartsPrimitive from "recharts";
3
+ declare const THEMES: {
4
+ readonly light: "";
5
+ readonly dark: ".dark";
6
+ };
7
+ export type ChartConfig = {
8
+ [k in string]: {
9
+ label?: React.ReactNode;
10
+ icon?: React.ComponentType;
11
+ } & ({
12
+ color?: string;
13
+ theme?: never;
14
+ } | {
15
+ color?: never;
16
+ theme: Record<keyof typeof THEMES, string>;
17
+ });
18
+ };
19
+ interface RechartsPayload {
20
+ type?: "none";
21
+ dataKey?: string | number;
22
+ name?: string | number;
23
+ value?: number | string;
24
+ color?: string;
25
+ payload?: Record<string, unknown>;
26
+ fill?: string;
27
+ graphicalItemId: string;
28
+ [key: string]: unknown;
29
+ }
30
+ declare function ChartContainer({ id, className, children, config, ...props }: React.ComponentProps<"div"> & {
31
+ config: ChartConfig;
32
+ children: React.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>["children"];
33
+ }): import("react/jsx-runtime").JSX.Element;
34
+ declare const ChartStyle: ({ id, config }: {
35
+ id: string;
36
+ config: ChartConfig;
37
+ }) => import("react/jsx-runtime").JSX.Element | null;
38
+ declare const ChartTooltip: typeof RechartsPrimitive.Tooltip;
39
+ declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: RechartsPrimitive.TooltipProps<number | string, number | string> & React.ComponentProps<"div"> & {
40
+ hideLabel?: boolean;
41
+ hideIndicator?: boolean;
42
+ indicator?: "line" | "dot" | "dashed";
43
+ nameKey?: string;
44
+ labelKey?: string;
45
+ payload?: RechartsPayload[];
46
+ label?: string;
47
+ }): import("react/jsx-runtime").JSX.Element | null;
48
+ declare const ChartLegend: typeof RechartsPrimitive.Legend;
49
+ declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: React.ComponentProps<"div"> & Pick<RechartsPrimitive.LegendProps, "verticalAlign"> & {
50
+ hideIcon?: boolean;
51
+ nameKey?: string;
52
+ payload?: RechartsPrimitive.LegendPayload[];
53
+ }): import("react/jsx-runtime").JSX.Element | null;
54
+ export { ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle, };
@@ -0,0 +1,4 @@
1
+ import * as React from "react";
2
+ import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
3
+ declare function Checkbox({ className, ...props }: React.ComponentProps<typeof CheckboxPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ export { Checkbox };
@@ -0,0 +1,5 @@
1
+ import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
2
+ declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): import("react/jsx-runtime").JSX.Element;
3
+ declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): import("react/jsx-runtime").JSX.Element;
4
+ declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): import("react/jsx-runtime").JSX.Element;
5
+ export { Collapsible, CollapsibleTrigger, CollapsibleContent };
@@ -0,0 +1,18 @@
1
+ import { Command as CommandPrimitive } from 'cmdk';
2
+ import { Dialog } from '../primitives/dialog';
3
+ import * as React from "react";
4
+ declare function Command({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>): import("react/jsx-runtime").JSX.Element;
5
+ declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: React.ComponentProps<typeof Dialog> & {
6
+ title?: string;
7
+ description?: string;
8
+ className?: string;
9
+ showCloseButton?: boolean;
10
+ }): import("react/jsx-runtime").JSX.Element;
11
+ declare function CommandInput({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Input>): import("react/jsx-runtime").JSX.Element;
12
+ declare function CommandList({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.List>): import("react/jsx-runtime").JSX.Element;
13
+ declare function CommandEmpty({ ...props }: React.ComponentProps<typeof CommandPrimitive.Empty>): import("react/jsx-runtime").JSX.Element;
14
+ declare function CommandGroup({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
15
+ declare function CommandSeparator({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
16
+ declare function CommandItem({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
17
+ declare function CommandShortcut({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
18
+ export { Command, CommandDialog, CommandInput, CommandList, CommandEmpty, CommandGroup, CommandItem, CommandShortcut, CommandSeparator, };
@@ -0,0 +1,25 @@
1
+ import * as React from "react";
2
+ import * as ContextMenuPrimitive from "@radix-ui/react-context-menu";
3
+ declare function ContextMenu({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function ContextMenuTrigger({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
+ declare function ContextMenuGroup({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
6
+ declare function ContextMenuPortal({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
7
+ declare function ContextMenuSub({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Sub>): import("react/jsx-runtime").JSX.Element;
8
+ declare function ContextMenuRadioGroup({ ...props }: React.ComponentProps<typeof ContextMenuPrimitive.RadioGroup>): import("react/jsx-runtime").JSX.Element;
9
+ declare function ContextMenuSubTrigger({ className, inset, children, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.SubTrigger> & {
10
+ inset?: boolean;
11
+ }): import("react/jsx-runtime").JSX.Element;
12
+ declare function ContextMenuSubContent({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.SubContent>): import("react/jsx-runtime").JSX.Element;
13
+ declare function ContextMenuContent({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
14
+ declare function ContextMenuItem({ className, inset, variant, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Item> & {
15
+ inset?: boolean;
16
+ variant?: "default" | "destructive";
17
+ }): import("react/jsx-runtime").JSX.Element;
18
+ declare function ContextMenuCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.CheckboxItem>): import("react/jsx-runtime").JSX.Element;
19
+ declare function ContextMenuRadioItem({ className, children, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.RadioItem>): import("react/jsx-runtime").JSX.Element;
20
+ declare function ContextMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Label> & {
21
+ inset?: boolean;
22
+ }): import("react/jsx-runtime").JSX.Element;
23
+ declare function ContextMenuSeparator({ className, ...props }: React.ComponentProps<typeof ContextMenuPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
24
+ declare function ContextMenuShortcut({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
25
+ export { ContextMenu, ContextMenuTrigger, ContextMenuContent, ContextMenuItem, ContextMenuCheckboxItem, ContextMenuRadioItem, ContextMenuLabel, ContextMenuSeparator, ContextMenuShortcut, ContextMenuGroup, ContextMenuPortal, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuRadioGroup, };