@tetrascience-npm/tetrascience-react-ui 0.5.0-beta.30.1 → 0.5.0-beta.32.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/combobox.cjs +1 -1
- package/dist/components/ui/combobox.cjs.map +1 -1
- package/dist/components/ui/combobox.js +19 -16
- package/dist/components/ui/combobox.js.map +1 -1
- package/dist/components/ui/select.cjs +1 -1
- package/dist/components/ui/select.cjs.map +1 -1
- package/dist/components/ui/select.js +2 -2
- package/dist/components/ui/select.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +5 -161
- package/dist/index.js +376 -398
- 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';
|
|
@@ -92,34 +91,6 @@ declare const alertVariants: (props?: ({
|
|
|
92
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;
|
|
@@ -990,7 +928,7 @@ export declare function ItemTitle({ className, ...props }: React_2.ComponentProp
|
|
|
990
928
|
|
|
991
929
|
declare const itemVariants: (props?: ({
|
|
992
930
|
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
993
|
-
size?: "
|
|
931
|
+
size?: "sm" | "default" | "xs" | null | undefined;
|
|
994
932
|
} & ClassProp) | undefined) => string;
|
|
995
933
|
|
|
996
934
|
export declare function Kbd({ className, ...props }: React.ComponentProps<"kbd">): JSX.Element;
|
|
@@ -999,16 +937,6 @@ export declare function KbdGroup({ className, ...props }: React.ComponentProps<"
|
|
|
999
937
|
|
|
1000
938
|
export declare function Label({ className, ...props }: React_2.ComponentProps<typeof Label_2.Root>): JSX.Element;
|
|
1001
939
|
|
|
1002
|
-
export declare const LaunchContent: default_2.FC<LaunchContentProps>;
|
|
1003
|
-
|
|
1004
|
-
export declare interface LaunchContentProps {
|
|
1005
|
-
initialCode?: string;
|
|
1006
|
-
onDeploy?: () => void;
|
|
1007
|
-
versions?: string[];
|
|
1008
|
-
currentVersion?: string;
|
|
1009
|
-
onVersionChange?: (version: string) => void;
|
|
1010
|
-
}
|
|
1011
|
-
|
|
1012
940
|
/**
|
|
1013
941
|
* Configuration for auto-generated layers when using WellData with `values`.
|
|
1014
942
|
*
|
|
@@ -1123,14 +1051,6 @@ export declare type LineGraphProps = {
|
|
|
1123
1051
|
|
|
1124
1052
|
export declare type LineGraphVariant = "lines" | "lines+markers" | "lines+markers+error_bars";
|
|
1125
1053
|
|
|
1126
|
-
export declare const Main: default_2.FC<MainProps>;
|
|
1127
|
-
|
|
1128
|
-
export declare interface MainProps {
|
|
1129
|
-
userProfile: UserProfileInfo;
|
|
1130
|
-
hostname: string;
|
|
1131
|
-
organization: OrganizationInfo_2;
|
|
1132
|
-
}
|
|
1133
|
-
|
|
1134
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";
|
|
1135
1055
|
|
|
1136
1056
|
declare type MarkerSymbol_2 = "circle" | "square" | "diamond" | "triangle-up" | "triangle-down" | "star";
|
|
@@ -1178,12 +1098,6 @@ export declare function MenubarSubTrigger({ className, inset, children, ...props
|
|
|
1178
1098
|
|
|
1179
1099
|
export declare function MenubarTrigger({ className, ...props }: React_2.ComponentProps<typeof Menubar_2.Trigger>): JSX.Element;
|
|
1180
1100
|
|
|
1181
|
-
export declare const Navbar: default_2.FC<NavbarProps>;
|
|
1182
|
-
|
|
1183
|
-
export declare interface NavbarProps {
|
|
1184
|
-
organization: OrganizationInfo;
|
|
1185
|
-
}
|
|
1186
|
-
|
|
1187
1101
|
/**
|
|
1188
1102
|
* Navigate to a TDP URL.
|
|
1189
1103
|
*
|
|
@@ -1216,18 +1130,6 @@ export declare const navigationMenuTriggerStyle: (props?: ClassProp | undefined)
|
|
|
1216
1130
|
|
|
1217
1131
|
export declare function NavigationMenuViewport({ className, ...props }: React_2.ComponentProps<typeof NavigationMenu_2.Viewport>): JSX.Element;
|
|
1218
1132
|
|
|
1219
|
-
declare interface OrganizationInfo {
|
|
1220
|
-
name: string;
|
|
1221
|
-
subtext?: string;
|
|
1222
|
-
logo?: default_2.ReactNode;
|
|
1223
|
-
}
|
|
1224
|
-
|
|
1225
|
-
declare interface OrganizationInfo_2 {
|
|
1226
|
-
name: string;
|
|
1227
|
-
subtext?: string;
|
|
1228
|
-
logo?: default_2.ReactNode;
|
|
1229
|
-
}
|
|
1230
|
-
|
|
1231
1133
|
/**
|
|
1232
1134
|
* Peak annotation for labeling peaks on the chromatogram.
|
|
1233
1135
|
* Used for both user-provided annotations and auto-detected peaks.
|
|
@@ -1467,41 +1369,6 @@ declare interface PlateRegion {
|
|
|
1467
1369
|
fillColor?: string;
|
|
1468
1370
|
}
|
|
1469
1371
|
|
|
1470
|
-
export declare const ProtocolConfiguration: default_2.FC<ProtocolConfigurationProps>;
|
|
1471
|
-
|
|
1472
|
-
export declare interface ProtocolConfigurationProps {
|
|
1473
|
-
className?: string;
|
|
1474
|
-
}
|
|
1475
|
-
|
|
1476
|
-
export declare const ProtocolYamlCard: default_2.FC<ProtocolYamlCardProps>;
|
|
1477
|
-
|
|
1478
|
-
export declare interface ProtocolYamlCardProps {
|
|
1479
|
-
title: string;
|
|
1480
|
-
newVersionMode: boolean;
|
|
1481
|
-
onToggleNewVersionMode: (checked: boolean) => void;
|
|
1482
|
-
versionOptions: {
|
|
1483
|
-
value: string;
|
|
1484
|
-
label: string;
|
|
1485
|
-
}[];
|
|
1486
|
-
selectedVersion: string;
|
|
1487
|
-
onVersionChange: (value: string) => void;
|
|
1488
|
-
onDeploy: () => void;
|
|
1489
|
-
yaml: string;
|
|
1490
|
-
onYamlChange: (value: string) => void;
|
|
1491
|
-
}
|
|
1492
|
-
|
|
1493
|
-
export declare const PythonEditorModal: default_2.FC<PythonEditorModalProps>;
|
|
1494
|
-
|
|
1495
|
-
export declare interface PythonEditorModalProps {
|
|
1496
|
-
open: boolean;
|
|
1497
|
-
onOpenChange: (open: boolean) => void;
|
|
1498
|
-
initialValue?: string;
|
|
1499
|
-
title?: string;
|
|
1500
|
-
description?: string;
|
|
1501
|
-
onSave: (value: string) => void;
|
|
1502
|
-
onCancel?: () => void;
|
|
1503
|
-
}
|
|
1504
|
-
|
|
1505
1372
|
export declare function RadioGroup({ className, ...props }: React_2.ComponentProps<typeof RadioGroup_2.Root>): JSX.Element;
|
|
1506
1373
|
|
|
1507
1374
|
export declare function RadioGroupItem({ className, ...props }: React_2.ComponentProps<typeof RadioGroup_2.Item>): JSX.Element;
|
|
@@ -1632,13 +1499,6 @@ export declare function SidebarInput({ className, ...props }: React_2.ComponentP
|
|
|
1632
1499
|
|
|
1633
1500
|
export declare function SidebarInset({ className, ...props }: React_2.ComponentProps<"main">): JSX.Element;
|
|
1634
1501
|
|
|
1635
|
-
declare interface SidebarItemProps {
|
|
1636
|
-
icon: LucideIcon;
|
|
1637
|
-
label: string;
|
|
1638
|
-
active?: boolean;
|
|
1639
|
-
onClick?: () => void;
|
|
1640
|
-
}
|
|
1641
|
-
|
|
1642
1502
|
export declare function SidebarMenu({ className, ...props }: React_2.ComponentProps<"ul">): JSX.Element;
|
|
1643
1503
|
|
|
1644
1504
|
export declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React_2.ComponentProps<"button"> & {
|
|
@@ -1656,7 +1516,7 @@ export declare function SidebarMenuButton({ asChild, isActive, variant, size, to
|
|
|
1656
1516
|
|
|
1657
1517
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
1658
1518
|
variant?: "default" | "outline" | null | undefined;
|
|
1659
|
-
size?: "
|
|
1519
|
+
size?: "sm" | "default" | "lg" | null | undefined;
|
|
1660
1520
|
} & ClassProp) | undefined) => string;
|
|
1661
1521
|
|
|
1662
1522
|
export declare function SidebarMenuItem({ className, ...props }: React_2.ComponentProps<"li">): JSX.Element;
|
|
@@ -1675,12 +1535,6 @@ export declare function SidebarMenuSubButton({ asChild, size, isActive, classNam
|
|
|
1675
1535
|
|
|
1676
1536
|
export declare function SidebarMenuSubItem({ className, ...props }: React_2.ComponentProps<"li">): JSX.Element;
|
|
1677
1537
|
|
|
1678
|
-
export declare interface SidebarProps {
|
|
1679
|
-
items: SidebarItemProps[];
|
|
1680
|
-
activeItem?: string;
|
|
1681
|
-
onItemClick?: (label: string) => void;
|
|
1682
|
-
}
|
|
1683
|
-
|
|
1684
1538
|
export declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React_2.ComponentProps<"div"> & {
|
|
1685
1539
|
defaultOpen?: boolean;
|
|
1686
1540
|
open?: boolean;
|
|
@@ -1700,7 +1554,7 @@ export declare function Slider({ className, defaultValue, value, min, max, ...pr
|
|
|
1700
1554
|
export declare function Spinner({ className, size, ...props }: React.ComponentProps<"svg"> & VariantProps<typeof spinnerVariants>): JSX.Element;
|
|
1701
1555
|
|
|
1702
1556
|
export declare const spinnerVariants: (props?: ({
|
|
1703
|
-
size?: "
|
|
1557
|
+
size?: "sm" | "default" | "lg" | "md" | null | undefined;
|
|
1704
1558
|
} & ClassProp) | undefined) => string;
|
|
1705
1559
|
|
|
1706
1560
|
export declare function Switch({ className, size, ...props }: React_2.ComponentProps<typeof Switch_2.Root> & {
|
|
@@ -1959,7 +1813,7 @@ export declare function ToggleGroupItem({ className, children, variant, size, ..
|
|
|
1959
1813
|
|
|
1960
1814
|
export declare const toggleVariants: (props?: ({
|
|
1961
1815
|
variant?: "default" | "outline" | null | undefined;
|
|
1962
|
-
size?: "
|
|
1816
|
+
size?: "sm" | "default" | "lg" | null | undefined;
|
|
1963
1817
|
} & ClassProp) | undefined) => string;
|
|
1964
1818
|
|
|
1965
1819
|
export declare function Tooltip({ ...props }: React_2.ComponentProps<typeof Tooltip_2.Root>): JSX.Element;
|
|
@@ -1978,16 +1832,6 @@ export declare function useComboboxAnchor(): React_2.RefObject<HTMLDivElement |
|
|
|
1978
1832
|
|
|
1979
1833
|
export declare function useDataTable<TData = unknown>(): TableContextValue<TData>;
|
|
1980
1834
|
|
|
1981
|
-
declare interface UserProfileInfo {
|
|
1982
|
-
name: string;
|
|
1983
|
-
avatar?: string;
|
|
1984
|
-
}
|
|
1985
|
-
|
|
1986
|
-
declare interface UserProfileProps {
|
|
1987
|
-
name: string;
|
|
1988
|
-
avatar?: string;
|
|
1989
|
-
}
|
|
1990
|
-
|
|
1991
1835
|
export declare function useSearch(config: UseSearchConfig): UseSearchResult;
|
|
1992
1836
|
|
|
1993
1837
|
export declare type UseSearchConfig = {
|