entasis 0.4.0 → 0.5.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 +1 -0
- package/dist/attachments/spinnerOverlay.theme.d.ts +2 -36
- package/dist/components/AIAskUserQuestion/aiAskUserQuestion.theme.d.ts +2 -30
- package/dist/components/AIChat/aiChat.theme.d.ts +2 -14
- package/dist/components/AIComposer/aiComposer.theme.d.ts +2 -50
- package/dist/components/AIContext/aiContext.theme.d.ts +2 -37
- package/dist/components/AIConversation/aiConversation.theme.d.ts +2 -4
- package/dist/components/AIFilePreview/aiFilePreview.theme.d.ts +2 -17
- package/dist/components/AIMarker/aiMarker.theme.d.ts +2 -18
- package/dist/components/AIMessage/aiMessage.theme.d.ts +2 -72
- package/dist/components/AIMessageActions/aiMessageActions.theme.d.ts +2 -29
- package/dist/components/AIModelSelector/aiModelSelector.theme.d.ts +2 -25
- package/dist/components/AIReasoning/aiReasoning.theme.d.ts +2 -9
- package/dist/components/AISuggestion/aiSuggestion.theme.d.ts +2 -6
- package/dist/components/AIThread/aiThread.theme.d.ts +2 -35
- package/dist/components/AIThreadToc/aiThreadToc.theme.d.ts +2 -44
- package/dist/components/AITool/aiTool.mcp.d.ts +1 -1
- package/dist/components/AITool/aiTool.mcp.js +1 -1
- package/dist/components/AITool/aiTool.theme.d.ts +2 -170
- package/dist/components/AITool/aiTool.theme.js +14 -12
- package/dist/components/Accordion/accordion.theme.d.ts +2 -135
- package/dist/components/Alert/alert.theme.d.ts +2 -88
- package/dist/components/AppShell/appShell.theme.d.ts +2 -34
- package/dist/components/AspectRatio/aspectRatio.theme.d.ts +2 -5
- package/dist/components/AudioPlayer/audioPlayer.theme.d.ts +2 -179
- package/dist/components/Avatar/avatar.theme.d.ts +2 -38
- package/dist/components/Avatar/avatarGroup.theme.d.ts +2 -17
- package/dist/components/Breadcrumbs/breadcrumbs.theme.d.ts +2 -33
- package/dist/components/Button/Button.svelte +15 -13
- package/dist/components/Button/button.theme.d.ts +2 -55
- package/dist/components/ButtonGroup/buttonGroup.theme.d.ts +2 -4
- package/dist/components/Card/card.theme.d.ts +2 -119
- package/dist/components/Carousel/carousel.theme.d.ts +2 -73
- package/dist/components/Chart/chart.theme.d.ts +2 -24
- package/dist/components/Chip/chip.theme.d.ts +2 -56
- package/dist/components/Code/code.theme.d.ts +2 -9
- package/dist/components/Collapsible/collapsible.theme.d.ts +2 -44
- package/dist/components/Command/command.theme.d.ts +2 -103
- package/dist/components/Confirmation/confirmation.theme.d.ts +2 -10
- package/dist/components/ContextMenu/contextMenu.theme.d.ts +2 -10
- package/dist/components/DataTable/dataTable.theme.d.ts +2 -160
- package/dist/components/Dialog/Dialog.svelte +16 -0
- package/dist/components/Dialog/dialog.mcp.d.ts +1 -1
- package/dist/components/Dialog/dialog.mcp.js +2 -1
- package/dist/components/Dialog/dialog.props.d.ts +5 -0
- package/dist/components/Dialog/dialog.theme.d.ts +2 -137
- package/dist/components/Dialog/dialog.theme.js +12 -8
- package/dist/components/Diff/diff.theme.d.ts +2 -6
- package/dist/components/DocumentViewer/documentViewer.theme.d.ts +2 -87
- package/dist/components/Empty/empty.theme.d.ts +2 -71
- package/dist/components/EventCalendar/eventCalendar.theme.d.ts +2 -3171
- package/dist/components/FloatingWindow/floatingWindow.theme.d.ts +2 -96
- package/dist/components/Form/Calendar/CalendarPrimitive.svelte.d.ts +2 -63
- package/dist/components/Form/Calendar/calendar.theme.d.ts +2 -63
- package/dist/components/Form/CheckboxesInput/checkboxesInput.theme.d.ts +2 -100
- package/dist/components/Form/ColorInput/colorInput.theme.d.ts +2 -32
- package/dist/components/Form/ColorPicker/colorPicker.theme.d.ts +2 -127
- package/dist/components/Form/Combobox/combobox.theme.d.ts +2 -50
- package/dist/components/Form/DateInput/dateInput.theme.d.ts +2 -26
- package/dist/components/Form/DateSelector/dateSelector.theme.d.ts +2 -17
- package/dist/components/Form/Field/field.theme.d.ts +2 -146
- package/dist/components/Form/File/fileInput.theme.d.ts +2 -41
- package/dist/components/Form/Form/form.theme.d.ts +2 -129
- package/dist/components/Form/KeyValueInput/keyValueInput.theme.d.ts +2 -50
- package/dist/components/Form/MultiStepForm/multiStepForm.theme.d.ts +2 -25
- package/dist/components/Form/NumberInput/numberInput.theme.d.ts +2 -25
- package/dist/components/Form/PasswordInput/passwordInput.theme.d.ts +2 -25
- package/dist/components/Form/PhoneInput/phoneInput.theme.d.ts +2 -112
- package/dist/components/Form/PinInput/pinInput.theme.d.ts +2 -38
- package/dist/components/Form/RadioInput/radioInput.theme.d.ts +2 -94
- package/dist/components/Form/Select/select.theme.d.ts +2 -71
- package/dist/components/Form/Slider/slider.theme.d.ts +2 -266
- package/dist/components/Form/Switch/switch.theme.d.ts +2 -40
- package/dist/components/Form/TagGroup/tagGroup.theme.d.ts +2 -19
- package/dist/components/Form/TagsInput/tagsInput.theme.d.ts +2 -53
- package/dist/components/Form/TextArea/textArea.theme.d.ts +2 -25
- package/dist/components/Form/TextInput/textInput.theme.d.ts +2 -25
- package/dist/components/Form/TimeInput/timeInput.theme.d.ts +2 -47
- package/dist/components/Form/VoiceInput/voiceInput.theme.d.ts +2 -155
- package/dist/components/GanttChart/ganttChart.theme.d.ts +2 -2478
- package/dist/components/Globe/globe.theme.d.ts +2 -13
- package/dist/components/Grid/grid.theme.d.ts +2 -18
- package/dist/components/Grid/gridSpan.theme.d.ts +2 -4
- package/dist/components/Heading/heading.theme.d.ts +2 -41
- package/dist/components/Hitbox/hitbox.theme.d.ts +2 -10
- package/dist/components/HoverCard/hoverCard.theme.d.ts +11 -27
- package/dist/components/HoverCard/hoverCard.theme.js +9 -4
- package/dist/components/ImageGallery/imageGallery.theme.d.ts +2 -6
- package/dist/components/ImageZoom/imageZoom.theme.d.ts +2 -16
- package/dist/components/Kanban/kanban.theme.d.ts +2 -60
- package/dist/components/Kbd/kbd.theme.d.ts +2 -33
- package/dist/components/Layout/layoutSpacing.d.ts +1 -1
- package/dist/components/LinkPreview/linkPreview.theme.d.ts +2 -58
- package/dist/components/Map/map.theme.d.ts +2 -14
- package/dist/components/Markdown/markdown.theme.d.ts +2 -10
- package/dist/components/Marquee/marquee.theme.d.ts +2 -37
- package/dist/components/MediaVolume/mediaVolumeControl.theme.d.ts +2 -22
- package/dist/components/Menu/menu.theme.d.ts +2 -12
- package/dist/components/MenuBar/menuBar.theme.d.ts +2 -16
- package/dist/components/MenuOption/menuOption.theme.d.ts +2 -75
- package/dist/components/Mermaid/mermaid.theme.d.ts +2 -15
- package/dist/components/MetadataList/metadataList.theme.d.ts +2 -97
- package/dist/components/Meter/meter.theme.d.ts +2 -111
- package/dist/components/MiniCalendar/miniCalendar.theme.d.ts +2 -71
- package/dist/components/NetworkIndicator/networkIndicator.theme.d.ts +2 -41
- package/dist/components/Overlay/overlay.theme.d.ts +2 -92
- package/dist/components/PageShell/pageShell.theme.d.ts +2 -36
- package/dist/components/Pagination/pagination.theme.d.ts +2 -108
- package/dist/components/Popover/popover.theme.d.ts +2 -40
- package/dist/components/PopupMenu/popupMenu.theme.d.ts +2 -4
- package/dist/components/ProgressCircle/progressCircle.theme.d.ts +2 -22
- package/dist/components/QRCode/qrCode.theme.d.ts +2 -19
- package/dist/components/Rating/rating.theme.d.ts +2 -37
- package/dist/components/Resizable/resizable.theme.d.ts +2 -65
- package/dist/components/RichTextInput/richTextInput.theme.d.ts +2 -167
- package/dist/components/ScrollArea/scrollArea.theme.d.ts +2 -15
- package/dist/components/SegmentedControl/segmentedControl.theme.d.ts +2 -76
- package/dist/components/SelectionMenu/selectionMenu.theme.d.ts +2 -5
- package/dist/components/Separator/separator.theme.d.ts +2 -33
- package/dist/components/Sidebar/SidebarAction.svelte +2 -2
- package/dist/components/Sidebar/SidebarActivityBar.svelte +3 -3
- package/dist/components/Sidebar/SidebarGroup.svelte +6 -6
- package/dist/components/Sidebar/SidebarMenuButton.svelte +15 -18
- package/dist/components/Sidebar/SidebarMenuItem.svelte +15 -21
- package/dist/components/Sidebar/SidebarMenuSubItem.svelte +5 -6
- package/dist/components/Sidebar/SidebarPanel.svelte +3 -6
- package/dist/components/Sidebar/SidebarTreeNode.svelte +2 -2
- package/dist/components/Sidebar/sidebar.theme.d.ts +86 -540
- package/dist/components/Sidebar/sidebar.theme.js +69 -67
- package/dist/components/Skeleton/skeleton.theme.d.ts +2 -14
- package/dist/components/SortableList/sortableList.theme.d.ts +2 -43
- package/dist/components/Spinner/spinner.theme.d.ts +2 -41
- package/dist/components/SpinnerText/spinnerText.theme.d.ts +2 -49
- package/dist/components/Stack/stack.theme.d.ts +2 -12
- package/dist/components/Stat/stat.theme.d.ts +2 -132
- package/dist/components/Stepper/stepper.theme.d.ts +2 -22
- package/dist/components/Tabbar/tabbar.theme.d.ts +2 -110
- package/dist/components/Table/table.theme.d.ts +2 -42
- package/dist/components/TableOfContents/tableOfContents.theme.d.ts +2 -28
- package/dist/components/Tabs/tabs.theme.d.ts +2 -20
- package/dist/components/Theme/Theme.svelte +4 -4
- package/dist/components/Theme/theme.designTokens.d.ts +10 -0
- package/dist/components/Theme/theme.designTokens.js +14 -1
- package/dist/components/Theme/theme.state.svelte.js +3 -3
- package/dist/components/Timeline/timeline.theme.d.ts +2 -226
- package/dist/components/Toast/toast.theme.d.ts +2 -236
- package/dist/components/ToggleButton/toggleButton.theme.d.ts +2 -57
- package/dist/components/ToggleButtonGroup/toggleButtonGroup.theme.d.ts +2 -9
- package/dist/components/ToggleMenu/toggleMenu.theme.d.ts +2 -7
- package/dist/components/Tooltip/tooltip.theme.d.ts +2 -25
- package/dist/components/Tree/tree.theme.d.ts +2 -7
- package/dist/components/VideoPlayer/videoPlayer.theme.d.ts +2 -145
- package/dist/generated/componentContract.d.ts +1 -1
- package/dist/generated/componentContract.js +2 -0
- package/dist/generated/componentMcpRegistry.d.ts +3 -3
- package/dist/tailwind/colors.js +7 -1
- package/dist/tailwind/spacing.d.ts +13 -0
- package/dist/tailwind/spacing.js +5 -2
- package/dist/utils/cva/cva.mcp.d.ts +1 -1
- package/dist/utils/cva/cva.mcp.js +1 -1
- package/dist/utils/cva/index.d.ts +1 -1
- package/dist/utils/cva/theme.d.ts +36 -1
- package/dist/utils/cva/theme.js +25 -2
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const aiToolDescription = "\n# AITool\n\nRender one AI tool call or one collapsible group of consecutive calls. Non-empty `tools` takes precedence over `tool`. Missing statuses are inferred from output and errors, while arbitrary values use circular-safe depth and entry limits.\n\nExpanded call/group IDs use bindable `value`, initial `defaultValue`, and `onValueChange(value)`. The callback fires once for each user expansion change; parent prop updates stay silent. Nested rows inside a grouped call keep their own expansion state.\n\n```svelte\n<script lang=\"ts\">\n import { AITool, type AIToolCall } from './index.ts';\n\n const tools: AIToolCall[] = [\n { id: 'search', name: 'search_docs', input: { query: 'Svelte' }, output: { count: 4 } },\n { id: 'read', name: 'read_page', status: 'running', input: { path: '/docs' } }\n ];\n let open = $state(['search']);\n</script>\n\n<AITool {tools} bind:value={open} multiple />\n```\n\nUse `icon`, `title`, `status`, `input`, `output`, `error`, or `content` snippets with a `{ tool, index }` payload. Default value panels use the existing Entasis ScrollArea and are capped vertically while supporting both scroll axes.\n\nDefault status is
|
|
1
|
+
export declare const aiToolDescription = "\n# AITool\n\nRender one AI tool call or one collapsible group of consecutive calls. Non-empty `tools` takes precedence over `tool`. Missing statuses are inferred from output and errors, while arbitrary values use circular-safe depth and entry limits.\n\nExpanded call/group IDs use bindable `value`, initial `defaultValue`, and `onValueChange(value)`. The callback fires once for each user expansion change; parent prop updates stay silent. Nested rows inside a grouped call keep their own expansion state.\n\n```svelte\n<script lang=\"ts\">\n import { AITool, type AIToolCall } from './index.ts';\n\n const tools: AIToolCall[] = [\n { id: 'search', name: 'search_docs', input: { query: 'Svelte' }, output: { count: 4 } },\n { id: 'read', name: 'read_page', status: 'running', input: { path: '/docs' } }\n ];\n let open = $state(['search']);\n</script>\n\n<AITool {tools} bind:value={open} multiple />\n```\n\nUse `icon`, `title`, `status`, `input`, `output`, `error`, or `content` snippets with a `{ tool, index }` payload. Default value panels use the existing Entasis ScrollArea and are capped vertically while supporting both scroll axes.\n\nDefault status is a bare mark on the left, no badge: a spinner for active calls and a coloured dot for settled calls (info while running, success, danger, muted when cancelled). Use the `status` snippet only when a visible custom status treatment is required.\n\nDefault input and output sections use compact sign-in and sign-out icons. Their configured labels remain available to assistive technology and on hover.\n\nUse `toggleIcon=\"none\"` for the default minimal trigger, `chevron` for a rotating disclosure icon, or `plus-minus` for plus/minus expansion controls. The choice applies to both group and child triggers.\n\nThe default `ghost` variant renders an unframed tool call. Use `card` for an elevated surface, `outline` for a transparent bounded surface, or `soft` for a subtle status-aware tint. Group triggers keep intrinsic width independently from their expanded call content, while each child call receives the same variant around its complete row and panel.\n";
|
|
@@ -21,7 +21,7 @@ Expanded call/group IDs use bindable \`value\`, initial \`defaultValue\`, and \`
|
|
|
21
21
|
|
|
22
22
|
Use \`icon\`, \`title\`, \`status\`, \`input\`, \`output\`, \`error\`, or \`content\` snippets with a \`{ tool, index }\` payload. Default value panels use the existing Entasis ScrollArea and are capped vertically while supporting both scroll axes.
|
|
23
23
|
|
|
24
|
-
Default status is
|
|
24
|
+
Default status is a bare mark on the left, no badge: a spinner for active calls and a coloured dot for settled calls (info while running, success, danger, muted when cancelled). Use the \`status\` snippet only when a visible custom status treatment is required.
|
|
25
25
|
|
|
26
26
|
Default input and output sections use compact sign-in and sign-out icons. Their configured labels remain available to assistive technology and on hover.
|
|
27
27
|
|
|
@@ -339,7 +339,7 @@ export declare const setAIToolTheme: (theme: InferComponentTheme<{
|
|
|
339
339
|
};
|
|
340
340
|
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
341
341
|
}>) => void;
|
|
342
|
-
export declare const useAIToolTheme: (theme
|
|
342
|
+
export declare const useAIToolTheme: import("../../utils/cva/theme.js").UseComponentTheme<{
|
|
343
343
|
root: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
344
344
|
scope: {
|
|
345
345
|
single: string;
|
|
@@ -507,172 +507,4 @@ export declare const useAIToolTheme: (theme?: InferComponentTheme<{
|
|
|
507
507
|
error: string;
|
|
508
508
|
};
|
|
509
509
|
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
510
|
-
}
|
|
511
|
-
root: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
512
|
-
scope: {
|
|
513
|
-
single: string;
|
|
514
|
-
group: string;
|
|
515
|
-
};
|
|
516
|
-
variant: {
|
|
517
|
-
card: string;
|
|
518
|
-
ghost: string;
|
|
519
|
-
outline: string;
|
|
520
|
-
soft: string;
|
|
521
|
-
};
|
|
522
|
-
tone: {
|
|
523
|
-
active: string;
|
|
524
|
-
success: string;
|
|
525
|
-
error: string;
|
|
526
|
-
cancelled: string;
|
|
527
|
-
default: string;
|
|
528
|
-
};
|
|
529
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
530
|
-
accordionRoot: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
531
|
-
scope: {
|
|
532
|
-
single: string;
|
|
533
|
-
group: string;
|
|
534
|
-
calls: string;
|
|
535
|
-
};
|
|
536
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
537
|
-
accordionItem: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
538
|
-
scope: {
|
|
539
|
-
single: string;
|
|
540
|
-
group: string;
|
|
541
|
-
calls: string;
|
|
542
|
-
};
|
|
543
|
-
variant: {
|
|
544
|
-
card: string;
|
|
545
|
-
ghost: string;
|
|
546
|
-
outline: string;
|
|
547
|
-
soft: string;
|
|
548
|
-
};
|
|
549
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
550
|
-
accordionHeader: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
551
|
-
accordionTrigger: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
552
|
-
scope: {
|
|
553
|
-
single: string;
|
|
554
|
-
group: string;
|
|
555
|
-
calls: string;
|
|
556
|
-
};
|
|
557
|
-
variant: {
|
|
558
|
-
card: string;
|
|
559
|
-
ghost: string;
|
|
560
|
-
outline: string;
|
|
561
|
-
soft: string;
|
|
562
|
-
};
|
|
563
|
-
tone: {
|
|
564
|
-
active: string;
|
|
565
|
-
success: string;
|
|
566
|
-
error: string;
|
|
567
|
-
cancelled: string;
|
|
568
|
-
default: string;
|
|
569
|
-
};
|
|
570
|
-
toggleIcon: {
|
|
571
|
-
none: string;
|
|
572
|
-
chevron: string;
|
|
573
|
-
'plus-minus': string;
|
|
574
|
-
};
|
|
575
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
576
|
-
accordionTitle: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
577
|
-
accordionIcon: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
578
|
-
accordionIconWrapper: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
579
|
-
accordionContent: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
580
|
-
scope: {
|
|
581
|
-
single: string;
|
|
582
|
-
group: string;
|
|
583
|
-
calls: string;
|
|
584
|
-
};
|
|
585
|
-
variant: {
|
|
586
|
-
card: string;
|
|
587
|
-
ghost: string;
|
|
588
|
-
outline: string;
|
|
589
|
-
soft: string;
|
|
590
|
-
};
|
|
591
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
592
|
-
title: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
593
|
-
indicator: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
594
|
-
tone: {
|
|
595
|
-
active: string;
|
|
596
|
-
success: string;
|
|
597
|
-
error: string;
|
|
598
|
-
cancelled: string;
|
|
599
|
-
default: string;
|
|
600
|
-
};
|
|
601
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
602
|
-
indicatorDot: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
603
|
-
groupIcon: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
604
|
-
tone: {
|
|
605
|
-
active: string;
|
|
606
|
-
success: string;
|
|
607
|
-
error: string;
|
|
608
|
-
cancelled: string;
|
|
609
|
-
default: string;
|
|
610
|
-
};
|
|
611
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
612
|
-
name: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
613
|
-
status: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
614
|
-
content: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
615
|
-
groupContent: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
616
|
-
variant: {
|
|
617
|
-
card: string;
|
|
618
|
-
ghost: string;
|
|
619
|
-
outline: string;
|
|
620
|
-
soft: string;
|
|
621
|
-
};
|
|
622
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
623
|
-
section: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
624
|
-
tone: {
|
|
625
|
-
default: string;
|
|
626
|
-
error: string;
|
|
627
|
-
};
|
|
628
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
629
|
-
label: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
630
|
-
kind: {
|
|
631
|
-
icon: string;
|
|
632
|
-
text: string;
|
|
633
|
-
};
|
|
634
|
-
tone: {
|
|
635
|
-
default: string;
|
|
636
|
-
error: string;
|
|
637
|
-
};
|
|
638
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
639
|
-
scrollArea: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
640
|
-
tone: {
|
|
641
|
-
default: string;
|
|
642
|
-
error: string;
|
|
643
|
-
};
|
|
644
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
645
|
-
scrollViewport: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
646
|
-
scrollContent: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
647
|
-
scrollScrollbar: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
648
|
-
scrollScrollbarX: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
649
|
-
scrollThumb: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
650
|
-
tone: {
|
|
651
|
-
default: string;
|
|
652
|
-
error: string;
|
|
653
|
-
};
|
|
654
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
655
|
-
empty: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
656
|
-
tree: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
657
|
-
treeNode: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
658
|
-
treeBranch: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
659
|
-
treeKey: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
660
|
-
treeSummary: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
661
|
-
treeChildren: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
662
|
-
treeLeaf: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
663
|
-
treeValue: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
664
|
-
kind: {
|
|
665
|
-
string: string;
|
|
666
|
-
number: string;
|
|
667
|
-
boolean: string;
|
|
668
|
-
null: string;
|
|
669
|
-
undefined: string;
|
|
670
|
-
empty: string;
|
|
671
|
-
unknown: string;
|
|
672
|
-
};
|
|
673
|
-
tone: {
|
|
674
|
-
default: string;
|
|
675
|
-
error: string;
|
|
676
|
-
};
|
|
677
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
678
|
-
};
|
|
510
|
+
}>;
|
|
@@ -153,28 +153,30 @@ const defaultAccordionContent = cva({
|
|
|
153
153
|
defaultVariants: { variant: 'ghost' }
|
|
154
154
|
});
|
|
155
155
|
const defaultTitle = cva({ base: 'flex min-w-0 flex-1 items-center gap-md text-xs' });
|
|
156
|
+
// Status is a bare mark, no badge: a spinner while the call runs, a dot once it has settled,
|
|
157
|
+
// coloured by outcome. The box is the icon size so rows and the group title line up.
|
|
156
158
|
const defaultIndicator = cva({
|
|
157
|
-
base: 'flex size-
|
|
159
|
+
base: 'flex size-icon-md shrink-0 items-center justify-center',
|
|
158
160
|
variants: {
|
|
159
161
|
tone: {
|
|
160
|
-
active: '
|
|
161
|
-
success: '
|
|
162
|
-
error: '
|
|
163
|
-
cancelled: '
|
|
164
|
-
default: '
|
|
162
|
+
active: 'text-info',
|
|
163
|
+
success: 'text-success',
|
|
164
|
+
error: 'text-danger',
|
|
165
|
+
cancelled: 'text-neutral/45',
|
|
166
|
+
default: 'text-neutral/45'
|
|
165
167
|
}
|
|
166
168
|
}
|
|
167
169
|
});
|
|
168
170
|
const defaultIndicatorDot = cva({ base: 'size-1.5 rounded-full bg-current' });
|
|
169
171
|
const defaultGroupIcon = cva({
|
|
170
|
-
base: 'flex size-
|
|
172
|
+
base: 'flex size-icon-md shrink-0 items-center justify-center',
|
|
171
173
|
variants: {
|
|
172
174
|
tone: {
|
|
173
|
-
active: '
|
|
174
|
-
success: '
|
|
175
|
-
error: '
|
|
176
|
-
cancelled: '
|
|
177
|
-
default: '
|
|
175
|
+
active: 'text-info',
|
|
176
|
+
success: 'text-success',
|
|
177
|
+
error: 'text-danger',
|
|
178
|
+
cancelled: 'text-neutral/45',
|
|
179
|
+
default: 'text-neutral/45'
|
|
178
180
|
}
|
|
179
181
|
},
|
|
180
182
|
defaultVariants: { tone: 'default' }
|
|
@@ -282,7 +282,7 @@ export declare const setAccordionTheme: (theme: InferComponentTheme<{
|
|
|
282
282
|
};
|
|
283
283
|
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
284
284
|
}>) => void;
|
|
285
|
-
export declare const useAccordionTheme: (theme
|
|
285
|
+
export declare const useAccordionTheme: import("../../utils/cva/theme.js").UseComponentTheme<{
|
|
286
286
|
motion: import("../../utils/motion/index.js").MotionResolver<{
|
|
287
287
|
readonly axis: {
|
|
288
288
|
readonly y: {};
|
|
@@ -415,140 +415,7 @@ export declare const useAccordionTheme: (theme?: InferComponentTheme<{
|
|
|
415
415
|
outline: string;
|
|
416
416
|
};
|
|
417
417
|
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
418
|
-
}
|
|
419
|
-
motion: import("../../utils/motion/index.js").MotionResolver<{
|
|
420
|
-
readonly axis: {
|
|
421
|
-
readonly y: {};
|
|
422
|
-
readonly x: {
|
|
423
|
-
readonly in: {
|
|
424
|
-
readonly axis: "x";
|
|
425
|
-
};
|
|
426
|
-
readonly out: {
|
|
427
|
-
readonly axis: "x";
|
|
428
|
-
};
|
|
429
|
-
};
|
|
430
|
-
};
|
|
431
|
-
}>;
|
|
432
|
-
root: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
433
|
-
size: {
|
|
434
|
-
small: string;
|
|
435
|
-
normal: string;
|
|
436
|
-
large: string;
|
|
437
|
-
};
|
|
438
|
-
density: {
|
|
439
|
-
compact: string;
|
|
440
|
-
normal: string;
|
|
441
|
-
comfortable: string;
|
|
442
|
-
};
|
|
443
|
-
variant: {
|
|
444
|
-
classic: string;
|
|
445
|
-
card: string;
|
|
446
|
-
outline: string;
|
|
447
|
-
};
|
|
448
|
-
splitted: {
|
|
449
|
-
true: string;
|
|
450
|
-
false: string;
|
|
451
|
-
};
|
|
452
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
453
|
-
item: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
454
|
-
size: {
|
|
455
|
-
small: string;
|
|
456
|
-
normal: string;
|
|
457
|
-
large: string;
|
|
458
|
-
};
|
|
459
|
-
density: {
|
|
460
|
-
compact: string;
|
|
461
|
-
normal: string;
|
|
462
|
-
comfortable: string;
|
|
463
|
-
};
|
|
464
|
-
variant: {
|
|
465
|
-
classic: string;
|
|
466
|
-
card: string;
|
|
467
|
-
outline: string;
|
|
468
|
-
};
|
|
469
|
-
splitted: {
|
|
470
|
-
true: string;
|
|
471
|
-
false: string;
|
|
472
|
-
};
|
|
473
|
-
expanded: {
|
|
474
|
-
true: string;
|
|
475
|
-
false: string;
|
|
476
|
-
};
|
|
477
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
478
|
-
header: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
479
|
-
size: {
|
|
480
|
-
small: string;
|
|
481
|
-
normal: string;
|
|
482
|
-
large: string;
|
|
483
|
-
};
|
|
484
|
-
density: {
|
|
485
|
-
compact: string;
|
|
486
|
-
normal: string;
|
|
487
|
-
comfortable: string;
|
|
488
|
-
};
|
|
489
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
490
|
-
trigger: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
491
|
-
size: {
|
|
492
|
-
small: string;
|
|
493
|
-
normal: string;
|
|
494
|
-
large: string;
|
|
495
|
-
};
|
|
496
|
-
density: {
|
|
497
|
-
compact: string;
|
|
498
|
-
normal: string;
|
|
499
|
-
comfortable: string;
|
|
500
|
-
};
|
|
501
|
-
variant: {
|
|
502
|
-
classic: string;
|
|
503
|
-
card: string;
|
|
504
|
-
outline: string;
|
|
505
|
-
};
|
|
506
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
507
|
-
title: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
508
|
-
size: {
|
|
509
|
-
small: string;
|
|
510
|
-
normal: string;
|
|
511
|
-
large: string;
|
|
512
|
-
};
|
|
513
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
514
|
-
description: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
515
|
-
size: {
|
|
516
|
-
small: string;
|
|
517
|
-
normal: string;
|
|
518
|
-
large: string;
|
|
519
|
-
};
|
|
520
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
521
|
-
icon: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
522
|
-
size: {
|
|
523
|
-
small: string;
|
|
524
|
-
normal: string;
|
|
525
|
-
large: string;
|
|
526
|
-
};
|
|
527
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
528
|
-
iconWrapper: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
529
|
-
expanded: {
|
|
530
|
-
true: string;
|
|
531
|
-
false: string;
|
|
532
|
-
};
|
|
533
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
534
|
-
content: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
535
|
-
size: {
|
|
536
|
-
small: string;
|
|
537
|
-
normal: string;
|
|
538
|
-
large: string;
|
|
539
|
-
};
|
|
540
|
-
density: {
|
|
541
|
-
compact: string;
|
|
542
|
-
normal: string;
|
|
543
|
-
comfortable: string;
|
|
544
|
-
};
|
|
545
|
-
variant: {
|
|
546
|
-
classic: string;
|
|
547
|
-
card: string;
|
|
548
|
-
outline: string;
|
|
549
|
-
};
|
|
550
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
551
|
-
};
|
|
418
|
+
}>;
|
|
552
419
|
export declare const useAccordionMotion: () => import("../../utils/motion/index.js").ComponentMotion<{
|
|
553
420
|
readonly axis: {
|
|
554
421
|
readonly y: {};
|
|
@@ -175,7 +175,7 @@ export declare const setAlertTheme: (theme: InferComponentTheme<{
|
|
|
175
175
|
};
|
|
176
176
|
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
177
177
|
}>) => void;
|
|
178
|
-
export declare const useAlertTheme: (theme
|
|
178
|
+
export declare const useAlertTheme: import("../../utils/cva/theme.js").UseComponentTheme<{
|
|
179
179
|
root: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
180
180
|
hasIcon: {
|
|
181
181
|
true: string;
|
|
@@ -261,90 +261,4 @@ export declare const useAlertTheme: (theme?: InferComponentTheme<{
|
|
|
261
261
|
soft: string;
|
|
262
262
|
};
|
|
263
263
|
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
264
|
-
}
|
|
265
|
-
root: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
266
|
-
hasIcon: {
|
|
267
|
-
true: string;
|
|
268
|
-
false: string;
|
|
269
|
-
};
|
|
270
|
-
color: {
|
|
271
|
-
primary: string;
|
|
272
|
-
secondary: string;
|
|
273
|
-
neutral: string;
|
|
274
|
-
danger: string;
|
|
275
|
-
success: string;
|
|
276
|
-
warning: string;
|
|
277
|
-
info: string;
|
|
278
|
-
};
|
|
279
|
-
variant: {
|
|
280
|
-
solid: string;
|
|
281
|
-
outline: string;
|
|
282
|
-
soft: string;
|
|
283
|
-
};
|
|
284
|
-
size: {
|
|
285
|
-
small: string;
|
|
286
|
-
normal: string;
|
|
287
|
-
large: string;
|
|
288
|
-
};
|
|
289
|
-
disabled: {
|
|
290
|
-
true: string;
|
|
291
|
-
false: null;
|
|
292
|
-
};
|
|
293
|
-
hasDescription: {
|
|
294
|
-
true: string;
|
|
295
|
-
false: string;
|
|
296
|
-
};
|
|
297
|
-
hasTitle: {
|
|
298
|
-
true: string;
|
|
299
|
-
false: string;
|
|
300
|
-
};
|
|
301
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
302
|
-
prefix: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
303
|
-
size: {
|
|
304
|
-
small: string;
|
|
305
|
-
normal: string;
|
|
306
|
-
large: string;
|
|
307
|
-
};
|
|
308
|
-
variant: {
|
|
309
|
-
solid: string;
|
|
310
|
-
outline: string;
|
|
311
|
-
soft: string;
|
|
312
|
-
};
|
|
313
|
-
hasDescription: {
|
|
314
|
-
true: string;
|
|
315
|
-
false: string;
|
|
316
|
-
};
|
|
317
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
318
|
-
content: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
319
|
-
title: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
320
|
-
size: {
|
|
321
|
-
small: string;
|
|
322
|
-
normal: string;
|
|
323
|
-
large: string;
|
|
324
|
-
};
|
|
325
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
326
|
-
description: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
327
|
-
size: {
|
|
328
|
-
small: string;
|
|
329
|
-
normal: string;
|
|
330
|
-
large: string;
|
|
331
|
-
};
|
|
332
|
-
variant: {
|
|
333
|
-
solid: string;
|
|
334
|
-
outline: string;
|
|
335
|
-
soft: string;
|
|
336
|
-
};
|
|
337
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
338
|
-
close: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
339
|
-
size: {
|
|
340
|
-
small: string;
|
|
341
|
-
normal: string;
|
|
342
|
-
large: string;
|
|
343
|
-
};
|
|
344
|
-
variant: {
|
|
345
|
-
solid: string;
|
|
346
|
-
outline: string;
|
|
347
|
-
soft: string;
|
|
348
|
-
};
|
|
349
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
350
|
-
};
|
|
264
|
+
}>;
|
|
@@ -67,7 +67,7 @@ export declare const setAppShellTheme: (theme: InferComponentTheme<{
|
|
|
67
67
|
};
|
|
68
68
|
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
69
69
|
}>) => void;
|
|
70
|
-
export declare const useAppShellTheme: (theme
|
|
70
|
+
export declare const useAppShellTheme: import("../../utils/cva/theme.js").UseComponentTheme<{
|
|
71
71
|
root: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
72
72
|
variant: {
|
|
73
73
|
admin: string;
|
|
@@ -99,36 +99,4 @@ export declare const useAppShellTheme: (theme?: InferComponentTheme<{
|
|
|
99
99
|
right: string;
|
|
100
100
|
};
|
|
101
101
|
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
102
|
-
}
|
|
103
|
-
root: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
104
|
-
variant: {
|
|
105
|
-
admin: string;
|
|
106
|
-
floating: string;
|
|
107
|
-
inset: string;
|
|
108
|
-
split: string;
|
|
109
|
-
framed: string;
|
|
110
|
-
};
|
|
111
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
112
|
-
frame: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
113
|
-
variant: {
|
|
114
|
-
admin: string;
|
|
115
|
-
floating: string;
|
|
116
|
-
inset: string;
|
|
117
|
-
split: string;
|
|
118
|
-
framed: string;
|
|
119
|
-
};
|
|
120
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
121
|
-
page: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
|
|
122
|
-
variant: {
|
|
123
|
-
admin: string;
|
|
124
|
-
floating: string;
|
|
125
|
-
inset: string;
|
|
126
|
-
split: string;
|
|
127
|
-
framed: string;
|
|
128
|
-
};
|
|
129
|
-
side: {
|
|
130
|
-
left: string;
|
|
131
|
-
right: string;
|
|
132
|
-
};
|
|
133
|
-
}> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
|
|
134
|
-
};
|
|
102
|
+
}>;
|
|
@@ -9,10 +9,7 @@ export declare const setAspectRatioTheme: (theme: InferComponentTheme<{
|
|
|
9
9
|
root: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
10
10
|
content: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
11
11
|
}>) => void;
|
|
12
|
-
export declare const useAspectRatioTheme: (theme
|
|
12
|
+
export declare const useAspectRatioTheme: import("../../utils/cva/theme.js").UseComponentTheme<{
|
|
13
13
|
root: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
14
14
|
content: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
15
|
-
}
|
|
16
|
-
root: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
17
|
-
content: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
|
|
18
|
-
};
|
|
15
|
+
}>;
|