@alexgorbatchev/shadcn 0.0.161 → 0.0.163
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-1j2hz3w9.js → chunk-3kb1gkke.js} +5 -7
- package/dist/{chunk-zh1vby37.js → chunk-aw5f97jz.js} +1 -1
- package/dist/{chunk-dv0rz8r9.js → chunk-cjfd69vt.js} +2 -2
- package/dist/{chunk-g2amqz9q.js → chunk-crvagbjs.js} +1 -1
- package/dist/chunk-dpedhp0c.js +5 -0
- package/dist/{chunk-ajnmzqsv.js → chunk-jkjq1jkd.js} +1 -1
- package/dist/{chunk-fnfaa0zx.js → chunk-nx931ac3.js} +1 -1
- package/dist/{chunk-j0sw6cn8.js → chunk-rghpa4yc.js} +1 -1
- package/dist/{chunk-wvap51y9.js → chunk-vvt6y9j4.js} +1 -1
- package/dist/components/assistant-ui/elements/ElicitationForm.js +2 -2
- package/dist/components/assistant-ui/elements/ScheduleCard.js +2 -2
- package/dist/components/assistant-ui/elements/SettingsPanel.js +2 -2
- package/dist/components/assistant-ui/elements/VoiceOrb.js +3 -2
- package/dist/components/assistant-ui/index.js +7 -6
- package/dist/components/assistant-ui/native/VoiceOrb.js +4 -3
- package/dist/components/assistant-ui/native/index.js +4 -3
- package/dist/components/image-viewer/DiagramSurface.d.ts +22 -0
- package/dist/components/image-viewer/DiagramViewer.d.ts +42 -0
- package/dist/components/image-viewer/ImageComparison.d.ts +3 -1
- package/dist/components/image-viewer/ImageComparisonToolbar.d.ts +5 -2
- package/dist/components/image-viewer/hooks/useMermaidTheme.d.ts +11 -0
- package/dist/components/image-viewer/index.d.ts +10 -0
- package/dist/components/image-viewer/index.js +780 -250
- package/dist/components/image-viewer/mermaidTheme.d.ts +58 -0
- package/dist/components/image-viewer/prepareDiagramSvg.d.ts +21 -0
- package/dist/components/json-render/index.js +4 -3
- package/dist/components/sonner/index.js +2 -1
- package/dist/index.js +4 -3
- package/dist/prototype.js +1 -1
- package/llms/components/data-display/DiagramViewer.md +66 -0
- package/llms.txt +1 -0
- package/package.json +1 -1
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
// src/theme/ThemeContext.ts
|
|
5
|
-
import { createContext } from "react";
|
|
6
|
-
var ThemeContext = createContext(null);
|
|
1
|
+
import {
|
|
2
|
+
ThemeContext
|
|
3
|
+
} from "./chunk-dpedhp0c.js";
|
|
7
4
|
|
|
8
5
|
// src/hooks/useTheme.ts
|
|
6
|
+
import { useContext } from "react";
|
|
9
7
|
function useTheme2() {
|
|
10
8
|
const context = useContext(ThemeContext);
|
|
11
9
|
if (!context)
|
|
@@ -13,4 +11,4 @@ function useTheme2() {
|
|
|
13
11
|
return context;
|
|
14
12
|
}
|
|
15
13
|
|
|
16
|
-
export {
|
|
14
|
+
export { useTheme2 };
|
|
@@ -14,12 +14,12 @@ function Switch2({ analytics, density, className, size = "default", ...props })
|
|
|
14
14
|
"data-density": density,
|
|
15
15
|
"data-slot": "switch",
|
|
16
16
|
"data-size": size,
|
|
17
|
-
className: (state) => cn2("peer group/switch relative inline-flex shrink-0 items-center rounded-sm border border-input transition-colors outline-none group-has-[:focus-visible]/field-label:border-transparent group-has-[:focus-visible]/field-label:ring-0 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-1 focus-visible:ring-ring aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive data-[size=default]:h-
|
|
17
|
+
className: (state) => cn2("peer group/switch relative inline-flex shrink-0 items-center rounded-sm border border-input transition-colors outline-none group-has-[:focus-visible]/field-label:border-transparent group-has-[:focus-visible]/field-label:ring-0 after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-1 focus-visible:ring-ring aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive data-[size=default]:h-6 data-[size=default]:w-10 data-[size=sm]:h-4 data-[size=sm]:w-7 data-checked:border-primary data-checked:bg-primary data-unchecked:bg-muted data-disabled:cursor-not-allowed data-disabled:opacity-50", typeof className === "function" ? className(state) : className),
|
|
18
18
|
...props,
|
|
19
19
|
onCheckedChange: trackedOnCheckedChange,
|
|
20
20
|
children: /* @__PURE__ */ jsx(SwitchPrimitive.Thumb, {
|
|
21
21
|
"data-slot": "switch-thumb",
|
|
22
|
-
className: "pointer-events-none absolute top-1/2 start-0.5 block -translate-y-1/2 rounded-xs bg-foreground ring-0 transition-[inset-inline-start,background-color] group-data-[size=default]/switch:size-
|
|
22
|
+
className: "pointer-events-none absolute top-1/2 start-0.5 block -translate-y-1/2 rounded-xs bg-foreground ring-0 transition-[inset-inline-start,background-color] group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-2.5 data-checked:bg-primary-foreground group-data-[size=default]/switch:data-checked:start-[calc(100%-1rem-2px)] group-data-[size=sm]/switch:data-checked:start-[calc(100%-0.625rem-2px)]"
|
|
23
23
|
})
|
|
24
24
|
});
|
|
25
25
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ElicitationForm2
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-nx931ac3.js";
|
|
4
4
|
import"../../../chunk-vxvaaptq.js";
|
|
5
5
|
import"../../../chunk-kgqe8gpb.js";
|
|
6
|
-
import"../../../chunk-
|
|
6
|
+
import"../../../chunk-cjfd69vt.js";
|
|
7
7
|
import"../../../chunk-5ez5vgkn.js";
|
|
8
8
|
import"../../../chunk-jc3cbwyg.js";
|
|
9
9
|
import"../../../chunk-4m2x9jfb.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ScheduleCard2
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import"../../../chunk-
|
|
3
|
+
} from "../../../chunk-rghpa4yc.js";
|
|
4
|
+
import"../../../chunk-cjfd69vt.js";
|
|
5
5
|
import"../../../chunk-5mydsjp3.js";
|
|
6
6
|
import"../../../chunk-8ssktt4b.js";
|
|
7
7
|
import"../../../chunk-7ny0vyek.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SettingsPanel2
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-aw5f97jz.js";
|
|
4
4
|
import"../../../chunk-7cq1s2ey.js";
|
|
5
|
-
import"../../../chunk-
|
|
5
|
+
import"../../../chunk-cjfd69vt.js";
|
|
6
6
|
import"../../../chunk-p51p95er.js";
|
|
7
7
|
import"../../../chunk-7jpsybag.js";
|
|
8
8
|
import"../../../chunk-2sx8m8b2.js";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VoiceOrb3
|
|
3
|
-
} from "../../../chunk-
|
|
3
|
+
} from "../../../chunk-jkjq1jkd.js";
|
|
4
4
|
import"../../../chunk-jy57625a.js";
|
|
5
|
-
import"../../../chunk-
|
|
5
|
+
import"../../../chunk-3kb1gkke.js";
|
|
6
|
+
import"../../../chunk-dpedhp0c.js";
|
|
6
7
|
import"../../../chunk-en44w1pn.js";
|
|
7
8
|
export {
|
|
8
9
|
VoiceOrb3 as VoiceOrb
|
|
@@ -231,10 +231,10 @@ import {
|
|
|
231
231
|
EditMessage2
|
|
232
232
|
} from "../../chunk-tgkc06q4.js";
|
|
233
233
|
import"../../chunk-kgqe8gpb.js";
|
|
234
|
-
import"../../chunk-
|
|
234
|
+
import"../../chunk-cjfd69vt.js";
|
|
235
235
|
import {
|
|
236
236
|
ElicitationForm2
|
|
237
|
-
} from "../../chunk-
|
|
237
|
+
} from "../../chunk-nx931ac3.js";
|
|
238
238
|
import"../../chunk-4e96tpw0.js";
|
|
239
239
|
import {
|
|
240
240
|
EmptyState2
|
|
@@ -499,7 +499,7 @@ import {
|
|
|
499
499
|
} from "../../chunk-x4rwh3pv.js";
|
|
500
500
|
import {
|
|
501
501
|
ScheduleCard2
|
|
502
|
-
} from "../../chunk-
|
|
502
|
+
} from "../../chunk-rghpa4yc.js";
|
|
503
503
|
import {
|
|
504
504
|
ScoreBreakdown2
|
|
505
505
|
} from "../../chunk-cqwg3q9q.js";
|
|
@@ -509,7 +509,7 @@ import {
|
|
|
509
509
|
import"../../chunk-7cq1s2ey.js";
|
|
510
510
|
import {
|
|
511
511
|
SettingsPanel2
|
|
512
|
-
} from "../../chunk-
|
|
512
|
+
} from "../../chunk-aw5f97jz.js";
|
|
513
513
|
import {
|
|
514
514
|
SharedConversation2
|
|
515
515
|
} from "../../chunk-fxh3wgg9.js";
|
|
@@ -603,10 +603,11 @@ import {
|
|
|
603
603
|
import {
|
|
604
604
|
VoiceConversation3
|
|
605
605
|
} from "../../chunk-16bfdmnm.js";
|
|
606
|
-
import"../../chunk-
|
|
606
|
+
import"../../chunk-dpedhp0c.js";
|
|
607
|
+
import"../../chunk-3kb1gkke.js";
|
|
607
608
|
import {
|
|
608
609
|
VoiceOrb3
|
|
609
|
-
} from "../../chunk-
|
|
610
|
+
} from "../../chunk-jkjq1jkd.js";
|
|
610
611
|
import {
|
|
611
612
|
WebPreview2
|
|
612
613
|
} from "../../chunk-bs4m363w.js";
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VoiceOrb2
|
|
3
|
-
} from "../../../chunk-
|
|
4
|
-
import"../../../chunk-
|
|
3
|
+
} from "../../../chunk-vvt6y9j4.js";
|
|
4
|
+
import"../../../chunk-jkjq1jkd.js";
|
|
5
5
|
import"../../../chunk-jy57625a.js";
|
|
6
|
-
import"../../../chunk-
|
|
6
|
+
import"../../../chunk-3kb1gkke.js";
|
|
7
|
+
import"../../../chunk-dpedhp0c.js";
|
|
7
8
|
import"../../../chunk-en44w1pn.js";
|
|
8
9
|
export {
|
|
9
10
|
VoiceOrb2 as VoiceOrb
|
|
@@ -225,11 +225,12 @@ import {
|
|
|
225
225
|
VoiceControl2
|
|
226
226
|
} from "../../../chunk-60ne6xaj.js";
|
|
227
227
|
import"../../../chunk-16bfdmnm.js";
|
|
228
|
-
import"../../../chunk-
|
|
229
|
-
import"../../../chunk-
|
|
228
|
+
import"../../../chunk-dpedhp0c.js";
|
|
229
|
+
import"../../../chunk-3kb1gkke.js";
|
|
230
|
+
import"../../../chunk-jkjq1jkd.js";
|
|
230
231
|
import {
|
|
231
232
|
VoiceOrb2
|
|
232
|
-
} from "../../../chunk-
|
|
233
|
+
} from "../../../chunk-vvt6y9j4.js";
|
|
233
234
|
import {
|
|
234
235
|
summaryState2,
|
|
235
236
|
summaryLabel2
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type ReactElement, type Ref } from "react";
|
|
2
|
+
export interface IDiagramSurfaceProps {
|
|
3
|
+
/** Rendered SVG markup for the diagram. */
|
|
4
|
+
svg: string;
|
|
5
|
+
/** Accessible name for the live `<svg role="img">`. */
|
|
6
|
+
label: string;
|
|
7
|
+
/** Optional ID of an external visible caption labelling the diagram. */
|
|
8
|
+
labelledBy?: string;
|
|
9
|
+
/** Optional ID of an external element describing the diagram. */
|
|
10
|
+
describedBy?: string;
|
|
11
|
+
/** Plain-language text alternative attached via `aria-describedby` when `describedBy` is not supplied. */
|
|
12
|
+
description?: string;
|
|
13
|
+
/** `inline` fits responsively on the card surface; `fill` scales to the parent zoom stage. */
|
|
14
|
+
fit?: "inline" | "fill";
|
|
15
|
+
/** Receives the mounted live `<svg>` element, for example to measure its rendered width before opening full screen. */
|
|
16
|
+
svgRef?: Ref<SVGSVGElement | null>;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Mounts a live, theme-matched diagram `<svg>` on the card surface with scoped internal IDs so multiple copies
|
|
20
|
+
* (inline and full screen) coexist safely while keeping `role="img"`, accessible naming, and live vector text.
|
|
21
|
+
*/
|
|
22
|
+
export declare function DiagramSurface({ svg, label, labelledBy, describedBy, description, fit, svgRef, }: IDiagramSurfaceProps): ReactElement;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { type KeyboardEvent, type ReactElement, type ReactNode, type Ref } from "react";
|
|
2
|
+
import type { IDensityProps } from "../../density/types.js";
|
|
3
|
+
import type { IImageSize, ImageZoom } from "./types.js";
|
|
4
|
+
export interface IDiagramViewerProps extends IDensityProps {
|
|
5
|
+
/** Rendered SVG markup for the live diagram. */
|
|
6
|
+
svg: string;
|
|
7
|
+
/** Accessible name of both the diagram and the zoom stage (followed by the zoom percent). */
|
|
8
|
+
label: string;
|
|
9
|
+
/** Optional plain-language description attached to the live SVG via `aria-describedby`. */
|
|
10
|
+
description?: string;
|
|
11
|
+
/** Natural size of the diagram; inferred from the SVG's `viewBox` when omitted. */
|
|
12
|
+
naturalSize?: IImageSize;
|
|
13
|
+
/** Controlled zoom. */
|
|
14
|
+
zoom?: ImageZoom;
|
|
15
|
+
/**
|
|
16
|
+
* Initial zoom when uncontrolled. Defaults to the opening zoom: `fit`, or `fit-width` for tall diagrams, and never
|
|
17
|
+
* narrower than `openingWidth`.
|
|
18
|
+
*/
|
|
19
|
+
defaultZoom?: ImageZoom;
|
|
20
|
+
onZoomChange?: (zoom: ImageZoom) => void;
|
|
21
|
+
/**
|
|
22
|
+
* Width in CSS pixels the diagram had where it was opened from on the page. Without a controlled or default zoom,
|
|
23
|
+
* the viewer opens no narrower than this so labels stay at least as large as inline under browser zoom.
|
|
24
|
+
*/
|
|
25
|
+
openingWidth?: number;
|
|
26
|
+
/** Shows the zoom bar (Fit, Fit width, zoom out, percent, zoom in) in a toolbar row above the diagram. */
|
|
27
|
+
showZoomControl?: boolean;
|
|
28
|
+
/** Further controls in the toolbar row after the zoom bar, such as Comment on diagram. */
|
|
29
|
+
toolbar?: ReactNode;
|
|
30
|
+
/** The focusable stage that scrolls and pans the diagram. */
|
|
31
|
+
stageRef?: Ref<HTMLDivElement>;
|
|
32
|
+
/** Runs for keys pressed while the stage has focus, before its own zoom and pan keys. */
|
|
33
|
+
onStageKeyDown?: (event: KeyboardEvent<HTMLDivElement>) => void;
|
|
34
|
+
/** Further `aria-keyshortcuts` of the stage. */
|
|
35
|
+
stageKeyShortcuts?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Displays a live vector SVG diagram inside the shared zoom-and-pan stage (`ImageViewport`) with the same zoom bar,
|
|
39
|
+
* keyboard shortcuts (`+`, `-`, `0`, `1`, arrows), drag/pinch/Mod+wheel gestures, and `openingWidth` floor as
|
|
40
|
+
* `ImageViewer`. Keeps diagram labels as live vector text rather than rasterizing into an `<img>`.
|
|
41
|
+
*/
|
|
42
|
+
export declare function DiagramViewer({ svg, label, description, naturalSize: naturalSizeProp, zoom: zoomProp, defaultZoom, onZoomChange, openingWidth, showZoomControl, toolbar, stageRef, onStageKeyDown, stageKeyShortcuts, density, }: IDiagramViewerProps): ReactElement;
|
|
@@ -35,6 +35,8 @@ export interface IImageComparisonProps extends IDensityProps {
|
|
|
35
35
|
onShowDifferencesChange?: (showDifferences: boolean) => void;
|
|
36
36
|
/** Shows the comparison controls. Defaults to true. */
|
|
37
37
|
showToolbar?: boolean;
|
|
38
|
+
/** Uses the incremental zoom control (Fit, Fit width, −, %, +) instead of the two-way Fit/Original toggle. */
|
|
39
|
+
showZoomControl?: boolean;
|
|
38
40
|
/** Further controls in the toolbar row after the comparison controls, such as comment actions. */
|
|
39
41
|
toolbar?: ReactNode;
|
|
40
42
|
/** Content positioned over the before image (before pane in side-by-side, stage in toggle and swipe). */
|
|
@@ -60,4 +62,4 @@ export interface IImageComparisonProps extends IDensityProps {
|
|
|
60
62
|
* inside the after image's box. Highlighting differences compares pixels on first use, caches the result per pair, and
|
|
61
63
|
* steps through changed regions with buttons or N / Shift+N.
|
|
62
64
|
*/
|
|
63
|
-
export declare function ImageComparison({ before, after, beforeLabel, afterLabel, mode: modeProp, defaultMode, onModeChange, side: sideProp, defaultSide, onSideChange, orientation: orientationProp, defaultOrientation, onOrientationChange, zoom: zoomProp, defaultZoom, onZoomChange, showDifferences: showDifferencesProp, defaultShowDifferences, onShowDifferencesChange, showToolbar, toolbar, beforeOverlay, afterOverlay, stageOverlay, onCommentDifference, onSwipePositionChange, onStageKeyDown, stageKeyShortcuts, label, density, }: IImageComparisonProps): ReactElement;
|
|
65
|
+
export declare function ImageComparison({ before, after, beforeLabel, afterLabel, mode: modeProp, defaultMode, onModeChange, side: sideProp, defaultSide, onSideChange, orientation: orientationProp, defaultOrientation, onOrientationChange, zoom: zoomProp, defaultZoom, onZoomChange, showDifferences: showDifferencesProp, defaultShowDifferences, onShowDifferencesChange, showToolbar, showZoomControl, toolbar, beforeOverlay, afterOverlay, stageOverlay, onCommentDifference, onSwipePositionChange, onStageKeyDown, stageKeyShortcuts, label, density, }: IImageComparisonProps): ReactElement;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ReactElement, type ReactNode } from "react";
|
|
2
2
|
import type { IDensityProps } from "../../density/types.js";
|
|
3
|
-
import type { IImageSize, ImageComparisonMode, ImageComparisonOrientation, ImageComparisonSide, ImageDifferenceState, ImageZoom } from "./types.js";
|
|
3
|
+
import type { IImageSize, IImageZoomScales, ImageComparisonMode, ImageComparisonOrientation, ImageComparisonSide, ImageDifferenceState, ImageZoom } from "./types.js";
|
|
4
4
|
interface IImageComparisonToolbarProps extends IDensityProps {
|
|
5
5
|
mode: ImageComparisonMode;
|
|
6
6
|
onModeChange: (mode: ImageComparisonMode) => void;
|
|
@@ -10,6 +10,9 @@ interface IImageComparisonToolbarProps extends IDensityProps {
|
|
|
10
10
|
onOrientationChange: (orientation: ImageComparisonOrientation) => void;
|
|
11
11
|
zoom: ImageZoom;
|
|
12
12
|
onZoomChange: (zoom: ImageZoom) => void;
|
|
13
|
+
showZoomControl?: boolean;
|
|
14
|
+
zoomScale?: number;
|
|
15
|
+
zoomScales?: IImageZoomScales;
|
|
13
16
|
showDifferences: boolean;
|
|
14
17
|
onShowDifferencesChange: (showDifferences: boolean) => void;
|
|
15
18
|
differences: ImageDifferenceState;
|
|
@@ -24,5 +27,5 @@ interface IImageComparisonToolbarProps extends IDensityProps {
|
|
|
24
27
|
toolbar?: ReactNode;
|
|
25
28
|
}
|
|
26
29
|
/** Comparison controls in a single horizontal wrapping toolbar row above the stage so images get the full width. */
|
|
27
|
-
export declare function ImageComparisonToolbar({ mode, onModeChange, side, onSideChange, orientation, onOrientationChange, zoom, onZoomChange, showDifferences, onShowDifferencesChange, differences, activeRegionIndex, onStepChange, onCommentActiveDifference, onPeekChange, beforeLabel, afterLabel, beforeSize, afterSize, toolbar, density, }: IImageComparisonToolbarProps): ReactElement;
|
|
30
|
+
export declare function ImageComparisonToolbar({ mode, onModeChange, side, onSideChange, orientation, onOrientationChange, zoom, onZoomChange, showZoomControl, zoomScale, zoomScales, showDifferences, onShowDifferencesChange, differences, activeRegionIndex, onStepChange, onCommentActiveDifference, onPeekChange, beforeLabel, afterLabel, beforeSize, afterSize, toolbar, density, }: IImageComparisonToolbarProps): ReactElement;
|
|
28
31
|
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type IMermaidThemeConfig } from "../mermaidTheme.js";
|
|
2
|
+
export interface IMermaidThemeState {
|
|
3
|
+
/** Stable fingerprint that changes whenever the resolved Mermaid palette or font changes. */
|
|
4
|
+
themeKey: string;
|
|
5
|
+
config: IMermaidThemeConfig;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Tracks the active library theme and system appearance and returns updated Mermaid theme configuration whenever
|
|
9
|
+
* appearance, theme preset, or root styling changes so open diagrams redraw without a reload.
|
|
10
|
+
*/
|
|
11
|
+
export declare function useMermaidTheme(element?: Element | null): IMermaidThemeState;
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
export { ImageViewer } from "./ImageViewer.js";
|
|
2
2
|
export type { IImageViewerProps } from "./ImageViewer.js";
|
|
3
|
+
export { DiagramSurface } from "./DiagramSurface.js";
|
|
4
|
+
export type { IDiagramSurfaceProps } from "./DiagramSurface.js";
|
|
5
|
+
export { DiagramViewer } from "./DiagramViewer.js";
|
|
6
|
+
export type { IDiagramViewerProps } from "./DiagramViewer.js";
|
|
7
|
+
export { getMermaidThemeConfig, resolveCssColorToHex } from "./mermaidTheme.js";
|
|
8
|
+
export type { IMermaidThemeConfig, IMermaidThemeVariables } from "./mermaidTheme.js";
|
|
9
|
+
export { useMermaidTheme } from "./hooks/useMermaidTheme.js";
|
|
10
|
+
export type { IMermaidThemeState } from "./hooks/useMermaidTheme.js";
|
|
11
|
+
export { getDiagramSvgSize, prepareDiagramSvg } from "./prepareDiagramSvg.js";
|
|
12
|
+
export type { IPrepareDiagramSvgOptions } from "./prepareDiagramSvg.js";
|
|
3
13
|
export { ImageZoomToggle } from "./ImageZoomToggle.js";
|
|
4
14
|
export type { IImageZoomToggleProps } from "./ImageZoomToggle.js";
|
|
5
15
|
export { ImageZoomControl } from "./ImageZoomControl.js";
|