@uipath/apollo-wind 2.69.0 → 2.70.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/custom/chat-first-experience.cjs +3 -3
- package/dist/components/custom/chat-first-experience.js +3 -3
- package/dist/components/custom/demo-composer.cjs +80 -0
- package/dist/components/custom/demo-composer.d.ts +11 -0
- package/dist/components/custom/demo-composer.js +46 -0
- package/dist/components/custom/panel-flow.cjs +2 -2
- package/dist/components/custom/panel-flow.js +2 -2
- package/dist/components/ui/chat-composer.cjs +429 -0
- package/dist/components/ui/chat-composer.d.ts +157 -0
- package/dist/components/ui/chat-composer.js +359 -0
- package/dist/components/ui/citation.cjs +188 -0
- package/dist/components/ui/citation.d.ts +42 -0
- package/dist/components/ui/citation.js +148 -0
- package/dist/components/ui/dropzone-overlay.cjs +142 -0
- package/dist/components/ui/dropzone-overlay.d.ts +27 -0
- package/dist/components/ui/dropzone-overlay.js +105 -0
- package/dist/components/ui/file-upload.cjs +5 -29
- package/dist/components/ui/file-upload.js +2 -26
- package/dist/components/ui/file-validation.cjs +91 -0
- package/dist/components/ui/file-validation.d.ts +24 -0
- package/dist/components/ui/file-validation.js +51 -0
- package/dist/components/ui/hover-card.cjs +15 -8
- package/dist/components/ui/hover-card.d.ts +4 -1
- package/dist/components/ui/hover-card.js +16 -9
- package/dist/components/ui/index.cjs +280 -214
- package/dist/components/ui/index.d.ts +6 -0
- package/dist/components/ui/index.js +6 -0
- package/dist/components/ui/input-group.cjs +1 -1
- package/dist/components/ui/input-group.d.ts +2 -1
- package/dist/components/ui/input-group.js +1 -1
- package/dist/components/ui/message-actions.cjs +302 -0
- package/dist/components/ui/message-actions.d.ts +102 -0
- package/dist/components/ui/message-actions.js +241 -0
- package/dist/components/ui/message.cjs +1 -1
- package/dist/components/ui/message.d.ts +2 -0
- package/dist/components/ui/message.js +1 -1
- package/dist/components/ui/sources.cjs +175 -0
- package/dist/components/ui/sources.d.ts +44 -0
- package/dist/components/ui/sources.js +132 -0
- package/dist/index.cjs +117 -6
- package/dist/index.d.ts +12 -0
- package/dist/index.js +7 -1
- package/dist/lib/index.cjs +8 -1
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/index.js +2 -1
- package/dist/lib/url.cjs +54 -0
- package/dist/lib/url.d.ts +8 -0
- package/dist/lib/url.js +17 -0
- package/dist/styles.css +157 -35
- package/package.json +1 -1
- package/dist/components/custom/chat-composer.cjs +0 -134
- package/dist/components/custom/chat-composer.d.ts +0 -14
- package/dist/components/custom/chat-composer.js +0 -100
package/dist/index.js
CHANGED
|
@@ -27,7 +27,9 @@ import { ButtonGroup, ButtonGroupSeparator, ButtonGroupText } from "./components
|
|
|
27
27
|
import { Calendar } from "./components/ui/calendar.js";
|
|
28
28
|
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "./components/ui/card.js";
|
|
29
29
|
import { ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent } from "./components/ui/chart.js";
|
|
30
|
+
import { ChatComposer, ChatComposerAttachButton, ChatComposerAttachments, ChatComposerError, ChatComposerFooter, ChatComposerInputGroup, ChatComposerSubmit, ChatComposerTextarea, ChatComposerToolbar, DEFAULT_CHAT_COMPOSER_STRINGS, chatComposerErrorVariants, chatComposerVariants, useChatComposer } from "./components/ui/chat-composer.js";
|
|
30
31
|
import { Checkbox } from "./components/ui/checkbox.js";
|
|
32
|
+
import { Citation, DEFAULT_CITATION_STRINGS, citationVariants } from "./components/ui/citation.js";
|
|
31
33
|
import { CodeBlock, CodeBlockHeader, DEFAULT_CODE_BLOCK_STRINGS } from "./components/ui/code-block.js";
|
|
32
34
|
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "./components/ui/collapsible.js";
|
|
33
35
|
import { Combobox } from "./components/ui/combobox.js";
|
|
@@ -39,11 +41,13 @@ import { DateTimePicker } from "./components/ui/datetime-picker.js";
|
|
|
39
41
|
import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Modal, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger } from "./components/ui/dialog.js";
|
|
40
42
|
import { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger } from "./components/ui/drawer.js";
|
|
41
43
|
import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger } from "./components/ui/dropdown-menu.js";
|
|
44
|
+
import { DEFAULT_DROPZONE_OVERLAY_STRINGS, DropzoneOverlay } from "./components/ui/dropzone-overlay.js";
|
|
42
45
|
import { EditableCell, createEditableColumn } from "./components/ui/editable-cell.js";
|
|
43
46
|
import { EmptyState } from "./components/ui/empty-state.js";
|
|
44
47
|
import { AiAssistAction, DEFAULT_AI_ASSIST_ACTION_STRINGS, DEFAULT_INSERT_VARIABLE_ACTION_STRINGS, InsertVariableAction } from "./components/ui/field-actions/index.js";
|
|
45
48
|
import { BUILTIN_VALUE_MODES, DEFAULT_VALUE_MODE_STRINGS, FieldMenu, ValueModeIndicator, ValueModeSwitchDialog, builtInValueModes } from "./components/ui/field-addons/index.js";
|
|
46
49
|
import { FileUpload } from "./components/ui/file-upload.js";
|
|
50
|
+
import { formatFileSize, isFileTypeAccepted, validateFiles } from "./components/ui/file-validation.js";
|
|
47
51
|
import { FolderPicker, FolderPickerContent, keepFolderSearchOnEscape } from "./components/ui/folder-picker/index.js";
|
|
48
52
|
import { FormField, FormFieldDescription, FormFieldError, FormFieldHeader, FormFieldLabel } from "./components/ui/form-field.js";
|
|
49
53
|
import { HoverCard, HoverCardContent, HoverCardTrigger } from "./components/ui/hover-card.js";
|
|
@@ -60,6 +64,7 @@ import { LockableValueField } from "./components/ui/lockable-value-field/index.j
|
|
|
60
64
|
import { DEFAULT_MARKDOWN_STRINGS, Markdown } from "./components/ui/markdown.js";
|
|
61
65
|
import { Marker, MarkerContent, MarkerIcon, markerVariants } from "./components/ui/marker.js";
|
|
62
66
|
import { Message, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader } from "./components/ui/message.js";
|
|
67
|
+
import { DEFAULT_MESSAGE_ACTIONS_OVERFLOW_STRINGS, DEFAULT_MESSAGE_ACTIONS_STRINGS, DEFAULT_MESSAGE_ACTION_COPY_STRINGS, DEFAULT_MESSAGE_ACTION_FEEDBACK_STRINGS, MessageAction, MessageActionCopy, MessageActionFeedback, MessageActions, MessageActionsOverflow, messageActionsVariants } from "./components/ui/message-actions.js";
|
|
63
68
|
import { DEFAULT_MESSAGE_SCROLLER_BUTTON_STRINGS, DEFAULT_MESSAGE_SCROLLER_VIEWPORT_STRINGS, MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport, useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility } from "./components/ui/message-scroller/index.js";
|
|
64
69
|
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";
|
|
65
70
|
import { DEFAULT_MULTI_SELECT_STRINGS, MultiSelect } from "./components/ui/multi-select.js";
|
|
@@ -81,6 +86,7 @@ import { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupActio
|
|
|
81
86
|
import { Skeleton } from "./components/ui/skeleton.js";
|
|
82
87
|
import { Slider } from "./components/ui/slider.js";
|
|
83
88
|
import { Toaster, toast } from "./components/ui/sonner.js";
|
|
89
|
+
import { DEFAULT_SOURCES_STRINGS, SourceItem, Sources, SourcesList } from "./components/ui/sources.js";
|
|
84
90
|
import { Spinner, spinnerVariants } from "./components/ui/spinner.js";
|
|
85
91
|
import { StatsCard } from "./components/ui/stats-card.js";
|
|
86
92
|
import { Stepper } from "./components/ui/stepper.js";
|
|
@@ -99,4 +105,4 @@ import tree_view, { TreeView } from "./components/ui/tree-view.js";
|
|
|
99
105
|
import { VariablePicker, VariablePickerContent } from "./components/ui/variable-picker/index.js";
|
|
100
106
|
import { VariableValueControl } from "./components/ui/variable-value-control.js";
|
|
101
107
|
import { cn } from "./lib/utils.js";
|
|
102
|
-
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, Checkbox, 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_CODE_BLOCK_STRINGS, DEFAULT_INSERT_VARIABLE_ACTION_STRINGS, DEFAULT_JSON_TREE_VIEW_STRINGS, DEFAULT_LOADING_DOTS_STRINGS, DEFAULT_MARKDOWN_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_QUICK_FORM_FIELD_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, 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, 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, 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, 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, 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, isPathCollapsed, isPromptTokenNode, isTextGenerationModel, isValueModeEnvelope, keepFolderSearchOnEscape, literalValues, loadingDotsVariants, markerVariants, normalizeRichTextTokens, normalizeVariablePath, optionDomId, removeValueAtPath, resolveHomeGeography, resolveLabels, resolveVariables, schemaDisplayType, setEditorTokens, setValueAtPath, sidebarMenuButtonVariants, spinnerVariants, thinkingIndicatorVariants, toast, toggleVariants, toolCallVariants, useInputGroup, useJsonTreeViewStrings, useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility, useModelPickerState, useSidebar, useWatch, validationPlugin, workflowPlugin };
|
|
108
|
+
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, 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_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, 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, 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, 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/lib/index.cjs
CHANGED
|
@@ -25,20 +25,27 @@ var __webpack_exports__ = {};
|
|
|
25
25
|
__webpack_require__.r(__webpack_exports__);
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
27
|
composeRefs: ()=>external_utils_cjs_namespaceObject.composeRefs,
|
|
28
|
+
safeHref: ()=>external_url_cjs_namespaceObject.safeHref,
|
|
28
29
|
cn: ()=>external_utils_cjs_namespaceObject.cn,
|
|
30
|
+
isSafeHref: ()=>external_url_cjs_namespaceObject.isSafeHref,
|
|
29
31
|
get: ()=>external_utils_cjs_namespaceObject.get,
|
|
30
32
|
deepEqual: ()=>external_utils_cjs_namespaceObject.deepEqual
|
|
31
33
|
});
|
|
34
|
+
const external_url_cjs_namespaceObject = require("./url.cjs");
|
|
32
35
|
const external_utils_cjs_namespaceObject = require("./utils.cjs");
|
|
33
36
|
exports.cn = __webpack_exports__.cn;
|
|
34
37
|
exports.composeRefs = __webpack_exports__.composeRefs;
|
|
35
38
|
exports.deepEqual = __webpack_exports__.deepEqual;
|
|
36
39
|
exports.get = __webpack_exports__.get;
|
|
40
|
+
exports.isSafeHref = __webpack_exports__.isSafeHref;
|
|
41
|
+
exports.safeHref = __webpack_exports__.safeHref;
|
|
37
42
|
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
38
43
|
"cn",
|
|
39
44
|
"composeRefs",
|
|
40
45
|
"deepEqual",
|
|
41
|
-
"get"
|
|
46
|
+
"get",
|
|
47
|
+
"isSafeHref",
|
|
48
|
+
"safeHref"
|
|
42
49
|
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
43
50
|
Object.defineProperty(exports, '__esModule', {
|
|
44
51
|
value: true
|
package/dist/lib/index.d.ts
CHANGED
package/dist/lib/index.js
CHANGED
package/dist/lib/url.cjs
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.d = (exports1, definition)=>{
|
|
5
|
+
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
6
|
+
enumerable: true,
|
|
7
|
+
get: definition[key]
|
|
8
|
+
});
|
|
9
|
+
};
|
|
10
|
+
})();
|
|
11
|
+
(()=>{
|
|
12
|
+
__webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
|
|
13
|
+
})();
|
|
14
|
+
(()=>{
|
|
15
|
+
__webpack_require__.r = (exports1)=>{
|
|
16
|
+
if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
|
|
17
|
+
value: 'Module'
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports1, '__esModule', {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
})();
|
|
24
|
+
var __webpack_exports__ = {};
|
|
25
|
+
__webpack_require__.r(__webpack_exports__);
|
|
26
|
+
__webpack_require__.d(__webpack_exports__, {
|
|
27
|
+
isSafeHref: ()=>isSafeHref,
|
|
28
|
+
safeHref: ()=>safeHref
|
|
29
|
+
});
|
|
30
|
+
const SAFE_HREF_PROTOCOLS = new Set([
|
|
31
|
+
'http:',
|
|
32
|
+
'https:',
|
|
33
|
+
'mailto:',
|
|
34
|
+
'tel:'
|
|
35
|
+
]);
|
|
36
|
+
function isSafeHref(href) {
|
|
37
|
+
try {
|
|
38
|
+
return SAFE_HREF_PROTOCOLS.has(new URL(href, 'https://relative.invalid').protocol);
|
|
39
|
+
} catch {
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
function safeHref(href) {
|
|
44
|
+
return href && isSafeHref(href) ? href : void 0;
|
|
45
|
+
}
|
|
46
|
+
exports.isSafeHref = __webpack_exports__.isSafeHref;
|
|
47
|
+
exports.safeHref = __webpack_exports__.safeHref;
|
|
48
|
+
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
49
|
+
"isSafeHref",
|
|
50
|
+
"safeHref"
|
|
51
|
+
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
52
|
+
Object.defineProperty(exports, '__esModule', {
|
|
53
|
+
value: true
|
|
54
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether an href is safe to render as a link or open. Model or user supplied URLs can carry
|
|
3
|
+
* `javascript:`, `data:` or `vbscript:`; the URL parser lowercases the scheme and strips the
|
|
4
|
+
* whitespace and control characters that defeat substring checks. Relative URLs are allowed.
|
|
5
|
+
*/
|
|
6
|
+
export declare function isSafeHref(href: string): boolean;
|
|
7
|
+
/** `href` when it passes {@link isSafeHref}, otherwise `undefined`. */
|
|
8
|
+
export declare function safeHref(href: string | undefined): string | undefined;
|
package/dist/lib/url.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
const SAFE_HREF_PROTOCOLS = new Set([
|
|
2
|
+
'http:',
|
|
3
|
+
'https:',
|
|
4
|
+
'mailto:',
|
|
5
|
+
'tel:'
|
|
6
|
+
]);
|
|
7
|
+
function isSafeHref(href) {
|
|
8
|
+
try {
|
|
9
|
+
return SAFE_HREF_PROTOCOLS.has(new URL(href, 'https://relative.invalid').protocol);
|
|
10
|
+
} catch {
|
|
11
|
+
return false;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
function safeHref(href) {
|
|
15
|
+
return href && isSafeHref(href) ? href : void 0;
|
|
16
|
+
}
|
|
17
|
+
export { isSafeHref, safeHref };
|
package/dist/styles.css
CHANGED
|
@@ -842,6 +842,9 @@
|
|
|
842
842
|
.mx-auto {
|
|
843
843
|
margin-inline: auto;
|
|
844
844
|
}
|
|
845
|
+
.-my-0\.5 {
|
|
846
|
+
margin-block: calc(var(--spacing) * -0.5);
|
|
847
|
+
}
|
|
845
848
|
.my-0\.5 {
|
|
846
849
|
margin-block: calc(var(--spacing) * 0.5);
|
|
847
850
|
}
|
|
@@ -992,6 +995,18 @@
|
|
|
992
995
|
-webkit-box-orient: vertical;
|
|
993
996
|
-webkit-line-clamp: 1;
|
|
994
997
|
}
|
|
998
|
+
.line-clamp-2 {
|
|
999
|
+
overflow: hidden;
|
|
1000
|
+
display: -webkit-box;
|
|
1001
|
+
-webkit-box-orient: vertical;
|
|
1002
|
+
-webkit-line-clamp: 2;
|
|
1003
|
+
}
|
|
1004
|
+
.line-clamp-3 {
|
|
1005
|
+
overflow: hidden;
|
|
1006
|
+
display: -webkit-box;
|
|
1007
|
+
-webkit-box-orient: vertical;
|
|
1008
|
+
-webkit-line-clamp: 3;
|
|
1009
|
+
}
|
|
995
1010
|
.scrollbar-none {
|
|
996
1011
|
scrollbar-width: none;
|
|
997
1012
|
&::-webkit-scrollbar {
|
|
@@ -1677,9 +1692,6 @@
|
|
|
1677
1692
|
.w-\[760px\] {
|
|
1678
1693
|
width: 760px;
|
|
1679
1694
|
}
|
|
1680
|
-
.w-\[900px\] {
|
|
1681
|
-
width: 900px;
|
|
1682
|
-
}
|
|
1683
1695
|
.w-\[930px\] {
|
|
1684
1696
|
width: 930px;
|
|
1685
1697
|
}
|
|
@@ -3008,6 +3020,12 @@
|
|
|
3008
3020
|
background-color: color-mix(in oklab, var(--background) 80%, transparent);
|
|
3009
3021
|
}
|
|
3010
3022
|
}
|
|
3023
|
+
.bg-background\/85 {
|
|
3024
|
+
background-color: var(--background);
|
|
3025
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3026
|
+
background-color: color-mix(in oklab, var(--background) 85%, transparent);
|
|
3027
|
+
}
|
|
3028
|
+
}
|
|
3011
3029
|
.bg-black {
|
|
3012
3030
|
background-color: var(--color-black);
|
|
3013
3031
|
}
|
|
@@ -4384,6 +4402,9 @@
|
|
|
4384
4402
|
.align-text-bottom {
|
|
4385
4403
|
vertical-align: text-bottom;
|
|
4386
4404
|
}
|
|
4405
|
+
.align-text-top {
|
|
4406
|
+
vertical-align: text-top;
|
|
4407
|
+
}
|
|
4387
4408
|
.align-top {
|
|
4388
4409
|
vertical-align: top;
|
|
4389
4410
|
}
|
|
@@ -5195,16 +5216,16 @@
|
|
|
5195
5216
|
display: block;
|
|
5196
5217
|
}
|
|
5197
5218
|
}
|
|
5198
|
-
.group-focus-within\/input\:bg-foreground-accent {
|
|
5199
|
-
&:is(:where(.group\/input):focus-within *) {
|
|
5200
|
-
background-color: var(--foreground-accent);
|
|
5201
|
-
}
|
|
5202
|
-
}
|
|
5203
5219
|
.group-focus-within\/menu-item\:opacity-100 {
|
|
5204
5220
|
&:is(:where(.group\/menu-item):focus-within *) {
|
|
5205
5221
|
opacity: 100%;
|
|
5206
5222
|
}
|
|
5207
5223
|
}
|
|
5224
|
+
.group-focus-within\/message\:opacity-100 {
|
|
5225
|
+
&:is(:where(.group\/message):focus-within *) {
|
|
5226
|
+
opacity: 100%;
|
|
5227
|
+
}
|
|
5228
|
+
}
|
|
5208
5229
|
.group-hover\:block {
|
|
5209
5230
|
&:is(:where(.group):hover *) {
|
|
5210
5231
|
@media (hover: hover) {
|
|
@@ -5296,6 +5317,13 @@
|
|
|
5296
5317
|
}
|
|
5297
5318
|
}
|
|
5298
5319
|
}
|
|
5320
|
+
.group-hover\/message\:opacity-100 {
|
|
5321
|
+
&:is(:where(.group\/message):hover *) {
|
|
5322
|
+
@media (hover: hover) {
|
|
5323
|
+
opacity: 100%;
|
|
5324
|
+
}
|
|
5325
|
+
}
|
|
5326
|
+
}
|
|
5299
5327
|
.group-hover\/section\:opacity-100 {
|
|
5300
5328
|
&:is(:where(.group\/section):hover *) {
|
|
5301
5329
|
@media (hover: hover) {
|
|
@@ -5318,12 +5346,26 @@
|
|
|
5318
5346
|
opacity: 50%;
|
|
5319
5347
|
}
|
|
5320
5348
|
}
|
|
5349
|
+
.group-has-\[\[data-slot\=message-actions\]\]\/message\:-translate-y-10 {
|
|
5350
|
+
&:is(:where(.group\/message):has(*:is([data-slot=message-actions])) *) {
|
|
5351
|
+
--tw-translate-y: calc(var(--spacing) * -10);
|
|
5352
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
5353
|
+
}
|
|
5354
|
+
}
|
|
5321
5355
|
.group-has-\[\[data-slot\=message-footer\]\]\/message\:-translate-y-8 {
|
|
5322
5356
|
&:is(:where(.group\/message):has(*:is([data-slot=message-footer])) *) {
|
|
5323
5357
|
--tw-translate-y: calc(var(--spacing) * -8);
|
|
5324
5358
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
5325
5359
|
}
|
|
5326
5360
|
}
|
|
5361
|
+
.group-has-\[\[data-slot\=message-footer\]\]\/message\:group-has-\[\[data-slot\=message-actions\]\]\/message\:-translate-y-16 {
|
|
5362
|
+
&:is(:where(.group\/message):has(*:is([data-slot=message-footer])) *) {
|
|
5363
|
+
&:is(:where(.group\/message):has(*:is([data-slot=message-actions])) *) {
|
|
5364
|
+
--tw-translate-y: calc(var(--spacing) * -16);
|
|
5365
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
5366
|
+
}
|
|
5367
|
+
}
|
|
5368
|
+
}
|
|
5327
5369
|
.group-aria-invalid\/radio-group\:border-error {
|
|
5328
5370
|
&:is(:where(.group\/radio-group)[aria-invalid="true"] *) {
|
|
5329
5371
|
border-color: var(--error);
|
|
@@ -5611,6 +5653,11 @@
|
|
|
5611
5653
|
rotate: 90deg;
|
|
5612
5654
|
}
|
|
5613
5655
|
}
|
|
5656
|
+
.group-data-\[state\=open\]\/sources\:rotate-180 {
|
|
5657
|
+
&:is(:where(.group\/sources)[data-state="open"] *) {
|
|
5658
|
+
rotate: 180deg;
|
|
5659
|
+
}
|
|
5660
|
+
}
|
|
5614
5661
|
.group-data-\[state\=open\]\/tool-call-section-toggle\:rotate-90 {
|
|
5615
5662
|
&:is(:where(.group\/tool-call-section-toggle)[data-state="open"] *) {
|
|
5616
5663
|
rotate: 90deg;
|
|
@@ -5846,15 +5893,6 @@
|
|
|
5846
5893
|
color: var(--muted-foreground);
|
|
5847
5894
|
}
|
|
5848
5895
|
}
|
|
5849
|
-
.group-hover\/input\:placeholder\:text-foreground-secondary {
|
|
5850
|
-
&:is(:where(.group\/input):hover *) {
|
|
5851
|
-
@media (hover: hover) {
|
|
5852
|
-
&::placeholder {
|
|
5853
|
-
color: var(--foreground-secondary);
|
|
5854
|
-
}
|
|
5855
|
-
}
|
|
5856
|
-
}
|
|
5857
|
-
}
|
|
5858
5896
|
.before\:mr-1 {
|
|
5859
5897
|
&::before {
|
|
5860
5898
|
content: var(--tw-content);
|
|
@@ -6026,14 +6064,14 @@
|
|
|
6026
6064
|
border-top-width: 0px;
|
|
6027
6065
|
}
|
|
6028
6066
|
}
|
|
6029
|
-
.focus-within\:border-
|
|
6067
|
+
.focus-within\:border-ring {
|
|
6030
6068
|
&:focus-within {
|
|
6031
|
-
border-color: var(--
|
|
6069
|
+
border-color: var(--ring);
|
|
6032
6070
|
}
|
|
6033
6071
|
}
|
|
6034
|
-
.focus-within\:
|
|
6072
|
+
.focus-within\:opacity-100 {
|
|
6035
6073
|
&:focus-within {
|
|
6036
|
-
|
|
6074
|
+
opacity: 100%;
|
|
6037
6075
|
}
|
|
6038
6076
|
}
|
|
6039
6077
|
.focus-within\:ring-1 {
|
|
@@ -6265,13 +6303,6 @@
|
|
|
6265
6303
|
}
|
|
6266
6304
|
}
|
|
6267
6305
|
}
|
|
6268
|
-
.hover\:bg-foreground-accent-muted {
|
|
6269
|
-
&:hover {
|
|
6270
|
-
@media (hover: hover) {
|
|
6271
|
-
background-color: var(--foreground-accent-muted);
|
|
6272
|
-
}
|
|
6273
|
-
}
|
|
6274
|
-
}
|
|
6275
6306
|
.hover\:bg-foreground\/15 {
|
|
6276
6307
|
&:hover {
|
|
6277
6308
|
@media (hover: hover) {
|
|
@@ -6669,6 +6700,11 @@
|
|
|
6669
6700
|
background-color: var(--accent);
|
|
6670
6701
|
}
|
|
6671
6702
|
}
|
|
6703
|
+
.focus\:bg-error-background {
|
|
6704
|
+
&:focus {
|
|
6705
|
+
background-color: var(--error-background);
|
|
6706
|
+
}
|
|
6707
|
+
}
|
|
6672
6708
|
.focus\:bg-surface-hover {
|
|
6673
6709
|
&:focus {
|
|
6674
6710
|
background-color: var(--surface-hover);
|
|
@@ -6743,13 +6779,6 @@
|
|
|
6743
6779
|
outline-style: none;
|
|
6744
6780
|
}
|
|
6745
6781
|
}
|
|
6746
|
-
.focus\:placeholder\:text-foreground-secondary {
|
|
6747
|
-
&:focus {
|
|
6748
|
-
&::placeholder {
|
|
6749
|
-
color: var(--foreground-secondary);
|
|
6750
|
-
}
|
|
6751
|
-
}
|
|
6752
|
-
}
|
|
6753
6782
|
.focus-visible\:z-10 {
|
|
6754
6783
|
&:focus-visible {
|
|
6755
6784
|
z-index: 10;
|
|
@@ -6988,6 +7017,12 @@
|
|
|
6988
7017
|
background-color: var(--surface);
|
|
6989
7018
|
}
|
|
6990
7019
|
}
|
|
7020
|
+
.has-\[\[data-slot\=input-group-control\]_\:focus-visible\]\:ring-0 {
|
|
7021
|
+
&:has(*:is([data-slot=input-group-control] :focus-visible)) {
|
|
7022
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
7023
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
7024
|
+
}
|
|
7025
|
+
}
|
|
6991
7026
|
.has-\[\[data-slot\=input-group-control\]_\:focus-visible\]\:ring-2 {
|
|
6992
7027
|
&:has(*:is([data-slot=input-group-control] :focus-visible)) {
|
|
6993
7028
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
@@ -7019,6 +7054,12 @@
|
|
|
7019
7054
|
opacity: 50%;
|
|
7020
7055
|
}
|
|
7021
7056
|
}
|
|
7057
|
+
.has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-0 {
|
|
7058
|
+
&:has(*:is([data-slot=input-group-control]:focus-visible)) {
|
|
7059
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
7060
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
7061
|
+
}
|
|
7062
|
+
}
|
|
7022
7063
|
.has-\[\[data-slot\=input-group-control\]\:focus-visible\]\:ring-2 {
|
|
7023
7064
|
&:has(*:is([data-slot=input-group-control]:focus-visible)) {
|
|
7024
7065
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
@@ -7067,6 +7108,21 @@
|
|
|
7067
7108
|
}
|
|
7068
7109
|
}
|
|
7069
7110
|
}
|
|
7111
|
+
.has-\[\[data-state\=delayed-open\]\]\:opacity-100 {
|
|
7112
|
+
&:has(*:is([data-state=delayed-open])) {
|
|
7113
|
+
opacity: 100%;
|
|
7114
|
+
}
|
|
7115
|
+
}
|
|
7116
|
+
.has-\[\[data-state\=instant-open\]\]\:opacity-100 {
|
|
7117
|
+
&:has(*:is([data-state=instant-open])) {
|
|
7118
|
+
opacity: 100%;
|
|
7119
|
+
}
|
|
7120
|
+
}
|
|
7121
|
+
.has-\[\[data-state\=open\]\]\:opacity-100 {
|
|
7122
|
+
&:has(*:is([data-state=open])) {
|
|
7123
|
+
opacity: 100%;
|
|
7124
|
+
}
|
|
7125
|
+
}
|
|
7070
7126
|
.has-\[button\[data-slot\=input-group-control\]\:not\(\:disabled\)\:hover\]\:bg-accent {
|
|
7071
7127
|
&:has(*:is(button[data-slot=input-group-control]:not(:disabled):hover)) {
|
|
7072
7128
|
background-color: var(--accent);
|
|
@@ -7127,6 +7183,16 @@
|
|
|
7127
7183
|
}
|
|
7128
7184
|
}
|
|
7129
7185
|
}
|
|
7186
|
+
.aria-pressed\:bg-accent {
|
|
7187
|
+
&[aria-pressed="true"] {
|
|
7188
|
+
background-color: var(--accent);
|
|
7189
|
+
}
|
|
7190
|
+
}
|
|
7191
|
+
.aria-pressed\:text-accent-foreground {
|
|
7192
|
+
&[aria-pressed="true"] {
|
|
7193
|
+
color: var(--accent-foreground);
|
|
7194
|
+
}
|
|
7195
|
+
}
|
|
7130
7196
|
.aria-selected\:text-muted-foreground {
|
|
7131
7197
|
&[aria-selected="true"] {
|
|
7132
7198
|
color: var(--muted-foreground);
|
|
@@ -8034,6 +8100,11 @@
|
|
|
8034
8100
|
max-height: calc(var(--spacing) * 10);
|
|
8035
8101
|
}
|
|
8036
8102
|
}
|
|
8103
|
+
.future\:min-h-0 {
|
|
8104
|
+
:is(.future-dark, .future-light) & {
|
|
8105
|
+
min-height: calc(var(--spacing) * 0);
|
|
8106
|
+
}
|
|
8107
|
+
}
|
|
8037
8108
|
.future\:min-h-6 {
|
|
8038
8109
|
:is(.future-dark, .future-light) & {
|
|
8039
8110
|
min-height: calc(var(--spacing) * 6);
|
|
@@ -8059,6 +8130,11 @@
|
|
|
8059
8130
|
gap: calc(var(--spacing) * 4);
|
|
8060
8131
|
}
|
|
8061
8132
|
}
|
|
8133
|
+
.future\:rounded-\[24px\] {
|
|
8134
|
+
:is(.future-dark, .future-light) & {
|
|
8135
|
+
border-radius: 24px;
|
|
8136
|
+
}
|
|
8137
|
+
}
|
|
8062
8138
|
.future\:rounded-lg {
|
|
8063
8139
|
:is(.future-dark, .future-light) & {
|
|
8064
8140
|
border-radius: var(--radius-lg);
|
|
@@ -8123,6 +8199,11 @@
|
|
|
8123
8199
|
border-color: transparent;
|
|
8124
8200
|
}
|
|
8125
8201
|
}
|
|
8202
|
+
.future\:bg-surface {
|
|
8203
|
+
:is(.future-dark, .future-light) & {
|
|
8204
|
+
background-color: var(--surface);
|
|
8205
|
+
}
|
|
8206
|
+
}
|
|
8126
8207
|
.future\:bg-surface-overlay {
|
|
8127
8208
|
:is(.future-dark, .future-light) & {
|
|
8128
8209
|
background-color: var(--surface-overlay);
|
|
@@ -8592,6 +8673,13 @@
|
|
|
8592
8673
|
}
|
|
8593
8674
|
}
|
|
8594
8675
|
}
|
|
8676
|
+
.future\:aria-pressed\:text-foreground {
|
|
8677
|
+
:is(.future-dark, .future-light) & {
|
|
8678
|
+
&[aria-pressed="true"] {
|
|
8679
|
+
color: var(--foreground);
|
|
8680
|
+
}
|
|
8681
|
+
}
|
|
8682
|
+
}
|
|
8595
8683
|
.future\:data-\[state\=checked\]\:border-foreground-accent {
|
|
8596
8684
|
:is(.future-dark, .future-light) & {
|
|
8597
8685
|
&[data-state="checked"] {
|
|
@@ -8675,6 +8763,13 @@
|
|
|
8675
8763
|
}
|
|
8676
8764
|
}
|
|
8677
8765
|
}
|
|
8766
|
+
.future\:dark\:border-border {
|
|
8767
|
+
:is(.future-dark, .future-light) & {
|
|
8768
|
+
&:is(.dark:not(.react-flow), .dark-hc, .future-dark, .dark:not(.react-flow) *, .dark-hc *, .future-dark *) {
|
|
8769
|
+
border-color: var(--ap-wind-border);
|
|
8770
|
+
}
|
|
8771
|
+
}
|
|
8772
|
+
}
|
|
8678
8773
|
.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground {
|
|
8679
8774
|
& .recharts-cartesian-axis-tick text {
|
|
8680
8775
|
fill: var(--muted-foreground);
|
|
@@ -8868,6 +8963,17 @@
|
|
|
8868
8963
|
}
|
|
8869
8964
|
}
|
|
8870
8965
|
}
|
|
8966
|
+
.\[\&_img\]\:size-4 {
|
|
8967
|
+
& img {
|
|
8968
|
+
width: calc(var(--spacing) * 4);
|
|
8969
|
+
height: calc(var(--spacing) * 4);
|
|
8970
|
+
}
|
|
8971
|
+
}
|
|
8972
|
+
.\[\&_img\]\:rounded-sm {
|
|
8973
|
+
& img {
|
|
8974
|
+
border-radius: var(--radius-sm);
|
|
8975
|
+
}
|
|
8976
|
+
}
|
|
8871
8977
|
.\[\&_math\]\:text-\[1\.15em\] {
|
|
8872
8978
|
& math {
|
|
8873
8979
|
font-size: 1.15em;
|
|
@@ -9422,6 +9528,17 @@
|
|
|
9422
9528
|
height: calc(var(--spacing) * 4);
|
|
9423
9529
|
}
|
|
9424
9530
|
}
|
|
9531
|
+
.\[\&\>svg\:not\(\[class\*\=\'size-\'\]\)\]\:mt-px {
|
|
9532
|
+
&>svg:not([class*='size-']) {
|
|
9533
|
+
margin-top: 1px;
|
|
9534
|
+
}
|
|
9535
|
+
}
|
|
9536
|
+
.\[\&\>svg\:not\(\[class\*\=\'size-\'\]\)\]\:size-3\.5 {
|
|
9537
|
+
&>svg:not([class*='size-']) {
|
|
9538
|
+
width: calc(var(--spacing) * 3.5);
|
|
9539
|
+
height: calc(var(--spacing) * 3.5);
|
|
9540
|
+
}
|
|
9541
|
+
}
|
|
9425
9542
|
.\[\&\>svg\~\*\]\:pl-6 {
|
|
9426
9543
|
&>svg~* {
|
|
9427
9544
|
padding-left: calc(var(--spacing) * 6);
|
|
@@ -9520,6 +9637,11 @@
|
|
|
9520
9637
|
color: var(--foreground-emp);
|
|
9521
9638
|
}
|
|
9522
9639
|
}
|
|
9640
|
+
.\[\@media\(hover\:none\)\]\:opacity-100 {
|
|
9641
|
+
@media (hover:none) {
|
|
9642
|
+
opacity: 100%;
|
|
9643
|
+
}
|
|
9644
|
+
}
|
|
9523
9645
|
.\[\[data-side\=left\]\[data-collapsible\=offcanvas\]_\&\]\:-right-2 {
|
|
9524
9646
|
[data-side=left][data-collapsible=offcanvas] & {
|
|
9525
9647
|
right: calc(var(--spacing) * -2);
|