entasis 0.4.1 → 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.
Files changed (164) 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.theme.d.ts +2 -129
  64. package/dist/components/Form/KeyValueInput/keyValueInput.theme.d.ts +2 -50
  65. package/dist/components/Form/MultiStepForm/multiStepForm.theme.d.ts +2 -25
  66. package/dist/components/Form/NumberInput/numberInput.theme.d.ts +2 -25
  67. package/dist/components/Form/PasswordInput/passwordInput.theme.d.ts +2 -25
  68. package/dist/components/Form/PhoneInput/phoneInput.theme.d.ts +2 -112
  69. package/dist/components/Form/PinInput/pinInput.theme.d.ts +2 -38
  70. package/dist/components/Form/RadioInput/radioInput.theme.d.ts +2 -94
  71. package/dist/components/Form/Select/select.theme.d.ts +2 -71
  72. package/dist/components/Form/Slider/slider.theme.d.ts +2 -266
  73. package/dist/components/Form/Switch/switch.theme.d.ts +2 -40
  74. package/dist/components/Form/TagGroup/tagGroup.theme.d.ts +2 -19
  75. package/dist/components/Form/TagsInput/tagsInput.theme.d.ts +2 -53
  76. package/dist/components/Form/TextArea/textArea.theme.d.ts +2 -25
  77. package/dist/components/Form/TextInput/textInput.theme.d.ts +2 -25
  78. package/dist/components/Form/TimeInput/timeInput.theme.d.ts +2 -47
  79. package/dist/components/Form/VoiceInput/voiceInput.theme.d.ts +2 -155
  80. package/dist/components/GanttChart/ganttChart.theme.d.ts +2 -2478
  81. package/dist/components/Globe/globe.theme.d.ts +2 -13
  82. package/dist/components/Grid/grid.theme.d.ts +2 -18
  83. package/dist/components/Grid/gridSpan.theme.d.ts +2 -4
  84. package/dist/components/Heading/heading.theme.d.ts +2 -41
  85. package/dist/components/Hitbox/hitbox.theme.d.ts +2 -10
  86. package/dist/components/HoverCard/hoverCard.theme.d.ts +11 -27
  87. package/dist/components/HoverCard/hoverCard.theme.js +9 -4
  88. package/dist/components/ImageGallery/imageGallery.theme.d.ts +2 -6
  89. package/dist/components/ImageZoom/imageZoom.theme.d.ts +2 -16
  90. package/dist/components/Kanban/kanban.theme.d.ts +2 -60
  91. package/dist/components/Kbd/kbd.theme.d.ts +2 -33
  92. package/dist/components/Layout/layoutSpacing.d.ts +1 -1
  93. package/dist/components/LinkPreview/linkPreview.theme.d.ts +2 -58
  94. package/dist/components/Map/map.theme.d.ts +2 -14
  95. package/dist/components/Markdown/markdown.theme.d.ts +2 -10
  96. package/dist/components/Marquee/marquee.theme.d.ts +2 -37
  97. package/dist/components/MediaVolume/mediaVolumeControl.theme.d.ts +2 -22
  98. package/dist/components/Menu/menu.theme.d.ts +2 -12
  99. package/dist/components/MenuBar/menuBar.theme.d.ts +2 -16
  100. package/dist/components/MenuOption/menuOption.theme.d.ts +2 -75
  101. package/dist/components/Mermaid/mermaid.theme.d.ts +2 -15
  102. package/dist/components/MetadataList/metadataList.theme.d.ts +2 -97
  103. package/dist/components/Meter/meter.theme.d.ts +2 -111
  104. package/dist/components/MiniCalendar/miniCalendar.theme.d.ts +2 -71
  105. package/dist/components/NetworkIndicator/networkIndicator.theme.d.ts +2 -41
  106. package/dist/components/Overlay/overlay.theme.d.ts +2 -92
  107. package/dist/components/PageShell/pageShell.theme.d.ts +2 -36
  108. package/dist/components/Pagination/pagination.theme.d.ts +2 -108
  109. package/dist/components/Popover/popover.theme.d.ts +2 -40
  110. package/dist/components/PopupMenu/popupMenu.theme.d.ts +2 -4
  111. package/dist/components/ProgressCircle/progressCircle.theme.d.ts +2 -22
  112. package/dist/components/QRCode/qrCode.theme.d.ts +2 -19
  113. package/dist/components/Rating/rating.theme.d.ts +2 -37
  114. package/dist/components/Resizable/resizable.theme.d.ts +2 -65
  115. package/dist/components/RichTextInput/richTextInput.theme.d.ts +2 -167
  116. package/dist/components/ScrollArea/scrollArea.theme.d.ts +2 -15
  117. package/dist/components/SegmentedControl/segmentedControl.theme.d.ts +2 -76
  118. package/dist/components/SelectionMenu/selectionMenu.theme.d.ts +2 -5
  119. package/dist/components/Separator/separator.theme.d.ts +2 -33
  120. package/dist/components/Sidebar/SidebarAction.svelte +2 -2
  121. package/dist/components/Sidebar/SidebarActivityBar.svelte +3 -3
  122. package/dist/components/Sidebar/SidebarGroup.svelte +6 -6
  123. package/dist/components/Sidebar/SidebarMenuButton.svelte +15 -18
  124. package/dist/components/Sidebar/SidebarMenuItem.svelte +15 -21
  125. package/dist/components/Sidebar/SidebarMenuSubItem.svelte +5 -6
  126. package/dist/components/Sidebar/SidebarPanel.svelte +3 -6
  127. package/dist/components/Sidebar/SidebarTreeNode.svelte +2 -2
  128. package/dist/components/Sidebar/sidebar.theme.d.ts +86 -540
  129. package/dist/components/Sidebar/sidebar.theme.js +69 -67
  130. package/dist/components/Skeleton/skeleton.theme.d.ts +2 -14
  131. package/dist/components/SortableList/sortableList.theme.d.ts +2 -43
  132. package/dist/components/Spinner/spinner.theme.d.ts +2 -41
  133. package/dist/components/SpinnerText/spinnerText.theme.d.ts +2 -49
  134. package/dist/components/Stack/stack.theme.d.ts +2 -12
  135. package/dist/components/Stat/stat.theme.d.ts +2 -132
  136. package/dist/components/Stepper/stepper.theme.d.ts +2 -22
  137. package/dist/components/Tabbar/tabbar.theme.d.ts +2 -110
  138. package/dist/components/Table/table.theme.d.ts +2 -42
  139. package/dist/components/TableOfContents/tableOfContents.theme.d.ts +2 -28
  140. package/dist/components/Tabs/tabs.theme.d.ts +2 -20
  141. package/dist/components/Theme/Theme.svelte +4 -4
  142. package/dist/components/Theme/theme.designTokens.d.ts +10 -0
  143. package/dist/components/Theme/theme.designTokens.js +14 -1
  144. package/dist/components/Theme/theme.state.svelte.js +3 -3
  145. package/dist/components/Timeline/timeline.theme.d.ts +2 -226
  146. package/dist/components/Toast/toast.theme.d.ts +2 -236
  147. package/dist/components/ToggleButton/toggleButton.theme.d.ts +2 -57
  148. package/dist/components/ToggleButtonGroup/toggleButtonGroup.theme.d.ts +2 -9
  149. package/dist/components/ToggleMenu/toggleMenu.theme.d.ts +2 -7
  150. package/dist/components/Tooltip/tooltip.theme.d.ts +2 -25
  151. package/dist/components/Tree/tree.theme.d.ts +2 -7
  152. package/dist/components/VideoPlayer/videoPlayer.theme.d.ts +2 -145
  153. package/dist/generated/componentContract.d.ts +1 -1
  154. package/dist/generated/componentContract.js +2 -0
  155. package/dist/generated/componentMcpRegistry.d.ts +3 -3
  156. package/dist/tailwind/colors.js +7 -1
  157. package/dist/tailwind/spacing.d.ts +13 -0
  158. package/dist/tailwind/spacing.js +5 -2
  159. package/dist/utils/cva/cva.mcp.d.ts +1 -1
  160. package/dist/utils/cva/cva.mcp.js +1 -1
  161. package/dist/utils/cva/index.d.ts +1 -1
  162. package/dist/utils/cva/theme.d.ts +36 -1
  163. package/dist/utils/cva/theme.js +25 -2
  164. package/package.json +1 -1
@@ -60,6 +60,7 @@ The Dialog component (also known as Modal) displays content in a layer above the
60
60
  - **closable**: boolean (default: true) - Whether dialog can be closed
61
61
  - **swipeToDismiss**: boolean (default: true for drawer types) - Drag the drawer toward its edge to dismiss. Direction-aware (drawerRight drags right, drawerBottom drags down, etc.) and never hijacks inner scrolling; opt elements out with \`data-no-swipe\`
62
62
  - **thumb**: boolean (default: true) - Drag thumb bar shown on swipe-dismissable drawers (inner edge, orientation follows the drawer side, oversized hitbox); set false to hide. Themeable via the \`thumb\` theme part
63
+ - **inset**: a spacing step or \`'none'\` — how far a drawer stands off the screen edge for this dialog. Defaults to the theme's \`designTokens.drawerInset\` (\`'layout-md'\`). At \`'none'\` the drawer is edge to edge, its edge corners square off and only the corners facing the page stay rounded
63
64
  - **swipeFrom**: 'panel' | 'handle' (default: 'panel') - Where a swipe can start: anywhere on the panel, or only the drag handles (thumb and header)
64
65
 
65
66
  ### Visual Props
@@ -340,7 +341,7 @@ const customTheme: DialogThemeProps = {
340
341
  },
341
342
  type: {
342
343
  fullScreen: 'h-full w-full max-w-full',
343
- drawerRight: 'rounded-l-none h-full',
344
+ drawerRight: 'rounded-r-[var(--drawer-edge-radius)] h-full',
344
345
  modal: ''
345
346
  }
346
347
  },
@@ -1,3 +1,4 @@
1
+ import type { SpacingStep } from '../../tailwind/spacing.js';
1
2
  import type { Snippet } from 'svelte';
2
3
  import type { WithSlot } from '../Slot/slot.js';
3
4
  import type { DialogState } from './dialog.state.svelte.js';
@@ -53,6 +54,10 @@ export type DialogProps = WithSlot<{
53
54
  /** Where a swipe can start: the whole panel (`panel`, default) or only the drag handles
54
55
  * (`handle` — the thumb and the header). */
55
56
  swipeFrom?: 'panel' | 'handle';
57
+ /** How far a drawer stands off the screen edge: a spacing step or `'none'` for edge to edge.
58
+ * Defaults to the theme's `designTokens.drawerInset` (`'layout-md'`). At `'none'` the edge
59
+ * corners square off and only the corners facing the page keep their radius. */
60
+ inset?: SpacingStep | 'none';
56
61
  /** Additional CSS classes merged onto the portaled dialog root element. */
57
62
  class?: string;
58
63
  /** Per-instance theme overrides for dialog layout and styling class names. */
@@ -407,7 +407,7 @@ export declare const setDialogTheme: (theme: InferComponentTheme<{
407
407
  };
408
408
  }> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
409
409
  }>) => void;
410
- export declare const useDialogTheme: (theme?: InferComponentTheme<{
410
+ export declare const useDialogTheme: import("../../utils/cva/theme.js").UseComponentTheme<{
411
411
  motion: import("../../utils/motion/index.js").MotionResolver<{
412
412
  readonly type: {
413
413
  readonly modal: {};
@@ -542,142 +542,7 @@ export declare const useDialogTheme: (theme?: InferComponentTheme<{
542
542
  large: string;
543
543
  };
544
544
  }> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
545
- }> | undefined) => {
546
- motion: import("../../utils/motion/index.js").MotionResolver<{
547
- readonly type: {
548
- readonly modal: {};
549
- readonly fullScreen: {};
550
- readonly drawerRight: {
551
- readonly in: {
552
- readonly x: "100%";
553
- };
554
- readonly out: {
555
- readonly x: "100%";
556
- };
557
- };
558
- readonly drawerLeft: {
559
- readonly in: {
560
- readonly x: "-100%";
561
- };
562
- readonly out: {
563
- readonly x: "-100%";
564
- };
565
- };
566
- readonly drawerBottom: {
567
- readonly in: {
568
- readonly y: "100%";
569
- };
570
- readonly out: {
571
- readonly y: "100%";
572
- };
573
- };
574
- readonly drawerTop: {
575
- readonly in: {
576
- readonly y: "-100%";
577
- };
578
- readonly out: {
579
- readonly y: "-100%";
580
- };
581
- };
582
- readonly alert: {
583
- readonly in: {
584
- readonly y: -100;
585
- };
586
- readonly out: {
587
- readonly y: -100;
588
- };
589
- };
590
- };
591
- }>;
592
- root: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
593
- scroll: {
594
- inner: string;
595
- outer: string;
596
- };
597
- }> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
598
- align: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
599
- type: {
600
- fullScreen: string;
601
- drawerRight: string;
602
- drawerLeft: string;
603
- drawerBottom: string;
604
- drawerTop: string;
605
- modal: string;
606
- alert: string;
607
- };
608
- scroll: {
609
- inner: string;
610
- outer: string;
611
- };
612
- }> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
613
- backdrop: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
614
- content: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
615
- size: {
616
- small: string;
617
- normal: string;
618
- large: string;
619
- };
620
- type: {
621
- fullScreen: string;
622
- drawerRight: string;
623
- drawerLeft: string;
624
- drawerBottom: string;
625
- drawerTop: string;
626
- modal: string;
627
- alert: string;
628
- };
629
- scroll: {
630
- inner: string;
631
- outer: string;
632
- };
633
- }> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
634
- thumb: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
635
- type: {
636
- fullScreen: string;
637
- drawerRight: string;
638
- drawerLeft: string;
639
- drawerBottom: string;
640
- drawerTop: string;
641
- modal: string;
642
- alert: string;
643
- };
644
- }> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
645
- header: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
646
- size: {
647
- small: string;
648
- normal: string;
649
- large: string;
650
- };
651
- }> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
652
- footer: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
653
- size: {
654
- small: string;
655
- normal: string;
656
- large: string;
657
- };
658
- }> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
659
- closeButton: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
660
- size: {
661
- small: string;
662
- normal: string;
663
- large: string;
664
- };
665
- }> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
666
- title: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
667
- size: {
668
- small: string;
669
- normal: string;
670
- large: string;
671
- };
672
- }> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
673
- description: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
674
- size: {
675
- small: string;
676
- normal: string;
677
- large: string;
678
- };
679
- }> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
680
- };
545
+ }>;
681
546
  export declare const useDialogMotion: () => import("../../utils/motion/index.js").ComponentMotion<{
682
547
  readonly type: {
683
548
  readonly modal: {};
@@ -18,10 +18,12 @@ export const defaultDialogAlign = cva({
18
18
  variants: {
19
19
  type: {
20
20
  fullScreen: 'justify-center items-center',
21
- drawerRight: 'justify-end',
22
- drawerLeft: 'justify-start',
23
- drawerBottom: 'justify-center items-end',
24
- drawerTop: 'justify-center items-start',
21
+ // Drawers stand off the screen edge by `--drawer-inset` (the `drawerInset` design token),
22
+ // modals keep the fixed gutter.
23
+ drawerRight: 'justify-end p-(--drawer-inset)',
24
+ drawerLeft: 'justify-start p-(--drawer-inset)',
25
+ drawerBottom: 'justify-center items-end p-(--drawer-inset)',
26
+ drawerTop: 'justify-center items-start p-(--drawer-inset)',
25
27
  modal: 'justify-center items-center',
26
28
  alert: 'justify-center items-center'
27
29
  },
@@ -49,10 +51,12 @@ export const defaultDialogContent = cva({
49
51
  },
50
52
  type: {
51
53
  fullScreen: 'h-full w-full max-w-full origin-center',
52
- drawerRight: 'rounded-l-none h-full origin-right',
53
- drawerLeft: 'rounded-r-none h-full origin-left',
54
- drawerBottom: 'rounded-b-none max-w-full origin-bottom',
55
- drawerTop: 'rounded-t-none max-w-full origin-top',
54
+ // The side that meets the screen edge takes `--drawer-edge-radius` (see Dialog.svelte):
55
+ // the panel's own radius while the drawer is inset, square once `drawerInset` is `none`.
56
+ drawerRight: 'rounded-r-[var(--drawer-edge-radius)] h-full origin-right',
57
+ drawerLeft: 'rounded-l-[var(--drawer-edge-radius)] h-full origin-left',
58
+ drawerBottom: 'rounded-b-[var(--drawer-edge-radius)] max-w-full origin-bottom',
59
+ drawerTop: 'rounded-t-[var(--drawer-edge-radius)] max-w-full origin-top',
56
60
  modal: 'origin-center',
57
61
  alert: 'origin-center'
58
62
  },
@@ -11,12 +11,8 @@ export declare const setDiffTheme: (theme: InferComponentTheme<{
11
11
  file: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
12
12
  error: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
13
13
  }>) => void;
14
- export declare const useDiffTheme: (theme?: InferComponentTheme<{
14
+ export declare const useDiffTheme: import("../../utils/cva/theme.js").UseComponentTheme<{
15
15
  root: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
16
16
  file: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
17
17
  error: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
18
- }> | undefined) => {
19
- root: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
20
- file: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
21
- error: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
22
- };
18
+ }>;
@@ -178,7 +178,7 @@ export declare const setDocumentViewerTheme: (theme: InferComponentTheme<{
178
178
  ooxmlCanvas: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
179
179
  ooxmlTextLayer: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
180
180
  }>) => void;
181
- export declare const useDocumentViewerTheme: (theme?: InferComponentTheme<{
181
+ export declare const useDocumentViewerTheme: import("../../utils/cva/theme.js").UseComponentTheme<{
182
182
  root: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
183
183
  size: {
184
184
  small: string;
@@ -263,89 +263,4 @@ export declare const useDocumentViewerTheme: (theme?: InferComponentTheme<{
263
263
  ooxmlPage: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
264
264
  ooxmlCanvas: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
265
265
  ooxmlTextLayer: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
266
- }> | undefined) => {
267
- root: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
268
- size: {
269
- small: string;
270
- normal: string;
271
- large: string;
272
- };
273
- position: {
274
- top: string;
275
- bottom: string;
276
- left: string;
277
- right: string;
278
- };
279
- }> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
280
- toolbar: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
281
- size: {
282
- small: string;
283
- normal: string;
284
- large: string;
285
- };
286
- position: {
287
- top: string;
288
- bottom: string;
289
- left: string;
290
- right: string;
291
- };
292
- }> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
293
- pageInfo: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
294
- size: {
295
- small: string;
296
- normal: string;
297
- large: string;
298
- };
299
- }> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
300
- viewer: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
301
- position: {
302
- top: string;
303
- bottom: string;
304
- left: string;
305
- right: string;
306
- };
307
- }> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
308
- workspace: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
309
- content: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
310
- warning: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
311
- sidebar: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
312
- thumbnails: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
313
- thumbnail: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
314
- thumbnailActive: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
315
- thumbnailPreview: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
316
- thumbnailCanvas: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
317
- surface: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
318
- pages: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
319
- orientation: {
320
- vertical: string;
321
- horizontal: string;
322
- };
323
- }> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
324
- single: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
325
- singlePage: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
326
- scroller: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
327
- page: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
328
- canvas: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
329
- pageError: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
330
- error: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
331
- skeleton: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
332
- search: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
333
- searchInput: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
334
- size: {
335
- small: string;
336
- normal: string;
337
- large: string;
338
- };
339
- }> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
340
- searchCount: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
341
- sheetTabs: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
342
- sheetTab: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
343
- sheetTabActive: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
344
- grid: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
345
- gridCell: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
346
- gridHeader: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
347
- legacyPage: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
348
- ooxmlPage: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
349
- ooxmlCanvas: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
350
- ooxmlTextLayer: (props?: import("../../utils/cva/types.js").CVAClassProp | undefined) => string;
351
- };
266
+ }>;
@@ -141,7 +141,7 @@ export declare const setEmptyTheme: (theme: InferComponentTheme<{
141
141
  };
142
142
  }> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
143
143
  }>) => void;
144
- export declare const useEmptyTheme: (theme?: InferComponentTheme<{
144
+ export declare const useEmptyTheme: import("../../utils/cva/theme.js").UseComponentTheme<{
145
145
  root: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
146
146
  size: {
147
147
  small: string;
@@ -210,73 +210,4 @@ export declare const useEmptyTheme: (theme?: InferComponentTheme<{
210
210
  large: string;
211
211
  };
212
212
  }> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
213
- }> | undefined) => {
214
- root: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
215
- size: {
216
- small: string;
217
- normal: string;
218
- large: string;
219
- };
220
- mode: {
221
- normal: string;
222
- card: string;
223
- };
224
- bordered: {
225
- true: string;
226
- false: null;
227
- };
228
- }> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
229
- header: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
230
- size: {
231
- small: string;
232
- normal: string;
233
- large: string;
234
- };
235
- }> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
236
- media: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
237
- size: {
238
- small: string;
239
- normal: string;
240
- large: string;
241
- };
242
- mediaVariant: {
243
- default: string;
244
- icon: string;
245
- };
246
- }> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
247
- title: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
248
- size: {
249
- small: string;
250
- normal: string;
251
- large: string;
252
- };
253
- }> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
254
- description: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
255
- size: {
256
- small: string;
257
- normal: string;
258
- large: string;
259
- };
260
- }> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
261
- content: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
262
- size: {
263
- small: string;
264
- normal: string;
265
- large: string;
266
- };
267
- }> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
268
- actions: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
269
- size: {
270
- small: string;
271
- normal: string;
272
- large: string;
273
- };
274
- }> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
275
- footer: (props?: (import("../../utils/cva/types.js").CVAVariantSchema<{
276
- size: {
277
- small: string;
278
- normal: string;
279
- large: string;
280
- };
281
- }> & import("../../utils/cva/types.js").CVAClassProp) | undefined) => string;
282
- };
213
+ }>;