@loykin/designkit 0.0.1-dev.0 → 0.0.1-dev.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.
- package/README.md +4 -2
- package/dist/index.cjs +135 -2611
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -123
- package/dist/index.d.ts +1 -123
- package/dist/index.js +139 -2607
- package/dist/index.js.map +1 -1
- package/dist/styles.css +0 -59
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -18,9 +18,6 @@ import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
|
|
|
18
18
|
import { Slider as Slider$1 } from '@base-ui/react/slider';
|
|
19
19
|
import { Switch as Switch$1 } from '@base-ui/react/switch';
|
|
20
20
|
import { Tabs as Tabs$2 } from '@base-ui/react/tabs';
|
|
21
|
-
import { DataGridColumnDef } from '@loykin/gridkit';
|
|
22
|
-
export { DataGridColumnDef } from '@loykin/gridkit';
|
|
23
|
-
import { Table as Table$1, Row } from '@tanstack/react-table';
|
|
24
21
|
import { ClassValue } from 'clsx';
|
|
25
22
|
import * as zustand from 'zustand';
|
|
26
23
|
|
|
@@ -269,96 +266,6 @@ interface ThemeState {
|
|
|
269
266
|
setTemplate: (template: TemplateId) => void;
|
|
270
267
|
}
|
|
271
268
|
|
|
272
|
-
type DataGridViewVariant = 'standard' | 'infinity' | 'drag' | 'card' | 'card-list';
|
|
273
|
-
type DataGridViewFilter<T> = (table: Table$1<T>) => React.ReactNode;
|
|
274
|
-
interface DataGridViewInfinityProps<T> {
|
|
275
|
-
data?: T[];
|
|
276
|
-
hasNextPage: boolean;
|
|
277
|
-
isFetchingNextPage: boolean;
|
|
278
|
-
fetchNextPage: () => void;
|
|
279
|
-
tableKey?: string;
|
|
280
|
-
}
|
|
281
|
-
interface DataGridViewDragProps<T> {
|
|
282
|
-
onRowReorder?: (rows: T[]) => void;
|
|
283
|
-
dragColumnSize?: number;
|
|
284
|
-
}
|
|
285
|
-
interface DataGridViewCardProps<T> {
|
|
286
|
-
renderCard?: (row: Row<T>) => React.ReactNode;
|
|
287
|
-
cardColumns?: number;
|
|
288
|
-
minCardWidth?: number;
|
|
289
|
-
minColumns?: number;
|
|
290
|
-
}
|
|
291
|
-
interface DataGridViewProps<T extends Record<string, unknown>> {
|
|
292
|
-
data: T[];
|
|
293
|
-
columns: DataGridColumnDef<T>[];
|
|
294
|
-
getRowId?: (row: T, index: number) => string;
|
|
295
|
-
variant?: DataGridViewVariant;
|
|
296
|
-
tableHeight?: string | number;
|
|
297
|
-
rowHeight?: number;
|
|
298
|
-
tableWidthMode?: 'spacer' | 'fill-last' | 'independent';
|
|
299
|
-
enableSorting?: boolean;
|
|
300
|
-
enableColumnFilters?: boolean;
|
|
301
|
-
emptyMessage?: string;
|
|
302
|
-
headerLeft?: DataGridViewFilter<T>;
|
|
303
|
-
headerRight?: DataGridViewFilter<T>;
|
|
304
|
-
pagination?: {
|
|
305
|
-
pageSize?: number;
|
|
306
|
-
} | false;
|
|
307
|
-
footer?: (table: Table$1<T>) => React.ReactNode;
|
|
308
|
-
infinity?: DataGridViewInfinityProps<T>;
|
|
309
|
-
drag?: DataGridViewDragProps<T>;
|
|
310
|
-
card?: DataGridViewCardProps<T>;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
declare function DataGridView<T extends Record<string, unknown>>({ data, columns, getRowId, variant, tableHeight, rowHeight, tableWidthMode, enableSorting, enableColumnFilters, emptyMessage, headerLeft, headerRight, pagination, footer, infinity, drag, card, }: DataGridViewProps<T>): react_jsx_runtime.JSX.Element;
|
|
314
|
-
|
|
315
|
-
type TemplateGroup = 'Table' | 'Pages' | 'Design' | 'Auth';
|
|
316
|
-
type TemplateNavigationGroupId = 'DataBodyTemplate' | 'FormWizardBodyTemplate' | 'LoginBodyTemplate' | 'Common';
|
|
317
|
-
type TemplateExportKind = 'data-grid' | 'data-grid-card' | 'body-template' | 'typography' | 'databody' | 'login';
|
|
318
|
-
interface TemplateOptionChoice {
|
|
319
|
-
value: string;
|
|
320
|
-
label: string;
|
|
321
|
-
}
|
|
322
|
-
interface TemplateOptionSpec {
|
|
323
|
-
key: string;
|
|
324
|
-
label: string;
|
|
325
|
-
type: 'select';
|
|
326
|
-
choices: TemplateOptionChoice[];
|
|
327
|
-
defaultValue: string;
|
|
328
|
-
}
|
|
329
|
-
interface TemplateDefinition {
|
|
330
|
-
id: TemplateId;
|
|
331
|
-
label: string;
|
|
332
|
-
/** Short label used only in nav sub-menu (omit to fall back to label) */
|
|
333
|
-
navigationLabel?: string;
|
|
334
|
-
/** Section-header label for the nav group this item anchors (omit to fall back to label) */
|
|
335
|
-
navigationSubgroupLabel?: string;
|
|
336
|
-
group: TemplateGroup;
|
|
337
|
-
navigationGroup: TemplateNavigationGroupId;
|
|
338
|
-
navigationParent?: TemplateId;
|
|
339
|
-
layoutClassName: string;
|
|
340
|
-
exportComponent: string;
|
|
341
|
-
exportKind: TemplateExportKind;
|
|
342
|
-
preset: TemplateOverride;
|
|
343
|
-
options?: TemplateOptionSpec[];
|
|
344
|
-
preview?: {
|
|
345
|
-
variant?: DataGridViewVariant;
|
|
346
|
-
breadcrumb?: React.ReactNode;
|
|
347
|
-
title?: React.ReactNode;
|
|
348
|
-
description?: React.ReactNode;
|
|
349
|
-
};
|
|
350
|
-
}
|
|
351
|
-
declare const TEMPLATE_DEFINITIONS: TemplateDefinition[];
|
|
352
|
-
declare function getTemplateDefinition(id: TemplateId): TemplateDefinition | undefined;
|
|
353
|
-
declare function createTemplateOverrides(): Record<TemplateId, TemplateOverride>;
|
|
354
|
-
|
|
355
|
-
interface TemplateCodeContext {
|
|
356
|
-
definition: TemplateDefinition;
|
|
357
|
-
themeProp: string;
|
|
358
|
-
layoutClassName: string;
|
|
359
|
-
}
|
|
360
|
-
type TemplateCodeBuilder = (context: TemplateCodeContext) => string;
|
|
361
|
-
|
|
362
269
|
interface DataBodyTabProps {
|
|
363
270
|
id: string;
|
|
364
271
|
label: React__default.ReactNode;
|
|
@@ -435,14 +342,6 @@ declare const DataBodyTemplate: typeof Root$1 & {
|
|
|
435
342
|
Field: typeof DataBodyField;
|
|
436
343
|
};
|
|
437
344
|
|
|
438
|
-
interface DataBodyTemplateDemoProps {
|
|
439
|
-
theme?: React__default.CSSProperties;
|
|
440
|
-
topBarShow?: string;
|
|
441
|
-
topBarVariant?: string;
|
|
442
|
-
topBarBg?: string;
|
|
443
|
-
}
|
|
444
|
-
declare function DataBodyTemplateDemo({ theme, topBarShow, topBarVariant, topBarBg }: DataBodyTemplateDemoProps): react_jsx_runtime.JSX.Element;
|
|
445
|
-
|
|
446
345
|
type FormWizardVariant = 'card' | 'plain';
|
|
447
346
|
interface FormWizardStep {
|
|
448
347
|
key: string;
|
|
@@ -463,14 +362,6 @@ interface FormWizardBodyTemplateProps {
|
|
|
463
362
|
}
|
|
464
363
|
declare function FormWizardBodyTemplate({ theme, title, topBar, variant, steps, activeStep, onNext, onBack, onFinish, }: FormWizardBodyTemplateProps): react_jsx_runtime.JSX.Element;
|
|
465
364
|
|
|
466
|
-
declare function FormWizardBodyTemplateDemo({ theme, variant, topBarShow, topBarVariant, topBarBg, }: {
|
|
467
|
-
theme?: React.CSSProperties;
|
|
468
|
-
variant?: FormWizardVariant;
|
|
469
|
-
topBarShow?: string;
|
|
470
|
-
topBarVariant?: string;
|
|
471
|
-
topBarBg?: string;
|
|
472
|
-
}): react_jsx_runtime.JSX.Element;
|
|
473
|
-
|
|
474
365
|
interface TypographyBodyTemplateProps {
|
|
475
366
|
theme?: React.CSSProperties;
|
|
476
367
|
breadcrumb?: React.ReactNode;
|
|
@@ -614,16 +505,6 @@ declare function buildTopBar(opts: {
|
|
|
614
505
|
}): React__default.ReactNode;
|
|
615
506
|
declare function PageTopBar({ left, right, variant, height, className, style, children, }: PageTopBarProps): react_jsx_runtime.JSX.Element;
|
|
616
507
|
|
|
617
|
-
interface TemplateConfig {
|
|
618
|
-
id: TemplateId;
|
|
619
|
-
label: string;
|
|
620
|
-
component: ComponentType<{
|
|
621
|
-
theme?: React.CSSProperties;
|
|
622
|
-
}>;
|
|
623
|
-
buildCode?: TemplateCodeBuilder;
|
|
624
|
-
group?: string;
|
|
625
|
-
description?: string;
|
|
626
|
-
}
|
|
627
508
|
interface TemplateNavigationItem {
|
|
628
509
|
id: TemplateId;
|
|
629
510
|
label: string;
|
|
@@ -637,9 +518,6 @@ interface TemplateNavigationGroup {
|
|
|
637
518
|
items: TemplateNavigationItem[];
|
|
638
519
|
}
|
|
639
520
|
|
|
640
|
-
declare const TEMPLATES: TemplateConfig[];
|
|
641
|
-
declare const TEMPLATE_NAVIGATION: TemplateNavigationGroup[];
|
|
642
|
-
|
|
643
521
|
declare function useIsMobile(): boolean;
|
|
644
522
|
|
|
645
523
|
declare function useStyleInjector(): void;
|
|
@@ -664,4 +542,4 @@ declare function cn(...inputs: ClassValue[]): string;
|
|
|
664
542
|
|
|
665
543
|
declare const useThemeStore: zustand.UseBoundStore<zustand.StoreApi<ThemeState>>;
|
|
666
544
|
|
|
667
|
-
export { Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, ColorsBodyTemplate, type ColorsBodyTemplateProps, type DataBodyBodyProps, type DataBodyFieldProps, type DataBodyGroupProps, type DataBodyRowProps, type DataBodySectionProps, type DataBodySummaryProps, type DataBodyTabProps, DataBodyTemplate,
|
|
545
|
+
export { Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, ColorsBodyTemplate, type ColorsBodyTemplateProps, type DataBodyBodyProps, type DataBodyFieldProps, type DataBodyGroupProps, type DataBodyRowProps, type DataBodySectionProps, type DataBodySummaryProps, type DataBodyTabProps, DataBodyTemplate, type DataBodyTemplateProps, DataPage, type DataPageActionsProps, type DataPageContentProps, type DataPageFooterProps, type DataPageGroupBodyProps, type DataPageGroupHeaderProps, type DataPageGroupProps, type DataPageGroupToolbarProps, type DataPageHeaderProps, type DataPageProps, type DataPageTabProps, type DataPageTabsProps, type DataPageTitleBlockProps, type DensityId, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateAction, type EmptyStateProps, FormWizardBodyTemplate, type FormWizardBodyTemplateProps, type FormWizardStep, type FormWizardVariant, type GlobalTheme, type GroupLayout, type GroupVariant, Input, Label, type LoginBg, LoginBodyTemplate, type LoginBodyTemplateProps, type LoginCard, type LoginCardWidth, type LoginLayout, type LoginSide, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPositioner, NavigationMenuTrigger, PageBreadcrumb, type PageBreadcrumbItem, PageTopBar, type PageTopBarProps, type PageTopBarVariant, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, type ShellId, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs$1 as Tabs, TabsContent, TabsList, TabsTrigger, type TemplateId, type TemplateNavigationGroup, type TemplateNavigationItem, type TemplateOverride, type ThemeState, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TypographyBodyTemplate, type TypographyBodyTemplateProps, badgeVariants, buildTemplateTheme, buildTopBar, buttonVariants, cn, navigationMenuTriggerStyle, tabsListVariants, useIsMobile, useSidebar, useStyleInjector, useThemeStore };
|
package/dist/index.d.ts
CHANGED
|
@@ -18,9 +18,6 @@ import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
|
|
|
18
18
|
import { Slider as Slider$1 } from '@base-ui/react/slider';
|
|
19
19
|
import { Switch as Switch$1 } from '@base-ui/react/switch';
|
|
20
20
|
import { Tabs as Tabs$2 } from '@base-ui/react/tabs';
|
|
21
|
-
import { DataGridColumnDef } from '@loykin/gridkit';
|
|
22
|
-
export { DataGridColumnDef } from '@loykin/gridkit';
|
|
23
|
-
import { Table as Table$1, Row } from '@tanstack/react-table';
|
|
24
21
|
import { ClassValue } from 'clsx';
|
|
25
22
|
import * as zustand from 'zustand';
|
|
26
23
|
|
|
@@ -269,96 +266,6 @@ interface ThemeState {
|
|
|
269
266
|
setTemplate: (template: TemplateId) => void;
|
|
270
267
|
}
|
|
271
268
|
|
|
272
|
-
type DataGridViewVariant = 'standard' | 'infinity' | 'drag' | 'card' | 'card-list';
|
|
273
|
-
type DataGridViewFilter<T> = (table: Table$1<T>) => React.ReactNode;
|
|
274
|
-
interface DataGridViewInfinityProps<T> {
|
|
275
|
-
data?: T[];
|
|
276
|
-
hasNextPage: boolean;
|
|
277
|
-
isFetchingNextPage: boolean;
|
|
278
|
-
fetchNextPage: () => void;
|
|
279
|
-
tableKey?: string;
|
|
280
|
-
}
|
|
281
|
-
interface DataGridViewDragProps<T> {
|
|
282
|
-
onRowReorder?: (rows: T[]) => void;
|
|
283
|
-
dragColumnSize?: number;
|
|
284
|
-
}
|
|
285
|
-
interface DataGridViewCardProps<T> {
|
|
286
|
-
renderCard?: (row: Row<T>) => React.ReactNode;
|
|
287
|
-
cardColumns?: number;
|
|
288
|
-
minCardWidth?: number;
|
|
289
|
-
minColumns?: number;
|
|
290
|
-
}
|
|
291
|
-
interface DataGridViewProps<T extends Record<string, unknown>> {
|
|
292
|
-
data: T[];
|
|
293
|
-
columns: DataGridColumnDef<T>[];
|
|
294
|
-
getRowId?: (row: T, index: number) => string;
|
|
295
|
-
variant?: DataGridViewVariant;
|
|
296
|
-
tableHeight?: string | number;
|
|
297
|
-
rowHeight?: number;
|
|
298
|
-
tableWidthMode?: 'spacer' | 'fill-last' | 'independent';
|
|
299
|
-
enableSorting?: boolean;
|
|
300
|
-
enableColumnFilters?: boolean;
|
|
301
|
-
emptyMessage?: string;
|
|
302
|
-
headerLeft?: DataGridViewFilter<T>;
|
|
303
|
-
headerRight?: DataGridViewFilter<T>;
|
|
304
|
-
pagination?: {
|
|
305
|
-
pageSize?: number;
|
|
306
|
-
} | false;
|
|
307
|
-
footer?: (table: Table$1<T>) => React.ReactNode;
|
|
308
|
-
infinity?: DataGridViewInfinityProps<T>;
|
|
309
|
-
drag?: DataGridViewDragProps<T>;
|
|
310
|
-
card?: DataGridViewCardProps<T>;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
declare function DataGridView<T extends Record<string, unknown>>({ data, columns, getRowId, variant, tableHeight, rowHeight, tableWidthMode, enableSorting, enableColumnFilters, emptyMessage, headerLeft, headerRight, pagination, footer, infinity, drag, card, }: DataGridViewProps<T>): react_jsx_runtime.JSX.Element;
|
|
314
|
-
|
|
315
|
-
type TemplateGroup = 'Table' | 'Pages' | 'Design' | 'Auth';
|
|
316
|
-
type TemplateNavigationGroupId = 'DataBodyTemplate' | 'FormWizardBodyTemplate' | 'LoginBodyTemplate' | 'Common';
|
|
317
|
-
type TemplateExportKind = 'data-grid' | 'data-grid-card' | 'body-template' | 'typography' | 'databody' | 'login';
|
|
318
|
-
interface TemplateOptionChoice {
|
|
319
|
-
value: string;
|
|
320
|
-
label: string;
|
|
321
|
-
}
|
|
322
|
-
interface TemplateOptionSpec {
|
|
323
|
-
key: string;
|
|
324
|
-
label: string;
|
|
325
|
-
type: 'select';
|
|
326
|
-
choices: TemplateOptionChoice[];
|
|
327
|
-
defaultValue: string;
|
|
328
|
-
}
|
|
329
|
-
interface TemplateDefinition {
|
|
330
|
-
id: TemplateId;
|
|
331
|
-
label: string;
|
|
332
|
-
/** Short label used only in nav sub-menu (omit to fall back to label) */
|
|
333
|
-
navigationLabel?: string;
|
|
334
|
-
/** Section-header label for the nav group this item anchors (omit to fall back to label) */
|
|
335
|
-
navigationSubgroupLabel?: string;
|
|
336
|
-
group: TemplateGroup;
|
|
337
|
-
navigationGroup: TemplateNavigationGroupId;
|
|
338
|
-
navigationParent?: TemplateId;
|
|
339
|
-
layoutClassName: string;
|
|
340
|
-
exportComponent: string;
|
|
341
|
-
exportKind: TemplateExportKind;
|
|
342
|
-
preset: TemplateOverride;
|
|
343
|
-
options?: TemplateOptionSpec[];
|
|
344
|
-
preview?: {
|
|
345
|
-
variant?: DataGridViewVariant;
|
|
346
|
-
breadcrumb?: React.ReactNode;
|
|
347
|
-
title?: React.ReactNode;
|
|
348
|
-
description?: React.ReactNode;
|
|
349
|
-
};
|
|
350
|
-
}
|
|
351
|
-
declare const TEMPLATE_DEFINITIONS: TemplateDefinition[];
|
|
352
|
-
declare function getTemplateDefinition(id: TemplateId): TemplateDefinition | undefined;
|
|
353
|
-
declare function createTemplateOverrides(): Record<TemplateId, TemplateOverride>;
|
|
354
|
-
|
|
355
|
-
interface TemplateCodeContext {
|
|
356
|
-
definition: TemplateDefinition;
|
|
357
|
-
themeProp: string;
|
|
358
|
-
layoutClassName: string;
|
|
359
|
-
}
|
|
360
|
-
type TemplateCodeBuilder = (context: TemplateCodeContext) => string;
|
|
361
|
-
|
|
362
269
|
interface DataBodyTabProps {
|
|
363
270
|
id: string;
|
|
364
271
|
label: React__default.ReactNode;
|
|
@@ -435,14 +342,6 @@ declare const DataBodyTemplate: typeof Root$1 & {
|
|
|
435
342
|
Field: typeof DataBodyField;
|
|
436
343
|
};
|
|
437
344
|
|
|
438
|
-
interface DataBodyTemplateDemoProps {
|
|
439
|
-
theme?: React__default.CSSProperties;
|
|
440
|
-
topBarShow?: string;
|
|
441
|
-
topBarVariant?: string;
|
|
442
|
-
topBarBg?: string;
|
|
443
|
-
}
|
|
444
|
-
declare function DataBodyTemplateDemo({ theme, topBarShow, topBarVariant, topBarBg }: DataBodyTemplateDemoProps): react_jsx_runtime.JSX.Element;
|
|
445
|
-
|
|
446
345
|
type FormWizardVariant = 'card' | 'plain';
|
|
447
346
|
interface FormWizardStep {
|
|
448
347
|
key: string;
|
|
@@ -463,14 +362,6 @@ interface FormWizardBodyTemplateProps {
|
|
|
463
362
|
}
|
|
464
363
|
declare function FormWizardBodyTemplate({ theme, title, topBar, variant, steps, activeStep, onNext, onBack, onFinish, }: FormWizardBodyTemplateProps): react_jsx_runtime.JSX.Element;
|
|
465
364
|
|
|
466
|
-
declare function FormWizardBodyTemplateDemo({ theme, variant, topBarShow, topBarVariant, topBarBg, }: {
|
|
467
|
-
theme?: React.CSSProperties;
|
|
468
|
-
variant?: FormWizardVariant;
|
|
469
|
-
topBarShow?: string;
|
|
470
|
-
topBarVariant?: string;
|
|
471
|
-
topBarBg?: string;
|
|
472
|
-
}): react_jsx_runtime.JSX.Element;
|
|
473
|
-
|
|
474
365
|
interface TypographyBodyTemplateProps {
|
|
475
366
|
theme?: React.CSSProperties;
|
|
476
367
|
breadcrumb?: React.ReactNode;
|
|
@@ -614,16 +505,6 @@ declare function buildTopBar(opts: {
|
|
|
614
505
|
}): React__default.ReactNode;
|
|
615
506
|
declare function PageTopBar({ left, right, variant, height, className, style, children, }: PageTopBarProps): react_jsx_runtime.JSX.Element;
|
|
616
507
|
|
|
617
|
-
interface TemplateConfig {
|
|
618
|
-
id: TemplateId;
|
|
619
|
-
label: string;
|
|
620
|
-
component: ComponentType<{
|
|
621
|
-
theme?: React.CSSProperties;
|
|
622
|
-
}>;
|
|
623
|
-
buildCode?: TemplateCodeBuilder;
|
|
624
|
-
group?: string;
|
|
625
|
-
description?: string;
|
|
626
|
-
}
|
|
627
508
|
interface TemplateNavigationItem {
|
|
628
509
|
id: TemplateId;
|
|
629
510
|
label: string;
|
|
@@ -637,9 +518,6 @@ interface TemplateNavigationGroup {
|
|
|
637
518
|
items: TemplateNavigationItem[];
|
|
638
519
|
}
|
|
639
520
|
|
|
640
|
-
declare const TEMPLATES: TemplateConfig[];
|
|
641
|
-
declare const TEMPLATE_NAVIGATION: TemplateNavigationGroup[];
|
|
642
|
-
|
|
643
521
|
declare function useIsMobile(): boolean;
|
|
644
522
|
|
|
645
523
|
declare function useStyleInjector(): void;
|
|
@@ -664,4 +542,4 @@ declare function cn(...inputs: ClassValue[]): string;
|
|
|
664
542
|
|
|
665
543
|
declare const useThemeStore: zustand.UseBoundStore<zustand.StoreApi<ThemeState>>;
|
|
666
544
|
|
|
667
|
-
export { Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, ColorsBodyTemplate, type ColorsBodyTemplateProps, type DataBodyBodyProps, type DataBodyFieldProps, type DataBodyGroupProps, type DataBodyRowProps, type DataBodySectionProps, type DataBodySummaryProps, type DataBodyTabProps, DataBodyTemplate,
|
|
545
|
+
export { Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Button, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, ColorsBodyTemplate, type ColorsBodyTemplateProps, type DataBodyBodyProps, type DataBodyFieldProps, type DataBodyGroupProps, type DataBodyRowProps, type DataBodySectionProps, type DataBodySummaryProps, type DataBodyTabProps, DataBodyTemplate, type DataBodyTemplateProps, DataPage, type DataPageActionsProps, type DataPageContentProps, type DataPageFooterProps, type DataPageGroupBodyProps, type DataPageGroupHeaderProps, type DataPageGroupProps, type DataPageGroupToolbarProps, type DataPageHeaderProps, type DataPageProps, type DataPageTabProps, type DataPageTabsProps, type DataPageTitleBlockProps, type DensityId, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EmptyState, type EmptyStateAction, type EmptyStateProps, FormWizardBodyTemplate, type FormWizardBodyTemplateProps, type FormWizardStep, type FormWizardVariant, type GlobalTheme, type GroupLayout, type GroupVariant, Input, Label, type LoginBg, LoginBodyTemplate, type LoginBodyTemplateProps, type LoginCard, type LoginCardWidth, type LoginLayout, type LoginSide, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPositioner, NavigationMenuTrigger, PageBreadcrumb, type PageBreadcrumbItem, PageTopBar, type PageTopBarProps, type PageTopBarVariant, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, type ShellId, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs$1 as Tabs, TabsContent, TabsList, TabsTrigger, type TemplateId, type TemplateNavigationGroup, type TemplateNavigationItem, type TemplateOverride, type ThemeState, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, TypographyBodyTemplate, type TypographyBodyTemplateProps, badgeVariants, buildTemplateTheme, buildTopBar, buttonVariants, cn, navigationMenuTriggerStyle, tabsListVariants, useIsMobile, useSidebar, useStyleInjector, useThemeStore };
|