@tetrascience-npm/tetrascience-react-ui 0.5.0-beta.29.1 → 0.5.0-beta.31.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/dist/components/ui/alert.cjs +1 -1
- package/dist/components/ui/alert.cjs.map +1 -1
- package/dist/components/ui/alert.js +23 -20
- package/dist/components/ui/alert.js.map +1 -1
- package/dist/components/ui/badge.cjs +1 -1
- package/dist/components/ui/badge.cjs.map +1 -1
- package/dist/components/ui/badge.js +10 -10
- package/dist/components/ui/badge.js.map +1 -1
- package/dist/components/ui/dialog.cjs +1 -1
- package/dist/components/ui/dialog.cjs.map +1 -1
- package/dist/components/ui/dialog.js +62 -51
- package/dist/components/ui/dialog.js.map +1 -1
- package/dist/components/ui/tabs.cjs +1 -1
- package/dist/components/ui/tabs.cjs.map +1 -1
- package/dist/components/ui/tabs.js +28 -27
- package/dist/components/ui/tabs.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +8 -162
- package/dist/index.js +376 -397
- package/dist/index.js.map +1 -1
- package/dist/index.tailwind.css +1 -1
- package/package.json +1 -1
- package/dist/components/composed/AppHeader/AppHeader.cjs +0 -2
- package/dist/components/composed/AppHeader/AppHeader.cjs.map +0 -1
- package/dist/components/composed/AppHeader/AppHeader.js +0 -35
- package/dist/components/composed/AppHeader/AppHeader.js.map +0 -1
- package/dist/components/composed/AppLayout/AppLayout.cjs +0 -2
- package/dist/components/composed/AppLayout/AppLayout.cjs.map +0 -1
- package/dist/components/composed/AppLayout/AppLayout.js +0 -65
- package/dist/components/composed/AppLayout/AppLayout.js.map +0 -1
- package/dist/components/composed/AssistantModal/AssistantModal.cjs +0 -2
- package/dist/components/composed/AssistantModal/AssistantModal.cjs.map +0 -1
- package/dist/components/composed/AssistantModal/AssistantModal.js +0 -75
- package/dist/components/composed/AssistantModal/AssistantModal.js.map +0 -1
- package/dist/components/composed/CodeScriptEditorButton/CodeScriptEditorButton.cjs +0 -3
- package/dist/components/composed/CodeScriptEditorButton/CodeScriptEditorButton.cjs.map +0 -1
- package/dist/components/composed/CodeScriptEditorButton/CodeScriptEditorButton.js +0 -74
- package/dist/components/composed/CodeScriptEditorButton/CodeScriptEditorButton.js.map +0 -1
- package/dist/components/composed/LaunchContent/LaunchContent.cjs +0 -6
- package/dist/components/composed/LaunchContent/LaunchContent.cjs.map +0 -1
- package/dist/components/composed/LaunchContent/LaunchContent.js +0 -66
- package/dist/components/composed/LaunchContent/LaunchContent.js.map +0 -1
- package/dist/components/composed/Main/LaunchContentPanel.cjs +0 -6
- package/dist/components/composed/Main/LaunchContentPanel.cjs.map +0 -1
- package/dist/components/composed/Main/LaunchContentPanel.js +0 -63
- package/dist/components/composed/Main/LaunchContentPanel.js.map +0 -1
- package/dist/components/composed/Main/Main.cjs +0 -2
- package/dist/components/composed/Main/Main.cjs.map +0 -1
- package/dist/components/composed/Main/Main.js +0 -276
- package/dist/components/composed/Main/Main.js.map +0 -1
- package/dist/components/composed/Main/MainHeader.cjs +0 -2
- package/dist/components/composed/Main/MainHeader.cjs.map +0 -1
- package/dist/components/composed/Main/MainHeader.js +0 -36
- package/dist/components/composed/Main/MainHeader.js.map +0 -1
- package/dist/components/composed/Main/MainNavbar.cjs +0 -2
- package/dist/components/composed/Main/MainNavbar.cjs.map +0 -1
- package/dist/components/composed/Main/MainNavbar.js +0 -25
- package/dist/components/composed/Main/MainNavbar.js.map +0 -1
- package/dist/components/composed/Main/MainSidebar.cjs +0 -2
- package/dist/components/composed/Main/MainSidebar.cjs.map +0 -1
- package/dist/components/composed/Main/MainSidebar.js +0 -12
- package/dist/components/composed/Main/MainSidebar.js.map +0 -1
- package/dist/components/composed/Main/MainTabBar.cjs +0 -2
- package/dist/components/composed/Main/MainTabBar.cjs.map +0 -1
- package/dist/components/composed/Main/MainTabBar.js +0 -7
- package/dist/components/composed/Main/MainTabBar.js.map +0 -1
- package/dist/components/composed/Main/ProtocolConfigurationPanel.cjs +0 -2
- package/dist/components/composed/Main/ProtocolConfigurationPanel.cjs.map +0 -1
- package/dist/components/composed/Main/ProtocolConfigurationPanel.js +0 -30
- package/dist/components/composed/Main/ProtocolConfigurationPanel.js.map +0 -1
- package/dist/components/composed/Main/TemplateSidebarCard.cjs +0 -2
- package/dist/components/composed/Main/TemplateSidebarCard.cjs.map +0 -1
- package/dist/components/composed/Main/TemplateSidebarCard.js +0 -71
- package/dist/components/composed/Main/TemplateSidebarCard.js.map +0 -1
- package/dist/components/composed/Navbar/Navbar.cjs +0 -2
- package/dist/components/composed/Navbar/Navbar.cjs.map +0 -1
- package/dist/components/composed/Navbar/Navbar.js +0 -25
- package/dist/components/composed/Navbar/Navbar.js.map +0 -1
- package/dist/components/composed/ProtocolConfiguration/ProtocolConfiguration.cjs +0 -2
- package/dist/components/composed/ProtocolConfiguration/ProtocolConfiguration.cjs.map +0 -1
- package/dist/components/composed/ProtocolConfiguration/ProtocolConfiguration.js +0 -44
- package/dist/components/composed/ProtocolConfiguration/ProtocolConfiguration.js.map +0 -1
- package/dist/components/composed/ProtocolYamlCard/ProtocolYamlCard.cjs +0 -2
- package/dist/components/composed/ProtocolYamlCard/ProtocolYamlCard.cjs.map +0 -1
- package/dist/components/composed/ProtocolYamlCard/ProtocolYamlCard.js +0 -53
- package/dist/components/composed/ProtocolYamlCard/ProtocolYamlCard.js.map +0 -1
- package/dist/components/composed/PythonEditorModal/PythonEditorModal.cjs +0 -2
- package/dist/components/composed/PythonEditorModal/PythonEditorModal.cjs.map +0 -1
- package/dist/components/composed/PythonEditorModal/PythonEditorModal.js +0 -51
- package/dist/components/composed/PythonEditorModal/PythonEditorModal.js.map +0 -1
- package/dist/components/composed/Sidebar/Sidebar.cjs +0 -2
- package/dist/components/composed/Sidebar/Sidebar.cjs.map +0 -1
- package/dist/components/composed/Sidebar/Sidebar.js +0 -46
- package/dist/components/composed/Sidebar/Sidebar.js.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -21,7 +21,6 @@ import { HoverCard as HoverCard_2 } from 'radix-ui';
|
|
|
21
21
|
import { JSX } from 'react/jsx-runtime';
|
|
22
22
|
import { Label as Label_2 } from 'radix-ui';
|
|
23
23
|
import { Locale } from 'react-day-picker';
|
|
24
|
-
import { LucideIcon } from 'lucide-react';
|
|
25
24
|
import { Menubar as Menubar_2 } from 'radix-ui';
|
|
26
25
|
import { NavigationMenu as NavigationMenu_2 } from 'radix-ui';
|
|
27
26
|
import { OnChange } from '@monaco-editor/react';
|
|
@@ -89,37 +88,9 @@ export declare function AlertDialogTrigger({ ...props }: React_2.ComponentProps<
|
|
|
89
88
|
export declare function AlertTitle({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
90
89
|
|
|
91
90
|
declare const alertVariants: (props?: ({
|
|
92
|
-
variant?: "default" | "destructive" | null | undefined;
|
|
91
|
+
variant?: "default" | "destructive" | "info" | "positive" | "warning" | null | undefined;
|
|
93
92
|
} & ClassProp) | undefined) => string;
|
|
94
93
|
|
|
95
|
-
export declare const AppHeader: default_2.FC<AppHeaderProps>;
|
|
96
|
-
|
|
97
|
-
export declare interface AppHeaderProps {
|
|
98
|
-
hostname: string;
|
|
99
|
-
userProfile: UserProfileProps;
|
|
100
|
-
onHomeClick?: () => void;
|
|
101
|
-
onSettingsClick?: () => void;
|
|
102
|
-
onUserProfileClick?: () => void;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
export declare const AppLayout: default_2.FC<AppLayoutProps>;
|
|
106
|
-
|
|
107
|
-
export declare interface AppLayoutProps {
|
|
108
|
-
userProfile: {
|
|
109
|
-
name: string;
|
|
110
|
-
avatar?: string;
|
|
111
|
-
};
|
|
112
|
-
hostname: string;
|
|
113
|
-
organization: {
|
|
114
|
-
name: string;
|
|
115
|
-
subtext?: string;
|
|
116
|
-
logo?: default_2.ReactNode;
|
|
117
|
-
};
|
|
118
|
-
children?: default_2.ReactNode;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
export declare const AppSidebar: default_2.FC<SidebarProps>;
|
|
122
|
-
|
|
123
94
|
export declare interface AreaDataSeries {
|
|
124
95
|
x: number[];
|
|
125
96
|
y: number[];
|
|
@@ -146,22 +117,6 @@ export declare type AreaGraphVariant = "normal" | "stacked";
|
|
|
146
117
|
|
|
147
118
|
export declare function AspectRatio({ ...props }: React.ComponentProps<typeof AspectRatio_2.Root>): JSX.Element;
|
|
148
119
|
|
|
149
|
-
export declare const AssistantModal: default_2.FC<AssistantModalProps>;
|
|
150
|
-
|
|
151
|
-
export declare interface AssistantModalProps {
|
|
152
|
-
open: boolean;
|
|
153
|
-
onOpenChange: (open: boolean) => void;
|
|
154
|
-
title: string;
|
|
155
|
-
prompt: string;
|
|
156
|
-
initialCode?: string;
|
|
157
|
-
userQuery?: string;
|
|
158
|
-
onUserQueryChange?: (value: string) => void;
|
|
159
|
-
onCopy: (code: string) => void;
|
|
160
|
-
onLaunch: (code: string) => void;
|
|
161
|
-
onSend: (input: string) => void;
|
|
162
|
-
onCancel?: () => void;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
120
|
export declare function Avatar({ className, size, ...props }: React_2.ComponentProps<typeof Avatar_2.Root> & {
|
|
166
121
|
size?: "default" | "sm" | "lg";
|
|
167
122
|
}): JSX.Element;
|
|
@@ -301,7 +256,7 @@ export declare const buttonGroupVariants: (props?: ({
|
|
|
301
256
|
|
|
302
257
|
export declare const buttonVariants: (props?: ({
|
|
303
258
|
variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
304
|
-
size?: "
|
|
259
|
+
size?: "sm" | "default" | "xs" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
305
260
|
} & ClassProp) | undefined) => string;
|
|
306
261
|
|
|
307
262
|
export declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, locale, formatters, components, ...props }: React_2.ComponentProps<typeof DayPicker> & {
|
|
@@ -471,23 +426,6 @@ export declare interface CodeEditorProps {
|
|
|
471
426
|
disabled?: boolean;
|
|
472
427
|
}
|
|
473
428
|
|
|
474
|
-
/**
|
|
475
|
-
* Renders an 'Edit code' button that opens a modal with a Monaco code editor.
|
|
476
|
-
*/
|
|
477
|
-
export declare const CodeScriptEditorButton: ({ initialCode, onCodeSave, language, buttonText, modalTitle, buttonProps, modalProps, disabled, }: CodeScriptEditorButtonProps) => JSX.Element;
|
|
478
|
-
|
|
479
|
-
export declare interface CodeScriptEditorButtonProps {
|
|
480
|
-
initialCode?: string;
|
|
481
|
-
onCodeSave?: (newCode: string) => void;
|
|
482
|
-
language?: string;
|
|
483
|
-
buttonText?: string;
|
|
484
|
-
modalTitle?: string;
|
|
485
|
-
buttonProps?: React.ComponentProps<typeof Button>;
|
|
486
|
-
modalProps?: Omit<React.ComponentProps<typeof Dialog>, "open" | "defaultOpen" | "onOpenChange">;
|
|
487
|
-
disabled?: boolean;
|
|
488
|
-
isEditMode?: boolean;
|
|
489
|
-
}
|
|
490
|
-
|
|
491
429
|
export declare function Collapsible({ ...props }: React.ComponentProps<typeof Collapsible_2.Root>): JSX.Element;
|
|
492
430
|
|
|
493
431
|
export declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof Collapsible_2.CollapsibleContent>): JSX.Element;
|
|
@@ -691,6 +629,8 @@ export declare interface DataTableProps<TData, TValue> {
|
|
|
691
629
|
|
|
692
630
|
export declare function Dialog({ ...props }: React_2.ComponentProps<typeof Dialog_2.Root>): JSX.Element;
|
|
693
631
|
|
|
632
|
+
export declare function DialogBody({ className, ...props }: React_2.ComponentProps<"div">): JSX.Element;
|
|
633
|
+
|
|
694
634
|
export declare function DialogClose({ ...props }: React_2.ComponentProps<typeof Dialog_2.Close>): JSX.Element;
|
|
695
635
|
|
|
696
636
|
export declare function DialogContent({ className, children, showCloseButton, ...props }: React_2.ComponentProps<typeof Dialog_2.Content> & {
|
|
@@ -988,7 +928,7 @@ export declare function ItemTitle({ className, ...props }: React_2.ComponentProp
|
|
|
988
928
|
|
|
989
929
|
declare const itemVariants: (props?: ({
|
|
990
930
|
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
991
|
-
size?: "
|
|
931
|
+
size?: "sm" | "default" | "xs" | null | undefined;
|
|
992
932
|
} & ClassProp) | undefined) => string;
|
|
993
933
|
|
|
994
934
|
export declare function Kbd({ className, ...props }: React.ComponentProps<"kbd">): JSX.Element;
|
|
@@ -997,16 +937,6 @@ export declare function KbdGroup({ className, ...props }: React.ComponentProps<"
|
|
|
997
937
|
|
|
998
938
|
export declare function Label({ className, ...props }: React_2.ComponentProps<typeof Label_2.Root>): JSX.Element;
|
|
999
939
|
|
|
1000
|
-
export declare const LaunchContent: default_2.FC<LaunchContentProps>;
|
|
1001
|
-
|
|
1002
|
-
export declare interface LaunchContentProps {
|
|
1003
|
-
initialCode?: string;
|
|
1004
|
-
onDeploy?: () => void;
|
|
1005
|
-
versions?: string[];
|
|
1006
|
-
currentVersion?: string;
|
|
1007
|
-
onVersionChange?: (version: string) => void;
|
|
1008
|
-
}
|
|
1009
|
-
|
|
1010
940
|
/**
|
|
1011
941
|
* Configuration for auto-generated layers when using WellData with `values`.
|
|
1012
942
|
*
|
|
@@ -1121,14 +1051,6 @@ export declare type LineGraphProps = {
|
|
|
1121
1051
|
|
|
1122
1052
|
export declare type LineGraphVariant = "lines" | "lines+markers" | "lines+markers+error_bars";
|
|
1123
1053
|
|
|
1124
|
-
export declare const Main: default_2.FC<MainProps>;
|
|
1125
|
-
|
|
1126
|
-
export declare interface MainProps {
|
|
1127
|
-
userProfile: UserProfileInfo;
|
|
1128
|
-
hostname: string;
|
|
1129
|
-
organization: OrganizationInfo_2;
|
|
1130
|
-
}
|
|
1131
|
-
|
|
1132
1054
|
export declare type MarkerSymbol = "circle" | "circle-open" | "circle-dot" | "circle-open-dot" | "square" | "square-open" | "square-dot" | "square-open-dot" | "diamond" | "diamond-open" | "diamond-dot" | "diamond-open-dot" | "cross" | "cross-open" | "cross-dot" | "cross-open-dot" | "x" | "x-open" | "x-dot" | "x-open-dot" | "triangle-up" | "triangle-up-open" | "triangle-up-dot" | "triangle-up-open-dot" | "triangle-down" | "triangle-down-open" | "triangle-down-dot" | "triangle-down-open-dot" | "triangle-left" | "triangle-left-open" | "triangle-left-dot" | "triangle-left-open-dot" | "triangle-right" | "triangle-right-open" | "triangle-right-dot" | "triangle-right-open-dot" | "triangle-ne" | "triangle-ne-open" | "triangle-ne-dot" | "triangle-ne-open-dot" | "triangle-se" | "triangle-se-open" | "triangle-se-dot" | "triangle-se-open-dot" | "triangle-sw" | "triangle-sw-open" | "triangle-sw-dot" | "triangle-sw-open-dot" | "triangle-nw" | "triangle-nw-open" | "triangle-nw-dot" | "triangle-nw-open-dot" | "pentagon" | "pentagon-open" | "pentagon-dot" | "pentagon-open-dot" | "hexagon" | "hexagon-open" | "hexagon-dot" | "hexagon-open-dot" | "hexagon2" | "hexagon2-open" | "hexagon2-dot" | "hexagon2-open-dot" | "octagon" | "octagon-open" | "octagon-dot" | "octagon-open-dot" | "star" | "star-open" | "star-dot" | "star-open-dot" | "hexagram" | "hexagram-open" | "hexagram-dot" | "hexagram-open-dot" | "star-triangle-up" | "star-triangle-up-open" | "star-triangle-up-dot" | "star-triangle-up-open-dot" | "star-triangle-down" | "star-triangle-down-open" | "star-triangle-down-dot" | "star-triangle-down-open-dot" | "star-square" | "star-square-open" | "star-square-dot" | "star-square-open-dot" | "star-diamond" | "star-diamond-open" | "star-diamond-dot" | "star-diamond-open-dot" | "diamond-tall" | "diamond-tall-open" | "diamond-tall-dot" | "diamond-tall-open-dot" | "diamond-wide" | "diamond-wide-open" | "diamond-wide-dot" | "diamond-wide-open-dot" | "hourglass" | "hourglass-open" | "bowtie" | "bowtie-open" | "circle-cross" | "circle-cross-open" | "circle-x" | "circle-x-open" | "square-cross" | "square-cross-open" | "square-x" | "square-x-open" | "diamond-cross" | "diamond-cross-open" | "diamond-x" | "diamond-x-open" | "cross-thin" | "cross-thin-open" | "x-thin" | "x-thin-open" | "asterisk" | "asterisk-open" | "hash" | "hash-open" | "hash-dot" | "hash-open-dot" | "y-up" | "y-up-open" | "y-down" | "y-down-open" | "y-left" | "y-left-open" | "y-right" | "y-right-open" | "line-ew" | "line-ew-open" | "line-ns" | "line-ns-open" | "line-ne" | "line-ne-open" | "line-nw" | "line-nw-open" | "arrow" | "arrow-open" | "arrow-wide" | "arrow-wide-open";
|
|
1133
1055
|
|
|
1134
1056
|
declare type MarkerSymbol_2 = "circle" | "square" | "diamond" | "triangle-up" | "triangle-down" | "star";
|
|
@@ -1176,12 +1098,6 @@ export declare function MenubarSubTrigger({ className, inset, children, ...props
|
|
|
1176
1098
|
|
|
1177
1099
|
export declare function MenubarTrigger({ className, ...props }: React_2.ComponentProps<typeof Menubar_2.Trigger>): JSX.Element;
|
|
1178
1100
|
|
|
1179
|
-
export declare const Navbar: default_2.FC<NavbarProps>;
|
|
1180
|
-
|
|
1181
|
-
export declare interface NavbarProps {
|
|
1182
|
-
organization: OrganizationInfo;
|
|
1183
|
-
}
|
|
1184
|
-
|
|
1185
1101
|
/**
|
|
1186
1102
|
* Navigate to a TDP URL.
|
|
1187
1103
|
*
|
|
@@ -1214,18 +1130,6 @@ export declare const navigationMenuTriggerStyle: (props?: ClassProp | undefined)
|
|
|
1214
1130
|
|
|
1215
1131
|
export declare function NavigationMenuViewport({ className, ...props }: React_2.ComponentProps<typeof NavigationMenu_2.Viewport>): JSX.Element;
|
|
1216
1132
|
|
|
1217
|
-
declare interface OrganizationInfo {
|
|
1218
|
-
name: string;
|
|
1219
|
-
subtext?: string;
|
|
1220
|
-
logo?: default_2.ReactNode;
|
|
1221
|
-
}
|
|
1222
|
-
|
|
1223
|
-
declare interface OrganizationInfo_2 {
|
|
1224
|
-
name: string;
|
|
1225
|
-
subtext?: string;
|
|
1226
|
-
logo?: default_2.ReactNode;
|
|
1227
|
-
}
|
|
1228
|
-
|
|
1229
1133
|
/**
|
|
1230
1134
|
* Peak annotation for labeling peaks on the chromatogram.
|
|
1231
1135
|
* Used for both user-provided annotations and auto-detected peaks.
|
|
@@ -1465,41 +1369,6 @@ declare interface PlateRegion {
|
|
|
1465
1369
|
fillColor?: string;
|
|
1466
1370
|
}
|
|
1467
1371
|
|
|
1468
|
-
export declare const ProtocolConfiguration: default_2.FC<ProtocolConfigurationProps>;
|
|
1469
|
-
|
|
1470
|
-
export declare interface ProtocolConfigurationProps {
|
|
1471
|
-
className?: string;
|
|
1472
|
-
}
|
|
1473
|
-
|
|
1474
|
-
export declare const ProtocolYamlCard: default_2.FC<ProtocolYamlCardProps>;
|
|
1475
|
-
|
|
1476
|
-
export declare interface ProtocolYamlCardProps {
|
|
1477
|
-
title: string;
|
|
1478
|
-
newVersionMode: boolean;
|
|
1479
|
-
onToggleNewVersionMode: (checked: boolean) => void;
|
|
1480
|
-
versionOptions: {
|
|
1481
|
-
value: string;
|
|
1482
|
-
label: string;
|
|
1483
|
-
}[];
|
|
1484
|
-
selectedVersion: string;
|
|
1485
|
-
onVersionChange: (value: string) => void;
|
|
1486
|
-
onDeploy: () => void;
|
|
1487
|
-
yaml: string;
|
|
1488
|
-
onYamlChange: (value: string) => void;
|
|
1489
|
-
}
|
|
1490
|
-
|
|
1491
|
-
export declare const PythonEditorModal: default_2.FC<PythonEditorModalProps>;
|
|
1492
|
-
|
|
1493
|
-
export declare interface PythonEditorModalProps {
|
|
1494
|
-
open: boolean;
|
|
1495
|
-
onOpenChange: (open: boolean) => void;
|
|
1496
|
-
initialValue?: string;
|
|
1497
|
-
title?: string;
|
|
1498
|
-
description?: string;
|
|
1499
|
-
onSave: (value: string) => void;
|
|
1500
|
-
onCancel?: () => void;
|
|
1501
|
-
}
|
|
1502
|
-
|
|
1503
1372
|
export declare function RadioGroup({ className, ...props }: React_2.ComponentProps<typeof RadioGroup_2.Root>): JSX.Element;
|
|
1504
1373
|
|
|
1505
1374
|
export declare function RadioGroupItem({ className, ...props }: React_2.ComponentProps<typeof RadioGroup_2.Item>): JSX.Element;
|
|
@@ -1630,13 +1499,6 @@ export declare function SidebarInput({ className, ...props }: React_2.ComponentP
|
|
|
1630
1499
|
|
|
1631
1500
|
export declare function SidebarInset({ className, ...props }: React_2.ComponentProps<"main">): JSX.Element;
|
|
1632
1501
|
|
|
1633
|
-
declare interface SidebarItemProps {
|
|
1634
|
-
icon: LucideIcon;
|
|
1635
|
-
label: string;
|
|
1636
|
-
active?: boolean;
|
|
1637
|
-
onClick?: () => void;
|
|
1638
|
-
}
|
|
1639
|
-
|
|
1640
1502
|
export declare function SidebarMenu({ className, ...props }: React_2.ComponentProps<"ul">): JSX.Element;
|
|
1641
1503
|
|
|
1642
1504
|
export declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React_2.ComponentProps<"button"> & {
|
|
@@ -1654,7 +1516,7 @@ export declare function SidebarMenuButton({ asChild, isActive, variant, size, to
|
|
|
1654
1516
|
|
|
1655
1517
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
1656
1518
|
variant?: "default" | "outline" | null | undefined;
|
|
1657
|
-
size?: "
|
|
1519
|
+
size?: "sm" | "default" | "lg" | null | undefined;
|
|
1658
1520
|
} & ClassProp) | undefined) => string;
|
|
1659
1521
|
|
|
1660
1522
|
export declare function SidebarMenuItem({ className, ...props }: React_2.ComponentProps<"li">): JSX.Element;
|
|
@@ -1673,12 +1535,6 @@ export declare function SidebarMenuSubButton({ asChild, size, isActive, classNam
|
|
|
1673
1535
|
|
|
1674
1536
|
export declare function SidebarMenuSubItem({ className, ...props }: React_2.ComponentProps<"li">): JSX.Element;
|
|
1675
1537
|
|
|
1676
|
-
export declare interface SidebarProps {
|
|
1677
|
-
items: SidebarItemProps[];
|
|
1678
|
-
activeItem?: string;
|
|
1679
|
-
onItemClick?: (label: string) => void;
|
|
1680
|
-
}
|
|
1681
|
-
|
|
1682
1538
|
export declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React_2.ComponentProps<"div"> & {
|
|
1683
1539
|
defaultOpen?: boolean;
|
|
1684
1540
|
open?: boolean;
|
|
@@ -1698,7 +1554,7 @@ export declare function Slider({ className, defaultValue, value, min, max, ...pr
|
|
|
1698
1554
|
export declare function Spinner({ className, size, ...props }: React.ComponentProps<"svg"> & VariantProps<typeof spinnerVariants>): JSX.Element;
|
|
1699
1555
|
|
|
1700
1556
|
export declare const spinnerVariants: (props?: ({
|
|
1701
|
-
size?: "
|
|
1557
|
+
size?: "sm" | "default" | "lg" | "md" | null | undefined;
|
|
1702
1558
|
} & ClassProp) | undefined) => string;
|
|
1703
1559
|
|
|
1704
1560
|
export declare function Switch({ className, size, ...props }: React_2.ComponentProps<typeof Switch_2.Root> & {
|
|
@@ -1957,7 +1813,7 @@ export declare function ToggleGroupItem({ className, children, variant, size, ..
|
|
|
1957
1813
|
|
|
1958
1814
|
export declare const toggleVariants: (props?: ({
|
|
1959
1815
|
variant?: "default" | "outline" | null | undefined;
|
|
1960
|
-
size?: "
|
|
1816
|
+
size?: "sm" | "default" | "lg" | null | undefined;
|
|
1961
1817
|
} & ClassProp) | undefined) => string;
|
|
1962
1818
|
|
|
1963
1819
|
export declare function Tooltip({ ...props }: React_2.ComponentProps<typeof Tooltip_2.Root>): JSX.Element;
|
|
@@ -1976,16 +1832,6 @@ export declare function useComboboxAnchor(): React_2.RefObject<HTMLDivElement |
|
|
|
1976
1832
|
|
|
1977
1833
|
export declare function useDataTable<TData = unknown>(): TableContextValue<TData>;
|
|
1978
1834
|
|
|
1979
|
-
declare interface UserProfileInfo {
|
|
1980
|
-
name: string;
|
|
1981
|
-
avatar?: string;
|
|
1982
|
-
}
|
|
1983
|
-
|
|
1984
|
-
declare interface UserProfileProps {
|
|
1985
|
-
name: string;
|
|
1986
|
-
avatar?: string;
|
|
1987
|
-
}
|
|
1988
|
-
|
|
1989
1835
|
export declare function useSearch(config: UseSearchConfig): UseSearchResult;
|
|
1990
1836
|
|
|
1991
1837
|
export declare type UseSearchConfig = {
|