@uipath/apollo-wind 2.91.0 → 2.93.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/data-table.cjs +493 -104
- package/dist/components/ui/data-table.d.ts +88 -5
- package/dist/components/ui/data-table.js +491 -105
- package/dist/components/ui/editable-cell.cjs +91 -27
- package/dist/components/ui/editable-cell.d.ts +14 -1
- package/dist/components/ui/editable-cell.js +91 -27
- package/dist/components/ui/index.cjs +22 -22
- package/dist/components/ui/quick-form-field/index.d.ts +1 -1
- package/dist/components/ui/quick-form-field/quick-form-field.cjs +3 -2
- package/dist/components/ui/quick-form-field/quick-form-field.d.ts +2 -1
- package/dist/components/ui/quick-form-field/quick-form-field.js +3 -2
- package/dist/components/ui/quick-form-field/types.d.ts +11 -0
- package/dist/index.cjs +3 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/styles.css +22 -0
- package/package.json +1 -1
|
@@ -54,7 +54,7 @@ const DEFAULT_VALUE_MODES = [
|
|
|
54
54
|
'literal',
|
|
55
55
|
'expression'
|
|
56
56
|
];
|
|
57
|
-
function QuickFormField({ value = '', onValueChange, onValueBlur, locked = true, onLockedChange, showLock = true, disabled = false, leadingAddon, trailingAddon, more, mode = 'literal', onModeChange, valueModes = DEFAULT_VALUE_MODES, confirmModeChange, renderExpressionEditor, renderModeControl, fieldType = 'string', fieldTypes, onFieldTypeChange, required, onRequiredChange, label, onLabelChange, isEditingLabel, onIsEditingLabelChange, labelAddon, tooltip, strings: stringOverrides, placeholder, error, errorId, belowValue, fileUploadAriaLabel, headerActions, compact, showFieldActions = true, options = external_utils_cjs_namespaceObject.DEFAULT_SELECT_OPTIONS, onGenerateWithAi, onInsertVariable, variables = [], id, className }) {
|
|
57
|
+
function QuickFormField({ value = '', onValueChange, onValueBlur, locked = true, onLockedChange, showLock = true, disabled = false, leadingAddon, trailingAddon, more, mode = 'literal', onModeChange, valueModes = DEFAULT_VALUE_MODES, confirmModeChange, renderExpressionEditor, renderModeControl, renderedControlLayout, fieldType = 'string', fieldTypes, onFieldTypeChange, required, onRequiredChange, label, onLabelChange, isEditingLabel, onIsEditingLabelChange, labelAddon, tooltip, strings: stringOverrides, placeholder, error, errorId, belowValue, fileUploadAriaLabel, headerActions, compact, showFieldActions = true, options = external_utils_cjs_namespaceObject.DEFAULT_SELECT_OPTIONS, onGenerateWithAi, onInsertVariable, variables = [], id, className }) {
|
|
58
58
|
const strings = (0, external_react_namespaceObject.useMemo)(()=>({
|
|
59
59
|
...external_types_cjs_namespaceObject.DEFAULT_QUICK_FORM_FIELD_STRINGS,
|
|
60
60
|
...stringOverrides
|
|
@@ -159,6 +159,7 @@ function QuickFormField({ value = '', onValueChange, onValueBlur, locked = true,
|
|
|
159
159
|
const modeControl = renderModeControl?.(mode, controlProps) ?? null;
|
|
160
160
|
const builtInVariable = null === modeControl && 'variable' === mode;
|
|
161
161
|
const builtInPrompt = null === modeControl && 'prompt' === mode;
|
|
162
|
+
const rendersOwnControl = null !== modeControl || 'expression' === mode && !!renderExpressionEditor;
|
|
162
163
|
const modeOnMount = (0, external_react_namespaceObject.useRef)(mode);
|
|
163
164
|
(0, external_react_namespaceObject.useEffect)(()=>{
|
|
164
165
|
if (modeOnMount.current === mode) return;
|
|
@@ -425,7 +426,7 @@ function QuickFormField({ value = '', onValueChange, onValueBlur, locked = true,
|
|
|
425
426
|
errorId: validationId,
|
|
426
427
|
disabled: disabled,
|
|
427
428
|
variant: builtInPrompt ? 'agent' : void 0,
|
|
428
|
-
layout: builtInPrompt || 'literal' === mode && ('file' === fieldType || 'textarea' === fieldType) ? 'grow' : 'row',
|
|
429
|
+
layout: builtInPrompt || 'literal' === mode && ('file' === fieldType || 'textarea' === fieldType) || rendersOwnControl && renderedControlLayout?.[mode] === 'grow' ? 'grow' : 'row',
|
|
429
430
|
children: [
|
|
430
431
|
(showLock || void 0 !== leadingAddon) && null !== leadingAddon && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_input_group_cjs_namespaceObject.InputGroupAddon, {
|
|
431
432
|
align: "inline-start",
|
|
@@ -13,6 +13,7 @@ import type { QuickFormFieldProps } from './types';
|
|
|
13
13
|
* - Every mode has a built-in control: `variable` is a picker over
|
|
14
14
|
* `variables`, `prompt` an agent textarea. `valueModes` chooses which the
|
|
15
15
|
* menu offers, and `renderModeControl` replaces the control for any mode.
|
|
16
|
+
* `renderedControlLayout` lets a rendered control taller than a row grow the box.
|
|
16
17
|
* - `confirmModeChange` asks before a switch the consumer knows is lossy.
|
|
17
18
|
* - `locked` is configuration the author sets, so the value stays editable;
|
|
18
19
|
* `disabled` is what stops the author editing the field.
|
|
@@ -29,4 +30,4 @@ import type { QuickFormFieldProps } from './types';
|
|
|
29
30
|
* AI-assist button renders only with `onGenerateWithAi`, and file uploads
|
|
30
31
|
* aren't persisted anywhere.
|
|
31
32
|
*/
|
|
32
|
-
export declare function QuickFormField({ value, onValueChange, onValueBlur, locked, onLockedChange, showLock, disabled, leadingAddon, trailingAddon, more, mode, onModeChange, valueModes, confirmModeChange, renderExpressionEditor, renderModeControl, fieldType, fieldTypes, onFieldTypeChange, required, onRequiredChange, label, onLabelChange, isEditingLabel, onIsEditingLabelChange, labelAddon, tooltip, strings: stringOverrides, placeholder, error, errorId, belowValue, fileUploadAriaLabel, headerActions, compact, showFieldActions, options, onGenerateWithAi, onInsertVariable, variables, id, className, }: QuickFormFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
export declare function QuickFormField({ value, onValueChange, onValueBlur, locked, onLockedChange, showLock, disabled, leadingAddon, trailingAddon, more, mode, onModeChange, valueModes, confirmModeChange, renderExpressionEditor, renderModeControl, renderedControlLayout, fieldType, fieldTypes, onFieldTypeChange, required, onRequiredChange, label, onLabelChange, isEditingLabel, onIsEditingLabelChange, labelAddon, tooltip, strings: stringOverrides, placeholder, error, errorId, belowValue, fileUploadAriaLabel, headerActions, compact, showFieldActions, options, onGenerateWithAi, onInsertVariable, variables, id, className, }: QuickFormFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -26,7 +26,7 @@ const DEFAULT_VALUE_MODES = [
|
|
|
26
26
|
'literal',
|
|
27
27
|
'expression'
|
|
28
28
|
];
|
|
29
|
-
function QuickFormField({ value = '', onValueChange, onValueBlur, locked = true, onLockedChange, showLock = true, disabled = false, leadingAddon, trailingAddon, more, mode = 'literal', onModeChange, valueModes = DEFAULT_VALUE_MODES, confirmModeChange, renderExpressionEditor, renderModeControl, fieldType = 'string', fieldTypes, onFieldTypeChange, required, onRequiredChange, label, onLabelChange, isEditingLabel, onIsEditingLabelChange, labelAddon, tooltip, strings: stringOverrides, placeholder, error, errorId, belowValue, fileUploadAriaLabel, headerActions, compact, showFieldActions = true, options = DEFAULT_SELECT_OPTIONS, onGenerateWithAi, onInsertVariable, variables = [], id, className }) {
|
|
29
|
+
function QuickFormField({ value = '', onValueChange, onValueBlur, locked = true, onLockedChange, showLock = true, disabled = false, leadingAddon, trailingAddon, more, mode = 'literal', onModeChange, valueModes = DEFAULT_VALUE_MODES, confirmModeChange, renderExpressionEditor, renderModeControl, renderedControlLayout, fieldType = 'string', fieldTypes, onFieldTypeChange, required, onRequiredChange, label, onLabelChange, isEditingLabel, onIsEditingLabelChange, labelAddon, tooltip, strings: stringOverrides, placeholder, error, errorId, belowValue, fileUploadAriaLabel, headerActions, compact, showFieldActions = true, options = DEFAULT_SELECT_OPTIONS, onGenerateWithAi, onInsertVariable, variables = [], id, className }) {
|
|
30
30
|
const strings = useMemo(()=>({
|
|
31
31
|
...DEFAULT_QUICK_FORM_FIELD_STRINGS,
|
|
32
32
|
...stringOverrides
|
|
@@ -131,6 +131,7 @@ function QuickFormField({ value = '', onValueChange, onValueBlur, locked = true,
|
|
|
131
131
|
const modeControl = renderModeControl?.(mode, controlProps) ?? null;
|
|
132
132
|
const builtInVariable = null === modeControl && 'variable' === mode;
|
|
133
133
|
const builtInPrompt = null === modeControl && 'prompt' === mode;
|
|
134
|
+
const rendersOwnControl = null !== modeControl || 'expression' === mode && !!renderExpressionEditor;
|
|
134
135
|
const modeOnMount = useRef(mode);
|
|
135
136
|
useEffect(()=>{
|
|
136
137
|
if (modeOnMount.current === mode) return;
|
|
@@ -397,7 +398,7 @@ function QuickFormField({ value = '', onValueChange, onValueBlur, locked = true,
|
|
|
397
398
|
errorId: validationId,
|
|
398
399
|
disabled: disabled,
|
|
399
400
|
variant: builtInPrompt ? 'agent' : void 0,
|
|
400
|
-
layout: builtInPrompt || 'literal' === mode && ('file' === fieldType || 'textarea' === fieldType) ? 'grow' : 'row',
|
|
401
|
+
layout: builtInPrompt || 'literal' === mode && ('file' === fieldType || 'textarea' === fieldType) || rendersOwnControl && renderedControlLayout?.[mode] === 'grow' ? 'grow' : 'row',
|
|
401
402
|
children: [
|
|
402
403
|
(showLock || void 0 !== leadingAddon) && null !== leadingAddon && /*#__PURE__*/ jsx(InputGroupAddon, {
|
|
403
404
|
align: "inline-start",
|
|
@@ -128,6 +128,8 @@ export interface VariableInsertContext {
|
|
|
128
128
|
end: number;
|
|
129
129
|
} | null;
|
|
130
130
|
}
|
|
131
|
+
/** How the value box sizes around a consumer-rendered control. See `renderedControlLayout`. */
|
|
132
|
+
export type QuickFormFieldControlLayout = 'row' | 'grow';
|
|
131
133
|
/** What a consumer-rendered value control receives from `renderModeControl` or `renderExpressionEditor`. */
|
|
132
134
|
export interface QuickFormFieldControlProps {
|
|
133
135
|
id: string;
|
|
@@ -204,6 +206,15 @@ export interface QuickFormFieldProps {
|
|
|
204
206
|
* returns something for `expression`.
|
|
205
207
|
*/
|
|
206
208
|
renderExpressionEditor?: (props: QuickFormFieldControlProps) => ReactNode;
|
|
209
|
+
/**
|
|
210
|
+
* How the value box sizes around a control you render, per mode: one from
|
|
211
|
+
* `renderModeControl`, or from `renderExpressionEditor` in `expression`.
|
|
212
|
+
* `grow` lets a control taller than one row, such as a multi-line editor,
|
|
213
|
+
* grow the box, with the addons staying on its first line. Only the consumer
|
|
214
|
+
* knows whether its control grows. Unlisted modes and the built-in controls
|
|
215
|
+
* keep their own sizing.
|
|
216
|
+
*/
|
|
217
|
+
renderedControlLayout?: Partial<Record<QuickFormFieldMode, QuickFormFieldControlLayout>>;
|
|
207
218
|
/**
|
|
208
219
|
* Renders the value control for a given mode, replacing the built-in one,
|
|
209
220
|
* such as a surface that authors its own choices in `literal` mode.
|
package/dist/index.cjs
CHANGED
|
@@ -100,6 +100,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
100
100
|
SidebarMenuSubButton: ()=>sidebar_index_cjs_namespaceObject.SidebarMenuSubButton,
|
|
101
101
|
TableCell: ()=>table_cjs_namespaceObject.TableCell,
|
|
102
102
|
MarkerIcon: ()=>marker_cjs_namespaceObject.MarkerIcon,
|
|
103
|
+
DEFAULT_DATA_TABLE_STRINGS: ()=>data_table_cjs_namespaceObject.DEFAULT_DATA_TABLE_STRINGS,
|
|
103
104
|
Sidebar: ()=>sidebar_index_cjs_namespaceObject.Sidebar,
|
|
104
105
|
resolveHomeGeography: ()=>model_picker_index_cjs_namespaceObject.resolveHomeGeography,
|
|
105
106
|
formatTemplate: ()=>string_list_field_cjs_namespaceObject.formatTemplate,
|
|
@@ -801,6 +802,7 @@ exports.DEFAULT_CHAT_COMPOSER_STRINGS = __webpack_exports__.DEFAULT_CHAT_COMPOSE
|
|
|
801
802
|
exports.DEFAULT_CITATION_STRINGS = __webpack_exports__.DEFAULT_CITATION_STRINGS;
|
|
802
803
|
exports.DEFAULT_CODE_BLOCK_STRINGS = __webpack_exports__.DEFAULT_CODE_BLOCK_STRINGS;
|
|
803
804
|
exports.DEFAULT_CONNECTION_PICKER_STRINGS = __webpack_exports__.DEFAULT_CONNECTION_PICKER_STRINGS;
|
|
805
|
+
exports.DEFAULT_DATA_TABLE_STRINGS = __webpack_exports__.DEFAULT_DATA_TABLE_STRINGS;
|
|
804
806
|
exports.DEFAULT_DATE_PICKER_STRINGS = __webpack_exports__.DEFAULT_DATE_PICKER_STRINGS;
|
|
805
807
|
exports.DEFAULT_DIALOG_STRINGS = __webpack_exports__.DEFAULT_DIALOG_STRINGS;
|
|
806
808
|
exports.DEFAULT_DROPZONE_OVERLAY_STRINGS = __webpack_exports__.DEFAULT_DROPZONE_OVERLAY_STRINGS;
|
|
@@ -1331,6 +1333,7 @@ for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
|
1331
1333
|
"DEFAULT_CITATION_STRINGS",
|
|
1332
1334
|
"DEFAULT_CODE_BLOCK_STRINGS",
|
|
1333
1335
|
"DEFAULT_CONNECTION_PICKER_STRINGS",
|
|
1336
|
+
"DEFAULT_DATA_TABLE_STRINGS",
|
|
1334
1337
|
"DEFAULT_DATE_PICKER_STRINGS",
|
|
1335
1338
|
"DEFAULT_DIALOG_STRINGS",
|
|
1336
1339
|
"DEFAULT_DROPZONE_OVERLAY_STRINGS",
|
package/dist/index.d.ts
CHANGED
|
@@ -61,8 +61,8 @@ export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, Comma
|
|
|
61
61
|
export type { Connection, ConnectionPickerProps, ConnectionPickerStrings, ConnectionStatus, } from './components/ui/connection-picker';
|
|
62
62
|
export { ConnectionPicker, DEFAULT_CONNECTION_PICKER_STRINGS, } from './components/ui/connection-picker';
|
|
63
63
|
export { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, } from './components/ui/context-menu';
|
|
64
|
-
export type { DataTableProps } from './components/ui/data-table';
|
|
65
|
-
export { DataTable, DataTableColumnHeader, DataTableSelectColumn, } from './components/ui/data-table';
|
|
64
|
+
export type { DataTableProps, DataTableStrings } from './components/ui/data-table';
|
|
65
|
+
export { DEFAULT_DATA_TABLE_STRINGS, DataTable, DataTableColumnHeader, DataTableSelectColumn, } from './components/ui/data-table';
|
|
66
66
|
export type { DatePickerProps, DateRangePickerProps } from './components/ui/date-picker';
|
|
67
67
|
export { DatePicker, DateRangePicker } from './components/ui/date-picker';
|
|
68
68
|
export type { DateTimePickerProps } from './components/ui/datetime-picker';
|
|
@@ -149,7 +149,7 @@ export type { PromptSuggestionItem, PromptSuggestionsDensity, PromptSuggestionsO
|
|
|
149
149
|
export { DEFAULT_PROMPT_SUGGESTIONS_STRINGS, PromptSuggestions, promptSuggestionsListVariants, promptSuggestionVariants, } from './components/ui/prompt-suggestions';
|
|
150
150
|
export type { PromptValueControlProps } from './components/ui/prompt-value-control';
|
|
151
151
|
export { PromptValueControl } from './components/ui/prompt-value-control';
|
|
152
|
-
export type { QuickFieldType, QuickFormFieldControlProps, QuickFormFieldMode, QuickFormFieldModeSwitchConfirm, QuickFormFieldMoreActions, QuickFormFieldOption, QuickFormFieldProps, QuickFormFieldStrings, VariableInsertContext, } from './components/ui/quick-form-field';
|
|
152
|
+
export type { QuickFieldType, QuickFormFieldControlLayout, QuickFormFieldControlProps, QuickFormFieldMode, QuickFormFieldModeSwitchConfirm, QuickFormFieldMoreActions, QuickFormFieldOption, QuickFormFieldProps, QuickFormFieldStrings, VariableInsertContext, } from './components/ui/quick-form-field';
|
|
153
153
|
export { DEFAULT_QUICK_FORM_FIELD_STRINGS, FIELD_TYPE_META, FIELD_TYPE_ORDER, QuickFormField, } from './components/ui/quick-form-field';
|
|
154
154
|
export { RadioGroup, RadioGroupItem } from './components/ui/radio-group';
|
|
155
155
|
export { ReferenceChip, type ReferenceChipProps } from './components/ui/reference-chip';
|
package/dist/index.js
CHANGED
|
@@ -38,7 +38,7 @@ import { Combobox } from "./components/ui/combobox.js";
|
|
|
38
38
|
import { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut } from "./components/ui/command.js";
|
|
39
39
|
import { ConnectionPicker, DEFAULT_CONNECTION_PICKER_STRINGS } from "./components/ui/connection-picker/index.js";
|
|
40
40
|
import { ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger } from "./components/ui/context-menu.js";
|
|
41
|
-
import { DataTable, DataTableColumnHeader, DataTableSelectColumn } from "./components/ui/data-table.js";
|
|
41
|
+
import { DEFAULT_DATA_TABLE_STRINGS, DataTable, DataTableColumnHeader, DataTableSelectColumn } from "./components/ui/data-table.js";
|
|
42
42
|
import { DatePicker, DateRangePicker } from "./components/ui/date-picker.js";
|
|
43
43
|
import { DateTimePicker } from "./components/ui/datetime-picker.js";
|
|
44
44
|
import { DEFAULT_DATE_PICKER_STRINGS, LocaleProvider, useDateLocale, useDatePickerStrings } from "./components/ui/locale-provider.js";
|
|
@@ -117,4 +117,4 @@ import tree_view, { TreeView } from "./components/ui/tree-view.js";
|
|
|
117
117
|
import { VariablePicker, VariablePickerContent } from "./components/ui/variable-picker/index.js";
|
|
118
118
|
import { VariableValueControl } from "./components/ui/variable-value-control.js";
|
|
119
119
|
import { cn } from "./lib/utils.js";
|
|
120
|
-
export { $insertTokenAtCursor, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AiAssistAction, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, AttachmentTitle, AttachmentTrigger, Avatar, AvatarFallback, AvatarImage, BUILTIN_VALUE_MODES, Badge, BooleanRadioGroup, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Bubble, BubbleContent, BubbleGroup, BubbleReactions, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, ChatComposer, ChatComposerAttachButton, ChatComposerAttachments, ChatComposerError, ChatComposerFooter, ChatComposerInputGroup, ChatComposerSubmit, ChatComposerTextarea, ChatComposerToolbar, ChatHero, ChatHeroDescription, ChatHeroHeader, ChatHeroLogo, ChatHeroTitle, Checkbox, Citation, CodeBlock, CodeBlockHeader, Collapsible, CollapsibleContent, CollapsibleTrigger, Column, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConnectionPicker, 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_CHAT_COMPOSER_STRINGS, DEFAULT_CITATION_STRINGS, DEFAULT_CODE_BLOCK_STRINGS, DEFAULT_CONNECTION_PICKER_STRINGS, DEFAULT_DATE_PICKER_STRINGS, DEFAULT_DIALOG_STRINGS, DEFAULT_DROPZONE_OVERLAY_STRINGS, DEFAULT_INSERT_VARIABLE_ACTION_STRINGS, DEFAULT_JSON_TREE_VIEW_STRINGS, DEFAULT_LOADING_DOTS_STRINGS, DEFAULT_MARKDOWN_STRINGS, DEFAULT_MESSAGE_ACTIONS_OVERFLOW_STRINGS, DEFAULT_MESSAGE_ACTIONS_STRINGS, DEFAULT_MESSAGE_ACTION_COPY_STRINGS, DEFAULT_MESSAGE_ACTION_FEEDBACK_STRINGS, DEFAULT_MESSAGE_SCROLLER_BUTTON_STRINGS, DEFAULT_MESSAGE_SCROLLER_VIEWPORT_STRINGS, DEFAULT_METADATA_FORM_STRINGS, DEFAULT_MODEL_PICKER_LABELS, DEFAULT_MULTI_SELECT_STRINGS, DEFAULT_PROMPT_EDITOR_STRINGS, DEFAULT_PROMPT_SUGGESTIONS_STRINGS, DEFAULT_QUICK_FORM_FIELD_STRINGS, DEFAULT_SEARCH_STRINGS, DEFAULT_SHEET_STRINGS, DEFAULT_SOURCES_STRINGS, DEFAULT_THINKING_INDICATOR_STRINGS, DEFAULT_TOOL_CALL_STRINGS, DEFAULT_VALUE_MODE_STRINGS, DataFetcher, DataSourceBuilder, DataTable, DataTableColumnHeader, DataTableSelectColumn, DataTransformers, DatePicker, DateRangePicker, DateTimePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisclosureTree, 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, DropzoneOverlay, EditableCell, EditableText, 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, LiveRegion, LoadingDots, LocaleProvider, LockableValueField, MODEL_BADGES, Markdown, Marker, MarkerContent, MarkerIcon, Message, MessageAction, MessageActionCopy, MessageActionFeedback, MessageActions, MessageActionsOverflow, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport, 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, PanelTabs, PanelTabsContent, PanelTabsList, PanelTabsStrip, PanelTabsTrigger, PasswordInput, PickerPopup, PickerSearchInput, PickerTrigger, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, PromptEditor, PromptSuggestions, PromptValueControl, QuickFormField, RadioGroup, RadioGroupItem, ReferenceChip, RequiredIndicator, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResourcePicker, ResourcePickerContent, 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, SourceItem, Sources, SourcesList, Spinner, StateTokenNode, StatsCard, Stepper, StringListField, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThinkingIndicator, Toaster, Toggle, ToggleGroup, ToggleGroupItem, TokenPill, TokenPillWithTooltip, ToolCall, ToolCallContent, ToolCallError, ToolCallHeader, ToolCallInput, ToolCallOutput, ToolCallSection, 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, attachmentVariants, auditPlugin, autoSavePlugin, badgeVariants, bubbleVariants, buildJsonTree, builtInValueModes, buttonVariants, chatComposerErrorVariants, chatComposerVariants, chatHeroDescriptionVariants, chatHeroTitleVariants, chatHeroVariants, citationVariants, cn, collectContainerPaths, copyTextToClipboard, createAiAssistAction, createClearAction, createEditableColumn, createInputTokenNode, createInsertVariableAction, createOutputTokenNode, createResourceTokenNode, createStateTokenNode, createTokenNodeForOption, createVariableModeControl, defaultCostTier, defaultRowActions, deriveModelTags, envelopeCodec, filterModels, flattenJsonTree, formatContextWindow, formatFileSize, formatLeafValue, formatTemplate, formattingPlugin, getAllPromptTokenNodes, getEditorTokens, getPromptEditorTokenColors, getPromptEditorTokenTypeLabel, getReferenceChipColors, getSubstitutionTarget, getValueAtPath, groupModels, hasMinMaxStep, hasOptions, hasVisibleRows, inferTokenTypeFromPath, inferValueType, inputGroupVariants, isArrayItemTemplateRoot, isCustomField, isEmptyModeValue, isFileField, isFileTypeAccepted, isJsonObject, isPathCollapsed, isPromptTokenNode, isTextGenerationModel, isValueModeEnvelope, keepFolderSearchOnEscape, keepResourceSearchOnEscape, literalValues, loadDateLocale, loadingDotsVariants, markerVariants, messageActionsVariants, normalizeRichTextTokens, normalizeVariablePath, optionDomId, promptSuggestionVariants, promptSuggestionsListVariants, removeValueAtPath, resolveHomeGeography, resolveLabels, resolveVariables, schemaDisplayType, setEditorTokens, setValueAtPath, sidebarMenuButtonVariants, spinnerVariants, thinkingIndicatorVariants, toast, toggleVariants, toolCallVariants, useChatComposer, useDateLocale, useDatePickerStrings, useInputGroup, useJsonTreeViewStrings, useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility, useModelPickerState, useSidebar, useWatch, validateFiles, validationPlugin, workflowPlugin };
|
|
120
|
+
export { $insertTokenAtCursor, Accordion, AccordionContent, AccordionItem, AccordionTrigger, AiAssistAction, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, AttachmentTitle, AttachmentTrigger, Avatar, AvatarFallback, AvatarImage, BUILTIN_VALUE_MODES, Badge, BooleanRadioGroup, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Bubble, BubbleContent, BubbleGroup, BubbleReactions, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, ChatComposer, ChatComposerAttachButton, ChatComposerAttachments, ChatComposerError, ChatComposerFooter, ChatComposerInputGroup, ChatComposerSubmit, ChatComposerTextarea, ChatComposerToolbar, ChatHero, ChatHeroDescription, ChatHeroHeader, ChatHeroLogo, ChatHeroTitle, Checkbox, Citation, CodeBlock, CodeBlockHeader, Collapsible, CollapsibleContent, CollapsibleTrigger, Column, Combobox, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ConnectionPicker, 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_CHAT_COMPOSER_STRINGS, DEFAULT_CITATION_STRINGS, DEFAULT_CODE_BLOCK_STRINGS, DEFAULT_CONNECTION_PICKER_STRINGS, DEFAULT_DATA_TABLE_STRINGS, DEFAULT_DATE_PICKER_STRINGS, DEFAULT_DIALOG_STRINGS, DEFAULT_DROPZONE_OVERLAY_STRINGS, DEFAULT_INSERT_VARIABLE_ACTION_STRINGS, DEFAULT_JSON_TREE_VIEW_STRINGS, DEFAULT_LOADING_DOTS_STRINGS, DEFAULT_MARKDOWN_STRINGS, DEFAULT_MESSAGE_ACTIONS_OVERFLOW_STRINGS, DEFAULT_MESSAGE_ACTIONS_STRINGS, DEFAULT_MESSAGE_ACTION_COPY_STRINGS, DEFAULT_MESSAGE_ACTION_FEEDBACK_STRINGS, DEFAULT_MESSAGE_SCROLLER_BUTTON_STRINGS, DEFAULT_MESSAGE_SCROLLER_VIEWPORT_STRINGS, DEFAULT_METADATA_FORM_STRINGS, DEFAULT_MODEL_PICKER_LABELS, DEFAULT_MULTI_SELECT_STRINGS, DEFAULT_PROMPT_EDITOR_STRINGS, DEFAULT_PROMPT_SUGGESTIONS_STRINGS, DEFAULT_QUICK_FORM_FIELD_STRINGS, DEFAULT_SEARCH_STRINGS, DEFAULT_SHEET_STRINGS, DEFAULT_SOURCES_STRINGS, DEFAULT_THINKING_INDICATOR_STRINGS, DEFAULT_TOOL_CALL_STRINGS, DEFAULT_VALUE_MODE_STRINGS, DataFetcher, DataSourceBuilder, DataTable, DataTableColumnHeader, DataTableSelectColumn, DataTransformers, DatePicker, DateRangePicker, DateTimePicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DisclosureTree, 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, DropzoneOverlay, EditableCell, EditableText, 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, LiveRegion, LoadingDots, LocaleProvider, LockableValueField, MODEL_BADGES, Markdown, Marker, MarkerContent, MarkerIcon, Message, MessageAction, MessageActionCopy, MessageActionFeedback, MessageActions, MessageActionsOverflow, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport, 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, PanelTabs, PanelTabsContent, PanelTabsList, PanelTabsStrip, PanelTabsTrigger, PasswordInput, PickerPopup, PickerSearchInput, PickerTrigger, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, PromptEditor, PromptSuggestions, PromptValueControl, QuickFormField, RadioGroup, RadioGroupItem, ReferenceChip, RequiredIndicator, ResizableHandle, ResizablePanel, ResizablePanelGroup, ResourcePicker, ResourcePickerContent, 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, SourceItem, Sources, SourcesList, Spinner, StateTokenNode, StatsCard, Stepper, StringListField, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThinkingIndicator, Toaster, Toggle, ToggleGroup, ToggleGroupItem, TokenPill, TokenPillWithTooltip, ToolCall, ToolCallContent, ToolCallError, ToolCallHeader, ToolCallInput, ToolCallOutput, ToolCallSection, 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, attachmentVariants, auditPlugin, autoSavePlugin, badgeVariants, bubbleVariants, buildJsonTree, builtInValueModes, buttonVariants, chatComposerErrorVariants, chatComposerVariants, chatHeroDescriptionVariants, chatHeroTitleVariants, chatHeroVariants, citationVariants, cn, collectContainerPaths, copyTextToClipboard, createAiAssistAction, createClearAction, createEditableColumn, createInputTokenNode, createInsertVariableAction, createOutputTokenNode, createResourceTokenNode, createStateTokenNode, createTokenNodeForOption, createVariableModeControl, defaultCostTier, defaultRowActions, deriveModelTags, envelopeCodec, filterModels, flattenJsonTree, formatContextWindow, formatFileSize, formatLeafValue, formatTemplate, formattingPlugin, getAllPromptTokenNodes, getEditorTokens, getPromptEditorTokenColors, getPromptEditorTokenTypeLabel, getReferenceChipColors, getSubstitutionTarget, getValueAtPath, groupModels, hasMinMaxStep, hasOptions, hasVisibleRows, inferTokenTypeFromPath, inferValueType, inputGroupVariants, isArrayItemTemplateRoot, isCustomField, isEmptyModeValue, isFileField, isFileTypeAccepted, isJsonObject, isPathCollapsed, isPromptTokenNode, isTextGenerationModel, isValueModeEnvelope, keepFolderSearchOnEscape, keepResourceSearchOnEscape, literalValues, loadDateLocale, loadingDotsVariants, markerVariants, messageActionsVariants, normalizeRichTextTokens, normalizeVariablePath, optionDomId, promptSuggestionVariants, promptSuggestionsListVariants, removeValueAtPath, resolveHomeGeography, resolveLabels, resolveVariables, schemaDisplayType, setEditorTokens, setValueAtPath, sidebarMenuButtonVariants, spinnerVariants, thinkingIndicatorVariants, toast, toggleVariants, toolCallVariants, useChatComposer, useDateLocale, useDatePickerStrings, useInputGroup, useJsonTreeViewStrings, useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility, useModelPickerState, useSidebar, useWatch, validateFiles, validationPlugin, workflowPlugin };
|
package/dist/styles.css
CHANGED
|
@@ -1820,6 +1820,9 @@
|
|
|
1820
1820
|
.max-w-7xl {
|
|
1821
1821
|
max-width: var(--container-7xl);
|
|
1822
1822
|
}
|
|
1823
|
+
.max-w-40 {
|
|
1824
|
+
max-width: calc(var(--spacing) * 40);
|
|
1825
|
+
}
|
|
1823
1826
|
.max-w-44 {
|
|
1824
1827
|
max-width: calc(var(--spacing) * 44);
|
|
1825
1828
|
}
|
|
@@ -1961,6 +1964,9 @@
|
|
|
1961
1964
|
.min-w-72 {
|
|
1962
1965
|
min-width: calc(var(--spacing) * 72);
|
|
1963
1966
|
}
|
|
1967
|
+
.min-w-\[4\.5rem\] {
|
|
1968
|
+
min-width: 4.5rem;
|
|
1969
|
+
}
|
|
1964
1970
|
.min-w-\[8rem\] {
|
|
1965
1971
|
min-width: 8rem;
|
|
1966
1972
|
}
|
|
@@ -2006,6 +2012,9 @@
|
|
|
2006
2012
|
.basis-0 {
|
|
2007
2013
|
flex-basis: calc(var(--spacing) * 0);
|
|
2008
2014
|
}
|
|
2015
|
+
.basis-48 {
|
|
2016
|
+
flex-basis: calc(var(--spacing) * 48);
|
|
2017
|
+
}
|
|
2009
2018
|
.caption-bottom {
|
|
2010
2019
|
caption-side: bottom;
|
|
2011
2020
|
}
|
|
@@ -5545,6 +5554,9 @@
|
|
|
5545
5554
|
.\[perspective\:900px\] {
|
|
5546
5555
|
perspective: 900px;
|
|
5547
5556
|
}
|
|
5557
|
+
.\[scrollbar-gutter\:stable\] {
|
|
5558
|
+
scrollbar-gutter: stable;
|
|
5559
|
+
}
|
|
5548
5560
|
.\[scrollbar-width\:none\] {
|
|
5549
5561
|
scrollbar-width: none;
|
|
5550
5562
|
}
|
|
@@ -5725,6 +5737,16 @@
|
|
|
5725
5737
|
}
|
|
5726
5738
|
}
|
|
5727
5739
|
}
|
|
5740
|
+
.group-focus-visible\:w-0\.5 {
|
|
5741
|
+
&:is(:where(.group):focus-visible *) {
|
|
5742
|
+
width: calc(var(--spacing) * 0.5);
|
|
5743
|
+
}
|
|
5744
|
+
}
|
|
5745
|
+
.group-focus-visible\:bg-primary {
|
|
5746
|
+
&:is(:where(.group):focus-visible *) {
|
|
5747
|
+
background-color: var(--primary);
|
|
5748
|
+
}
|
|
5749
|
+
}
|
|
5728
5750
|
.group-has-data-\[sidebar\=menu-action\]\/menu-item\:pr-8 {
|
|
5729
5751
|
&:is(:where(.group\/menu-item):has(*[data-sidebar="menu-action"]) *) {
|
|
5730
5752
|
padding-right: calc(var(--spacing) * 8);
|