@yuzhouu/canvas-kit 0.1.4 → 0.1.5
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/_vendor/plugin-geo/geoTools.d.ts +1 -0
- package/_vendor/plugin-text/canvas.d.ts +4 -1
- package/_vendor/plugin-text/editor.d.ts +4 -1
- package/_vendor/plugin-text/feature.d.ts +3 -2
- package/_vendor/plugin-text/host/RichTextEditingBox.d.ts +3 -1
- package/_vendor/plugin-text/host/TiptapTextEditor.d.ts +3 -1
- package/_vendor/plugin-text/host/textEditingBoxStyle.d.ts +2 -1
- package/_vendor/plugin-text/host/textFontLoader.d.ts +2 -1
- package/_vendor/plugin-text/host/textMeasurement.d.ts +4 -3
- package/_vendor/plugin-text/host/textMeasurementSync.d.ts +2 -1
- package/_vendor/plugin-text/host/textShapeRendererRuntime.d.ts +2 -1
- package/_vendor/plugin-text/host/textShapeSync.d.ts +3 -1
- package/_vendor/plugin-text/host/tiptapTextEditorController.d.ts +3 -1
- package/_vendor/plugin-text/index.d.ts +2 -0
- package/_vendor/plugin-text/textFonts.d.ts +46 -0
- package/_vendor/plugin-text/textShapeSvgExporter.d.ts +3 -0
- package/_vendor/plugin-text/textStyle.d.ts +11 -2
- package/_vendor/plugin-text/textTypes.d.ts +2 -2
- package/builtins/controller/shapeCreationController.d.ts +2 -0
- package/builtins/extensions.d.ts +4 -2
- package/index.d.ts +2 -0
- package/index.mjs +66 -66
- package/package.json +1 -1
- package/product/canvasKitProduct.d.ts +2 -11
|
@@ -4,6 +4,7 @@ declare class BoxGeoTool extends StateNode {
|
|
|
4
4
|
private readonly geo;
|
|
5
5
|
constructor(editor: Editor, id: string, geo: GeoShapeKind);
|
|
6
6
|
getDefaultProps(): GeoShapeProps;
|
|
7
|
+
protected onEnter(): void;
|
|
7
8
|
}
|
|
8
9
|
export declare class RectangleTool extends BoxGeoTool {
|
|
9
10
|
constructor(editor: Editor);
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
+
import { type TextFontCatalog } from "./textFonts";
|
|
1
2
|
import { type LandCanvasPlugin } from "../canvas-react/host/index";
|
|
2
|
-
export declare function createTextCanvasPlugin(
|
|
3
|
+
export declare function createTextCanvasPlugin({ fontCatalog, }?: {
|
|
4
|
+
fontCatalog?: TextFontCatalog;
|
|
5
|
+
}): LandCanvasPlugin;
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import { type LandEditorPlugin } from "../canvas-core/index";
|
|
2
|
-
|
|
2
|
+
import { type TextFontCatalog } from "./textFonts";
|
|
3
|
+
export declare function createTextEditorPlugin({ fontCatalog, }?: {
|
|
4
|
+
fontCatalog?: TextFontCatalog;
|
|
5
|
+
}): LandEditorPlugin;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { type LandFeatureBundle } from "../canvas-react/host/index";
|
|
2
|
-
|
|
3
|
-
export declare
|
|
2
|
+
import { type TextExtensionOptions } from "./textFonts";
|
|
3
|
+
export declare function createTextFeatureBundle(options?: Readonly<TextExtensionOptions>): LandFeatureBundle;
|
|
4
|
+
export declare const Text: import("../canvas-react/host/index").ConfigurableLandExtension<TextExtensionOptions>;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { TextShapeRecord } from "../textTypes";
|
|
2
|
-
|
|
2
|
+
import type { TextFontCatalog } from "../textFonts";
|
|
3
|
+
export declare function ShapeEditingSessionBox({ shapeId, markId, fontCatalog, }: {
|
|
3
4
|
shapeId: TextShapeRecord["id"];
|
|
4
5
|
markId: string;
|
|
6
|
+
fontCatalog: TextFontCatalog;
|
|
5
7
|
}): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -2,6 +2,7 @@ import { type CSSProperties } from "react";
|
|
|
2
2
|
import { type Editor as TiptapEditor } from "@tiptap/react";
|
|
3
3
|
import type { Editor as LandEditor } from "../../canvas-core/index";
|
|
4
4
|
import type { RichTextDocument, TextShapeRecord } from "../textTypes";
|
|
5
|
+
import type { TextFontCatalog } from "../textFonts";
|
|
5
6
|
import { type TiptapTextEditorController } from "./tiptapTextEditorController";
|
|
6
7
|
export interface TiptapTextEditorHandle {
|
|
7
8
|
readonly editor: TiptapEditor;
|
|
@@ -10,6 +11,7 @@ export interface TiptapTextEditorHandle {
|
|
|
10
11
|
export interface TiptapTextEditorProps {
|
|
11
12
|
landEditor: LandEditor;
|
|
12
13
|
shape: TextShapeRecord;
|
|
14
|
+
fontCatalog: TextFontCatalog;
|
|
13
15
|
initialRichText: RichTextDocument;
|
|
14
16
|
className: string;
|
|
15
17
|
editorStyle: CSSProperties;
|
|
@@ -21,4 +23,4 @@ export interface TiptapTextEditorProps {
|
|
|
21
23
|
richText: RichTextDocument;
|
|
22
24
|
}): void;
|
|
23
25
|
}
|
|
24
|
-
export declare function TiptapTextEditor({ landEditor, shape, initialRichText, className, editorStyle, onReady, onDispose, onRichTextChange, }: TiptapTextEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export declare function TiptapTextEditor({ landEditor, shape, fontCatalog, initialRichText, className, editorStyle, onReady, onDispose, onRichTextChange, }: TiptapTextEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { type CSSProperties } from "react";
|
|
2
2
|
import type { TextShapeRecord } from "../textTypes";
|
|
3
|
-
|
|
3
|
+
import type { TextFontCatalog } from "../textFonts";
|
|
4
|
+
export declare function useTextEditingBoxStyle(shape: TextShapeRecord, fontCatalog: TextFontCatalog): CSSProperties;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import type { TextShapeFont } from "../textTypes";
|
|
2
|
-
|
|
2
|
+
import { type TextFontCatalog } from "../textFonts";
|
|
3
|
+
export declare function ensureTextFontLoaded(font: TextShapeFont, fontCatalog: TextFontCatalog, ownerDocument?: Document): Promise<void>;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import type { Editor as TiptapEditor } from "@tiptap/react";
|
|
2
2
|
import type { RichTextDocument, TextShapeRecord } from "../textTypes";
|
|
3
|
+
import type { TextFontCatalog } from "../textFonts";
|
|
3
4
|
export declare const TEXT_AUTO_SIZE_MIN_W = 16;
|
|
4
|
-
export declare function measureTextShapeFromEditor(textEditor: TiptapEditor, shape: TextShapeRecord): {
|
|
5
|
+
export declare function measureTextShapeFromEditor(textEditor: TiptapEditor, shape: TextShapeRecord, fontCatalog: TextFontCatalog): {
|
|
5
6
|
w: number;
|
|
6
7
|
h: number;
|
|
7
8
|
} | undefined;
|
|
8
|
-
export declare function measureTextShapeFromRichText(richText: RichTextDocument, shape: TextShapeRecord): {
|
|
9
|
+
export declare function measureTextShapeFromRichText(richText: RichTextDocument, shape: TextShapeRecord, fontCatalog: TextFontCatalog): {
|
|
9
10
|
w: number;
|
|
10
11
|
h: number;
|
|
11
12
|
} | undefined;
|
|
12
|
-
export declare function applyTextShapeElementStyles(element: HTMLElement, shape: TextShapeRecord): void;
|
|
13
|
+
export declare function applyTextShapeElementStyles(element: HTMLElement, shape: TextShapeRecord, fontCatalog: TextFontCatalog): void;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ChangeSource, Editor } from "../../canvas-core/index";
|
|
2
2
|
import type { TextShapeRecord } from "../textTypes";
|
|
3
|
+
import type { TextFontCatalog } from "../textFonts";
|
|
3
4
|
import type { TiptapTextEditorController } from "./tiptapTextEditorController";
|
|
4
5
|
export declare function scheduleTextEditorMeasurement(editor: Editor, controller: TiptapTextEditorController, latestShapeRef: {
|
|
5
6
|
current: TextShapeRecord;
|
|
@@ -7,4 +8,4 @@ export declare function scheduleTextEditorMeasurement(editor: Editor, controller
|
|
|
7
8
|
current: number | null;
|
|
8
9
|
}): void;
|
|
9
10
|
export declare function measureTextEditorLayout(editor: Editor, controller: TiptapTextEditorController, shape: TextShapeRecord): void;
|
|
10
|
-
export declare function measureTextShapeRichTextLayout(editor: Editor, shape: TextShapeRecord, source?: ChangeSource): void;
|
|
11
|
+
export declare function measureTextShapeRichTextLayout(editor: Editor, shape: TextShapeRecord, fontCatalog: TextFontCatalog, source?: ChangeSource): void;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { type ReactNode } from "react";
|
|
2
2
|
import type { Editor } from "../../canvas-core/index";
|
|
3
3
|
import type { TextShapeRecord } from "../textTypes";
|
|
4
|
+
import type { TextFontCatalog } from "../textFonts";
|
|
4
5
|
export interface TextShapeRendererRuntime {
|
|
5
6
|
isEditingThisShape: boolean;
|
|
6
7
|
editingHost: ReactNode;
|
|
7
8
|
}
|
|
8
|
-
export declare function useTextShapeRendererRuntime(editor: Editor, shape: TextShapeRecord): TextShapeRendererRuntime;
|
|
9
|
+
export declare function useTextShapeRendererRuntime(editor: Editor, shape: TextShapeRecord, fontCatalog: TextFontCatalog): TextShapeRendererRuntime;
|
|
@@ -2,14 +2,16 @@ import { type MutableRefObject } from "react";
|
|
|
2
2
|
import type { Editor as TiptapEditor } from "@tiptap/react";
|
|
3
3
|
import type { Editor } from "../../canvas-core/index";
|
|
4
4
|
import { type RichTextDocument, type TextShapeRecord } from "../textTypes";
|
|
5
|
+
import type { TextFontCatalog } from "../textFonts";
|
|
5
6
|
import type { TiptapTextEditorController } from "./tiptapTextEditorController";
|
|
6
7
|
export declare function useLatestTextShapeRef(shape: TextShapeRecord): MutableRefObject<TextShapeRecord>;
|
|
7
|
-
export declare function useRichTextShapeSync({ editor, shape, tiptapEditor, richTextController, latestShapeRef, }: {
|
|
8
|
+
export declare function useRichTextShapeSync({ editor, shape, tiptapEditor, richTextController, latestShapeRef, fontCatalog, }: {
|
|
8
9
|
editor: Editor;
|
|
9
10
|
shape: TextShapeRecord;
|
|
10
11
|
tiptapEditor: TiptapEditor | null;
|
|
11
12
|
richTextController: TiptapTextEditorController | null;
|
|
12
13
|
latestShapeRef: MutableRefObject<TextShapeRecord>;
|
|
14
|
+
fontCatalog: TextFontCatalog;
|
|
13
15
|
}): (input: {
|
|
14
16
|
editor: TiptapEditor;
|
|
15
17
|
controller: TiptapTextEditorController;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Editor as TiptapEditor } from "@tiptap/react";
|
|
2
2
|
import { type Editor, type ShapeId } from "../../canvas-core/index";
|
|
3
3
|
import type { RichTextDocument, TextShapeRecord } from "../textTypes";
|
|
4
|
+
import type { TextFontCatalog } from "../textFonts";
|
|
4
5
|
export interface TiptapTextSelectionSnapshot {
|
|
5
6
|
type: string | null;
|
|
6
7
|
text: string | null;
|
|
@@ -27,7 +28,8 @@ export interface TiptapTextEditorController {
|
|
|
27
28
|
} | undefined;
|
|
28
29
|
onCompositionStateChange(listener: (isComposing: boolean) => void): () => void;
|
|
29
30
|
}
|
|
30
|
-
export declare function createTiptapTextEditorController({ shapeId, editor, }: {
|
|
31
|
+
export declare function createTiptapTextEditorController({ shapeId, editor, fontCatalog, }: {
|
|
31
32
|
shapeId: ShapeId;
|
|
32
33
|
editor: TiptapEditor;
|
|
34
|
+
fontCatalog: TextFontCatalog;
|
|
33
35
|
}): TiptapTextEditorController;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export { Text, createTextFeatureBundle } from "./feature";
|
|
2
|
+
export { DEFAULT_TEXT_FONT, HOST_TEXT_FONT, createDefaultTextFontCatalog, createDefaultTextExtensionOptions, } from "./textFonts";
|
|
2
3
|
export { createRichTextFromPlainText, getPlainTextFromRichText, validateRichTextDocument, } from "./richTextUtils";
|
|
3
4
|
export { isTextShapeRecord, updateTextShapeRichText, } from "./textShapeHelpers";
|
|
5
|
+
export type { TextExtensionOptions, TextFontDefinition, TextFontFaceSource, TextFontSource, TextStylesheetFontSource, TextSystemFontSource, } from "./textFonts";
|
|
4
6
|
export type { RichTextDocument, TextShapeAlign, TextShapeFont, TextShapeProps, TextShapeRecord, TextShapeSize, } from "./textTypes";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { TextShapeFont } from "./textTypes";
|
|
2
|
+
export declare const DEFAULT_TEXT_FONT: "default";
|
|
3
|
+
export declare const DEFAULT_TEXT_FONT_LABEL = "Default";
|
|
4
|
+
export interface TextSystemFontSource {
|
|
5
|
+
readonly kind: "system";
|
|
6
|
+
}
|
|
7
|
+
export interface TextStylesheetFontSource {
|
|
8
|
+
readonly kind: "stylesheet";
|
|
9
|
+
readonly cssUrl: string;
|
|
10
|
+
readonly family: string;
|
|
11
|
+
readonly weights?: readonly number[];
|
|
12
|
+
readonly sampleText?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface TextFontFaceSource {
|
|
15
|
+
readonly kind: "font-face";
|
|
16
|
+
readonly family: string;
|
|
17
|
+
readonly src: string | ArrayBuffer;
|
|
18
|
+
readonly descriptors?: FontFaceDescriptors;
|
|
19
|
+
readonly weights?: readonly number[];
|
|
20
|
+
readonly sampleText?: string;
|
|
21
|
+
}
|
|
22
|
+
export type TextFontSource = TextSystemFontSource | TextStylesheetFontSource | TextFontFaceSource;
|
|
23
|
+
export interface TextFontDefinition {
|
|
24
|
+
readonly id: TextShapeFont;
|
|
25
|
+
readonly label: string;
|
|
26
|
+
readonly cssFamily: string;
|
|
27
|
+
readonly source?: TextFontSource;
|
|
28
|
+
}
|
|
29
|
+
export interface TextFontCatalog {
|
|
30
|
+
readonly defaultFont: TextFontDefinition;
|
|
31
|
+
readonly defaultFontLabel: string;
|
|
32
|
+
readonly fontOptions: readonly TextFontDefinition[];
|
|
33
|
+
readonly fontsById: ReadonlyMap<TextShapeFont, TextFontDefinition>;
|
|
34
|
+
}
|
|
35
|
+
export type TextExtensionOptions = {
|
|
36
|
+
defaultFont: TextFontDefinition;
|
|
37
|
+
defaultFontLabel: string;
|
|
38
|
+
fonts: readonly TextFontDefinition[];
|
|
39
|
+
};
|
|
40
|
+
export declare const HOST_TEXT_FONT: TextFontDefinition;
|
|
41
|
+
export declare function createDefaultTextExtensionOptions(): TextExtensionOptions;
|
|
42
|
+
export declare function createDefaultTextFontCatalog(): TextFontCatalog;
|
|
43
|
+
export declare function createTextFontCatalog(options: Readonly<TextExtensionOptions>): TextFontCatalog;
|
|
44
|
+
export declare function isUsableFontId(value: unknown): value is TextShapeFont;
|
|
45
|
+
export declare function isTextFontInCatalog(fontCatalog: TextFontCatalog, font: unknown): font is TextShapeFont;
|
|
46
|
+
export declare function resolveTextFont(fontCatalog: TextFontCatalog, font: TextShapeFont): TextFontDefinition;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { type ShapeSvgExporter, type SvgExportContext, type SvgNode } from "../canvas-core/index";
|
|
2
2
|
import type { TextShapeRecord } from "./textTypes";
|
|
3
|
+
import type { TextFontCatalog } from "./textFonts";
|
|
3
4
|
export declare class TextShapeSvgExporter implements ShapeSvgExporter<TextShapeRecord> {
|
|
5
|
+
private readonly fontCatalog;
|
|
4
6
|
readonly type: "text";
|
|
7
|
+
constructor(fontCatalog: TextFontCatalog);
|
|
5
8
|
toSvg(shape: TextShapeRecord, context: SvgExportContext): SvgNode | null;
|
|
6
9
|
}
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import type { TextShapeAlign, TextShapeFont, TextShapeRecord, TextShapeSize } from "./textTypes";
|
|
2
|
-
|
|
3
|
-
export
|
|
2
|
+
import { DEFAULT_TEXT_FONT, type TextFontCatalog } from "./textFonts";
|
|
3
|
+
export { DEFAULT_TEXT_FONT };
|
|
4
|
+
export declare const TEXT_SIZE_PRESETS: {
|
|
5
|
+
readonly s: 14;
|
|
6
|
+
readonly m: 16;
|
|
7
|
+
readonly l: 20;
|
|
8
|
+
readonly xl: 28;
|
|
9
|
+
};
|
|
10
|
+
export declare const DEFAULT_TEXT_SIZE: TextShapeSize;
|
|
11
|
+
export declare function normalizeTextSize(value: unknown, fallback?: TextShapeSize): TextShapeSize;
|
|
12
|
+
export declare function getTextFontFamily(font: TextShapeFont, fontCatalog: TextFontCatalog): string;
|
|
4
13
|
export declare function getTextFontSize(size: TextShapeSize): number;
|
|
5
14
|
export declare function getTextLineHeight(size: TextShapeSize): number;
|
|
6
15
|
export declare function getTextMinHeight(size: TextShapeSize, scale?: number): number;
|
|
@@ -8,8 +8,8 @@ export interface RichTextDocument {
|
|
|
8
8
|
attrs?: Record<string, RichTextJsonValue>;
|
|
9
9
|
content: JSONContent[];
|
|
10
10
|
}
|
|
11
|
-
export type TextShapeFont =
|
|
12
|
-
export type TextShapeSize =
|
|
11
|
+
export type TextShapeFont = string;
|
|
12
|
+
export type TextShapeSize = number;
|
|
13
13
|
export type TextShapeAlign = "start" | "middle" | "end";
|
|
14
14
|
export interface TextShapeProps {
|
|
15
15
|
richText: RichTextDocument;
|
|
@@ -17,8 +17,10 @@ export interface BuiltInCanvasTextInput {
|
|
|
17
17
|
text: string;
|
|
18
18
|
w?: number;
|
|
19
19
|
h?: number;
|
|
20
|
+
font?: TextShapeProps["font"];
|
|
20
21
|
color?: ShapeColor;
|
|
21
22
|
size?: TextShapeProps["size"];
|
|
23
|
+
textAlign?: TextShapeProps["textAlign"];
|
|
22
24
|
}
|
|
23
25
|
export interface BuiltInCanvasFrameInput extends BuiltInCanvasShapeInput {
|
|
24
26
|
name?: string;
|
package/builtins/extensions.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { LandExtensionOptionsInput } from "../_vendor/canvas-react/host/index";
|
|
2
|
+
import { type TextExtensionOptions } from "../_vendor/plugin-text/index";
|
|
1
3
|
export interface BuiltInCanvasExtensionOptions {
|
|
2
4
|
arrow?: boolean;
|
|
3
5
|
draw?: boolean;
|
|
@@ -7,9 +9,9 @@ export interface BuiltInCanvasExtensionOptions {
|
|
|
7
9
|
group?: boolean;
|
|
8
10
|
image?: boolean;
|
|
9
11
|
laser?: boolean;
|
|
10
|
-
text?: boolean
|
|
12
|
+
text?: boolean | LandExtensionOptionsInput<TextExtensionOptions>;
|
|
11
13
|
}
|
|
12
|
-
export declare const builtInCanvasExtensions: readonly [import("../_vendor/canvas-react/host/index").ConfigurableLandExtension<Record<string, never>>, import("../_vendor/canvas-react/host/index").ConfigurableLandExtension<Record<string, never>>, import("../_vendor/canvas-react/host/index").ConfigurableLandExtension<Record<string, never>>, import("../_vendor/canvas-react/host/index").ConfigurableLandExtension<Record<string, never>>, import("../_vendor/canvas-react/host/index").ConfigurableLandExtension<Record<string, never>>, import("../_vendor/canvas-react/host/index").ConfigurableLandExtension<Record<string, never>>, import("../_vendor/canvas-react/host/index").ConfigurableLandExtension<
|
|
14
|
+
export declare const builtInCanvasExtensions: readonly [import("../_vendor/canvas-react/host/index").ConfigurableLandExtension<Record<string, never>>, import("../_vendor/canvas-react/host/index").ConfigurableLandExtension<Record<string, never>>, import("../_vendor/canvas-react/host/index").ConfigurableLandExtension<Record<string, never>>, import("../_vendor/canvas-react/host/index").ConfigurableLandExtension<Record<string, never>>, import("../_vendor/canvas-react/host/index").ConfigurableLandExtension<Record<string, never>>, import("../_vendor/canvas-react/host/index").ConfigurableLandExtension<Record<string, never>>, import("../_vendor/canvas-react/host/index").ConfigurableLandExtension<TextExtensionOptions>, import("../_vendor/canvas-react/host/index").ConfigurableLandExtension<Record<string, never>>, import("../_vendor/canvas-react/host/index").ConfigurableLandExtension<Record<string, never>>];
|
|
13
15
|
export type BuiltInCanvasExtension = (typeof builtInCanvasExtensions)[number];
|
|
14
16
|
export declare function createBuiltInCanvasExtensions(options?: BuiltInCanvasExtensionOptions): readonly BuiltInCanvasExtension[];
|
|
15
17
|
export declare function hasBuiltInCanvasExtension(extensions: readonly BuiltInCanvasExtension[], name: keyof BuiltInCanvasExtensionOptions): boolean;
|
package/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export { createCustomShapeColor, createThemeShapeColor, getThemeColorTokenName, isCustomShapeColorRef, isThemeShapeColorRef, resolveShapeColor, shapeColorToCssColor, } from "./_vendor/canvas-core/index";
|
|
2
|
+
export { DEFAULT_TEXT_FONT, HOST_TEXT_FONT, createDefaultTextFontCatalog, createDefaultTextExtensionOptions, } from "./_vendor/plugin-text/index";
|
|
3
|
+
export type { TextExtensionOptions, TextFontDefinition, TextFontFaceSource, TextFontSource, TextStylesheetFontSource, TextSystemFontSource, } from "./_vendor/plugin-text/index";
|
|
2
4
|
export type { CustomShapeColorRef, ShapeColor, ShapeColorRef, ThemeColorSlot, ThemeColorTokenName, ThemeShapeColorRef, } from "./_vendor/canvas-core/index";
|
|
3
5
|
export { CanvasKitFloatingToolbarLayer, } from "./chrome/CanvasKitFloatingToolbarLayer";
|
|
4
6
|
export { FloatingSelectionToolbarPageSpace, } from "./chrome/FloatingSelectionToolbarPageSpace";
|