entasis 0.4.1 → 0.6.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.
Files changed (180) hide show
  1. package/README.md +1 -0
  2. package/dist/attachments/spinnerOverlay.theme.d.ts +2 -36
  3. package/dist/components/AIAskUserQuestion/aiAskUserQuestion.theme.d.ts +2 -30
  4. package/dist/components/AIChat/aiChat.theme.d.ts +2 -14
  5. package/dist/components/AIComposer/aiComposer.theme.d.ts +2 -50
  6. package/dist/components/AIContext/aiContext.theme.d.ts +2 -37
  7. package/dist/components/AIConversation/aiConversation.theme.d.ts +2 -4
  8. package/dist/components/AIFilePreview/aiFilePreview.theme.d.ts +2 -17
  9. package/dist/components/AIMarker/aiMarker.theme.d.ts +2 -18
  10. package/dist/components/AIMessage/aiMessage.theme.d.ts +2 -72
  11. package/dist/components/AIMessageActions/aiMessageActions.theme.d.ts +2 -29
  12. package/dist/components/AIModelSelector/aiModelSelector.theme.d.ts +2 -25
  13. package/dist/components/AIReasoning/aiReasoning.theme.d.ts +2 -9
  14. package/dist/components/AISuggestion/aiSuggestion.theme.d.ts +2 -6
  15. package/dist/components/AIThread/aiThread.theme.d.ts +2 -35
  16. package/dist/components/AIThreadToc/aiThreadToc.theme.d.ts +2 -44
  17. package/dist/components/AITool/aiTool.mcp.d.ts +1 -1
  18. package/dist/components/AITool/aiTool.mcp.js +1 -1
  19. package/dist/components/AITool/aiTool.theme.d.ts +2 -170
  20. package/dist/components/AITool/aiTool.theme.js +14 -12
  21. package/dist/components/Accordion/accordion.theme.d.ts +2 -135
  22. package/dist/components/Alert/alert.theme.d.ts +2 -88
  23. package/dist/components/AppShell/appShell.theme.d.ts +2 -34
  24. package/dist/components/AspectRatio/aspectRatio.theme.d.ts +2 -5
  25. package/dist/components/AudioPlayer/audioPlayer.theme.d.ts +2 -179
  26. package/dist/components/Avatar/avatar.theme.d.ts +2 -38
  27. package/dist/components/Avatar/avatarGroup.theme.d.ts +2 -17
  28. package/dist/components/Breadcrumbs/breadcrumbs.theme.d.ts +2 -33
  29. package/dist/components/Button/Button.svelte +15 -13
  30. package/dist/components/Button/button.theme.d.ts +2 -55
  31. package/dist/components/ButtonGroup/buttonGroup.theme.d.ts +2 -4
  32. package/dist/components/Card/card.theme.d.ts +2 -119
  33. package/dist/components/Carousel/carousel.theme.d.ts +2 -73
  34. package/dist/components/Chart/chart.theme.d.ts +2 -24
  35. package/dist/components/Chip/chip.theme.d.ts +2 -56
  36. package/dist/components/Code/code.theme.d.ts +2 -9
  37. package/dist/components/Collapsible/collapsible.theme.d.ts +2 -44
  38. package/dist/components/Command/command.theme.d.ts +2 -103
  39. package/dist/components/Confirmation/confirmation.theme.d.ts +2 -10
  40. package/dist/components/ContextMenu/contextMenu.theme.d.ts +2 -10
  41. package/dist/components/DataTable/dataTable.theme.d.ts +2 -160
  42. package/dist/components/Dialog/Dialog.svelte +16 -0
  43. package/dist/components/Dialog/dialog.mcp.d.ts +1 -1
  44. package/dist/components/Dialog/dialog.mcp.js +2 -1
  45. package/dist/components/Dialog/dialog.props.d.ts +5 -0
  46. package/dist/components/Dialog/dialog.theme.d.ts +2 -137
  47. package/dist/components/Dialog/dialog.theme.js +12 -8
  48. package/dist/components/Diff/diff.theme.d.ts +2 -6
  49. package/dist/components/DocumentViewer/documentViewer.theme.d.ts +2 -87
  50. package/dist/components/Empty/empty.theme.d.ts +2 -71
  51. package/dist/components/EventCalendar/eventCalendar.theme.d.ts +2 -3171
  52. package/dist/components/FloatingWindow/floatingWindow.theme.d.ts +2 -96
  53. package/dist/components/Form/Calendar/CalendarPrimitive.svelte.d.ts +2 -63
  54. package/dist/components/Form/Calendar/calendar.theme.d.ts +2 -63
  55. package/dist/components/Form/CheckboxesInput/checkboxesInput.theme.d.ts +2 -100
  56. package/dist/components/Form/ColorInput/colorInput.theme.d.ts +2 -32
  57. package/dist/components/Form/ColorPicker/colorPicker.theme.d.ts +2 -127
  58. package/dist/components/Form/Combobox/combobox.theme.d.ts +2 -50
  59. package/dist/components/Form/DateInput/dateInput.theme.d.ts +2 -26
  60. package/dist/components/Form/DateSelector/dateSelector.theme.d.ts +2 -17
  61. package/dist/components/Form/Field/field.theme.d.ts +2 -146
  62. package/dist/components/Form/File/fileInput.theme.d.ts +2 -41
  63. package/dist/components/Form/Form/form.state.svelte.d.ts +4 -4
  64. package/dist/components/Form/Form/form.theme.d.ts +2 -129
  65. package/dist/components/Form/Form/visibility.d.ts +54 -54
  66. package/dist/components/Form/KeyValueInput/keyValueInput.theme.d.ts +2 -50
  67. package/dist/components/Form/MultiStepForm/multiStepForm.state.svelte.d.ts +4 -4
  68. package/dist/components/Form/MultiStepForm/multiStepForm.theme.d.ts +2 -25
  69. package/dist/components/Form/NumberInput/numberInput.theme.d.ts +2 -25
  70. package/dist/components/Form/PasswordInput/passwordInput.theme.d.ts +2 -25
  71. package/dist/components/Form/PhoneInput/phoneInput.theme.d.ts +2 -112
  72. package/dist/components/Form/PinInput/pinInput.theme.d.ts +2 -38
  73. package/dist/components/Form/RadioInput/radioInput.theme.d.ts +2 -94
  74. package/dist/components/Form/Select/select.theme.d.ts +2 -71
  75. package/dist/components/Form/Slider/slider.theme.d.ts +2 -266
  76. package/dist/components/Form/Switch/switch.theme.d.ts +2 -40
  77. package/dist/components/Form/TagGroup/tagGroup.theme.d.ts +2 -19
  78. package/dist/components/Form/TagsInput/tagsInput.theme.d.ts +2 -53
  79. package/dist/components/Form/TextArea/textArea.theme.d.ts +2 -25
  80. package/dist/components/Form/TextInput/textInput.theme.d.ts +2 -25
  81. package/dist/components/Form/TimeInput/timeInput.theme.d.ts +2 -47
  82. package/dist/components/Form/VoiceInput/voiceInput.theme.d.ts +2 -155
  83. package/dist/components/GanttChart/ganttChart.theme.d.ts +2 -2478
  84. package/dist/components/Globe/globe.theme.d.ts +2 -13
  85. package/dist/components/Grid/grid.theme.d.ts +2 -18
  86. package/dist/components/Grid/gridSpan.theme.d.ts +2 -4
  87. package/dist/components/Heading/heading.theme.d.ts +2 -41
  88. package/dist/components/Hitbox/hitbox.theme.d.ts +2 -10
  89. package/dist/components/HoverCard/hoverCard.theme.d.ts +11 -27
  90. package/dist/components/HoverCard/hoverCard.theme.js +9 -4
  91. package/dist/components/ImageGallery/imageGallery.theme.d.ts +2 -6
  92. package/dist/components/ImageZoom/imageZoom.theme.d.ts +2 -16
  93. package/dist/components/Kanban/kanban.theme.d.ts +2 -60
  94. package/dist/components/Kbd/kbd.theme.d.ts +2 -33
  95. package/dist/components/Layout/layoutSpacing.d.ts +1 -1
  96. package/dist/components/LinkPreview/linkPreview.theme.d.ts +2 -58
  97. package/dist/components/Map/map.theme.d.ts +2 -14
  98. package/dist/components/Markdown/markdown.theme.d.ts +2 -10
  99. package/dist/components/Marquee/marquee.theme.d.ts +2 -37
  100. package/dist/components/MediaVolume/mediaVolumeControl.theme.d.ts +2 -22
  101. package/dist/components/Menu/menu.theme.d.ts +2 -12
  102. package/dist/components/MenuBar/menuBar.theme.d.ts +2 -16
  103. package/dist/components/MenuOption/menuOption.theme.d.ts +2 -75
  104. package/dist/components/Mermaid/mermaid.theme.d.ts +2 -15
  105. package/dist/components/MetadataList/metadataList.theme.d.ts +2 -97
  106. package/dist/components/Meter/meter.theme.d.ts +2 -111
  107. package/dist/components/MiniCalendar/miniCalendar.theme.d.ts +2 -71
  108. package/dist/components/NetworkIndicator/networkIndicator.theme.d.ts +2 -41
  109. package/dist/components/Overlay/overlay.theme.d.ts +2 -92
  110. package/dist/components/PageShell/pageShell.theme.d.ts +2 -36
  111. package/dist/components/Pagination/pagination.theme.d.ts +2 -108
  112. package/dist/components/Popover/popover.theme.d.ts +2 -40
  113. package/dist/components/PopupMenu/popupMenu.theme.d.ts +2 -4
  114. package/dist/components/ProgressCircle/progressCircle.theme.d.ts +2 -22
  115. package/dist/components/QRCode/qrCode.theme.d.ts +2 -19
  116. package/dist/components/Rating/rating.theme.d.ts +2 -37
  117. package/dist/components/Resizable/resizable.theme.d.ts +2 -65
  118. package/dist/components/RichTextInput/richTextInput.theme.d.ts +2 -167
  119. package/dist/components/ScrollArea/scrollArea.theme.d.ts +2 -15
  120. package/dist/components/SegmentedControl/segmentedControl.theme.d.ts +2 -76
  121. package/dist/components/SelectionMenu/selectionMenu.theme.d.ts +2 -5
  122. package/dist/components/Separator/separator.theme.d.ts +2 -33
  123. package/dist/components/Sidebar/Sidebar.svelte +8 -2
  124. package/dist/components/Sidebar/SidebarAction.svelte +2 -2
  125. package/dist/components/Sidebar/SidebarActivityBar.svelte +3 -3
  126. package/dist/components/Sidebar/SidebarDesktopShell.svelte +3 -0
  127. package/dist/components/Sidebar/SidebarDesktopShell.svelte.d.ts +1 -0
  128. package/dist/components/Sidebar/SidebarGroup.svelte +6 -6
  129. package/dist/components/Sidebar/SidebarMenuButton.svelte +15 -18
  130. package/dist/components/Sidebar/SidebarMenuItem.svelte +15 -21
  131. package/dist/components/Sidebar/SidebarMenuSubItem.svelte +5 -6
  132. package/dist/components/Sidebar/SidebarMobileDrawer.svelte +3 -1
  133. package/dist/components/Sidebar/SidebarMobileDrawer.svelte.d.ts +1 -0
  134. package/dist/components/Sidebar/SidebarPanel.svelte +3 -6
  135. package/dist/components/Sidebar/SidebarTreeNode.svelte +2 -2
  136. package/dist/components/Sidebar/sidebar.mcp.d.ts +1 -1
  137. package/dist/components/Sidebar/sidebar.mcp.js +1 -0
  138. package/dist/components/Sidebar/sidebar.props.d.ts +2 -0
  139. package/dist/components/Sidebar/sidebar.theme.d.ts +116 -540
  140. package/dist/components/Sidebar/sidebar.theme.js +73 -67
  141. package/dist/components/Skeleton/skeleton.theme.d.ts +2 -14
  142. package/dist/components/SortableList/sortableList.theme.d.ts +2 -43
  143. package/dist/components/Spinner/spinner.theme.d.ts +2 -41
  144. package/dist/components/SpinnerText/spinnerText.theme.d.ts +2 -49
  145. package/dist/components/Stack/stack.theme.d.ts +2 -12
  146. package/dist/components/Stat/stat.theme.d.ts +2 -132
  147. package/dist/components/Stepper/stepper.theme.d.ts +2 -22
  148. package/dist/components/Tabbar/tabbar.theme.d.ts +2 -110
  149. package/dist/components/Table/table.theme.d.ts +2 -42
  150. package/dist/components/TableOfContents/tableOfContents.theme.d.ts +2 -28
  151. package/dist/components/Tabs/tabs.theme.d.ts +2 -20
  152. package/dist/components/Theme/Theme.svelte +4 -4
  153. package/dist/components/Theme/theme.designTokens.d.ts +10 -0
  154. package/dist/components/Theme/theme.designTokens.js +14 -1
  155. package/dist/components/Theme/theme.state.svelte.js +3 -3
  156. package/dist/components/Timeline/timeline.theme.d.ts +2 -226
  157. package/dist/components/Toast/toast.theme.d.ts +2 -236
  158. package/dist/components/ToggleButton/toggleButton.theme.d.ts +2 -57
  159. package/dist/components/ToggleButtonGroup/toggleButtonGroup.theme.d.ts +2 -9
  160. package/dist/components/ToggleMenu/toggleMenu.theme.d.ts +2 -7
  161. package/dist/components/Tooltip/tooltip.theme.d.ts +2 -25
  162. package/dist/components/Tree/tree.theme.d.ts +2 -7
  163. package/dist/components/VideoPlayer/videoPlayer.theme.d.ts +2 -145
  164. package/dist/generated/componentContract.d.ts +1 -1
  165. package/dist/generated/componentContract.js +2 -0
  166. package/dist/generated/componentMcpRegistry.d.ts +5 -5
  167. package/dist/tailwind/colors.js +7 -1
  168. package/dist/tailwind/global.js +4 -1
  169. package/dist/tailwind/spacing.d.ts +13 -0
  170. package/dist/tailwind/spacing.js +5 -2
  171. package/dist/tailwind/theme.mcp.d.ts +1 -1
  172. package/dist/tailwind/theme.mcp.js +1 -1
  173. package/dist/utils/cva/cva.mcp.d.ts +1 -1
  174. package/dist/utils/cva/cva.mcp.js +1 -1
  175. package/dist/utils/cva/index.d.ts +1 -1
  176. package/dist/utils/cva/merge.d.ts +108 -0
  177. package/dist/utils/cva/merge.js +6 -2
  178. package/dist/utils/cva/theme.d.ts +36 -1
  179. package/dist/utils/cva/theme.js +25 -2
  180. package/package.json +1 -1
@@ -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 represented by the semantic left indicator: a spinner for active calls and a dot for settled calls. 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";
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 represented by the semantic left indicator: a spinner for active calls and a dot for settled calls. Use the \`status\` snippet only when a visible custom status treatment is required.
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?: InferComponentTheme<{
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
- }> | undefined) => {
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-5 shrink-0 items-center justify-center rounded-full border',
159
+ base: 'flex size-icon-md shrink-0 items-center justify-center',
158
160
  variants: {
159
161
  tone: {
160
- active: 'border-info/30 bg-info/10 text-info-muted-readable',
161
- success: 'border-success/30 bg-success/10 text-success-muted-readable',
162
- error: 'border-danger/30 bg-danger/10 text-danger-muted-readable',
163
- cancelled: 'border-neutral/20 bg-neutral-muted text-neutral-muted-readable',
164
- default: 'border-neutral-muted bg-surface-raised text-neutral/70'
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-5 shrink-0 items-center justify-center rounded-full border',
172
+ base: 'flex size-icon-md shrink-0 items-center justify-center',
171
173
  variants: {
172
174
  tone: {
173
- active: 'border-info/30 bg-info/10 text-info-muted-readable',
174
- success: 'border-success/30 bg-success/10 text-success-muted-readable',
175
- error: 'border-danger/30 bg-danger/10 text-danger-muted-readable',
176
- cancelled: 'border-neutral/20 bg-neutral-muted text-neutral-muted-readable',
177
- default: 'border-neutral-muted bg-surface-raised text-neutral/70'
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?: InferComponentTheme<{
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
- }> | undefined) => {
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?: InferComponentTheme<{
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
- }> | undefined) => {
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?: InferComponentTheme<{
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
- }> | undefined) => {
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?: InferComponentTheme<{
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
- }> | undefined) => {
16
- root: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
17
- content: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
18
- };
15
+ }>;