@grida/svg-editor 1.0.0-alpha.2 → 1.0.0-alpha.21

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/index.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { A as RadialGradientDefinition, C as PaintFallback, D as PropertyValue, E as PreviewSession, F as KeymapBinding, I as CommandHandler, L as CommandId, M as ReorderDirection, N as Unsubscribe, O as Provenance, P as Vec2, S as Paint, T as PaintValue, _ as GradientStop, a as SurfaceHandle, b as Mode, c as ClipboardProvider, d as EditorState, f as EditorStyle, g as GradientEntry, h as GradientDefinition, i as DomComputedResolver, j as Rect, k as Providers, l as Color, m as FontResolver, n as CreateSvgEditorOptions, o as SvgEditor, p as FileIOProvider, r as DomComputedPaint, s as createSvgEditor, t as Commands, u as DEFAULT_STYLE, v as InvalidComputedValue, w as PaintPreviewSession, x as NodeId, y as LinearGradientDefinition } from "./editor-BryibVvr.mjs";
2
- export { type ClipboardProvider, type Color, type CommandHandler, type CommandId, type Commands, type CreateSvgEditorOptions, DEFAULT_STYLE, type DomComputedPaint, type DomComputedResolver, type EditorState, type EditorStyle, type FileIOProvider, type FontResolver, type GradientDefinition, type GradientEntry, type GradientStop, type InvalidComputedValue, type KeymapBinding, type LinearGradientDefinition, type Mode, type NodeId, type Paint, type PaintFallback, type PaintPreviewSession, type PaintValue, type PreviewSession, type PropertyValue, type Provenance, type Providers, type RadialGradientDefinition, type Rect, type ReorderDirection, type SurfaceHandle, type SvgEditor, type Unsubscribe, type Vec2, createSvgEditor };
1
+ import { $ as RadialGradientDefinition, A as EditorState, B as LinearGradientDefinition, D as ClipboardProvider, F as GradientEntry, G as PaintFallback, H as Mode, I as GradientStop, K as PaintPreviewSession, L as InsertPreviewSession, M as FileIOProvider, N as FontResolver, O as Color, P as GradientDefinition, Q as Providers, R as InsertableTag, S as AlignDirection, U as NodeId, V as Matrix2D, W as Paint, X as PropertyValue, Y as PreviewSession, Z as Provenance, _ as PathModel, a as SelectMode, at as Vec2, b as Verb, c as SvgEditor, et as Rect, it as Unsubscribe, j as EditorStyle, k as DEFAULT_STYLE, l as createSvgEditor, n as CreateSvgEditorOptions, nt as TOOL_CURSOR, o as Surface, q as PaintValue, rt as Tool, s as SurfaceHandle, t as Commands, tt as ReorderDirection, v as PathSnapshot, x as VertexId, y as SegmentId, z as InvalidComputedValue } from "./editor-CcW4BVth.mjs";
2
+ export { type AlignDirection, type ClipboardProvider, type Color, type Commands, type CreateSvgEditorOptions, DEFAULT_STYLE, type EditorState, type EditorStyle, type FileIOProvider, type FontResolver, type GradientDefinition, type GradientEntry, type GradientStop, type InsertPreviewSession, type InsertableTag, type InvalidComputedValue, type LinearGradientDefinition, type Matrix2D, type Mode, type NodeId, type Paint, type PaintFallback, type PaintPreviewSession, type PaintValue, PathModel, type PathSnapshot, type PreviewSession, type PropertyValue, type Provenance, type Providers, type RadialGradientDefinition, type Rect, type ReorderDirection, type SegmentId, type SelectMode, type Surface, type SurfaceHandle, type SvgEditor, TOOL_CURSOR, type Tool, type Unsubscribe, type Vec2, type Verb, type VertexId, createSvgEditor };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { A as RadialGradientDefinition, C as PaintFallback, D as PropertyValue, E as PreviewSession, F as KeymapBinding, I as CommandHandler, L as CommandId, M as ReorderDirection, N as Unsubscribe, O as Provenance, P as Vec2, S as Paint, T as PaintValue, _ as GradientStop, a as SurfaceHandle, b as Mode, c as ClipboardProvider, d as EditorState, f as EditorStyle, g as GradientEntry, h as GradientDefinition, i as DomComputedResolver, j as Rect, k as Providers, l as Color, m as FontResolver, n as CreateSvgEditorOptions, o as SvgEditor, p as FileIOProvider, r as DomComputedPaint, s as createSvgEditor, t as Commands, u as DEFAULT_STYLE, v as InvalidComputedValue, w as PaintPreviewSession, x as NodeId, y as LinearGradientDefinition } from "./editor-klT8wu-x.js";
2
- export { type ClipboardProvider, type Color, type CommandHandler, type CommandId, type Commands, type CreateSvgEditorOptions, DEFAULT_STYLE, type DomComputedPaint, type DomComputedResolver, type EditorState, type EditorStyle, type FileIOProvider, type FontResolver, type GradientDefinition, type GradientEntry, type GradientStop, type InvalidComputedValue, type KeymapBinding, type LinearGradientDefinition, type Mode, type NodeId, type Paint, type PaintFallback, type PaintPreviewSession, type PaintValue, type PreviewSession, type PropertyValue, type Provenance, type Providers, type RadialGradientDefinition, type Rect, type ReorderDirection, type SurfaceHandle, type SvgEditor, type Unsubscribe, type Vec2, createSvgEditor };
1
+ import { $ as RadialGradientDefinition, A as EditorState, B as LinearGradientDefinition, D as ClipboardProvider, F as GradientEntry, G as PaintFallback, H as Mode, I as GradientStop, K as PaintPreviewSession, L as InsertPreviewSession, M as FileIOProvider, N as FontResolver, O as Color, P as GradientDefinition, Q as Providers, R as InsertableTag, S as AlignDirection, U as NodeId, V as Matrix2D, W as Paint, X as PropertyValue, Y as PreviewSession, Z as Provenance, _ as PathModel, a as SelectMode, at as Vec2, b as Verb, c as SvgEditor, et as Rect, it as Unsubscribe, j as EditorStyle, k as DEFAULT_STYLE, l as createSvgEditor, n as CreateSvgEditorOptions, nt as TOOL_CURSOR, o as Surface, q as PaintValue, rt as Tool, s as SurfaceHandle, t as Commands, tt as ReorderDirection, v as PathSnapshot, x as VertexId, y as SegmentId, z as InvalidComputedValue } from "./editor-CxqRhhzP.js";
2
+ export { type AlignDirection, type ClipboardProvider, type Color, type Commands, type CreateSvgEditorOptions, DEFAULT_STYLE, type EditorState, type EditorStyle, type FileIOProvider, type FontResolver, type GradientDefinition, type GradientEntry, type GradientStop, type InsertPreviewSession, type InsertableTag, type InvalidComputedValue, type LinearGradientDefinition, type Matrix2D, type Mode, type NodeId, type Paint, type PaintFallback, type PaintPreviewSession, type PaintValue, PathModel, type PathSnapshot, type PreviewSession, type PropertyValue, type Provenance, type Providers, type RadialGradientDefinition, type Rect, type ReorderDirection, type SegmentId, type SelectMode, type Surface, type SurfaceHandle, type SvgEditor, TOOL_CURSOR, type Tool, type Unsubscribe, type Vec2, type Verb, type VertexId, createSvgEditor };
package/dist/index.js CHANGED
@@ -1,4 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_editor = require("./editor-DllAMsDu.js");
3
- exports.DEFAULT_STYLE = require_editor.DEFAULT_STYLE;
2
+ const require_model = require("./model-DVwjrVYp.js");
3
+ const require_editor = require("./editor-BlByfVyF.js");
4
+ exports.DEFAULT_STYLE = require_model.DEFAULT_STYLE;
5
+ exports.PathModel = require_model.PathModel;
6
+ exports.TOOL_CURSOR = require_model.TOOL_CURSOR;
4
7
  exports.createSvgEditor = require_editor.createSvgEditor;
package/dist/index.mjs CHANGED
@@ -1,2 +1,3 @@
1
- import { n as DEFAULT_STYLE, t as createSvgEditor } from "./editor-M6j8XGO5.mjs";
2
- export { DEFAULT_STYLE, createSvgEditor };
1
+ import { t as createSvgEditor } from "./editor-CJ3ROm0G.mjs";
2
+ import { i as TOOL_CURSOR, r as DEFAULT_STYLE, t as PathModel } from "./model-C6jCFK_p.mjs";
3
+ export { DEFAULT_STYLE, PathModel, TOOL_CURSOR, createSvgEditor };