@uipath/apollo-wind 2.64.0 → 2.65.0
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/index.cjs +80 -69
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.js +1 -0
- package/dist/components/ui/sidebar/index.cjs +113 -0
- package/dist/components/ui/sidebar/index.d.ts +10 -0
- package/dist/components/ui/sidebar/index.js +7 -0
- package/dist/components/ui/sidebar/sidebar-context.cjs +151 -0
- package/dist/components/ui/sidebar/sidebar-context.d.ts +39 -0
- package/dist/components/ui/sidebar/sidebar-context.js +108 -0
- package/dist/components/ui/sidebar/sidebar-group.cjs +87 -0
- package/dist/components/ui/sidebar/sidebar-group.d.ts +10 -0
- package/dist/components/ui/sidebar/sidebar-group.js +44 -0
- package/dist/components/ui/sidebar/sidebar-layout.cjs +92 -0
- package/dist/components/ui/sidebar/sidebar-layout.d.ts +7 -0
- package/dist/components/ui/sidebar/sidebar-layout.js +46 -0
- package/dist/components/ui/sidebar/sidebar-menu-sub.cjs +79 -0
- package/dist/components/ui/sidebar/sidebar-menu-sub.d.ts +11 -0
- package/dist/components/ui/sidebar/sidebar-menu-sub.js +39 -0
- package/dist/components/ui/sidebar/sidebar-menu.cjs +185 -0
- package/dist/components/ui/sidebar/sidebar-menu.d.ts +26 -0
- package/dist/components/ui/sidebar/sidebar-menu.js +133 -0
- package/dist/components/ui/sidebar/sidebar.cjs +220 -0
- package/dist/components/ui/sidebar/sidebar.d.ts +22 -0
- package/dist/components/ui/sidebar/sidebar.js +177 -0
- package/dist/index.cjs +94 -18
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -1
- package/dist/styles.css +626 -0
- package/package.json +1 -1
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { PanelLeftIcon } from "lucide-react";
|
|
4
|
+
import { forwardRef, useEffect, useMemo, useRef } from "react";
|
|
5
|
+
import { Button } from "../button.js";
|
|
6
|
+
import { Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle } from "../sheet.js";
|
|
7
|
+
import { cn, composeRefs } from "../../../lib/index.js";
|
|
8
|
+
import { SIDEBAR_WIDTH_MOBILE, useSidebar } from "./sidebar-context.js";
|
|
9
|
+
const HIDING_ATTRIBUTES = [
|
|
10
|
+
{
|
|
11
|
+
name: 'inert',
|
|
12
|
+
value: ''
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
name: 'aria-hidden',
|
|
16
|
+
value: 'true'
|
|
17
|
+
}
|
|
18
|
+
];
|
|
19
|
+
const Sidebar = /*#__PURE__*/ forwardRef(({ side = 'left', variant = 'sidebar', collapsible = 'offcanvas', className, children, ...props }, ref)=>{
|
|
20
|
+
const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
|
|
21
|
+
const containerRef = useRef(null);
|
|
22
|
+
const setContainerRef = useMemo(()=>composeRefs(containerRef, ref), [
|
|
23
|
+
ref
|
|
24
|
+
]);
|
|
25
|
+
const hiddenOffcanvas = 'offcanvas' === collapsible && 'collapsed' === state;
|
|
26
|
+
useEffect(()=>{
|
|
27
|
+
const inner = containerRef.current?.querySelector('[data-slot="sidebar-inner"]');
|
|
28
|
+
if (!inner || isMobile) return;
|
|
29
|
+
const sync = ()=>{
|
|
30
|
+
for (const child of Array.from(inner.children))if (!child.matches('[data-sidebar="rail"]')) for (const attr of HIDING_ATTRIBUTES){
|
|
31
|
+
const marker = `data-sidebar-set-${attr.name}`;
|
|
32
|
+
if (hiddenOffcanvas) {
|
|
33
|
+
if (!child.hasAttribute(attr.name)) {
|
|
34
|
+
child.setAttribute(attr.name, attr.value);
|
|
35
|
+
child.setAttribute(marker, '');
|
|
36
|
+
}
|
|
37
|
+
} else if (child.hasAttribute(marker)) {
|
|
38
|
+
child.removeAttribute(attr.name);
|
|
39
|
+
child.removeAttribute(marker);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
sync();
|
|
44
|
+
if (!hiddenOffcanvas || "u" < typeof MutationObserver) return;
|
|
45
|
+
const observer = new MutationObserver(sync);
|
|
46
|
+
observer.observe(inner, {
|
|
47
|
+
childList: true
|
|
48
|
+
});
|
|
49
|
+
return ()=>observer.disconnect();
|
|
50
|
+
}, [
|
|
51
|
+
hiddenOffcanvas,
|
|
52
|
+
isMobile
|
|
53
|
+
]);
|
|
54
|
+
if ('none' === collapsible) return /*#__PURE__*/ jsx("div", {
|
|
55
|
+
ref: ref,
|
|
56
|
+
"data-slot": "sidebar",
|
|
57
|
+
"data-sidebar": "sidebar",
|
|
58
|
+
className: cn('flex h-full w-(--sidebar-width) flex-col text-foreground', className),
|
|
59
|
+
...props,
|
|
60
|
+
children: children
|
|
61
|
+
});
|
|
62
|
+
if (isMobile) return /*#__PURE__*/ jsx(Sheet, {
|
|
63
|
+
open: openMobile,
|
|
64
|
+
onOpenChange: setOpenMobile,
|
|
65
|
+
children: /*#__PURE__*/ jsxs(SheetContent, {
|
|
66
|
+
ref: ref,
|
|
67
|
+
...props,
|
|
68
|
+
"data-sidebar": "sidebar",
|
|
69
|
+
"data-slot": "sidebar",
|
|
70
|
+
"data-mobile": "true",
|
|
71
|
+
className: cn('w-(--sidebar-width) max-w-none bg-surface p-0 text-foreground sm:max-w-none [&>button]:hidden', className),
|
|
72
|
+
style: {
|
|
73
|
+
'--sidebar-width': SIDEBAR_WIDTH_MOBILE,
|
|
74
|
+
...props.style
|
|
75
|
+
},
|
|
76
|
+
side: side,
|
|
77
|
+
children: [
|
|
78
|
+
/*#__PURE__*/ jsxs(SheetHeader, {
|
|
79
|
+
className: "sr-only",
|
|
80
|
+
children: [
|
|
81
|
+
/*#__PURE__*/ jsx(SheetTitle, {
|
|
82
|
+
children: "Sidebar"
|
|
83
|
+
}),
|
|
84
|
+
/*#__PURE__*/ jsx(SheetDescription, {
|
|
85
|
+
children: "Displays the mobile sidebar."
|
|
86
|
+
})
|
|
87
|
+
]
|
|
88
|
+
}),
|
|
89
|
+
/*#__PURE__*/ jsx("div", {
|
|
90
|
+
className: "flex h-full w-full flex-col",
|
|
91
|
+
children: children
|
|
92
|
+
})
|
|
93
|
+
]
|
|
94
|
+
})
|
|
95
|
+
});
|
|
96
|
+
return /*#__PURE__*/ jsxs("div", {
|
|
97
|
+
className: "group peer hidden text-foreground data-[side=right]:order-last md:block",
|
|
98
|
+
"data-state": state,
|
|
99
|
+
"data-collapsible": 'collapsed' === state ? collapsible : '',
|
|
100
|
+
"data-variant": variant,
|
|
101
|
+
"data-side": side,
|
|
102
|
+
"data-slot": "sidebar",
|
|
103
|
+
children: [
|
|
104
|
+
/*#__PURE__*/ jsx("div", {
|
|
105
|
+
"data-slot": "sidebar-gap",
|
|
106
|
+
className: cn('relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear', 'group-data-[collapsible=offcanvas]:w-0', 'group-data-[side=right]:rotate-180', 'floating' === variant || 'inset' === variant ? 'group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]' : 'group-data-[collapsible=icon]:w-(--sidebar-width-icon)')
|
|
107
|
+
}),
|
|
108
|
+
/*#__PURE__*/ jsx("div", {
|
|
109
|
+
ref: setContainerRef,
|
|
110
|
+
"data-slot": "sidebar-container",
|
|
111
|
+
className: cn('fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex', 'left' === side ? 'left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]' : 'right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]', 'floating' === variant || 'inset' === variant ? 'p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]' : 'border-border-subtle group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l', className),
|
|
112
|
+
...props,
|
|
113
|
+
children: /*#__PURE__*/ jsx("div", {
|
|
114
|
+
"data-sidebar": "sidebar",
|
|
115
|
+
"data-slot": "sidebar-inner",
|
|
116
|
+
className: "flex h-full w-full flex-col bg-surface group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-border-subtle group-data-[variant=floating]:shadow-sm",
|
|
117
|
+
children: children
|
|
118
|
+
})
|
|
119
|
+
})
|
|
120
|
+
]
|
|
121
|
+
});
|
|
122
|
+
});
|
|
123
|
+
Sidebar.displayName = 'Sidebar';
|
|
124
|
+
const SidebarTrigger = /*#__PURE__*/ forwardRef(({ className, onClick, ...props }, ref)=>{
|
|
125
|
+
const { toggleSidebar, open, openMobile, isMobile } = useSidebar();
|
|
126
|
+
return /*#__PURE__*/ jsxs(Button, {
|
|
127
|
+
ref: ref,
|
|
128
|
+
"aria-expanded": isMobile ? openMobile : open,
|
|
129
|
+
"data-sidebar": "trigger",
|
|
130
|
+
"data-slot": "sidebar-trigger",
|
|
131
|
+
variant: "ghost",
|
|
132
|
+
size: "2xs",
|
|
133
|
+
icon: true,
|
|
134
|
+
className: className,
|
|
135
|
+
onClick: (event)=>{
|
|
136
|
+
onClick?.(event);
|
|
137
|
+
toggleSidebar();
|
|
138
|
+
},
|
|
139
|
+
...props,
|
|
140
|
+
children: [
|
|
141
|
+
/*#__PURE__*/ jsx(PanelLeftIcon, {}),
|
|
142
|
+
/*#__PURE__*/ jsx("span", {
|
|
143
|
+
className: "sr-only",
|
|
144
|
+
children: "Toggle Sidebar"
|
|
145
|
+
})
|
|
146
|
+
]
|
|
147
|
+
});
|
|
148
|
+
});
|
|
149
|
+
SidebarTrigger.displayName = 'SidebarTrigger';
|
|
150
|
+
const SidebarRail = /*#__PURE__*/ forwardRef(({ className, onClick, ...props }, ref)=>{
|
|
151
|
+
const { toggleSidebar, open } = useSidebar();
|
|
152
|
+
return /*#__PURE__*/ jsx("button", {
|
|
153
|
+
ref: ref,
|
|
154
|
+
"aria-expanded": open,
|
|
155
|
+
type: "button",
|
|
156
|
+
"data-sidebar": "rail",
|
|
157
|
+
"data-slot": "sidebar-rail",
|
|
158
|
+
"aria-label": "Toggle Sidebar",
|
|
159
|
+
tabIndex: -1,
|
|
160
|
+
onClick: (event)=>{
|
|
161
|
+
onClick?.(event);
|
|
162
|
+
toggleSidebar();
|
|
163
|
+
},
|
|
164
|
+
title: "Toggle Sidebar",
|
|
165
|
+
className: cn('absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] hover:after:bg-border-subtle md:flex', 'in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize', '[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize', 'group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full hover:group-data-[collapsible=offcanvas]:bg-surface', '[[data-side=left][data-collapsible=offcanvas]_&]:-right-2', '[[data-side=right][data-collapsible=offcanvas]_&]:-left-2', className),
|
|
166
|
+
...props
|
|
167
|
+
});
|
|
168
|
+
});
|
|
169
|
+
SidebarRail.displayName = 'SidebarRail';
|
|
170
|
+
const SidebarInset = /*#__PURE__*/ forwardRef(({ className, ...props }, ref)=>/*#__PURE__*/ jsx("main", {
|
|
171
|
+
ref: ref,
|
|
172
|
+
"data-slot": "sidebar-inset",
|
|
173
|
+
className: cn('relative flex w-full flex-1 flex-col bg-background', 'md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2', 'md:peer-data-[variant=inset]:peer-data-[side=right]:mr-0 md:peer-data-[variant=inset]:peer-data-[side=right]:ml-2 md:peer-data-[variant=inset]:peer-data-[side=right]:peer-data-[state=collapsed]:mr-2', className),
|
|
174
|
+
...props
|
|
175
|
+
}));
|
|
176
|
+
SidebarInset.displayName = 'SidebarInset';
|
|
177
|
+
export { Sidebar, SidebarInset, SidebarRail, SidebarTrigger };
|
package/dist/index.cjs
CHANGED
|
@@ -39,12 +39,14 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
39
39
|
isValueModeEnvelope: ()=>value_modes_cjs_namespaceObject.isValueModeEnvelope,
|
|
40
40
|
StringListField: ()=>string_list_field_cjs_namespaceObject.StringListField,
|
|
41
41
|
createStateTokenNode: ()=>prompt_editor_index_cjs_namespaceObject.createStateTokenNode,
|
|
42
|
+
SidebarContent: ()=>sidebar_index_cjs_namespaceObject.SidebarContent,
|
|
42
43
|
schemaDisplayType: ()=>json_tree_view_index_cjs_namespaceObject.schemaDisplayType,
|
|
43
44
|
Row: ()=>row_cjs_namespaceObject.Row,
|
|
44
45
|
Combobox: ()=>combobox_cjs_namespaceObject.Combobox,
|
|
45
46
|
DropdownMenuSubContent: ()=>dropdown_menu_cjs_namespaceObject.DropdownMenuSubContent,
|
|
46
47
|
PromptValueControl: ()=>prompt_value_control_cjs_namespaceObject.PromptValueControl,
|
|
47
48
|
CommandEmpty: ()=>command_cjs_namespaceObject.CommandEmpty,
|
|
49
|
+
SidebarGroupContent: ()=>sidebar_index_cjs_namespaceObject.SidebarGroupContent,
|
|
48
50
|
Skeleton: ()=>skeleton_cjs_namespaceObject.Skeleton,
|
|
49
51
|
FIELD_TYPE_ORDER: ()=>quick_form_field_index_cjs_namespaceObject.FIELD_TYPE_ORDER,
|
|
50
52
|
FormFieldHeader: ()=>form_field_cjs_namespaceObject.FormFieldHeader,
|
|
@@ -62,7 +64,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
62
64
|
filterModels: ()=>model_picker_index_cjs_namespaceObject.filterModels,
|
|
63
65
|
CommandSeparator: ()=>command_cjs_namespaceObject.CommandSeparator,
|
|
64
66
|
PromptEditor: ()=>prompt_editor_index_cjs_namespaceObject.PromptEditor,
|
|
65
|
-
|
|
67
|
+
SidebarGroupAction: ()=>sidebar_index_cjs_namespaceObject.SidebarGroupAction,
|
|
66
68
|
DrawerContent: ()=>drawer_cjs_namespaceObject.DrawerContent,
|
|
67
69
|
DrawerDescription: ()=>drawer_cjs_namespaceObject.DrawerDescription,
|
|
68
70
|
FileTreeView: ()=>tree_view_cjs_default(),
|
|
@@ -71,8 +73,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
71
73
|
ModalTitle: ()=>dialog_cjs_namespaceObject.ModalTitle,
|
|
72
74
|
OutputTokenNode: ()=>prompt_editor_index_cjs_namespaceObject.OutputTokenNode,
|
|
73
75
|
SheetOverlay: ()=>sheet_cjs_namespaceObject.SheetOverlay,
|
|
76
|
+
SidebarProvider: ()=>sidebar_index_cjs_namespaceObject.SidebarProvider,
|
|
77
|
+
Spinner: ()=>spinner_cjs_namespaceObject.Spinner,
|
|
74
78
|
TabsList: ()=>tabs_cjs_namespaceObject.TabsList,
|
|
75
|
-
buttonVariants: ()=>button_cjs_namespaceObject.buttonVariants,
|
|
76
79
|
TableBody: ()=>table_cjs_namespaceObject.TableBody,
|
|
77
80
|
AvatarImage: ()=>avatar_cjs_namespaceObject.AvatarImage,
|
|
78
81
|
RuleBuilder: ()=>rules_engine_cjs_namespaceObject.RuleBuilder,
|
|
@@ -83,6 +86,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
83
86
|
FolderPicker: ()=>folder_picker_index_cjs_namespaceObject.FolderPicker,
|
|
84
87
|
badgeVariants: ()=>badge_cjs_namespaceObject.badgeVariants,
|
|
85
88
|
FormFieldDescription: ()=>form_field_cjs_namespaceObject.FormFieldDescription,
|
|
89
|
+
buttonVariants: ()=>button_cjs_namespaceObject.buttonVariants,
|
|
86
90
|
createEditableColumn: ()=>editable_cell_cjs_namespaceObject.createEditableColumn,
|
|
87
91
|
resolveLabels: ()=>model_picker_index_cjs_namespaceObject.resolveLabels,
|
|
88
92
|
toggleVariants: ()=>toggle_cjs_namespaceObject.toggleVariants,
|
|
@@ -119,6 +123,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
119
123
|
SheetTitle: ()=>sheet_cjs_namespaceObject.SheetTitle,
|
|
120
124
|
AccordionContent: ()=>accordion_cjs_namespaceObject.AccordionContent,
|
|
121
125
|
buildJsonTree: ()=>json_tree_view_index_cjs_namespaceObject.buildJsonTree,
|
|
126
|
+
sidebarMenuButtonVariants: ()=>sidebar_index_cjs_namespaceObject.sidebarMenuButtonVariants,
|
|
127
|
+
SidebarMenuSkeleton: ()=>sidebar_index_cjs_namespaceObject.SidebarMenuSkeleton,
|
|
122
128
|
DialogPortal: ()=>dialog_cjs_namespaceObject.DialogPortal,
|
|
123
129
|
DropdownMenuSub: ()=>dropdown_menu_cjs_namespaceObject.DropdownMenuSub,
|
|
124
130
|
ModalContent: ()=>dialog_cjs_namespaceObject.ModalContent,
|
|
@@ -136,19 +142,24 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
136
142
|
ChartLegendContent: ()=>chart_cjs_namespaceObject.ChartLegendContent,
|
|
137
143
|
ModeAwareField: ()=>mode_aware_field_cjs_namespaceObject.ModeAwareField,
|
|
138
144
|
Popover: ()=>popover_cjs_namespaceObject.Popover,
|
|
139
|
-
|
|
145
|
+
SidebarMenuSubButton: ()=>sidebar_index_cjs_namespaceObject.SidebarMenuSubButton,
|
|
140
146
|
TableCell: ()=>table_cjs_namespaceObject.TableCell,
|
|
141
147
|
TooltipPortal: ()=>tooltip_cjs_namespaceObject.TooltipPortal,
|
|
142
148
|
ModalTrigger: ()=>dialog_cjs_namespaceObject.ModalTrigger,
|
|
149
|
+
builtInValueModes: ()=>field_addons_index_cjs_namespaceObject.builtInValueModes,
|
|
143
150
|
createResourceTokenNode: ()=>prompt_editor_index_cjs_namespaceObject.createResourceTokenNode,
|
|
144
151
|
Toggle: ()=>toggle_cjs_namespaceObject.Toggle,
|
|
145
152
|
Switch: ()=>switch_cjs_namespaceObject.Switch,
|
|
153
|
+
Sidebar: ()=>sidebar_index_cjs_namespaceObject.Sidebar,
|
|
146
154
|
resolveHomeGeography: ()=>model_picker_index_cjs_namespaceObject.resolveHomeGeography,
|
|
147
155
|
formatTemplate: ()=>string_list_field_cjs_namespaceObject.formatTemplate,
|
|
148
156
|
keepFolderSearchOnEscape: ()=>folder_picker_index_cjs_namespaceObject.keepFolderSearchOnEscape,
|
|
149
157
|
ModalPortal: ()=>dialog_cjs_namespaceObject.ModalPortal,
|
|
150
158
|
AlertDialogHeader: ()=>alert_dialog_cjs_namespaceObject.AlertDialogHeader,
|
|
159
|
+
useSidebar: ()=>sidebar_index_cjs_namespaceObject.useSidebar,
|
|
160
|
+
SidebarInput: ()=>sidebar_index_cjs_namespaceObject.SidebarInput,
|
|
151
161
|
AlertDialogAction: ()=>alert_dialog_cjs_namespaceObject.AlertDialogAction,
|
|
162
|
+
SidebarGroup: ()=>sidebar_index_cjs_namespaceObject.SidebarGroup,
|
|
152
163
|
TableHead: ()=>table_cjs_namespaceObject.TableHead,
|
|
153
164
|
Tabs: ()=>tabs_cjs_namespaceObject.Tabs,
|
|
154
165
|
InputTokenNode: ()=>prompt_editor_index_cjs_namespaceObject.InputTokenNode,
|
|
@@ -162,6 +173,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
162
173
|
CommandGroup: ()=>command_cjs_namespaceObject.CommandGroup,
|
|
163
174
|
RulesEngine: ()=>rules_engine_cjs_namespaceObject.RulesEngine,
|
|
164
175
|
InputGroupButton: ()=>input_group_cjs_namespaceObject.InputGroupButton,
|
|
176
|
+
SidebarRail: ()=>sidebar_index_cjs_namespaceObject.SidebarRail,
|
|
165
177
|
PickerPopup: ()=>model_picker_index_cjs_namespaceObject.PickerPopup,
|
|
166
178
|
ChartTooltipContent: ()=>chart_cjs_namespaceObject.ChartTooltipContent,
|
|
167
179
|
SelectScrollDownButton: ()=>select_cjs_namespaceObject.SelectScrollDownButton,
|
|
@@ -193,8 +205,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
193
205
|
DropdownMenuRadioItem: ()=>dropdown_menu_cjs_namespaceObject.DropdownMenuRadioItem,
|
|
194
206
|
CommandDialog: ()=>command_cjs_namespaceObject.CommandDialog,
|
|
195
207
|
ResizableHandle: ()=>resizable_cjs_namespaceObject.ResizableHandle,
|
|
196
|
-
|
|
208
|
+
SidebarMenuBadge: ()=>sidebar_index_cjs_namespaceObject.SidebarMenuBadge,
|
|
197
209
|
Accordion: ()=>accordion_cjs_namespaceObject.Accordion,
|
|
210
|
+
TokenPillWithTooltip: ()=>prompt_editor_index_cjs_namespaceObject.TokenPillWithTooltip,
|
|
198
211
|
ValueModeSwitchDialog: ()=>field_addons_index_cjs_namespaceObject.ValueModeSwitchDialog,
|
|
199
212
|
collectContainerPaths: ()=>json_tree_view_index_cjs_namespaceObject.collectContainerPaths,
|
|
200
213
|
resolveVariables: ()=>field_actions_cjs_namespaceObject.resolveVariables,
|
|
@@ -246,14 +259,14 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
246
259
|
LockableValueField: ()=>lockable_value_field_index_cjs_namespaceObject.LockableValueField,
|
|
247
260
|
SelectGroup: ()=>select_cjs_namespaceObject.SelectGroup,
|
|
248
261
|
Separator: ()=>separator_cjs_namespaceObject.Separator,
|
|
249
|
-
|
|
262
|
+
SidebarMenuAction: ()=>sidebar_index_cjs_namespaceObject.SidebarMenuAction,
|
|
250
263
|
DateRangePicker: ()=>date_picker_cjs_namespaceObject.DateRangePicker,
|
|
251
264
|
ContextMenuContent: ()=>context_menu_cjs_namespaceObject.ContextMenuContent,
|
|
252
265
|
Pagination: ()=>pagination_cjs_namespaceObject.Pagination,
|
|
253
|
-
|
|
266
|
+
VariablePickerContent: ()=>variable_picker_index_cjs_namespaceObject.VariablePickerContent,
|
|
254
267
|
ModelOptionRow: ()=>model_picker_index_cjs_namespaceObject.ModelOptionRow,
|
|
255
268
|
ChartTooltip: ()=>chart_cjs_namespaceObject.ChartTooltip,
|
|
256
|
-
|
|
269
|
+
createClearAction: ()=>field_actions_cjs_namespaceObject.createClearAction,
|
|
257
270
|
FormFieldRenderer: ()=>field_renderer_cjs_namespaceObject.FormFieldRenderer,
|
|
258
271
|
DrawerTitle: ()=>drawer_cjs_namespaceObject.DrawerTitle,
|
|
259
272
|
EditableCell: ()=>editable_cell_cjs_namespaceObject.EditableCell,
|
|
@@ -262,6 +275,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
262
275
|
TabsContent: ()=>tabs_cjs_namespaceObject.TabsContent,
|
|
263
276
|
TooltipContent: ()=>tooltip_cjs_namespaceObject.TooltipContent,
|
|
264
277
|
DropdownMenuGroup: ()=>dropdown_menu_cjs_namespaceObject.DropdownMenuGroup,
|
|
278
|
+
inferTokenTypeFromPath: ()=>prompt_editor_index_cjs_namespaceObject.inferTokenTypeFromPath,
|
|
265
279
|
useWatch: ()=>metadata_form_cjs_namespaceObject.useWatch,
|
|
266
280
|
ContextMenuItem: ()=>context_menu_cjs_namespaceObject.ContextMenuItem,
|
|
267
281
|
getValueAtPath: ()=>json_tree_view_index_cjs_namespaceObject.getValueAtPath,
|
|
@@ -298,15 +312,16 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
298
312
|
VARIABLE_DRAG_MIME: ()=>prompt_editor_index_cjs_namespaceObject.VARIABLE_DRAG_MIME,
|
|
299
313
|
DataFetcher: ()=>data_fetcher_cjs_namespaceObject.DataFetcher,
|
|
300
314
|
analyticsPlugin: ()=>form_plugins_cjs_namespaceObject.analyticsPlugin,
|
|
315
|
+
SidebarSeparator: ()=>sidebar_index_cjs_namespaceObject.SidebarSeparator,
|
|
301
316
|
DEFAULT_JSON_TREE_VIEW_STRINGS: ()=>json_tree_view_index_cjs_namespaceObject.DEFAULT_JSON_TREE_VIEW_STRINGS,
|
|
302
317
|
VariableValueControl: ()=>variable_value_control_cjs_namespaceObject.VariableValueControl,
|
|
303
318
|
ButtonGroup: ()=>button_group_cjs_namespaceObject.ButtonGroup,
|
|
304
319
|
PopoverContent: ()=>popover_cjs_namespaceObject.PopoverContent,
|
|
305
320
|
DialogOverlay: ()=>dialog_cjs_namespaceObject.DialogOverlay,
|
|
306
321
|
StateTokenNode: ()=>prompt_editor_index_cjs_namespaceObject.StateTokenNode,
|
|
307
|
-
|
|
322
|
+
SidebarInset: ()=>sidebar_index_cjs_namespaceObject.SidebarInset,
|
|
308
323
|
CardFooter: ()=>card_cjs_namespaceObject.CardFooter,
|
|
309
|
-
|
|
324
|
+
SidebarMenuButton: ()=>sidebar_index_cjs_namespaceObject.SidebarMenuButton,
|
|
310
325
|
Avatar: ()=>avatar_cjs_namespaceObject.Avatar,
|
|
311
326
|
BreadcrumbSeparator: ()=>breadcrumb_cjs_namespaceObject.BreadcrumbSeparator,
|
|
312
327
|
DataTable: ()=>data_table_cjs_namespaceObject.DataTable,
|
|
@@ -314,19 +329,22 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
314
329
|
ModalFooter: ()=>dialog_cjs_namespaceObject.ModalFooter,
|
|
315
330
|
SheetTrigger: ()=>sheet_cjs_namespaceObject.SheetTrigger,
|
|
316
331
|
Calendar: ()=>calendar_cjs_namespaceObject.Calendar,
|
|
332
|
+
StatsCard: ()=>stats_card_cjs_namespaceObject.StatsCard,
|
|
317
333
|
TabsTrigger: ()=>tabs_cjs_namespaceObject.TabsTrigger,
|
|
318
|
-
Tooltip: ()=>tooltip_cjs_namespaceObject.Tooltip,
|
|
319
334
|
InputGroupAddon: ()=>input_group_cjs_namespaceObject.InputGroupAddon,
|
|
320
|
-
|
|
321
|
-
|
|
335
|
+
Tooltip: ()=>tooltip_cjs_namespaceObject.Tooltip,
|
|
336
|
+
VariablePicker: ()=>variable_picker_index_cjs_namespaceObject.VariablePicker,
|
|
322
337
|
AlertTitle: ()=>alert_cjs_namespaceObject.AlertTitle,
|
|
338
|
+
deriveModelTags: ()=>model_picker_index_cjs_namespaceObject.deriveModelTags,
|
|
323
339
|
Collapsible: ()=>collapsible_cjs_namespaceObject.Collapsible,
|
|
340
|
+
getSubstitutionTarget: ()=>model_picker_index_cjs_namespaceObject.getSubstitutionTarget,
|
|
324
341
|
DateTimePicker: ()=>datetime_picker_cjs_namespaceObject.DateTimePicker,
|
|
325
342
|
PaginationEllipsis: ()=>pagination_cjs_namespaceObject.PaginationEllipsis,
|
|
326
343
|
DialogDescription: ()=>dialog_cjs_namespaceObject.DialogDescription,
|
|
327
344
|
isTextGenerationModel: ()=>model_picker_index_cjs_namespaceObject.isTextGenerationModel,
|
|
328
345
|
CommandShortcut: ()=>command_cjs_namespaceObject.CommandShortcut,
|
|
329
346
|
Textarea: ()=>textarea_cjs_namespaceObject.Textarea,
|
|
347
|
+
SidebarFooter: ()=>sidebar_index_cjs_namespaceObject.SidebarFooter,
|
|
330
348
|
SelectItem: ()=>select_cjs_namespaceObject.SelectItem,
|
|
331
349
|
formatContextWindow: ()=>model_picker_index_cjs_namespaceObject.formatContextWindow,
|
|
332
350
|
DialogClose: ()=>dialog_cjs_namespaceObject.DialogClose,
|
|
@@ -338,14 +356,15 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
338
356
|
InputGroupTrigger: ()=>input_group_cjs_namespaceObject.InputGroupTrigger,
|
|
339
357
|
Modal: ()=>dialog_cjs_namespaceObject.Modal,
|
|
340
358
|
ModalDescription: ()=>dialog_cjs_namespaceObject.ModalDescription,
|
|
359
|
+
SidebarMenu: ()=>sidebar_index_cjs_namespaceObject.SidebarMenu,
|
|
341
360
|
Table: ()=>table_cjs_namespaceObject.Table,
|
|
342
361
|
createAiAssistAction: ()=>field_actions_cjs_namespaceObject.createAiAssistAction,
|
|
343
362
|
inputGroupVariants: ()=>input_group_cjs_namespaceObject.inputGroupVariants,
|
|
344
|
-
|
|
363
|
+
SidebarMenuItem: ()=>sidebar_index_cjs_namespaceObject.SidebarMenuItem,
|
|
345
364
|
getAllPromptTokenNodes: ()=>prompt_editor_index_cjs_namespaceObject.getAllPromptTokenNodes,
|
|
346
365
|
BreadcrumbPage: ()=>breadcrumb_cjs_namespaceObject.BreadcrumbPage,
|
|
347
366
|
DEFAULT_VALUE_MODE_STRINGS: ()=>field_addons_index_cjs_namespaceObject.DEFAULT_VALUE_MODE_STRINGS,
|
|
348
|
-
|
|
367
|
+
SidebarGroupLabel: ()=>sidebar_index_cjs_namespaceObject.SidebarGroupLabel,
|
|
349
368
|
ContextMenuPortal: ()=>context_menu_cjs_namespaceObject.ContextMenuPortal,
|
|
350
369
|
ModalHeader: ()=>dialog_cjs_namespaceObject.ModalHeader,
|
|
351
370
|
ContextMenuRadioGroup: ()=>context_menu_cjs_namespaceObject.ContextMenuRadioGroup,
|
|
@@ -353,22 +372,27 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
353
372
|
InputGroup: ()=>input_group_cjs_namespaceObject.InputGroup,
|
|
354
373
|
CommandList: ()=>command_cjs_namespaceObject.CommandList,
|
|
355
374
|
AccordionTrigger: ()=>accordion_cjs_namespaceObject.AccordionTrigger,
|
|
356
|
-
|
|
375
|
+
ToggleGroupItem: ()=>toggle_group_cjs_namespaceObject.ToggleGroupItem,
|
|
357
376
|
InsertVariableAction: ()=>index_cjs_namespaceObject.InsertVariableAction,
|
|
358
377
|
PaginationPrevious: ()=>pagination_cjs_namespaceObject.PaginationPrevious,
|
|
359
|
-
|
|
378
|
+
SidebarMenuSub: ()=>sidebar_index_cjs_namespaceObject.SidebarMenuSub,
|
|
360
379
|
SheetPortal: ()=>sheet_cjs_namespaceObject.SheetPortal,
|
|
361
380
|
appendPathSegment: ()=>json_tree_view_index_cjs_namespaceObject.appendPathSegment,
|
|
362
381
|
DEFAULT_BOOLEAN_RADIO_GROUP_STRINGS: ()=>boolean_radio_group_cjs_namespaceObject.DEFAULT_BOOLEAN_RADIO_GROUP_STRINGS,
|
|
363
|
-
|
|
382
|
+
isEmptyModeValue: ()=>value_modes_cjs_namespaceObject.isEmptyModeValue,
|
|
364
383
|
DEFAULT_QUICK_FORM_FIELD_STRINGS: ()=>quick_form_field_index_cjs_namespaceObject.DEFAULT_QUICK_FORM_FIELD_STRINGS,
|
|
384
|
+
isFileField: ()=>form_schema_cjs_namespaceObject.isFileField,
|
|
365
385
|
AlertDialogDescription: ()=>alert_dialog_cjs_namespaceObject.AlertDialogDescription,
|
|
366
386
|
groupModels: ()=>model_picker_index_cjs_namespaceObject.groupModels,
|
|
367
387
|
CommandInput: ()=>command_cjs_namespaceObject.CommandInput,
|
|
368
388
|
JsonTreeViewProvider: ()=>json_tree_view_index_cjs_namespaceObject.JsonTreeViewProvider,
|
|
369
|
-
|
|
389
|
+
SidebarHeader: ()=>sidebar_index_cjs_namespaceObject.SidebarHeader,
|
|
370
390
|
DropdownMenu: ()=>dropdown_menu_cjs_namespaceObject.DropdownMenu,
|
|
391
|
+
SidebarTrigger: ()=>sidebar_index_cjs_namespaceObject.SidebarTrigger,
|
|
392
|
+
optionDomId: ()=>model_picker_index_cjs_namespaceObject.optionDomId,
|
|
393
|
+
removeValueAtPath: ()=>json_tree_view_index_cjs_namespaceObject.removeValueAtPath,
|
|
371
394
|
useInputGroup: ()=>input_group_cjs_namespaceObject.useInputGroup,
|
|
395
|
+
workflowPlugin: ()=>form_plugins_cjs_namespaceObject.workflowPlugin,
|
|
372
396
|
Drawer: ()=>drawer_cjs_namespaceObject.Drawer,
|
|
373
397
|
Progress: ()=>progress_cjs_namespaceObject.Progress,
|
|
374
398
|
DataTableColumnHeader: ()=>data_table_cjs_namespaceObject.DataTableColumnHeader,
|
|
@@ -401,6 +425,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
401
425
|
normalizeVariablePath: ()=>prompt_editor_index_cjs_namespaceObject.normalizeVariablePath,
|
|
402
426
|
Breadcrumb: ()=>breadcrumb_cjs_namespaceObject.Breadcrumb,
|
|
403
427
|
ContextMenuShortcut: ()=>context_menu_cjs_namespaceObject.ContextMenuShortcut,
|
|
428
|
+
SidebarMenuSubItem: ()=>sidebar_index_cjs_namespaceObject.SidebarMenuSubItem,
|
|
404
429
|
CardHeader: ()=>card_cjs_namespaceObject.CardHeader,
|
|
405
430
|
HoverCardContent: ()=>hover_card_cjs_namespaceObject.HoverCardContent,
|
|
406
431
|
VirtualOptionList: ()=>model_picker_index_cjs_namespaceObject.VirtualOptionList,
|
|
@@ -477,6 +502,7 @@ const search_cjs_namespaceObject = require("./components/ui/search.cjs");
|
|
|
477
502
|
const select_cjs_namespaceObject = require("./components/ui/select.cjs");
|
|
478
503
|
const separator_cjs_namespaceObject = require("./components/ui/separator.cjs");
|
|
479
504
|
const sheet_cjs_namespaceObject = require("./components/ui/sheet.cjs");
|
|
505
|
+
const sidebar_index_cjs_namespaceObject = require("./components/ui/sidebar/index.cjs");
|
|
480
506
|
const skeleton_cjs_namespaceObject = require("./components/ui/skeleton.cjs");
|
|
481
507
|
const slider_cjs_namespaceObject = require("./components/ui/slider.cjs");
|
|
482
508
|
const sonner_cjs_namespaceObject = require("./components/ui/sonner.cjs");
|
|
@@ -755,6 +781,29 @@ exports.SheetOverlay = __webpack_exports__.SheetOverlay;
|
|
|
755
781
|
exports.SheetPortal = __webpack_exports__.SheetPortal;
|
|
756
782
|
exports.SheetTitle = __webpack_exports__.SheetTitle;
|
|
757
783
|
exports.SheetTrigger = __webpack_exports__.SheetTrigger;
|
|
784
|
+
exports.Sidebar = __webpack_exports__.Sidebar;
|
|
785
|
+
exports.SidebarContent = __webpack_exports__.SidebarContent;
|
|
786
|
+
exports.SidebarFooter = __webpack_exports__.SidebarFooter;
|
|
787
|
+
exports.SidebarGroup = __webpack_exports__.SidebarGroup;
|
|
788
|
+
exports.SidebarGroupAction = __webpack_exports__.SidebarGroupAction;
|
|
789
|
+
exports.SidebarGroupContent = __webpack_exports__.SidebarGroupContent;
|
|
790
|
+
exports.SidebarGroupLabel = __webpack_exports__.SidebarGroupLabel;
|
|
791
|
+
exports.SidebarHeader = __webpack_exports__.SidebarHeader;
|
|
792
|
+
exports.SidebarInput = __webpack_exports__.SidebarInput;
|
|
793
|
+
exports.SidebarInset = __webpack_exports__.SidebarInset;
|
|
794
|
+
exports.SidebarMenu = __webpack_exports__.SidebarMenu;
|
|
795
|
+
exports.SidebarMenuAction = __webpack_exports__.SidebarMenuAction;
|
|
796
|
+
exports.SidebarMenuBadge = __webpack_exports__.SidebarMenuBadge;
|
|
797
|
+
exports.SidebarMenuButton = __webpack_exports__.SidebarMenuButton;
|
|
798
|
+
exports.SidebarMenuItem = __webpack_exports__.SidebarMenuItem;
|
|
799
|
+
exports.SidebarMenuSkeleton = __webpack_exports__.SidebarMenuSkeleton;
|
|
800
|
+
exports.SidebarMenuSub = __webpack_exports__.SidebarMenuSub;
|
|
801
|
+
exports.SidebarMenuSubButton = __webpack_exports__.SidebarMenuSubButton;
|
|
802
|
+
exports.SidebarMenuSubItem = __webpack_exports__.SidebarMenuSubItem;
|
|
803
|
+
exports.SidebarProvider = __webpack_exports__.SidebarProvider;
|
|
804
|
+
exports.SidebarRail = __webpack_exports__.SidebarRail;
|
|
805
|
+
exports.SidebarSeparator = __webpack_exports__.SidebarSeparator;
|
|
806
|
+
exports.SidebarTrigger = __webpack_exports__.SidebarTrigger;
|
|
758
807
|
exports.Skeleton = __webpack_exports__.Skeleton;
|
|
759
808
|
exports.Slider = __webpack_exports__.Slider;
|
|
760
809
|
exports.Spinner = __webpack_exports__.Spinner;
|
|
@@ -860,12 +909,14 @@ exports.resolveVariables = __webpack_exports__.resolveVariables;
|
|
|
860
909
|
exports.schemaDisplayType = __webpack_exports__.schemaDisplayType;
|
|
861
910
|
exports.setEditorTokens = __webpack_exports__.setEditorTokens;
|
|
862
911
|
exports.setValueAtPath = __webpack_exports__.setValueAtPath;
|
|
912
|
+
exports.sidebarMenuButtonVariants = __webpack_exports__.sidebarMenuButtonVariants;
|
|
863
913
|
exports.spinnerVariants = __webpack_exports__.spinnerVariants;
|
|
864
914
|
exports.toast = __webpack_exports__.toast;
|
|
865
915
|
exports.toggleVariants = __webpack_exports__.toggleVariants;
|
|
866
916
|
exports.useInputGroup = __webpack_exports__.useInputGroup;
|
|
867
917
|
exports.useJsonTreeViewStrings = __webpack_exports__.useJsonTreeViewStrings;
|
|
868
918
|
exports.useModelPickerState = __webpack_exports__.useModelPickerState;
|
|
919
|
+
exports.useSidebar = __webpack_exports__.useSidebar;
|
|
869
920
|
exports.useWatch = __webpack_exports__.useWatch;
|
|
870
921
|
exports.validationPlugin = __webpack_exports__.validationPlugin;
|
|
871
922
|
exports.workflowPlugin = __webpack_exports__.workflowPlugin;
|
|
@@ -1129,6 +1180,29 @@ for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
|
1129
1180
|
"SheetPortal",
|
|
1130
1181
|
"SheetTitle",
|
|
1131
1182
|
"SheetTrigger",
|
|
1183
|
+
"Sidebar",
|
|
1184
|
+
"SidebarContent",
|
|
1185
|
+
"SidebarFooter",
|
|
1186
|
+
"SidebarGroup",
|
|
1187
|
+
"SidebarGroupAction",
|
|
1188
|
+
"SidebarGroupContent",
|
|
1189
|
+
"SidebarGroupLabel",
|
|
1190
|
+
"SidebarHeader",
|
|
1191
|
+
"SidebarInput",
|
|
1192
|
+
"SidebarInset",
|
|
1193
|
+
"SidebarMenu",
|
|
1194
|
+
"SidebarMenuAction",
|
|
1195
|
+
"SidebarMenuBadge",
|
|
1196
|
+
"SidebarMenuButton",
|
|
1197
|
+
"SidebarMenuItem",
|
|
1198
|
+
"SidebarMenuSkeleton",
|
|
1199
|
+
"SidebarMenuSub",
|
|
1200
|
+
"SidebarMenuSubButton",
|
|
1201
|
+
"SidebarMenuSubItem",
|
|
1202
|
+
"SidebarProvider",
|
|
1203
|
+
"SidebarRail",
|
|
1204
|
+
"SidebarSeparator",
|
|
1205
|
+
"SidebarTrigger",
|
|
1132
1206
|
"Skeleton",
|
|
1133
1207
|
"Slider",
|
|
1134
1208
|
"Spinner",
|
|
@@ -1234,12 +1308,14 @@ for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
|
1234
1308
|
"schemaDisplayType",
|
|
1235
1309
|
"setEditorTokens",
|
|
1236
1310
|
"setValueAtPath",
|
|
1311
|
+
"sidebarMenuButtonVariants",
|
|
1237
1312
|
"spinnerVariants",
|
|
1238
1313
|
"toast",
|
|
1239
1314
|
"toggleVariants",
|
|
1240
1315
|
"useInputGroup",
|
|
1241
1316
|
"useJsonTreeViewStrings",
|
|
1242
1317
|
"useModelPickerState",
|
|
1318
|
+
"useSidebar",
|
|
1243
1319
|
"useWatch",
|
|
1244
1320
|
"validationPlugin",
|
|
1245
1321
|
"workflowPlugin"
|
package/dist/index.d.ts
CHANGED
|
@@ -109,6 +109,8 @@ export type { SelectTriggerProps } from './components/ui/select';
|
|
|
109
109
|
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, } from './components/ui/select';
|
|
110
110
|
export { Separator } from './components/ui/separator';
|
|
111
111
|
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, } from './components/ui/sheet';
|
|
112
|
+
export type { SidebarMenuButtonProps, SidebarMenuSubButtonProps, SidebarProps, SidebarProviderProps, } from './components/ui/sidebar';
|
|
113
|
+
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, sidebarMenuButtonVariants, useSidebar, } from './components/ui/sidebar';
|
|
112
114
|
export { Skeleton } from './components/ui/skeleton';
|
|
113
115
|
export { Slider } from './components/ui/slider';
|
|
114
116
|
export { Toaster, toast } from './components/ui/sonner';
|
package/dist/index.js
CHANGED
|
@@ -68,6 +68,7 @@ import { Search, SearchWithSuggestions } from "./components/ui/search.js";
|
|
|
68
68
|
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue } from "./components/ui/select.js";
|
|
69
69
|
import { Separator } from "./components/ui/separator.js";
|
|
70
70
|
import { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger } from "./components/ui/sheet.js";
|
|
71
|
+
import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, sidebarMenuButtonVariants, useSidebar } from "./components/ui/sidebar/index.js";
|
|
71
72
|
import { Skeleton } from "./components/ui/skeleton.js";
|
|
72
73
|
import { Slider } from "./components/ui/slider.js";
|
|
73
74
|
import { Toaster, toast } from "./components/ui/sonner.js";
|
|
@@ -86,4 +87,4 @@ import tree_view, { TreeView } from "./components/ui/tree-view.js";
|
|
|
86
87
|
import { VariablePicker, VariablePickerContent } from "./components/ui/variable-picker/index.js";
|
|
87
88
|
import { VariableValueControl } from "./components/ui/variable-value-control.js";
|
|
88
89
|
import { cn } from "./lib/utils.js";
|
|
89
|
-
export { $insertTokenAtCursor, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AiAssistAction, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, BUILTIN_VALUE_MODES, Badge, BooleanRadioGroup, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Column, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DEFAULT_AI_ASSIST_ACTION_STRINGS, DEFAULT_BOOLEAN_RADIO_GROUP_STRINGS, DEFAULT_INSERT_VARIABLE_ACTION_STRINGS, DEFAULT_JSON_TREE_VIEW_STRINGS, DEFAULT_METADATA_FORM_STRINGS, DEFAULT_MODEL_PICKER_LABELS, DEFAULT_PROMPT_EDITOR_STRINGS, DEFAULT_QUICK_FORM_FIELD_STRINGS, DEFAULT_VALUE_MODE_STRINGS, DataFetcher, DataSourceBuilder, DataTable, DataTableColumnHeader, DataTableSelectColumn, DataTransformers, DatePicker, DateRangePicker, DateTimePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableCell, EmptyState, ExpressionBuilder, FIELD_CONTROL_GEOMETRY, FIELD_TYPE_META, FIELD_TYPE_ORDER, FetchAdapter, FieldControl, FieldMenu, tree_view as FileTreeView, FileUpload, FolderPicker, FolderPickerContent, FolderSwitcher, FormDesigner, FormField, FormFieldDescription, FormFieldError, FormFieldHeader, FormFieldLabel, FormFieldRenderer, FormStateViewer, Grid, GroupHeader, GroupedOptionList, HoverCard, HoverCardContent, HoverCardTrigger, InfoTooltip, Input, InputGroup, InputGroupAddon, InputGroupBody, InputGroupButton, InputGroupInput, InputGroupPopoverTrigger, InputGroupRow, InputGroupText, InputGroupTextarea, InputGroupTrigger, InputTokenNode, InsertVariableAction, JsonContainerEditor, JsonLeafValueEditor, JsonMultilineLeafEditor, JsonTreeToolbar, JsonTreeView, JsonTreeViewProvider, JsonTypeBadge, Label, LockableValueField, MODEL_BADGES, MetadataForm, Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger, ModeAwareField, ModelOptionRow, ModelPicker, ModelTagChip, MultiSelect, OutputTokenNode, PROMPT_EDITOR_RICH_TRANSFORMERS, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PickerPopup, PickerSearchInput, PickerTrigger, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, PromptEditor, PromptValueControl, QuickFormField, RadioGroup, RadioGroupItem, RequiredIndicator, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResourceTokenNode, Row, RuleBuilder, RulesEngine, ScrollArea, ScrollBar, ScrollableTabsList, Search, SearchWithSuggestions, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Skeleton, Slider, Spinner, StateTokenNode, StatsCard, Stepper, StringListField, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, TokenPill, TokenPillWithTooltip, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, TreeView, VALUE_MODE_OPAQUE, VARIABLE_DRAG_MIME, VARIABLE_PATH_REGEX, ValueModeIndicator, ValueModeSwitchDialog, VariablePicker, VariablePickerContent, VariableValueControl, VirtualOptionList, WORD_JOINER, analyticsPlugin, appendPathSegment, auditPlugin, autoSavePlugin, badgeVariants, buildJsonTree, builtInValueModes, buttonVariants, cn, collectContainerPaths, copyTextToClipboard, createAiAssistAction, createClearAction, createEditableColumn, createInputTokenNode, createInsertVariableAction, createOutputTokenNode, createResourceTokenNode, createStateTokenNode, createTokenNodeForOption, defaultCostTier, defaultRowActions, deriveModelTags, envelopeCodec, filterModels, flattenJsonTree, formatContextWindow, formatLeafValue, formatTemplate, formattingPlugin, getAllPromptTokenNodes, getEditorTokens, getPromptEditorTokenColors, getPromptEditorTokenTypeLabel, getSubstitutionTarget, getValueAtPath, groupModels, hasMinMaxStep, hasOptions, inferTokenTypeFromPath, inferValueType, inputGroupVariants, isArrayItemTemplateRoot, isCustomField, isEmptyModeValue, isFileField, isJsonObject, isPromptTokenNode, isTextGenerationModel, isValueModeEnvelope, keepFolderSearchOnEscape, literalValues, normalizeRichTextTokens, normalizeVariablePath, optionDomId, removeValueAtPath, resolveHomeGeography, resolveLabels, resolveVariables, schemaDisplayType, setEditorTokens, setValueAtPath, spinnerVariants, toast, toggleVariants, useInputGroup, useJsonTreeViewStrings, useModelPickerState, useWatch, validationPlugin, workflowPlugin };
|
|
90
|
+
export { $insertTokenAtCursor, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AiAssistAction, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Avatar, AvatarFallback, AvatarImage, BUILTIN_VALUE_MODES, Badge, BooleanRadioGroup, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Column, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, DEFAULT_AI_ASSIST_ACTION_STRINGS, DEFAULT_BOOLEAN_RADIO_GROUP_STRINGS, DEFAULT_INSERT_VARIABLE_ACTION_STRINGS, DEFAULT_JSON_TREE_VIEW_STRINGS, DEFAULT_METADATA_FORM_STRINGS, DEFAULT_MODEL_PICKER_LABELS, DEFAULT_PROMPT_EDITOR_STRINGS, DEFAULT_QUICK_FORM_FIELD_STRINGS, DEFAULT_VALUE_MODE_STRINGS, DataFetcher, DataSourceBuilder, DataTable, DataTableColumnHeader, DataTableSelectColumn, DataTransformers, DatePicker, DateRangePicker, DateTimePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, EditableCell, EmptyState, ExpressionBuilder, FIELD_CONTROL_GEOMETRY, FIELD_TYPE_META, FIELD_TYPE_ORDER, FetchAdapter, FieldControl, FieldMenu, tree_view as FileTreeView, FileUpload, FolderPicker, FolderPickerContent, FolderSwitcher, FormDesigner, FormField, FormFieldDescription, FormFieldError, FormFieldHeader, FormFieldLabel, FormFieldRenderer, FormStateViewer, Grid, GroupHeader, GroupedOptionList, HoverCard, HoverCardContent, HoverCardTrigger, InfoTooltip, Input, InputGroup, InputGroupAddon, InputGroupBody, InputGroupButton, InputGroupInput, InputGroupPopoverTrigger, InputGroupRow, InputGroupText, InputGroupTextarea, InputGroupTrigger, InputTokenNode, InsertVariableAction, JsonContainerEditor, JsonLeafValueEditor, JsonMultilineLeafEditor, JsonTreeToolbar, JsonTreeView, JsonTreeViewProvider, JsonTypeBadge, Label, LockableValueField, MODEL_BADGES, MetadataForm, Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger, ModeAwareField, ModelOptionRow, ModelPicker, ModelTagChip, MultiSelect, OutputTokenNode, PROMPT_EDITOR_RICH_TRANSFORMERS, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PickerPopup, PickerSearchInput, PickerTrigger, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, PromptEditor, PromptValueControl, QuickFormField, RadioGroup, RadioGroupItem, RequiredIndicator, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResourceTokenNode, Row, RuleBuilder, RulesEngine, ScrollArea, ScrollBar, ScrollableTabsList, Search, SearchWithSuggestions, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, 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, Spinner, StateTokenNode, StatsCard, Stepper, StringListField, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toaster, Toggle, ToggleGroup, ToggleGroupItem, TokenPill, TokenPillWithTooltip, Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, TreeView, VALUE_MODE_OPAQUE, VARIABLE_DRAG_MIME, VARIABLE_PATH_REGEX, ValueModeIndicator, ValueModeSwitchDialog, VariablePicker, VariablePickerContent, VariableValueControl, VirtualOptionList, WORD_JOINER, analyticsPlugin, appendPathSegment, auditPlugin, autoSavePlugin, badgeVariants, buildJsonTree, builtInValueModes, buttonVariants, cn, collectContainerPaths, copyTextToClipboard, createAiAssistAction, createClearAction, createEditableColumn, createInputTokenNode, createInsertVariableAction, createOutputTokenNode, createResourceTokenNode, createStateTokenNode, createTokenNodeForOption, defaultCostTier, defaultRowActions, deriveModelTags, envelopeCodec, filterModels, flattenJsonTree, formatContextWindow, formatLeafValue, formatTemplate, formattingPlugin, getAllPromptTokenNodes, getEditorTokens, getPromptEditorTokenColors, getPromptEditorTokenTypeLabel, getSubstitutionTarget, getValueAtPath, groupModels, hasMinMaxStep, hasOptions, inferTokenTypeFromPath, inferValueType, inputGroupVariants, isArrayItemTemplateRoot, isCustomField, isEmptyModeValue, isFileField, isJsonObject, isPromptTokenNode, isTextGenerationModel, isValueModeEnvelope, keepFolderSearchOnEscape, literalValues, normalizeRichTextTokens, normalizeVariablePath, optionDomId, removeValueAtPath, resolveHomeGeography, resolveLabels, resolveVariables, schemaDisplayType, setEditorTokens, setValueAtPath, sidebarMenuButtonVariants, spinnerVariants, toast, toggleVariants, useInputGroup, useJsonTreeViewStrings, useModelPickerState, useSidebar, useWatch, validationPlugin, workflowPlugin };
|