@uipath/apollo-wind 2.71.0 → 2.72.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/README.md +25 -0
- package/dist/components/ui/index.cjs +509 -315
- package/dist/components/ui/index.d.ts +4 -2
- package/dist/components/ui/index.js +5 -3
- package/dist/components/ui/prompt-editor/components/MarkdownPreview.cjs +4 -2
- package/dist/components/ui/prompt-editor/components/MarkdownPreview.js +4 -2
- package/dist/components/ui/prompt-editor/components/TokenPill.cjs +13 -68
- package/dist/components/ui/prompt-editor/components/TokenPill.js +14 -69
- package/dist/components/ui/prompt-editor/types.cjs +2 -14
- package/dist/components/ui/prompt-editor/types.d.ts +14 -1
- package/dist/components/ui/prompt-editor/types.js +2 -14
- package/dist/components/ui/reference-chip-colors.cjs +49 -0
- package/dist/components/ui/reference-chip-colors.d.ts +15 -0
- package/dist/components/ui/reference-chip-colors.js +15 -0
- package/dist/components/ui/reference-chip.cjs +104 -0
- package/dist/components/ui/reference-chip.d.ts +17 -0
- package/dist/components/ui/reference-chip.js +70 -0
- package/dist/components/ui/variable-value-control.cjs +5 -3
- package/dist/components/ui/variable-value-control.js +5 -3
- package/dist/index.cjs +10 -2
- package/dist/index.d.ts +7 -5
- package/dist/index.js +5 -3
- package/dist/styles.css +28 -0
- package/package.json +1 -1
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { cn } from "../../lib/index.js";
|
|
4
|
+
import { getReferenceChipColors } from "./reference-chip-colors.js";
|
|
5
|
+
const ReferenceChip = /*#__PURE__*/ forwardRef(({ label, icon, onRemove, removeLabel, readOnly = false, disabled = false, invalid = false, selected = false, className, style, ...props }, ref)=>{
|
|
6
|
+
const colors = getReferenceChipColors()[invalid ? 'invalid' : 'valid'];
|
|
7
|
+
return /*#__PURE__*/ jsxs("span", {
|
|
8
|
+
...props,
|
|
9
|
+
ref: ref,
|
|
10
|
+
"data-slot": "reference-chip",
|
|
11
|
+
"data-invalid": invalid || void 0,
|
|
12
|
+
"data-selected": selected || void 0,
|
|
13
|
+
"aria-disabled": disabled || void 0,
|
|
14
|
+
className: cn('relative inline-flex max-w-full min-w-0 items-center align-middle gap-[3px] h-5 rounded px-1 text-[13px] leading-5 outline-offset-1', selected && 'z-10', disabled && 'opacity-50', className),
|
|
15
|
+
style: {
|
|
16
|
+
backgroundColor: colors.background,
|
|
17
|
+
color: colors.text,
|
|
18
|
+
outline: selected ? `2px solid ${colors.border}` : void 0,
|
|
19
|
+
...style
|
|
20
|
+
},
|
|
21
|
+
children: [
|
|
22
|
+
icon && /*#__PURE__*/ jsx("span", {
|
|
23
|
+
"aria-hidden": "true",
|
|
24
|
+
className: "inline-flex shrink-0 [&_svg]:size-3.5 [&_img]:size-3.5",
|
|
25
|
+
style: {
|
|
26
|
+
color: colors.icon
|
|
27
|
+
},
|
|
28
|
+
children: icon
|
|
29
|
+
}),
|
|
30
|
+
/*#__PURE__*/ jsx("span", {
|
|
31
|
+
className: "min-w-0 truncate font-normal",
|
|
32
|
+
style: {
|
|
33
|
+
fontFamily: "'Noto Sans', sans-serif"
|
|
34
|
+
},
|
|
35
|
+
children: label
|
|
36
|
+
}),
|
|
37
|
+
onRemove && !readOnly && /*#__PURE__*/ jsx("button", {
|
|
38
|
+
type: "button",
|
|
39
|
+
disabled: disabled,
|
|
40
|
+
"aria-label": removeLabel ?? `Remove ${label}`,
|
|
41
|
+
className: "inline-flex shrink-0 items-center justify-center p-px border-0 bg-transparent cursor-pointer rounded-[2px] w-4 h-4 text-inherit focus-visible:outline-2 focus-visible:outline-offset-1 focus-visible:outline-current disabled:cursor-default",
|
|
42
|
+
onMouseDown: (event)=>{
|
|
43
|
+
event.preventDefault();
|
|
44
|
+
event.stopPropagation();
|
|
45
|
+
},
|
|
46
|
+
onClick: (event)=>{
|
|
47
|
+
event.preventDefault();
|
|
48
|
+
event.stopPropagation();
|
|
49
|
+
onRemove();
|
|
50
|
+
},
|
|
51
|
+
children: /*#__PURE__*/ jsx("svg", {
|
|
52
|
+
"aria-hidden": "true",
|
|
53
|
+
width: "12",
|
|
54
|
+
height: "12",
|
|
55
|
+
viewBox: "0 0 24 24",
|
|
56
|
+
fill: "none",
|
|
57
|
+
children: /*#__PURE__*/ jsx("path", {
|
|
58
|
+
d: "M18 6L6 18M6 6L18 18",
|
|
59
|
+
stroke: "currentColor",
|
|
60
|
+
strokeWidth: "2",
|
|
61
|
+
strokeLinecap: "round",
|
|
62
|
+
strokeLinejoin: "round"
|
|
63
|
+
})
|
|
64
|
+
})
|
|
65
|
+
})
|
|
66
|
+
]
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
ReferenceChip.displayName = 'ReferenceChip';
|
|
70
|
+
export { ReferenceChip };
|
|
@@ -27,11 +27,13 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
27
27
|
VariableValueControl: ()=>VariableValueControl
|
|
28
28
|
});
|
|
29
29
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
30
|
+
const external_lucide_react_namespaceObject = require("lucide-react");
|
|
30
31
|
const external_react_namespaceObject = require("react");
|
|
31
32
|
const aria_ids_cjs_namespaceObject = require("../forms/aria-ids.cjs");
|
|
32
33
|
const value_mode_strings_cjs_namespaceObject = require("./field-addons/value-mode-strings.cjs");
|
|
33
34
|
const external_input_group_cjs_namespaceObject = require("./input-group.cjs");
|
|
34
35
|
const external_popover_cjs_namespaceObject = require("./popover.cjs");
|
|
36
|
+
const external_reference_chip_cjs_namespaceObject = require("./reference-chip.cjs");
|
|
35
37
|
const index_cjs_namespaceObject = require("./variable-picker/index.cjs");
|
|
36
38
|
const external_lib_index_cjs_namespaceObject = require("../../lib/index.cjs");
|
|
37
39
|
const VariableValueControl = /*#__PURE__*/ external_react_namespaceObject.forwardRef(({ id, value, onChange, onBlur, inputRef, variables, disabled, placeholder, strings, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, 'aria-describedby': ariaDescribedBy, controlProps }, ref)=>{
|
|
@@ -72,9 +74,9 @@ const VariableValueControl = /*#__PURE__*/ external_react_namespaceObject.forwar
|
|
|
72
74
|
"aria-label": ariaLabel,
|
|
73
75
|
"aria-labelledby": ariaLabelledBy,
|
|
74
76
|
"aria-describedby": (0, aria_ids_cjs_namespaceObject.joinIds)(ariaDescribedBy, controlProps?.['aria-describedby']),
|
|
75
|
-
children: reference && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
76
|
-
|
|
77
|
-
|
|
77
|
+
children: reference && /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_reference_chip_cjs_namespaceObject.ReferenceChip, {
|
|
78
|
+
label: reference,
|
|
79
|
+
icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_lucide_react_namespaceObject.Variable, {})
|
|
78
80
|
})
|
|
79
81
|
}),
|
|
80
82
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_popover_cjs_namespaceObject.PopoverContent, {
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Variable } from "lucide-react";
|
|
2
3
|
import { forwardRef, useCallback, useMemo, useState } from "react";
|
|
3
4
|
import { joinIds } from "../forms/aria-ids.js";
|
|
4
5
|
import { DEFAULT_VALUE_MODE_STRINGS } from "./field-addons/value-mode-strings.js";
|
|
5
6
|
import { InputGroupPopoverTrigger } from "./input-group.js";
|
|
6
7
|
import { Popover, PopoverContent } from "./popover.js";
|
|
8
|
+
import { ReferenceChip } from "./reference-chip.js";
|
|
7
9
|
import { VariablePickerContent } from "./variable-picker/index.js";
|
|
8
10
|
import { composeRefs } from "../../lib/index.js";
|
|
9
11
|
const VariableValueControl = /*#__PURE__*/ forwardRef(({ id, value, onChange, onBlur, inputRef, variables, disabled, placeholder, strings, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, 'aria-describedby': ariaDescribedBy, controlProps }, ref)=>{
|
|
@@ -44,9 +46,9 @@ const VariableValueControl = /*#__PURE__*/ forwardRef(({ id, value, onChange, on
|
|
|
44
46
|
"aria-label": ariaLabel,
|
|
45
47
|
"aria-labelledby": ariaLabelledBy,
|
|
46
48
|
"aria-describedby": joinIds(ariaDescribedBy, controlProps?.['aria-describedby']),
|
|
47
|
-
children: reference && /*#__PURE__*/ jsx(
|
|
48
|
-
|
|
49
|
-
|
|
49
|
+
children: reference && /*#__PURE__*/ jsx(ReferenceChip, {
|
|
50
|
+
label: reference,
|
|
51
|
+
icon: /*#__PURE__*/ jsx(Variable, {})
|
|
50
52
|
})
|
|
51
53
|
}),
|
|
52
54
|
/*#__PURE__*/ jsx(PopoverContent, {
|
package/dist/index.cjs
CHANGED
|
@@ -105,6 +105,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
105
105
|
ModalPortal: ()=>dialog_cjs_namespaceObject.ModalPortal,
|
|
106
106
|
useSidebar: ()=>sidebar_index_cjs_namespaceObject.useSidebar,
|
|
107
107
|
chatComposerVariants: ()=>chat_composer_cjs_namespaceObject.chatComposerVariants,
|
|
108
|
+
ReferenceChip: ()=>reference_chip_cjs_namespaceObject.ReferenceChip,
|
|
108
109
|
SidebarGroup: ()=>sidebar_index_cjs_namespaceObject.SidebarGroup,
|
|
109
110
|
InputTokenNode: ()=>prompt_editor_index_cjs_namespaceObject.InputTokenNode,
|
|
110
111
|
ChartStyle: ()=>chart_cjs_namespaceObject.ChartStyle,
|
|
@@ -484,6 +485,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
484
485
|
DateTimePicker: ()=>datetime_picker_cjs_namespaceObject.DateTimePicker,
|
|
485
486
|
DialogDescription: ()=>dialog_cjs_namespaceObject.DialogDescription,
|
|
486
487
|
ChatComposerToolbar: ()=>chat_composer_cjs_namespaceObject.ChatComposerToolbar,
|
|
488
|
+
getReferenceChipColors: ()=>reference_chip_colors_cjs_namespaceObject.getReferenceChipColors,
|
|
487
489
|
isTextGenerationModel: ()=>model_picker_index_cjs_namespaceObject.isTextGenerationModel,
|
|
488
490
|
DEFAULT_SOURCES_STRINGS: ()=>sources_cjs_namespaceObject.DEFAULT_SOURCES_STRINGS,
|
|
489
491
|
CommandShortcut: ()=>command_cjs_namespaceObject.CommandShortcut,
|
|
@@ -600,6 +602,7 @@ const hover_card_cjs_namespaceObject = require("./components/ui/hover-card.cjs")
|
|
|
600
602
|
const info_tooltip_cjs_namespaceObject = require("./components/ui/info-tooltip.cjs");
|
|
601
603
|
const input_cjs_namespaceObject = require("./components/ui/input.cjs");
|
|
602
604
|
const input_group_cjs_namespaceObject = require("./components/ui/input-group.cjs");
|
|
605
|
+
const json_tree_view_index_cjs_namespaceObject = require("./components/ui/json-tree-view/index.cjs");
|
|
603
606
|
const label_cjs_namespaceObject = require("./components/ui/label.cjs");
|
|
604
607
|
const column_cjs_namespaceObject = require("./components/ui/layout/column.cjs");
|
|
605
608
|
const grid_cjs_namespaceObject = require("./components/ui/layout/grid.cjs");
|
|
@@ -615,6 +618,7 @@ const message_scroller_index_cjs_namespaceObject = require("./components/ui/mess
|
|
|
615
618
|
const model_picker_index_cjs_namespaceObject = require("./components/ui/model-picker/index.cjs");
|
|
616
619
|
const multi_select_cjs_namespaceObject = require("./components/ui/multi-select.cjs");
|
|
617
620
|
const pagination_cjs_namespaceObject = require("./components/ui/pagination.cjs");
|
|
621
|
+
const panel_tabs_cjs_namespaceObject = require("./components/ui/panel-tabs.cjs");
|
|
618
622
|
const popover_cjs_namespaceObject = require("./components/ui/popover.cjs");
|
|
619
623
|
const portal_container_cjs_namespaceObject = require("./components/ui/portal-container.cjs");
|
|
620
624
|
const progress_cjs_namespaceObject = require("./components/ui/progress.cjs");
|
|
@@ -623,6 +627,8 @@ const prompt_suggestions_cjs_namespaceObject = require("./components/ui/prompt-s
|
|
|
623
627
|
const prompt_value_control_cjs_namespaceObject = require("./components/ui/prompt-value-control.cjs");
|
|
624
628
|
const quick_form_field_index_cjs_namespaceObject = require("./components/ui/quick-form-field/index.cjs");
|
|
625
629
|
const radio_group_cjs_namespaceObject = require("./components/ui/radio-group.cjs");
|
|
630
|
+
const reference_chip_cjs_namespaceObject = require("./components/ui/reference-chip.cjs");
|
|
631
|
+
const reference_chip_colors_cjs_namespaceObject = require("./components/ui/reference-chip-colors.cjs");
|
|
626
632
|
const resizable_cjs_namespaceObject = require("./components/ui/resizable.cjs");
|
|
627
633
|
const scroll_area_cjs_namespaceObject = require("./components/ui/scroll-area.cjs");
|
|
628
634
|
const search_cjs_namespaceObject = require("./components/ui/search.cjs");
|
|
@@ -640,14 +646,12 @@ const stepper_cjs_namespaceObject = require("./components/ui/stepper.cjs");
|
|
|
640
646
|
const switch_cjs_namespaceObject = require("./components/ui/switch.cjs");
|
|
641
647
|
const table_cjs_namespaceObject = require("./components/ui/table.cjs");
|
|
642
648
|
const tabs_cjs_namespaceObject = require("./components/ui/tabs.cjs");
|
|
643
|
-
const panel_tabs_cjs_namespaceObject = require("./components/ui/panel-tabs.cjs");
|
|
644
649
|
const textarea_cjs_namespaceObject = require("./components/ui/textarea.cjs");
|
|
645
650
|
const thinking_indicator_cjs_namespaceObject = require("./components/ui/thinking-indicator.cjs");
|
|
646
651
|
const toggle_cjs_namespaceObject = require("./components/ui/toggle.cjs");
|
|
647
652
|
const toggle_group_cjs_namespaceObject = require("./components/ui/toggle-group.cjs");
|
|
648
653
|
const tool_call_cjs_namespaceObject = require("./components/ui/tool-call.cjs");
|
|
649
654
|
const tooltip_cjs_namespaceObject = require("./components/ui/tooltip.cjs");
|
|
650
|
-
const json_tree_view_index_cjs_namespaceObject = require("./components/ui/json-tree-view/index.cjs");
|
|
651
655
|
const tree_view_cjs_namespaceObject = require("./components/ui/tree-view.cjs");
|
|
652
656
|
var tree_view_cjs_default = /*#__PURE__*/ __webpack_require__.n(tree_view_cjs_namespaceObject);
|
|
653
657
|
const variable_picker_index_cjs_namespaceObject = require("./components/ui/variable-picker/index.cjs");
|
|
@@ -955,6 +959,7 @@ exports.PromptValueControl = __webpack_exports__.PromptValueControl;
|
|
|
955
959
|
exports.QuickFormField = __webpack_exports__.QuickFormField;
|
|
956
960
|
exports.RadioGroup = __webpack_exports__.RadioGroup;
|
|
957
961
|
exports.RadioGroupItem = __webpack_exports__.RadioGroupItem;
|
|
962
|
+
exports.ReferenceChip = __webpack_exports__.ReferenceChip;
|
|
958
963
|
exports.RequiredIndicator = __webpack_exports__.RequiredIndicator;
|
|
959
964
|
exports.ResizableHandle = __webpack_exports__.ResizableHandle;
|
|
960
965
|
exports.ResizablePanel = __webpack_exports__.ResizablePanel;
|
|
@@ -1109,6 +1114,7 @@ exports.getAllPromptTokenNodes = __webpack_exports__.getAllPromptTokenNodes;
|
|
|
1109
1114
|
exports.getEditorTokens = __webpack_exports__.getEditorTokens;
|
|
1110
1115
|
exports.getPromptEditorTokenColors = __webpack_exports__.getPromptEditorTokenColors;
|
|
1111
1116
|
exports.getPromptEditorTokenTypeLabel = __webpack_exports__.getPromptEditorTokenTypeLabel;
|
|
1117
|
+
exports.getReferenceChipColors = __webpack_exports__.getReferenceChipColors;
|
|
1112
1118
|
exports.getSubstitutionTarget = __webpack_exports__.getSubstitutionTarget;
|
|
1113
1119
|
exports.getValueAtPath = __webpack_exports__.getValueAtPath;
|
|
1114
1120
|
exports.groupModels = __webpack_exports__.groupModels;
|
|
@@ -1465,6 +1471,7 @@ for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
|
1465
1471
|
"QuickFormField",
|
|
1466
1472
|
"RadioGroup",
|
|
1467
1473
|
"RadioGroupItem",
|
|
1474
|
+
"ReferenceChip",
|
|
1468
1475
|
"RequiredIndicator",
|
|
1469
1476
|
"ResizableHandle",
|
|
1470
1477
|
"ResizablePanel",
|
|
@@ -1619,6 +1626,7 @@ for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
|
1619
1626
|
"getEditorTokens",
|
|
1620
1627
|
"getPromptEditorTokenColors",
|
|
1621
1628
|
"getPromptEditorTokenTypeLabel",
|
|
1629
|
+
"getReferenceChipColors",
|
|
1622
1630
|
"getSubstitutionTarget",
|
|
1623
1631
|
"getValueAtPath",
|
|
1624
1632
|
"groupModels",
|
package/dist/index.d.ts
CHANGED
|
@@ -91,6 +91,8 @@ export type { InputProps } from './components/ui/input';
|
|
|
91
91
|
export { Input } from './components/ui/input';
|
|
92
92
|
export type { InputGroupAddonProps, InputGroupBodyProps, InputGroupButtonProps, InputGroupInputProps, InputGroupLayout, InputGroupPopoverTriggerProps, InputGroupProps, InputGroupRowProps, InputGroupState, InputGroupTextareaProps, InputGroupTextProps, InputGroupTriggerProps, } from './components/ui/input-group';
|
|
93
93
|
export { InputGroup, InputGroupAddon, InputGroupBody, InputGroupButton, InputGroupInput, InputGroupPopoverTrigger, InputGroupRow, InputGroupText, InputGroupTextarea, InputGroupTrigger, inputGroupVariants, useInputGroup, } from './components/ui/input-group';
|
|
94
|
+
export type { BuildJsonTreeOptions, ContainerPath, CopyEvent, DeriveTypeIcon, FlatJsonTreeRow, FlattenOptions, JsonCodeEditorRenderProps, JsonContainer, JsonContainerEditorProps, JsonLeafValueEditorProps, JsonMultilineLeafEditorProps, JsonObject, JsonSchema, JsonSchemaTypeName, JsonTreeChange, JsonTreeFilterOption, JsonTreeNode, JsonTreeNodeType, JsonTreeRowWrapper, JsonTreeRowWrapperProps, JsonTreeToolbarProps, JsonTreeViewProps, JsonTreeViewProviderProps, JsonTreeViewStrings, JsonTypeBadgeProps, JsonValue, NodeAction, NodeActionContext, NodeActionsResolver, NodeBadgeReference, NodeDecoration, NodeDecorationBadge, NodeDecorationChip, NodeDecorationTone, NodeDisplayTexts, PathForCopy, PathSegment, RenderCodeEditor, RenderValueCell, RenderValueContext, ResolvedJsonTreeViewStrings, } from './components/ui/json-tree-view';
|
|
95
|
+
export { appendPathSegment, buildJsonTree, collectContainerPaths, copyTextToClipboard, DEFAULT_JSON_TREE_VIEW_STRINGS, flattenJsonTree, formatLeafValue, getValueAtPath, inferValueType, isArrayItemTemplateRoot, isJsonObject, isPathCollapsed, JsonContainerEditor, JsonLeafValueEditor, JsonMultilineLeafEditor, JsonTreeToolbar, JsonTreeView, JsonTreeViewProvider, JsonTypeBadge, removeValueAtPath, schemaDisplayType, setValueAtPath, useJsonTreeViewStrings, } from './components/ui/json-tree-view';
|
|
94
96
|
export type { LabelProps, LabelVariants, RequiredIndicatorProps, } from './components/ui/label';
|
|
95
97
|
export { Label, RequiredIndicator } from './components/ui/label';
|
|
96
98
|
export type { ColumnProps } from './components/ui/layout/column';
|
|
@@ -113,13 +115,15 @@ export type { MessageProps } from './components/ui/message';
|
|
|
113
115
|
export { Message, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, } from './components/ui/message';
|
|
114
116
|
export type { MessageActionCopyProps, MessageActionCopyStrings, MessageActionFeedbackProps, MessageActionFeedbackStrings, MessageActionItem, MessageActionProps, MessageActionsOverflowProps, MessageActionsOverflowStrings, MessageActionsProps, MessageActionsStrings, MessageFeedbackValue, } from './components/ui/message-actions';
|
|
115
117
|
export { DEFAULT_MESSAGE_ACTION_COPY_STRINGS, DEFAULT_MESSAGE_ACTION_FEEDBACK_STRINGS, DEFAULT_MESSAGE_ACTIONS_OVERFLOW_STRINGS, DEFAULT_MESSAGE_ACTIONS_STRINGS, MessageAction, MessageActionCopy, MessageActionFeedback, MessageActions, MessageActionsOverflow, messageActionsVariants, } from './components/ui/message-actions';
|
|
116
|
-
export type { MessageScrollerButtonProps, MessageScrollerButtonStrings, MessageScrollerContentProps, MessageScrollerDefaultScrollPosition, MessageScrollerItemProps, MessageScrollerProps,
|
|
118
|
+
export type { MessageScrollerButtonProps, MessageScrollerButtonStrings, MessageScrollerContentProps, MessageScrollerDefaultScrollPosition, MessageScrollerItemProps, MessageScrollerProps, MessageScrollerScrollAlign, MessageScrollerScrollable, MessageScrollerScrollOptions, MessageScrollerViewportProps, MessageScrollerViewportStrings, MessageScrollerVisibilityState, } from './components/ui/message-scroller';
|
|
117
119
|
export { DEFAULT_MESSAGE_SCROLLER_BUTTON_STRINGS, DEFAULT_MESSAGE_SCROLLER_VIEWPORT_STRINGS, MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport, useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility, } from './components/ui/message-scroller';
|
|
118
120
|
export type { AnnotatedModel, ByomDetails, CostTier, DeprecationDetails, DeriveModelTagsContext, DiscoveryModel, FolderSwitcherFolder, FolderSwitcherProps, GroupHeaderProps, GroupModelsContext, GroupStrategy, ModelBadgeDefinition, ModelBadgeKind, ModelCostDetails, ModelDetails, ModelFlatCosts, ModelGeography, ModelGroup, ModelOptionRowProps, ModelPickerChangeHandler, ModelPickerLabels, ModelPickerProps, ModelPickerSlotContext, ModelPickerSlots, ModelPickerVariant, ModelSubscriptionType, ModelTag, ModelTagChipProps, ModelTagKind, ModelTieredCost, ModelType, ModelVendor, OptionListProps, PickerPopupProps, PickerSearchInputProps, PickerTriggerProps, RoutingDetails, StaticLabelKey, UseModelPickerStateOptions, UseModelPickerStateResult, } from './components/ui/model-picker';
|
|
119
121
|
export { DEFAULT_MODEL_PICKER_LABELS, defaultCostTier, defaultRowActions, deriveModelTags, FolderSwitcher, filterModels, formatContextWindow, GroupedOptionList, GroupHeader, getSubstitutionTarget, groupModels, isTextGenerationModel, MODEL_BADGES, ModelOptionRow, ModelPicker, ModelTagChip, optionDomId, PickerPopup, PickerSearchInput, PickerTrigger, resolveHomeGeography, resolveLabels, useModelPickerState, VirtualOptionList, } from './components/ui/model-picker';
|
|
120
122
|
export type { MultiSelectOption, MultiSelectProps, MultiSelectStrings, } from './components/ui/multi-select';
|
|
121
123
|
export { DEFAULT_MULTI_SELECT_STRINGS, MultiSelect } from './components/ui/multi-select';
|
|
122
124
|
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, } from './components/ui/pagination';
|
|
125
|
+
export type { PanelTabsContentProps, PanelTabsListProps } from './components/ui/panel-tabs';
|
|
126
|
+
export { PanelTabs, PanelTabsContent, PanelTabsList, PanelTabsStrip, PanelTabsTrigger, } from './components/ui/panel-tabs';
|
|
123
127
|
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger, } from './components/ui/popover';
|
|
124
128
|
export type { PortalContainerOverride, PortalContainerProviderProps, } from './components/ui/portal-container';
|
|
125
129
|
export { PortalContainerProvider } from './components/ui/portal-container';
|
|
@@ -133,6 +137,8 @@ export { PromptValueControl } from './components/ui/prompt-value-control';
|
|
|
133
137
|
export type { QuickFieldType, QuickFormFieldControlProps, QuickFormFieldMode, QuickFormFieldMoreActions, QuickFormFieldOption, QuickFormFieldProps, QuickFormFieldStrings, VariableInsertContext, } from './components/ui/quick-form-field';
|
|
134
138
|
export { DEFAULT_QUICK_FORM_FIELD_STRINGS, FIELD_TYPE_META, FIELD_TYPE_ORDER, QuickFormField, } from './components/ui/quick-form-field';
|
|
135
139
|
export { RadioGroup, RadioGroupItem } from './components/ui/radio-group';
|
|
140
|
+
export { ReferenceChip, type ReferenceChipProps } from './components/ui/reference-chip';
|
|
141
|
+
export { getReferenceChipColors } from './components/ui/reference-chip-colors';
|
|
136
142
|
export { ResizableHandle, ResizablePanel, ResizablePanelGroup, } from './components/ui/resizable';
|
|
137
143
|
export { ScrollArea, ScrollBar } from './components/ui/scroll-area';
|
|
138
144
|
export type { SearchProps, SearchWithSuggestionsProps, } from './components/ui/search';
|
|
@@ -158,8 +164,6 @@ export { Switch } from './components/ui/switch';
|
|
|
158
164
|
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, } from './components/ui/table';
|
|
159
165
|
export type { ScrollableTabsListProps } from './components/ui/tabs';
|
|
160
166
|
export { ScrollableTabsList, Tabs, TabsContent, TabsList, TabsTrigger, } from './components/ui/tabs';
|
|
161
|
-
export type { PanelTabsContentProps, PanelTabsListProps } from './components/ui/panel-tabs';
|
|
162
|
-
export { PanelTabs, PanelTabsContent, PanelTabsList, PanelTabsStrip, PanelTabsTrigger, } from './components/ui/panel-tabs';
|
|
163
167
|
export type { TextareaProps } from './components/ui/textarea';
|
|
164
168
|
export { Textarea } from './components/ui/textarea';
|
|
165
169
|
export type { ThinkingIndicatorProps, ThinkingIndicatorStrings, } from './components/ui/thinking-indicator';
|
|
@@ -169,8 +173,6 @@ export { ToggleGroup, ToggleGroupItem } from './components/ui/toggle-group';
|
|
|
169
173
|
export type { ToolCallContentProps, ToolCallHeaderProps, ToolCallProps, ToolCallRenderValue, ToolCallSectionProps, ToolCallStatus, ToolCallStrings, ToolCallValueProps, } from './components/ui/tool-call';
|
|
170
174
|
export { DEFAULT_TOOL_CALL_STRINGS, ToolCall, ToolCallContent, ToolCallError, ToolCallHeader, ToolCallInput, ToolCallOutput, ToolCallSection, toolCallVariants, } from './components/ui/tool-call';
|
|
171
175
|
export { Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger, } from './components/ui/tooltip';
|
|
172
|
-
export type { BuildJsonTreeOptions, ContainerPath, CopyEvent, DeriveTypeIcon, FlatJsonTreeRow, FlattenOptions, JsonCodeEditorRenderProps, JsonContainer, JsonContainerEditorProps, JsonLeafValueEditorProps, JsonMultilineLeafEditorProps, JsonObject, JsonSchema, JsonSchemaTypeName, JsonTreeChange, JsonTreeFilterOption, JsonTreeNode, JsonTreeNodeType, JsonTreeRowWrapper, JsonTreeRowWrapperProps, JsonTreeToolbarProps, JsonTreeViewProps, JsonTreeViewProviderProps, JsonTreeViewStrings, JsonTypeBadgeProps, JsonValue, NodeAction, NodeActionContext, NodeActionsResolver, NodeBadgeReference, NodeDecoration, NodeDecorationBadge, NodeDecorationChip, NodeDecorationTone, NodeDisplayTexts, PathForCopy, PathSegment, RenderCodeEditor, RenderValueCell, RenderValueContext, ResolvedJsonTreeViewStrings, } from './components/ui/json-tree-view';
|
|
173
|
-
export { appendPathSegment, buildJsonTree, collectContainerPaths, copyTextToClipboard, DEFAULT_JSON_TREE_VIEW_STRINGS, flattenJsonTree, formatLeafValue, getValueAtPath, inferValueType, isArrayItemTemplateRoot, isJsonObject, isPathCollapsed, JsonContainerEditor, JsonLeafValueEditor, JsonMultilineLeafEditor, JsonTreeToolbar, JsonTreeView, JsonTreeViewProvider, JsonTypeBadge, removeValueAtPath, schemaDisplayType, setValueAtPath, useJsonTreeViewStrings, } from './components/ui/json-tree-view';
|
|
174
176
|
export type { FileTreeViewIconMap, FileTreeViewItem, FileTreeViewItemAction, FileTreeViewMenuItem, FileTreeViewProps, FileTreeViewSelectionMode, TreeViewIconMap, TreeViewItem, TreeViewItemAction, TreeViewMenuItem, TreeViewProps, TreeViewSelectionMode, } from './components/ui/tree-view';
|
|
175
177
|
export { default as FileTreeView, TreeView } from './components/ui/tree-view';
|
|
176
178
|
export type { VariablePickerContentProps, VariablePickerItem, VariablePickerProps, } from './components/ui/variable-picker';
|
package/dist/index.js
CHANGED
|
@@ -55,6 +55,7 @@ import { HoverCard, HoverCardContent, HoverCardTrigger } from "./components/ui/h
|
|
|
55
55
|
import { InfoTooltip } from "./components/ui/info-tooltip.js";
|
|
56
56
|
import { Input } from "./components/ui/input.js";
|
|
57
57
|
import { InputGroup, InputGroupAddon, InputGroupBody, InputGroupButton, InputGroupInput, InputGroupPopoverTrigger, InputGroupRow, InputGroupText, InputGroupTextarea, InputGroupTrigger, inputGroupVariants, useInputGroup } from "./components/ui/input-group.js";
|
|
58
|
+
import { DEFAULT_JSON_TREE_VIEW_STRINGS, JsonContainerEditor, JsonLeafValueEditor, JsonMultilineLeafEditor, JsonTreeToolbar, JsonTreeView, JsonTreeViewProvider, JsonTypeBadge, appendPathSegment, buildJsonTree, collectContainerPaths, copyTextToClipboard, flattenJsonTree, formatLeafValue, getValueAtPath, inferValueType, isArrayItemTemplateRoot, isJsonObject, isPathCollapsed, removeValueAtPath, schemaDisplayType, setValueAtPath, useJsonTreeViewStrings } from "./components/ui/json-tree-view/index.js";
|
|
58
59
|
import { Label, RequiredIndicator } from "./components/ui/label.js";
|
|
59
60
|
import { Column } from "./components/ui/layout/column.js";
|
|
60
61
|
import { Grid } from "./components/ui/layout/grid.js";
|
|
@@ -70,6 +71,7 @@ import { DEFAULT_MESSAGE_SCROLLER_BUTTON_STRINGS, DEFAULT_MESSAGE_SCROLLER_VIEWP
|
|
|
70
71
|
import { DEFAULT_MODEL_PICKER_LABELS, FolderSwitcher, GroupHeader, GroupedOptionList, MODEL_BADGES, ModelOptionRow, ModelPicker, ModelTagChip, PickerPopup, PickerSearchInput, PickerTrigger, VirtualOptionList, defaultCostTier, defaultRowActions, deriveModelTags, filterModels, formatContextWindow, getSubstitutionTarget, groupModels, isTextGenerationModel, optionDomId, resolveHomeGeography, resolveLabels, useModelPickerState } from "./components/ui/model-picker/index.js";
|
|
71
72
|
import { DEFAULT_MULTI_SELECT_STRINGS, MultiSelect } from "./components/ui/multi-select.js";
|
|
72
73
|
import { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious } from "./components/ui/pagination.js";
|
|
74
|
+
import { PanelTabs, PanelTabsContent, PanelTabsList, PanelTabsStrip, PanelTabsTrigger } from "./components/ui/panel-tabs.js";
|
|
73
75
|
import { Popover, PopoverAnchor, PopoverContent, PopoverTrigger } from "./components/ui/popover.js";
|
|
74
76
|
import { PortalContainerProvider } from "./components/ui/portal-container.js";
|
|
75
77
|
import { Progress } from "./components/ui/progress.js";
|
|
@@ -78,6 +80,8 @@ import { DEFAULT_PROMPT_SUGGESTIONS_STRINGS, PromptSuggestions, promptSuggestion
|
|
|
78
80
|
import { PromptValueControl } from "./components/ui/prompt-value-control.js";
|
|
79
81
|
import { DEFAULT_QUICK_FORM_FIELD_STRINGS, FIELD_TYPE_META, FIELD_TYPE_ORDER, QuickFormField } from "./components/ui/quick-form-field/index.js";
|
|
80
82
|
import { RadioGroup, RadioGroupItem } from "./components/ui/radio-group.js";
|
|
83
|
+
import { ReferenceChip } from "./components/ui/reference-chip.js";
|
|
84
|
+
import { getReferenceChipColors } from "./components/ui/reference-chip-colors.js";
|
|
81
85
|
import { ResizableHandle, ResizablePanel, ResizablePanelGroup } from "./components/ui/resizable.js";
|
|
82
86
|
import { ScrollArea, ScrollBar } from "./components/ui/scroll-area.js";
|
|
83
87
|
import { Search, SearchWithSuggestions } from "./components/ui/search.js";
|
|
@@ -95,16 +99,14 @@ import { Stepper } from "./components/ui/stepper.js";
|
|
|
95
99
|
import { Switch } from "./components/ui/switch.js";
|
|
96
100
|
import { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from "./components/ui/table.js";
|
|
97
101
|
import { ScrollableTabsList, Tabs, TabsContent, TabsList, TabsTrigger } from "./components/ui/tabs.js";
|
|
98
|
-
import { PanelTabs, PanelTabsContent, PanelTabsList, PanelTabsStrip, PanelTabsTrigger } from "./components/ui/panel-tabs.js";
|
|
99
102
|
import { Textarea } from "./components/ui/textarea.js";
|
|
100
103
|
import { DEFAULT_THINKING_INDICATOR_STRINGS, ThinkingIndicator, thinkingIndicatorVariants } from "./components/ui/thinking-indicator.js";
|
|
101
104
|
import { Toggle, toggleVariants } from "./components/ui/toggle.js";
|
|
102
105
|
import { ToggleGroup, ToggleGroupItem } from "./components/ui/toggle-group.js";
|
|
103
106
|
import { DEFAULT_TOOL_CALL_STRINGS, ToolCall, ToolCallContent, ToolCallError, ToolCallHeader, ToolCallInput, ToolCallOutput, ToolCallSection, toolCallVariants } from "./components/ui/tool-call.js";
|
|
104
107
|
import { Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger } from "./components/ui/tooltip.js";
|
|
105
|
-
import { DEFAULT_JSON_TREE_VIEW_STRINGS, JsonContainerEditor, JsonLeafValueEditor, JsonMultilineLeafEditor, JsonTreeToolbar, JsonTreeView, JsonTreeViewProvider, JsonTypeBadge, appendPathSegment, buildJsonTree, collectContainerPaths, copyTextToClipboard, flattenJsonTree, formatLeafValue, getValueAtPath, inferValueType, isArrayItemTemplateRoot, isJsonObject, isPathCollapsed, removeValueAtPath, schemaDisplayType, setValueAtPath, useJsonTreeViewStrings } from "./components/ui/json-tree-view/index.js";
|
|
106
108
|
import tree_view, { TreeView } from "./components/ui/tree-view.js";
|
|
107
109
|
import { VariablePicker, VariablePickerContent } from "./components/ui/variable-picker/index.js";
|
|
108
110
|
import { VariableValueControl } from "./components/ui/variable-value-control.js";
|
|
109
111
|
import { cn } from "./lib/utils.js";
|
|
110
|
-
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, 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_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_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, 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, 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, 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, PickerPopup, PickerSearchInput, PickerTrigger, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, PromptEditor, PromptSuggestions, 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, 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, defaultCostTier, defaultRowActions, deriveModelTags, envelopeCodec, filterModels, flattenJsonTree, formatContextWindow, formatFileSize, formatLeafValue, formatTemplate, formattingPlugin, getAllPromptTokenNodes, getEditorTokens, getPromptEditorTokenColors, getPromptEditorTokenTypeLabel, getSubstitutionTarget, getValueAtPath, groupModels, hasMinMaxStep, hasOptions, inferTokenTypeFromPath, inferValueType, inputGroupVariants, isArrayItemTemplateRoot, isCustomField, isEmptyModeValue, isFileField, isFileTypeAccepted, isJsonObject, isPathCollapsed, isPromptTokenNode, isTextGenerationModel, isValueModeEnvelope, keepFolderSearchOnEscape, literalValues, loadingDotsVariants, markerVariants, messageActionsVariants, normalizeRichTextTokens, normalizeVariablePath, optionDomId, promptSuggestionVariants, promptSuggestionsListVariants, removeValueAtPath, resolveHomeGeography, resolveLabels, resolveVariables, schemaDisplayType, setEditorTokens, setValueAtPath, sidebarMenuButtonVariants, spinnerVariants, thinkingIndicatorVariants, toast, toggleVariants, toolCallVariants, useChatComposer, useInputGroup, useJsonTreeViewStrings, useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility, useModelPickerState, useSidebar, useWatch, validateFiles, validationPlugin, workflowPlugin };
|
|
112
|
+
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, 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_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_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, 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, 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, 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, PickerPopup, PickerSearchInput, PickerTrigger, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, PortalContainerProvider, Progress, PromptEditor, PromptSuggestions, PromptValueControl, QuickFormField, RadioGroup, RadioGroupItem, ReferenceChip, 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, 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, defaultCostTier, defaultRowActions, deriveModelTags, envelopeCodec, filterModels, flattenJsonTree, formatContextWindow, formatFileSize, formatLeafValue, formatTemplate, formattingPlugin, getAllPromptTokenNodes, getEditorTokens, getPromptEditorTokenColors, getPromptEditorTokenTypeLabel, getReferenceChipColors, getSubstitutionTarget, getValueAtPath, groupModels, hasMinMaxStep, hasOptions, inferTokenTypeFromPath, inferValueType, inputGroupVariants, isArrayItemTemplateRoot, isCustomField, isEmptyModeValue, isFileField, isFileTypeAccepted, isJsonObject, isPathCollapsed, isPromptTokenNode, isTextGenerationModel, isValueModeEnvelope, keepFolderSearchOnEscape, literalValues, loadingDotsVariants, markerVariants, messageActionsVariants, normalizeRichTextTokens, normalizeVariablePath, optionDomId, promptSuggestionVariants, promptSuggestionsListVariants, removeValueAtPath, resolveHomeGeography, resolveLabels, resolveVariables, schemaDisplayType, setEditorTokens, setValueAtPath, sidebarMenuButtonVariants, spinnerVariants, thinkingIndicatorVariants, toast, toggleVariants, toolCallVariants, useChatComposer, useInputGroup, useJsonTreeViewStrings, useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility, useModelPickerState, useSidebar, useWatch, validateFiles, validationPlugin, workflowPlugin };
|
package/dist/styles.css
CHANGED
|
@@ -2949,6 +2949,9 @@
|
|
|
2949
2949
|
.bg-\(--color-bg\) {
|
|
2950
2950
|
background-color: var(--color-bg);
|
|
2951
2951
|
}
|
|
2952
|
+
.bg-\[\#6fd0fb\] {
|
|
2953
|
+
background-color: #6fd0fb;
|
|
2954
|
+
}
|
|
2952
2955
|
.bg-\[\#ff0000\] {
|
|
2953
2956
|
background-color: #ff0000;
|
|
2954
2957
|
}
|
|
@@ -4620,6 +4623,9 @@
|
|
|
4620
4623
|
.whitespace-pre-wrap {
|
|
4621
4624
|
white-space: pre-wrap;
|
|
4622
4625
|
}
|
|
4626
|
+
.text-\[\#e8f6ff\] {
|
|
4627
|
+
color: #e8f6ff;
|
|
4628
|
+
}
|
|
4623
4629
|
.text-accent-foreground {
|
|
4624
4630
|
color: var(--accent-foreground);
|
|
4625
4631
|
}
|
|
@@ -6838,6 +6844,22 @@
|
|
|
6838
6844
|
}
|
|
6839
6845
|
}
|
|
6840
6846
|
}
|
|
6847
|
+
.focus-visible\:outline-2 {
|
|
6848
|
+
&:focus-visible {
|
|
6849
|
+
outline-style: var(--tw-outline-style);
|
|
6850
|
+
outline-width: 2px;
|
|
6851
|
+
}
|
|
6852
|
+
}
|
|
6853
|
+
.focus-visible\:outline-offset-1 {
|
|
6854
|
+
&:focus-visible {
|
|
6855
|
+
outline-offset: 1px;
|
|
6856
|
+
}
|
|
6857
|
+
}
|
|
6858
|
+
.focus-visible\:outline-current {
|
|
6859
|
+
&:focus-visible {
|
|
6860
|
+
outline-color: currentcolor;
|
|
6861
|
+
}
|
|
6862
|
+
}
|
|
6841
6863
|
.focus-visible\:outline-none {
|
|
6842
6864
|
&:focus-visible {
|
|
6843
6865
|
--tw-outline-style: none;
|
|
@@ -8989,6 +9011,12 @@
|
|
|
8989
9011
|
}
|
|
8990
9012
|
}
|
|
8991
9013
|
}
|
|
9014
|
+
.\[\&_img\]\:size-3\.5 {
|
|
9015
|
+
& img {
|
|
9016
|
+
width: calc(var(--spacing) * 3.5);
|
|
9017
|
+
height: calc(var(--spacing) * 3.5);
|
|
9018
|
+
}
|
|
9019
|
+
}
|
|
8992
9020
|
.\[\&_img\]\:size-4 {
|
|
8993
9021
|
& img {
|
|
8994
9022
|
width: calc(var(--spacing) * 4);
|