@grida/svg-editor 1.0.0-alpha.1 → 1.0.0-alpha.11
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/README.md +184 -185
- package/dist/chunk-CfYAbeIz.mjs +13 -0
- package/dist/dom-BlMk07oX.mjs +3515 -0
- package/dist/dom-Cvm9Towu.js +3545 -0
- package/dist/dom-DCX-a8Kr.d.ts +57 -0
- package/dist/dom-DgB4f-TE.d.mts +59 -0
- package/dist/dom.d.mts +3 -16
- package/dist/dom.d.ts +3 -16
- package/dist/dom.js +5 -1
- package/dist/dom.mjs +2 -2
- package/dist/editor-BH03X8cX.d.mts +1139 -0
- package/dist/editor-Bd4-VCEJ.d.ts +1139 -0
- package/dist/{editor-DQWUWrVZ.js → editor-CdyC3uAe.js} +1205 -388
- package/dist/{editor-B5z-gTML.mjs → editor-DtuRIs-Q.mjs} +1195 -372
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -2
- package/dist/index.mjs +3 -2
- package/dist/insertions-BJ-6o6o5.js +2399 -0
- package/dist/insertions-Okcuo-Ck.mjs +2176 -0
- package/dist/presets.d.mts +61 -0
- package/dist/presets.d.ts +61 -0
- package/dist/presets.js +61 -0
- package/dist/presets.mjs +55 -0
- package/dist/react.d.mts +94 -9
- package/dist/react.d.ts +94 -9
- package/dist/react.js +157 -19
- package/dist/react.mjs +147 -21
- package/package.json +11 -6
- package/dist/dom-CfP_ZURh.js +0 -963
- package/dist/dom-kA8NDuVh.mjs +0 -929
- package/dist/editor-CTtU2gu4.d.ts +0 -607
- package/dist/editor-JY7AQrR1.d.mts +0 -607
- package/dist/paint-DHq_3iwU.js +0 -509
- package/dist/paint-DuCg6Y-K.mjs +0 -461
package/dist/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
export {
|
|
1
|
+
import { A as GradientEntry, B as PaintPreviewSession, C as Color, D as FileIOProvider, E as EditorStyle, F as LinearGradientDefinition, G as Providers, H as PreviewSession, I as Mode, J as ReorderDirection, K as RadialGradientDefinition, L as NodeId, M as InsertPreviewSession, N as InsertableTag, O as FontResolver, P as InvalidComputedValue, Q as Vec2, R as Paint, S as ClipboardProvider, T as EditorState, U as PropertyValue, V as PaintValue, W as Provenance, X as Tool, Y as TOOL_CURSOR, Z as Unsubscribe, _ as AlignDirection, a as SelectMode, c as SvgEditor, j as GradientStop, k as GradientDefinition, l as createSvgEditor, n as CreateSvgEditorOptions, o as Surface, q as Rect, s as SurfaceHandle, t as Commands, w as DEFAULT_STYLE, z as PaintFallback } from "./editor-BH03X8cX.mjs";
|
|
2
|
+
export { AlignDirection, ClipboardProvider, Color, Commands, CreateSvgEditorOptions, DEFAULT_STYLE, EditorState, EditorStyle, FileIOProvider, FontResolver, GradientDefinition, GradientEntry, GradientStop, InsertPreviewSession, InsertableTag, InvalidComputedValue, LinearGradientDefinition, Mode, NodeId, Paint, PaintFallback, PaintPreviewSession, PaintValue, PreviewSession, PropertyValue, Provenance, Providers, RadialGradientDefinition, Rect, ReorderDirection, SelectMode, Surface, SurfaceHandle, SvgEditor, TOOL_CURSOR, Tool, Unsubscribe, Vec2, createSvgEditor };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
export {
|
|
1
|
+
import { A as GradientEntry, B as PaintPreviewSession, C as Color, D as FileIOProvider, E as EditorStyle, F as LinearGradientDefinition, G as Providers, H as PreviewSession, I as Mode, J as ReorderDirection, K as RadialGradientDefinition, L as NodeId, M as InsertPreviewSession, N as InsertableTag, O as FontResolver, P as InvalidComputedValue, Q as Vec2, R as Paint, S as ClipboardProvider, T as EditorState, U as PropertyValue, V as PaintValue, W as Provenance, X as Tool, Y as TOOL_CURSOR, Z as Unsubscribe, _ as AlignDirection, a as SelectMode, c as SvgEditor, j as GradientStop, k as GradientDefinition, l as createSvgEditor, n as CreateSvgEditorOptions, o as Surface, q as Rect, s as SurfaceHandle, t as Commands, w as DEFAULT_STYLE, z as PaintFallback } from "./editor-Bd4-VCEJ.js";
|
|
2
|
+
export { AlignDirection, ClipboardProvider, Color, Commands, CreateSvgEditorOptions, DEFAULT_STYLE, EditorState, EditorStyle, FileIOProvider, FontResolver, GradientDefinition, GradientEntry, GradientStop, InsertPreviewSession, InsertableTag, InvalidComputedValue, LinearGradientDefinition, Mode, NodeId, Paint, PaintFallback, PaintPreviewSession, PaintValue, PreviewSession, PropertyValue, Provenance, Providers, RadialGradientDefinition, Rect, ReorderDirection, SelectMode, Surface, SurfaceHandle, SvgEditor, TOOL_CURSOR, Tool, Unsubscribe, Vec2, createSvgEditor };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
3
|
-
|
|
2
|
+
const require_insertions = require("./insertions-BJ-6o6o5.js");
|
|
3
|
+
const require_editor = require("./editor-CdyC3uAe.js");
|
|
4
|
+
exports.DEFAULT_STYLE = require_insertions.DEFAULT_STYLE;
|
|
5
|
+
exports.TOOL_CURSOR = require_insertions.TOOL_CURSOR;
|
|
4
6
|
exports.createSvgEditor = require_editor.createSvgEditor;
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { t as createSvgEditor } from "./editor-DtuRIs-Q.mjs";
|
|
2
|
+
import { a as DEFAULT_STYLE, o as TOOL_CURSOR } from "./insertions-Okcuo-Ck.mjs";
|
|
3
|
+
export { DEFAULT_STYLE, TOOL_CURSOR, createSvgEditor };
|